Warning: The install command is a part of the legacy v1 style of cabal usage. Please switch to using either the new project style and the new-install command or the legacy v1-install alias as new-style projects will become the default in the next version of cabal-install. Please file a bug if you cannot replicate a working v1- use case with the new-style commands. For more information, see: https://wiki.haskell.org/Cabal/NewBuild Resolving dependencies... Starting appar-0.1.7 Starting StateVar-1.1.1.1 Building appar-0.1.7 Building StateVar-1.1.1.1 Completed StateVar-1.1.1.1 Starting auto-update-0.1.4 Completed appar-0.1.7 Starting base-orphans-0.8 Building auto-update-0.1.4 Building base-orphans-0.8 Completed base-orphans-0.8 Starting base64-bytestring-1.0.0.2 Completed auto-update-0.1.4 Starting basement-0.0.8 Building base64-bytestring-1.0.0.2 Building basement-0.0.8 Completed base64-bytestring-1.0.0.2 Starting blaze-builder-0.4.1.0 Building blaze-builder-0.4.1.0 Completed blaze-builder-0.4.1.0 Starting byteable-0.1.1 Building byteable-0.1.1 Completed byteable-0.1.1 Starting byteorder-1.0.4 Building byteorder-1.0.4 Completed byteorder-1.0.4 Starting cabal-doctest-1.0.6 Building cabal-doctest-1.0.6 Completed cabal-doctest-1.0.6 Starting cereal-0.5.7.0 Building cereal-0.5.7.0 Completed cereal-0.5.7.0 Starting data-default-class-0.1.2.0 Building data-default-class-0.1.2.0 Completed data-default-class-0.1.2.0 Starting dlist-0.8.0.5 Building dlist-0.8.0.5 Completed dlist-0.8.0.5 Starting entropy-0.4.1.4 Building entropy-0.4.1.4 Completed entropy-0.4.1.4 Starting hashable-1.2.7.0 Building hashable-1.2.7.0 Completed basement-0.0.8 Starting hourglass-0.2.12 Completed hashable-1.2.7.0 Starting integer-logarithms-1.0.2.2 Building hourglass-0.2.12 Building integer-logarithms-1.0.2.2 Completed integer-logarithms-1.0.2.2 Starting lens-family-core-1.2.3 Building lens-family-core-1.2.3 Completed lens-family-core-1.2.3 Starting network-2.8.0.0 Completed hourglass-0.2.12 Starting old-locale-1.0.0.7 Building old-locale-1.0.0.7 Building network-2.8.0.0 Completed old-locale-1.0.0.7 Starting primitive-0.6.4.0 Building primitive-0.6.4.0 Completed network-2.8.0.0 Starting random-1.1 Building random-1.1 Completed random-1.1 Starting safe-0.3.17 Completed primitive-0.6.4.0 Starting semigroups-0.18.5 Building safe-0.3.17 Building semigroups-0.18.5 Completed semigroups-0.18.5 Starting split-0.2.3.3 Building split-0.2.3.3 Completed safe-0.3.17 Starting tagged-0.8.6 Building tagged-0.8.6 Completed split-0.2.3.3 Starting text-icu-0.7.0.1 Building text-icu-0.7.0.1 Completed tagged-0.8.6 Starting th-abstraction-0.2.8.0 Building th-abstraction-0.2.8.0 Completed th-abstraction-0.2.8.0 Starting transformers-compat-0.6.2 Building transformers-compat-0.6.2 Completed text-icu-0.7.0.1 Starting unbounded-delays-0.1.1.0 Completed transformers-compat-0.6.2 Starting unliftio-core-0.1.2.0 Building unbounded-delays-0.1.1.0 Building unliftio-core-0.1.2.0 Completed unbounded-delays-0.1.1.0 Starting void-0.7.2 Building void-0.7.2 Completed unliftio-core-0.1.2.0 Starting xml-types-0.3.6 Building xml-types-0.3.6 Completed void-0.7.2 Starting zlib-0.6.2 Building zlib-0.6.2 Completed xml-types-0.3.6 Starting contravariant-1.5 Building contravariant-1.5 Completed zlib-0.6.2 Starting blaze-markup-0.8.2.2 Building blaze-markup-0.8.2.2 Completed contravariant-1.5 Starting data-default-instances-containers-0.0.1 Building data-default-instances-containers-0.0.1 Completed data-default-instances-containers-0.0.1 Starting data-default-instances-dlist-0.0.1 Building data-default-instances-dlist-0.0.1 Completed blaze-markup-0.8.2.2 Starting memory-0.14.18 Building memory-0.14.18 Completed data-default-instances-dlist-0.0.1 Starting unordered-containers-0.2.9.0 Building unordered-containers-0.2.9.0 Completed unordered-containers-0.2.9.0 Starting psqueues-0.2.7.0 Completed memory-0.14.18 Starting async-2.2.1 Building psqueues-0.2.7.0 Building async-2.2.1 Completed async-2.2.1 Starting lens-family-1.2.3 Building lens-family-1.2.3 Completed psqueues-0.2.7.0 Starting data-default-instances-old-locale-0.0.1 Building data-default-instances-old-locale-0.0.1 Completed lens-family-1.2.3 Starting iproute-1.7.7 Building iproute-1.7.7 Completed data-default-instances-old-locale-0.0.1 Starting hslogger-1.2.12 Building hslogger-1.2.12 Completed iproute-1.7.7 Starting vector-0.12.0.2 Completed hslogger-1.2.12 Starting scientific-0.3.6.2 Building vector-0.12.0.2 Building scientific-0.3.6.2 Completed scientific-0.3.6.2 Starting distributive-0.6 Building distributive-0.6 Completed distributive-0.6 Starting crypto-api-0.13.3 Building crypto-api-0.13.3 Completed crypto-api-0.13.3 Starting stringprep-1.0.0 Building stringprep-1.0.0 Completed stringprep-1.0.0 Starting transformers-base-0.4.5.2 Building transformers-base-0.4.5.2 Completed transformers-base-0.4.5.2 Starting exceptions-0.10.0 Building exceptions-0.10.0 Completed vector-0.12.0.2 Starting xml-picklers-0.3.6 Building xml-picklers-0.3.6 Completed exceptions-0.10.0 Starting blaze-html-0.9.1.1 Building blaze-html-0.9.1.1 Completed xml-picklers-0.3.6 Starting securemem-0.1.10 Building securemem-0.1.10 Completed securemem-0.1.10 Starting pem-0.2.4 Building pem-0.2.4 Completed pem-0.2.4 Starting cryptonite-0.25 Building cryptonite-0.25 Completed blaze-html-0.9.1.1 Starting asn1-types-0.3.2 Building asn1-types-0.3.2 Completed asn1-types-0.3.2 Starting typed-process-0.2.3.0 Building typed-process-0.2.3.0 Completed typed-process-0.2.3.0 Starting streaming-commons-0.2.1.0 Building streaming-commons-0.2.1.0 Completed streaming-commons-0.2.1.0 Starting data-default-0.7.1.1 Building data-default-0.7.1.1 Completed data-default-0.7.1.1 Starting attoparsec-0.13.2.2 Building attoparsec-0.13.2.2 Completed attoparsec-0.13.2.2 Starting comonad-5.0.4 Building comonad-5.0.4 Completed comonad-5.0.4 Starting pureMD5-2.1.3 Building pureMD5-2.1.3 Completed pureMD5-2.1.3 Starting monad-control-1.0.2.3 Building monad-control-1.0.2.3 Completed monad-control-1.0.2.3 Starting vector-algorithms-0.8.0.1 Completed cryptonite-0.25 Starting resourcet-1.2.2 Building vector-algorithms-0.8.0.1 Building resourcet-1.2.2 Completed resourcet-1.2.2 Starting crypto-random-0.0.9 Building crypto-random-0.0.9 Completed crypto-random-0.0.9 Starting asn1-encoding-0.9.5 Building asn1-encoding-0.9.5 Completed vector-algorithms-0.8.0.1 Starting bifunctors-5.5.3 Building bifunctors-5.5.3 Completed asn1-encoding-0.9.5 Starting lifted-base-0.2.3.12 Building lifted-base-0.2.3.12 Completed lifted-base-0.2.3.12 Starting dns-3.0.4 Building dns-3.0.4 Completed bifunctors-5.5.3 Starting cryptohash-cryptoapi-0.1.4 Building cryptohash-cryptoapi-0.1.4 Completed cryptohash-cryptoapi-0.1.4 Starting cryptohash-0.11.9 Building cryptohash-0.11.9 Completed dns-3.0.4 Starting mono-traversable-1.0.9.0 Building mono-traversable-1.0.9.0 Completed cryptohash-0.11.9 Starting asn1-parse-0.9.4 Building asn1-parse-0.9.4 Completed asn1-parse-0.9.4 Starting profunctors-5.3 Building profunctors-5.3 Completed mono-traversable-1.0.9.0 Starting x509-1.7.5 Building x509-1.7.5 Completed profunctors-5.3 Starting conduit-1.3.1 Building conduit-1.3.1 Completed x509-1.7.5 Starting x509-store-1.6.7 Building x509-store-1.6.7 Completed x509-store-1.6.7 Starting x509-validation-1.6.11 Building x509-validation-1.6.11 Completed x509-validation-1.6.11 Starting x509-system-1.6.6 Building x509-system-1.6.6 Completed conduit-1.3.1 Starting tls-1.4.1 Completed x509-system-1.6.6 Starting conduit-extra-1.3.0 Building tls-1.4.1 Building conduit-extra-1.3.0 Completed conduit-extra-1.3.0 Starting xml-conduit-1.8.0.1 Building xml-conduit-1.8.0.1 Completed xml-conduit-1.8.0.1 Completed tls-1.4.1 Starting pontarius-xmpp-0.5.5 Building pontarius-xmpp-0.5.5 Failed to install pontarius-xmpp-0.5.5 Build log ( /home/builder/.cabal/logs/ghc-8.6.1/pontarius-xmpp-0.5.5-5aNlsSzQvQf4LC7Uq7bn0f.log ): cabal: Entering directory '/tmp/cabal-tmp-3553/pontarius-xmpp-0.5.5' [1 of 1] Compiling Main ( /tmp/cabal-tmp-3553/pontarius-xmpp-0.5.5/dist/setup/setup.hs, /tmp/cabal-tmp-3553/pontarius-xmpp-0.5.5/dist/setup/Main.o ) Linking /tmp/cabal-tmp-3553/pontarius-xmpp-0.5.5/dist/setup/setup ... Configuring pontarius-xmpp-0.5.5... Preprocessing library for pontarius-xmpp-0.5.5.. Building library for pontarius-xmpp-0.5.5.. [ 1 of 32] Compiling Network.Xmpp.Sasl.StringPrep ( source/Network/Xmpp/Sasl/StringPrep.hs, dist/build/Network/Xmpp/Sasl/StringPrep.o ) [ 2 of 32] Compiling Network.Xmpp.Types ( source/Network/Xmpp/Types.hs, dist/build/Network/Xmpp/Types.o ) source/Network/Xmpp/Types.hs:111:1: warning: [-Wdeprecations] Module ‘Network’ is deprecated: The high level Network interface is no longer supported. Please use Network.Socket. | 111 | import Network | ^^^^^^^^^^^^^^^^^^^^^^^^ source/Network/Xmpp/Types.hs:794:28: warning: [-Wdeprecations] In the use of type constructor or class ‘Source’ (imported from Data.Conduit, but defined in conduit-1.3.1:Data.Conduit.Internal.Conduit): Deprecated: "Use ConduitT directly" | 794 | , streamEventSource :: Source (ExceptT XmppFailure IO) Event | ^^^^^^ source/Network/Xmpp/Types.hs:1282:50: warning: [-Wdeprecations] In the use of ‘ciphersuite_all’ (imported from Network.TLS.Extra, but defined in Network.TLS.Extra.Cipher): "This ciphersuite list contains RC4. Use ciphersuite_strong or ciphersuite_default instead." | 1282 | { supportedCiphers = ciphersuite_all | ^^^^^^^^^^^^^^^ [ 3 of 32] Compiling Network.Xmpp.Sasl.Types ( source/Network/Xmpp/Sasl/Types.hs, dist/build/Network/Xmpp/Sasl/Types.o ) [ 4 of 32] Compiling Network.Xmpp.Marshal ( source/Network/Xmpp/Marshal.hs, dist/build/Network/Xmpp/Marshal.o ) [ 5 of 32] Compiling Network.Xmpp.IM.Roster.Types ( source/Network/Xmpp/IM/Roster/Types.hs, dist/build/Network/Xmpp/IM/Roster/Types.o ) [ 6 of 32] Compiling Network.Xmpp.IM.Presence ( source/Network/Xmpp/IM/Presence.hs, dist/build/Network/Xmpp/IM/Presence.o ) [ 7 of 32] Compiling Network.Xmpp.IM.PresenceTracker.Types ( source/Network/Xmpp/IM/PresenceTracker/Types.hs, dist/build/Network/Xmpp/IM/PresenceTracker/Types.o ) [ 8 of 32] Compiling Network.Xmpp.IM.Message ( source/Network/Xmpp/IM/Message.hs, dist/build/Network/Xmpp/IM/Message.o ) [ 9 of 32] Compiling Network.Xmpp.Concurrent.Types ( source/Network/Xmpp/Concurrent/Types.hs, dist/build/Network/Xmpp/Concurrent/Types.o ) source/Network/Xmpp/Concurrent/Types.hs:18:1: warning: [-Wdeprecations] Module ‘Network’ is deprecated: The high level Network interface is no longer supported. Please use Network.Socket. | 18 | import Network | ^^^^^^^^^^^^^^^^^^^^^^^^ [10 of 32] Compiling Network.Xmpp.Lens ( source/Network/Xmpp/Lens.hs, dist/build/Network/Xmpp/Lens.o ) source/Network/Xmpp/Lens.hs:152: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() | 152 | import Control.Applicative | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ source/Network/Xmpp/Lens.hs:628:48: warning: [-Wname-shadowing] This binding for ‘jid’ shadows the existing binding imported from ‘Network.Xmpp.Types’ at source/Network/Xmpp/Lens.hs:168:1-35 (and originally defined at source/Network/Xmpp/Types.hs:941:1-3) | 628 | fromRosterUpdateRemove (RosterUpdateRemove jid) = Just jid | ^^^ [11 of 32] Compiling Network.Xmpp.Stanza ( source/Network/Xmpp/Stanza.hs, dist/build/Network/Xmpp/Stanza.o ) [12 of 32] Compiling Network.Xmpp.IM.PresenceTracker ( source/Network/Xmpp/IM/PresenceTracker.hs, dist/build/Network/Xmpp/IM/PresenceTracker.o ) [13 of 32] Compiling Network.Xmpp.Utilities ( source/Network/Xmpp/Utilities.hs, dist/build/Network/Xmpp/Utilities.o ) source/Network/Xmpp/Utilities.hs:59:45: warning: [-Wdeprecations] In the use of ‘$$’ (imported from Data.Conduit, but defined in conduit-1.3.1:Data.Conduit.Internal.Conduit): Deprecated: "Use runConduit and .|" | 59 | $ CL.sourceList (openElementToEvents e) $$ TXSR.renderText def =$ CL.consume | ^^ source/Network/Xmpp/Utilities.hs:59:68: warning: [-Wdeprecations] In the use of ‘=$’ (imported from Data.Conduit, but defined in conduit-1.3.1:Data.Conduit.Internal.Conduit): Deprecated: "Use .|" | 59 | $ CL.sourceList (openElementToEvents e) $$ TXSR.renderText def =$ CL.consume | ^^ source/Network/Xmpp/Utilities.hs:63:41: warning: [-Wdeprecations] In the use of ‘$$’ (imported from Data.Conduit, but defined in conduit-1.3.1:Data.Conduit.Internal.Conduit): Deprecated: "Use runConduit and .|" | 63 | $ CL.sourceList (elementToEvents e) $$ TXSR.renderText def =$ CL.consume | ^^ source/Network/Xmpp/Utilities.hs:63:64: warning: [-Wdeprecations] In the use of ‘=$’ (imported from Data.Conduit, but defined in conduit-1.3.1:Data.Conduit.Internal.Conduit): Deprecated: "Use .|" | 63 | $ CL.sourceList (elementToEvents e) $$ TXSR.renderText def =$ CL.consume | ^^ source/Network/Xmpp/Utilities.hs:66:5: warning: [-Wname-shadowing] This binding for ‘elementToEvents’ shadows the existing binding imported from ‘Text.XML.Unresolved’ at source/Network/Xmpp/Utilities.hs:29:1-43 | 66 | elementToEvents el@(Element name _ _) = openElementToEvents el | ^^^^^^^^^^^^^^^ [14 of 32] Compiling Network.Xmpp.Stream ( source/Network/Xmpp/Stream.hs, dist/build/Network/Xmpp/Stream.o ) source/Network/Xmpp/Stream.hs:27:1: warning: [-Wunused-imports] The import of ‘Data.IP’ is redundant except perhaps to import instances from ‘Data.IP’ To import instances alone, use: import Data.IP() | 27 | import Data.IP | ^^^^^^^^^^^^^^^^^^^^^^^^ source/Network/Xmpp/Stream.hs:40:1: warning: [-Wdeprecations] Module ‘Network’ is deprecated: The high level Network interface is no longer supported. Please use Network.Socket. | 40 | import Network | ^^^^^^^^^^^^^^^^^^^^^^^^ source/Network/Xmpp/Stream.hs:238:44: warning: [-Wdeprecations] In the use of ‘$=’ (imported from Data.Conduit, but defined in conduit-1.3.1:Data.Conduit.Internal.Conduit): Deprecated: "Use .|" | 238 | let newSource = sourceStreamHandle raw $= XP.parseBytes def | ^^ source/Network/Xmpp/Stream.hs:249:5: warning: [-Wname-shadowing] This binding for ‘read’ shadows the existing binding imported from ‘Prelude’ at source/Network/Xmpp/Stream.hs:10:8-26 (and originally defined in ‘Text.Read’) | 249 | read rd = do | ^^^^ source/Network/Xmpp/Stream.hs:258:50: warning: [-Wdeprecations] In the use of ‘$=’ (imported from Data.Conduit, but defined in conduit-1.3.1:Data.Conduit.Internal.Conduit): Deprecated: "Use .|" | 258 | sourceStreamHandle sh = sourceStreamHandleRaw sh $= logInput | ^^ source/Network/Xmpp/Stream.hs:268:16: warning: [-Wname-shadowing] This binding for ‘decode’ shadows the existing binding imported from ‘Network.DNS’ at source/Network/Xmpp/Stream.hs:41:1-52 (and originally defined in ‘Network.DNS.Decode’) | 268 | let decode = case mbDec of | ^^^^^^ source/Network/Xmpp/Stream.hs:271:31: warning: [-Wname-shadowing] This binding for ‘leftover’ shadows the existing binding imported from ‘Data.Conduit’ at source/Network/Xmpp/Stream.hs:24:1-46 (and originally defined in ‘conduit-1.3.1:Data.Conduit.Internal.Conduit’) | 271 | (Text.Some out leftover cont) = decode bs | ^^^^^^^^ source/Network/Xmpp/Stream.hs:284:14: warning: [-Wdeprecations] In the use of type constructor or class ‘Source’ (imported from Data.Conduit, but defined in conduit-1.3.1:Data.Conduit.Internal.Conduit): Deprecated: "Use ConduitT directly" | 284 | bufferSrc :: Source (ExceptT XmppFailure IO) o | ^^^^^^ source/Network/Xmpp/Stream.hs:342:23: warning: [-Wdeprecations] In the use of ‘=$’ (imported from Data.Conduit, but defined in conduit-1.3.1:Data.Conduit.Internal.Conduit): Deprecated: "Use .|" | 342 | e <- elements =$ await | ^^ source/Network/Xmpp/Stream.hs:367:5: warning: [-Wname-shadowing] This binding for ‘send’ shadows the existing binding imported from ‘Network.DNS’ at source/Network/Xmpp/Stream.hs:41:1-52 (and originally defined in ‘Network.DNS.IO’) | 367 | send <- gets (streamSend . streamHandle) | ^^^^ source/Network/Xmpp/Stream.hs:401:17: warning: [-Wname-shadowing] This binding for ‘tag’ shadows the existing binding imported from ‘Text.XML.Stream.Parse’ at source/Network/Xmpp/Stream.hs:50:1-44 | 401 | wrapIOException tag action = do | ^^^ source/Network/Xmpp/Stream.hs:416:5: warning: [-Wname-shadowing] This binding for ‘send’ shadows the existing binding imported from ‘Network.DNS’ at source/Network/Xmpp/Stream.hs:41:1-52 (and originally defined in ‘Network.DNS.IO’) | 416 | send <- gets (streamSend . streamHandle) | ^^^^ source/Network/Xmpp/Stream.hs:451:5: warning: [-Wname-shadowing] This binding for ‘send’ shadows the existing binding imported from ‘Network.DNS’ at source/Network/Xmpp/Stream.hs:41:1-52 (and originally defined in ‘Network.DNS.IO’) | 451 | send <- gets (streamSend . streamHandle) | ^^^^ source/Network/Xmpp/Stream.hs:458:18: warning: [-Wdeprecations] In the use of type constructor or class ‘Sink’ (imported from Data.Conduit, but defined in conduit-1.3.1:Data.Conduit.Internal.Conduit): Deprecated: "Use ConduitT directly" | 458 | runEventsSink :: Sink Event (ExceptT XmppFailure IO) b | ^^^^ source/Network/Xmpp/Stream.hs:462:29: warning: [-Wdeprecations] In the use of ‘$$’ (imported from Data.Conduit, but defined in conduit-1.3.1:Data.Conduit.Internal.Conduit): Deprecated: "Use runConduit and .|" | 462 | lift . runExceptT $ src $$ snk | ^^ source/Network/Xmpp/Stream.hs:466:34: warning: [-Wdeprecations] In the use of ‘=$’ (imported from Data.Conduit, but defined in conduit-1.3.1:Data.Conduit.Internal.Conduit): Deprecated: "Use .|" | 466 | e <- runEventsSink (elements =$ await) | ^^ source/Network/Xmpp/Stream.hs:546:15: warning: [-Wdeprecations] In the use of type constructor or class ‘Source’ (imported from Data.Conduit, but defined in conduit-1.3.1:Data.Conduit.Internal.Conduit): Deprecated: "Use ConduitT directly" | 546 | zeroSource :: Source (ExceptT XmppFailure IO) a | ^^^^^^ source/Network/Xmpp/Stream.hs:570:51: warning: [-Wdeprecations] In the use of ‘$=’ (imported from Data.Conduit, but defined in conduit-1.3.1:Data.Conduit.Internal.Conduit): Deprecated: "Use .|" | 570 | (sourceStreamHandle hand $= logConduit) | ^^ source/Network/Xmpp/Stream.hs:571:28: warning: [-Wdeprecations] In the use of ‘$=’ (imported from Data.Conduit, but defined in conduit-1.3.1:Data.Conduit.Internal.Conduit): Deprecated: "Use .|" | 571 | $= XP.parseBytes def | ^^ source/Network/Xmpp/Stream.hs:590:32: warning: [-Wdeprecations] In the use of type constructor or class ‘Conduit’ (imported from Data.Conduit, but defined in conduit-1.3.1:Data.Conduit.Internal.Conduit): Deprecated: "Use ConduitT directly" | 590 | logConduit :: MonadIO m => Conduit ByteString m ByteString | ^^^^^^^ source/Network/Xmpp/Stream.hs:658:13: warning: [-Wdeprecations] In the use of type constructor or class ‘PortID’ (imported from Network): Deprecated: "The high level Network interface is no longer supported. Please use Network.Socket." | 658 | showPort :: PortID -> String | ^^^^^^ source/Network/Xmpp/Stream.hs:680:9: warning: [-Wname-shadowing] This binding for ‘addr’ shadows the existing binding imported from ‘Data.IP’ at source/Network/Xmpp/Stream.hs:27:1-24 (and originally defined in ‘iproute-1.7.7:Data.IP.Range’) | 680 | let addr = (show $ S.addrAddress addrInfo) | ^^^^ source/Network/Xmpp/Stream.hs:710:20: warning: [-Wname-shadowing] This binding for ‘port’ shadows the existing binding bound at source/Network/Xmpp/Stream.hs:705:31 | 710 | setAddressPort port (S.SockAddrInet _ addr) = S.SockAddrInet port addr | ^^^^ source/Network/Xmpp/Stream.hs:710:43: warning: [-Wname-shadowing] This binding for ‘addr’ shadows the existing binding imported from ‘Data.IP’ at source/Network/Xmpp/Stream.hs:27:1-24 (and originally defined in ‘iproute-1.7.7:Data.IP.Range’) | 710 | setAddressPort port (S.SockAddrInet _ addr) = S.SockAddrInet port addr | ^^^^ source/Network/Xmpp/Stream.hs:711:20: warning: [-Wname-shadowing] This binding for ‘port’ shadows the existing binding bound at source/Network/Xmpp/Stream.hs:705:31 | 711 | setAddressPort port (S.SockAddrInet6 _ flow addr scope) = | ^^^^ source/Network/Xmpp/Stream.hs:711:49: warning: [-Wname-shadowing] This binding for ‘addr’ shadows the existing binding imported from ‘Data.IP’ at source/Network/Xmpp/Stream.hs:27:1-24 (and originally defined in ‘iproute-1.7.7:Data.IP.Range’) | 711 | setAddressPort port (S.SockAddrInet6 _ flow addr scope) = | ^^^^ source/Network/Xmpp/Stream.hs:713:22: warning: [-Wname-shadowing] This binding for ‘addr’ shadows the existing binding imported from ‘Data.IP’ at source/Network/Xmpp/Stream.hs:27:1-24 (and originally defined in ‘iproute-1.7.7:Data.IP.Range’) | 713 | setAddressPort _ addr = addr | ^^^^ source/Network/Xmpp/Stream.hs:849:41: warning: [-Wdeprecations] In the use of type constructor or class ‘Conduit’ (imported from Data.Conduit, but defined in conduit-1.3.1:Data.Conduit.Internal.Conduit): Deprecated: "Use ConduitT directly" | 849 | elements :: MonadError XmppFailure m => Conduit Event m Element | ^^^^^^^ source/Network/Xmpp/Stream.hs:867:5: warning: [-Wname-shadowing] This binding for ‘many'’ shadows the existing binding imported from ‘Text.XML.Stream.Parse’ at source/Network/Xmpp/Stream.hs:50:1-44 | 867 | many' f = | ^^^^^ [15 of 32] Compiling Network.Xmpp.Tls ( source/Network/Xmpp/Tls.hs, dist/build/Network/Xmpp/Tls.o ) source/Network/Xmpp/Tls.hs:9: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() | 9 | import Control.Applicative ((<$>)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ source/Network/Xmpp/Tls.hs:14:1: warning: [-Wunused-imports] The import of ‘Crypto.Random’ is redundant except perhaps to import instances from ‘Crypto.Random’ To import instances alone, use: import Crypto.Random() | 14 | import "crypto-random" Crypto.Random | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ source/Network/Xmpp/Tls.hs:20:1: warning: [-Wunused-imports] The import of ‘Data.Monoid’ is redundant except perhaps to import instances from ‘Data.Monoid’ To import instances alone, use: import Data.Monoid() | 20 | import Data.Monoid | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ source/Network/Xmpp/Tls.hs:119:13: warning: [-Wdeprecations] In the use of type constructor or class ‘Source’ (imported from Data.Conduit, but defined in conduit-1.3.1:Data.Conduit.Internal.Conduit): Deprecated: "Use ConduitT directly" | 119 | -> m ( Source m1 BS.ByteString | ^^^^^^ source/Network/Xmpp/Tls.hs:120:13: warning: [-Wdeprecations] In the use of type constructor or class ‘Sink’ (imported from Data.Conduit, but defined in conduit-1.3.1:Data.Conduit.Internal.Conduit): Deprecated: "Use ConduitT directly" | 120 | , Sink BS.ByteString m1 () | ^^^^ [16 of 32] Compiling Network.Xmpp.Sasl.Common ( source/Network/Xmpp/Sasl/Common.hs, dist/build/Network/Xmpp/Sasl/Common.o ) [17 of 32] Compiling Network.Xmpp.Sasl.Mechanisms.Scram ( source/Network/Xmpp/Sasl/Mechanisms/Scram.hs, dist/build/Network/Xmpp/Sasl/Mechanisms/Scram.o ) [18 of 32] Compiling Network.Xmpp.Sasl.Mechanisms.Plain ( source/Network/Xmpp/Sasl/Mechanisms/Plain.hs, dist/build/Network/Xmpp/Sasl/Mechanisms/Plain.o ) [19 of 32] Compiling Network.Xmpp.Sasl.Mechanisms.DigestMd5 ( source/Network/Xmpp/Sasl/Mechanisms/DigestMd5.hs, dist/build/Network/Xmpp/Sasl/Mechanisms/DigestMd5.o ) [20 of 32] Compiling Network.Xmpp.Sasl.Mechanisms ( source/Network/Xmpp/Sasl/Mechanisms.hs, dist/build/Network/Xmpp/Sasl/Mechanisms.o ) [21 of 32] Compiling Network.Xmpp.Sasl ( source/Network/Xmpp/Sasl.hs, dist/build/Network/Xmpp/Sasl.o ) [22 of 32] Compiling Network.Xmpp.Concurrent.Threads ( source/Network/Xmpp/Concurrent/Threads.hs, dist/build/Network/Xmpp/Concurrent/Threads.o ) source/Network/Xmpp/Concurrent/Threads.hs:92:48: warning: [-Wname-shadowing] This binding for ‘keepAlive’ shadows the existing binding imported from ‘Network.Xmpp.Concurrent.Types’ at source/Network/Xmpp/Concurrent/Threads.hs:15:1-46 (and originally defined at source/Network/Xmpp/Concurrent/Types.hs:109:7-15) | 92 | startThreadsWith writeSem stanzaHandler eh con keepAlive = do | ^^^^^^^^^ [23 of 32] Compiling Network.Xmpp.Concurrent.Monad ( source/Network/Xmpp/Concurrent/Monad.hs, dist/build/Network/Xmpp/Concurrent/Monad.o ) [24 of 32] Compiling Network.Xmpp.Concurrent.Basic ( source/Network/Xmpp/Concurrent/Basic.hs, dist/build/Network/Xmpp/Concurrent/Basic.o ) source/Network/Xmpp/Concurrent/Basic.hs:4: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() | 4 | import Control.Applicative | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [25 of 32] Compiling Network.Xmpp.Concurrent.Presence ( source/Network/Xmpp/Concurrent/Presence.hs, dist/build/Network/Xmpp/Concurrent/Presence.o ) [26 of 32] Compiling Network.Xmpp.Concurrent.Message ( source/Network/Xmpp/Concurrent/Message.hs, dist/build/Network/Xmpp/Concurrent/Message.o ) [27 of 32] Compiling Network.Xmpp.Concurrent.IQ ( source/Network/Xmpp/Concurrent/IQ.hs, dist/build/Network/Xmpp/Concurrent/IQ.o ) source/Network/Xmpp/Concurrent/IQ.hs:115:32: error: • Data.Map.insertLookupWithKey' is gone. Use Data.Map.Strict.insertLookupWithKey. • In the expression: Map.insertLookupWithKey' (\ _ _ old -> old) (tp, ns) iqCh byNS In a pattern binding: (present, byNS') = Map.insertLookupWithKey' (\ _ _ old -> old) (tp, ns) iqCh byNS In the second argument of ‘($)’, namely ‘do (byNS, byID) <- readTVar handlers iqCh <- newTChan let (present, byNS') = Map.insertLookupWithKey' (\ _ _ old -> ...) ... iqCh byNS writeTVar handlers (byNS', byID) ....’ | 115 | let (present, byNS') = Map.insertLookupWithKey' | ^^^^^^^^^^^^^^^^^^^^^^^^... cabal: Leaving directory '/tmp/cabal-tmp-3553/pontarius-xmpp-0.5.5' cabal: Error: some packages failed to install: pontarius-xmpp-0.5.5-5aNlsSzQvQf4LC7Uq7bn0f failed during the building phase. The exception was: ExitFailure 1