Resolving dependencies... Configuring base64-bytestring-1.0.0.1... Configuring base64-string-0.2... Building base64-string-0.2... Building base64-bytestring-1.0.0.1... Installed base64-string-0.2 Configuring byteable-0.1.1... Building byteable-0.1.1... Configuring extensible-exceptions-0.1.1.4... Installed base64-bytestring-1.0.0.1 Building extensible-exceptions-0.1.1.4... Configuring mtl-2.2.1... Installed byteable-0.1.1 Building mtl-2.2.1... Configuring foundation-0.0.2... Installed extensible-exceptions-0.1.1.4 Building foundation-0.0.2... Configuring old-locale-1.0.0.7... Installed mtl-2.2.1 Building old-locale-1.0.0.7... Configuring network-2.6.3.1... Installed old-locale-1.0.0.7 Building network-2.6.3.1... Configuring random-1.1... Installed network-2.6.3.1 Building random-1.1... Configuring text-1.2.2.1... Installed random-1.1 Building text-1.2.2.1... Installed foundation-0.0.2 Configuring regex-base-0.93.2... Building regex-base-0.93.2... Installed regex-base-0.93.2 Configuring old-time-1.1.0.3... Building old-time-1.1.0.3... Configuring memory-0.14... Installed text-1.2.2.1 Building memory-0.14... Configuring regex-posix-0.95.2... Installed old-time-1.1.0.3 Building regex-posix-0.95.2... Installed memory-0.14 Configuring blaze-builder-0.4.0.2... Building blaze-builder-0.4.0.2... Installed regex-posix-0.95.2 Configuring polyparse-1.12... Building polyparse-1.12... Configuring parsec-3.1.11... Installed blaze-builder-0.4.0.2 Building parsec-3.1.11... Configuring cryptonite-0.21... Installed polyparse-1.12 Building cryptonite-0.21... Configuring regex-compat-0.95.1... Installed parsec-3.1.11 Building regex-compat-0.95.1... Installed regex-compat-0.95.1 Configuring mime-mail-0.4.12... Building mime-mail-0.4.12... Installed mime-mail-0.4.12 Configuring HaXml-1.23.3... Building HaXml-1.23.3... Configuring hsemail-1.7.7... Installed cryptonite-0.21 Building hsemail-1.7.7... Installed hsemail-1.7.7 Configuring cryptohash-0.11.9... Building cryptohash-0.11.9... Installed cryptohash-0.11.9 Configuring HaskellNet-0.5.1... Building HaskellNet-0.5.1... Installed HaskellNet-0.5.1 Installed HaXml-1.23.3 Configuring encoding-0.6.7.1... Failed to install encoding-0.6.7.1 Build log ( /home/builder/.cabal/logs/encoding-0.6.7.1.log ): cabal: Entering directory '/tmp/cabal-tmp-29991/encoding-0.6.7.1' cabal: Leaving directory '/tmp/cabal-tmp-29991/encoding-0.6.7.1' cabal: Error: some packages failed to install: email-0.1 depends on encoding-0.6.7.1 which failed to install. encoding-0.6.7.1 failed during the configure step. The exception was: user error ('/opt/ghc/8.0.2/bin/ghc' exited with an error: /tmp/cabal-tmp-29991/encoding-0.6.7.1/Data/Static.hs:39:28: error: • Couldn't match expected type ‘Bool’ with actual type ‘Int#’ • In the expression: eqWord# v (int2Word# 4294967295#) In the expression: if eqWord# v (int2Word# 4294967295#) then Nothing else (if (I# (word2Int# v)) > 1114111 then error (show (I# (word2Int# v)) ++ " is not a valid char (" ++ show (I# i) ++ ")") else Just (chr (I# (word2Int# v)))) In the expression: let !v = indexWord32OffAddr# addr i in if eqWord# v (int2Word# 4294967295#) then Nothing else (if (I# (word2Int# v)) > 1114111 then error (show (I# (word2Int# v)) ++ " is not a valid char (" ++ show (I# i) ++ ")") else Just (chr (I# (word2Int# v)))) )