Resolving dependencies... Configuring cereal-0.5.4.0... Configuring SHA-1.6.4.2... Building cereal-0.5.4.0... Building SHA-1.6.4.2... Installed cereal-0.5.4.0 Configuring entropy-0.3.7... Building entropy-0.3.7... Configuring hourglass-0.2.10... Installed SHA-1.6.4.2 Building hourglass-0.2.10... Configuring foundation-0.0.2... Installed entropy-0.3.7 Building foundation-0.0.2... Configuring mtl-2.2.1... Installed hourglass-0.2.10 Building mtl-2.2.1... Configuring parallel-3.2.1.0... Installed mtl-2.2.1 Building parallel-3.2.1.0... Configuring prettyclass-1.0.0.0... Installed parallel-3.2.1.0 Building prettyclass-1.0.0.0... Configuring network-2.6.3.1... Installed prettyclass-1.0.0.0 Building network-2.6.3.1... Configuring transformers-compat-0.5.1.4... Installed network-2.6.3.1 Building transformers-compat-0.5.1.4... Installed transformers-compat-0.5.1.4 Configuring tagged-0.8.5... Building tagged-0.8.5... Installed foundation-0.0.2 Configuring memory-0.14... Building memory-0.14... Installed tagged-0.8.5 Configuring crypto-api-0.13.2... Building crypto-api-0.13.2... Installed memory-0.14 Configuring asn1-types-0.3.2... Configuring cryptonite-0.21... Installed crypto-api-0.13.2 Building asn1-types-0.3.2... Building cryptonite-0.21... Installed asn1-types-0.3.2 Configuring pureMD5-2.1.3... Building pureMD5-2.1.3... Configuring asn1-encoding-0.9.4... Installed pureMD5-2.1.3 Building asn1-encoding-0.9.4... Configuring monadcryptorandom-0.7.0... Installed asn1-encoding-0.9.4 Building monadcryptorandom-0.7.0... Configuring cipher-aes128-0.7.0.3... Installed monadcryptorandom-0.7.0 Building cipher-aes128-0.7.0.3... Configuring crypto-pubkey-types-0.4.3... Installed cipher-aes128-0.7.0.3 Building crypto-pubkey-types-0.4.3... Installed crypto-pubkey-types-0.4.3 Configuring RSA-2.2.0... Building RSA-2.2.0... Configuring commsec-0.3.5... Installed RSA-2.2.0 Building commsec-0.3.5... Failed to install commsec-0.3.5 Build log ( /home/builder/.cabal/logs/commsec-0.3.5.log ): cabal: Entering directory '/tmp/cabal-tmp-3897/commsec-0.3.5' Configuring commsec-0.3.5... Building commsec-0.3.5... Preprocessing library commsec-0.3.5... [1 of 4] Compiling Network.CommSec.Types ( Network/CommSec/Types.hs, dist/build/Network/CommSec/Types.o ) [2 of 4] Compiling Network.CommSec.BitWindow ( Network/CommSec/BitWindow.hs, dist/build/Network/CommSec/BitWindow.o ) [3 of 4] Compiling Network.CommSec.Package ( Network/CommSec/Package.hs, dist/build/Network/CommSec/Package.o ) Network/CommSec/Package.hs:347:39: error: • Couldn't match type ‘GCMpc’ with ‘IO GCMpc’ Expected type: AESKey128 -> IO GCMpc Actual type: AESKey128 -> GCMpc • In the second argument of ‘(.)’, namely ‘AES.precomputeGCMdata’ In the expression: unsafePerformIO . AES.precomputeGCMdata In an equation for ‘precomputeGCMdata’: precomputeGCMdata = unsafePerformIO . AES.precomputeGCMdata cabal: Leaving directory '/tmp/cabal-tmp-3897/commsec-0.3.5' Installed cryptonite-0.21 Configuring cryptohash-cryptoapi-0.1.4... Building cryptohash-cryptoapi-0.1.4... Installed cryptohash-cryptoapi-0.1.4 Configuring DRBG-0.5.5... Building DRBG-0.5.5... Installed DRBG-0.5.5 cabal: Error: some packages failed to install: commsec-0.3.5 failed during the building phase. The exception was: ExitFailure 1 commsec-keyexchange-0.3 depends on commsec-0.3.5 which failed to install.