Build #1 for happy-lib-2.1.6

[all reports]

Package happy-lib-2.1.6
Install InstallOk
Docs Ok
Tests NotTried
Time submitted 2025-07-17 09:19:50.346065758 UTC
Compiler ghc-9.8.4
OS linux
Arch x86_64
Dependencies array-0.5.8.0, base-4.19.2.0, containers-0.6.8, mtl-2.3.1, transformers-0.6.1.0, array-0.5.8.0, base-4.19.2.0, array-0.5.8.0, base-4.19.2.0, array-0.5.8.0, base-4.19.2.0, containers-0.6.8, mtl-2.3.1, transformers-0.6.1.0, array-0.5.8.0, base-4.19.2.0, array-0.5.8.0, base-4.19.2.0, containers-0.6.8
Flags none

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Downloading  happy-lib-2.1.6
Downloaded   happy-lib-2.1.6
Configuring happy-lib-2.1.6...
Preprocessing library 'grammar' for happy-lib-2.1.6..
Building library 'grammar' for happy-lib-2.1.6..
[1 of 2] Compiling Happy.Grammar.ExpressionWithHole ( grammar/src/Happy/Grammar/ExpressionWithHole.hs, dist/build/grammar/Happy/Grammar/ExpressionWithHole.o, dist/build/grammar/Happy/Grammar/ExpressionWithHole.dyn_o )
[2 of 2] Compiling Happy.Grammar    ( grammar/src/Happy/Grammar.lhs, dist/build/grammar/Happy/Grammar.o, dist/build/grammar/Happy/Grammar.dyn_o )
Preprocessing library 'tabular' for happy-lib-2.1.6..
Building library 'tabular' for happy-lib-2.1.6..
[1 of 6] Compiling Happy.Tabular.NameSet ( tabular/src/Happy/Tabular/NameSet.hs, dist/build/tabular/Happy/Tabular/NameSet.o, dist/build/tabular/Happy/Tabular/NameSet.dyn_o )
[2 of 6] Compiling Happy.Tabular.First ( tabular/src/Happy/Tabular/First.lhs, dist/build/tabular/Happy/Tabular/First.o, dist/build/tabular/Happy/Tabular/First.dyn_o )
[3 of 6] Compiling Happy.Tabular.LALR ( tabular/src/Happy/Tabular/LALR.lhs, dist/build/tabular/Happy/Tabular/LALR.o, dist/build/tabular/Happy/Tabular/LALR.dyn_o )

tabular/src/Happy/Tabular/LALR.lhs:517:21: warning: [GHC-63394] [-Wx-partial]
    In the use of head
    (imported from Prelude, but defined in GHC.List):
    "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
    |
517 | >       term_lim = (head terms,last terms)
    |                     ^^^^
[4 of 6] Compiling Happy.Tabular.Info ( tabular/src/Happy/Tabular/Info.lhs, dist/build/tabular/Happy/Tabular/Info.o, dist/build/tabular/Happy/Tabular/Info.dyn_o )
[5 of 6] Compiling Happy.Tabular    ( tabular/src/Happy/Tabular.lhs, dist/build/tabular/Happy/Tabular.o, dist/build/tabular/Happy/Tabular.dyn_o )
[6 of 6] Compiling Paths_happy_lib  ( dist/build/tabular/autogen/Paths_happy_lib.hs, dist/build/tabular/Paths_happy_lib.o, dist/build/tabular/Paths_happy_lib.dyn_o )
Preprocessing library 'frontend' for happy-lib-2.1.6..
Building library 'frontend' for happy-lib-2.1.6..
[ 1 of 13] Compiling Happy.Frontend.AbsSyn ( frontend/src/Happy/Frontend/AbsSyn.lhs, dist/build/frontend/Happy/Frontend/AbsSyn.o, dist/build/frontend/Happy/Frontend/AbsSyn.dyn_o )
[ 2 of 13] Compiling Happy.Frontend.Mangler.Monad ( frontend/src/Happy/Frontend/Mangler/Monad.lhs, dist/build/frontend/Happy/Frontend/Mangler/Monad.o, dist/build/frontend/Happy/Frontend/Mangler/Monad.dyn_o )
[ 3 of 13] Compiling Happy.Frontend.ParamRules ( frontend/src/Happy/Frontend/ParamRules.hs, dist/build/frontend/Happy/Frontend/ParamRules.o, dist/build/frontend/Happy/Frontend/ParamRules.dyn_o )
[ 4 of 13] Compiling Happy.Frontend.ParseMonad.Class ( frontend/src/Happy/Frontend/ParseMonad/Class.hs, dist/build/frontend/Happy/Frontend/ParseMonad/Class.o, dist/build/frontend/Happy/Frontend/ParseMonad/Class.dyn_o )
[ 5 of 13] Compiling Happy.Frontend.ParseMonad ( frontend/src/Happy/Frontend/ParseMonad.hs, dist/build/frontend/Happy/Frontend/ParseMonad.o, dist/build/frontend/Happy/Frontend/ParseMonad.dyn_o )
[ 6 of 13] Compiling Happy.Frontend.Lexer ( frontend/src/Happy/Frontend/Lexer.lhs, dist/build/frontend/Happy/Frontend/Lexer.o, dist/build/frontend/Happy/Frontend/Lexer.dyn_o )
[ 7 of 13] Compiling Happy.Frontend.AttrGrammar ( frontend/src/Happy/Frontend/AttrGrammar.lhs, dist/build/frontend/Happy/Frontend/AttrGrammar.o, dist/build/frontend/Happy/Frontend/AttrGrammar.dyn_o )
[ 8 of 13] Compiling Happy.Frontend.AttrGrammar.Parser ( frontend/src/Happy/Frontend/AttrGrammar/Parser.hs, dist/build/frontend/Happy/Frontend/AttrGrammar/Parser.o, dist/build/frontend/Happy/Frontend/AttrGrammar/Parser.dyn_o )
[ 9 of 13] Compiling Happy.Frontend.AttrGrammar.Mangler ( frontend/src/Happy/Frontend/AttrGrammar/Mangler.lhs, dist/build/frontend/Happy/Frontend/AttrGrammar/Mangler.o, dist/build/frontend/Happy/Frontend/AttrGrammar/Mangler.dyn_o )

