Build #7 for pwstore-purehaskell-2.1.2

[all reports]

Package pwstore-purehaskell-2.1.2
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2016-12-13 21:23:17.087326 UTC
Compiler ghc-8.0.1.20161018
OS linux
Arch x86_64
Dependencies SHA-1.6.4.2, base-4.9.0.0, base64-bytestring-1.0.0.1, bytestring-0.10.8.1, random-1.1
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 random-1.1...
Building random-1.1...
Building base64-bytestring-1.0.0.1...
Configuring SHA-1.6.4.2...
Installed base64-bytestring-1.0.0.1
Building SHA-1.6.4.2...
Installed random-1.1
Installed SHA-1.6.4.2
Configuring pwstore-purehaskell-2.1.2...
Building pwstore-purehaskell-2.1.2...
Failed to install pwstore-purehaskell-2.1.2
Build log ( /home/builder/.cabal/logs/pwstore-purehaskell-2.1.2.log ):
cabal: Entering directory '/tmp/cabal-tmp-32431/pwstore-purehaskell-2.1.2'
Configuring pwstore-purehaskell-2.1.2...
Building pwstore-purehaskell-2.1.2...
Preprocessing library pwstore-purehaskell-2.1.2...
[1 of 1] Compiling Crypto.PasswordStore ( Crypto/PasswordStore.hs, dist/build/Crypto/PasswordStore.o )

Crypto/PasswordStore.hs:209:12: error:
    • Couldn't match expected type ‘[Char]’
                  with actual type ‘ByteString’
    • In the first argument of ‘constantTimeCompare’, namely
        ‘(encode $ pbkdf1 userInput salt (2 ^ strength))’
      In the expression:
        (encode $ pbkdf1 userInput salt (2 ^ strength))
        `constantTimeCompare` goodHash
      In a case alternative:
          Just (strength, salt, goodHash)
            -> (encode $ pbkdf1 userInput salt (2 ^ strength))
               `constantTimeCompare` goodHash

Crypto/PasswordStore.hs:209:79: error:
    • Couldn't match expected type ‘[Char]’
                  with actual type ‘ByteString’
    • In the second argument of ‘constantTimeCompare’, namely
        ‘goodHash’
      In the expression:
        (encode $ pbkdf1 userInput salt (2 ^ strength))
        `constantTimeCompare` goodHash
      In a case alternative:
          Just (strength, salt, goodHash)
            -> (encode $ pbkdf1 userInput salt (2 ^ strength))
               `constantTimeCompare` goodHash
cabal: Leaving directory '/tmp/cabal-tmp-32431/pwstore-purehaskell-2.1.2'
cabal: Error: some packages failed to install:
pwstore-purehaskell-2.1.2 failed during the building phase. The exception was:
ExitFailure 1

Test log

No test log was submitted for this report.