Resolving dependencies... Configuring random-1.1... Configuring mtl-2.2.1... Building mtl-2.2.1... Building random-1.1... Configuring stm-2.4.4.1... Installed random-1.1 Building stm-2.4.4.1... Installed mtl-2.2.1 Installed stm-2.4.4.1 Configuring transient-0.5.3... Building transient-0.5.3... Failed to install transient-0.5.3 Build log ( /home/builder/.cabal/logs/transient-0.5.3.log ): cabal: Entering directory '/tmp/cabal-tmp-30312/transient-0.5.3' Configuring transient-0.5.3... Building transient-0.5.3... Preprocessing library transient-0.5.3... [1 of 6] Compiling Transient.Internals ( src/Transient/Internals.hs, dist/build/Transient/Internals.o ) [2 of 6] Compiling Transient.Indeterminism ( src/Transient/Indeterminism.hs, dist/build/Transient/Indeterminism.o ) [3 of 6] Compiling Transient.Logged ( src/Transient/Logged.hs, dist/build/Transient/Logged.o ) src/Transient/Logged.hs:74:54: error: • Couldn't match expected type ‘Data.ByteString.Lazy.Internal.ByteString’ with actual type ‘BS.ByteString’ NB: ‘BS.ByteString’ is defined in ‘Data.ByteString.Internal’ ‘Data.ByteString.Lazy.Internal.ByteString’ is defined in ‘Data.ByteString.Lazy.Internal’ • In the first argument of ‘deserialize’, namely ‘logstr’ In the second argument of ‘seq’, namely ‘deserialize logstr’ In the expression: BS.length logstr `seq` deserialize logstr src/Transient/Logged.hs:195:33: error: • Couldn't match expected type ‘Data.ByteString.Lazy.Internal.ByteString’ with actual type ‘Data.ByteString.Builder.Internal.Builder’ • In the second argument of ‘(==)’, namely ‘show1 n’ In the expression: s == show1 n In the expression: if s == show1 n then do { setData $ Log recover t full; return $ Just () } else return Nothing cabal: Leaving directory '/tmp/cabal-tmp-30312/transient-0.5.3' cabal: Error: some packages failed to install: transient-0.5.3 failed during the building phase. The exception was: ExitFailure 1