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 memory-0.13... Building memory-0.13... Configuring random-1.1... Installed base64-bytestring-1.0.0.1 Building random-1.1... Installed random-1.1 Installed memory-0.13 Configuring cryptonite-0.20... Building cryptonite-0.20... Installed cryptonite-0.20 Configuring cryptohash-0.11.9... Building cryptohash-0.11.9... Installed cryptohash-0.11.9 Configuring pwstore-fast-2.4.2... Building pwstore-fast-2.4.2... Failed to install pwstore-fast-2.4.2 Build log ( /home/builder/.cabal/logs/pwstore-fast-2.4.2.log ): cabal: Entering directory '/tmp/cabal-tmp-604/pwstore-fast-2.4.2' Configuring pwstore-fast-2.4.2... Building pwstore-fast-2.4.2... Preprocessing library pwstore-fast-2.4.2... [1 of 1] Compiling Crypto.PasswordStore ( Crypto/PasswordStore.hs, dist/build/Crypto/PasswordStore.o ) Crypto/PasswordStore.hs:334:11: error: • Couldn't match expected type ‘[Char]’ with actual type ‘ByteString’ • In the first argument of ‘constantTimeCompare’, namely ‘encode (algorithm userInput salt (strengthModifier strength))’ In the expression: encode (algorithm userInput salt (strengthModifier strength)) `constantTimeCompare` goodHash In a case alternative: Just (strength, salt, goodHash) -> encode (algorithm userInput salt (strengthModifier strength)) `constantTimeCompare` goodHash Crypto/PasswordStore.hs:334:95: error: • Couldn't match expected type ‘[Char]’ with actual type ‘ByteString’ • In the second argument of ‘constantTimeCompare’, namely ‘goodHash’ In the expression: encode (algorithm userInput salt (strengthModifier strength)) `constantTimeCompare` goodHash In a case alternative: Just (strength, salt, goodHash) -> encode (algorithm userInput salt (strengthModifier strength)) `constantTimeCompare` goodHash cabal: Leaving directory '/tmp/cabal-tmp-604/pwstore-fast-2.4.2' cabal: Error: some packages failed to install: pwstore-fast-2.4.2 failed during the building phase. The exception was: ExitFailure 1