frontend/src/Happy/Frontend/AttrGrammar/Mangler.lhs:42:32: warning: [GHC-63394] [-Wx-partial]
    In the use of head
    (imported from Prelude, but defined in GHC.List):
    "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
   |
42 | >                defaultAttr = head attrNames
   |                                ^^^^

frontend/src/Happy/Frontend/AttrGrammar/Mangler.lhs:106:54: warning: [GHC-63394] [-Wx-partial]
    In the use of head
    (imported from Prelude, but defined in GHC.List):
    "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
    |
106 | >                                             (fst $ head l,[snd $ head l])
    |                                                      ^^^^

frontend/src/Happy/Frontend/AttrGrammar/Mangler.lhs:106:68: warning: [GHC-63394] [-Wx-partial]
    In the use of head
    (imported from Prelude, but defined in GHC.List):
    "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
    |
106 | >                                             (fst $ head l,[snd $ head l])
    |                                                                    ^^^^

frontend/src/Happy/Frontend/AttrGrammar/Mangler.lhs:107:48: warning: [GHC-63394] [-Wx-partial]
    In the use of tail
    (imported from Prelude, but defined in GHC.List):
    "This is a partial function, it throws an error on empty lists. Replace it with drop 1, or use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
    |
107 | >                                             (tail l) ) .
    |                                                ^^^^
[10 of 13] Compiling Happy.Frontend.Mangler ( frontend/src/Happy/Frontend/Mangler.lhs, dist/build/frontend/Happy/Frontend/Mangler.o, dist/build/frontend/Happy/Frontend/Mangler.dyn_o )
[11 of 13] Compiling Happy.Frontend.Parser ( frontend/src/Happy/Frontend/Parser.hs, dist/build/frontend/Happy/Frontend/Parser.o, dist/build/frontend/Happy/Frontend/Parser.dyn_o )
[12 of 13] Compiling Happy.Frontend   ( frontend/src/Happy/Frontend.hs, dist/build/frontend/Happy/Frontend.o, dist/build/frontend/Happy/Frontend.dyn_o )
[13 of 13] Compiling Happy.Frontend.PrettyGrammar ( frontend/src/Happy/Frontend/PrettyGrammar.hs, dist/build/frontend/Happy/Frontend/PrettyGrammar.o, dist/build/frontend/Happy/Frontend/PrettyGrammar.dyn_o )
Preprocessing library 'backend-lalr' for happy-lib-2.1.6..
Building library 'backend-lalr' for happy-lib-2.1.6..
[1 of 2] Compiling Happy.Backend.LALR ( backend-lalr/src/Happy/Backend/LALR.hs, dist/build/backend-lalr/Happy/Backend/LALR.o, dist/build/backend-lalr/Happy/Backend/LALR.dyn_o )

backend-lalr/src/Happy/Backend/LALR.hs:14:29: warning: [GHC-63394] [-Wx-partial]
    In the use of head
    (imported from Prelude, but defined in GHC.List):
    "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
   |
