Build #7 for BNFC-2.4.2.1

[all reports]

Package BNFC-2.4.2.1
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2016-12-24 14:28:40.121358 UTC
Compiler ghc-8.0.1.20161018
OS linux
Arch x86_64
Dependencies array-0.5.1.1, base-4.9.0.0, directory-1.2.6.2, mtl-2.2.1, process-1.4.2.0
Flags none

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Configuring mtl-2.2.1...
Building mtl-2.2.1...
Installed mtl-2.2.1
Configuring BNFC-2.4.2.1...
Building BNFC-2.4.2.1...
Failed to install BNFC-2.4.2.1
Build log ( /home/builder/.cabal/logs/BNFC-2.4.2.1.log ):
cabal: Entering directory '/tmp/cabal-tmp-11651/BNFC-2.4.2.1'
Configuring BNFC-2.4.2.1...
Building BNFC-2.4.2.1...
Preprocessing executable 'bnfc' for BNFC-2.4.2.1...

CF.hs:1:12: warning:
    -fglasgow-exts is deprecated: Use individual extensions instead

ParBNF.hs:1:12: warning:
    -fglasgow-exts is deprecated: Use individual extensions instead

dist/build/bnfc/bnfc-tmp/LexBNF.hs:1:12: warning:
    -fglasgow-exts is deprecated: Use individual extensions instead
[ 1 of 90] Compiling Utils            ( Utils.hs, dist/build/bnfc/bnfc-tmp/Utils.o )

Utils.hs:75:1: warning: [-Wtabs]
    Tab character found here, and in 16 further locations.
    Please use spaces instead.
[ 2 of 90] Compiling STLUtils         ( formats/cpp_stl/STLUtils.hs, dist/build/bnfc/bnfc-tmp/STLUtils.o )
[ 3 of 90] Compiling MkSharedString   ( formats/haskell2/MkSharedString.hs, dist/build/bnfc/bnfc-tmp/MkSharedString.o )
[ 4 of 90] Compiling MkErrM           ( formats/haskell2/MkErrM.hs, dist/build/bnfc/bnfc-tmp/MkErrM.o )

formats/haskell2/MkErrM.hs:24:1: warning: [-Wtabs]
    Tab character found here, and in 17 further locations.
    Please use spaces instead.
[ 5 of 90] Compiling LexBNF           ( dist/build/bnfc/bnfc-tmp/LexBNF.hs, dist/build/bnfc/bnfc-tmp/LexBNF.o )

dist/build/bnfc/bnfc-tmp/LexBNF.hs:268:31: error:
    • Couldn't match expected type ‘[AlexAcc
                                       (Posn -> String -> 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 (Posn -> String -> Token)
                         -> (AlexLastAcc (Posn -> String -> Token), (Posn, Char, String))
        at dist/build/bnfc/bnfc-tmp/LexBNF.hs:(265,1)-(304,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 (Posn -> String -> Token) t]
                      -> AlexLastAcc (Posn -> String -> Token)
          (bound at dist/build/bnfc/bnfc-tmp/LexBNF.hs:295:9)
        user :: t (bound at dist/build/bnfc/bnfc-tmp/LexBNF.hs:265:15)
        alex_scan_tkn :: t
                         -> AlexInput
                         -> Int#
                         -> AlexInput
                         -> Int#
                         -> AlexLastAcc (Posn -> String -> Token)
                         -> (AlexLastAcc (Posn -> String -> Token), (Posn, Char, String))
          (bound at dist/build/bnfc/bnfc-tmp/LexBNF.hs:265:1)

dist/build/bnfc/bnfc-tmp/LexBNF.hs:279: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 } }’

dist/build/bnfc/bnfc-tmp/LexBNF.hs:283: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/bnfc/bnfc-tmp/LexBNF.hs:283: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
cabal: Leaving directory '/tmp/cabal-tmp-11651/BNFC-2.4.2.1'
cabal: Error: some packages failed to install:
BNFC-2.4.2.1 failed during the building phase. The exception was:
ExitFailure 1

Test log

No test log was submitted for this report.