Resolving dependencies... Configuring bitmap-0.0.2... Configuring bytestring-trie-0.2.4.1... Building bitmap-0.0.2... Building bytestring-trie-0.2.4.1... Installed bytestring-trie-0.2.4.1 Configuring digest-0.0.1.2... Building digest-0.0.1.2... Configuring fixed-0.2.1.1... Installed digest-0.0.1.2 Configuring half-0.2.2.3... Installed bitmap-0.0.2 Building fixed-0.2.1.1... Building half-0.2.2.3... Configuring old-locale-1.0.0.7... Installed fixed-0.2.1.1 Building old-locale-1.0.0.7... Configuring mtl-2.2.1... Installed half-0.2.2.3 Building mtl-2.2.1... Configuring random-1.1... Installed old-locale-1.0.0.7 Building random-1.1... Configuring primitive-0.6.1.0... Installed mtl-2.2.1 Building primitive-0.6.1.0... Configuring text-1.2.2.1... Installed random-1.1 Building text-1.2.2.1... Configuring uulib-0.9.22... Installed primitive-0.6.1.0 Building uulib-0.9.22... Configuring zlib-0.6.1.2... Installed uulib-0.9.22 Building zlib-0.6.1.2... Installed text-1.2.2.1 Configuring stb-image-0.2.1... Building stb-image-0.2.1... Installed zlib-0.6.1.2 Configuring old-time-1.1.0.3... Building old-time-1.1.0.3... Configuring vect-0.4.7... Installed stb-image-0.2.1 Configuring vector-0.11.0.0... Installed old-time-1.1.0.3 Building vector-0.11.0.0... Building vect-0.4.7... Configuring OpenGLRaw-3.2.4.0... Installed vect-0.4.7 Building OpenGLRaw-3.2.4.0... Configuring xml-1.3.14... Installed vector-0.11.0.0 Building xml-1.3.14... Installed xml-1.3.14 Configuring zip-archive-0.3.0.5... Building zip-archive-0.3.0.5... Configuring vector-algorithms-0.7.0.1... Installed zip-archive-0.3.0.5 Building vector-algorithms-0.7.0.1... Installed vector-algorithms-0.7.0.1 Installed OpenGLRaw-3.2.4.0 Configuring lambdacube-engine-0.2.3... Building lambdacube-engine-0.2.3... Failed to install lambdacube-engine-0.2.3 Build log ( /home/builder/.cabal/logs/lambdacube-engine-0.2.3.log ): cabal: Entering directory '/tmp/cabal-tmp-28526/lambdacube-engine-0.2.3' Configuring lambdacube-engine-0.2.3... Building lambdacube-engine-0.2.3... Preprocessing library lambdacube-engine-0.2.3... [ 1 of 57] Compiling Graphics.LambdaCube.Types ( Graphics/LambdaCube/Types.hs, dist/build/Graphics/LambdaCube/Types.o ) Graphics/LambdaCube/Types.hs:6:5: warning: [-Wdodgy-exports] The export item `module Data.Vect.Float.Instances' exports nothing Graphics/LambdaCube/Types.hs:11:1: warning: [-Wunused-imports] The import of ‘Data.Vect.Float.Instances’ is redundant except perhaps to import instances from ‘Data.Vect.Float.Instances’ To import instances alone, use: import Data.Vect.Float.Instances() [ 2 of 57] Compiling Graphics.LambdaCube.Utility ( Graphics/LambdaCube/Utility.hs, dist/build/Graphics/LambdaCube/Utility.o ) [ 3 of 57] Compiling Graphics.LambdaCube.Tree ( Graphics/LambdaCube/Tree.hs, dist/build/Graphics/LambdaCube/Tree.o ) [ 4 of 57] Compiling Graphics.LambdaCube.Skeleton ( Graphics/LambdaCube/Skeleton.hs, dist/build/Graphics/LambdaCube/Skeleton.o ) [ 5 of 57] Compiling Graphics.LambdaCube.RenderSystemCapabilities ( Graphics/LambdaCube/RenderSystemCapabilities.hs, dist/build/Graphics/LambdaCube/RenderSystemCapabilities.o ) [ 6 of 57] Compiling Graphics.LambdaCube.PixelFormat ( Graphics/LambdaCube/PixelFormat.hs, dist/build/Graphics/LambdaCube/PixelFormat.o ) [ 7 of 57] Compiling Graphics.LambdaCube.Loader.SkeletonXML ( Graphics/LambdaCube/Loader/SkeletonXML.hs, dist/build/Graphics/LambdaCube/Loader/SkeletonXML.o ) [ 8 of 57] Compiling Graphics.LambdaCube.Loader.Generated.ResourceScriptScanner ( Graphics/LambdaCube/Loader/Generated/ResourceScriptScanner.hs, dist/build/Graphics/LambdaCube/Loader/Generated/ResourceScriptScanner.o ) Graphics/LambdaCube/Loader/Generated/ResourceScriptScanner.hs:193:31: error: • Couldn't match expected type ‘[AlexAcc (String -> Pos -> Token) t]’ with actual type ‘e0’ because type variable ‘t’ would escape its scope This (rigid, skolem) type variable is bound by the inferred type of alex_scan_tkn :: t -> AlexInput -> Int# -> AlexInput -> Int# -> AlexLastAcc (String -> Pos -> Token) -> (AlexLastAcc (String -> Pos -> Token), (Pos, String)) at Graphics/LambdaCube/Loader/Generated/ResourceScriptScanner.hs:(190,1)-(229,47) • In the first argument of ‘check_accs’, namely ‘(alex_accept `quickIndex` (I# (s)))’ In the expression: check_accs (alex_accept `quickIndex` (I# (s))) In an equation for ‘new_acc’: new_acc = check_accs (alex_accept `quickIndex` (I# (s))) • Relevant bindings include check_accs :: [AlexAcc (String -> Pos -> Token) t] -> AlexLastAcc (String -> Pos -> Token) (bound at Graphics/LambdaCube/Loader/Generated/ResourceScriptScanner.hs:220:9) user :: t (bound at Graphics/LambdaCube/Loader/Generated/ResourceScriptScanner.hs:190:15) alex_scan_tkn :: t -> AlexInput -> Int# -> AlexInput -> Int# -> AlexLastAcc (String -> Pos -> Token) -> (AlexLastAcc (String -> Pos -> Token), (Pos, String)) (bound at Graphics/LambdaCube/Loader/Generated/ResourceScriptScanner.hs:190:1) Graphics/LambdaCube/Loader/Generated/ResourceScriptScanner.hs:204:17: error: • Pattern bindings containing unlifted types should use an outermost bang pattern: ((I# (ord_c))) = ord c • In the expression: let (base) = alexIndexInt32OffAddr alex_base s ((I# (ord_c))) = ord c (offset) = (base +# ord_c) .... in case new_s of { -1# -> (new_acc, input) _ -> alex_scan_tkn user orig_input (len +# 1#) new_input new_s new_acc } In a case alternative: Just (c, new_input) -> let (base) = alexIndexInt32OffAddr alex_base s ((I# (ord_c))) = ord c .... in case new_s of { -1# -> (new_acc, input) _ -> alex_scan_tkn user orig_input (len +# 1#) new_input new_s new_acc } In the second argument of ‘seq’, namely ‘case alexGetChar input of { Nothing -> (new_acc, input) Just (c, new_input) -> let (base) = ... .... in case new_s of { -1# -> ... _ -> alex_scan_tkn user orig_input (len +# 1#) new_input new_s new_acc } }’ Graphics/LambdaCube/Loader/Generated/ResourceScriptScanner.hs:208:31: 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 Graphics/LambdaCube/Loader/Generated/ResourceScriptScanner.hs:208:50: 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 cabal: Leaving directory '/tmp/cabal-tmp-28526/lambdacube-engine-0.2.3' cabal: Error: some packages failed to install: lambdacube-engine-0.2.3 failed during the building phase. The exception was: ExitFailure 1