Resolving dependencies... Configuring snappy-0.2.0.2... Building snappy-0.2.0.2... Preprocessing library snappy-0.2.0.2... [1 of 3] Compiling Codec.Compression.Snappy.Internal ( Codec/Compression/Snappy/Internal.hs, dist/build/Codec/Compression/Snappy/Internal.o ) [2 of 3] Compiling Codec.Compression.Snappy.Lazy ( dist/build/Codec/Compression/Snappy/Lazy.hs, dist/build/Codec/Compression/Snappy/Lazy.o ) Codec/Compression/Snappy/Lazy.hsc:52:10: Warning: No explicit implementation for either ‘peek’ or ‘peekElemOff’ or ‘peekByteOff’ In the instance declaration for ‘Storable BS’ [3 of 3] Compiling Codec.Compression.Snappy ( Codec/Compression/Snappy.hs, dist/build/Codec/Compression/Snappy.o ) In-place registering snappy-0.2.0.2... Running Haddock for snappy-0.2.0.2... Running hscolour for snappy-0.2.0.2... Preprocessing library snappy-0.2.0.2... Preprocessing library snappy-0.2.0.2... Codec/Compression/Snappy/Lazy.hsc:52:10: Warning: No explicit implementation for either ‘peek’ or ‘peekElemOff’ or ‘peekByteOff’ In the instance declaration for ‘Storable BS’ Haddock coverage: 33% ( 1 / 3) in 'Codec.Compression.Snappy.Internal' 100% ( 3 / 3) in 'Codec.Compression.Snappy.Lazy' 100% ( 3 / 3) in 'Codec.Compression.Snappy' Documentation created: dist/doc/html/snappy/index.html, dist/doc/html/snappy/snappy.txt Creating package registration file: /tmp/pkgConf-snappy-0.2.012336.2 Installing library in /home/builder/hackage-server/build-cache/tmp-install/lib/x86_64-linux-ghc-7.8.3/snappy-0.2.0.2 Registering snappy-0.2.0.2... Installed snappy-0.2.0.2 Downloading qudb-0.0.0... Configuring qudb-0.0.0... Building qudb-0.0.0... Preprocessing executable 'qudb' for qudb-0.0.0... [1 of 7] Compiling Database.QUDB.Scanner ( dist/build/qudb/qudb-tmp/Database/QUDB/Scanner.hs, dist/build/qudb/qudb-tmp/Database/QUDB/Scanner.o ) dist/build/qudb/qudb-tmp/Database/QUDB/Scanner.hs:372:17: Pattern bindings containing unlifted types should use an outermost bang pattern: ((I# (ord_c))) = fromIntegral c In the expression: let (base) = alexIndexInt32OffAddr alex_base s ((I# (ord_c))) = fromIntegral c (offset) = (base +# ord_c) .... in case new_s of { -1# -> (new_acc, input) _ -> alex_scan_tkn user orig_input (if c < 128 || c >= 192 then (len +# 1#) else len) new_input new_s new_acc } In a case alternative: Just (c, new_input) -> let (base) = alexIndexInt32OffAddr alex_base s ((I# (ord_c))) = fromIntegral c .... in case new_s of { -1# -> (new_acc, input) _ -> alex_scan_tkn user orig_input (if c < 128 || c >= 192 then (len +# 1#) else len) new_input new_s new_acc } In the second argument of ‘seq’, namely ‘case alexGetByte input of { Nothing -> (new_acc, input) Just (c, new_input) -> let (base) = ... .... in case new_s of { -1# -> ... _ -> alex_scan_tkn user orig_input (if c < 128 || c >= 192 then (len +# 1#) else len) new_input new_s new_acc } }’ dist/build/qudb/qudb-tmp/Database/QUDB/Scanner.hs:376:31: Couldn't match expected type ‘Bool’ with actual type ‘Int#’ In the first argument of ‘(&&)’, namely ‘(offset >=# 0#)’ In the expression: (offset >=# 0#) && (check ==# ord_c) In the expression: if (offset >=# 0#) && (check ==# ord_c) then alexIndexInt16OffAddr alex_table offset else alexIndexInt16OffAddr alex_deflt s dist/build/qudb/qudb-tmp/Database/QUDB/Scanner.hs:376:50: Couldn't match expected type ‘Bool’ with actual type ‘Int#’ In the second argument of ‘(&&)’, namely ‘(check ==# ord_c)’ In the expression: (offset >=# 0#) && (check ==# ord_c) In the expression: if (offset >=# 0#) && (check ==# ord_c) then alexIndexInt16OffAddr alex_table offset else alexIndexInt16OffAddr alex_deflt s Failed to install qudb-0.0.0 cabal: Error: some packages failed to install: qudb-0.0.0 failed during the building phase. The exception was: ExitFailure 1