Resolving dependencies... Build profile: -w ghc-9.2.4 -O0 In order, the following will be built (use -v for more details): - HTTP-4000.4.1 (lib:HTTP) (requires build) - bytestring-lexing-0.5.0.10 (lib:bytestring-lexing) (requires build) - errors-2.3.0 (lib:errors) (requires build) - scanner-0.3.1 (lib:scanner) (requires build) - hedis-0.15.2 (first run) Starting errors-2.3.0 (all, legacy fallback) Starting bytestring-lexing-0.5.0.10 (all, legacy fallback) Starting scanner-0.3.1 (all, legacy fallback) Starting HTTP-4000.4.1 (all, legacy fallback) Building errors-2.3.0 (all, legacy fallback) Building scanner-0.3.1 (all, legacy fallback) Building bytestring-lexing-0.5.0.10 (all, legacy fallback) Building HTTP-4000.4.1 (all, legacy fallback) Installing errors-2.3.0 (all, legacy fallback) Installing scanner-0.3.1 (all, legacy fallback) Completed errors-2.3.0 (all, legacy fallback) Completed scanner-0.3.1 (all, legacy fallback) Installing HTTP-4000.4.1 (all, legacy fallback) Completed HTTP-4000.4.1 (all, legacy fallback) Installing bytestring-lexing-0.5.0.10 (all, legacy fallback) Completed bytestring-lexing-0.5.0.10 (all, legacy fallback) Configuring hedis-0.15.2... Preprocessing test suite 'doctest' for hedis-0.15.2.. Building test suite 'doctest' for hedis-0.15.2.. [1 of 1] Compiling Main ( DocTest.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/hedis-0.15.2/noopt/build/doctest/doctest-tmp/Main.o ) Linking /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/hedis-0.15.2/noopt/build/doctest/doctest ... Preprocessing library for hedis-0.15.2.. Building library for hedis-0.15.2.. [ 1 of 17] Compiling Database.Redis.Cluster.HashSlot ( src/Database/Redis/Cluster/HashSlot.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/hedis-0.15.2/noopt/build/Database/Redis/Cluster/HashSlot.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/hedis-0.15.2/noopt/build/Database/Redis/Cluster/HashSlot.dyn_o ) [ 2 of 17] Compiling Database.Redis.ConnectionContext ( src/Database/Redis/ConnectionContext.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/hedis-0.15.2/noopt/build/Database/Redis/ConnectionContext.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/hedis-0.15.2/noopt/build/Database/Redis/ConnectionContext.dyn_o ) [ 3 of 17] Compiling Database.Redis.Protocol ( src/Database/Redis/Protocol.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/hedis-0.15.2/noopt/build/Database/Redis/Protocol.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/hedis-0.15.2/noopt/build/Database/Redis/Protocol.dyn_o ) [ 4 of 17] Compiling Database.Redis.ProtocolPipelining ( src/Database/Redis/ProtocolPipelining.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/hedis-0.15.2/noopt/build/Database/Redis/ProtocolPipelining.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/hedis-0.15.2/noopt/build/Database/Redis/ProtocolPipelining.dyn_o ) src/Database/Redis/ProtocolPipelining.hs:132:46: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type [Reply] not matched: [] | 132 | atomicModifyIORef' connPending $ \(_:rs) -> (rs, ()) | ^^^^^^^^^^^^^^^^^^^ [ 5 of 17] Compiling Database.Redis.Types ( src/Database/Redis/Types.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/hedis-0.15.2/noopt/build/Database/Redis/Types.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/hedis-0.15.2/noopt/build/Database/Redis/Types.dyn_o ) [ 6 of 17] Compiling Database.Redis.Cluster.Command ( src/Database/Redis/Cluster/Command.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/hedis-0.15.2/noopt/build/Database/Redis/Cluster/Command.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/hedis-0.15.2/noopt/build/Database/Redis/Cluster/Command.dyn_o ) [ 7 of 17] Compiling Database.Redis.Cluster ( src/Database/Redis/Cluster.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/hedis-0.15.2/noopt/build/Database/Redis/Cluster.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/hedis-0.15.2/noopt/build/Database/Redis/Cluster.dyn_o ) [ 8 of 17] Compiling Database.Redis.Core.Internal ( src/Database/Redis/Core/Internal.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/hedis-0.15.2/noopt/build/Database/Redis/Core/Internal.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/hedis-0.15.2/noopt/build/Database/Redis/Core/Internal.dyn_o ) [ 9 of 17] Compiling Database.Redis.Core ( src/Database/Redis/Core.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/hedis-0.15.2/noopt/build/Database/Redis/Core.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/hedis-0.15.2/noopt/build/Database/Redis/Core.dyn_o ) [10 of 17] Compiling Database.Redis.Transactions ( src/Database/Redis/Transactions.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/hedis-0.15.2/noopt/build/Database/Redis/Transactions.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/hedis-0.15.2/noopt/build/Database/Redis/Transactions.dyn_o ) [11 of 17] Compiling Database.Redis.ManualCommands ( src/Database/Redis/ManualCommands.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/hedis-0.15.2/noopt/build/Database/Redis/ManualCommands.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/hedis-0.15.2/noopt/build/Database/Redis/ManualCommands.dyn_o ) src/Database/Redis/ManualCommands.hs:850:39: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type [ByteString] not matched: [] [(Data.ByteString.Internal.BS _ _)] ((Data.ByteString.Internal.BS _ _): (Data.ByteString.Internal.BS _ _):_:_) | 850 | decodeKeyValues bs = map (\[x,y] -> (x,y)) $ chunksOfTwo bs | ^^^^^^^^^^^^^^^ [12 of 17] Compiling Database.Redis.Commands ( src/Database/Redis/Commands.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/hedis-0.15.2/noopt/build/Database/Redis/Commands.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/hedis-0.15.2/noopt/build/Database/Redis/Commands.dyn_o ) [13 of 17] Compiling Database.Redis.Connection ( src/Database/Redis/Connection.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/hedis-0.15.2/noopt/build/Database/Redis/Connection.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/hedis-0.15.2/noopt/build/Database/Redis/Connection.dyn_o ) [14 of 17] Compiling Database.Redis.PubSub ( src/Database/Redis/PubSub.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/hedis-0.15.2/noopt/build/Database/Redis/PubSub.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/hedis-0.15.2/noopt/build/Database/Redis/PubSub.dyn_o ) [15 of 17] Compiling Database.Redis.URL ( src/Database/Redis/URL.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/hedis-0.15.2/noopt/build/Database/Redis/URL.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/hedis-0.15.2/noopt/build/Database/Redis/URL.dyn_o ) [16 of 17] Compiling Database.Redis ( src/Database/Redis.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/hedis-0.15.2/noopt/build/Database/Redis.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/hedis-0.15.2/noopt/build/Database/Redis.dyn_o ) [17 of 17] Compiling Database.Redis.Sentinel ( src/Database/Redis/Sentinel.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/hedis-0.15.2/noopt/build/Database/Redis/Sentinel.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/hedis-0.15.2/noopt/build/Database/Redis/Sentinel.dyn_o ) src/Database/Redis/Sentinel.hs:49:1: warning: [-Wunused-imports] The import of Control.Monad.IO.Class is redundant except perhaps to import instances from Control.Monad.IO.Class To import instances alone, use: import Control.Monad.IO.Class() | 49 | import Control.Monad.IO.Class(MonadIO(liftIO)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Preprocessing benchmark 'hedis-benchmark' for hedis-0.15.2.. Building benchmark 'hedis-benchmark' for hedis-0.15.2.. [1 of 1] Compiling Main ( benchmark/Benchmark.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/hedis-0.15.2/noopt/build/hedis-benchmark/hedis-benchmark-tmp/Main.o ) benchmark/Benchmark.hs:44:16: error: parse error on input <- Perhaps this statement should be within a 'do' block? | 44 | startT <- getCurrentTime | ^^