Resolving dependencies... Build profile: -w ghc-9.2.4 -O0 In order, the following will be built (use -v for more details): - clock-0.8.4 (lib:clock) (requires build) - crypton-0.33 (lib:crypton) (requires build) - data-binary-ieee754-0.4.4 (lib:data-binary-ieee754) (requires build) - crypton-x509-1.7.6 (lib:crypton-x509) (requires build) - crypton-x509-store-1.6.9 (lib:crypton-x509-store) (requires build) - crypton-x509-validation-1.6.12 (lib:crypton-x509-validation) (requires build) - crypton-x509-system-1.6.7 (lib:crypton-x509-system) (requires build) - tls-1.7.0 (lib:tls) (requires build) - crypton-connection-0.3.1 (lib:crypton-connection) (requires build) - amqp-0.22.2 (first run) Starting data-binary-ieee754-0.4.4 (all, legacy fallback) Starting clock-0.8.4 (all, legacy fallback) Starting crypton-0.33 (all, legacy fallback) Building data-binary-ieee754-0.4.4 (all, legacy fallback) Building clock-0.8.4 (all, legacy fallback) Building crypton-0.33 (all, legacy fallback) Installing data-binary-ieee754-0.4.4 (all, legacy fallback) Installing clock-0.8.4 (all, legacy fallback) Completed data-binary-ieee754-0.4.4 (all, legacy fallback) Completed clock-0.8.4 (all, legacy fallback) Installing crypton-0.33 (all, legacy fallback) Completed crypton-0.33 (all, legacy fallback) Starting crypton-x509-1.7.6 (all, legacy fallback) Building crypton-x509-1.7.6 (all, legacy fallback) Installing crypton-x509-1.7.6 (all, legacy fallback) Completed crypton-x509-1.7.6 (all, legacy fallback) Starting crypton-x509-store-1.6.9 (all, legacy fallback) Building crypton-x509-store-1.6.9 (all, legacy fallback) Installing crypton-x509-store-1.6.9 (all, legacy fallback) Completed crypton-x509-store-1.6.9 (all, legacy fallback) Starting crypton-x509-system-1.6.7 (all, legacy fallback) Starting crypton-x509-validation-1.6.12 (all, legacy fallback) Building crypton-x509-system-1.6.7 (all, legacy fallback) Building crypton-x509-validation-1.6.12 (all, legacy fallback) Installing crypton-x509-system-1.6.7 (all, legacy fallback) Installing crypton-x509-validation-1.6.12 (all, legacy fallback) Completed crypton-x509-system-1.6.7 (all, legacy fallback) Completed crypton-x509-validation-1.6.12 (all, legacy fallback) Starting tls-1.7.0 (all, legacy fallback) Building tls-1.7.0 (all, legacy fallback) Installing tls-1.7.0 (all, legacy fallback) Completed tls-1.7.0 (all, legacy fallback) Starting crypton-connection-0.3.1 (all, legacy fallback) Building crypton-connection-0.3.1 (all, legacy fallback) Installing crypton-connection-0.3.1 (all, legacy fallback) Completed crypton-connection-0.3.1 (all, legacy fallback) Configuring amqp-0.22.2... Preprocessing test suite 'spec' for amqp-0.22.2.. Building test suite 'spec' for amqp-0.22.2.. : warning: [-Wmissing-home-modules] These modules are needed for compilation but not listed in your .cabal file's other-modules: Network.AMQP Network.AMQP.ChannelAllocator Network.AMQP.Generated Network.AMQP.Helpers Network.AMQP.Internal Network.AMQP.Protocol Network.AMQP.Types Paths_amqp [ 1 of 18] Compiling Network.AMQP.Helpers ( Network/AMQP/Helpers.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/amqp-0.22.2/noopt/build/spec/spec-tmp/Network/AMQP/Helpers.o ) [ 2 of 18] Compiling Network.AMQP.Types ( Network/AMQP/Types.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/amqp-0.22.2/noopt/build/spec/spec-tmp/Network/AMQP/Types.o ) Network/AMQP/Types.hs:26:1: warning: [-Wunused-imports] The import of Control.Applicative is redundant except perhaps to import instances from Control.Applicative To import instances alone, use: import Control.Applicative() | 26 | import Control.Applicative | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 3 of 18] Compiling Network.AMQP.Generated ( Network/AMQP/Generated.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/amqp-0.22.2/noopt/build/spec/spec-tmp/Network/AMQP/Generated.o ) Network/AMQP/Generated.hs:11:51: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type [Bit] not matched: (_:_) | 11 | getContentHeaderProperties 10 = getPropBits 0 >>= \[] -> return CHConnection | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Network/AMQP/Generated.hs:12:51: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type [Bit] not matched: (_:_) | 12 | getContentHeaderProperties 20 = getPropBits 0 >>= \[] -> return CHChannel | ^^^^^^^^^^^^^^^^^^^^^^^^ Network/AMQP/Generated.hs:13:51: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type [Bit] not matched: (_:_) | 13 | getContentHeaderProperties 40 = getPropBits 0 >>= \[] -> return CHExchange | ^^^^^^^^^^^^^^^^^^^^^^^^^ Network/AMQP/Generated.hs:14:51: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type [Bit] not matched: (_:_) | 14 | getContentHeaderProperties 50 = getPropBits 0 >>= \[] -> return CHQueue | ^^^^^^^^^^^^^^^^^^^^^^ Network/AMQP/Generated.hs:15:52: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type [Bit] not matched: [] [False] [True] [False, False] ... | 15 | getContentHeaderProperties 60 = getPropBits 14 >>= \[a,b,c,d,e,f,g,h,i,j,k,l,m,n] -> condGet a >>= \a' -> condGet b >>= \b' -> condGet c >>= \c' -> condGet d >>= \d' -> condGet e >>= \e' -> condGet f >>= \f' -> condGet g >>= \g' -> condGet h >>= \h' -> condGet i >>= \i' -> condGet j >>= \j' -> condGet k >>= \k' -> condGet l >>= \l' -> condGet m >>= \m' -> condGet n >>= \n' -> return (CHBasic a' b' c' d' e' f' g' h' i' j' k' l' m' n' ) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Network/AMQP/Generated.hs:16:51: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type [Bit] not matched: (_:_) | 16 | getContentHeaderProperties 90 = getPropBits 0 >>= \[] -> return CHTx | ^^^^^^^^^^^^^^^^^^^ Network/AMQP/Generated.hs:17:51: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type [Bit] not matched: (_:_) | 17 | getContentHeaderProperties 85 = getPropBits 0 >>= \[] -> return CHConfirm | ^^^^^^^^^^^^^^^^^^^^^^^^ Network/AMQP/Generated.hs:187:80: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type [Bit] not matched: [] [False] [True] [False, False] ... | 187 | (40,10) -> get >>= \a -> get >>= \b -> get >>= \c -> getBits 5 >>= \[d,e,f,g,h] -> get >>= \i -> return (Exchange_declare a b c d e f g h i) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Network/AMQP/Generated.hs:189:66: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type [Bit] not matched: [] [False] [True] (False:False:_:_) ... | 189 | (40,20) -> get >>= \a -> get >>= \b -> getBits 2 >>= \[c,d] -> return (Exchange_delete a b c d) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Network/AMQP/Generated.hs:195:66: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type [Bit] not matched: [] [False] [True] [False, False] ... | 195 | (50,10) -> get >>= \a -> get >>= \b -> getBits 5 >>= \[c,d,e,f,g] -> get >>= \h -> return (Queue_declare a b c d e f g h) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Network/AMQP/Generated.hs:203:66: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type [Bit] not matched: [] [False] [True] [False, False] ... | 203 | (50,40) -> get >>= \a -> get >>= \b -> getBits 3 >>= \[c,d,e] -> return (Queue_delete a b c d e) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Network/AMQP/Generated.hs:207:80: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type [Bit] not matched: [] [False] [True] [False, False] ... | 207 | (60,20) -> get >>= \a -> get >>= \b -> get >>= \c -> getBits 4 >>= \[d,e,f,g] -> get >>= \h -> return (Basic_consume a b c d e f g h) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Network/AMQP/Generated.hs:211:80: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type [Bit] not matched: [] [False] [True] (False:False:_:_) ... | 211 | (60,40) -> get >>= \a -> get >>= \b -> get >>= \c -> getBits 2 >>= \[d,e] -> return (Basic_publish a b c d e) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Network/AMQP/Generated.hs:222:53: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type [Bit] not matched: [] (_:_) [] (_:_) ... | 222 | (60,120) -> get >>= \a -> getBits 2 >>= \[b,c] -> return (Basic_nack a b c) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Network/AMQP/Generated.hs:222:53: warning: Pattern match checker ran into -fmax-pmcheck-models=30 limit, so " Redundant clauses might not be reported at all " Redundant clauses might be reported as inaccessible " Patterns reported as unmatched might actually be matched Increase the limit or resolve the warnings to suppress this message. | 222 | (60,120) -> get >>= \a -> getBits 2 >>= \[b,c] -> return (Basic_nack a b c) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 4 of 18] Compiling Network.AMQP.Protocol ( Network/AMQP/Protocol.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/amqp-0.22.2/noopt/build/spec/spec-tmp/Network/AMQP/Protocol.o ) [ 5 of 18] Compiling Network.AMQP.ChannelAllocator ( Network/AMQP/ChannelAllocator.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/amqp-0.22.2/noopt/build/spec/spec-tmp/Network/AMQP/ChannelAllocator.o ) [ 6 of 18] Compiling Paths_amqp ( /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/amqp-0.22.2/noopt/build/spec/autogen/Paths_amqp.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/amqp-0.22.2/noopt/build/spec/spec-tmp/Paths_amqp.o ) [ 7 of 18] Compiling Network.AMQP.Internal ( Network/AMQP/Internal.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/amqp-0.22.2/noopt/build/spec/spec-tmp/Network/AMQP/Internal.o ) Network/AMQP/Internal.hs:7:1: warning: [-Wunused-imports] The import of Control.Applicative is redundant except perhaps to import instances from Control.Applicative To import instances alone, use: import Control.Applicative() | 7 | import Control.Applicative | ^^^^^^^^^^^^^^^^^^^^^^^^^^ Network/AMQP/Internal.hs:387:30: warning: [-Wname-shadowing] This binding for connThread shadows the existing binding defined at Network/AMQP/Internal.hs:152:5 | 387 | watchHeartbeats conn timeout connThread = scheduleAtFixedRate rate $ do | ^^^^^^^^^^ [ 8 of 18] Compiling Network.AMQP ( Network/AMQP.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/amqp-0.22.2/noopt/build/spec/spec-tmp/Network/AMQP.o ) Network/AMQP.hs:155:1: warning: [-Wunused-imports] The import of Control.Applicative is redundant except perhaps to import instances from Control.Applicative To import instances alone, use: import Control.Applicative() | 155 | import Control.Applicative | ^^^^^^^^^^^^^^^^^^^^^^^^^^ Network/AMQP.hs:158:1: warning: [-Wunused-imports] The import of Control.Monad is redundant except perhaps to import instances from Control.Monad To import instances alone, use: import Control.Monad() | 158 | import Control.Monad(when) | ^^^^^^^^^^^^^^^^^^^^^^^^^^ Network/AMQP.hs:722:9: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type [[Char]] not matched: [] [[]] [(_:_)] | 722 | where (pre :suf : _) = splitOn "@" (uri ++ "@" ) -- look mom, no regexp dependencies | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Network/AMQP.hs:723:9: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type [[Char]] not matched: [] [[]] [(_:_)] [[], []] ... | 723 | (pro :uid' :pw':_) = splitOn ":" (pre ++ "::") | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Network/AMQP.hs:724:9: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type [[Char]] not matched: [] [[]] [(_:_)] | 724 | (hnp :thost: _) = splitOn "/" (suf ++ "/" ) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Network/AMQP.hs:735:9: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type [[Char]] not matched: [] [[]] [(_:_)] | 735 | (hst':port : _) = splitOn ":" (hostPort ++ ":" ) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 9 of 18] Compiling ExchangeDeleteSpec ( test/ExchangeDeleteSpec.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/amqp-0.22.2/noopt/build/spec/spec-tmp/ExchangeDeleteSpec.o ) [10 of 18] Compiling ExchangeDeclareSpec ( test/ExchangeDeclareSpec.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/amqp-0.22.2/noopt/build/spec/spec-tmp/ExchangeDeclareSpec.o ) [11 of 18] Compiling ConnectionSpec ( test/ConnectionSpec.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/amqp-0.22.2/noopt/build/spec/spec-tmp/ConnectionSpec.o ) [12 of 18] Compiling BasicRejectSpec ( test/BasicRejectSpec.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/amqp-0.22.2/noopt/build/spec/spec-tmp/BasicRejectSpec.o ) test/BasicRejectSpec.hs:32:17: warning: [-Wunused-do-bind] A do-notation statement discarded a result of type Maybe Int Suppress this warning by saying _ <- publishMsg ch "" q $ newMsg {msgBody = (pack "hello")} | 32 | publishMsg ch "" q $ newMsg {msgBody = (L8.pack "hello")} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test/BasicRejectSpec.hs:53:17: warning: [-Wunused-do-bind] A do-notation statement discarded a result of type Maybe Int Suppress this warning by saying _ <- publishMsg ch "" q $ newMsg {msgBody = (pack "hello")} | 53 | publishMsg ch "" q $ newMsg {msgBody = (L8.pack "hello")} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test/BasicRejectSpec.hs:75:17: warning: [-Wunused-do-bind] A do-notation statement discarded a result of type Maybe Int Suppress this warning by saying _ <- publishMsg ch "" q $ newMsg {msgBody = (pack "hello")} | 75 | publishMsg ch "" q $ newMsg {msgBody = (L8.pack "hello")} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test/BasicRejectSpec.hs:96:17: warning: [-Wunused-do-bind] A do-notation statement discarded a result of type Maybe Int Suppress this warning by saying _ <- publishMsg ch "" q $ newMsg {msgBody = (pack "hello")} | 96 | publishMsg ch "" q $ newMsg {msgBody = (L8.pack "hello")} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [13 of 18] Compiling BasicPublishSpec ( test/BasicPublishSpec.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/amqp-0.22.2/noopt/build/spec/spec-tmp/BasicPublishSpec.o ) test/BasicPublishSpec.hs:32:17: warning: [-Wunused-do-bind] A do-notation statement discarded a result of type Maybe Int Suppress this warning by saying _ <- publishMsg ch "" q (newMsg {msgBody = (pack "hello")}) | 32 | publishMsg ch "" q | ^^^^^^^^^^^^^^^^^^^... test/BasicPublishSpec.hs:58:17: warning: [-Wunused-do-bind] A do-notation statement discarded a result of type Maybe Int Suppress this warning by saying _ <- publishMsg ch e "" (newMsg {msgBody = (pack "hello")}) | 58 | publishMsg ch e "" | ^^^^^^^^^^^^^^^^^^^... [14 of 18] Compiling ChannelSpec ( test/ChannelSpec.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/amqp-0.22.2/noopt/build/spec/spec-tmp/ChannelSpec.o ) [15 of 18] Compiling QueueDeclareSpec ( test/QueueDeclareSpec.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/amqp-0.22.2/noopt/build/spec/spec-tmp/QueueDeclareSpec.o ) [16 of 18] Compiling QueueDeleteSpec ( test/QueueDeleteSpec.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/amqp-0.22.2/noopt/build/spec/spec-tmp/QueueDeleteSpec.o ) [17 of 18] Compiling QueuePurgeSpec ( test/QueuePurgeSpec.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/amqp-0.22.2/noopt/build/spec/spec-tmp/QueuePurgeSpec.o ) test/QueuePurgeSpec.hs:27:17: warning: [-Wunused-do-bind] A do-notation statement discarded a result of type Maybe Int Suppress this warning by saying _ <- publishMsg ch "" q newMsg {msgBody = (pack "payload")} | 27 | publishMsg ch "" q | ^^^^^^^^^^^^^^^^^^^... [18 of 18] Compiling Main ( test/Runner.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/amqp-0.22.2/noopt/build/spec/spec-tmp/Main.o ) test/Runner.hs:5:1: error: Could not find module FromURISpec Use -v (or `:set -v` in ghci) to see a list of the files searched for. | 5 | import qualified FromURISpec | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^