Resolving dependencies... Configuring cabal-doctest-1.0.12... Preprocessing library for cabal-doctest-1.0.12.. Building library for cabal-doctest-1.0.12.. [1 of 1] Compiling Distribution.Extra.Doctest ( src/Distribution/Extra/Doctest.hs, dist/build/Distribution/Extra/Doctest.o, dist/build/Distribution/Extra/Doctest.dyn_o ) Preprocessing library for cabal-doctest-1.0.12.. Running Haddock on library for cabal-doctest-1.0.12.. Warning: --source-* options are ignored when --hyperlinked-source is enabled. [1 of 1] Compiling Distribution.Extra.Doctest ( src/Distribution/Extra/Doctest.hs, nothing ) Haddock coverage: Warning: 'UserHooks' is ambiguous. It is defined * in Distribution.Simple.UserHooks * in Distribution.Simple.UserHooks You may be able to disambiguate the identifier by qualifying it or by specifying the type/value namespace explicitly. Defaulting to the one defined in Distribution.Simple.UserHooks 100% ( 7 / 7) in 'Distribution.Extra.Doctest' Documentation created: dist/doc/html/cabal-doctest/, dist/doc/html/cabal-doctest/cabal-doctest.txt Installing library in /var/lib/hackage-doc-builder/build-cache/tmp-install/lib/x86_64-linux-ghc-9.8.4/cabal-doctest-1.0.12-JIKjdd7lk4B5e84iba4f5g Completed cabal-doctest-1.0.12 Configuring string-qq-0.0.6... Preprocessing library for string-qq-0.0.6.. Building library for string-qq-0.0.6.. [1 of 1] Compiling Data.String.QQ ( src/Data/String/QQ.hs, dist/build/Data/String/QQ.o, dist/build/Data/String/QQ.dyn_o ) Preprocessing library for string-qq-0.0.6.. Running Haddock on library for string-qq-0.0.6.. Warning: --source-* options are ignored when --hyperlinked-source is enabled. [1 of 1] Compiling Data.String.QQ ( src/Data/String/QQ.hs, nothing ) Haddock coverage: 100% ( 2 / 2) in 'Data.String.QQ' Documentation created: dist/doc/html/string-qq/, dist/doc/html/string-qq/string-qq.txt Installing library in /var/lib/hackage-doc-builder/build-cache/tmp-install/lib/x86_64-linux-ghc-9.8.4/string-qq-0.0.6-Fv5s7Go3TlWFknpCjB0eIC Completed string-qq-0.0.6 Downloading BNFC-2.9.1.1 Downloaded BNFC-2.9.1.1 [1 of 2] Compiling Main ( /tmp/cabal-tmp-1343348/BNFC-2.9.1.1/dist/setup/setup.hs, /tmp/cabal-tmp-1343348/BNFC-2.9.1.1/dist/setup/Main.o ) [2 of 2] Linking /tmp/cabal-tmp-1343348/BNFC-2.9.1.1/dist/setup/setup Configuring BNFC-2.9.1.1... Preprocessing library for BNFC-2.9.1.1.. Building library for BNFC-2.9.1.1.. [ 1 of 83] Compiling BNFC.Abs ( src/BNFC/Abs.hs, dist/build/BNFC/Abs.o, dist/build/BNFC/Abs.dyn_o ) [ 2 of 83] Compiling BNFC.Backend.CPP.STL.STLUtils ( src/BNFC/Backend/CPP/STL/STLUtils.hs, dist/build/BNFC/Backend/CPP/STL/STLUtils.o, dist/build/BNFC/Backend/CPP/STL/STLUtils.dyn_o ) [ 3 of 83] Compiling BNFC.Backend.Common.StrUtils ( src/BNFC/Backend/Common/StrUtils.hs, dist/build/BNFC/Backend/Common/StrUtils.o, dist/build/BNFC/Backend/Common/StrUtils.dyn_o ) [ 4 of 83] Compiling BNFC.Backend.Java.RegToAntlrLexer ( src/BNFC/Backend/Java/RegToAntlrLexer.hs, dist/build/BNFC/Backend/Java/RegToAntlrLexer.o, dist/build/BNFC/Backend/Java/RegToAntlrLexer.dyn_o ) [ 5 of 83] Compiling BNFC.Lex ( dist/build/BNFC/Lex.hs, dist/build/BNFC/Lex.o, dist/build/BNFC/Lex.dyn_o ) [ 6 of 83] Compiling BNFC.License ( src/BNFC/License.hs, dist/build/BNFC/License.o, dist/build/BNFC/License.dyn_o ) [ 7 of 83] Compiling BNFC.Par ( dist/build/BNFC/Par.hs, dist/build/BNFC/Par.o, dist/build/BNFC/Par.dyn_o ) [ 8 of 83] Compiling BNFC.PrettyPrint ( src/BNFC/PrettyPrint.hs, dist/build/BNFC/PrettyPrint.o, dist/build/BNFC/PrettyPrint.dyn_o ) [ 9 of 83] Compiling BNFC.Backend.Haskell.MkErrM ( src/BNFC/Backend/Haskell/MkErrM.hs, dist/build/BNFC/Backend/Haskell/MkErrM.o, dist/build/BNFC/Backend/Haskell/MkErrM.dyn_o ) [10 of 83] Compiling BNFC.Print ( src/BNFC/Print.hs, dist/build/BNFC/Print.o, dist/build/BNFC/Print.dyn_o ) [11 of 83] Compiling BNFC.Regex ( src/BNFC/Regex.hs, dist/build/BNFC/Regex.o, dist/build/BNFC/Regex.dyn_o ) [12 of 83] Compiling BNFC.Utils ( src/BNFC/Utils.hs, dist/build/BNFC/Utils.o, dist/build/BNFC/Utils.dyn_o ) [13 of 83] Compiling BNFC.CF ( src/BNFC/CF.hs, dist/build/BNFC/CF.o, dist/build/BNFC/CF.dyn_o ) src/BNFC/CF.hs:748:17: 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." | 748 | (x,sep,xs) = (head ts, init (tail ts), last ts) | ^^^^ src/BNFC/CF.hs:748:32: 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." | 748 | (x,sep,xs) = (head ts, init (tail ts), last ts) | ^^^^ [14 of 83] Compiling BNFC.TypeChecker ( src/BNFC/TypeChecker.hs, dist/build/BNFC/TypeChecker.o, dist/build/BNFC/TypeChecker.dyn_o ) src/BNFC/TypeChecker.hs:96:27: 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." | 96 | do unless (isLower $ head f) $ throwError $ | ^^^^ [15 of 83] Compiling BNFC.Lexing ( src/BNFC/Lexing.hs, dist/build/BNFC/Lexing.o, dist/build/BNFC/Lexing.dyn_o ) src/BNFC/Lexing.hs:260:29: 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." | 260 | conds = zipWith (==) (tail $ reverse $ inits ys) (tail $ tails ys) | ^^^^ src/BNFC/Lexing.hs:260:57: 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." | 260 | conds = zipWith (==) (tail $ reverse $ inits ys) (tail $ tails ys) | ^^^^ [16 of 83] Compiling BNFC.Check.EmptyTypes ( src/BNFC/Check/EmptyTypes.hs, dist/build/BNFC/Check/EmptyTypes.o, dist/build/BNFC/Check/EmptyTypes.dyn_o ) [17 of 83] Compiling BNFC.Backend.Common.OOAbstract ( src/BNFC/Backend/Common/OOAbstract.hs, dist/build/BNFC/Backend/Common/OOAbstract.o, dist/build/BNFC/Backend/Common/OOAbstract.dyn_o ) [18 of 83] Compiling BNFC.Backend.Common.NamedVariables ( src/BNFC/Backend/Common/NamedVariables.hs, dist/build/BNFC/Backend/Common/NamedVariables.o, dist/build/BNFC/Backend/Common/NamedVariables.dyn_o ) [19 of 83] Compiling BNFC.Backend.Common ( src/BNFC/Backend/Common.hs, dist/build/BNFC/Backend/Common.o, dist/build/BNFC/Backend/Common.dyn_o ) [20 of 83] Compiling BNFC.Backend.C.RegToFlex ( src/BNFC/Backend/C/RegToFlex.hs, dist/build/BNFC/Backend/C/RegToFlex.o, dist/build/BNFC/Backend/C/RegToFlex.dyn_o ) [21 of 83] Compiling BNFC.Backend.Txt2Tag ( src/BNFC/Backend/Txt2Tag.hs, dist/build/BNFC/Backend/Txt2Tag.o, dist/build/BNFC/Backend/Txt2Tag.dyn_o ) [22 of 83] Compiling BNFC.Backend.OCaml.OCamlUtil ( src/BNFC/Backend/OCaml/OCamlUtil.hs, dist/build/BNFC/Backend/OCaml/OCamlUtil.o, dist/build/BNFC/Backend/OCaml/OCamlUtil.dyn_o ) [23 of 83] Compiling BNFC.Backend.OCaml.CFtoOCamlTemplate ( src/BNFC/Backend/OCaml/CFtoOCamlTemplate.hs, dist/build/BNFC/Backend/OCaml/CFtoOCamlTemplate.o, dist/build/BNFC/Backend/OCaml/CFtoOCamlTemplate.dyn_o ) [24 of 83] Compiling BNFC.Backend.OCaml.CFtoOCamlYacc ( src/BNFC/Backend/OCaml/CFtoOCamlYacc.hs, dist/build/BNFC/Backend/OCaml/CFtoOCamlYacc.o, dist/build/BNFC/Backend/OCaml/CFtoOCamlYacc.dyn_o ) [25 of 83] Compiling BNFC.Backend.OCaml.CFtoOCamlShow ( src/BNFC/Backend/OCaml/CFtoOCamlShow.hs, dist/build/BNFC/Backend/OCaml/CFtoOCamlShow.o, dist/build/BNFC/Backend/OCaml/CFtoOCamlShow.dyn_o ) [26 of 83] Compiling BNFC.Backend.OCaml.CFtoOCamlLex ( src/BNFC/Backend/OCaml/CFtoOCamlLex.hs, dist/build/BNFC/Backend/OCaml/CFtoOCamlLex.o, dist/build/BNFC/Backend/OCaml/CFtoOCamlLex.dyn_o ) [27 of 83] Compiling BNFC.Backend.OCaml.CFtoOCamlAbs ( src/BNFC/Backend/OCaml/CFtoOCamlAbs.hs, dist/build/BNFC/Backend/OCaml/CFtoOCamlAbs.o, dist/build/BNFC/Backend/OCaml/CFtoOCamlAbs.dyn_o ) [28 of 83] Compiling BNFC.Backend.Java.Utils ( src/BNFC/Backend/Java/Utils.hs, dist/build/BNFC/Backend/Java/Utils.o, dist/build/BNFC/Backend/Java/Utils.dyn_o ) [29 of 83] Compiling BNFC.Backend.Java.CFtoAntlr4Lexer ( src/BNFC/Backend/Java/CFtoAntlr4Lexer.hs, dist/build/BNFC/Backend/Java/CFtoAntlr4Lexer.o, dist/build/BNFC/Backend/Java/CFtoAntlr4Lexer.dyn_o ) [30 of 83] Compiling BNFC.Backend.Java.CFtoAllVisitor ( src/BNFC/Backend/Java/CFtoAllVisitor.hs, dist/build/BNFC/Backend/Java/CFtoAllVisitor.o, dist/build/BNFC/Backend/Java/CFtoAllVisitor.dyn_o ) [31 of 83] Compiling BNFC.Backend.Java.CFtoAbstractVisitor ( src/BNFC/Backend/Java/CFtoAbstractVisitor.hs, dist/build/BNFC/Backend/Java/CFtoAbstractVisitor.o, dist/build/BNFC/Backend/Java/CFtoAbstractVisitor.dyn_o ) [32 of 83] Compiling BNFC.Backend.CPP.PrettyPrinter ( src/BNFC/Backend/CPP/PrettyPrinter.hs, dist/build/BNFC/Backend/CPP/PrettyPrinter.o, dist/build/BNFC/Backend/CPP/PrettyPrinter.dyn_o ) [33 of 83] Compiling BNFC.Backend.CPP.NoSTL.CFtoCPPAbs ( src/BNFC/Backend/CPP/NoSTL/CFtoCPPAbs.hs, dist/build/BNFC/Backend/CPP/NoSTL/CFtoCPPAbs.o, dist/build/BNFC/Backend/CPP/NoSTL/CFtoCPPAbs.dyn_o ) [34 of 83] Compiling BNFC.Backend.CPP.Naming ( src/BNFC/Backend/CPP/Naming.hs, dist/build/BNFC/Backend/CPP/Naming.o, dist/build/BNFC/Backend/CPP/Naming.dyn_o ) [35 of 83] Compiling BNFC.Backend.CPP.STL.CFtoCVisitSkelSTL ( src/BNFC/Backend/CPP/STL/CFtoCVisitSkelSTL.hs, dist/build/BNFC/Backend/CPP/STL/CFtoCVisitSkelSTL.o, dist/build/BNFC/Backend/CPP/STL/CFtoCVisitSkelSTL.dyn_o ) [36 of 83] Compiling BNFC.Backend.C.CFtoFlexC ( src/BNFC/Backend/C/CFtoFlexC.hs, dist/build/BNFC/Backend/C/CFtoFlexC.o, dist/build/BNFC/Backend/C/CFtoFlexC.dyn_o ) [37 of 83] Compiling BNFC.Backend.CPP.NoSTL.CFtoFlex ( src/BNFC/Backend/CPP/NoSTL/CFtoFlex.hs, dist/build/BNFC/Backend/CPP/NoSTL/CFtoFlex.o, dist/build/BNFC/Backend/CPP/NoSTL/CFtoFlex.dyn_o ) [38 of 83] Compiling BNFC.Backend.C.CFtoCSkel ( src/BNFC/Backend/C/CFtoCSkel.hs, dist/build/BNFC/Backend/C/CFtoCSkel.o, dist/build/BNFC/Backend/C/CFtoCSkel.dyn_o ) [39 of 83] Compiling BNFC.Backend.C.CFtoCPrinter ( src/BNFC/Backend/C/CFtoCPrinter.hs, dist/build/BNFC/Backend/C/CFtoCPrinter.o, dist/build/BNFC/Backend/C/CFtoCPrinter.dyn_o ) [40 of 83] Compiling BNFC.Backend.Base ( src/BNFC/Backend/Base.hs, dist/build/BNFC/Backend/Base.o, dist/build/BNFC/Backend/Base.dyn_o ) [41 of 83] Compiling Paths_BNFC ( dist/build/autogen/Paths_BNFC.hs, dist/build/Paths_BNFC.o, dist/build/Paths_BNFC.dyn_o ) [42 of 83] Compiling BNFC.Options ( src/BNFC/Options.hs, dist/build/BNFC/Options.o, dist/build/BNFC/Options.dyn_o ) [43 of 83] Compiling BNFC.GetCF ( src/BNFC/GetCF.hs, dist/build/BNFC/GetCF.o, dist/build/BNFC/GetCF.dyn_o ) src/BNFC/GetCF.hs:276:48: 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." | 276 | notIdent s = null s || not (isAlpha (head s)) || any (not . isIdentRest) s | ^^^^ src/BNFC/GetCF.hs:291:59: warning: [GHC-58520] [-Wtype-equality-requires-operators] The use of ~ without TypeOperators will become an error in a future GHC release. Suggested fix: Perhaps you intended to use TypeOperators | 291 | default fixTokenCats :: (Functor t, FixTokenCats b, t b ~ a) => [TokenCat] -> a -> a | ^ src/BNFC/GetCF.hs:595:38: 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." | 595 | isBadCatName s = not $ isUpper (head s) || (head s == '@') | ^^^^ src/BNFC/GetCF.hs:595:50: 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." | 595 | isBadCatName s = not $ isUpper (head s) || (head s == '@') | ^^^^ [44 of 83] Compiling BNFC.Backend.Pygments ( src/BNFC/Backend/Pygments.hs, dist/build/BNFC/Backend/Pygments.o, dist/build/BNFC/Backend/Pygments.dyn_o ) [45 of 83] Compiling BNFC.Backend.Java.RegToJLex ( src/BNFC/Backend/Java/RegToJLex.hs, dist/build/BNFC/Backend/Java/RegToJLex.o, dist/build/BNFC/Backend/Java/RegToJLex.dyn_o ) [46 of 83] Compiling BNFC.Backend.Java.CFtoJavaAbs15 ( src/BNFC/Backend/Java/CFtoJavaAbs15.hs, dist/build/BNFC/Backend/Java/CFtoJavaAbs15.o, dist/build/BNFC/Backend/Java/CFtoJavaAbs15.dyn_o ) [47 of 83] Compiling BNFC.Backend.Java.CFtoVisitSkel15 ( src/BNFC/Backend/Java/CFtoVisitSkel15.hs, dist/build/BNFC/Backend/Java/CFtoVisitSkel15.o, dist/build/BNFC/Backend/Java/CFtoVisitSkel15.dyn_o ) [48 of 83] Compiling BNFC.Backend.Java.CFtoJavaPrinter15 ( src/BNFC/Backend/Java/CFtoJavaPrinter15.hs, dist/build/BNFC/Backend/Java/CFtoJavaPrinter15.o, dist/build/BNFC/Backend/Java/CFtoJavaPrinter15.dyn_o ) [49 of 83] Compiling BNFC.Backend.Java.CFtoFoldVisitor ( src/BNFC/Backend/Java/CFtoFoldVisitor.hs, dist/build/BNFC/Backend/Java/CFtoFoldVisitor.o, dist/build/BNFC/Backend/Java/CFtoFoldVisitor.dyn_o ) [50 of 83] Compiling BNFC.Backend.Java.CFtoComposVisitor ( src/BNFC/Backend/Java/CFtoComposVisitor.hs, dist/build/BNFC/Backend/Java/CFtoComposVisitor.o, dist/build/BNFC/Backend/Java/CFtoComposVisitor.dyn_o ) [51 of 83] Compiling BNFC.Backend.Java.CFtoJLex15 ( src/BNFC/Backend/Java/CFtoJLex15.hs, dist/build/BNFC/Backend/Java/CFtoJLex15.o, dist/build/BNFC/Backend/Java/CFtoJLex15.dyn_o ) [52 of 83] Compiling BNFC.Backend.Java.CFtoCup15 ( src/BNFC/Backend/Java/CFtoCup15.hs, dist/build/BNFC/Backend/Java/CFtoCup15.o, dist/build/BNFC/Backend/Java/CFtoCup15.dyn_o ) src/BNFC/Backend/Java/CFtoCup15.hs:122:23: warning: [GHC-63394] [-Wx-partial] In the use of head (imported from Data.List, 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." | 122 | | isUpper (head x) = call ("new " ++ packageAbsyn ++ "." ++ x) es | ^^^^ [53 of 83] Compiling BNFC.Backend.Java.CFtoAntlr4Parser ( src/BNFC/Backend/Java/CFtoAntlr4Parser.hs, dist/build/BNFC/Backend/Java/CFtoAntlr4Parser.o, dist/build/BNFC/Backend/Java/CFtoAntlr4Parser.dyn_o ) [54 of 83] Compiling BNFC.Backend.Haskell.Utils ( src/BNFC/Backend/Haskell/Utils.hs, dist/build/BNFC/Backend/Haskell/Utils.o, dist/build/BNFC/Backend/Haskell/Utils.dyn_o ) [55 of 83] Compiling BNFC.Backend.HaskellGADT.HaskellGADTCommon ( src/BNFC/Backend/HaskellGADT/HaskellGADTCommon.hs, dist/build/BNFC/Backend/HaskellGADT/HaskellGADTCommon.o, dist/build/BNFC/Backend/HaskellGADT/HaskellGADTCommon.dyn_o ) src/BNFC/Backend/HaskellGADT/HaskellGADTCommon.hs:40:16: 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." | 40 | ruleFun cf f = head $ filter ((f ==) . funName . funRule) $ cfgRules cf | ^^^^ [56 of 83] Compiling BNFC.Backend.HaskellGADT.CFtoTemplateGADT ( src/BNFC/Backend/HaskellGADT/CFtoTemplateGADT.hs, dist/build/BNFC/Backend/HaskellGADT/CFtoTemplateGADT.o, dist/build/BNFC/Backend/HaskellGADT/CFtoTemplateGADT.dyn_o ) src/BNFC/Backend/HaskellGADT/CFtoTemplateGADT.hs:62:26: 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." | 62 | catCons cf = [ (consCat (head cs),cs) | cs <- groupBy catEq $ cf2cons cf] | ^^^^ [57 of 83] Compiling BNFC.Backend.Haskell.CFtoTemplate ( src/BNFC/Backend/Haskell/CFtoTemplate.hs, dist/build/BNFC/Backend/Haskell/CFtoTemplate.o, dist/build/BNFC/Backend/Haskell/CFtoTemplate.dyn_o ) [58 of 83] Compiling BNFC.Backend.Haskell.HsOpts ( src/BNFC/Backend/Haskell/HsOpts.hs, dist/build/BNFC/Backend/Haskell/HsOpts.o, dist/build/BNFC/Backend/Haskell/HsOpts.dyn_o ) [59 of 83] Compiling BNFC.Backend.XML ( src/BNFC/Backend/XML.hs, dist/build/BNFC/Backend/XML.o, dist/build/BNFC/Backend/XML.dyn_o ) [60 of 83] Compiling BNFC.Backend.Haskell.CFtoPrinter ( src/BNFC/Backend/Haskell/CFtoPrinter.hs, dist/build/BNFC/Backend/Haskell/CFtoPrinter.o, dist/build/BNFC/Backend/Haskell/CFtoPrinter.dyn_o ) src/BNFC/Backend/Haskell/CFtoPrinter.hs:299:36: 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." | 299 | | isOneFun f = text "[" <+> head variables <+> "]" | ^^^^ [61 of 83] Compiling BNFC.Backend.OCaml.CFtoOCamlPrinter ( src/BNFC/Backend/OCaml/CFtoOCamlPrinter.hs, dist/build/BNFC/Backend/OCaml/CFtoOCamlPrinter.o, dist/build/BNFC/Backend/OCaml/CFtoOCamlPrinter.dyn_o ) [62 of 83] Compiling BNFC.Backend.OCaml.CFtoOCamlTest ( src/BNFC/Backend/OCaml/CFtoOCamlTest.hs, dist/build/BNFC/Backend/OCaml/CFtoOCamlTest.o, dist/build/BNFC/Backend/OCaml/CFtoOCamlTest.dyn_o ) [63 of 83] Compiling BNFC.Backend.Haskell.CFtoLayout ( src/BNFC/Backend/Haskell/CFtoLayout.hs, dist/build/BNFC/Backend/Haskell/CFtoLayout.o, dist/build/BNFC/Backend/Haskell/CFtoLayout.dyn_o ) [64 of 83] Compiling BNFC.Backend.Haskell.CFtoHappy ( src/BNFC/Backend/Haskell/CFtoHappy.hs, dist/build/BNFC/Backend/Haskell/CFtoHappy.o, dist/build/BNFC/Backend/Haskell/CFtoHappy.dyn_o ) [65 of 83] Compiling BNFC.Backend.Haskell.CFtoAlex3 ( src/BNFC/Backend/Haskell/CFtoAlex3.hs, dist/build/BNFC/Backend/Haskell/CFtoAlex3.o, dist/build/BNFC/Backend/Haskell/CFtoAlex3.dyn_o ) [66 of 83] Compiling BNFC.Backend.Haskell.CFtoAbstract ( src/BNFC/Backend/Haskell/CFtoAbstract.hs, dist/build/BNFC/Backend/Haskell/CFtoAbstract.o, dist/build/BNFC/Backend/Haskell/CFtoAbstract.dyn_o ) [67 of 83] Compiling BNFC.Backend.HaskellGADT.CFtoAbstractGADT ( src/BNFC/Backend/HaskellGADT/CFtoAbstractGADT.hs, dist/build/BNFC/Backend/HaskellGADT/CFtoAbstractGADT.o, dist/build/BNFC/Backend/HaskellGADT/CFtoAbstractGADT.dyn_o ) [68 of 83] Compiling BNFC.Backend.Common.Makefile ( src/BNFC/Backend/Common/Makefile.hs, dist/build/BNFC/Backend/Common/Makefile.o, dist/build/BNFC/Backend/Common/Makefile.dyn_o ) [69 of 83] Compiling BNFC.Backend.OCaml ( src/BNFC/Backend/OCaml.hs, dist/build/BNFC/Backend/OCaml.o, dist/build/BNFC/Backend/OCaml.dyn_o ) [70 of 83] Compiling BNFC.Backend.Latex ( src/BNFC/Backend/Latex.hs, dist/build/BNFC/Backend/Latex.o, dist/build/BNFC/Backend/Latex.dyn_o ) [71 of 83] Compiling BNFC.Backend.Java ( src/BNFC/Backend/Java.hs, dist/build/BNFC/Backend/Java.o, dist/build/BNFC/Backend/Java.dyn_o ) src/BNFC/Backend/Java.hs:82:18: 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." | 82 | (head $ results lexmake) -- lexer class | ^^^^ src/BNFC/Backend/Java.hs:83:18: 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." | 83 | (head $ results parmake) -- parser class | ^^^^ src/BNFC/Backend/Java.hs:647:24: 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." | 647 | def = head eps | ^^^^ [72 of 83] Compiling BNFC.Backend.CPP.Makefile ( src/BNFC/Backend/CPP/Makefile.hs, dist/build/BNFC/Backend/CPP/Makefile.o, dist/build/BNFC/Backend/CPP/Makefile.dyn_o ) [73 of 83] Compiling BNFC.Backend.CPP.STL.CFtoSTLAbs ( src/BNFC/Backend/CPP/STL/CFtoSTLAbs.hs, dist/build/BNFC/Backend/CPP/STL/CFtoSTLAbs.o, dist/build/BNFC/Backend/CPP/STL/CFtoSTLAbs.dyn_o ) [74 of 83] Compiling BNFC.Backend.C.CFtoCAbs ( src/BNFC/Backend/C/CFtoCAbs.hs, dist/build/BNFC/Backend/C/CFtoCAbs.o, dist/build/BNFC/Backend/C/CFtoCAbs.dyn_o ) src/BNFC/Backend/C/CFtoCAbs.hs:186:42: 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." | 186 | prInstVarsOneType ivars = text (fst (head ivars)) | ^^^^ [75 of 83] Compiling BNFC.Backend.C.CFtoBisonC ( src/BNFC/Backend/C/CFtoBisonC.hs, dist/build/BNFC/Backend/C/CFtoBisonC.o, dist/build/BNFC/Backend/C/CFtoBisonC.dyn_o ) [76 of 83] Compiling BNFC.Backend.CPP.STL.CFtoBisonSTL ( src/BNFC/Backend/CPP/STL/CFtoBisonSTL.hs, dist/build/BNFC/Backend/CPP/STL/CFtoBisonSTL.o, dist/build/BNFC/Backend/CPP/STL/CFtoBisonSTL.dyn_o ) src/BNFC/Backend/CPP/STL/CFtoBisonSTL.hs:156:24: 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." | 156 | | isUpper (head x) = call ("new " ++ x) es | ^^^^ src/BNFC/Backend/CPP/STL/CFtoBisonSTL.hs:332:36: 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." | 332 | then lastms ++ "->push_back(" ++ head ms ++ ") ; $$ = " ++ lastms ++ " ;" ---- not left rec | ^^^^ [77 of 83] Compiling BNFC.Backend.CPP.NoSTL.CFtoBison ( src/BNFC/Backend/CPP/NoSTL/CFtoBison.hs, dist/build/BNFC/Backend/CPP/NoSTL/CFtoBison.o, dist/build/BNFC/Backend/CPP/NoSTL/CFtoBison.dyn_o ) [78 of 83] Compiling BNFC.Backend.C ( src/BNFC/Backend/C.hs, dist/build/BNFC/Backend/C.o, dist/build/BNFC/Backend/C.dyn_o ) [79 of 83] Compiling BNFC.Backend.CPP.STL ( src/BNFC/Backend/CPP/STL.hs, dist/build/BNFC/Backend/CPP/STL.o, dist/build/BNFC/Backend/CPP/STL.dyn_o ) [80 of 83] Compiling BNFC.Backend.CPP.NoSTL ( src/BNFC/Backend/CPP/NoSTL.hs, dist/build/BNFC/Backend/CPP/NoSTL.o, dist/build/BNFC/Backend/CPP/NoSTL.dyn_o ) [81 of 83] Compiling BNFC.Backend.Agda ( src/BNFC/Backend/Agda.hs, dist/build/BNFC/Backend/Agda.o, dist/build/BNFC/Backend/Agda.dyn_o ) src/BNFC/Backend/Agda.hs:480:70: 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." | 480 | prData' amod style d cs = [ prettyData style d cs , pragmaData amod (head $ words d) cs ] | ^^^^ src/BNFC/Backend/Agda.hs:613:25: 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." | 613 | nameFor d = [ toLower $ head $ dropWhile (== '#') d ] | ^^^^ [82 of 83] Compiling BNFC.Backend.Haskell ( src/BNFC/Backend/Haskell.hs, dist/build/BNFC/Backend/Haskell.o, dist/build/BNFC/Backend/Haskell.dyn_o ) [83 of 83] Compiling BNFC.Backend.HaskellGADT ( src/BNFC/Backend/HaskellGADT.hs, dist/build/BNFC/Backend/HaskellGADT.o, dist/build/BNFC/Backend/HaskellGADT.dyn_o ) Preprocessing executable 'bnfc' for BNFC-2.9.1.1.. Building executable 'bnfc' for BNFC-2.9.1.1.. [1 of 2] Compiling Paths_BNFC ( dist/build/bnfc/autogen/Paths_BNFC.hs, dist/build/bnfc/bnfc-tmp/Paths_BNFC.o ) [2 of 2] Compiling Main ( main/Main.hs, dist/build/bnfc/bnfc-tmp/Main.o ) [3 of 3] Linking dist/build/bnfc/bnfc Preprocessing library for BNFC-2.9.1.1.. Running Haddock on library for BNFC-2.9.1.1.. Warning: --source-* options are ignored when --hyperlinked-source is enabled. [ 1 of 83] Compiling BNFC.Abs ( src/BNFC/Abs.hs, nothing ) [ 2 of 83] Compiling BNFC.Backend.CPP.STL.STLUtils ( src/BNFC/Backend/CPP/STL/STLUtils.hs, nothing ) [ 3 of 83] Compiling BNFC.Backend.Common.StrUtils ( src/BNFC/Backend/Common/StrUtils.hs, nothing ) [ 4 of 83] Compiling BNFC.Backend.Java.RegToAntlrLexer ( src/BNFC/Backend/Java/RegToAntlrLexer.hs, nothing ) [ 5 of 83] Compiling BNFC.Lex ( dist/build/BNFC/Lex.hs, nothing ) [ 6 of 83] Compiling BNFC.License ( src/BNFC/License.hs, nothing ) [ 7 of 83] Compiling BNFC.Par ( dist/build/BNFC/Par.hs, nothing ) [ 8 of 83] Compiling BNFC.PrettyPrint ( src/BNFC/PrettyPrint.hs, nothing ) [ 9 of 83] Compiling BNFC.Backend.Haskell.MkErrM ( src/BNFC/Backend/Haskell/MkErrM.hs, nothing ) [10 of 83] Compiling BNFC.Print ( src/BNFC/Print.hs, nothing ) [11 of 83] Compiling BNFC.Regex ( src/BNFC/Regex.hs, nothing ) [12 of 83] Compiling BNFC.Utils ( src/BNFC/Utils.hs, nothing ) [13 of 83] Compiling BNFC.CF ( src/BNFC/CF.hs, nothing ) src/BNFC/CF.hs:748:17: 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." | 748 | (x,sep,xs) = (head ts, init (tail ts), last ts) | ^^^^ src/BNFC/CF.hs:748:32: 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." | 748 | (x,sep,xs) = (head ts, init (tail ts), last ts) | ^^^^ [14 of 83] Compiling BNFC.TypeChecker ( src/BNFC/TypeChecker.hs, nothing ) src/BNFC/TypeChecker.hs:96:27: 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." | 96 | do unless (isLower $ head f) $ throwError $ | ^^^^ [15 of 83] Compiling BNFC.Lexing ( src/BNFC/Lexing.hs, nothing ) src/BNFC/Lexing.hs:260:29: 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." | 260 | conds = zipWith (==) (tail $ reverse $ inits ys) (tail $ tails ys) | ^^^^ src/BNFC/Lexing.hs:260:57: 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." | 260 | conds = zipWith (==) (tail $ reverse $ inits ys) (tail $ tails ys) | ^^^^ [16 of 83] Compiling BNFC.Check.EmptyTypes ( src/BNFC/Check/EmptyTypes.hs, nothing ) [17 of 83] Compiling BNFC.Backend.Common.OOAbstract ( src/BNFC/Backend/Common/OOAbstract.hs, nothing ) [18 of 83] Compiling BNFC.Backend.Common.NamedVariables ( src/BNFC/Backend/Common/NamedVariables.hs, nothing ) [19 of 83] Compiling BNFC.Backend.Common ( src/BNFC/Backend/Common.hs, nothing ) [20 of 83] Compiling BNFC.Backend.C.RegToFlex ( src/BNFC/Backend/C/RegToFlex.hs, nothing ) [21 of 83] Compiling BNFC.Backend.Txt2Tag ( src/BNFC/Backend/Txt2Tag.hs, nothing ) [22 of 83] Compiling BNFC.Backend.OCaml.OCamlUtil ( src/BNFC/Backend/OCaml/OCamlUtil.hs, nothing ) [23 of 83] Compiling BNFC.Backend.OCaml.CFtoOCamlTemplate ( src/BNFC/Backend/OCaml/CFtoOCamlTemplate.hs, nothing ) [24 of 83] Compiling BNFC.Backend.OCaml.CFtoOCamlYacc ( src/BNFC/Backend/OCaml/CFtoOCamlYacc.hs, nothing ) [25 of 83] Compiling BNFC.Backend.OCaml.CFtoOCamlShow ( src/BNFC/Backend/OCaml/CFtoOCamlShow.hs, nothing ) [26 of 83] Compiling BNFC.Backend.OCaml.CFtoOCamlLex ( src/BNFC/Backend/OCaml/CFtoOCamlLex.hs, nothing ) [27 of 83] Compiling BNFC.Backend.OCaml.CFtoOCamlAbs ( src/BNFC/Backend/OCaml/CFtoOCamlAbs.hs, nothing ) [28 of 83] Compiling BNFC.Backend.Java.Utils ( src/BNFC/Backend/Java/Utils.hs, nothing ) [29 of 83] Compiling BNFC.Backend.Java.CFtoAntlr4Lexer ( src/BNFC/Backend/Java/CFtoAntlr4Lexer.hs, nothing ) [30 of 83] Compiling BNFC.Backend.Java.CFtoAllVisitor ( src/BNFC/Backend/Java/CFtoAllVisitor.hs, nothing ) [31 of 83] Compiling BNFC.Backend.Java.CFtoAbstractVisitor ( src/BNFC/Backend/Java/CFtoAbstractVisitor.hs, nothing ) [32 of 83] Compiling BNFC.Backend.CPP.PrettyPrinter ( src/BNFC/Backend/CPP/PrettyPrinter.hs, nothing ) [33 of 83] Compiling BNFC.Backend.CPP.NoSTL.CFtoCPPAbs ( src/BNFC/Backend/CPP/NoSTL/CFtoCPPAbs.hs, nothing ) [34 of 83] Compiling BNFC.Backend.CPP.Naming ( src/BNFC/Backend/CPP/Naming.hs, nothing ) [35 of 83] Compiling BNFC.Backend.CPP.STL.CFtoCVisitSkelSTL ( src/BNFC/Backend/CPP/STL/CFtoCVisitSkelSTL.hs, nothing ) [36 of 83] Compiling BNFC.Backend.C.CFtoFlexC ( src/BNFC/Backend/C/CFtoFlexC.hs, nothing ) [37 of 83] Compiling BNFC.Backend.CPP.NoSTL.CFtoFlex ( src/BNFC/Backend/CPP/NoSTL/CFtoFlex.hs, nothing ) [38 of 83] Compiling BNFC.Backend.C.CFtoCSkel ( src/BNFC/Backend/C/CFtoCSkel.hs, nothing ) [39 of 83] Compiling BNFC.Backend.C.CFtoCPrinter ( src/BNFC/Backend/C/CFtoCPrinter.hs, nothing ) [40 of 83] Compiling BNFC.Backend.Base ( src/BNFC/Backend/Base.hs, nothing ) [41 of 83] Compiling Paths_BNFC ( dist/build/autogen/Paths_BNFC.hs, nothing ) [42 of 83] Compiling BNFC.Options ( src/BNFC/Options.hs, nothing ) [43 of 83] Compiling BNFC.GetCF ( src/BNFC/GetCF.hs, nothing ) src/BNFC/GetCF.hs:276:48: 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." | 276 | notIdent s = null s || not (isAlpha (head s)) || any (not . isIdentRest) s | ^^^^ src/BNFC/GetCF.hs:291:59: warning: [GHC-58520] [-Wtype-equality-requires-operators] The use of ~ without TypeOperators will become an error in a future GHC release. Suggested fix: Perhaps you intended to use TypeOperators | 291 | default fixTokenCats :: (Functor t, FixTokenCats b, t b ~ a) => [TokenCat] -> a -> a | ^ src/BNFC/GetCF.hs:595:38: 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." | 595 | isBadCatName s = not $ isUpper (head s) || (head s == '@') | ^^^^ src/BNFC/GetCF.hs:595:50: 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." | 595 | isBadCatName s = not $ isUpper (head s) || (head s == '@') | ^^^^ [44 of 83] Compiling BNFC.Backend.Pygments ( src/BNFC/Backend/Pygments.hs, nothing ) [45 of 83] Compiling BNFC.Backend.Java.RegToJLex ( src/BNFC/Backend/Java/RegToJLex.hs, nothing ) [46 of 83] Compiling BNFC.Backend.Java.CFtoJavaAbs15 ( src/BNFC/Backend/Java/CFtoJavaAbs15.hs, nothing ) [47 of 83] Compiling BNFC.Backend.Java.CFtoVisitSkel15 ( src/BNFC/Backend/Java/CFtoVisitSkel15.hs, nothing ) [48 of 83] Compiling BNFC.Backend.Java.CFtoJavaPrinter15 ( src/BNFC/Backend/Java/CFtoJavaPrinter15.hs, nothing ) [49 of 83] Compiling BNFC.Backend.Java.CFtoFoldVisitor ( src/BNFC/Backend/Java/CFtoFoldVisitor.hs, nothing ) [50 of 83] Compiling BNFC.Backend.Java.CFtoComposVisitor ( src/BNFC/Backend/Java/CFtoComposVisitor.hs, nothing ) [51 of 83] Compiling BNFC.Backend.Java.CFtoJLex15 ( src/BNFC/Backend/Java/CFtoJLex15.hs, nothing ) [52 of 83] Compiling BNFC.Backend.Java.CFtoCup15 ( src/BNFC/Backend/Java/CFtoCup15.hs, nothing ) src/BNFC/Backend/Java/CFtoCup15.hs:122:23: warning: [GHC-63394] [-Wx-partial] In the use of head (imported from Data.List, 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." | 122 | | isUpper (head x) = call ("new " ++ packageAbsyn ++ "." ++ x) es | ^^^^ [53 of 83] Compiling BNFC.Backend.Java.CFtoAntlr4Parser ( src/BNFC/Backend/Java/CFtoAntlr4Parser.hs, nothing ) [54 of 83] Compiling BNFC.Backend.Haskell.Utils ( src/BNFC/Backend/Haskell/Utils.hs, nothing ) [55 of 83] Compiling BNFC.Backend.HaskellGADT.HaskellGADTCommon ( src/BNFC/Backend/HaskellGADT/HaskellGADTCommon.hs, nothing ) src/BNFC/Backend/HaskellGADT/HaskellGADTCommon.hs:40:16: 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." | 40 | ruleFun cf f = head $ filter ((f ==) . funName . funRule) $ cfgRules cf | ^^^^ [56 of 83] Compiling BNFC.Backend.HaskellGADT.CFtoTemplateGADT ( src/BNFC/Backend/HaskellGADT/CFtoTemplateGADT.hs, nothing ) src/BNFC/Backend/HaskellGADT/CFtoTemplateGADT.hs:62:26: 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." | 62 | catCons cf = [ (consCat (head cs),cs) | cs <- groupBy catEq $ cf2cons cf] | ^^^^ [57 of 83] Compiling BNFC.Backend.Haskell.CFtoTemplate ( src/BNFC/Backend/Haskell/CFtoTemplate.hs, nothing ) [58 of 83] Compiling BNFC.Backend.Haskell.HsOpts ( src/BNFC/Backend/Haskell/HsOpts.hs, nothing ) [59 of 83] Compiling BNFC.Backend.XML ( src/BNFC/Backend/XML.hs, nothing ) [60 of 83] Compiling BNFC.Backend.Haskell.CFtoPrinter ( src/BNFC/Backend/Haskell/CFtoPrinter.hs, nothing ) src/BNFC/Backend/Haskell/CFtoPrinter.hs:299:36: 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." | 299 | | isOneFun f = text "[" <+> head variables <+> "]" | ^^^^ [61 of 83] Compiling BNFC.Backend.OCaml.CFtoOCamlPrinter ( src/BNFC/Backend/OCaml/CFtoOCamlPrinter.hs, nothing ) [62 of 83] Compiling BNFC.Backend.OCaml.CFtoOCamlTest ( src/BNFC/Backend/OCaml/CFtoOCamlTest.hs, nothing ) [63 of 83] Compiling BNFC.Backend.Haskell.CFtoLayout ( src/BNFC/Backend/Haskell/CFtoLayout.hs, nothing ) [64 of 83] Compiling BNFC.Backend.Haskell.CFtoHappy ( src/BNFC/Backend/Haskell/CFtoHappy.hs, nothing ) [65 of 83] Compiling BNFC.Backend.Haskell.CFtoAlex3 ( src/BNFC/Backend/Haskell/CFtoAlex3.hs, nothing ) [66 of 83] Compiling BNFC.Backend.Haskell.CFtoAbstract ( src/BNFC/Backend/Haskell/CFtoAbstract.hs, nothing ) [67 of 83] Compiling BNFC.Backend.HaskellGADT.CFtoAbstractGADT ( src/BNFC/Backend/HaskellGADT/CFtoAbstractGADT.hs, nothing ) [68 of 83] Compiling BNFC.Backend.Common.Makefile ( src/BNFC/Backend/Common/Makefile.hs, nothing ) [69 of 83] Compiling BNFC.Backend.OCaml ( src/BNFC/Backend/OCaml.hs, nothing ) [70 of 83] Compiling BNFC.Backend.Latex ( src/BNFC/Backend/Latex.hs, nothing ) [71 of 83] Compiling BNFC.Backend.Java ( src/BNFC/Backend/Java.hs, nothing ) src/BNFC/Backend/Java.hs:82:18: 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." | 82 | (head $ results lexmake) -- lexer class | ^^^^ src/BNFC/Backend/Java.hs:83:18: 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." | 83 | (head $ results parmake) -- parser class | ^^^^ src/BNFC/Backend/Java.hs:647:24: 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." | 647 | def = head eps | ^^^^ [72 of 83] Compiling BNFC.Backend.CPP.Makefile ( src/BNFC/Backend/CPP/Makefile.hs, nothing ) [73 of 83] Compiling BNFC.Backend.CPP.STL.CFtoSTLAbs ( src/BNFC/Backend/CPP/STL/CFtoSTLAbs.hs, nothing ) [74 of 83] Compiling BNFC.Backend.C.CFtoCAbs ( src/BNFC/Backend/C/CFtoCAbs.hs, nothing ) src/BNFC/Backend/C/CFtoCAbs.hs:186:42: 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." | 186 | prInstVarsOneType ivars = text (fst (head ivars)) | ^^^^ [75 of 83] Compiling BNFC.Backend.C.CFtoBisonC ( src/BNFC/Backend/C/CFtoBisonC.hs, nothing ) [76 of 83] Compiling BNFC.Backend.CPP.STL.CFtoBisonSTL ( src/BNFC/Backend/CPP/STL/CFtoBisonSTL.hs, nothing ) src/BNFC/Backend/CPP/STL/CFtoBisonSTL.hs:156:24: 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." | 156 | | isUpper (head x) = call ("new " ++ x) es | ^^^^ src/BNFC/Backend/CPP/STL/CFtoBisonSTL.hs:332:36: 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." | 332 | then lastms ++ "->push_back(" ++ head ms ++ ") ; $$ = " ++ lastms ++ " ;" ---- not left rec | ^^^^ [77 of 83] Compiling BNFC.Backend.CPP.NoSTL.CFtoBison ( src/BNFC/Backend/CPP/NoSTL/CFtoBison.hs, nothing ) [78 of 83] Compiling BNFC.Backend.C ( src/BNFC/Backend/C.hs, nothing ) [79 of 83] Compiling BNFC.Backend.CPP.STL ( src/BNFC/Backend/CPP/STL.hs, nothing ) [80 of 83] Compiling BNFC.Backend.CPP.NoSTL ( src/BNFC/Backend/CPP/NoSTL.hs, nothing ) [81 of 83] Compiling BNFC.Backend.Agda ( src/BNFC/Backend/Agda.hs, nothing ) src/BNFC/Backend/Agda.hs:480:70: 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." | 480 | prData' amod style d cs = [ prettyData style d cs , pragmaData amod (head $ words d) cs ] | ^^^^ src/BNFC/Backend/Agda.hs:613:25: 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." | 613 | nameFor d = [ toLower $ head $ dropWhile (== '#') d ] | ^^^^ [82 of 83] Compiling BNFC.Backend.Haskell ( src/BNFC/Backend/Haskell.hs, nothing ) [83 of 83] Compiling BNFC.Backend.HaskellGADT ( src/BNFC/Backend/HaskellGADT.hs, nothing ) Haddock coverage: 0% ( 0 / 13) in 'BNFC.Abs' Missing documentation for: Module header Identifier (src/BNFC/Abs.hs:9) Grammar (src/BNFC/Abs.hs:12) Def (src/BNFC/Abs.hs:15) Item (src/BNFC/Abs.hs:34) Cat (src/BNFC/Abs.hs:37) Label (src/BNFC/Abs.hs:40) Arg (src/BNFC/Abs.hs:43) Separation (src/BNFC/Abs.hs:46) Exp (src/BNFC/Abs.hs:49) RHS (src/BNFC/Abs.hs:60) MinimumSize (src/BNFC/Abs.hs:63) Reg (src/BNFC/Abs.hs:66) 0% ( 0 / 6) in 'BNFC.Backend.CPP.STL.STLUtils' Missing documentation for: Module header nsDefine (src/BNFC/Backend/CPP/STL/STLUtils.hs:13) nsStart (src/BNFC/Backend/CPP/STL/STLUtils.hs:16) nsEnd (src/BNFC/Backend/CPP/STL/STLUtils.hs:19) nsScope (src/BNFC/Backend/CPP/STL/STLUtils.hs:22) nsString (src/BNFC/Backend/CPP/STL/STLUtils.hs:25) Warning: 'C' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'a' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'S' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: '\\' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 66% ( 2 / 3) in 'BNFC.Backend.Common.StrUtils' Missing documentation for: Module header 33% ( 1 / 3) in 'BNFC.Backend.Java.RegToAntlrLexer' Missing documentation for: Module header printRegJLex (src/BNFC/Backend/Java/RegToAntlrLexer.hs:12) 2% ( 1 / 49) in 'BNFC.Lex' Missing documentation for: Module header alex_tab_size (dist/build/BNFC/Lex.hs:29) alex_base (dist/build/BNFC/Lex.hs:31) alex_table (dist/build/BNFC/Lex.hs:35) alex_check (dist/build/BNFC/Lex.hs:39) alex_deflt (dist/build/BNFC/Lex.hs:43) alex_accept (dist/build/BNFC/Lex.hs:46) alex_actions (dist/build/BNFC/Lex.hs:113) alex_action_3 (dist/build/BNFC/Lex.hs:127) alex_action_4 (dist/build/BNFC/Lex.hs:128) alex_action_5 (dist/build/BNFC/Lex.hs:129) alex_action_6 (dist/build/BNFC/Lex.hs:130) alex_action_7 (dist/build/BNFC/Lex.hs:131) alex_action_8 (dist/build/BNFC/Lex.hs:132) alex_action_9 (dist/build/BNFC/Lex.hs:133) AlexAddr (dist/build/BNFC/Lex.hs:177) alexIndexInt16OffAddr (dist/build/BNFC/Lex.hs:185) alexIndexInt32OffAddr (dist/build/BNFC/Lex.hs:206) quickIndex (dist/build/BNFC/Lex.hs:234) AlexReturn (dist/build/BNFC/Lex.hs:243) alexScan (dist/build/BNFC/Lex.hs:250) alexScanUser (dist/build/BNFC/Lex.hs:253) alex_scan_tkn (dist/build/BNFC/Lex.hs:284) AlexLastAcc (dist/build/BNFC/Lex.hs:338) AlexAcc (dist/build/BNFC/Lex.hs:343) tok (src/BNFC/Lex.x:50) Tok (src/BNFC/Lex.x:52) Token (src/BNFC/Lex.x:63) printPosn (src/BNFC/Lex.x:69) tokenPos (src/BNFC/Lex.x:72) tokenPosn (src/BNFC/Lex.x:76) tokenLineCol (src/BNFC/Lex.x:80) posLineCol (src/BNFC/Lex.x:83) mkPosToken (src/BNFC/Lex.x:86) tokenText (src/BNFC/Lex.x:89) prToken (src/BNFC/Lex.x:100) BTree (src/BNFC/Lex.x:102) eitherResIdent (src/BNFC/Lex.x:105) resWords (src/BNFC/Lex.x:113) unescapeInitTail (src/BNFC/Lex.x:118) Posn (src/BNFC/Lex.x:135) alexStartPos (src/BNFC/Lex.x:139) alexMove (src/BNFC/Lex.x:142) Byte (src/BNFC/Lex.x:146) AlexInput (src/BNFC/Lex.x:148) tokens (src/BNFC/Lex.x:154) alexGetByte (src/BNFC/Lex.x:165) alexInputPrevChar (src/BNFC/Lex.x:175) 0% ( 0 / 2) in 'BNFC.License' Missing documentation for: Module header license (src/BNFC/License.hs:10) 0% ( 0 / 27) in 'BNFC.Par' Missing documentation for: Module header happyError (dist/build/BNFC/Par.hs:1250) myLexer (dist/build/BNFC/Par.hs:1257) pGrammar (dist/build/BNFC/Par.hs:1174) pListDef (dist/build/BNFC/Par.hs:1177) pDef (dist/build/BNFC/Par.hs:1180) pItem (dist/build/BNFC/Par.hs:1183) pListItem (dist/build/BNFC/Par.hs:1186) pCat (dist/build/BNFC/Par.hs:1189) pListCat (dist/build/BNFC/Par.hs:1192) pLabel (dist/build/BNFC/Par.hs:1195) pArg (dist/build/BNFC/Par.hs:1198) pListArg (dist/build/BNFC/Par.hs:1201) pSeparation (dist/build/BNFC/Par.hs:1204) pListString (dist/build/BNFC/Par.hs:1207) pExp (dist/build/BNFC/Par.hs:1210) pExp1 (dist/build/BNFC/Par.hs:1213) pExp2 (dist/build/BNFC/Par.hs:1216) pListExp (dist/build/BNFC/Par.hs:1219) pListExp2 (dist/build/BNFC/Par.hs:1222) pRHS (dist/build/BNFC/Par.hs:1225) pListRHS (dist/build/BNFC/Par.hs:1228) pMinimumSize (dist/build/BNFC/Par.hs:1231) pReg (dist/build/BNFC/Par.hs:1234) pReg1 (dist/build/BNFC/Par.hs:1237) pReg2 (dist/build/BNFC/Par.hs:1240) pReg3 (dist/build/BNFC/Par.hs:1243) Warning: BNFC.PrettyPrint: Could not find documentation for exported module: BNFC.PrettyPrint 100% ( 9 / 9) in 'BNFC.PrettyPrint' 0% ( 0 / 2) in 'BNFC.Backend.Haskell.MkErrM' Missing documentation for: Module header mkErrM (src/BNFC/Backend/Haskell/MkErrM.hs:16) 25% ( 3 / 12) in 'BNFC.Print' Missing documentation for: Doc (src/BNFC/Print.hs:21) doc (src/BNFC/Print.hs:24) render (src/BNFC/Print.hs:27) parenth (src/BNFC/Print.hs:58) concatS (src/BNFC/Print.hs:61) concatD (src/BNFC/Print.hs:64) replicateS (src/BNFC/Print.hs:67) mkEsc (src/BNFC/Print.hs:84) prPrec (src/BNFC/Print.hs:92) 100% ( 3 / 3) in 'BNFC.Regex' Warning: 'forM' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 88% ( 32 / 36) in 'BNFC.Utils' Missing documentation for: Module header camelCase_ (src/BNFC/Utils.hs:446) snakeCase_ (src/BNFC/Utils.hs:463) getZonedTimeTruncatedToSeconds (src/BNFC/Utils.hs:232) Warning: 'ListC' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'Rule' is ambiguous. It is defined * at src/BNFC/CF.hs:137:21 * at src/BNFC/CF.hs:132:1 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 src/BNFC/CF.hs:132:1 Warning: 'comment' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 57% ( 60 /104) in 'BNFC.CF' Missing documentation for: Module header npRule (src/BNFC/CF.hs:327) valCat (src/BNFC/CF.hs:324) lookupRule (src/BNFC/CF.hs:552) InternalRule (src/BNFC/CF.hs:152) Symbol (src/BNFC/CF.hs:277) KeyWord (src/BNFC/CF.hs:278) noPosition (src/BNFC/CF.hs:308) prettyPosition (src/BNFC/CF.hs:294) npIdentifier (src/BNFC/CF.hs:330) WithPosition (src/BNFC/CF.hs:298) RCat (src/BNFC/CF.hs:321) BaseCat (src/BNFC/CF.hs:351) TokenCat (src/BNFC/CF.hs:350) catString (src/BNFC/CF.hs:388) catInteger (src/BNFC/CF.hs:389) catDouble (src/BNFC/CF.hs:390) catChar (src/BNFC/CF.hs:391) catIdent (src/BNFC/CF.hs:392) NonTerminal (src/BNFC/CF.hs:354) RFun (src/BNFC/CF.hs:474) IsFun (src/BNFC/CF.hs:479) cf2data (src/BNFC/CF.hs:697) cf2dataLists (src/BNFC/CF.hs:700) specialCatsP (src/BNFC/CF.hs:400) specialData (src/BNFC/CF.hs:703) isDefinedRule (src/BNFC/CF.hs:496) isProperLabel (src/BNFC/CF.hs:506) allParserCats (src/BNFC/CF.hs:591) findAllReversibleCats (src/BNFC/CF.hs:752) isList (src/BNFC/CF.hs:442) isTokenCat (src/BNFC/CF.hs:454) maybeTokenCat (src/BNFC/CF.hs:458) isNilFun (src/BNFC/CF.hs:510) isOneFun (src/BNFC/CF.hs:511) isConsFun (src/BNFC/CF.hs:512) isNilCons (src/BNFC/CF.hs:509) isEmptyListCat (src/BNFC/CF.hs:738) revSepListRule (src/BNFC/CF.hs:747) isDataOrListCat (src/BNFC/CF.hs:407) normCatOfList (src/BNFC/CF.hs:432) precRule (src/BNFC/CF.hs:775) hasLayout (src/BNFC/CF.hs:272) layoutPragmas (src/BNFC/CF.hs:265) 58% ( 7 / 12) in 'BNFC.TypeChecker' Missing documentation for: runTypeChecker (src/BNFC/TypeChecker.hs:53) checkDefinition' (src/BNFC/TypeChecker.hs:94) buildContext (src/BNFC/TypeChecker.hs:187) isToken (src/BNFC/TypeChecker.hs:194) ListConstructors (src/BNFC/TypeChecker.hs:66) Warning: '\\' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'e'' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 25% ( 1 / 4) in 'BNFC.Lexing' Missing documentation for: Module header mkLexer (src/BNFC/Lexing.hs:25) LexType (src/BNFC/Lexing.hs:22) 100% ( 2 / 2) in 'BNFC.Check.EmptyTypes' 0% ( 0 / 9) in 'BNFC.Backend.Common.OOAbstract' Missing documentation for: Module header CAbs (src/BNFC/Backend/Common/OOAbstract.hs:24) CAbsRule (src/BNFC/Backend/Common/OOAbstract.hs:35) allClasses (src/BNFC/Backend/Common/OOAbstract.hs:39) allNonClasses (src/BNFC/Backend/Common/OOAbstract.hs:44) cf2cabs (src/BNFC/Backend/Common/OOAbstract.hs:48) basetypes (src/BNFC/Backend/Common/OOAbstract.hs:85) classVar (src/BNFC/Backend/Common/OOAbstract.hs:94) pointerIf (src/BNFC/Backend/Common/OOAbstract.hs:97) 38% ( 5 / 13) in 'BNFC.Backend.Common.NamedVariables' Missing documentation for: Module header IVar (src/BNFC/Backend/Common/NamedVariables.hs:66) UserDef (src/BNFC/Backend/Common/NamedVariables.hs:70) SymKey (src/BNFC/Backend/Common/NamedVariables.hs:80) fixCoercions (src/BNFC/Backend/Common/NamedVariables.hs:134) varName (src/BNFC/Backend/Common/NamedVariables.hs:148) showNum (src/BNFC/Backend/Common/NamedVariables.hs:151) firstLowerCase (src/BNFC/Backend/Common/NamedVariables.hs:155) 60% ( 3 / 5) in 'BNFC.Backend.Common' Missing documentation for: unicodeAndSymbols (src/BNFC/Backend/Common.hs:20) asciiKeywords (src/BNFC/Backend/Common.hs:23) 0% ( 0 / 2) in 'BNFC.Backend.C.RegToFlex' Missing documentation for: Module header printRegFlex (src/BNFC/Backend/C/RegToFlex.hs:15) 0% ( 0 / 2) in 'BNFC.Backend.Txt2Tag' Missing documentation for: Module header cfToTxt (src/BNFC/Backend/Txt2Tag.hs:15) 27% ( 3 / 11) in 'BNFC.Backend.OCaml.OCamlUtil' Missing documentation for: Module header fixType (src/BNFC/Backend/OCaml/OCamlUtil.hs:18) fixTypeQual (src/BNFC/Backend/OCaml/OCamlUtil.hs:22) fixTypeUpper (src/BNFC/Backend/OCaml/OCamlUtil.hs:37) reservedOCaml (src/BNFC/Backend/OCaml/OCamlUtil.hs:43) mkTuple (src/BNFC/Backend/OCaml/OCamlUtil.hs:77) insertBar (src/BNFC/Backend/OCaml/OCamlUtil.hs:82) mutualDefs (src/BNFC/Backend/OCaml/OCamlUtil.hs:87) 0% ( 0 / 2) in 'BNFC.Backend.OCaml.CFtoOCamlTemplate' Missing documentation for: Module header cf2Template (src/BNFC/Backend/OCaml/CFtoOCamlTemplate.hs:23) 25% ( 1 / 4) in 'BNFC.Backend.OCaml.CFtoOCamlYacc' Missing documentation for: Module header cf2ocamlyacc (src/BNFC/Backend/OCaml/CFtoOCamlYacc.hs:34) epName (src/BNFC/Backend/OCaml/CFtoOCamlYacc.hs:146) 0% ( 0 / 3) in 'BNFC.Backend.OCaml.CFtoOCamlShow' Missing documentation for: Module header cf2show (src/BNFC/Backend/OCaml/CFtoOCamlShow.hs:23) showsFunQual (src/BNFC/Backend/OCaml/CFtoOCamlShow.hs:134) 0% ( 0 / 2) in 'BNFC.Backend.OCaml.CFtoOCamlLex' Missing documentation for: Module header cf2ocamllex (src/BNFC/Backend/OCaml/CFtoOCamlLex.hs:30) 0% ( 0 / 2) in 'BNFC.Backend.OCaml.CFtoOCamlAbs' Missing documentation for: Module header cf2Abstract (src/BNFC/Backend/OCaml/CFtoOCamlAbs.hs:20) 33% ( 2 / 6) in 'BNFC.Backend.Java.Utils' Missing documentation for: Module header javaReserved (src/BNFC/Backend/Java/Utils.hs:7) getLabelName (src/BNFC/Backend/Java/Utils.hs:74) getLastInPackage (src/BNFC/Backend/Java/Utils.hs:77) 50% ( 1 / 2) in 'BNFC.Backend.Java.CFtoAntlr4Lexer' Missing documentation for: Module header 0% ( 0 / 2) in 'BNFC.Backend.Java.CFtoAllVisitor' Missing documentation for: Module header cf2AllVisitor (src/BNFC/Backend/Java/CFtoAllVisitor.hs:17) 0% ( 0 / 2) in 'BNFC.Backend.Java.CFtoAbstractVisitor' Missing documentation for: Module header cf2AbstractVisitor (src/BNFC/Backend/Java/CFtoAbstractVisitor.hs:15) 0% ( 0 / 3) in 'BNFC.Backend.CPP.PrettyPrinter' Missing documentation for: Module header cf2CPPPrinter (src/BNFC/Backend/CPP/PrettyPrinter.hs:38) prRender (src/BNFC/Backend/CPP/PrettyPrinter.hs:656) 0% ( 0 / 2) in 'BNFC.Backend.CPP.NoSTL.CFtoCPPAbs' Missing documentation for: Module header cf2CPPAbs (src/BNFC/Backend/CPP/NoSTL/CFtoCPPAbs.hs:32) 0% ( 0 / 4) in 'BNFC.Backend.CPP.Naming' Missing documentation for: Module header cReservedWords (src/BNFC/Backend/CPP/Naming.hs:6) cppReservedWords (src/BNFC/Backend/CPP/Naming.hs:12) mkVariable (src/BNFC/Backend/CPP/Naming.hs:21) 0% ( 0 / 2) in 'BNFC.Backend.CPP.STL.CFtoCVisitSkelSTL' Missing documentation for: Module header cf2CVisitSkel (src/BNFC/Backend/CPP/STL/CFtoCVisitSkelSTL.hs:27) 75% ( 6 / 8) in 'BNFC.Backend.C.CFtoFlexC' Missing documentation for: Module header cMacros (src/BNFC/Backend/C/CFtoFlexC.hs:135) 0% ( 0 / 2) in 'BNFC.Backend.CPP.NoSTL.CFtoFlex' Missing documentation for: Module header cf2flex (src/BNFC/Backend/CPP/NoSTL/CFtoFlex.hs:34) 0% ( 0 / 2) in 'BNFC.Backend.C.CFtoCSkel' Missing documentation for: Module header cf2CSkel (src/BNFC/Backend/C/CFtoCSkel.hs:29) 50% ( 1 / 2) in 'BNFC.Backend.C.CFtoCPrinter' Missing documentation for: Module header 85% ( 6 / 7) in 'BNFC.Backend.Base' Missing documentation for: Backend (src/BNFC/Backend/Base.hs:38) 63% ( 12 / 19) in 'BNFC.Options' Missing documentation for: Module header Backend (src/BNFC/Options.hs:136) usage (src/BNFC/Options.hs:411) help (src/BNFC/Options.hs:419) defaultOptions (src/BNFC/Options.hs:141) RecordPositions (src/BNFC/Options.hs:95) removedIn290 (src/BNFC/Options.hs:594) Warning: 'rules' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 75% ( 3 / 4) in 'BNFC.GetCF' Missing documentation for: checkRule (src/BNFC/GetCF.hs:545) Warning: 'a' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'b' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'c' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 20% ( 1 / 5) in 'BNFC.Backend.Pygments' Missing documentation for: Module header makePygments (src/BNFC/Backend/Pygments.hs:23) setup (src/BNFC/Backend/Pygments.hs:31) lexer (src/BNFC/Backend/Pygments.hs:49) 33% ( 1 / 3) in 'BNFC.Backend.Java.RegToJLex' Missing documentation for: Module header escapeChar (src/BNFC/Backend/Java/RegToJLex.hs:27) 75% ( 3 / 4) in 'BNFC.Backend.Java.CFtoJavaAbs15' Missing documentation for: Module header 0% ( 0 / 2) in 'BNFC.Backend.Java.CFtoVisitSkel15' Missing documentation for: Module header cf2VisitSkel (src/BNFC/Backend/Java/CFtoVisitSkel15.hs:37) 0% ( 0 / 2) in 'BNFC.Backend.Java.CFtoJavaPrinter15' Missing documentation for: Module header cf2JavaPrinter (src/BNFC/Backend/Java/CFtoJavaPrinter15.hs:50) 0% ( 0 / 2) in 'BNFC.Backend.Java.CFtoFoldVisitor' Missing documentation for: Module header cf2FoldVisitor (src/BNFC/Backend/Java/CFtoFoldVisitor.hs:22) 0% ( 0 / 2) in 'BNFC.Backend.Java.CFtoComposVisitor' Missing documentation for: Module header cf2ComposVisitor (src/BNFC/Backend/Java/CFtoComposVisitor.hs:24) 50% ( 1 / 2) in 'BNFC.Backend.Java.CFtoJLex15' Missing documentation for: Module header 0% ( 0 / 3) in 'BNFC.Backend.Java.CFtoCup15' Missing documentation for: Module header cf2Cup (src/BNFC/Backend/Java/CFtoCup15.hs:36) definedRules (src/BNFC/Backend/Java/CFtoCup15.hs:83) Warning: 'PDef' is ambiguous. It is defined * at src/BNFC/Backend/Java/CFtoAntlr4Parser.hs:34:13 * at src/BNFC/Backend/Java/CFtoAntlr4Parser.hs:34:1 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 src/BNFC/Backend/Java/CFtoAntlr4Parser.hs:34:1 Warning: 'pdCat' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 50% ( 1 / 2) in 'BNFC.Backend.Java.CFtoAntlr4Parser' Missing documentation for: Module header 38% ( 8 / 21) in 'BNFC.Backend.Haskell.Utils' Missing documentation for: Module header posType (src/BNFC/Backend/Haskell/Utils.hs:39) posConstr (src/BNFC/Backend/Haskell/Utils.hs:40) noPosConstr (src/BNFC/Backend/Haskell/Utils.hs:41) hasPositionClass (src/BNFC/Backend/Haskell/Utils.hs:47) hasPositionMethod (src/BNFC/Backend/Haskell/Utils.hs:48) noWarnUnusedMatches (src/BNFC/Backend/Haskell/Utils.hs:30) typeToHaskell' (src/BNFC/Backend/Haskell/Utils.hs:205) tokenTextImport (src/BNFC/Backend/Haskell/Utils.hs:53) tokenTextType (src/BNFC/Backend/Haskell/Utils.hs:59) tokenTextPack (src/BNFC/Backend/Haskell/Utils.hs:65) tokenTextPackParens (src/BNFC/Backend/Haskell/Utils.hs:71) tokenTextUnpack (src/BNFC/Backend/Haskell/Utils.hs:80) 25% ( 1 / 4) in 'BNFC.Backend.HaskellGADT.HaskellGADTCommon' Missing documentation for: Module header Constructor (src/BNFC/Backend/HaskellGADT/HaskellGADTCommon.hs:13) isTreeType (src/BNFC/Backend/HaskellGADT/HaskellGADTCommon.hs:51) 0% ( 0 / 2) in 'BNFC.Backend.HaskellGADT.CFtoTemplateGADT' Missing documentation for: Module header cf2Template (src/BNFC/Backend/HaskellGADT/CFtoTemplateGADT.hs:19) 0% ( 0 / 2) in 'BNFC.Backend.Haskell.CFtoTemplate' Missing documentation for: Module header cf2Template (src/BNFC/Backend/Haskell/CFtoTemplate.hs:19) 10% ( 4 / 40) in 'BNFC.Backend.Haskell.HsOpts' Missing documentation for: Module header Options (src/BNFC/Backend/Haskell/HsOpts.hs:9) absFile (src/BNFC/Backend/Haskell/HsOpts.hs:20) absFileM (src/BNFC/Backend/Haskell/HsOpts.hs:21) alexFile (src/BNFC/Backend/Haskell/HsOpts.hs:22) alexFileHs (src/BNFC/Backend/Haskell/HsOpts.hs:23) alexFileM (src/BNFC/Backend/Haskell/HsOpts.hs:24) happyFile (src/BNFC/Backend/Haskell/HsOpts.hs:25) happyFileHs (src/BNFC/Backend/Haskell/HsOpts.hs:26) happyFileM (src/BNFC/Backend/Haskell/HsOpts.hs:27) txtFile (src/BNFC/Backend/Haskell/HsOpts.hs:28) templateFile (src/BNFC/Backend/Haskell/HsOpts.hs:29) templateFileM (src/BNFC/Backend/Haskell/HsOpts.hs:30) printerFile (src/BNFC/Backend/Haskell/HsOpts.hs:31) printerFileM (src/BNFC/Backend/Haskell/HsOpts.hs:32) tFile (src/BNFC/Backend/Haskell/HsOpts.hs:33) tFileExe (src/BNFC/Backend/Haskell/HsOpts.hs:34) errFile (src/BNFC/Backend/Haskell/HsOpts.hs:35) errFileM (src/BNFC/Backend/Haskell/HsOpts.hs:36) layoutFileM (src/BNFC/Backend/Haskell/HsOpts.hs:37) layoutFile (src/BNFC/Backend/Haskell/HsOpts.hs:38) xmlFile (src/BNFC/Backend/Haskell/HsOpts.hs:39) xmlFileM (src/BNFC/Backend/Haskell/HsOpts.hs:40) composOpFile (src/BNFC/Backend/Haskell/HsOpts.hs:41) composOpFileM (src/BNFC/Backend/Haskell/HsOpts.hs:42) agdaASTFile (src/BNFC/Backend/Haskell/HsOpts.hs:55) agdaASTFileM (src/BNFC/Backend/Haskell/HsOpts.hs:56) agdaParserFile (src/BNFC/Backend/Haskell/HsOpts.hs:57) agdaParserFileM (src/BNFC/Backend/Haskell/HsOpts.hs:58) agdaLibFile (src/BNFC/Backend/Haskell/HsOpts.hs:59) agdaLibFileM (src/BNFC/Backend/Haskell/HsOpts.hs:60) agdaMainFile (src/BNFC/Backend/Haskell/HsOpts.hs:61) agdaMainFileM (src/BNFC/Backend/Haskell/HsOpts.hs:62) noLang (src/BNFC/Backend/Haskell/HsOpts.hs:66) withLang (src/BNFC/Backend/Haskell/HsOpts.hs:69) pkgToDir (src/BNFC/Backend/Haskell/HsOpts.hs:72) 2% ( 1 / 40) in 'BNFC.Backend.XML' Missing documentation for: Module header Coding (src/BNFC/Backend/XML.hs:21) makeXML (src/BNFC/Backend/XML.hs:24) cf2DTD (src/BNFC/Backend/XML.hs:32) element (src/BNFC/Backend/XML.hs:50) attlist (src/BNFC/Backend/XML.hs:53) elemAtt (src/BNFC/Backend/XML.hs:55) elemt (src/BNFC/Backend/XML.hs:56) elemc (src/BNFC/Backend/XML.hs:59) elemEmp (src/BNFC/Backend/XML.hs:62) alts (src/BNFC/Backend/XML.hs:65) elemData (src/BNFC/Backend/XML.hs:69) efunDef (src/BNFC/Backend/XML.hs:70) endtagDef (src/BNFC/Backend/XML.hs:71) elemDataConstrs (src/BNFC/Backend/XML.hs:77) efunDefConstrs (src/BNFC/Backend/XML.hs:78) endtagDefConstrs (src/BNFC/Backend/XML.hs:79) elemDataConstr (src/BNFC/Backend/XML.hs:85) efunDefConstr (src/BNFC/Backend/XML.hs:86) endtagDefConstr (src/BNFC/Backend/XML.hs:87) elemDataNotyp (src/BNFC/Backend/XML.hs:93) efunDefNotyp (src/BNFC/Backend/XML.hs:94) endtagDefNotyp (src/BNFC/Backend/XML.hs:95) rhsCat (src/BNFC/Backend/XML.hs:105) rhsCatNot (src/BNFC/Backend/XML.hs:106) symbCat (src/BNFC/Backend/XML.hs:108) symbCatNot (src/BNFC/Backend/XML.hs:112) parenth (src/BNFC/Backend/XML.hs:121) cf2XMLPrinter (src/BNFC/Backend/XML.hs:125) pragmas (src/BNFC/Backend/XML.hs:138) prologue (src/BNFC/Backend/XML.hs:144) integerRule (src/BNFC/Backend/XML.hs:192) doubleRule (src/BNFC/Backend/XML.hs:193) stringRule (src/BNFC/Backend/XML.hs:194) showsPrintRule (src/BNFC/Backend/XML.hs:196) identRule (src/BNFC/Backend/XML.hs:201) ownPrintRule (src/BNFC/Backend/XML.hs:204) rules (src/BNFC/Backend/XML.hs:212) case_fun (src/BNFC/Backend/XML.hs:222) Warning: 'Prelude'' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 66% ( 2 / 3) in 'BNFC.Backend.Haskell.CFtoPrinter' Missing documentation for: Module header 0% ( 0 / 3) in 'BNFC.Backend.OCaml.CFtoOCamlPrinter' Missing documentation for: Module header cf2Printer (src/BNFC/Backend/OCaml/CFtoOCamlPrinter.hs:28) prtFun (src/BNFC/Backend/OCaml/CFtoOCamlPrinter.hs:229) 66% ( 2 / 3) in 'BNFC.Backend.OCaml.CFtoOCamlTest' Missing documentation for: Module header 0% ( 0 / 5) in 'BNFC.Backend.Haskell.CFtoLayout' Missing documentation for: Module header layoutOpen (src/BNFC/Backend/Haskell/CFtoLayout.hs:15) layoutClose (src/BNFC/Backend/Haskell/CFtoLayout.hs:16) layoutSep (src/BNFC/Backend/Haskell/CFtoLayout.hs:17) cf2Layout (src/BNFC/Backend/Haskell/CFtoLayout.hs:20) 33% ( 1 / 3) in 'BNFC.Backend.Haskell.CFtoHappy' Missing documentation for: Module header convert (src/BNFC/Backend/Haskell/CFtoHappy.hs:128) 0% ( 0 / 2) in 'BNFC.Backend.Haskell.CFtoAlex3' Missing documentation for: Module header cf2alex3 (src/BNFC/Backend/Haskell/CFtoAlex3.hs:24) 66% ( 2 / 3) in 'BNFC.Backend.Haskell.CFtoAbstract' Missing documentation for: Module header 0% ( 0 / 2) in 'BNFC.Backend.HaskellGADT.CFtoAbstractGADT' Missing documentation for: Module header cf2Abstract (src/BNFC/Backend/HaskellGADT/CFtoAbstractGADT.hs:22) 80% ( 4 / 5) in 'BNFC.Backend.Common.Makefile' Missing documentation for: Module header 0% ( 0 / 2) in 'BNFC.Backend.OCaml' Missing documentation for: Module header makeOCaml (src/BNFC/Backend/OCaml.hs:74) 12% ( 4 / 33) in 'BNFC.Backend.Latex' Missing documentation for: Module header introduction (src/BNFC/Backend/Latex.hs:75) prtTerminals (src/BNFC/Backend/Latex.hs:84) identSection (src/BNFC/Backend/Latex.hs:99) prtIdentifiers (src/BNFC/Backend/Latex.hs:104) prtLiterals (src/BNFC/Backend/Latex.hs:111) stringLit (src/BNFC/Backend/Latex.hs:115) prtOwnToken (src/BNFC/Backend/Latex.hs:137) prtComments (src/BNFC/Backend/Latex.hs:145) prtSymb (src/BNFC/Backend/Latex.hs:161) prtReserved (src/BNFC/Backend/Latex.hs:168) stringRes (src/BNFC/Backend/Latex.hs:175) prtBNF (src/BNFC/Backend/Latex.hs:195) prtRules (src/BNFC/Backend/Latex.hs:206) prtSymbols (src/BNFC/Backend/Latex.hs:215) prt (src/BNFC/Backend/Latex.hs:222) macros (src/BNFC/Backend/Latex.hs:231) reserved (src/BNFC/Backend/Latex.hs:243) literal (src/BNFC/Backend/Latex.hs:246) empty (src/BNFC/Backend/Latex.hs:249) symbol (src/BNFC/Backend/Latex.hs:252) tabular (src/BNFC/Backend/Latex.hs:255) terminal (src/BNFC/Backend/Latex.hs:260) nonterminal (src/BNFC/Backend/Latex.hs:263) arrow (src/BNFC/Backend/Latex.hs:271) delimiter (src/BNFC/Backend/Latex.hs:274) beginDocument (src/BNFC/Backend/Latex.hs:277) endDocument (src/BNFC/Backend/Latex.hs:295) latexRegExp (src/BNFC/Backend/Latex.hs:301) 100% ( 2 / 2) in 'BNFC.Backend.Java' 0% ( 0 / 2) in 'BNFC.Backend.CPP.Makefile' Missing documentation for: Module header makefile (src/BNFC/Backend/CPP/Makefile.hs:7) 0% ( 0 / 2) in 'BNFC.Backend.CPP.STL.CFtoSTLAbs' Missing documentation for: Module header cf2CPPAbs (src/BNFC/Backend/CPP/STL/CFtoSTLAbs.hs:29) 50% ( 1 / 2) in 'BNFC.Backend.C.CFtoCAbs' Missing documentation for: Module header 22% ( 2 / 9) in 'BNFC.Backend.C.CFtoBisonC' Missing documentation for: Module header cf2Bison (src/BNFC/Backend/C/CFtoBisonC.hs:48) mkPointer (src/BNFC/Backend/C/CFtoBisonC.hs:207) resultName (src/BNFC/Backend/C/CFtoBisonC.hs:348) typeName (src/BNFC/Backend/C/CFtoBisonC.hs:359) specialToks (src/BNFC/Backend/C/CFtoBisonC.hs:248) unionBuiltinTokens (src/BNFC/Backend/C/CFtoBisonC.hs:214) 20% ( 1 / 5) in 'BNFC.Backend.CPP.STL.CFtoBisonSTL' Missing documentation for: Module header cf2Bison (src/BNFC/Backend/CPP/STL/CFtoBisonSTL.hs:58) tokens (src/BNFC/Backend/CPP/STL/CFtoBisonSTL.hs:278) definedRules (src/BNFC/Backend/CPP/STL/CFtoBisonSTL.hs:119) 0% ( 0 / 2) in 'BNFC.Backend.CPP.NoSTL.CFtoBison' Missing documentation for: Module header cf2Bison (src/BNFC/Backend/CPP/NoSTL/CFtoBison.hs:42) 50% ( 2 / 4) in 'BNFC.Backend.C' Missing documentation for: Module header makeC (src/BNFC/Backend/C.hs:29) 0% ( 0 / 2) in 'BNFC.Backend.CPP.STL' Missing documentation for: Module header makeCppStl (src/BNFC/Backend/CPP/STL.hs:33) 0% ( 0 / 2) in 'BNFC.Backend.CPP.NoSTL' Missing documentation for: Module header makeCppNoStl (src/BNFC/Backend/CPP/NoSTL.hs:28) Warning: 'Cat' is ambiguous. It is defined * at src/BNFC/CF.hs:344:5 * at src/BNFC/CF.hs:343:1 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 src/BNFC/CF.hs:343:1 100% ( 2 / 2) in 'BNFC.Backend.Agda' 60% ( 3 / 5) in 'BNFC.Backend.Haskell' Missing documentation for: Module header testfile (src/BNFC/Backend/Haskell.hs:282) 0% ( 0 / 2) in 'BNFC.Backend.HaskellGADT' Missing documentation for: Module header makeHaskellGadt (src/BNFC/Backend/HaskellGADT.hs:31) Warning: BNFC.Utils: could not find link destinations for: - BNFC.Utils.List1 Warning: BNFC.CF: could not find link destinations for: - BNFC.CF.List1 Warning: BNFC.TypeChecker: could not find link destinations for: - BNFC.TypeChecker.Context - BNFC.TypeChecker.Telescope - BNFC.TypeChecker.Err Warning: BNFC.Backend.OCaml.CFtoOCamlTemplate: could not find link destinations for: - BNFC.Backend.OCaml.CFtoOCamlTemplate.ModuleName Warning: BNFC.Backend.Base: could not find link destinations for: - BNFC.Backend.Base.FileContent Warning: BNFC.Options: could not find link destinations for: - BNFC.Options.UsageWarnings - BNFC.Options.ParseOpt Warning: BNFC.Backend.Haskell.CFtoPrinter: could not find link destinations for: - BNFC.Backend.Haskell.CFtoPrinter.AbsMod Documentation created: dist/doc/html/BNFC/, dist/doc/html/BNFC/BNFC.txt Preprocessing executable 'bnfc' for BNFC-2.9.1.1.. Installing library in /var/lib/hackage-doc-builder/build-cache/tmp-install/lib/x86_64-linux-ghc-9.8.4/BNFC-2.9.1.1-9HSZondf5yXF0otll4YaRp Installing executable bnfc in /var/lib/hackage-doc-builder/build-cache/tmp-install/bin Warning: The directory /var/lib/hackage-doc-builder/build-cache/tmp-install/bin is not in the system search path. Completed BNFC-2.9.1.1