Resolving dependencies... Configuring base64-bytestring-1.0.0.1... Configuring byteable-0.1.1... Building base64-bytestring-1.0.0.1... Building byteable-0.1.1... Installed byteable-0.1.1 Configuring data-default-class-0.1.2.0... Building data-default-class-0.1.2.0... Configuring hourglass-0.2.10... Installed base64-bytestring-1.0.0.1 Building hourglass-0.2.10... Configuring memory-0.13... Installed data-default-class-0.1.2.0 Building memory-0.13... Configuring mtl-2.2.1... Installed hourglass-0.2.10 Building mtl-2.2.1... Configuring primitive-0.6.1.0... Installed memory-0.13 Building primitive-0.6.1.0... Installed mtl-2.2.1 Configuring asn1-types-0.3.2... Building asn1-types-0.3.2... Configuring securemem-0.1.9... Installed primitive-0.6.1.0 Building securemem-0.1.9... Configuring pem-0.2.2... Installed securemem-0.1.9 Configuring cryptonite-0.20... Installed asn1-types-0.3.2 Building pem-0.2.2... Building cryptonite-0.20... Installed pem-0.2.2 Configuring asn1-encoding-0.9.4... Building asn1-encoding-0.9.4... Configuring vector-0.11.0.0... Installed asn1-encoding-0.9.4 Building vector-0.11.0.0... Installed vector-0.11.0.0 Configuring asn1-parse-0.9.4... Building asn1-parse-0.9.4... Configuring crypto-pubkey-types-0.4.3... Installed cryptonite-0.20 Configuring crypto-random-0.0.9... Installed asn1-parse-0.9.4 Building crypto-pubkey-types-0.4.3... Building crypto-random-0.0.9... Installed crypto-random-0.0.9 Configuring crypto-numbers-0.2.7... Building crypto-numbers-0.2.7... Configuring cryptohash-0.11.9... Installed crypto-pubkey-types-0.4.3 Building cryptohash-0.11.9... Configuring x509-1.6.5... Installed crypto-numbers-0.2.7 Building x509-1.6.5... Installed cryptohash-0.11.9 Configuring crypto-pubkey-0.2.8... Building crypto-pubkey-0.2.8... Installed x509-1.6.5 Configuring x509-store-1.6.2... Building x509-store-1.6.2... Installed crypto-pubkey-0.2.8 Installed x509-store-1.6.2 Configuring x509-system-1.6.4... Configuring x509-validation-1.6.5... Building x509-validation-1.6.5... Building x509-system-1.6.4... Installed x509-system-1.6.4 Installed x509-validation-1.6.5 Configuring x509-util-1.5.2... Building x509-util-1.5.2... Failed to install x509-util-1.5.2 Build log ( /home/builder/.cabal/logs/x509-util-1.5.2.log ): cabal: Entering directory '/tmp/cabal-tmp-16138/x509-util-1.5.2' Configuring x509-util-1.5.2... Building x509-util-1.5.2... Preprocessing executable 'x509-util' for x509-util-1.5.2... [1 of 1] Compiling Main ( src/Certificate.hs, dist/build/x509-util/x509-util-tmp/Main.o ) src/Certificate.hs:90:60: error: • Couldn't match expected type ‘RSA.PublicKey’ with actual type ‘cryptonite-0.20:Crypto.PubKey.RSA.Types.PublicKey’ NB: ‘cryptonite-0.20:Crypto.PubKey.RSA.Types.PublicKey’ is defined in ‘Crypto.PubKey.RSA.Types’ in package ‘cryptonite-0.20’ ‘RSA.PublicKey’ is defined in ‘Crypto.Types.PubKey.RSA’ in package ‘crypto-pubkey-types-0.4.3’ • In the first argument of ‘RSA.public_size’, namely ‘pubkey’ In the first argument of ‘(*)’, namely ‘RSA.public_size pubkey’ In the second argument of ‘printf’, namely ‘(RSA.public_size pubkey * 8)’ src/Certificate.hs:91:52: error: • Couldn't match expected type ‘RSA.PublicKey’ with actual type ‘cryptonite-0.20:Crypto.PubKey.RSA.Types.PublicKey’ NB: ‘cryptonite-0.20:Crypto.PubKey.RSA.Types.PublicKey’ is defined in ‘Crypto.PubKey.RSA.Types’ in package ‘cryptonite-0.20’ ‘RSA.PublicKey’ is defined in ‘Crypto.Types.PubKey.RSA’ in package ‘crypto-pubkey-types-0.4.3’ • In the first argument of ‘RSA.public_n’, namely ‘pubkey’ In the second argument of ‘printf’, namely ‘(RSA.public_n pubkey)’ In a stmt of a 'do' block: printf " modulus: %x\n" (RSA.public_n pubkey) src/Certificate.hs:92:52: error: • Couldn't match expected type ‘RSA.PublicKey’ with actual type ‘cryptonite-0.20:Crypto.PubKey.RSA.Types.PublicKey’ NB: ‘cryptonite-0.20:Crypto.PubKey.RSA.Types.PublicKey’ is defined in ‘Crypto.PubKey.RSA.Types’ in package ‘cryptonite-0.20’ ‘RSA.PublicKey’ is defined in ‘Crypto.Types.PubKey.RSA’ in package ‘crypto-pubkey-types-0.4.3’ • In the first argument of ‘RSA.public_e’, namely ‘pubkey’ In the second argument of ‘printf’, namely ‘(RSA.public_e pubkey)’ In a stmt of a 'do' block: printf " e : %x\n" (RSA.public_e pubkey) src/Certificate.hs:94:44: error: • Couldn't match expected type ‘DSA.PublicKey’ with actual type ‘cryptonite-0.20:Crypto.PubKey.DSA.PublicKey’ NB: ‘cryptonite-0.20:Crypto.PubKey.DSA.PublicKey’ is defined in ‘Crypto.PubKey.DSA’ in package ‘cryptonite-0.20’ ‘DSA.PublicKey’ is defined in ‘Crypto.Types.PubKey.DSA’ in package ‘crypto-pubkey-types-0.4.3’ • In the first argument of ‘DSA.public_params’, namely ‘pubkey’ In the expression: DSA.public_params pubkey In an equation for ‘params’: params = DSA.public_params pubkey src/Certificate.hs:96:52: error: • Couldn't match expected type ‘DSA.PublicKey’ with actual type ‘cryptonite-0.20:Crypto.PubKey.DSA.PublicKey’ NB: ‘cryptonite-0.20:Crypto.PubKey.DSA.PublicKey’ is defined in ‘Crypto.PubKey.DSA’ in package ‘cryptonite-0.20’ ‘DSA.PublicKey’ is defined in ‘Crypto.Types.PubKey.DSA’ in package ‘crypto-pubkey-types-0.4.3’ • In the first argument of ‘DSA.public_y’, namely ‘pubkey’ In the second argument of ‘printf’, namely ‘(DSA.public_y pubkey)’ In a stmt of a 'do' block: printf " pub : %x\n" (DSA.public_y pubkey) cabal: Leaving directory '/tmp/cabal-tmp-16138/x509-util-1.5.2' cabal: Error: some packages failed to install: x509-util-1.5.2 failed during the building phase. The exception was: ExitFailure 1