Build #2 for pwstore-purehaskell-2.1.2

[all reports]

Package pwstore-purehaskell-2.1.2
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2015-06-07 08:51:24.130028 UTC
Compiler ghc-7.8.3
OS linux
Arch x86_64
Dependencies random-1.1, bytestring-0.10.4.0, base64-bytestring-1.0.0.1, base-4.7.0.1, SHA-1.6.4.2
Flags none

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Configuring SHA-1.6.4.2...
Building SHA-1.6.4.2...
Preprocessing library SHA-1.6.4.2...
[1 of 1] Compiling Data.Digest.Pure.SHA ( src/Data/Digest/Pure/SHA.hs, dist/build/Data/Digest/Pure/SHA.o )
In-place registering SHA-1.6.4.2...
Running Haddock for SHA-1.6.4.2...
Running hscolour for SHA-1.6.4.2...
Preprocessing library SHA-1.6.4.2...
Preprocessing library SHA-1.6.4.2...
Haddock coverage:
  62% ( 24 / 39) in 'Data.Digest.Pure.SHA'
Documentation created: dist/doc/html/SHA/index.html, dist/doc/html/SHA/SHA.txt
Creating package registration file: /tmp/pkgConf-SHA-1.6.414430.2
Installing library in
/home/builder/hackage-server/build-cache/tmp-install/lib/x86_64-linux-ghc-7.8.3/SHA-1.6.4.2
Registering SHA-1.6.4.2...
Installed SHA-1.6.4.2
Configuring base64-bytestring-1.0.0.1...
Building base64-bytestring-1.0.0.1...
Preprocessing library base64-bytestring-1.0.0.1...
[1 of 5] Compiling Data.ByteString.Base64.Internal ( Data/ByteString/Base64/Internal.hs, dist/build/Data/ByteString/Base64/Internal.o )
[2 of 5] Compiling Data.ByteString.Base64.URL ( Data/ByteString/Base64/URL.hs, dist/build/Data/ByteString/Base64/URL.o )
[3 of 5] Compiling Data.ByteString.Base64.URL.Lazy ( Data/ByteString/Base64/URL/Lazy.hs, dist/build/Data/ByteString/Base64/URL/Lazy.o )
[4 of 5] Compiling Data.ByteString.Base64 ( Data/ByteString/Base64.hs, dist/build/Data/ByteString/Base64.o )
[5 of 5] Compiling Data.ByteString.Base64.Lazy ( Data/ByteString/Base64/Lazy.hs, dist/build/Data/ByteString/Base64/Lazy.o )
In-place registering base64-bytestring-1.0.0.1...
Running Haddock for base64-bytestring-1.0.0.1...
Running hscolour for base64-bytestring-1.0.0.1...
Preprocessing library base64-bytestring-1.0.0.1...
Preprocessing library base64-bytestring-1.0.0.1...
Haddock coverage:
  45% (  5 / 11) in 'Data.ByteString.Base64.Internal'
 100% (  5 /  5) in 'Data.ByteString.Base64.URL'
 100% (  4 /  4) in 'Data.ByteString.Base64.URL.Lazy'
 100% (  5 /  5) in 'Data.ByteString.Base64'
 100% (  4 /  4) in 'Data.ByteString.Base64.Lazy'
Documentation created: dist/doc/html/base64-bytestring/index.html,
dist/doc/html/base64-bytestring/base64-bytestring.txt
Creating package registration file:
/tmp/pkgConf-base64-bytestring-1.0.014430.1
Installing library in
/home/builder/hackage-server/build-cache/tmp-install/lib/x86_64-linux-ghc-7.8.3/base64-bytestring-1.0.0.1
Registering base64-bytestring-1.0.0.1...
Installed base64-bytestring-1.0.0.1
Configuring random-1.1...
Building random-1.1...
Preprocessing library random-1.1...
[1 of 1] Compiling System.Random    ( System/Random.hs, dist/build/System/Random.o )
In-place registering random-1.1...
Running Haddock for random-1.1...
Running hscolour for random-1.1...
Preprocessing library random-1.1...
Preprocessing library random-1.1...
Haddock coverage:
Cannot find documentation for: $intro
 100% ( 16 / 16) in 'System.Random'
Documentation created: dist/doc/html/random/index.html,
dist/doc/html/random/random.txt
Creating package registration file: /tmp/pkgConf-random-114430.1
Installing library in
/home/builder/hackage-server/build-cache/tmp-install/lib/x86_64-linux-ghc-7.8.3/random-1.1
Registering random-1.1...
Installed random-1.1
Downloading 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:
    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:
    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
Failed to install 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.