Resolving dependencies... Build profile: -w ghc-9.6.3 -O0 In order, the following will be built (use -v for more details): - crypton-1.0.1 (lib:crypton) (requires build) - network-3.2.4.0 (lib:network) (requires build) - crypton-x509-1.7.7 (lib:crypton-x509) (requires build) - socks-0.6.1 (lib:socks) (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-2.1.0 (lib:tls) (requires build) - crypton-connection-0.4.1 (lib:crypton-connection) (requires build) - amqp-0.24.0 (first run) Starting network-3.2.4.0 (all, legacy fallback) Starting crypton-1.0.1 (all, legacy fallback) Building crypton-1.0.1 (all, legacy fallback) Building network-3.2.4.0 (all, legacy fallback) Installing network-3.2.4.0 (all, legacy fallback) Completed network-3.2.4.0 (all, legacy fallback) Starting socks-0.6.1 (all, legacy fallback) Building socks-0.6.1 (all, legacy fallback) Installing socks-0.6.1 (all, legacy fallback) Completed socks-0.6.1 (all, legacy fallback) Installing crypton-1.0.1 (all, legacy fallback) Completed crypton-1.0.1 (all, legacy fallback) Starting crypton-x509-1.7.7 (all, legacy fallback) Building crypton-x509-1.7.7 (all, legacy fallback) Installing crypton-x509-1.7.7 (all, legacy fallback) Completed crypton-x509-1.7.7 (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-validation-1.6.12 (all, legacy fallback) Building crypton-x509-system-1.6.7 (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-2.1.0 (all, legacy fallback) Building tls-2.1.0 (all, legacy fallback) Installing tls-2.1.0 (all, legacy fallback) Completed tls-2.1.0 (all, legacy fallback) Starting crypton-connection-0.4.1 (all, legacy fallback) Building crypton-connection-0.4.1 (all, legacy fallback) Installing crypton-connection-0.4.1 (all, legacy fallback) Completed crypton-connection-0.4.1 (all, legacy fallback) Configuring amqp-0.24.0... Preprocessing test suite 'spec' for amqp-0.24.0.. Building test suite 'spec' for amqp-0.24.0.. : warning: [GHC-32850] [-Wmissing-home-modules] These modules are needed for compilation but not listed in your .cabal file's other-modules for main : Network.AMQP Network.AMQP.ChannelAllocator Network.AMQP.Generated Network.AMQP.Helpers Network.AMQP.Internal Network.AMQP.Protocol Network.AMQP.Types Paths_amqp [ 1 of 19] Compiling Network.AMQP.Helpers ( Network/AMQP/Helpers.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/amqp-0.24.0/noopt/build/spec/spec-tmp/Network/AMQP/Helpers.o ) [ 2 of 19] Compiling Network.AMQP.Types ( Network/AMQP/Types.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/amqp-0.24.0/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 19] Compiling Network.AMQP.Generated ( Network/AMQP/Generated.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/amqp-0.24.0/noopt/build/spec/spec-tmp/Network/AMQP/Generated.o ) Network/AMQP/Generated.hs:11:51: warning: [GHC-62161] [-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: [GHC-62161] [-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: [GHC-62161] [-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: [GHC-62161] [-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: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type [Bit] not matched: [] [_] [_, _] [_, _, _] ... | 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: [GHC-62161] [-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: [GHC-62161] [-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: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type [Bit] not matched: [] [_] [_, _] [_, _, _] ... | 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: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type [Bit] not matched: [] [_] (_:_:_:_) | 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: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type [Bit] not matched: [] [_] [_, _] [_, _, _] ... | 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: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type [Bit] not matched: [] [_] [_, _] (_:_:_:_:_) | 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: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type [Bit] not matched: [] [_] [_, _] [_, _, _] ... | 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: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type [Bit] not matched: [] [_] (_:_:_:_) | 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: [GHC-62161] [-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: [GHC-61505] 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 Suggested fix: 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 19] Compiling Network.AMQP.Protocol ( Network/AMQP/Protocol.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/amqp-0.24.0/noopt/build/spec/spec-tmp/Network/AMQP/Protocol.o ) [ 5 of 19] Compiling Network.AMQP.ChannelAllocator ( Network/AMQP/ChannelAllocator.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/amqp-0.24.0/noopt/build/spec/spec-tmp/Network/AMQP/ChannelAllocator.o ) [ 6 of 19] Compiling Paths_amqp ( /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/amqp-0.24.0/noopt/build/spec/autogen/Paths_amqp.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/amqp-0.24.0/noopt/build/spec/spec-tmp/Paths_amqp.o ) [ 7 of 19] Compiling Network.AMQP.Internal ( Network/AMQP/Internal.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/amqp-0.24.0/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:191:11: warning: [-Wunused-matches] Defined but not used: x | 191 | show x = "SASL" | ^ Network/AMQP/Internal.hs:391:30: warning: [GHC-63397] [-Wname-shadowing] This binding for connThread shadows the existing binding defined at Network/AMQP/Internal.hs:153:5 | 391 | watchHeartbeats conn timeout connThread = scheduleAtFixedRate rate $ do | ^^^^^^^^^^ [ 8 of 19] Compiling Network.AMQP ( Network/AMQP.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/amqp-0.24.0/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:737:9: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type [[Char]] not matched: [] [_] | 737 | where (pre :suf : _) = splitOn "@" (uri ++ "@" ) -- look mom, no regexp dependencies | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Network/AMQP.hs:738:9: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type [[Char]] not matched: [] [_] [_, _] | 738 | (pro :uid' :pw':_) = splitOn ":" (pre ++ "::") | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Network/AMQP.hs:739:9: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type [[Char]] not matched: [] [_] | 739 | (hnp :thost: _) = splitOn "/" (suf ++ "/" ) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Network/AMQP.hs:750:9: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type [[Char]] not matched: [] [_] | 750 | (hst':port : _) = splitOn ":" (hostPort ++ ":" ) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 9 of 19] Compiling FromURISpec ( test/FromURISpec.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/amqp-0.24.0/noopt/build/spec/spec-tmp/FromURISpec.o ) test/FromURISpec.hs:18:17: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type Either String ConnectionOpts not matched: Left _ | 18 | let Right o = fromURI "" | ^^^^^^^^^^^^^^^^^^^^ test/FromURISpec.hs:28:17: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type Either String ConnectionOpts not matched: Left _ | 28 | let Right o = fromURI "amqp://u:p@127.0.0.1" | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test/FromURISpec.hs:36:17: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type Either String ConnectionOpts not matched: Left _ | 36 | let Right o = fromURI "amqp://u:p@127.0.0.1,127.0.0.2" | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test/FromURISpec.hs:44:17: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type Either String ConnectionOpts not matched: Left _ | 44 | let Right o = fromURI "amqp://u:p@127.0.0.1:5672" | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test/FromURISpec.hs:52:17: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type Either String ConnectionOpts not matched: Left _ | 52 | let Right o = fromURI "amqp://u:p@127.0.0.1,127.0.0.2:5672" | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test/FromURISpec.hs:60:17: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type Either String ConnectionOpts not matched: Left _ | 60 | let Right o = fromURI "amqp://u:p@127.0.0.1:5672,127.0.0.2:5672" | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test/FromURISpec.hs:68:17: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type Either String ConnectionOpts not matched: Left _ | 68 | let Right o = fromURI "amqp://u:p@127.0.0.1:5672/v" | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test/FromURISpec.hs:76:17: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type Either String ConnectionOpts not matched: Left _ | 76 | let Right o = fromURI "amqp://u:p@127.0.0.1:5673,127.0.0.2:5674/v" | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test/FromURISpec.hs:84:17: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type Either String ConnectionOpts not matched: Left _ | 84 | let Right o = fromURI "amqp://a:b@h1:8001,h2:8002,h3:8003/w" | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test/FromURISpec.hs:92:17: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type Either String ConnectionOpts not matched: Left _ | 92 | let Right o = fromURI "amqp://127.0.0.1" | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test/FromURISpec.hs:102:17: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type Either String ConnectionOpts not matched: Left _ | 102 | let Right o = fromURI "amqp://127.0.0.1,127.0.0.2" | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test/FromURISpec.hs:112:17: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type Either String ConnectionOpts not matched: Left _ | 112 | let Right o = fromURI "amqps://u:p@127.0.0.1" | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test/FromURISpec.hs:120:17: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type Either String ConnectionOpts not matched: Left _ | 120 | let Right o = fromURI "amqps://u:p@127.0.0.1,127.0.0.2" | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test/FromURISpec.hs:128:17: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type Either String ConnectionOpts not matched: Left _ | 128 | let Right o = fromURI "amqps://u:p@127.0.0.1:5672" | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test/FromURISpec.hs:136:17: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type Either String ConnectionOpts not matched: Left _ | 136 | let Right o = fromURI "amqps://u:p@127.0.0.1,127.0.0.1:5673" | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test/FromURISpec.hs:144:17: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type Either String ConnectionOpts not matched: Left _ | 144 | let Right o = fromURI "amqps://u:p@127.0.0.1:5672,127.0.0.1:5673" | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test/FromURISpec.hs:152:17: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type Either String ConnectionOpts not matched: Left _ | 152 | let Right o = fromURI "amqps://u:p@127.0.0.1:5672/v" | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test/FromURISpec.hs:160:17: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type Either String ConnectionOpts not matched: Left _ | 160 | let Right o = fromURI "amqps://u:p@127.0.0.1:5672,127.0.0.2:5673/v" | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test/FromURISpec.hs:168:17: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type Either String ConnectionOpts not matched: Left _ | 168 | let Right o = fromURI "amqps://127.0.0.1" | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test/FromURISpec.hs:178:17: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type Either String ConnectionOpts not matched: Left _ | 178 | let Right o = fromURI "amqps://127.0.0.1,127.0.0.2" | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [10 of 19] Compiling ExchangeDeleteSpec ( test/ExchangeDeleteSpec.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/amqp-0.24.0/noopt/build/spec/spec-tmp/ExchangeDeleteSpec.o ) [11 of 19] Compiling ExchangeDeclareSpec ( test/ExchangeDeclareSpec.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/amqp-0.24.0/noopt/build/spec/spec-tmp/ExchangeDeclareSpec.o ) [12 of 19] Compiling ConnectionSpec ( test/ConnectionSpec.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/amqp-0.24.0/noopt/build/spec/spec-tmp/ConnectionSpec.o ) [13 of 19] Compiling BasicRejectSpec ( test/BasicRejectSpec.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/amqp-0.24.0/noopt/build/spec/spec-tmp/BasicRejectSpec.o ) test/BasicRejectSpec.hs:32:17: warning: [GHC-81995] [-Wunused-do-bind] A do-notation statement discarded a result of type Maybe Int Suggested fix: 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: [GHC-81995] [-Wunused-do-bind] A do-notation statement discarded a result of type Maybe Int Suggested fix: 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: [GHC-81995] [-Wunused-do-bind] A do-notation statement discarded a result of type Maybe Int Suggested fix: 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: [GHC-81995] [-Wunused-do-bind] A do-notation statement discarded a result of type Maybe Int Suggested fix: Suppress this warning by saying _ <- publishMsg ch "" q $ newMsg {msgBody = (pack "hello")} | 96 | publishMsg ch "" q $ newMsg {msgBody = (L8.pack "hello")} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [14 of 19] Compiling BasicPublishSpec ( test/BasicPublishSpec.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/amqp-0.24.0/noopt/build/spec/spec-tmp/BasicPublishSpec.o ) test/BasicPublishSpec.hs:32:17: warning: [GHC-81995] [-Wunused-do-bind] A do-notation statement discarded a result of type Maybe Int Suggested fix: Suppress this warning by saying _ <- publishMsg ch "" q (newMsg {msgBody = (pack "hello")}) | 32 | publishMsg ch "" q | ^^^^^^^^^^^^^^^^^^^... test/BasicPublishSpec.hs:58:17: warning: [GHC-81995] [-Wunused-do-bind] A do-notation statement discarded a result of type Maybe Int Suggested fix: Suppress this warning by saying _ <- publishMsg ch e "" (newMsg {msgBody = (pack "hello")}) | 58 | publishMsg ch e "" | ^^^^^^^^^^^^^^^^^^^... [15 of 19] Compiling ChannelSpec ( test/ChannelSpec.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/amqp-0.24.0/noopt/build/spec/spec-tmp/ChannelSpec.o ) [16 of 19] Compiling QueueDeclareSpec ( test/QueueDeclareSpec.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/amqp-0.24.0/noopt/build/spec/spec-tmp/QueueDeclareSpec.o ) [17 of 19] Compiling QueueDeleteSpec ( test/QueueDeleteSpec.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/amqp-0.24.0/noopt/build/spec/spec-tmp/QueueDeleteSpec.o ) [18 of 19] Compiling QueuePurgeSpec ( test/QueuePurgeSpec.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/amqp-0.24.0/noopt/build/spec/spec-tmp/QueuePurgeSpec.o ) test/QueuePurgeSpec.hs:27:17: warning: [GHC-81995] [-Wunused-do-bind] A do-notation statement discarded a result of type Maybe Int Suggested fix: Suppress this warning by saying _ <- publishMsg ch "" q newMsg {msgBody = (pack "payload")} | 27 | publishMsg ch "" q | ^^^^^^^^^^^^^^^^^^^... [19 of 19] Compiling Main ( test/Runner.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/amqp-0.24.0/noopt/build/spec/spec-tmp/Main.o ) : warning: [GHC-32850] [-Wmissing-home-modules] These modules are needed for compilation but not listed in your .cabal file's other-modules for main : Network.AMQP Network.AMQP.ChannelAllocator Network.AMQP.Generated Network.AMQP.Helpers Network.AMQP.Internal Network.AMQP.Protocol Network.AMQP.Types Paths_amqp [20 of 20] Linking /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/amqp-0.24.0/noopt/build/spec/spec Preprocessing executable 'amqp-builder' for amqp-0.24.0.. Building executable 'amqp-builder' for amqp-0.24.0.. [1 of 1] Compiling Main ( Tools/Builder.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/amqp-0.24.0/noopt/build/amqp-builder/amqp-builder-tmp/Main.o ) Tools/Builder.hs:29:9: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type Content not matched: Text _ CRef _ | 29 | let !(Elem e) = parsed!!2 | ^^^^^^^^^^^^^^^^^^^^^ Tools/Builder.hs:340:45: warning: [GHC-47082] [-Woperator-whitespace-ext-conflict] The prefix use of a $ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the $. | 340 | "getClassIDOf (" ++ fullName ++ (concat $replicate (length fields) " _") ++ ") = " ++ (show classIndex) ++ "\n" | ^ Tools/Builder.hs:344:9: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type Maybe String not matched: Nothing | 344 | let (Just domainName) = lookupAttr (unqual "name") $ elAttribs d | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Tools/Builder.hs:345:9: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type Maybe String not matched: Nothing | 345 | (Just typ) = lookupAttr (unqual "type") $ elAttribs d | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Tools/Builder.hs:350:9: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type Maybe String not matched: Nothing | 350 | let (Just className) = lookupAttr (unqual "name") $ elAttribs c | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Tools/Builder.hs:351:9: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type Maybe String not matched: Nothing | 351 | (Just classIndex) = lookupAttr (unqual "index") $ elAttribs c | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Tools/Builder.hs:358:9: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type Maybe String not matched: Nothing | 358 | let (Just methodName) = lookupAttr (unqual "name") $ elAttribs m | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Tools/Builder.hs:359:9: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type Maybe String not matched: Nothing | 359 | (Just methodIndex) = lookupAttr (unqual "index") $ elAttribs m | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Tools/Builder.hs:365:9: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type Maybe String not matched: Nothing | 365 | let (Just fieldName) = lookupAttr (unqual "name") $ elAttribs f | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [2 of 2] Linking /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/amqp-0.24.0/noopt/build/amqp-builder/amqp-builder Preprocessing library for amqp-0.24.0.. Building library for amqp-0.24.0.. [1 of 9] Compiling Network.AMQP.Helpers ( Network/AMQP/Helpers.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/amqp-0.24.0/noopt/build/Network/AMQP/Helpers.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/amqp-0.24.0/noopt/build/Network/AMQP/Helpers.dyn_o ) [2 of 9] Compiling Network.AMQP.Types ( Network/AMQP/Types.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/amqp-0.24.0/noopt/build/Network/AMQP/Types.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/amqp-0.24.0/noopt/build/Network/AMQP/Types.dyn_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 9] Compiling Network.AMQP.Generated ( Network/AMQP/Generated.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/amqp-0.24.0/noopt/build/Network/AMQP/Generated.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/amqp-0.24.0/noopt/build/Network/AMQP/Generated.dyn_o ) Network/AMQP/Generated.hs:11:51: warning: [GHC-62161] [-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: [GHC-62161] [-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: [GHC-62161] [-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: [GHC-62161] [-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: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type [Bit] not matched: [] [_] [_, _] [_, _, _] ... | 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: [GHC-62161] [-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: [GHC-62161] [-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: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type [Bit] not matched: [] [_] [_, _] [_, _, _] ... | 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: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type [Bit] not matched: [] [_] (_:_:_:_) | 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: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type [Bit] not matched: [] [_] [_, _] [_, _, _] ... | 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: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type [Bit] not matched: [] [_] [_, _] (_:_:_:_:_) | 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: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type [Bit] not matched: [] [_] [_, _] [_, _, _] ... | 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: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type [Bit] not matched: [] [_] (_:_:_:_) | 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: [GHC-62161] [-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: [GHC-61505] 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 Suggested fix: 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 9] Compiling Network.AMQP.Protocol ( Network/AMQP/Protocol.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/amqp-0.24.0/noopt/build/Network/AMQP/Protocol.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/amqp-0.24.0/noopt/build/Network/AMQP/Protocol.dyn_o ) [5 of 9] Compiling Network.AMQP.ChannelAllocator ( Network/AMQP/ChannelAllocator.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/amqp-0.24.0/noopt/build/Network/AMQP/ChannelAllocator.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/amqp-0.24.0/noopt/build/Network/AMQP/ChannelAllocator.dyn_o ) [6 of 9] Compiling Paths_amqp ( /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/amqp-0.24.0/noopt/build/autogen/Paths_amqp.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/amqp-0.24.0/noopt/build/Paths_amqp.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/amqp-0.24.0/noopt/build/Paths_amqp.dyn_o ) [7 of 9] Compiling Network.AMQP.Internal ( Network/AMQP/Internal.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/amqp-0.24.0/noopt/build/Network/AMQP/Internal.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/amqp-0.24.0/noopt/build/Network/AMQP/Internal.dyn_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:191:11: warning: [-Wunused-matches] Defined but not used: x | 191 | show x = "SASL" | ^ Network/AMQP/Internal.hs:391:30: warning: [GHC-63397] [-Wname-shadowing] This binding for connThread shadows the existing binding defined at Network/AMQP/Internal.hs:153:5 | 391 | watchHeartbeats conn timeout connThread = scheduleAtFixedRate rate $ do | ^^^^^^^^^^ [8 of 9] Compiling Network.AMQP ( Network/AMQP.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/amqp-0.24.0/noopt/build/Network/AMQP.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/amqp-0.24.0/noopt/build/Network/AMQP.dyn_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:737:9: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type [[Char]] not matched: [] [_] | 737 | where (pre :suf : _) = splitOn "@" (uri ++ "@" ) -- look mom, no regexp dependencies | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Network/AMQP.hs:738:9: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type [[Char]] not matched: [] [_] [_, _] | 738 | (pro :uid' :pw':_) = splitOn ":" (pre ++ "::") | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Network/AMQP.hs:739:9: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type [[Char]] not matched: [] [_] | 739 | (hnp :thost: _) = splitOn "/" (suf ++ "/" ) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Network/AMQP.hs:750:9: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type [[Char]] not matched: [] [_] | 750 | (hst':port : _) = splitOn ":" (hostPort ++ ":" ) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [9 of 9] Compiling Network.AMQP.Lifted ( Network/AMQP/Lifted.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/amqp-0.24.0/noopt/build/Network/AMQP/Lifted.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/amqp-0.24.0/noopt/build/Network/AMQP/Lifted.dyn_o ) Running 1 test suites... Test suite spec: RUNNING... Test suite spec: FAIL Test suite logged to: /home/builder/builder-dir/build-cache/tmp-install/reports/amqp-0.24.0.test Writing: Network.AMQP.hs.html Writing: Network.AMQP.Types.hs.html Writing: hpc_index.html Writing: hpc_index_fun.html Writing: hpc_index_alt.html Writing: hpc_index_exp.html Test coverage report written to /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/amqp-0.24.0/noopt/hpc/vanilla/html/spec/hpc_index.html 0 of 1 test suites (0 of 1 test cases) passed. Writing: Network.AMQP.hs.html Writing: Network.AMQP.Types.hs.html Writing: hpc_index.html Writing: hpc_index_fun.html Writing: hpc_index_alt.html Writing: hpc_index_exp.html Package coverage report written to /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/amqp-0.24.0/noopt/hpc/vanilla/html/amqp-0.24.0/hpc_index.html Error: cabal: Tests failed for amqp-0.24.0.