Build #8 for x509-util-1.4.3

[all reports]

Package x509-util-1.4.3
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2016-12-19 07:46:52.934066 UTC
Compiler ghc-8.0.1.20161018
OS linux
Arch x86_64
Dependencies asn1-encoding-0.9.4, asn1-types-0.3.2, base-4.9.0.0, bytestring-0.10.8.1, crypto-pubkey-0.2.8, crypto-pubkey-types-0.4.3, cryptohash-0.11.9, directory-1.2.6.2, pem-0.2.2, text-1.2.2.1, x509-1.6.5, x509-store-1.6.2, x509-system-1.6.4, x509-validation-1.6.5
Flags none

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

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 foundation-0.0.2...
Installed base64-bytestring-1.0.0.1
Building foundation-0.0.2...
Configuring hourglass-0.2.10...
Installed data-default-class-0.1.2.0
Building hourglass-0.2.10...
Configuring mtl-2.2.1...
Installed hourglass-0.2.10
Building mtl-2.2.1...
Configuring primitive-0.6.1.0...
Installed mtl-2.2.1
Building primitive-0.6.1.0...
Configuring text-1.2.2.1...
Installed primitive-0.6.1.0
Building text-1.2.2.1...
Installed foundation-0.0.2
Configuring pem-0.2.2...
Building pem-0.2.2...
Installed pem-0.2.2
Configuring vector-0.11.0.0...
Building vector-0.11.0.0...
Configuring memory-0.14...
Installed text-1.2.2.1
Building memory-0.14...
Installed memory-0.14
Configuring asn1-types-0.3.2...
Building asn1-types-0.3.2...
Configuring securemem-0.1.9...
Installed asn1-types-0.3.2
Building securemem-0.1.9...
Configuring cryptonite-0.21...
Installed securemem-0.1.9
Building cryptonite-0.21...
Configuring asn1-encoding-0.9.4...
Installed vector-0.11.0.0
Building asn1-encoding-0.9.4...
Configuring crypto-random-0.0.9...
Installed asn1-encoding-0.9.4
Building crypto-random-0.0.9...
Installed crypto-random-0.0.9
Configuring asn1-parse-0.9.4...
Building asn1-parse-0.9.4...
Configuring crypto-pubkey-types-0.4.3...
Installed asn1-parse-0.9.4
Building crypto-pubkey-types-0.4.3...
Configuring crypto-numbers-0.2.7...
Installed crypto-pubkey-types-0.4.3
Building crypto-numbers-0.2.7...
Installed crypto-numbers-0.2.7
Installed cryptonite-0.21
Configuring x509-1.6.5...
Configuring cryptohash-0.11.9...
Building cryptohash-0.11.9...
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 x509-store-1.6.2
Configuring x509-validation-1.6.5...
Configuring x509-system-1.6.4...
Installed crypto-pubkey-0.2.8
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.4.3...
Building x509-util-1.4.3...
Failed to install x509-util-1.4.3
Build log ( /home/builder/.cabal/logs/x509-util-1.4.3.log ):
cabal: Entering directory '/tmp/cabal-tmp-13723/x509-util-1.4.3'
Configuring x509-util-1.4.3...
Building x509-util-1.4.3...
Preprocessing executable 'x509-util' for x509-util-1.4.3...
[1 of 1] Compiling Main             ( src/Certificate.hs, dist/build/x509-util/x509-util-tmp/Main.o )

src/Certificate.hs:91:60: error:
    • Couldn't match expected type ‘RSA.PublicKey’
                  with actual type ‘cryptonite-0.21:Crypto.PubKey.RSA.Types.PublicKey’
      NB: ‘cryptonite-0.21:Crypto.PubKey.RSA.Types.PublicKey’
            is defined in ‘Crypto.PubKey.RSA.Types’
                in package ‘cryptonite-0.21’
          ‘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:92:52: error:
    • Couldn't match expected type ‘RSA.PublicKey’
                  with actual type ‘cryptonite-0.21:Crypto.PubKey.RSA.Types.PublicKey’
      NB: ‘cryptonite-0.21:Crypto.PubKey.RSA.Types.PublicKey’
            is defined in ‘Crypto.PubKey.RSA.Types’
                in package ‘cryptonite-0.21’
          ‘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:93:52: error:
    • Couldn't match expected type ‘RSA.PublicKey’
                  with actual type ‘cryptonite-0.21:Crypto.PubKey.RSA.Types.PublicKey’
      NB: ‘cryptonite-0.21:Crypto.PubKey.RSA.Types.PublicKey’
            is defined in ‘Crypto.PubKey.RSA.Types’
                in package ‘cryptonite-0.21’
          ‘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:95:44: error:
    • Couldn't match expected type ‘DSA.PublicKey’
                  with actual type ‘cryptonite-0.21:Crypto.PubKey.DSA.PublicKey’
      NB: ‘cryptonite-0.21:Crypto.PubKey.DSA.PublicKey’
            is defined in ‘Crypto.PubKey.DSA’ in package ‘cryptonite-0.21’
          ‘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:97:52: error:
    • Couldn't match expected type ‘DSA.PublicKey’
                  with actual type ‘cryptonite-0.21:Crypto.PubKey.DSA.PublicKey’
      NB: ‘cryptonite-0.21:Crypto.PubKey.DSA.PublicKey’
            is defined in ‘Crypto.PubKey.DSA’ in package ‘cryptonite-0.21’
          ‘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)

