Resolving dependencies... Build profile: -w ghc-9.2.4 -O0 In order, the following will be built (use -v for more details): - happy-1.20.1 (first run) Configuring happy-1.20.1... Preprocessing executable 'happy' for happy-1.20.1.. Building executable 'happy' for happy-1.20.1.. [ 1 of 19] Compiling AbsSyn ( src/AbsSyn.lhs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/happy-1.20.1/noopt/build/happy/happy-tmp/AbsSyn.o ) [ 2 of 19] Compiling GenUtils ( src/GenUtils.lhs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/happy-1.20.1/noopt/build/happy/happy-tmp/GenUtils.o ) [ 3 of 19] Compiling NameSet ( src/NameSet.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/happy-1.20.1/noopt/build/happy/happy-tmp/NameSet.o ) [ 4 of 19] Compiling ParamRules ( src/ParamRules.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/happy-1.20.1/noopt/build/happy/happy-tmp/ParamRules.o ) [ 5 of 19] Compiling ParseMonad ( src/ParseMonad.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/happy-1.20.1/noopt/build/happy/happy-tmp/ParseMonad.o ) [ 6 of 19] Compiling Lexer ( src/Lexer.lhs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/happy-1.20.1/noopt/build/happy/happy-tmp/Lexer.o ) [ 7 of 19] Compiling AttrGrammar ( src/AttrGrammar.lhs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/happy-1.20.1/noopt/build/happy/happy-tmp/AttrGrammar.o ) [ 8 of 19] Compiling AttrGrammarParser ( /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/happy-1.20.1/noopt/build/happy/happy-tmp/AttrGrammarParser.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/happy-1.20.1/noopt/build/happy/happy-tmp/AttrGrammarParser.o ) [ 9 of 19] Compiling Grammar ( src/Grammar.lhs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/happy-1.20.1/noopt/build/happy/happy-tmp/Grammar.o ) src/Grammar.lhs:503:33: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type AgRule not matched: SelfAssign _ _ RightmostAssign _ _ Conditional _ | 503 | > map (\(SubAssign (i,ident) toks) -> (i,(ident,toks))) $ subRules | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [10 of 19] Compiling LALR ( src/LALR.lhs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/happy-1.20.1/noopt/build/happy/happy-tmp/LALR.o ) src/LALR.lhs:261:9: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type (Int, [[(Name, Int)]], [Set Lr0Item]) not matched: (_, [], []) (_, [], (_:_)) (_, [(_:_)], []) (_, [(_:_)], (_:_)) ... | 261 | > (_, ([]:intgotos), newNewSets) = | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... src/LALR.lhs:409:12: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type [((Int, Lr0Item), NameSet.IntSet)] not matched: [] | 409 | > map (\cs@(((a,b),_):_) -> (a,b,NameSet.unions $ map snd cs)) . | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [11 of 19] Compiling First ( src/First.lhs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/happy-1.20.1/noopt/build/happy/happy-tmp/First.o ) [12 of 19] Compiling Parser ( /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/happy-1.20.1/noopt/build/happy/happy-tmp/Parser.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/happy-1.20.1/noopt/build/happy/happy-tmp/Parser.o ) [13 of 19] Compiling Paths_happy ( /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/happy-1.20.1/noopt/build/happy/autogen/Paths_happy.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/happy-1.20.1/noopt/build/happy/happy-tmp/Paths_happy.o ) [14 of 19] Compiling Info ( src/Info.lhs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/happy-1.20.1/noopt/build/happy/happy-tmp/Info.o ) [15 of 19] Compiling PrettyGrammar ( src/PrettyGrammar.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/happy-1.20.1/noopt/build/happy/happy-tmp/PrettyGrammar.o ) [16 of 19] Compiling ProduceGLRCode ( src/ProduceGLRCode.lhs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/happy-1.20.1/noopt/build/happy/happy-tmp/ProduceGLRCode.o ) src/ProduceGLRCode.lhs:224:12: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ([String], [String]) not matched: ([], []) ((_:_), []) | 224 | > = let (pre,_drop_me : post) = break (== "fakeimport DATA") $ lines lib_text | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [17 of 19] Compiling Target ( src/Target.lhs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/happy-1.20.1/noopt/build/happy/happy-tmp/Target.o ) [18 of 19] Compiling ProduceCode ( src/ProduceCode.lhs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/happy-1.20.1/noopt/build/happy/happy-tmp/ProduceCode.o ) src/ProduceCode.lhs:1162:24: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type [(Int, LRAction)] not matched: [] [(_, _)] | 1162 | > let (err:_dummy:vec) = assocs acts | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [19 of 19] Compiling Main ( src/Main.lhs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/happy-1.20.1/noopt/build/happy/happy-tmp/Main.o ) Linking /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/happy-1.20.1/noopt/build/happy/happy ... Preprocessing test suite 'tests' for happy-1.20.1.. Building test suite 'tests' for happy-1.20.1.. [1 of 1] Compiling Main ( test.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/happy-1.20.1/noopt/build/tests/tests-tmp/Main.o ) Linking /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/happy-1.20.1/noopt/build/tests/tests ... Running 1 test suites... Test suite tests: RUNNING... Test suite tests: FAIL Test suite logged to: /home/builder/builder-dir/build-cache/tmp-install/reports/happy-1.20.1.test Error: cabal-3.8.1.0: Test coverage is only supported for packages with a library component. Error: cabal: Tests failed for happy-1.20.1.