14 |         big_name = toUpper (head name') : tail name'
   |                             ^^^^

backend-lalr/src/Happy/Backend/LALR.hs:14:43: warning: [GHC-63394] [-Wx-partial]
    In the use of tail
    (imported from Prelude, but defined in GHC.List):
    "This is a partial function, it throws an error on empty lists. Replace it with drop 1, or use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
   |
14 |         big_name = toUpper (head name') : tail name'
   |                                           ^^^^
[2 of 2] Compiling Happy.Backend.LALR.ProduceCode ( backend-lalr/src/Happy/Backend/LALR/ProduceCode.lhs, dist/build/backend-lalr/Happy/Backend/LALR/ProduceCode.o, dist/build/backend-lalr/Happy/Backend/LALR/ProduceCode.dyn_o )

backend-lalr/src/Happy/Backend/LALR/ProduceCode.lhs:779:28: warning: [GHC-63394] [-Wx-partial]
    In the use of head
    (imported from Prelude, but defined in GHC.List):
    "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
    |
779 | >       defaultAttr = fst (head $ attributes ag)
    |                            ^^^^

backend-lalr/src/Happy/Backend/LALR/ProduceCode.lhs:973:56: warning: [GHC-63394] [-Wx-partial]
    In the use of head
    (imported from Prelude, but defined in GHC.List):
    "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
    |
973 | >                        else fst (last acts'') - fst (head acts''),
    |                                                        ^^^^

backend-lalr/src/Happy/Backend/LALR/ProduceCode.lhs:1007:59: warning: [GHC-63394] [-Wx-partial]
    In the use of head
    (imported from Prelude, but defined in GHC.List):
    "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
     |
1007 | >                        else fst (last goto_vals) - fst (head goto_vals),
     |                                                           ^^^^
Preprocessing library 'backend-glr' for happy-lib-2.1.6..
Building library 'backend-glr' for happy-lib-2.1.6..
[1 of 2] Compiling Happy.Backend.GLR ( backend-glr/src/Happy/Backend/GLR.hs, dist/build/backend-glr/Happy/Backend/GLR.o, dist/build/backend-glr/Happy/Backend/GLR.dyn_o )
[2 of 2] Compiling Happy.Backend.GLR.ProduceCode ( backend-glr/src/Happy/Backend/GLR/ProduceCode.lhs, dist/build/backend-glr/Happy/Backend/GLR/ProduceCode.o, dist/build/backend-glr/Happy/Backend/GLR/ProduceCode.dyn_o )

backend-glr/src/Happy/Backend/GLR/ProduceCode.lhs:227:51: warning: [GHC-63394] [-Wx-partial]
    In the use of head
    (imported from Prelude, but defined in GHC.List):
    "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
    |
227 | >   start_prod = token_names g ! (let (_,_,i,_) = head $ starts g in i)
    |                                                   ^^^^

backend-glr/src/Happy/Backend/GLR/ProduceCode.lhs:332:26: warning: [GHC-63394] [-Wx-partial]
    In the use of tail
    (imported from Prelude, but defined in GHC.List):
    "This is a partial function, it throws an error on empty lists. Replace it with drop 1, or use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
    |
332 | >     mkReds rs = "[" ++ tail (concat [ "," ++ mkRed r | LR'Reduce r _ <- rs ]) ++ "]"
    |                          ^^^^
Preprocessing library for happy-lib-2.1.6..
Building library for happy-lib-2.1.6..
Preprocessing library 'grammar' for happy-lib-2.1.6..
Running Haddock on library 'grammar' for happy-lib-2.1.6..
Warning: --source-* options are ignored when --hyperlinked-source is enabled.
[1 of 2] Compiling Happy.Grammar.ExpressionWithHole ( grammar/src/Happy/Grammar/ExpressionWithHole.hs, nothing )
[2 of 2] Compiling Happy.Grammar    ( grammar/src/Happy/Grammar.lhs, nothing )
Haddock coverage:
  33% (  1 /  3) in 'Happy.Grammar.ExpressionWithHole'
  Missing documentation for:
    Module header
    substExpressionWithHole (grammar/src/Happy/Grammar/ExpressionWithHole.hs:13)
Warning: 'Grammar' is ambiguous. It is defined
    * at grammar/src/Happy/Grammar.lhs:46:11
    * at grammar/src/Happy/Grammar.lhs:45:3
    You may be able to disambiguate the identifier by qualifying it or
    by specifying the type/value namespace explicitly.
    Defaulting to the one defined at grammar/src/Happy/Grammar.lhs:45:3
Warning: 'happyError' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'report' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'abort' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
   9% (  2 / 21) in 'Happy.Grammar'
  Missing documentation for:
    Name (grammar/src/Happy/Grammar.lhs:138)
    Production (grammar/src/Happy/Grammar.lhs:31)
    TokenSpec (grammar/src/Happy/Grammar.lhs:35)
    Grammar (grammar/src/Happy/Grammar.lhs:45)
    AttributeGrammarExtras (grammar/src/Happy/Grammar.lhs:62)
    Priority (grammar/src/Happy/Grammar.lhs:96)
    Assoc (grammar/src/Happy/Grammar.lhs:93)
    ErrorHandlerInfo (grammar/src/Happy/Grammar.lhs:104)
    ErrorExpectedMode (grammar/src/Happy/Grammar.lhs:115)
    errorName (grammar/src/Happy/Grammar.lhs:174)
    errorTok (grammar/src/Happy/Grammar.lhs:186)
    catchName (grammar/src/Happy/Grammar.lhs:175)
    catchTok (grammar/src/Happy/Grammar.lhs:185)
    startName (grammar/src/Happy/Grammar.lhs:172)
    dummyName (grammar/src/Happy/Grammar.lhs:176)
    firstStartTok (grammar/src/Happy/Grammar.lhs:183)
    dummyTok (grammar/src/Happy/Grammar.lhs:184)
    eofName (grammar/src/Happy/Grammar.lhs:173)
    epsilonTok (grammar/src/Happy/Grammar.lhs:187)
Documentation created: dist/doc/html/happy-lib/,
dist/doc/html/happy-lib/happy-lib.txt
Preprocessing library 'tabular' for happy-lib-2.1.6..
Running Haddock on library 'tabular' for happy-lib-2.1.6..
Warning: --source-* options are ignored when --hyperlinked-source is enabled.
[1 of 6] Compiling Happy.Tabular.NameSet ( tabular/src/Happy/Tabular/NameSet.hs, nothing )
[2 of 6] Compiling Happy.Tabular.First ( tabular/src/Happy/Tabular/First.lhs, nothing )
[3 of 6] Compiling Happy.Tabular.LALR ( tabular/src/Happy/Tabular/LALR.lhs, nothing )

tabular/src/Happy/Tabular/LALR.lhs:517:21: warning: [GHC-63394] [-Wx-partial]
    In the use of head
    (imported from Prelude, but defined in GHC.List):
    "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
    |
517 | >       term_lim = (head terms,last terms)
    |                     ^^^^
[4 of 6] Compiling Happy.Tabular.Info ( tabular/src/Happy/Tabular/Info.lhs, nothing )
[5 of 6] Compiling Happy.Tabular    ( tabular/src/Happy/Tabular.lhs, nothing )
[6 of 6] Compiling Paths_happy_lib  ( dist/build/tabular/autogen/Paths_happy_lib.hs, nothing )
Warning: Cannot find reexported module 'happy-lib-2.1.6-6vdUOduG8DyF7XHKsubmyS-tabular:Paths_happy_lib'
Haddock coverage:
  36% (  8 / 22) in 'Happy.Tabular.NameSet'
  Missing documentation for:
    Module header
    NameSet (tabular/src/Happy/Tabular/NameSet.hs:35)
    empty (tabular/src/Happy/Tabular/NameSet.hs:41)
    singleton (tabular/src/Happy/Tabular/NameSet.hs:44)
    fromList (tabular/src/Happy/Tabular/NameSet.hs:47)
    delete (tabular/src/Happy/Tabular/NameSet.hs:52)
    member (tabular/src/Happy/Tabular/NameSet.hs:57)
    null (tabular/src/Happy/Tabular/NameSet.hs:60)
    union (tabular/src/Happy/Tabular/NameSet.hs:65)
    unions (tabular/src/Happy/Tabular/NameSet.hs:68)
    difference (tabular/src/Happy/Tabular/NameSet.hs:71)
    \\ (tabular/src/Happy/Tabular/NameSet.hs:74)
    foldr (tabular/src/Happy/Tabular/NameSet.hs:79)
    toAscList (tabular/src/Happy/Tabular/NameSet.hs:84)
   0% (  0 /  3) in 'Happy.Tabular.First'
  Missing documentation for:
    Module header
    mkFirst (tabular/src/Happy/Tabular/First.lhs:35)
    mkClosure (tabular/src/Happy/Tabular/First.lhs:30)
   0% (  0 / 17) in 'Happy.Tabular.LALR'
  Missing documentation for:
    Module header
    genActionTable (tabular/src/Happy/Tabular/LALR.lhs:507)
    genGotoTable (tabular/src/Happy/Tabular/LALR.lhs:487)
    genLR0items (tabular/src/Happy/Tabular/LALR.lhs:232)
    precalcClosure0 (tabular/src/Happy/Tabular/LALR.lhs:101)
    propLookaheads (tabular/src/Happy/Tabular/LALR.lhs:318)
    calcLookaheads (tabular/src/Happy/Tabular/LALR.lhs:385)
    mergeLookaheadInfo (tabular/src/Happy/Tabular/LALR.lhs:461)
    countConflicts (tabular/src/Happy/Tabular/LALR.lhs:633)
    Lr0Item (tabular/src/Happy/Tabular/LALR.lhs:45)
    Lr1Item (tabular/src/Happy/Tabular/LALR.lhs:48)
    ItemSetWithGotos (tabular/src/Happy/Tabular/LALR.lhs:53)
    LRAction (tabular/src/Happy/Tabular/LALR.lhs:55)
    Lr1State (tabular/src/Happy/Tabular/LALR.lhs:452)
    ActionTable (tabular/src/Happy/Tabular/LALR.lhs:63)
    GotoTable (tabular/src/Happy/Tabular/LALR.lhs:64)
    Goto (tabular/src/Happy/Tabular/LALR.lhs:65)
   0% (  0 /  2) in 'Happy.Tabular.Info'
  Missing documentation for:
    Module header
    genInfoFile (tabular/src/Happy/Tabular/Info.lhs:33)
   0% (  0 /  6) in 'Happy.Tabular'
  Missing documentation for:
    Module header
    Tables (tabular/src/Happy/Tabular.lhs:17)
    genTables (tabular/src/Happy/Tabular.lhs:34)
    SelectReductions (tabular/src/Happy/Tabular.lhs:81)
    select_all_reductions (tabular/src/Happy/Tabular.lhs:84)
    select_first_reduction (tabular/src/Happy/Tabular.lhs:90)
   0% (  0 /  9) in 'Paths_happy_lib'
  Missing documentation for:
    Module header
    version (dist/build/tabular/autogen/Paths_happy_lib.hs:36)
    getBinDir (dist/build/tabular/autogen/Paths_happy_lib.hs:56)
    getLibDir (dist/build/tabular/autogen/Paths_happy_lib.hs:57)
    getDynLibDir (dist/build/tabular/autogen/Paths_happy_lib.hs:58)
    getDataDir (dist/build/tabular/autogen/Paths_happy_lib.hs:59)
    getLibexecDir (dist/build/tabular/autogen/Paths_happy_lib.hs:60)
    getDataFileName (dist/build/tabular/autogen/Paths_happy_lib.hs:39)
    getSysconfDir (dist/build/tabular/autogen/Paths_happy_lib.hs:61)
Warning: Happy.Tabular.LALR: could not find link destinations for: 
	- Happy.Tabular.LALR.RuleList
Documentation created: dist/doc/html/happy-lib/,
dist/doc/html/happy-lib/happy-lib.txt
Preprocessing library 'frontend' for happy-lib-2.1.6..
Running Haddock on library 'frontend' for happy-lib-2.1.6..
Warning: --source-* options are ignored when --hyperlinked-source is enabled.
[ 1 of 13] Compiling Happy.Frontend.AbsSyn ( frontend/src/Happy/Frontend/AbsSyn.lhs, nothing )
[ 2 of 13] Compiling Happy.Frontend.Mangler.Monad ( frontend/src/Happy/Frontend/Mangler/Monad.lhs, nothing )
[ 3 of 13] Compiling Happy.Frontend.ParamRules ( frontend/src/Happy/Frontend/ParamRules.hs, nothing )
[ 4 of 13] Compiling Happy.Frontend.ParseMonad.Class ( frontend/src/Happy/Frontend/ParseMonad/Class.hs, nothing )
[ 5 of 13] Compiling Happy.Frontend.ParseMonad ( frontend/src/Happy/Frontend/ParseMonad.hs, nothing )
[ 6 of 13] Compiling Happy.Frontend.Lexer ( frontend/src/Happy/Frontend/Lexer.lhs, nothing )
[ 7 of 13] Compiling Happy.Frontend.AttrGrammar ( frontend/src/Happy/Frontend/AttrGrammar.lhs, nothing )
[ 8 of 13] Compiling Happy.Frontend.AttrGrammar.Parser ( frontend/src/Happy/Frontend/AttrGrammar/Parser.hs, nothing )
[ 9 of 13] Compiling Happy.Frontend.AttrGrammar.Mangler ( frontend/src/Happy/Frontend/AttrGrammar/Mangler.lhs, nothing )

frontend/src/Happy/Frontend/AttrGrammar/Mangler.lhs:42:32: warning: [GHC-63394] [-Wx-partial]
    In the use of head
    (imported from Prelude, but defined in GHC.List):
    "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
   |
42 | >                defaultAttr = head attrNames
   |                                ^^^^

frontend/src/Happy/Frontend/AttrGrammar/Mangler.lhs:106:54: warning: [GHC-63394] [-Wx-partial]
    In the use of head
    (imported from Prelude, but defined in GHC.List):
    "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
    |
106 | >                                             (fst $ head l,[snd $ head l])
    |                                                      ^^^^

frontend/src/Happy/Frontend/AttrGrammar/Mangler.lhs:106:68: warning: [GHC-63394] [-Wx-partial]
    In the use of head
    (imported from Prelude, but defined in GHC.List):
    "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
    |
106 | >                                             (fst $ head l,[snd $ head l])
    |                                                                    ^^^^

frontend/src/Happy/Frontend/AttrGrammar/Mangler.lhs:107:48: warning: [GHC-63394] [-Wx-partial]
    In the use of tail
    (imported from Prelude, but defined in GHC.List):
    "This is a partial function, it throws an error on empty lists. Replace it with drop 1, or use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
    |
107 | >                                             (tail l) ) .
    |                                                ^^^^
[10 of 13] Compiling Happy.Frontend.Mangler ( frontend/src/Happy/Frontend/Mangler.lhs, nothing )
[11 of 13] Compiling Happy.Frontend.Parser ( frontend/src/Happy/Frontend/Parser.hs, nothing )
[12 of 13] Compiling Happy.Frontend   ( frontend/src/Happy/Frontend.hs, nothing )
[13 of 13] Compiling Happy.Frontend.PrettyGrammar ( frontend/src/Happy/Frontend/PrettyGrammar.hs, nothing )
Haddock coverage:
Warning: '$$' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: Happy.Frontend.AbsSyn: Couldn't find .haddock for export ErrorHandlerInfo
Warning: Happy.Frontend.AbsSyn: Couldn't find .haddock for export TokenSpec
   4% (  1 / 25) in 'Happy.Frontend.AbsSyn'
  Missing documentation for:
    Module header
    BookendedAbsSyn (frontend/src/Happy/Frontend/AbsSyn.lhs:25)
    AbsSyn (frontend/src/Happy/Frontend/AbsSyn.lhs:31)
    Directive (frontend/src/Happy/Frontend/AbsSyn.lhs:68)
    getTokenType (frontend/src/Happy/Frontend/AbsSyn.lhs:87)
    getTokenSpec (frontend/src/Happy/Frontend/AbsSyn.lhs:118)
    getParserNames (frontend/src/Happy/Frontend/AbsSyn.lhs:94)
    getLexer (frontend/src/Happy/Frontend/AbsSyn.lhs:97)
    getImportedIdentity (frontend/src/Happy/Frontend/AbsSyn.lhs:104)
    getMonad (frontend/src/Happy/Frontend/AbsSyn.lhs:111)
    ErrorHandlerInfo
    getError (frontend/src/Happy/Frontend/AbsSyn.lhs:143)
    getPrios (frontend/src/Happy/Frontend/AbsSyn.lhs:121)
    getPrioNames (frontend/src/Happy/Frontend/AbsSyn.lhs:130)
    getExpect (frontend/src/Happy/Frontend/AbsSyn.lhs:136)
    getErrorExpectedMode (frontend/src/Happy/Frontend/AbsSyn.lhs:152)
    getAttributes (frontend/src/Happy/Frontend/AbsSyn.lhs:165)
    getAttributetype (frontend/src/Happy/Frontend/AbsSyn.lhs:169)
    getAttributeGrammarExtras (frontend/src/Happy/Frontend/AbsSyn.lhs:176)
    Rule (frontend/src/Happy/Frontend/AbsSyn.lhs:36)
    Prod (frontend/src/Happy/Frontend/AbsSyn.lhs:43)
    Term (frontend/src/Happy/Frontend/AbsSyn.lhs:50)
    Prec (frontend/src/Happy/Frontend/AbsSyn.lhs:55)
    TokenSpec
Warning: 'Prod' is ambiguous. It is defined
    * at frontend/src/Happy/Frontend/AbsSyn.lhs:44:9
    * at frontend/src/Happy/Frontend/AbsSyn.lhs:43:3
    You may be able to disambiguate the identifier by qualifying it or
    by specifying the type/value namespace explicitly.
    Defaulting to the one defined at frontend/src/Happy/Frontend/AbsSyn.lhs:43:3
Warning: 'Rule' is ambiguous. It is defined
    * at frontend/src/Happy/Frontend/AbsSyn.lhs:37:9
    * at frontend/src/Happy/Frontend/AbsSyn.lhs:36:3
    You may be able to disambiguate the identifier by qualifying it or
    by specifying the type/value namespace explicitly.
    Defaulting to the one defined at frontend/src/Happy/Frontend/AbsSyn.lhs:36:3
   0% (  0 /  2) in 'Happy.Frontend.Mangler'
  Missing documentation for:
    Module header
    mangler (frontend/src/Happy/Frontend/Mangler.lhs:33)
   0% (  0 /  5) in 'Happy.Frontend'
  Missing documentation for:
    Module header
    parseYFileContents (frontend/src/Happy/Frontend.hs:8)
    FileType (frontend/src/Happy/Frontend.hs:10)
    fileNameAndType (frontend/src/Happy/Frontend.hs:13)
    deLitify (frontend/src/Happy/Frontend.hs:20)
   0% (  0 / 23) in 'Happy.Frontend.PrettyGrammar'
  Missing documentation for:
    Module header
    render (frontend/src/Happy/Frontend/PrettyGrammar.hs:10)
    ppAbsSyn (frontend/src/Happy/Frontend/PrettyGrammar.hs:13)
    ppDirective (frontend/src/Happy/Frontend/PrettyGrammar.hs:16)
    ppRule (frontend/src/Happy/Frontend/PrettyGrammar.hs:26)
    ppProd (frontend/src/Happy/Frontend/PrettyGrammar.hs:32)
    ppPrec (frontend/src/Happy/Frontend/PrettyGrammar.hs:37)
    ppTerm (frontend/src/Happy/Frontend/PrettyGrammar.hs:42)
    ppTuple (frontend/src/Happy/Frontend/PrettyGrammar.hs:45)
    Doc (frontend/src/Happy/Frontend/PrettyGrammar.hs:51)
    empty (frontend/src/Happy/Frontend/PrettyGrammar.hs:54)
    punctuate (frontend/src/Happy/Frontend/PrettyGrammar.hs:57)
    comma (frontend/src/Happy/Frontend/PrettyGrammar.hs:62)
    char (frontend/src/Happy/Frontend/PrettyGrammar.hs:65)
    text (frontend/src/Happy/Frontend/PrettyGrammar.hs:68)
    <+> (frontend/src/Happy/Frontend/PrettyGrammar.hs:71)
    <> (frontend/src/Happy/Frontend/PrettyGrammar.hs:76)
    $$ (frontend/src/Happy/Frontend/PrettyGrammar.hs:81)
    hsep (frontend/src/Happy/Frontend/PrettyGrammar.hs:86)
    vcat (frontend/src/Happy/Frontend/PrettyGrammar.hs:89)
    vsep (frontend/src/Happy/Frontend/PrettyGrammar.hs:92)
    parens (frontend/src/Happy/Frontend/PrettyGrammar.hs:95)
    hcat (frontend/src/Happy/Frontend/PrettyGrammar.hs:98)
Warning: Happy.Frontend.AbsSyn: could not find link destinations for: 
	- Happy.Grammar.AttributeGrammarExtras
	- Happy.Grammar.ErrorExpectedMode
	- Happy.Grammar.ExpressionWithHole.ExpressionWithHole
Warning: Happy.Frontend.Mangler: could not find link destinations for: 
	- Happy.Grammar.AttributeGrammarExtras
	- Happy.Grammar.Directives
	- Happy.Grammar.Grammar
	- Happy.Frontend.Mangler.Monad.ErrMsg
Warning: Happy.Frontend: could not find link destinations for: 
	- Happy.Frontend.ParseMonad.Class.ParseResult
Documentation created: dist/doc/html/happy-lib/,
dist/doc/html/happy-lib/happy-lib.txt
Preprocessing library 'backend-lalr' for happy-lib-2.1.6..
Running Haddock on library 'backend-lalr' for happy-lib-2.1.6..
Warning: --source-* options are ignored when --hyperlinked-source is enabled.
[1 of 2] Compiling Happy.Backend.LALR ( backend-lalr/src/Happy/Backend/LALR.hs, nothing )

backend-lalr/src/Happy/Backend/LALR.hs:14:29: warning: [GHC-63394] [-Wx-partial]
    In the use of head
    (imported from Prelude, but defined in GHC.List):
    "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
   |
14 |         big_name = toUpper (head name') : tail name'
   |                             ^^^^

backend-lalr/src/Happy/Backend/LALR.hs:14:43: warning: [GHC-63394] [-Wx-partial]
    In the use of tail
    (imported from Prelude, but defined in GHC.List):
    "This is a partial function, it throws an error on empty lists. Replace it with drop 1, or use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
   |
14 |         big_name = toUpper (head name') : tail name'
   |                                           ^^^^
[2 of 2] Compiling Happy.Backend.LALR.ProduceCode ( backend-lalr/src/Happy/Backend/LALR/ProduceCode.lhs, nothing )

backend-lalr/src/Happy/Backend/LALR/ProduceCode.lhs:779:28: warning: [GHC-63394] [-Wx-partial]
    In the use of head
    (imported from Prelude, but defined in GHC.List):
    "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
    |
779 | >       defaultAttr = fst (head $ attributes ag)
    |                            ^^^^

backend-lalr/src/Happy/Backend/LALR/ProduceCode.lhs:973:56: warning: [GHC-63394] [-Wx-partial]
    In the use of head
    (imported from Prelude, but defined in GHC.List):
    "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
    |
973 | >                        else fst (last acts'') - fst (head acts''),
    |                                                        ^^^^

backend-lalr/src/Happy/Backend/LALR/ProduceCode.lhs:1007:59: warning: [GHC-63394] [-Wx-partial]
    In the use of head
    (imported from Prelude, but defined in GHC.List):
    "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
     |
1007 | >                        else fst (last goto_vals) - fst (head goto_vals),
     |                                                           ^^^^
Haddock coverage:
   0% (  0 /  6) in 'Happy.Backend.LALR'
  Missing documentation for:
    Module header
    lalrBackendDataDir (backend-lalr/src/Happy/Backend/LALR.hs:7)
    magicFilter (backend-lalr/src/Happy/Backend/LALR.hs:10)
    importsToInject (backend-lalr/src/Happy/Backend/LALR.hs:22)
    langExtsToInject (backend-lalr/src/Happy/Backend/LALR.hs:55)
    defines (backend-lalr/src/Happy/Backend/LALR.hs:58)
   0% (  0 /  2) in 'Happy.Backend.LALR.ProduceCode'
  Missing documentation for:
    Module header
    produceParser (backend-lalr/src/Happy/Backend/LALR/ProduceCode.lhs:43)
Warning: Happy.Backend.LALR.ProduceCode: could not find link destinations for: 
	- Happy.Grammar.AttributeGrammarExtras
	- Happy.Grammar.Directives
	- Happy.Grammar.Grammar
	- Happy.Tabular.LALR.ActionTable
	- Happy.Tabular.LALR.GotoTable
Documentation created: dist/doc/html/happy-lib/,
dist/doc/html/happy-lib/happy-lib.txt
Preprocessing library 'backend-glr' for happy-lib-2.1.6..
Running Haddock on library 'backend-glr' for happy-lib-2.1.6..
Warning: --source-* options are ignored when --hyperlinked-source is enabled.
[1 of 2] Compiling Happy.Backend.GLR ( backend-glr/src/Happy/Backend/GLR.hs, nothing )
[2 of 2] Compiling Happy.Backend.GLR.ProduceCode ( backend-glr/src/Happy/Backend/GLR/ProduceCode.lhs, nothing )

backend-glr/src/Happy/Backend/GLR/ProduceCode.lhs:227:51: warning: [GHC-63394] [-Wx-partial]
    In the use of head
    (imported from Prelude, but defined in GHC.List):
    "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
    |
227 | >   start_prod = token_names g ! (let (_,_,i,_) = head $ starts g in i)
    |                                                   ^^^^

backend-glr/src/Happy/Backend/GLR/ProduceCode.lhs:332:26: warning: [GHC-63394] [-Wx-partial]
    In the use of tail
    (imported from Prelude, but defined in GHC.List):
    "This is a partial function, it throws an error on empty lists. Replace it with drop 1, or use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
    |
332 | >     mkReds rs = "[" ++ tail (concat [ "," ++ mkRed r | LR'Reduce r _ <- rs ]) ++ "]"
    |                          ^^^^
Haddock coverage:
   0% (  0 /  2) in 'Happy.Backend.GLR'
  Missing documentation for:
    Module header
    glrBackendDataDir (backend-glr/src/Happy/Backend/GLR.hs:6)
   0% (  0 /  8) in 'Happy.Backend.GLR.ProduceCode'
  Missing documentation for:
    Module header
    produceGLRParser (backend-glr/src/Happy/Backend/GLR/ProduceCode.lhs:98)
    baseTemplate (backend-glr/src/Happy/Backend/GLR/ProduceCode.lhs:33)
    libTemplate (backend-glr/src/Happy/Backend/GLR/ProduceCode.lhs:34)
    DecodeOption (backend-glr/src/Happy/Backend/GLR/ProduceCode.lhs:45)
    FilterOption (backend-glr/src/Happy/Backend/GLR/ProduceCode.lhs:52)
    GhcExts (backend-glr/src/Happy/Backend/GLR/ProduceCode.lhs:60)
    Options (backend-glr/src/Happy/Backend/GLR/ProduceCode.lhs:75)
Warning: Happy.Backend.GLR.ProduceCode: could not find link destinations for: 
	- Happy.Grammar.Directives
	- Happy.Grammar.Grammar
	- Happy.Tabular.LALR.ActionTable
	- Happy.Tabular.LALR.GotoTable
	- Happy.Backend.GLR.ProduceCode.DebugMode
Documentation created: dist/doc/html/happy-lib/,
dist/doc/html/happy-lib/happy-lib.txt
Preprocessing library for happy-lib-2.1.6..
Running Haddock on library for happy-lib-2.1.6..
Warning: Haddocks are being requested, but there aren't any modules given to
create documentation for.
Installing internal library grammar in /var/lib/hackage-doc-builder/build-cache/tmp-install/lib/x86_64-linux-ghc-9.8.4/happy-lib-2.1.6-6vdUOduG8DyF7XHKsubmyS
Installing internal library tabular in /var/lib/hackage-doc-builder/build-cache/tmp-install/lib/x86_64-linux-ghc-9.8.4/happy-lib-2.1.6-6vdUOduG8DyF7XHKsubmyS
Installing internal library frontend in /var/lib/hackage-doc-builder/build-cache/tmp-install/lib/x86_64-linux-ghc-9.8.4/happy-lib-2.1.6-6vdUOduG8DyF7XHKsubmyS
Installing internal library backend-lalr in /var/lib/hackage-doc-builder/build-cache/tmp-install/lib/x86_64-linux-ghc-9.8.4/happy-lib-2.1.6-6vdUOduG8DyF7XHKsubmyS
Installing internal library backend-glr in /var/lib/hackage-doc-builder/build-cache/tmp-install/lib/x86_64-linux-ghc-9.8.4/happy-lib-2.1.6-6vdUOduG8DyF7XHKsubmyS
Installing library in /var/lib/hackage-doc-builder/build-cache/tmp-install/lib/x86_64-linux-ghc-9.8.4/happy-lib-2.1.6-6vdUOduG8DyF7XHKsubmyS
Completed    happy-lib-2.1.6

Test log

[view raw]

Resolving dependencies...
Error:
    Internal libraries only supported with per-component builds.
    Per-component builds were disabled because program coverage is enabled
    In the inplace package 'happy-lib-2.1.6'