src/Certificate.hs:213:19: error:
    • Couldn't match expected type ‘IO [t0]’
                  with actual type ‘ServiceID
                                    -> CertificateChain -> IO [FailedReason]’
    • Probable cause: ‘validate’ is applied to too few arguments
      In a stmt of a 'do' block:
        failed <- validate
                    defaultHooks validationChecks store (maybe "" id fqhn) cc
      In the second argument of ‘($)’, namely
        ‘do { let cc = CertificateChain (rights objs);
              store <- getSystemCertificateStore;
              failed <- validate
                          defaultHooks validationChecks store (maybe "" id fqhn) cc;
              if failed /= [] then
                  putStrLn ("validation failed: " ++ show failed)
              else
                  putStrLn "validation success" }’
      In a stmt of a 'do' block:
        when (Validate `elem` opts)
        $ do { let cc = CertificateChain (rights objs);
               store <- getSystemCertificateStore;
               failed <- validate
                           defaultHooks validationChecks store (maybe "" id fqhn) cc;
               if failed /= [] then
                   putStrLn ("validation failed: " ++ show failed)
               else
                   putStrLn "validation success" }

src/Certificate.hs:213:28: error:
    • Couldn't match expected type ‘HashALG’
                  with actual type ‘ValidationHooks’
    • In the first argument of ‘validate’, namely ‘defaultHooks’
      In a stmt of a 'do' block:
        failed <- validate
                    defaultHooks validationChecks store (maybe "" id fqhn) cc
      In the second argument of ‘($)’, namely
        ‘do { let cc = CertificateChain (rights objs);
              store <- getSystemCertificateStore;
              failed <- validate
                          defaultHooks validationChecks store (maybe "" id fqhn) cc;
              if failed /= [] then
                  putStrLn ("validation failed: " ++ show failed)
              else
                  putStrLn "validation success" }’

src/Certificate.hs:213:41: error:
    • Couldn't match expected type ‘ValidationHooks’
                  with actual type ‘ValidationChecks’
    • In the second argument of ‘validate’, namely ‘validationChecks’
      In a stmt of a 'do' block:
        failed <- validate
                    defaultHooks validationChecks store (maybe "" id fqhn) cc
      In the second argument of ‘($)’, namely
        ‘do { let cc = CertificateChain (rights objs);
              store <- getSystemCertificateStore;
              failed <- validate
                          defaultHooks validationChecks store (maybe "" id fqhn) cc;
              if failed /= [] then
                  putStrLn ("validation failed: " ++ show failed)
              else
                  putStrLn "validation success" }’

src/Certificate.hs:213:58: error:
    • Couldn't match expected type ‘ValidationChecks’
                  with actual type ‘CertificateStore’
    • In the third argument of ‘validate’, namely ‘store’
      In a stmt of a 'do' block:
        failed <- validate
                    defaultHooks validationChecks store (maybe "" id fqhn) cc
      In the second argument of ‘($)’, namely
        ‘do { let cc = CertificateChain (rights objs);
              store <- getSystemCertificateStore;
              failed <- validate
                          defaultHooks validationChecks store (maybe "" id fqhn) cc;
              if failed /= [] then
                  putStrLn ("validation failed: " ++ show failed)
              else
                  putStrLn "validation success" }’

src/Certificate.hs:213:65: error:
    • Couldn't match type ‘[Char]’ with ‘CertificateStore’
      Expected type: CertificateStore
        Actual type: String
    • In the fourth argument of ‘validate’, namely ‘(maybe "" id fqhn)’
      In a stmt of a 'do' block:
        failed <- validate
                    defaultHooks validationChecks store (maybe "" id fqhn) cc
      In the second argument of ‘($)’, namely
        ‘do { let cc = CertificateChain (rights objs);
              store <- getSystemCertificateStore;
              failed <- validate
                          defaultHooks validationChecks store (maybe "" id fqhn) cc;
              if failed /= [] then
                  putStrLn ("validation failed: " ++ show failed)
              else
                  putStrLn "validation success" }’

src/Certificate.hs:213:83: error:
    • Couldn't match expected type ‘ValidationCache’
                  with actual type ‘CertificateChain’
    • In the fifth argument of ‘validate’, namely ‘cc’
      In a stmt of a 'do' block:
        failed <- validate
                    defaultHooks validationChecks store (maybe "" id fqhn) cc
      In the second argument of ‘($)’, namely
        ‘do { let cc = CertificateChain (rights objs);
              store <- getSystemCertificateStore;
              failed <- validate
                          defaultHooks validationChecks store (maybe "" id fqhn) cc;
              if failed /= [] then
                  putStrLn ("validation failed: " ++ show failed)
              else
                  putStrLn "validation success" }’
cabal: Leaving directory '/tmp/cabal-tmp-13723/x509-util-1.4.3'
cabal: Error: some packages failed to install:
x509-util-1.4.3 failed during the building phase. The exception was:
ExitFailure 1

Test log

No test log was submitted for this report.