Resolving dependencies... Configuring mtl-2.2.1... Building mtl-2.2.1... Installed mtl-2.2.1 Downloading ewe-0.1.0.38... Configuring ewe-0.1.0.38... Building ewe-0.1.0.38... Failed to install ewe-0.1.0.38 Build log ( /home/builder/.cabal/logs/ewe-0.1.0.38.log ): cabal: Entering directory '/tmp/cabal-tmp-12081/ewe-0.1.0.38' Configuring ewe-0.1.0.38... Building ewe-0.1.0.38... Preprocessing executable 'ewe' for ewe-0.1.0.38... [1 of 9] Compiling Paths_ewe ( dist/build/autogen/Paths_ewe.hs, dist/build/ewe/ewe-tmp/Paths_ewe.o ) [2 of 9] Compiling Language.EWE.Token ( src/Language/EWE/Token.hs, dist/build/ewe/ewe-tmp/Language/EWE/Token.o ) [3 of 9] Compiling Language.EWE.Scanner ( dist/build/ewe/ewe-tmp/Language/EWE/Scanner.hs, dist/build/ewe/ewe-tmp/Language/EWE/Scanner.o ) dist/build/ewe/ewe-tmp/Language/EWE/Scanner.hs:496:29: error: • 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/ewe/ewe-tmp/Language/EWE/Scanner.hs:496:48: error: • 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 templates/wrappers.hs:173:10: error: • No instance for (Applicative Alex) arising from the superclasses of an instance declaration • In the instance declaration for ‘Monad Alex’ cabal: Leaving directory '/tmp/cabal-tmp-12081/ewe-0.1.0.38' cabal: Error: some packages failed to install: ewe-0.1.0.38 failed during the building phase. The exception was: ExitFailure 1