Resolving dependencies... Warning: The following packages are likely to be broken by the reinstalls: OpenGL-3.0.2.0 GLUT-2.7.0.12 QuickCheck-2.10.1 Continuing even though the plan contains dangerous reinstalls. Configuring appar-0.1.4... Configuring SHA-1.6.4.4... Building appar-0.1.4... Building SHA-1.6.4.4... Installed appar-0.1.4 Configuring auto-update-0.1.4... Building auto-update-0.1.4... Installed auto-update-0.1.4 Configuring base-compat-0.9.3... Building base-compat-0.9.3... Installed base-compat-0.9.3 Configuring base-orphans-0.7... Installed SHA-1.6.4.4 Configuring base64-bytestring-1.0.0.1... Building base-orphans-0.7... Building base64-bytestring-1.0.0.1... Installed base-orphans-0.7 Configuring basement-0.0.7... Building basement-0.0.7... Installed base64-bytestring-1.0.0.1 Configuring blaze-builder-0.4.1.0... Building blaze-builder-0.4.1.0... Installed blaze-builder-0.4.1.0 Configuring byteorder-1.0.4... Building byteorder-1.0.4... Installed byteorder-1.0.4 Configuring bytestring-builder-0.10.8.1.0... Building bytestring-builder-0.10.8.1.0... Installed bytestring-builder-0.10.8.1.0 Configuring cabal-doctest-1.0.6... Building cabal-doctest-1.0.6... Installed cabal-doctest-1.0.6 Configuring cereal-0.5.5.0... Building cereal-0.5.5.0... Installed cereal-0.5.5.0 Configuring colour-2.3.4... Building colour-2.3.4... Installed colour-2.3.4 Configuring data-default-class-0.1.2.0... Building data-default-class-0.1.2.0... Installed data-default-class-0.1.2.0 Configuring dlist-0.8.0.4... Building dlist-0.8.0.4... Installed dlist-0.8.0.4 Configuring easy-file-0.2.1... Building easy-file-0.2.1... Installed basement-0.0.7 Configuring entropy-0.4.1.1... Installed easy-file-0.2.1 Configuring every-0.0.1... Building every-0.0.1... Installed every-0.0.1 Configuring file-embed-0.0.10.1... Building entropy-0.4.1.1... Building file-embed-0.0.10.1... Installed entropy-0.4.1.1 Configuring http-types-0.12.1... Installed file-embed-0.0.10.1 Configuring mime-types-0.1.0.7... Building http-types-0.12.1... Building mime-types-0.1.0.7... Installed http-types-0.12.1 Configuring old-locale-1.0.0.7... Building old-locale-1.0.0.7... Installed old-locale-1.0.0.7 Configuring psqueues-0.2.6.0... Installed mime-types-0.1.0.7 Configuring semigroups-0.18.4... Building psqueues-0.2.6.0... Building semigroups-0.18.4... Installed semigroups-0.18.4 Configuring simple-sendfile-0.2.27... Building simple-sendfile-0.2.27... Installed simple-sendfile-0.2.27 Configuring stringsearch-0.3.6.6... Installed psqueues-0.2.6.0 Configuring th-abstraction-0.2.6.0... Building stringsearch-0.3.6.6... Building th-abstraction-0.2.6.0... Installed th-abstraction-0.2.6.0 Configuring time-locale-compat-0.1.1.3... Installed stringsearch-0.3.6.6 Configuring transformers-0.5.5.0... Building time-locale-compat-0.1.1.3... Building transformers-0.5.5.0... Installed time-locale-compat-0.1.1.3 Configuring unix-compat-0.5.0.1... Building unix-compat-0.5.0.1... Installed unix-compat-0.5.0.1 Configuring uuid-types-1.0.3... Building uuid-types-1.0.3... Installed uuid-types-1.0.3 Configuring void-0.7.2... Building void-0.7.2... Installed transformers-0.5.5.0 Configuring word8-0.1.3... Installed void-0.7.2 Configuring blaze-markup-0.8.2.0... Building word8-0.1.3... Building blaze-markup-0.8.2.0... Installed word8-0.1.3 Configuring iproute-1.7.3... Building iproute-1.7.3... Installed blaze-markup-0.8.2.0 Configuring ansi-terminal-0.8.0.2... Building ansi-terminal-0.8.0.2... Installed iproute-1.7.3 Configuring cookie-0.4.4... Installed ansi-terminal-0.8.0.2 Configuring foundation-0.0.20... Building cookie-0.4.4... Building foundation-0.0.20... Installed cookie-0.4.4 Configuring old-time-1.1.0.3... Building old-time-1.1.0.3... Installed old-time-1.1.0.3 Configuring vault-0.3.1.0... Building vault-0.3.1.0... Installed vault-0.3.1.0 Configuring http2-1.6.3... Building http2-1.6.3... Installed http2-1.6.3 Configuring unliftio-core-0.1.1.0... Building unliftio-core-0.1.1.0... Installed unliftio-core-0.1.1.0 Configuring transformers-compat-0.6.0.6... Building transformers-compat-0.6.0.6... Installed transformers-compat-0.6.0.6 Configuring streaming-commons-0.2.0.0... Building streaming-commons-0.2.0.0... Installed foundation-0.0.20 Configuring primitive-0.6.3.0... Building primitive-0.6.3.0... Installed streaming-commons-0.2.0.0 Configuring mtl-2.2.2... Building mtl-2.2.2... Installed mtl-2.2.2 Configuring StateVar-1.1.0.4... Building StateVar-1.1.0.4... Installed primitive-0.6.3.0 Configuring blaze-html-0.9.0.1... Building blaze-html-0.9.0.1... Installed StateVar-1.1.0.4 Configuring ansi-wl-pprint-0.6.8.2... Building ansi-wl-pprint-0.6.8.2... Installed ansi-wl-pprint-0.6.8.2 Configuring unix-time-0.3.8... Building unix-time-0.3.8... Installed unix-time-0.3.8 Configuring wai-3.2.1.1... Building wai-3.2.1.1... Installed wai-3.2.1.1 Configuring transformers-base-0.4.4... Building transformers-base-0.4.4... Installed transformers-base-0.4.4 Configuring tagged-0.8.5... Building tagged-0.8.5... Installed blaze-html-0.9.0.1 Configuring memory-0.14.16... Building memory-0.14.16... Installed tagged-0.8.5 Configuring parsec-3.1.13.0... Building parsec-3.1.13.0... Installed parsec-3.1.13.0 Configuring exceptions-0.10.0... Installed memory-0.14.16 Configuring vector-0.12.0.1... Building exceptions-0.10.0... Building vector-0.12.0.1... Installed exceptions-0.10.0 Configuring tf-random-0.5... Building tf-random-0.5... Installed tf-random-0.5 Configuring scientific-0.3.5.3... Building scientific-0.3.5.3... Installed scientific-0.3.5.3 Configuring contravariant-1.4.1... Building contravariant-1.4.1... Installed contravariant-1.4.1 Configuring optparse-applicative-0.14.2.0... Building optparse-applicative-0.14.2.0... Installed optparse-applicative-0.14.2.0 Configuring fast-logger-2.4.11... Building fast-logger-2.4.11... Installed vector-0.12.0.1 Configuring monad-control-1.0.2.3... Building monad-control-1.0.2.3... Installed fast-logger-2.4.11 Configuring distributive-0.5.3... Installed monad-control-1.0.2.3 Configuring crypto-api-0.13.3... Building crypto-api-0.13.3... Building distributive-0.5.3... Installed distributive-0.5.3 Configuring maccatcher-2.1.5... Building maccatcher-2.1.5... Installed crypto-api-0.13.3 Configuring cryptonite-0.25... Installed maccatcher-2.1.5 Configuring resourcet-1.2.0... Building cryptonite-0.25... Building resourcet-1.2.0... Installed resourcet-1.2.0 Configuring QuickCheck-2.11.3... Building QuickCheck-2.11.3... Installed QuickCheck-2.11.3 Configuring attoparsec-0.13.2.2... Building attoparsec-0.13.2.2... Installed attoparsec-0.13.2.2 Configuring wai-logger-2.3.2... Building wai-logger-2.3.2... Installed wai-logger-2.3.2 Configuring lifted-base-0.2.3.12... Building lifted-base-0.2.3.12... Installed lifted-base-0.2.3.12 Configuring comonad-5.0.3... Building comonad-5.0.3... Installed comonad-5.0.3 Configuring cryptohash-0.7.10... Building cryptohash-0.7.10... Installed cryptonite-0.25 Configuring websockets-0.12.4.0... Building websockets-0.12.4.0... Installed cryptohash-0.7.10 Configuring http-date-0.0.6.1... Building http-date-0.0.6.1... Installed websockets-0.12.4.0 Configuring aeson-1.2.4.0... Building aeson-1.2.4.0... Installed http-date-0.0.6.1 Configuring bifunctors-5.5.2... Building bifunctors-5.5.2... Installed bifunctors-5.5.2 Configuring uuid-1.2.6... Building uuid-1.2.6... Installed uuid-1.2.6 Configuring warp-3.2.18.1... Building warp-3.2.18.1... Installed aeson-1.2.4.0 Configuring profunctors-5.2.2... Building profunctors-5.2.2... Installed warp-3.2.18.1 Configuring wai-extra-3.0.22.0... Building wai-extra-3.0.22.0... Installed profunctors-5.2.2 Installed wai-extra-3.0.22.0 Configuring wai-app-static-3.1.6.1... Building wai-app-static-3.1.6.1... Installed wai-app-static-3.1.6.1 Configuring wai-websockets-3.0.1.1... Building wai-websockets-3.0.1.1... Installed wai-websockets-3.0.1.1 Configuring wai-transformers-0.0.7... Building wai-transformers-0.0.7... Installed wai-transformers-0.0.7 Configuring websockets-simple-0.1.0... Building websockets-simple-0.1.0... Installed websockets-simple-0.1.0 Configuring websockets-rpc-0.7.0... Building websockets-rpc-0.7.0... Failed to install websockets-rpc-0.7.0 Build log ( /home/builder/.cabal/logs/ghc-8.2.2/websockets-rpc-0.7.0-5iaCgdPng16L0vtlLhtB0W.log ): cabal: Entering directory '/tmp/cabal-tmp-22023/websockets-rpc-0.7.0' Configuring websockets-rpc-0.7.0... Preprocessing library for websockets-rpc-0.7.0.. Building library for websockets-rpc-0.7.0.. [1 of 6] Compiling Network.WebSockets.RPC.Types ( src/Network/WebSockets/RPC/Types.hs, dist/build/Network/WebSockets/RPC/Types.o ) src/Network/WebSockets/RPC/Types.hs:59:34: warning: [-Wunused-top-binds] Defined but not used: ‘getSubscribe’ | 59 | newtype Subscribe a = Subscribe {getSubscribe :: RPCIdentified a} | ^^^^^^^^^^^^ src/Network/WebSockets/RPC/Types.hs:95:26: warning: [-Wunused-top-binds] Defined but not used: ‘getReply’ | 95 | newtype Reply a = Reply {getReply :: RPCIdentified a} | ^^^^^^^^ src/Network/WebSockets/RPC/Types.hs:112:32: warning: [-Wunused-top-binds] Defined but not used: ‘getComplete’ | 112 | newtype Complete a = Complete {getComplete :: RPCIdentified a} | ^^^^^^^^^^^ [2 of 6] Compiling Network.WebSockets.RPC.Trans.Server ( src/Network/WebSockets/RPC/Trans/Server.hs, dist/build/Network/WebSockets/RPC/Trans/Server.o ) src/Network/WebSockets/RPC/Trans/Server.hs:60:5: warning: [-Wunused-top-binds] Defined but not used: ‘runWebSocketServerRPCT’ | 60 | { runWebSocketServerRPCT :: ReaderT (Env sub sup m) m a | ^^^^^^^^^^^^^^^^^^^^^^ [3 of 6] Compiling Network.WebSockets.RPC.Trans.Client ( src/Network/WebSockets/RPC/Trans/Client.hs, dist/build/Network/WebSockets/RPC/Trans/Client.o ) src/Network/WebSockets/RPC/Trans/Client.hs:66:5: warning: [-Wunused-top-binds] Defined but not used: ‘runWebSocketClientRPCT’ | 66 | { runWebSocketClientRPCT :: ReaderT (Env rep com m) m a | ^^^^^^^^^^^^^^^^^^^^^^ [4 of 6] Compiling Network.WebSockets.RPC ( src/Network/WebSockets/RPC.hs, dist/build/Network/WebSockets/RPC.o ) [5 of 6] Compiling Network.WebSockets.RPC.ACKable ( src/Network/WebSockets/RPC/ACKable.hs, dist/build/Network/WebSockets/RPC/ACKable.o ) src/Network/WebSockets/RPC/ACKable.hs:102:47: error: • Could not deduce (Hashable UUID) arising from a use of ‘HM.delete’ from the context: (MonadIO m, Eq owner, Hashable owner) bound by the type signature for: ackableRPCServer :: forall sub sup rep com (m :: * -> *) owner. (MonadIO m, Eq owner, Hashable owner) => (forall a. m a -> IO a) -> owner -> RPCServer sub sup rep com m -> m (RPCServer (ACKable owner sub) (ACKable owner sup) (ACKable owner rep) com m) at src/Network/WebSockets/RPC/ACKable.hs:(72,1)-(80,99) There are instances for similar types: instance Hashable uuid-types-1.0.3:Data.UUID.Types.Internal.UUID -- Defined in ‘uuid-types-1.0.3:Data.UUID.Types.Internal’ • In the second argument of ‘($)’, namely ‘HM.delete ackableID’ In a stmt of a 'do' block: modifyTVar replyMailbox $ HM.delete ackableID In the second argument of ‘($)’, namely ‘do modifyTVar replyMailbox $ HM.delete ackableID modifyTVar ownerPending $ HM.delete clientOwner’ | 102 | modifyTVar replyMailbox $ HM.delete ackableID | ^^^^^^^^^^^^^^^^^^^ src/Network/WebSockets/RPC/ACKable.hs:174:46: error: • Could not deduce (Hashable UUID) arising from a use of ‘HM.delete’ from the context: (MonadIO m, Eq owner, Hashable owner) bound by the type signature for: ackableRPCClient :: forall sub sup rep com (m :: * -> *) owner. (MonadIO m, Eq owner, Hashable owner) => (forall a. m a -> IO a) -> owner -> RPCClient sub sup rep com m -> m (RPCClient (ACKable owner sub) (ACKable owner sup) (ACKable owner rep) com m) at src/Network/WebSockets/RPC/ACKable.hs:(145,1)-(153,99) There are instances for similar types: instance Hashable uuid-types-1.0.3:Data.UUID.Types.Internal.UUID -- Defined in ‘uuid-types-1.0.3:Data.UUID.Types.Internal’ • In the second argument of ‘($)’, namely ‘HM.delete ackableID’ In a stmt of a 'do' block: modifyTVar supplyMailbox $ HM.delete ackableID In the second argument of ‘($)’, namely ‘do modifyTVar supplyMailbox $ HM.delete ackableID case mOwner of Nothing -> pure () Just serverOwner -> modifyTVar ownerPending $ HM.delete serverOwner’ | 174 | modifyTVar supplyMailbox $ HM.delete ackableID | ^^^^^^^^^^^^^^^^^^^ cabal: Leaving directory '/tmp/cabal-tmp-22023/websockets-rpc-0.7.0' cabal: Error: some packages failed to install: websockets-rpc-0.7.0-5iaCgdPng16L0vtlLhtB0W failed during the building phase. The exception was: ExitFailure 1