*** setup configure setup/setup configure --ghc --user --prefix=/usr/local/tmp/archive/install --haddock-option=--use-contents=http://hackage.haskell.org/cgi-bin/hackage-scripts/package/happy-1.18.1 --verbose Warning: defaultUserHooks in Setup script is deprecated. Configuring happy-1.18.1... Flags chosen: small_base=True Dependency array -any: using array-0.2.0.0 Dependency base >=2.1: using base-4.1.0.0 Dependency containers -any: using containers-0.2.0.1 Dependency haskell98 >=1.0: using haskell98-1.0.1.0 Dependency mtl >=1.0: using mtl-1.1.0.2 Using Cabal-1.6.0.1 compiled by ghc-6.10 Using compiler: ghc-6.10.2 Using install prefix: /usr/local/tmp/archive/install Binaries installed in: /usr/local/tmp/archive/install/bin Libraries installed in: /usr/local/tmp/archive/install/lib/happy-1.18.1/ghc-6.10.2 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/happy-1.18.1 Documentation installed in: /usr/local/tmp/archive/install/share/doc/happy-1.18.1 Using alex version 2.2 found on system at: /usr/bin/alex Using ar found on system at: /usr/bin/ar Using c2hs version 0.15.1 found on system at: /usr/local/bin/c2hs Using cpphs version 0.7 found on system at: /usr/bin/cpphs Using ffihugs found on system at: /usr/local/bin/ffihugs Using gcc version 4.3.3 found on system at: /usr/bin/gcc Using ghc version 6.10.2 found on system at: /usr/local/bin/ghc Using ghc-pkg version 6.10.2 found on system at: /usr/local/bin/ghc-pkg No greencard found Using haddock version 2.4.2 found on system at: /usr/local/bin/haddock Using happy version 1.17 found on system at: /usr/local/bin/happy No hmake found Using hsc2hs version 0.67 found on system at: /usr/local/bin/hsc2hs Using hscolour version 1.9 found on system at: /usr/local/bin/HsColour Using hugs found on system at: /usr/local/bin/hugs No jhc found Using ld found on system at: /usr/bin/ld No nhc98 found Using perl found on system at: /usr/bin/perl Using pkg-config version 0.22 found on system at: /usr/bin/pkg-config Using ranlib found on system at: /usr/bin/ranlib Using strip found on system at: /usr/bin/strip Using tar found on system at: /bin/tar *** setup build setup/setup build --verbose Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing executables for happy-1.18.1... Creating dist/build/happy/happy-tmp (and its parents) /usr/local/bin/happy -agc -o dist/build/happy/happy-tmp/Parser.hs src/Parser.ly Creating dist/build/happy/happy-tmp (and its parents) /usr/local/bin/happy -agc -o dist/build/happy/happy-tmp/AttrGrammarParser.hs src/AttrGrammarParser.ly Building happy-1.18.1... Building executable: happy... Creating dist/build/happy (and its parents) Creating dist/build/happy/happy-tmp (and its parents) /usr/local/bin/ghc -o dist/build/happy/happy --make -hide-all-packages -i -idist/build/happy/happy-tmp -isrc -idist/build/autogen -Idist/build/autogen -Idist/build/happy/happy-tmp -optP-include -optPdist/build/autogen/cabal_macros.h -odir dist/build/happy/happy-tmp -hidir dist/build/happy/happy-tmp -stubdir dist/build/happy/happy-tmp -package array-0.2.0.0 -package base-4.1.0.0 -package containers-0.2.0.1 -package haskell98-1.0.1.0 -package mtl-1.1.0.2 -O -fglasgow-exts -W -XCPP src/Main.lhs [ 1 of 19] Compiling Paths_happy ( dist/build/autogen/Paths_happy.hs, dist/build/happy/happy-tmp/Paths_happy.o ) [ 2 of 19] Compiling GenUtils ( src/GenUtils.lhs, dist/build/happy/happy-tmp/GenUtils.o ) src/GenUtils.lhs:48:11: Warning: Defined but not used: `f' src/GenUtils.lhs:55:11: Warning: Defined but not used: `f' src/GenUtils.lhs:72:8: Warning: Pattern match(es) are non-exhaustive In the definition of `match': Patterns not matched: [] src/GenUtils.lhs:72:19: Warning: Defined but not used: `c' src/GenUtils.lhs:76:8: Warning: Defined but not used: `f' src/GenUtils.lhs:77:8: Warning: Defined but not used: `f' src/GenUtils.lhs:116:13: Warning: Defined but not used: `f' src/GenUtils.lhs:117:13: Warning: Defined but not used: `f' src/GenUtils.lhs:137:30: Warning: Defined but not used: `vs' [ 3 of 19] Compiling ParseMonad ( src/ParseMonad.lhs, dist/build/happy/happy-tmp/ParseMonad.o ) [ 4 of 19] Compiling AttrGrammar ( src/AttrGrammar.lhs, dist/build/happy/happy-tmp/AttrGrammar.o ) src/AttrGrammar.lhs:27:2: Warning: Pattern match(es) are non-exhaustive In the definition of `subRefVal': Patterns not matched: AgTok_EOF AgTok_Unknown _ AgTok_RightmostRef _ AgTok_SelfRef _ ... src/AttrGrammar.lhs:28:2: Warning: Pattern match(es) are non-exhaustive In the definition of `selfRefVal': Patterns not matched: AgTok_EOF AgTok_Unknown _ AgTok_RightmostRef _ AgTok_SubRef _ ... src/AttrGrammar.lhs:29:2: Warning: Pattern match(es) are non-exhaustive In the definition of `rightRefVal': Patterns not matched: AgTok_EOF AgTok_Unknown _ AgTok_SubRef _ AgTok_SelfRef _ ... src/AttrGrammar.lhs:63:21: Warning: Defined but not used: `l' [ 5 of 19] Compiling AttrGrammarParser ( dist/build/happy/happy-tmp/AttrGrammarParser.hs, dist/build/happy/happy-tmp/AttrGrammarParser.o ) dist/build/happy/happy-tmp/AttrGrammarParser.hs:18:23: Warning: Defined but not used: data constructor `HappyAbsSyn' dist/build/happy/happy-tmp/AttrGrammarParser.hs:103:0: Warning: Defined but not used: `happy_n_terms' dist/build/happy/happy-tmp/AttrGrammarParser.hs:104:0: Warning: Defined but not used: `happy_n_nonterms' dist/build/happy/happy-tmp/AttrGrammarParser.hs:115:1: Warning: Defined but not used: `happy_x_2' dist/build/happy/happy-tmp/AttrGrammarParser.hs:137:1: Warning: Defined but not used: `happy_x_2' dist/build/happy/happy-tmp/AttrGrammarParser.hs:147:1: Warning: Defined but not used: `happy_x_2' dist/build/happy/happy-tmp/AttrGrammarParser.hs:157:1: Warning: Defined but not used: `happy_x_2' dist/build/happy/happy-tmp/AttrGrammarParser.hs:167:1: Warning: Defined but not used: `happy_x_1' dist/build/happy/happy-tmp/AttrGrammarParser.hs:313:1: Warning: Pattern match(es) are overlapped In a case alternative: _ -> ... dist/build/happy/happy-tmp/AttrGrammarParser.hs:333:0: Warning: Defined but not used: `happyThen1' dist/build/happy/happy-tmp/AttrGrammarParser.hs:337:19: Warning: Defined but not used: `token' templates/GenericTemplate.hs:83:15: Warning: Defined but not used: `tk' templates/GenericTemplate.hs:83:18: Warning: Defined but not used: `st' templates/GenericTemplate.hs:83:21: Warning: Defined but not used: `sts' templates/GenericTemplate.hs:85:14: Warning: Defined but not used: `tk' templates/GenericTemplate.hs:85:20: Warning: Defined but not used: `sts' templates/GenericTemplate.hs:179:21: Warning: Defined but not used: `i' templates/GenericTemplate.hs:184:18: Warning: Defined but not used: `i' templates/GenericTemplate.hs:184:20: Warning: Defined but not used: `fn' templates/GenericTemplate.hs:186:34: Warning: Defined but not used: `action' templates/GenericTemplate.hs:189:18: Warning: Defined but not used: `i' templates/GenericTemplate.hs:189:20: Warning: Defined but not used: `fn' templates/GenericTemplate.hs:191:52: Warning: Defined but not used: `action' templates/GenericTemplate.hs:195:18: Warning: Defined but not used: `i' templates/GenericTemplate.hs:195:20: Warning: Defined but not used: `fn' templates/GenericTemplate.hs:197:68: Warning: Defined but not used: `action' templates/GenericTemplate.hs:201:18: Warning: Defined but not used: `i' templates/GenericTemplate.hs:201:20: Warning: Defined but not used: `fn' templates/GenericTemplate.hs:203:84: Warning: Defined but not used: `action' templates/GenericTemplate.hs:207:12: Warning: Defined but not used: `k' templates/GenericTemplate.hs:207:14: Warning: Defined but not used: `i' templates/GenericTemplate.hs:207:16: Warning: Defined but not used: `fn' templates/GenericTemplate.hs:209:25: Warning: Defined but not used: `st' templates/GenericTemplate.hs:211:25: Warning: Defined but not used: `action' templates/GenericTemplate.hs:215:0: Warning: Defined but not used: `happyMonadReduce' templates/GenericTemplate.hs:215:17: Warning: Defined but not used: `k' templates/GenericTemplate.hs:215:19: Warning: Defined but not used: `nt' templates/GenericTemplate.hs:215:22: Warning: Defined but not used: `fn' templates/GenericTemplate.hs:219:36: Warning: Defined but not used: `action' templates/GenericTemplate.hs:222:0: Warning: Defined but not used: `happyMonad2Reduce' templates/GenericTemplate.hs:222:18: Warning: Defined but not used: `k' templates/GenericTemplate.hs:222:20: Warning: Defined but not used: `nt' templates/GenericTemplate.hs:222:23: Warning: Defined but not used: `fn' templates/GenericTemplate.hs:224:26: Warning: Defined but not used: `j' templates/GenericTemplate.hs:226:36: Warning: Defined but not used: `action' templates/GenericTemplate.hs:239:0: Warning: Defined but not used: `happyDropStk' templates/GenericTemplate.hs:240:16: Warning: Defined but not used: `x' templates/GenericTemplate.hs:260:17: Warning: Defined but not used: `old_st' templates/GenericTemplate.hs:260:26: Warning: Defined but not used: `stk' templates/GenericTemplate.hs:290:12: Warning: Defined but not used: `x' templates/GenericTemplate.hs:302:13: Warning: Defined but not used: `a' [ 6 of 19] Compiling AbsSyn ( src/AbsSyn.lhs, dist/build/happy/happy-tmp/AbsSyn.o ) src/AbsSyn.lhs:101:2: Warning: Pattern match(es) are non-exhaustive In the definition of `getPrioNames': Patterns not matched: TokenAttribute _ _ TokenAttributetype _ TokenError _ TokenExpect _ ... [ 7 of 19] Compiling Set ( src/Set.hs, dist/build/happy/happy-tmp/Set.o ) [ 8 of 19] Compiling ParamRules ( src/ParamRules.hs, dist/build/happy/happy-tmp/ParamRules.o ) [ 9 of 19] Compiling Grammar ( src/Grammar.lhs, dist/build/happy/happy-tmp/Grammar.o ) src/Grammar.lhs:124:9: Warning: Defined but not used: `i' src/Grammar.lhs:183:24: Warning: Defined but not used: `hd' src/Grammar.lhs:183:39: Warning: Defined but not used: `tl' src/Grammar.lhs:237:8: Warning: Pattern match(es) are non-exhaustive In the definition of `lookupStart': Patterns not matched: TokenAttribute _ _ TokenAttributetype _ TokenError _ TokenExpect _ ... src/Grammar.lhs:237:31: Warning: Defined but not used: `s' src/Grammar.lhs:238:31: Warning: Defined but not used: `s' src/Grammar.lhs:273:30: Warning: Defined but not used: `ty' src/Grammar.lhs:302:27: Warning: Defined but not used: `a' src/Grammar.lhs:380:18: Warning: Defined but not used: `lhs' src/Grammar.lhs:380:22: Warning: Defined but not used: `nonterm_names' src/Grammar.lhs:448:20: Warning: Defined but not used: `attrNames' src/Grammar.lhs:458:9: Warning: Pattern match(es) are non-exhaustive In the definition of `formatSelfRule': Patterns not matched: Conditional _ RightmostAssign _ _ SubAssign _ _ src/Grammar.lhs:482:9: Warning: Pattern match(es) are non-exhaustive In the definition of `formatCondition': Patterns not matched: RightmostAssign _ _ SubAssign _ _ SelfAssign _ _ src/Grammar.lhs:484:23: Warning: Defined but not used: `i' src/Grammar.lhs:485:23: Warning: Defined but not used: `i' src/Grammar.lhs:489:9: Warning: Pattern match(es) are non-exhaustive In the definition of `formatToken': Patterns not matched: AgTok_EOF src/Grammar.lhs:534:24: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: [] [10 of 19] Compiling ProduceGLRCode ( src/ProduceGLRCode.lhs, dist/build/happy/happy-tmp/ProduceGLRCode.o ) src/ProduceGLRCode.lhs:18:20: Warning: Imported from `GenUtils' but not used: `fst3' src/ProduceGLRCode.lhs:23:2: Warning: Module `Data.Maybe' is imported, but nothing from it is used, except perhaps instances visible in `Data.Maybe' To suppress this warning, use: import Data.Maybe() src/ProduceGLRCode.lhs:24:21: Warning: Imported from `Data.Char' but not used: `isUpper' src/ProduceGLRCode.lhs:92:27: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: [] src/ProduceGLRCode.lhs:190:16: Warning: Defined but not used: `drop_me' src/ProduceGLRCode.lhs:301:7: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: LR'MustFail LR'Fail LR'Multiple _ (LR'Multiple _ _) LR'Multiple _ LR'MustFail ... src/ProduceGLRCode.lhs:310:6: Warning: Defined but not used: `rule' src/ProduceGLRCode.lhs:317:37: Warning: Defined but not used: `code' src/ProduceGLRCode.lhs:317:42: Warning: Defined but not used: `dollar_vars' src/ProduceGLRCode.lhs:505:42: Warning: Defined but not used: `ignore_monad_info' src/ProduceGLRCode.lhs:511:8: Warning: Defined but not used: `ty' src/ProduceGLRCode.lhs:512:25: Warning: Defined but not used: `ps' src/ProduceGLRCode.lhs:531:8: Warning: Defined but not used: `ty' src/ProduceGLRCode.lhs:538:41: Warning: Defined but not used: `other' src/ProduceGLRCode.lhs:587:45: Warning: Defined but not used: `j_vs' src/ProduceGLRCode.lhs:614:28: Warning: Defined but not used: `tn' src/ProduceGLRCode.lhs:642:22: Warning: Defined but not used: `mask' [11 of 19] Compiling Target ( src/Target.lhs, dist/build/happy/happy-tmp/Target.o ) [12 of 19] Compiling ProduceCode ( src/ProduceCode.lhs, dist/build/happy/happy-tmp/ProduceCode.o ) src/ProduceCode.lhs:22:2: Warning: Module `Array' is imported, but nothing from it is used, except perhaps instances visible in `Array' To suppress this warning, use: import Array() src/ProduceCode.lhs:45:33: Warning: Defined but not used: `lookupProd' src/ProduceCode.lhs:46:38: Warning: Defined but not used: `lookupProdNos' src/ProduceCode.lhs:50:32: Warning: Defined but not used: `names' src/ProduceCode.lhs:203:36: Warning: Defined but not used: `action' src/ProduceCode.lhs:209:25: Warning: Defined but not used: `action' src/ProduceCode.lhs:422:10: Warning: Defined but not used: `eofError' src/ProduceCode.lhs:527:30: Warning: Defined but not used: `t' src/ProduceCode.lhs:539:28: Warning: Defined but not used: `t' src/ProduceCode.lhs:662:11: Warning: Defined but not used: `n' src/ProduceCode.lhs:767:26: Warning: Defined but not used: `start_nonterm' src/ProduceCode.lhs:865:2: Warning: Defined but not used: `gotoVal' src/ProduceCode.lhs:873:24: Warning: Defined but not used: `as' src/ProduceCode.lhs:1078:28: Warning: Defined but not used: `fst_zero' src/ProduceCode.lhs:1088:21: Warning: Defined but not used: `s' src/ProduceCode.lhs:1088:26: Warning: Defined but not used: `off' src/ProduceCode.lhs:1102:37: Warning: Defined but not used: `deflt' src/ProduceCode.lhs:1145:7: Warning: Defined but not used: `off' src/ProduceCode.lhs:1145:14: Warning: Defined but not used: `table' src/ProduceCode.lhs:1151:11: Warning: Defined but not used: `off' src/ProduceCode.lhs:1151:15: Warning: Defined but not used: `table' src/ProduceCode.lhs:1151:21: Warning: Defined but not used: `check' src/ProduceCode.lhs:1157:11: Warning: Defined but not used: `t' src/ProduceCode.lhs:1182:13: Warning: Defined but not used: `n' [13 of 19] Compiling Lexer ( src/Lexer.lhs, dist/build/happy/happy-tmp/Lexer.o ) src/Lexer.lhs:23:2: Warning: Pattern match(es) are non-exhaustive In the definition of `tokenToId': Patterns not matched: TokenEOF src/Lexer.lhs:187:15: Warning: Defined but not used: `cont' src/Lexer.lhs:233:8: Warning: Defined but not used: `c' [14 of 19] Compiling NameSet ( src/NameSet.hs, dist/build/happy/happy-tmp/NameSet.o ) [15 of 19] Compiling LALR ( src/LALR.lhs, dist/build/happy/happy-tmp/LALR.o ) src/LALR.lhs:106:51: Warning: Defined but not used: `name' src/LALR.lhs:187:28: Warning: Defined but not used: `old' src/LALR.lhs:237:8: Warning: Pattern match(es) are non-exhaustive In the definition of `numberSets': Patterns not matched: ((_, _) : _) (_, [], _) src/LALR.lhs:349:18: Warning: Defined but not used: `array' src/LALR.lhs:363:17: Warning: Defined but not used: `array' src/LALR.lhs:369:10: Warning: Defined but not used: `array' src/LALR.lhs:370:22: Warning: Defined but not used: `item' src/LALR.lhs:370:27: Warning: Defined but not used: `s' src/LALR.lhs:384:25: Warning: Defined but not used: `m' src/LALR.lhs:498:21: Warning: Defined but not used: `set' src/LALR.lhs:522:24: Warning: Defined but not used: `set' src/LALR.lhs:575:24: Warning: Defined but not used: `x' src/LALR.lhs:576:12: Warning: Defined but not used: `x' src/LALR.lhs:581:12: Warning: Defined but not used: `a' src/LALR.lhs:581:33: Warning: Defined but not used: `b' src/LALR.lhs:585:12: Warning: Defined but not used: `a' src/LALR.lhs:585:33: Warning: Defined but not used: `b' src/LALR.lhs:600:24: Warning: Defined but not used: `s' src/LALR.lhs:600:26: Warning: Defined but not used: `p' src/LALR.lhs:600:42: Warning: Defined but not used: `s'' src/LALR.lhs:600:45: Warning: Defined but not used: `p'' src/LALR.lhs:601:25: Warning: Defined but not used: `s' src/LALR.lhs:601:42: Warning: Defined but not used: `s'' src/LALR.lhs:617:29: Warning: Defined but not used: `c' src/LALR.lhs:636:29: Warning: Defined but not used: `state' src/LALR.lhs:643:40: Warning: Defined but not used: `as' src/LALR.lhs:643:43: Warning: Defined but not used: `a' src/LALR.lhs:643:47: Warning: Defined but not used: `sr' src/LALR.lhs:643:50: Warning: Defined but not used: `rr' [16 of 19] Compiling Info ( src/Info.lhs, dist/build/happy/happy-tmp/Info.o ) src/Info.lhs:39:31: Warning: Defined but not used: `terms' src/Info.lhs:41:30: Warning: Defined but not used: `eof' src/Info.lhs:42:32: Warning: Defined but not used: `fst_term' src/Info.lhs:65:24: Warning: Defined but not used: `state' src/Info.lhs:102:30: Warning: Defined but not used: `sem' src/Info.lhs:102:35: Warning: Defined but not used: `prec' src/Info.lhs:134:27: Warning: Defined but not used: `sem' src/Info.lhs:134:32: Warning: Defined but not used: `prec' src/Info.lhs:137:16: Warning: Defined but not used: `t' src/Info.lhs:145:4: Warning: Pattern match(es) are non-exhaustive In the definition of `showAction'': Patterns not matched: LR'Fail src/Info.lhs:162:14: Warning: Defined but not used: `nt' [17 of 19] Compiling First ( src/First.lhs, dist/build/happy/happy-tmp/First.o ) [18 of 19] Compiling Parser ( dist/build/happy/happy-tmp/Parser.hs, dist/build/happy/happy-tmp/Parser.o ) dist/build/happy/happy-tmp/Parser.hs:19:23: Warning: Defined but not used: data constructor `HappyAbsSyn' dist/build/happy/happy-tmp/Parser.hs:217:0: Warning: Defined but not used: `happy_n_terms' dist/build/happy/happy-tmp/Parser.hs:218:0: Warning: Defined but not used: `happy_n_nonterms' dist/build/happy/happy-tmp/Parser.hs:223:1: Warning: Defined but not used: `happy_x_3' dist/build/happy/happy-tmp/Parser.hs:253:1: Warning: Defined but not used: `happy_x_5' dist/build/happy/happy-tmp/Parser.hs:255:1: Warning: Defined but not used: `happy_x_3' dist/build/happy/happy-tmp/Parser.hs:259:4: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokComma ... dist/build/happy/happy-tmp/Parser.hs:261:1: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokComma ... dist/build/happy/happy-tmp/Parser.hs:269:1: Warning: Defined but not used: `happy_x_6' dist/build/happy/happy-tmp/Parser.hs:270:1: Warning: Defined but not used: `happy_x_5' dist/build/happy/happy-tmp/Parser.hs:272:1: Warning: Defined but not used: `happy_x_3' dist/build/happy/happy-tmp/Parser.hs:276:4: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokComma ... dist/build/happy/happy-tmp/Parser.hs:278:1: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokComma ... dist/build/happy/happy-tmp/Parser.hs:286:1: Warning: Defined but not used: `happy_x_3' dist/build/happy/happy-tmp/Parser.hs:290:4: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokComma ... dist/build/happy/happy-tmp/Parser.hs:298:17: Warning: Defined but not used: `happy_x_3' dist/build/happy/happy-tmp/Parser.hs:300:1: Warning: Defined but not used: `happy_x_1' dist/build/happy/happy-tmp/Parser.hs:313:5: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokComma ... dist/build/happy/happy-tmp/Parser.hs:320:1: Warning: Defined but not used: `happy_x_2' dist/build/happy/happy-tmp/Parser.hs:323:1: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokComma ... dist/build/happy/happy-tmp/Parser.hs:330:1: Warning: Defined but not used: `happy_x_2' dist/build/happy/happy-tmp/Parser.hs:346:19: Warning: Defined but not used: `happy_x_4' dist/build/happy/happy-tmp/Parser.hs:350:1: Warning: Defined but not used: `happyRest' dist/build/happy/happy-tmp/Parser.hs:350:12: Warning: Defined but not used: `tk' dist/build/happy/happy-tmp/Parser.hs:353:1: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokComma ... dist/build/happy/happy-tmp/Parser.hs:361:1: Warning: Defined but not used: `happyRest' dist/build/happy/happy-tmp/Parser.hs:361:12: Warning: Defined but not used: `tk' dist/build/happy/happy-tmp/Parser.hs:364:1: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokComma ... dist/build/happy/happy-tmp/Parser.hs:370:5: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokComma ... dist/build/happy/happy-tmp/Parser.hs:376:19: Warning: Defined but not used: `happy_x_4' dist/build/happy/happy-tmp/Parser.hs:378:1: Warning: Defined but not used: `happy_x_2' dist/build/happy/happy-tmp/Parser.hs:381:4: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokComma ... dist/build/happy/happy-tmp/Parser.hs:424:1: Warning: Defined but not used: `happy_x_2' dist/build/happy/happy-tmp/Parser.hs:434:1: Warning: Defined but not used: `happy_x_1' dist/build/happy/happy-tmp/Parser.hs:435:5: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokComma ... dist/build/happy/happy-tmp/Parser.hs:463:1: Warning: Defined but not used: `happy_x_1' dist/build/happy/happy-tmp/Parser.hs:464:5: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokComma ... dist/build/happy/happy-tmp/Parser.hs:471:1: Warning: Defined but not used: `happy_x_1' dist/build/happy/happy-tmp/Parser.hs:480:1: Warning: Defined but not used: `happy_x_1' dist/build/happy/happy-tmp/Parser.hs:481:5: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokComma ... dist/build/happy/happy-tmp/Parser.hs:490:1: Warning: Defined but not used: `happy_x_1' dist/build/happy/happy-tmp/Parser.hs:491:5: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokComma ... dist/build/happy/happy-tmp/Parser.hs:498:18: Warning: Defined but not used: `happy_x_1' dist/build/happy/happy-tmp/Parser.hs:506:1: Warning: Defined but not used: `happy_x_1' dist/build/happy/happy-tmp/Parser.hs:507:5: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokComma ... dist/build/happy/happy-tmp/Parser.hs:508:1: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokComma ... dist/build/happy/happy-tmp/Parser.hs:515:1: Warning: Defined but not used: `happy_x_1' dist/build/happy/happy-tmp/Parser.hs:516:5: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokComma ... dist/build/happy/happy-tmp/Parser.hs:524:1: Warning: Defined but not used: `happy_x_1' dist/build/happy/happy-tmp/Parser.hs:525:5: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokComma ... dist/build/happy/happy-tmp/Parser.hs:526:1: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokComma ... dist/build/happy/happy-tmp/Parser.hs:535:1: Warning: Defined but not used: `happy_x_1' dist/build/happy/happy-tmp/Parser.hs:537:4: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokComma ... dist/build/happy/happy-tmp/Parser.hs:538:1: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokComma ... dist/build/happy/happy-tmp/Parser.hs:539:1: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokComma ... dist/build/happy/happy-tmp/Parser.hs:549:1: Warning: Defined but not used: `happy_x_1' dist/build/happy/happy-tmp/Parser.hs:551:4: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokComma ... dist/build/happy/happy-tmp/Parser.hs:552:1: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokComma ... dist/build/happy/happy-tmp/Parser.hs:553:1: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokComma ... dist/build/happy/happy-tmp/Parser.hs:554:1: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokComma ... dist/build/happy/happy-tmp/Parser.hs:561:1: Warning: Defined but not used: `happy_x_1' dist/build/happy/happy-tmp/Parser.hs:569:1: Warning: Defined but not used: `happy_x_1' dist/build/happy/happy-tmp/Parser.hs:577:1: Warning: Defined but not used: `happy_x_1' dist/build/happy/happy-tmp/Parser.hs:585:1: Warning: Defined but not used: `happy_x_1' dist/build/happy/happy-tmp/Parser.hs:586:5: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenInfo _ _ TokenNum _ TokComma ... dist/build/happy/happy-tmp/Parser.hs:593:1: Warning: Defined but not used: `happy_x_1' dist/build/happy/happy-tmp/Parser.hs:594:5: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokComma ... dist/build/happy/happy-tmp/Parser.hs:601:1: Warning: Defined but not used: `happy_x_1' dist/build/happy/happy-tmp/Parser.hs:602:5: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokComma ... dist/build/happy/happy-tmp/Parser.hs:610:1: Warning: Defined but not used: `happy_x_1' dist/build/happy/happy-tmp/Parser.hs:611:5: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokComma ... dist/build/happy/happy-tmp/Parser.hs:612:1: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokComma ... dist/build/happy/happy-tmp/Parser.hs:619:5: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokComma ... dist/build/happy/happy-tmp/Parser.hs:648:5: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokComma ... dist/build/happy/happy-tmp/Parser.hs:649:1: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokComma ... dist/build/happy/happy-tmp/Parser.hs:657:5: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokComma ... dist/build/happy/happy-tmp/Parser.hs:670:5: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokComma ... dist/build/happy/happy-tmp/Parser.hs:685:11: Warning: Defined but not used: `happy_dollar_dollar' dist/build/happy/happy-tmp/Parser.hs:701:11: Warning: Defined but not used: `happy_dollar_dollar' dist/build/happy/happy-tmp/Parser.hs:702:10: Warning: Defined but not used: `happy_dollar_dollar' dist/build/happy/happy-tmp/Parser.hs:724:19: Warning: Defined but not used: `token' templates/GenericTemplate.hs:83:15: Warning: Defined but not used: `tk' templates/GenericTemplate.hs:83:18: Warning: Defined but not used: `st' templates/GenericTemplate.hs:83:21: Warning: Defined but not used: `sts' templates/GenericTemplate.hs:85:14: Warning: Defined but not used: `tk' templates/GenericTemplate.hs:85:20: Warning: Defined but not used: `sts' templates/GenericTemplate.hs:179:21: Warning: Defined but not used: `i' templates/GenericTemplate.hs:184:18: Warning: Defined but not used: `i' templates/GenericTemplate.hs:184:20: Warning: Defined but not used: `fn' templates/GenericTemplate.hs:186:34: Warning: Defined but not used: `action' templates/GenericTemplate.hs:189:18: Warning: Defined but not used: `i' templates/GenericTemplate.hs:189:20: Warning: Defined but not used: `fn' templates/GenericTemplate.hs:191:52: Warning: Defined but not used: `action' templates/GenericTemplate.hs:195:18: Warning: Defined but not used: `i' templates/GenericTemplate.hs:195:20: Warning: Defined but not used: `fn' templates/GenericTemplate.hs:197:68: Warning: Defined but not used: `action' templates/GenericTemplate.hs:201:18: Warning: Defined but not used: `i' templates/GenericTemplate.hs:201:20: Warning: Defined but not used: `fn' templates/GenericTemplate.hs:203:84: Warning: Defined but not used: `action' templates/GenericTemplate.hs:207:12: Warning: Defined but not used: `k' templates/GenericTemplate.hs:207:14: Warning: Defined but not used: `i' templates/GenericTemplate.hs:207:16: Warning: Defined but not used: `fn' templates/GenericTemplate.hs:209:25: Warning: Defined but not used: `st' templates/GenericTemplate.hs:211:25: Warning: Defined but not used: `action' templates/GenericTemplate.hs:215:17: Warning: Defined but not used: `k' templates/GenericTemplate.hs:215:19: Warning: Defined but not used: `nt' templates/GenericTemplate.hs:215:22: Warning: Defined but not used: `fn' templates/GenericTemplate.hs:219:36: Warning: Defined but not used: `action' templates/GenericTemplate.hs:222:0: Warning: Defined but not used: `happyMonad2Reduce' templates/GenericTemplate.hs:222:18: Warning: Defined but not used: `k' templates/GenericTemplate.hs:222:20: Warning: Defined but not used: `nt' templates/GenericTemplate.hs:222:23: Warning: Defined but not used: `fn' templates/GenericTemplate.hs:224:26: Warning: Defined but not used: `j' templates/GenericTemplate.hs:226:36: Warning: Defined but not used: `action' templates/GenericTemplate.hs:240:16: Warning: Defined but not used: `x' templates/GenericTemplate.hs:260:17: Warning: Defined but not used: `old_st' templates/GenericTemplate.hs:260:26: Warning: Defined but not used: `stk' templates/GenericTemplate.hs:290:12: Warning: Defined but not used: `x' templates/GenericTemplate.hs:302:13: Warning: Defined but not used: `a' [19 of 19] Compiling Main ( src/Main.lhs, dist/build/happy/happy-tmp/Main.o ) src/Main.lhs:92:13: _scc_ is deprecated; use an SCC pragma instead src/Main.lhs:103:26: _scc_ is deprecated; use an SCC pragma instead src/Main.lhs:104:26: _scc_ is deprecated; use an SCC pragma instead src/Main.lhs:105:26: _scc_ is deprecated; use an SCC pragma instead src/Main.lhs:106:34: _scc_ is deprecated; use an SCC pragma instead src/Main.lhs:107:26: _scc_ is deprecated; use an SCC pragma instead src/Main.lhs:108:26: _scc_ is deprecated; use an SCC pragma instead src/Main.lhs:109:26: _scc_ is deprecated; use an SCC pragma instead src/Main.lhs:110:26: _scc_ is deprecated; use an SCC pragma instead src/Main.lhs:111:40: _scc_ is deprecated; use an SCC pragma instead src/Main.lhs:39:2: Failed to load interface for `GHC.Prim': it is a member of the hidden package `ghc-prim' Use -v to see a list of the files searched for. *** Trying again with preferred-versions *** setup configure setup/setup configure --ghc --user --prefix=/usr/local/tmp/archive/install --haddock-option=--use-contents=http://hackage.haskell.org/cgi-bin/hackage-scripts/package/happy-1.18.1 --constraint=base<4 --constraint=parsec<3 --constraint=HaXml==1.13.* --constraint=QuickCheck<2 --verbose Warning: defaultUserHooks in Setup script is deprecated. Configuring happy-1.18.1... Flags chosen: small_base=True Dependency array -any: using array-0.2.0.0 Dependency base >=2.1 && <4: using base-3.0.3.1 Dependency containers -any: using containers-0.2.0.1 Dependency haskell98 >=1.0: using haskell98-1.0.1.0 Dependency mtl >=1.0: using mtl-1.1.0.2 Using Cabal-1.6.0.1 compiled by ghc-6.10 Using compiler: ghc-6.10.2 Using install prefix: /usr/local/tmp/archive/install Binaries installed in: /usr/local/tmp/archive/install/bin Libraries installed in: /usr/local/tmp/archive/install/lib/happy-1.18.1/ghc-6.10.2 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/happy-1.18.1 Documentation installed in: /usr/local/tmp/archive/install/share/doc/happy-1.18.1 Using alex version 2.2 found on system at: /usr/bin/alex Using ar found on system at: /usr/bin/ar Using c2hs version 0.15.1 found on system at: /usr/local/bin/c2hs Using cpphs version 0.7 found on system at: /usr/bin/cpphs Using ffihugs found on system at: /usr/local/bin/ffihugs Using gcc version 4.3.3 found on system at: /usr/bin/gcc Using ghc version 6.10.2 found on system at: /usr/local/bin/ghc Using ghc-pkg version 6.10.2 found on system at: /usr/local/bin/ghc-pkg No greencard found Using haddock version 2.4.2 found on system at: /usr/local/bin/haddock Using happy version 1.17 found on system at: /usr/local/bin/happy No hmake found Using hsc2hs version 0.67 found on system at: /usr/local/bin/hsc2hs Using hscolour version 1.9 found on system at: /usr/local/bin/HsColour Using hugs found on system at: /usr/local/bin/hugs No jhc found Using ld found on system at: /usr/bin/ld No nhc98 found Using perl found on system at: /usr/bin/perl Using pkg-config version 0.22 found on system at: /usr/bin/pkg-config Using ranlib found on system at: /usr/bin/ranlib Using strip found on system at: /usr/bin/strip Using tar found on system at: /bin/tar *** setup build setup/setup build --verbose Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing executables for happy-1.18.1... Building happy-1.18.1... Building executable: happy... Creating dist/build/happy (and its parents) Creating dist/build/happy/happy-tmp (and its parents) /usr/local/bin/ghc -o dist/build/happy/happy --make -hide-all-packages -i -idist/build/happy/happy-tmp -isrc -idist/build/autogen -Idist/build/autogen -Idist/build/happy/happy-tmp -optP-include -optPdist/build/autogen/cabal_macros.h -odir dist/build/happy/happy-tmp -hidir dist/build/happy/happy-tmp -stubdir dist/build/happy/happy-tmp -package array-0.2.0.0 -package base-3.0.3.1 -package containers-0.2.0.1 -package haskell98-1.0.1.0 -package mtl-1.1.0.2 -O -fglasgow-exts -W -XCPP src/Main.lhs [ 1 of 19] Compiling Paths_happy ( dist/build/autogen/Paths_happy.hs, dist/build/happy/happy-tmp/Paths_happy.o ) [ 4 of 19] Compiling AttrGrammar ( src/AttrGrammar.lhs, dist/build/happy/happy-tmp/AttrGrammar.o ) src/AttrGrammar.lhs:27:2: Warning: Pattern match(es) are non-exhaustive In the definition of `subRefVal': Patterns not matched: AgTok_Unknown _ AgTok_RightmostRef _ AgTok_SelfRef _ AgTok_EOF ... src/AttrGrammar.lhs:28:2: Warning: Pattern match(es) are non-exhaustive In the definition of `selfRefVal': Patterns not matched: AgTok_Unknown _ AgTok_RightmostRef _ AgTok_SubRef _ AgTok_EOF ... src/AttrGrammar.lhs:29:2: Warning: Pattern match(es) are non-exhaustive In the definition of `rightRefVal': Patterns not matched: AgTok_Unknown _ AgTok_SubRef _ AgTok_SelfRef _ AgTok_EOF ... src/AttrGrammar.lhs:63:21: Warning: Defined but not used: `l' [ 5 of 19] Compiling AttrGrammarParser ( dist/build/happy/happy-tmp/AttrGrammarParser.hs, dist/build/happy/happy-tmp/AttrGrammarParser.o ) dist/build/happy/happy-tmp/AttrGrammarParser.hs:18:23: Warning: Defined but not used: data constructor `HappyAbsSyn' dist/build/happy/happy-tmp/AttrGrammarParser.hs:103:0: Warning: Defined but not used: `happy_n_terms' dist/build/happy/happy-tmp/AttrGrammarParser.hs:104:0: Warning: Defined but not used: `happy_n_nonterms' dist/build/happy/happy-tmp/AttrGrammarParser.hs:115:1: Warning: Defined but not used: `happy_x_2' dist/build/happy/happy-tmp/AttrGrammarParser.hs:137:1: Warning: Defined but not used: `happy_x_2' dist/build/happy/happy-tmp/AttrGrammarParser.hs:147:1: Warning: Defined but not used: `happy_x_2' dist/build/happy/happy-tmp/AttrGrammarParser.hs:157:1: Warning: Defined but not used: `happy_x_2' dist/build/happy/happy-tmp/AttrGrammarParser.hs:167:1: Warning: Defined but not used: `happy_x_1' dist/build/happy/happy-tmp/AttrGrammarParser.hs:313:1: Warning: Pattern match(es) are overlapped In a case alternative: _ -> ... dist/build/happy/happy-tmp/AttrGrammarParser.hs:333:0: Warning: Defined but not used: `happyThen1' dist/build/happy/happy-tmp/AttrGrammarParser.hs:337:19: Warning: Defined but not used: `token' templates/GenericTemplate.hs:83:15: Warning: Defined but not used: `tk' templates/GenericTemplate.hs:83:18: Warning: Defined but not used: `st' templates/GenericTemplate.hs:83:21: Warning: Defined but not used: `sts' templates/GenericTemplate.hs:85:14: Warning: Defined but not used: `tk' templates/GenericTemplate.hs:85:20: Warning: Defined but not used: `sts' templates/GenericTemplate.hs:179:21: Warning: Defined but not used: `i' templates/GenericTemplate.hs:184:18: Warning: Defined but not used: `i' templates/GenericTemplate.hs:184:20: Warning: Defined but not used: `fn' templates/GenericTemplate.hs:186:34: Warning: Defined but not used: `action' templates/GenericTemplate.hs:189:18: Warning: Defined but not used: `i' templates/GenericTemplate.hs:189:20: Warning: Defined but not used: `fn' templates/GenericTemplate.hs:191:52: Warning: Defined but not used: `action' templates/GenericTemplate.hs:195:18: Warning: Defined but not used: `i' templates/GenericTemplate.hs:195:20: Warning: Defined but not used: `fn' templates/GenericTemplate.hs:197:68: Warning: Defined but not used: `action' templates/GenericTemplate.hs:201:18: Warning: Defined but not used: `i' templates/GenericTemplate.hs:201:20: Warning: Defined but not used: `fn' templates/GenericTemplate.hs:203:84: Warning: Defined but not used: `action' templates/GenericTemplate.hs:207:12: Warning: Defined but not used: `k' templates/GenericTemplate.hs:207:14: Warning: Defined but not used: `i' templates/GenericTemplate.hs:207:16: Warning: Defined but not used: `fn' templates/GenericTemplate.hs:209:25: Warning: Defined but not used: `st' templates/GenericTemplate.hs:211:25: Warning: Defined but not used: `action' templates/GenericTemplate.hs:215:0: Warning: Defined but not used: `happyMonadReduce' templates/GenericTemplate.hs:215:17: Warning: Defined but not used: `k' templates/GenericTemplate.hs:215:19: Warning: Defined but not used: `nt' templates/GenericTemplate.hs:215:22: Warning: Defined but not used: `fn' templates/GenericTemplate.hs:219:36: Warning: Defined but not used: `action' templates/GenericTemplate.hs:222:0: Warning: Defined but not used: `happyMonad2Reduce' templates/GenericTemplate.hs:222:18: Warning: Defined but not used: `k' templates/GenericTemplate.hs:222:20: Warning: Defined but not used: `nt' templates/GenericTemplate.hs:222:23: Warning: Defined but not used: `fn' templates/GenericTemplate.hs:224:26: Warning: Defined but not used: `j' templates/GenericTemplate.hs:226:36: Warning: Defined but not used: `action' templates/GenericTemplate.hs:239:0: Warning: Defined but not used: `happyDropStk' templates/GenericTemplate.hs:240:16: Warning: Defined but not used: `x' templates/GenericTemplate.hs:260:17: Warning: Defined but not used: `old_st' templates/GenericTemplate.hs:260:26: Warning: Defined but not used: `stk' templates/GenericTemplate.hs:290:12: Warning: Defined but not used: `x' templates/GenericTemplate.hs:302:13: Warning: Defined but not used: `a' [ 7 of 19] Compiling Set ( src/Set.hs, dist/build/happy/happy-tmp/Set.o ) [ 8 of 19] Compiling ParamRules ( src/ParamRules.hs, dist/build/happy/happy-tmp/ParamRules.o ) [10 of 19] Compiling ProduceGLRCode ( src/ProduceGLRCode.lhs, dist/build/happy/happy-tmp/ProduceGLRCode.o ) src/ProduceGLRCode.lhs:18:20: Warning: Imported from `GenUtils' but not used: `fst3' src/ProduceGLRCode.lhs:23:2: Warning: Module `Data.Maybe' is imported, but nothing from it is used, except perhaps instances visible in `Data.Maybe' To suppress this warning, use: import Data.Maybe() src/ProduceGLRCode.lhs:24:21: Warning: Imported from `Data.Char' but not used: `isUpper' src/ProduceGLRCode.lhs:92:27: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: [] src/ProduceGLRCode.lhs:190:16: Warning: Defined but not used: `drop_me' src/ProduceGLRCode.lhs:301:7: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: LR'Fail LR'MustFail LR'Multiple _ LR'Accept LR'Multiple _ LR'Fail ... src/ProduceGLRCode.lhs:310:6: Warning: Defined but not used: `rule' src/ProduceGLRCode.lhs:317:37: Warning: Defined but not used: `code' src/ProduceGLRCode.lhs:317:42: Warning: Defined but not used: `dollar_vars' src/ProduceGLRCode.lhs:505:42: Warning: Defined but not used: `ignore_monad_info' src/ProduceGLRCode.lhs:511:8: Warning: Defined but not used: `ty' src/ProduceGLRCode.lhs:512:25: Warning: Defined but not used: `ps' src/ProduceGLRCode.lhs:531:8: Warning: Defined but not used: `ty' src/ProduceGLRCode.lhs:538:41: Warning: Defined but not used: `other' src/ProduceGLRCode.lhs:587:45: Warning: Defined but not used: `j_vs' src/ProduceGLRCode.lhs:614:28: Warning: Defined but not used: `tn' src/ProduceGLRCode.lhs:642:22: Warning: Defined but not used: `mask' [12 of 19] Compiling ProduceCode ( src/ProduceCode.lhs, dist/build/happy/happy-tmp/ProduceCode.o ) src/ProduceCode.lhs:22:2: Warning: Module `Array' is imported, but nothing from it is used, except perhaps instances visible in `Array' To suppress this warning, use: import Array() src/ProduceCode.lhs:45:33: Warning: Defined but not used: `lookupProd' src/ProduceCode.lhs:46:38: Warning: Defined but not used: `lookupProdNos' src/ProduceCode.lhs:50:32: Warning: Defined but not used: `names' src/ProduceCode.lhs:203:36: Warning: Defined but not used: `action' src/ProduceCode.lhs:209:25: Warning: Defined but not used: `action' src/ProduceCode.lhs:422:10: Warning: Defined but not used: `eofError' src/ProduceCode.lhs:527:30: Warning: Defined but not used: `t' src/ProduceCode.lhs:539:28: Warning: Defined but not used: `t' src/ProduceCode.lhs:662:11: Warning: Defined but not used: `n' src/ProduceCode.lhs:767:26: Warning: Defined but not used: `start_nonterm' src/ProduceCode.lhs:865:2: Warning: Defined but not used: `gotoVal' src/ProduceCode.lhs:873:24: Warning: Defined but not used: `as' src/ProduceCode.lhs:1078:28: Warning: Defined but not used: `fst_zero' src/ProduceCode.lhs:1088:21: Warning: Defined but not used: `s' src/ProduceCode.lhs:1088:26: Warning: Defined but not used: `off' src/ProduceCode.lhs:1102:37: Warning: Defined but not used: `deflt' src/ProduceCode.lhs:1145:7: Warning: Defined but not used: `off' src/ProduceCode.lhs:1145:14: Warning: Defined but not used: `table' src/ProduceCode.lhs:1151:11: Warning: Defined but not used: `off' src/ProduceCode.lhs:1151:15: Warning: Defined but not used: `table' src/ProduceCode.lhs:1151:21: Warning: Defined but not used: `check' src/ProduceCode.lhs:1157:11: Warning: Defined but not used: `t' src/ProduceCode.lhs:1182:13: Warning: Defined but not used: `n' [14 of 19] Compiling NameSet ( src/NameSet.hs, dist/build/happy/happy-tmp/NameSet.o ) [15 of 19] Compiling LALR ( src/LALR.lhs, dist/build/happy/happy-tmp/LALR.o ) src/LALR.lhs:106:51: Warning: Defined but not used: `name' src/LALR.lhs:187:28: Warning: Defined but not used: `old' src/LALR.lhs:237:8: Warning: Pattern match(es) are non-exhaustive In the definition of `numberSets': Patterns not matched: ((_, _) : _) (_, [], _) src/LALR.lhs:349:18: Warning: Defined but not used: `array' src/LALR.lhs:363:17: Warning: Defined but not used: `array' src/LALR.lhs:369:10: Warning: Defined but not used: `array' src/LALR.lhs:370:22: Warning: Defined but not used: `item' src/LALR.lhs:370:27: Warning: Defined but not used: `s' src/LALR.lhs:384:25: Warning: Defined but not used: `m' src/LALR.lhs:498:21: Warning: Defined but not used: `set' src/LALR.lhs:522:24: Warning: Defined but not used: `set' src/LALR.lhs:575:24: Warning: Defined but not used: `x' src/LALR.lhs:576:12: Warning: Defined but not used: `x' src/LALR.lhs:581:12: Warning: Defined but not used: `a' src/LALR.lhs:581:33: Warning: Defined but not used: `b' src/LALR.lhs:585:12: Warning: Defined but not used: `a' src/LALR.lhs:585:33: Warning: Defined but not used: `b' src/LALR.lhs:600:24: Warning: Defined but not used: `s' src/LALR.lhs:600:26: Warning: Defined but not used: `p' src/LALR.lhs:600:42: Warning: Defined but not used: `s'' src/LALR.lhs:600:45: Warning: Defined but not used: `p'' src/LALR.lhs:601:25: Warning: Defined but not used: `s' src/LALR.lhs:601:42: Warning: Defined but not used: `s'' src/LALR.lhs:617:29: Warning: Defined but not used: `c' src/LALR.lhs:636:29: Warning: Defined but not used: `state' src/LALR.lhs:643:40: Warning: Defined but not used: `as' src/LALR.lhs:643:43: Warning: Defined but not used: `a' src/LALR.lhs:643:47: Warning: Defined but not used: `sr' src/LALR.lhs:643:50: Warning: Defined but not used: `rr' [16 of 19] Compiling Info ( src/Info.lhs, dist/build/happy/happy-tmp/Info.o ) src/Info.lhs:39:31: Warning: Defined but not used: `terms' src/Info.lhs:41:30: Warning: Defined but not used: `eof' src/Info.lhs:42:32: Warning: Defined but not used: `fst_term' src/Info.lhs:65:24: Warning: Defined but not used: `state' src/Info.lhs:102:30: Warning: Defined but not used: `sem' src/Info.lhs:102:35: Warning: Defined but not used: `prec' src/Info.lhs:134:27: Warning: Defined but not used: `sem' src/Info.lhs:134:32: Warning: Defined but not used: `prec' src/Info.lhs:137:16: Warning: Defined but not used: `t' src/Info.lhs:145:4: Warning: Pattern match(es) are non-exhaustive In the definition of `showAction'': Patterns not matched: LR'Fail src/Info.lhs:162:14: Warning: Defined but not used: `nt' [18 of 19] Compiling Parser ( dist/build/happy/happy-tmp/Parser.hs, dist/build/happy/happy-tmp/Parser.o ) dist/build/happy/happy-tmp/Parser.hs:19:23: Warning: Defined but not used: data constructor `HappyAbsSyn' dist/build/happy/happy-tmp/Parser.hs:217:0: Warning: Defined but not used: `happy_n_terms' dist/build/happy/happy-tmp/Parser.hs:218:0: Warning: Defined but not used: `happy_n_nonterms' dist/build/happy/happy-tmp/Parser.hs:223:1: Warning: Defined but not used: `happy_x_3' dist/build/happy/happy-tmp/Parser.hs:253:1: Warning: Defined but not used: `happy_x_5' dist/build/happy/happy-tmp/Parser.hs:255:1: Warning: Defined but not used: `happy_x_3' dist/build/happy/happy-tmp/Parser.hs:259:4: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokSpecId_TokenType ... dist/build/happy/happy-tmp/Parser.hs:261:1: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokId ... dist/build/happy/happy-tmp/Parser.hs:269:1: Warning: Defined but not used: `happy_x_6' dist/build/happy/happy-tmp/Parser.hs:270:1: Warning: Defined but not used: `happy_x_5' dist/build/happy/happy-tmp/Parser.hs:272:1: Warning: Defined but not used: `happy_x_3' dist/build/happy/happy-tmp/Parser.hs:276:4: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokSpecId_TokenType ... dist/build/happy/happy-tmp/Parser.hs:278:1: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokId ... dist/build/happy/happy-tmp/Parser.hs:286:1: Warning: Defined but not used: `happy_x_3' dist/build/happy/happy-tmp/Parser.hs:290:4: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokSpecId_TokenType ... dist/build/happy/happy-tmp/Parser.hs:298:17: Warning: Defined but not used: `happy_x_3' dist/build/happy/happy-tmp/Parser.hs:300:1: Warning: Defined but not used: `happy_x_1' dist/build/happy/happy-tmp/Parser.hs:313:5: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokSpecId_TokenType ... dist/build/happy/happy-tmp/Parser.hs:320:1: Warning: Defined but not used: `happy_x_2' dist/build/happy/happy-tmp/Parser.hs:323:1: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokSpecId_TokenType ... dist/build/happy/happy-tmp/Parser.hs:330:1: Warning: Defined but not used: `happy_x_2' dist/build/happy/happy-tmp/Parser.hs:346:19: Warning: Defined but not used: `happy_x_4' dist/build/happy/happy-tmp/Parser.hs:350:1: Warning: Defined but not used: `happyRest' dist/build/happy/happy-tmp/Parser.hs:350:12: Warning: Defined but not used: `tk' dist/build/happy/happy-tmp/Parser.hs:353:1: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokId ... dist/build/happy/happy-tmp/Parser.hs:361:1: Warning: Defined but not used: `happyRest' dist/build/happy/happy-tmp/Parser.hs:361:12: Warning: Defined but not used: `tk' dist/build/happy/happy-tmp/Parser.hs:364:1: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokId ... dist/build/happy/happy-tmp/Parser.hs:370:5: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokSpecId_TokenType ... dist/build/happy/happy-tmp/Parser.hs:376:19: Warning: Defined but not used: `happy_x_4' dist/build/happy/happy-tmp/Parser.hs:378:1: Warning: Defined but not used: `happy_x_2' dist/build/happy/happy-tmp/Parser.hs:381:4: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokSpecId_TokenType ... dist/build/happy/happy-tmp/Parser.hs:424:1: Warning: Defined but not used: `happy_x_2' dist/build/happy/happy-tmp/Parser.hs:434:1: Warning: Defined but not used: `happy_x_1' dist/build/happy/happy-tmp/Parser.hs:435:5: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokSpecId_TokenType ... dist/build/happy/happy-tmp/Parser.hs:463:1: Warning: Defined but not used: `happy_x_1' dist/build/happy/happy-tmp/Parser.hs:464:5: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokId ... dist/build/happy/happy-tmp/Parser.hs:471:1: Warning: Defined but not used: `happy_x_1' dist/build/happy/happy-tmp/Parser.hs:480:1: Warning: Defined but not used: `happy_x_1' dist/build/happy/happy-tmp/Parser.hs:481:5: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokSpecId_TokenType ... dist/build/happy/happy-tmp/Parser.hs:490:1: Warning: Defined but not used: `happy_x_1' dist/build/happy/happy-tmp/Parser.hs:491:5: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokSpecId_TokenType ... dist/build/happy/happy-tmp/Parser.hs:498:18: Warning: Defined but not used: `happy_x_1' dist/build/happy/happy-tmp/Parser.hs:506:1: Warning: Defined but not used: `happy_x_1' dist/build/happy/happy-tmp/Parser.hs:507:5: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokId ... dist/build/happy/happy-tmp/Parser.hs:508:1: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokId ... dist/build/happy/happy-tmp/Parser.hs:515:1: Warning: Defined but not used: `happy_x_1' dist/build/happy/happy-tmp/Parser.hs:516:5: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokId ... dist/build/happy/happy-tmp/Parser.hs:524:1: Warning: Defined but not used: `happy_x_1' dist/build/happy/happy-tmp/Parser.hs:525:5: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokId ... dist/build/happy/happy-tmp/Parser.hs:526:1: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokId ... dist/build/happy/happy-tmp/Parser.hs:535:1: Warning: Defined but not used: `happy_x_1' dist/build/happy/happy-tmp/Parser.hs:537:4: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokId ... dist/build/happy/happy-tmp/Parser.hs:538:1: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokId ... dist/build/happy/happy-tmp/Parser.hs:539:1: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokId ... dist/build/happy/happy-tmp/Parser.hs:549:1: Warning: Defined but not used: `happy_x_1' dist/build/happy/happy-tmp/Parser.hs:551:4: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokId ... dist/build/happy/happy-tmp/Parser.hs:552:1: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokId ... dist/build/happy/happy-tmp/Parser.hs:553:1: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokId ... dist/build/happy/happy-tmp/Parser.hs:554:1: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokId ... dist/build/happy/happy-tmp/Parser.hs:561:1: Warning: Defined but not used: `happy_x_1' dist/build/happy/happy-tmp/Parser.hs:569:1: Warning: Defined but not used: `happy_x_1' dist/build/happy/happy-tmp/Parser.hs:577:1: Warning: Defined but not used: `happy_x_1' dist/build/happy/happy-tmp/Parser.hs:585:1: Warning: Defined but not used: `happy_x_1' dist/build/happy/happy-tmp/Parser.hs:586:5: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenInfo _ _ TokenNum _ TokId ... dist/build/happy/happy-tmp/Parser.hs:593:1: Warning: Defined but not used: `happy_x_1' dist/build/happy/happy-tmp/Parser.hs:594:5: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokId ... dist/build/happy/happy-tmp/Parser.hs:601:1: Warning: Defined but not used: `happy_x_1' dist/build/happy/happy-tmp/Parser.hs:602:5: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokId ... dist/build/happy/happy-tmp/Parser.hs:610:1: Warning: Defined but not used: `happy_x_1' dist/build/happy/happy-tmp/Parser.hs:611:5: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokSpecId_TokenType ... dist/build/happy/happy-tmp/Parser.hs:612:1: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokId ... dist/build/happy/happy-tmp/Parser.hs:619:5: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokSpecId_TokenType ... dist/build/happy/happy-tmp/Parser.hs:648:5: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokSpecId_TokenType ... dist/build/happy/happy-tmp/Parser.hs:649:1: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokId ... dist/build/happy/happy-tmp/Parser.hs:657:5: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokSpecId_TokenType ... dist/build/happy/happy-tmp/Parser.hs:670:5: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: TokenEOF TokenKW _ TokenNum _ _ TokenInfo _ TokId ... dist/build/happy/happy-tmp/Parser.hs:685:11: Warning: Defined but not used: `happy_dollar_dollar' dist/build/happy/happy-tmp/Parser.hs:701:11: Warning: Defined but not used: `happy_dollar_dollar' dist/build/happy/happy-tmp/Parser.hs:702:10: Warning: Defined but not used: `happy_dollar_dollar' dist/build/happy/happy-tmp/Parser.hs:724:19: Warning: Defined but not used: `token' templates/GenericTemplate.hs:83:15: Warning: Defined but not used: `tk' templates/GenericTemplate.hs:83:18: Warning: Defined but not used: `st' templates/GenericTemplate.hs:83:21: Warning: Defined but not used: `sts' templates/GenericTemplate.hs:85:14: Warning: Defined but not used: `tk' templates/GenericTemplate.hs:85:20: Warning: Defined but not used: `sts' templates/GenericTemplate.hs:179:21: Warning: Defined but not used: `i' templates/GenericTemplate.hs:184:18: Warning: Defined but not used: `i' templates/GenericTemplate.hs:184:20: Warning: Defined but not used: `fn' templates/GenericTemplate.hs:186:34: Warning: Defined but not used: `action' templates/GenericTemplate.hs:189:18: Warning: Defined but not used: `i' templates/GenericTemplate.hs:189:20: Warning: Defined but not used: `fn' templates/GenericTemplate.hs:191:52: Warning: Defined but not used: `action' templates/GenericTemplate.hs:195:18: Warning: Defined but not used: `i' templates/GenericTemplate.hs:195:20: Warning: Defined but not used: `fn' templates/GenericTemplate.hs:197:68: Warning: Defined but not used: `action' templates/GenericTemplate.hs:201:18: Warning: Defined but not used: `i' templates/GenericTemplate.hs:201:20: Warning: Defined but not used: `fn' templates/GenericTemplate.hs:203:84: Warning: Defined but not used: `action' templates/GenericTemplate.hs:207:12: Warning: Defined but not used: `k' templates/GenericTemplate.hs:207:14: Warning: Defined but not used: `i' templates/GenericTemplate.hs:207:16: Warning: Defined but not used: `fn' templates/GenericTemplate.hs:209:25: Warning: Defined but not used: `st' templates/GenericTemplate.hs:211:25: Warning: Defined but not used: `action' templates/GenericTemplate.hs:215:17: Warning: Defined but not used: `k' templates/GenericTemplate.hs:215:19: Warning: Defined but not used: `nt' templates/GenericTemplate.hs:215:22: Warning: Defined but not used: `fn' templates/GenericTemplate.hs:219:36: Warning: Defined but not used: `action' templates/GenericTemplate.hs:222:0: Warning: Defined but not used: `happyMonad2Reduce' templates/GenericTemplate.hs:222:18: Warning: Defined but not used: `k' templates/GenericTemplate.hs:222:20: Warning: Defined but not used: `nt' templates/GenericTemplate.hs:222:23: Warning: Defined but not used: `fn' templates/GenericTemplate.hs:224:26: Warning: Defined but not used: `j' templates/GenericTemplate.hs:226:36: Warning: Defined but not used: `action' templates/GenericTemplate.hs:240:16: Warning: Defined but not used: `x' templates/GenericTemplate.hs:260:17: Warning: Defined but not used: `old_st' templates/GenericTemplate.hs:260:26: Warning: Defined but not used: `stk' templates/GenericTemplate.hs:290:12: Warning: Defined but not used: `x' templates/GenericTemplate.hs:302:13: Warning: Defined but not used: `a' [19 of 19] Compiling Main ( src/Main.lhs, dist/build/happy/happy-tmp/Main.o ) src/Main.lhs:92:13: _scc_ is deprecated; use an SCC pragma instead src/Main.lhs:103:26: _scc_ is deprecated; use an SCC pragma instead src/Main.lhs:104:26: _scc_ is deprecated; use an SCC pragma instead src/Main.lhs:105:26: _scc_ is deprecated; use an SCC pragma instead src/Main.lhs:106:34: _scc_ is deprecated; use an SCC pragma instead src/Main.lhs:107:26: _scc_ is deprecated; use an SCC pragma instead src/Main.lhs:108:26: _scc_ is deprecated; use an SCC pragma instead src/Main.lhs:109:26: _scc_ is deprecated; use an SCC pragma instead src/Main.lhs:110:26: _scc_ is deprecated; use an SCC pragma instead src/Main.lhs:111:40: _scc_ is deprecated; use an SCC pragma instead src/Main.lhs:39:2: Failed to load interface for `GHC.Prim': it is a member of the hidden package `ghc-prim' Use -v to see a list of the files searched for.