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.2.1 Downloaded BNFC-2.9.2.1 [1 of 2] Compiling Main ( /tmp/cabal-tmp-3657963/BNFC-2.9.2.1/dist/setup/setup.hs, /tmp/cabal-tmp-3657963/BNFC-2.9.2.1/dist/setup/Main.o ) [2 of 2] Linking /tmp/cabal-tmp-3657963/BNFC-2.9.2.1/dist/setup/setup Configuring BNFC-2.9.2.1... Preprocessing library for BNFC-2.9.2.1.. Building library for BNFC-2.9.2.1.. [ 1 of 82] Compiling BNFC.Abs ( src/BNFC/Abs.hs, dist/build/BNFC/Abs.o, dist/build/BNFC/Abs.dyn_o ) [ 2 of 82] Compiling BNFC.Backend.C.Common ( src/BNFC/Backend/C/Common.hs, dist/build/BNFC/Backend/C/Common.o, dist/build/BNFC/Backend/C/Common.dyn_o ) [ 3 of 82] 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 ) [ 4 of 82] 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 ) [ 5 of 82] 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 ) [ 6 of 82] Compiling BNFC.Lex ( dist/build/BNFC/Lex.hs, dist/build/BNFC/Lex.o, dist/build/BNFC/Lex.dyn_o ) [ 7 of 82] Compiling BNFC.License ( src/BNFC/License.hs, dist/build/BNFC/License.o, dist/build/BNFC/License.dyn_o ) [ 8 of 82] Compiling BNFC.Par ( dist/build/BNFC/Par.hs, dist/build/BNFC/Par.o, dist/build/BNFC/Par.dyn_o ) [ 9 of 82] Compiling BNFC.PrettyPrint ( src/BNFC/PrettyPrint.hs, dist/build/BNFC/PrettyPrint.o, dist/build/BNFC/PrettyPrint.dyn_o ) [10 of 82] 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 ) [11 of 82] Compiling BNFC.Print ( src/BNFC/Print.hs, dist/build/BNFC/Print.o, dist/build/BNFC/Print.dyn_o ) [12 of 82] Compiling BNFC.Regex ( src/BNFC/Regex.hs, dist/build/BNFC/Regex.o, dist/build/BNFC/Regex.dyn_o ) [13 of 82] Compiling BNFC.Utils ( src/BNFC/Utils.hs, dist/build/BNFC/Utils.o, dist/build/BNFC/Utils.dyn_o ) [14 of 82] Compiling BNFC.CF ( src/BNFC/CF.hs, dist/build/BNFC/CF.o, dist/build/BNFC/CF.dyn_o ) src/BNFC/CF.hs:737: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." | 737 | (x,sep,xs) = (head ts, init (tail ts), last ts) | ^^^^ src/BNFC/CF.hs:737: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." | 737 | (x,sep,xs) = (head ts, init (tail ts), last ts) | ^^^^ [15 of 82] Compiling BNFC.TypeChecker ( src/BNFC/TypeChecker.hs, dist/build/BNFC/TypeChecker.o, dist/build/BNFC/TypeChecker.dyn_o ) src/BNFC/TypeChecker.hs:101: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." | 101 | do unless (isLower $ head f) $ throwError $ | ^^^^ [16 of 82] 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) | ^^^^ [17 of 82] Compiling BNFC.Check.EmptyTypes ( src/BNFC/Check/EmptyTypes.hs, dist/build/BNFC/Check/EmptyTypes.o, dist/build/BNFC/Check/EmptyTypes.dyn_o ) [18 of 82] 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 ) [19 of 82] 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 ) [20 of 82] Compiling BNFC.Backend.Txt2Tag ( src/BNFC/Backend/Txt2Tag.hs, dist/build/BNFC/Backend/Txt2Tag.o, dist/build/BNFC/Backend/Txt2Tag.dyn_o ) [21 of 82] 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 ) [22 of 82] 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 ) [23 of 82] 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 ) [24 of 82] 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 ) [25 of 82] 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 ) [26 of 82] 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 ) [27 of 82] 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 ) [28 of 82] 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 ) [29 of 82] Compiling BNFC.Backend.Common ( src/BNFC/Backend/Common.hs, dist/build/BNFC/Backend/Common.o, dist/build/BNFC/Backend/Common.dyn_o ) [30 of 82] 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 ) [31 of 82] 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 ) [32 of 82] 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 ) [33 of 82] 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 ) [34 of 82] 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 82] 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 82] Compiling BNFC.Backend.CPP.Common ( src/BNFC/Backend/CPP/Common.hs, dist/build/BNFC/Backend/CPP/Common.o, dist/build/BNFC/Backend/CPP/Common.dyn_o ) src/BNFC/Backend/CPP/Common.hs:68: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." | 68 | | isUpper (head x) -> call ("new " ++ x) es | ^^^^ [37 of 82] 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 ) [38 of 82] 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 82] 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 82] Compiling BNFC.Backend.Base ( src/BNFC/Backend/Base.hs, dist/build/BNFC/Backend/Base.o, dist/build/BNFC/Backend/Base.dyn_o ) [41 of 82] Compiling Paths_BNFC ( dist/build/autogen/Paths_BNFC.hs, dist/build/Paths_BNFC.o, dist/build/Paths_BNFC.dyn_o ) [42 of 82] Compiling BNFC.Options ( src/BNFC/Options.hs, dist/build/BNFC/Options.o, dist/build/BNFC/Options.dyn_o ) [43 of 82] Compiling BNFC.GetCF ( src/BNFC/GetCF.hs, dist/build/BNFC/GetCF.o, dist/build/BNFC/GetCF.dyn_o ) src/BNFC/GetCF.hs:288: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." | 288 | notIdent s = null s || not (isAlpha (head s)) || any (not . isIdentRest) s | ^^^^ src/BNFC/GetCF.hs:303: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 | 303 | default fixTokenCats :: (Functor t, FixTokenCats b, t b ~ a) => [TokenCat] -> a -> a | ^ src/BNFC/GetCF.hs:607: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." | 607 | isBadCatName s = not $ isUpper (head s) || (head s == '@') | ^^^^ src/BNFC/GetCF.hs:607: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." | 607 | isBadCatName s = not $ isUpper (head s) || (head s == '@') | ^^^^ [44 of 82] Compiling BNFC.Backend.Pygments ( src/BNFC/Backend/Pygments.hs, dist/build/BNFC/Backend/Pygments.o, dist/build/BNFC/Backend/Pygments.dyn_o ) [45 of 82] 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 82] 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 ) src/BNFC/Backend/Java/CFtoJavaAbs15.hs:118: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." | 118 | | isUpper (head x) -> callQ x es | ^^^^ [47 of 82] 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 82] 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 82] 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 82] 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 82] 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 ) [52 of 82] 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 ) [53 of 82] 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 ) [54 of 82] 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 | ^^^^ [55 of 82] 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:64: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." | 64 | catCons cf = [ (consCat (head cs),cs) | cs <- groupBy catEq $ cf2cons cf] | ^^^^ [56 of 82] 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 ) [57 of 82] 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 ) [58 of 82] Compiling BNFC.Backend.XML ( src/BNFC/Backend/XML.hs, dist/build/BNFC/Backend/XML.o, dist/build/BNFC/Backend/XML.dyn_o ) [59 of 82] 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:347: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." | 347 | | isOneFun f = text "[" <+> head variables <+> "]" | ^^^^ [60 of 82] 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 ) [61 of 82] 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 ) [62 of 82] 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 ) [63 of 82] 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 ) [64 of 82] 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 ) [65 of 82] 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 ) [66 of 82] 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 ) [67 of 82] 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 ) [68 of 82] Compiling BNFC.Backend.OCaml ( src/BNFC/Backend/OCaml.hs, dist/build/BNFC/Backend/OCaml.o, dist/build/BNFC/Backend/OCaml.dyn_o ) [69 of 82] Compiling BNFC.Backend.Latex ( src/BNFC/Backend/Latex.hs, dist/build/BNFC/Backend/Latex.o, dist/build/BNFC/Backend/Latex.dyn_o ) [70 of 82] 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 ) [71 of 82] 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 ) [72 of 82] 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 ) [73 of 82] 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 ) [74 of 82] 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:639: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." | 639 | def = head eps | ^^^^ [75 of 82] 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:269: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." | 269 | prInstVarsOneType ivars = text (fst (head ivars)) | ^^^^ [76 of 82] 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 ) src/BNFC/Backend/C/CFtoBisonC.hs:453:40: 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." | 453 | | otherwise = \ s -> if isUpper (head s) then "new " ++ s else sanitizeCpp s | ^^^^ src/BNFC/Backend/C/CFtoBisonC.hs:459:85: 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." | 459 | | isOneFun f -> concat ["$$ = ", "new ", scope, nt, "(); $$->push_back(", head ms, ");"] | ^^^^ [77 of 82] Compiling BNFC.Backend.C ( src/BNFC/Backend/C.hs, dist/build/BNFC/Backend/C.o, dist/build/BNFC/Backend/C.dyn_o ) [78 of 82] 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 ) [79 of 82] 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 ) [80 of 82] 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:485: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." | 485 | prData' amod style d cs = [ prettyData style d cs , pragmaData amod (head $ words d) cs ] | ^^^^ src/BNFC/Backend/Agda.hs:618: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." | 618 | nameFor d = [ toLower $ head $ dropWhile (== '#') d ] | ^^^^ [81 of 82] Compiling BNFC.Backend.Haskell ( src/BNFC/Backend/Haskell.hs, dist/build/BNFC/Backend/Haskell.o, dist/build/BNFC/Backend/Haskell.dyn_o ) [82 of 82] 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.2.1.. Building executable 'bnfc' for BNFC-2.9.2.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.2.1.. Running Haddock on library for BNFC-2.9.2.1.. Warning: --source-* options are ignored when --hyperlinked-source is enabled. [ 1 of 82] Compiling BNFC.Abs ( src/BNFC/Abs.hs, nothing ) [ 2 of 82] Compiling BNFC.Backend.C.Common ( src/BNFC/Backend/C/Common.hs, nothing ) [ 3 of 82] Compiling BNFC.Backend.CPP.STL.STLUtils ( src/BNFC/Backend/CPP/STL/STLUtils.hs, nothing ) [ 4 of 82] Compiling BNFC.Backend.Common.StrUtils ( src/BNFC/Backend/Common/StrUtils.hs, nothing ) [ 5 of 82] Compiling BNFC.Backend.Java.RegToAntlrLexer ( src/BNFC/Backend/Java/RegToAntlrLexer.hs, nothing ) [ 6 of 82] Compiling BNFC.Lex ( dist/build/BNFC/Lex.hs, nothing ) [ 7 of 82] Compiling BNFC.License ( src/BNFC/License.hs, nothing ) [ 8 of 82] Compiling BNFC.Par ( dist/build/BNFC/Par.hs, nothing ) [ 9 of 82] Compiling BNFC.PrettyPrint ( src/BNFC/PrettyPrint.hs, nothing ) [10 of 82] Compiling BNFC.Backend.Haskell.MkErrM ( src/BNFC/Backend/Haskell/MkErrM.hs, nothing ) [11 of 82] Compiling BNFC.Print ( src/BNFC/Print.hs, nothing ) [12 of 82] Compiling BNFC.Regex ( src/BNFC/Regex.hs, nothing ) [13 of 82] Compiling BNFC.Utils ( src/BNFC/Utils.hs, nothing ) [14 of 82] Compiling BNFC.CF ( src/BNFC/CF.hs, nothing ) src/BNFC/CF.hs:737: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." | 737 | (x,sep,xs) = (head ts, init (tail ts), last ts) | ^^^^ src/BNFC/CF.hs:737: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." | 737 | (x,sep,xs) = (head ts, init (tail ts), last ts) | ^^^^ [15 of 82] Compiling BNFC.TypeChecker ( src/BNFC/TypeChecker.hs, nothing ) src/BNFC/TypeChecker.hs:101: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." | 101 | do unless (isLower $ head f) $ throwError $ | ^^^^ [16 of 82] 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) | ^^^^ [17 of 82] Compiling BNFC.Check.EmptyTypes ( src/BNFC/Check/EmptyTypes.hs, nothing ) [18 of 82] Compiling BNFC.Backend.Common.OOAbstract ( src/BNFC/Backend/Common/OOAbstract.hs, nothing ) [19 of 82] Compiling BNFC.Backend.Common.NamedVariables ( src/BNFC/Backend/Common/NamedVariables.hs, nothing ) [20 of 82] Compiling BNFC.Backend.Txt2Tag ( src/BNFC/Backend/Txt2Tag.hs, nothing ) [21 of 82] Compiling BNFC.Backend.OCaml.OCamlUtil ( src/BNFC/Backend/OCaml/OCamlUtil.hs, nothing ) [22 of 82] Compiling BNFC.Backend.OCaml.CFtoOCamlTemplate ( src/BNFC/Backend/OCaml/CFtoOCamlTemplate.hs, nothing ) [23 of 82] Compiling BNFC.Backend.OCaml.CFtoOCamlShow ( src/BNFC/Backend/OCaml/CFtoOCamlShow.hs, nothing ) [24 of 82] Compiling BNFC.Backend.OCaml.CFtoOCamlAbs ( src/BNFC/Backend/OCaml/CFtoOCamlAbs.hs, nothing ) [25 of 82] Compiling BNFC.Backend.Java.Utils ( src/BNFC/Backend/Java/Utils.hs, nothing ) [26 of 82] Compiling BNFC.Backend.Java.CFtoAntlr4Lexer ( src/BNFC/Backend/Java/CFtoAntlr4Lexer.hs, nothing ) [27 of 82] Compiling BNFC.Backend.Java.CFtoAllVisitor ( src/BNFC/Backend/Java/CFtoAllVisitor.hs, nothing ) [28 of 82] Compiling BNFC.Backend.Java.CFtoAbstractVisitor ( src/BNFC/Backend/Java/CFtoAbstractVisitor.hs, nothing ) [29 of 82] Compiling BNFC.Backend.Common ( src/BNFC/Backend/Common.hs, nothing ) [30 of 82] Compiling BNFC.Backend.OCaml.CFtoOCamlYacc ( src/BNFC/Backend/OCaml/CFtoOCamlYacc.hs, nothing ) [31 of 82] Compiling BNFC.Backend.OCaml.CFtoOCamlLex ( src/BNFC/Backend/OCaml/CFtoOCamlLex.hs, nothing ) [32 of 82] Compiling BNFC.Backend.C.RegToFlex ( src/BNFC/Backend/C/RegToFlex.hs, nothing ) [33 of 82] Compiling BNFC.Backend.CPP.PrettyPrinter ( src/BNFC/Backend/CPP/PrettyPrinter.hs, nothing ) [34 of 82] Compiling BNFC.Backend.CPP.Naming ( src/BNFC/Backend/CPP/Naming.hs, nothing ) [35 of 82] Compiling BNFC.Backend.CPP.STL.CFtoCVisitSkelSTL ( src/BNFC/Backend/CPP/STL/CFtoCVisitSkelSTL.hs, nothing ) [36 of 82] Compiling BNFC.Backend.CPP.Common ( src/BNFC/Backend/CPP/Common.hs, nothing ) src/BNFC/Backend/CPP/Common.hs:68: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." | 68 | | isUpper (head x) -> call ("new " ++ x) es | ^^^^ [37 of 82] Compiling BNFC.Backend.CPP.NoSTL.CFtoCPPAbs ( src/BNFC/Backend/CPP/NoSTL/CFtoCPPAbs.hs, nothing ) [38 of 82] Compiling BNFC.Backend.C.CFtoCSkel ( src/BNFC/Backend/C/CFtoCSkel.hs, nothing ) [39 of 82] Compiling BNFC.Backend.C.CFtoCPrinter ( src/BNFC/Backend/C/CFtoCPrinter.hs, nothing ) [40 of 82] Compiling BNFC.Backend.Base ( src/BNFC/Backend/Base.hs, nothing ) [41 of 82] Compiling Paths_BNFC ( dist/build/autogen/Paths_BNFC.hs, nothing ) [42 of 82] Compiling BNFC.Options ( src/BNFC/Options.hs, nothing ) [43 of 82] Compiling BNFC.GetCF ( src/BNFC/GetCF.hs, nothing ) src/BNFC/GetCF.hs:288: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." | 288 | notIdent s = null s || not (isAlpha (head s)) || any (not . isIdentRest) s | ^^^^ src/BNFC/GetCF.hs:303: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 | 303 | default fixTokenCats :: (Functor t, FixTokenCats b, t b ~ a) => [TokenCat] -> a -> a | ^ src/BNFC/GetCF.hs:607: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." | 607 | isBadCatName s = not $ isUpper (head s) || (head s == '@') | ^^^^ src/BNFC/GetCF.hs:607: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." | 607 | isBadCatName s = not $ isUpper (head s) || (head s == '@') | ^^^^ [44 of 82] Compiling BNFC.Backend.Pygments ( src/BNFC/Backend/Pygments.hs, nothing ) [45 of 82] Compiling BNFC.Backend.Java.RegToJLex ( src/BNFC/Backend/Java/RegToJLex.hs, nothing ) [46 of 82] Compiling BNFC.Backend.Java.CFtoJavaAbs15 ( src/BNFC/Backend/Java/CFtoJavaAbs15.hs, nothing ) src/BNFC/Backend/Java/CFtoJavaAbs15.hs:118: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." | 118 | | isUpper (head x) -> callQ x es | ^^^^ [47 of 82] Compiling BNFC.Backend.Java.CFtoVisitSkel15 ( src/BNFC/Backend/Java/CFtoVisitSkel15.hs, nothing ) [48 of 82] Compiling BNFC.Backend.Java.CFtoJavaPrinter15 ( src/BNFC/Backend/Java/CFtoJavaPrinter15.hs, nothing ) [49 of 82] Compiling BNFC.Backend.Java.CFtoFoldVisitor ( src/BNFC/Backend/Java/CFtoFoldVisitor.hs, nothing ) [50 of 82] Compiling BNFC.Backend.Java.CFtoComposVisitor ( src/BNFC/Backend/Java/CFtoComposVisitor.hs, nothing ) [51 of 82] Compiling BNFC.Backend.Java.CFtoCup15 ( src/BNFC/Backend/Java/CFtoCup15.hs, nothing ) [52 of 82] Compiling BNFC.Backend.Java.CFtoAntlr4Parser ( src/BNFC/Backend/Java/CFtoAntlr4Parser.hs, nothing ) [53 of 82] Compiling BNFC.Backend.Haskell.Utils ( src/BNFC/Backend/Haskell/Utils.hs, nothing ) [54 of 82] 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 | ^^^^ [55 of 82] Compiling BNFC.Backend.HaskellGADT.CFtoTemplateGADT ( src/BNFC/Backend/HaskellGADT/CFtoTemplateGADT.hs, nothing ) src/BNFC/Backend/HaskellGADT/CFtoTemplateGADT.hs:64: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." | 64 | catCons cf = [ (consCat (head cs),cs) | cs <- groupBy catEq $ cf2cons cf] | ^^^^ [56 of 82] Compiling BNFC.Backend.Haskell.CFtoTemplate ( src/BNFC/Backend/Haskell/CFtoTemplate.hs, nothing ) [57 of 82] Compiling BNFC.Backend.Haskell.HsOpts ( src/BNFC/Backend/Haskell/HsOpts.hs, nothing ) [58 of 82] Compiling BNFC.Backend.XML ( src/BNFC/Backend/XML.hs, nothing ) [59 of 82] Compiling BNFC.Backend.Haskell.CFtoPrinter ( src/BNFC/Backend/Haskell/CFtoPrinter.hs, nothing ) src/BNFC/Backend/Haskell/CFtoPrinter.hs:347: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." | 347 | | isOneFun f = text "[" <+> head variables <+> "]" | ^^^^ [60 of 82] Compiling BNFC.Backend.OCaml.CFtoOCamlPrinter ( src/BNFC/Backend/OCaml/CFtoOCamlPrinter.hs, nothing ) [61 of 82] Compiling BNFC.Backend.OCaml.CFtoOCamlTest ( src/BNFC/Backend/OCaml/CFtoOCamlTest.hs, nothing ) [62 of 82] Compiling BNFC.Backend.Haskell.CFtoLayout ( src/BNFC/Backend/Haskell/CFtoLayout.hs, nothing ) [63 of 82] Compiling BNFC.Backend.Haskell.CFtoHappy ( src/BNFC/Backend/Haskell/CFtoHappy.hs, nothing ) [64 of 82] Compiling BNFC.Backend.Haskell.CFtoAlex3 ( src/BNFC/Backend/Haskell/CFtoAlex3.hs, nothing ) [65 of 82] Compiling BNFC.Backend.Haskell.CFtoAbstract ( src/BNFC/Backend/Haskell/CFtoAbstract.hs, nothing ) [66 of 82] Compiling BNFC.Backend.HaskellGADT.CFtoAbstractGADT ( src/BNFC/Backend/HaskellGADT/CFtoAbstractGADT.hs, nothing ) [67 of 82] Compiling BNFC.Backend.Common.Makefile ( src/BNFC/Backend/Common/Makefile.hs, nothing ) [68 of 82] Compiling BNFC.Backend.OCaml ( src/BNFC/Backend/OCaml.hs, nothing ) [69 of 82] Compiling BNFC.Backend.Latex ( src/BNFC/Backend/Latex.hs, nothing ) [70 of 82] Compiling BNFC.Backend.CPP.Makefile ( src/BNFC/Backend/CPP/Makefile.hs, nothing ) [71 of 82] Compiling BNFC.Backend.CPP.STL.CFtoSTLAbs ( src/BNFC/Backend/CPP/STL/CFtoSTLAbs.hs, nothing ) [72 of 82] Compiling BNFC.Backend.C.CFtoFlexC ( src/BNFC/Backend/C/CFtoFlexC.hs, nothing ) [73 of 82] Compiling BNFC.Backend.Java.CFtoJLex15 ( src/BNFC/Backend/Java/CFtoJLex15.hs, nothing ) [74 of 82] 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:639: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." | 639 | def = head eps | ^^^^ [75 of 82] Compiling BNFC.Backend.C.CFtoCAbs ( src/BNFC/Backend/C/CFtoCAbs.hs, nothing ) src/BNFC/Backend/C/CFtoCAbs.hs:269: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." | 269 | prInstVarsOneType ivars = text (fst (head ivars)) | ^^^^ [76 of 82] Compiling BNFC.Backend.C.CFtoBisonC ( src/BNFC/Backend/C/CFtoBisonC.hs, nothing ) src/BNFC/Backend/C/CFtoBisonC.hs:453:40: 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." | 453 | | otherwise = \ s -> if isUpper (head s) then "new " ++ s else sanitizeCpp s | ^^^^ src/BNFC/Backend/C/CFtoBisonC.hs:459:85: 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." | 459 | | isOneFun f -> concat ["$$ = ", "new ", scope, nt, "(); $$->push_back(", head ms, ");"] | ^^^^ [77 of 82] Compiling BNFC.Backend.C ( src/BNFC/Backend/C.hs, nothing ) [78 of 82] Compiling BNFC.Backend.CPP.STL ( src/BNFC/Backend/CPP/STL.hs, nothing ) [79 of 82] Compiling BNFC.Backend.CPP.NoSTL ( src/BNFC/Backend/CPP/NoSTL.hs, nothing ) [80 of 82] Compiling BNFC.Backend.Agda ( src/BNFC/Backend/Agda.hs, nothing ) src/BNFC/Backend/Agda.hs:485: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." | 485 | prData' amod style d cs = [ prettyData style d cs , pragmaData amod (head $ words d) cs ] | ^^^^ src/BNFC/Backend/Agda.hs:618: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." | 618 | nameFor d = [ toLower $ head $ dropWhile (== '#') d ] | ^^^^ [81 of 82] Compiling BNFC.Backend.Haskell ( src/BNFC/Backend/Haskell.hs, nothing ) [82 of 82] Compiling BNFC.Backend.HaskellGADT ( src/BNFC/Backend/HaskellGADT.hs, nothing ) Haddock coverage: 17% ( 3 / 17) in 'BNFC.Abs' Missing documentation for: Grammar (src/BNFC/Abs.hs:16) Def (src/BNFC/Abs.hs:19) Item (src/BNFC/Abs.hs:38) Cat (src/BNFC/Abs.hs:41) Label (src/BNFC/Abs.hs:44) Arg (src/BNFC/Abs.hs:47) Separation (src/BNFC/Abs.hs:50) Exp (src/BNFC/Abs.hs:53) RHS (src/BNFC/Abs.hs:64) MinimumSize (src/BNFC/Abs.hs:67) Reg (src/BNFC/Abs.hs:70) Identifier (src/BNFC/Abs.hs:88) BNFC'NoPosition (src/BNFC/Abs.hs:96) BNFC'Position (src/BNFC/Abs.hs:99) 100% ( 2 / 2) in 'BNFC.Backend.C.Common' 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) 35% ( 18 / 51) in 'BNFC.Lex' Missing documentation for: Module header alex_tab_size (dist/build/BNFC/Lex.hs:35) alex_base (dist/build/BNFC/Lex.hs:37) alex_table (dist/build/BNFC/Lex.hs:41) alex_check (dist/build/BNFC/Lex.hs:45) alex_deflt (dist/build/BNFC/Lex.hs:49) alex_accept (dist/build/BNFC/Lex.hs:52) alex_actions (dist/build/BNFC/Lex.hs:119) alex_action_3 (dist/build/BNFC/Lex.hs:133) alex_action_4 (dist/build/BNFC/Lex.hs:134) alex_action_5 (dist/build/BNFC/Lex.hs:135) alex_action_6 (dist/build/BNFC/Lex.hs:136) alex_action_7 (dist/build/BNFC/Lex.hs:137) alex_action_8 (dist/build/BNFC/Lex.hs:138) alex_action_9 (dist/build/BNFC/Lex.hs:139) AlexAddr (dist/build/BNFC/Lex.hs:183) alexIndexInt16OffAddr (dist/build/BNFC/Lex.hs:191) alexIndexInt32OffAddr (dist/build/BNFC/Lex.hs:212) quickIndex (dist/build/BNFC/Lex.hs:240) AlexReturn (dist/build/BNFC/Lex.hs:249) alexScan (dist/build/BNFC/Lex.hs:256) alexScanUser (dist/build/BNFC/Lex.hs:259) alex_scan_tkn (dist/build/BNFC/Lex.hs:290) AlexLastAcc (dist/build/BNFC/Lex.hs:344) AlexAcc (dist/build/BNFC/Lex.hs:349) Posn (src/BNFC/Lex.x:216) alexStartPos (src/BNFC/Lex.x:220) alexMove (src/BNFC/Lex.x:223) Byte (src/BNFC/Lex.x:227) AlexInput (src/BNFC/Lex.x:229) tokens (src/BNFC/Lex.x:235) alexGetByte (src/BNFC/Lex.x:246) alexInputPrevChar (src/BNFC/Lex.x:256) 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:1257) myLexer (dist/build/BNFC/Par.hs:1265) pGrammar (dist/build/BNFC/Par.hs:1179) pListDef (dist/build/BNFC/Par.hs:1182) pDef (dist/build/BNFC/Par.hs:1185) pItem (dist/build/BNFC/Par.hs:1188) pListItem (dist/build/BNFC/Par.hs:1191) pCat (dist/build/BNFC/Par.hs:1194) pListCat (dist/build/BNFC/Par.hs:1197) pLabel (dist/build/BNFC/Par.hs:1200) pArg (dist/build/BNFC/Par.hs:1203) pListArg (dist/build/BNFC/Par.hs:1206) pSeparation (dist/build/BNFC/Par.hs:1209) pListString (dist/build/BNFC/Par.hs:1212) pExp (dist/build/BNFC/Par.hs:1215) pExp1 (dist/build/BNFC/Par.hs:1218) pExp2 (dist/build/BNFC/Par.hs:1221) pListExp (dist/build/BNFC/Par.hs:1224) pListExp2 (dist/build/BNFC/Par.hs:1227) pRHS (dist/build/BNFC/Par.hs:1230) pListRHS (dist/build/BNFC/Par.hs:1233) pMinimumSize (dist/build/BNFC/Par.hs:1236) pReg (dist/build/BNFC/Par.hs:1239) pReg1 (dist/build/BNFC/Par.hs:1242) pReg2 (dist/build/BNFC/Par.hs:1245) pReg3 (dist/build/BNFC/Par.hs:1248) Warning: BNFC.PrettyPrint: Could not find documentation for exported module: BNFC.PrettyPrint 100% ( 11 / 11) in 'BNFC.PrettyPrint' 0% ( 0 / 2) in 'BNFC.Backend.Haskell.MkErrM' Missing documentation for: Module header mkErrM (src/BNFC/Backend/Haskell/MkErrM.hs:16) 23% ( 3 / 13) in 'BNFC.Print' Missing documentation for: Doc (src/BNFC/Print.hs:31) doc (src/BNFC/Print.hs:34) render (src/BNFC/Print.hs:37) parenth (src/BNFC/Print.hs:96) concatS (src/BNFC/Print.hs:99) concatD (src/BNFC/Print.hs:102) replicateS (src/BNFC/Print.hs:105) printString (src/BNFC/Print.hs:122) mkEsc (src/BNFC/Print.hs:125) prPrec (src/BNFC/Print.hs:133) 100% ( 3 / 3) in 'BNFC.Regex' Warning: 'forM' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 90% ( 40 / 44) in 'BNFC.Utils' Missing documentation for: Module header camelCase_ (src/BNFC/Utils.hs:491) snakeCase_ (src/BNFC/Utils.hs:508) getZonedTimeTruncatedToSeconds (src/BNFC/Utils.hs:275) Warning: 'partitionEithers' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'define' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 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:64:21 * at src/BNFC/CF.hs:59: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:59:1 Warning: 'comment' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 58% ( 72 /123) in 'BNFC.CF' Missing documentation for: Module header List1 (src/BNFC/CF.hs:45) InternalRule (src/BNFC/CF.hs:79) Exp (src/BNFC/CF.hs:150) Define (src/BNFC/CF.hs:185) LayoutKeyWords (src/BNFC/CF.hs:209) layoutPragmas (src/BNFC/CF.hs:228) hasLayout_ (src/BNFC/CF.hs:237) hasLayout (src/BNFC/CF.hs:240) Symbol (src/BNFC/CF.hs:245) KeyWord (src/BNFC/CF.hs:246) prettyPosition (src/BNFC/CF.hs:262) WithPosition (src/BNFC/CF.hs:266) noPosition (src/BNFC/CF.hs:278) RCat (src/BNFC/CF.hs:291) valCat (src/BNFC/CF.hs:294) npRule (src/BNFC/CF.hs:297) npIdentifier (src/BNFC/CF.hs:300) TokenCat (src/BNFC/CF.hs:320) BaseCat (src/BNFC/CF.hs:321) NonTerminal (src/BNFC/CF.hs:324) catString (src/BNFC/CF.hs:367) catInteger (src/BNFC/CF.hs:368) catDouble (src/BNFC/CF.hs:369) catChar (src/BNFC/CF.hs:370) catIdent (src/BNFC/CF.hs:371) specialCatsP (src/BNFC/CF.hs:380) isDataOrListCat (src/BNFC/CF.hs:387) normCatOfList (src/BNFC/CF.hs:409) identType (src/BNFC/CF.hs:419) isList (src/BNFC/CF.hs:432) isTokenCat (src/BNFC/CF.hs:444) maybeTokenCat (src/BNFC/CF.hs:448) RFun (src/BNFC/CF.hs:464) IsFun (src/BNFC/CF.hs:469) funNameSatisfies (src/BNFC/CF.hs:499) isDefinedRule (src/BNFC/CF.hs:502) isProperLabel (src/BNFC/CF.hs:508) isNilCons (src/BNFC/CF.hs:511) lookupRule (src/BNFC/CF.hs:550) removeWhiteSpaceSeparators (src/BNFC/CF.hs:560) allParserCats (src/BNFC/CF.hs:589) cf2data (src/BNFC/CF.hs:696) cf2dataLists (src/BNFC/CF.hs:700) specialData (src/BNFC/CF.hs:703) hasNilRule (src/BNFC/CF.hs:715) isNonterm (src/BNFC/CF.hs:731) revSepListRule (src/BNFC/CF.hs:736) findAllReversibleCats (src/BNFC/CF.hs:741) isEmptyNilRule (src/BNFC/CF.hs:752) precRule (src/BNFC/CF.hs:764) 58% ( 7 / 12) in 'BNFC.TypeChecker' Missing documentation for: runTypeChecker (src/BNFC/TypeChecker.hs:55) checkDefinition' (src/BNFC/TypeChecker.hs:99) buildContext (src/BNFC/TypeChecker.hs:192) isToken (src/BNFC/TypeChecker.hs:199) ListConstructors (src/BNFC/TypeChecker.hs:65) 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:28) CAbsRule (src/BNFC/Backend/Common/OOAbstract.hs:39) allClasses (src/BNFC/Backend/Common/OOAbstract.hs:43) allNonClasses (src/BNFC/Backend/Common/OOAbstract.hs:48) cf2cabs (src/BNFC/Backend/Common/OOAbstract.hs:52) basetypes (src/BNFC/Backend/Common/OOAbstract.hs:89) classVar (src/BNFC/Backend/Common/OOAbstract.hs:98) pointerIf (src/BNFC/Backend/Common/OOAbstract.hs:101) 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:149) showNum (src/BNFC/Backend/Common/NamedVariables.hs:152) firstLowerCase (src/BNFC/Backend/Common/NamedVariables.hs:156) 0% ( 0 / 2) in 'BNFC.Backend.Txt2Tag' Missing documentation for: Module header cfToTxt (src/BNFC/Backend/Txt2Tag.hs:17) 33% ( 4 / 12) 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:83) insertBar (src/BNFC/Backend/OCaml/OCamlUtil.hs:88) mutualDefs (src/BNFC/Backend/OCaml/OCamlUtil.hs:93) 0% ( 0 / 2) in 'BNFC.Backend.OCaml.CFtoOCamlTemplate' Missing documentation for: Module header cf2Template (src/BNFC/Backend/OCaml/CFtoOCamlTemplate.hs:23) 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.CFtoOCamlAbs' Missing documentation for: Module header cf2Abstract (src/BNFC/Backend/OCaml/CFtoOCamlAbs.hs:22) 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) 40% ( 2 / 5) in 'BNFC.Backend.Common' Missing documentation for: unicodeAndSymbols (src/BNFC/Backend/Common.hs:29) asciiKeywords (src/BNFC/Backend/Common.hs:32) switchByPrecedence (src/BNFC/Backend/Common.hs:70) 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:131) 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.C.RegToFlex' Missing documentation for: Module header printRegFlex (src/BNFC/Backend/C/RegToFlex.hs:15) 0% ( 0 / 3) in 'BNFC.Backend.CPP.PrettyPrinter' Missing documentation for: Module header cf2CPPPrinter (src/BNFC/Backend/CPP/PrettyPrinter.hs:40) prRender (src/BNFC/Backend/CPP/PrettyPrinter.hs:676) 0% ( 0 / 6) 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) sanitizeC (src/BNFC/Backend/CPP/Naming.hs:24) sanitizeCpp (src/BNFC/Backend/CPP/Naming.hs:27) 0% ( 0 / 2) in 'BNFC.Backend.CPP.STL.CFtoCVisitSkelSTL' Missing documentation for: Module header cf2CVisitSkel (src/BNFC/Backend/CPP/STL/CFtoCVisitSkelSTL.hs:27) 100% ( 2 / 2) in 'BNFC.Backend.CPP.Common' 0% ( 0 / 2) in 'BNFC.Backend.CPP.NoSTL.CFtoCPPAbs' Missing documentation for: Module header cf2CPPAbs (src/BNFC/Backend/CPP/NoSTL/CFtoCPPAbs.hs:38) 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) 65% ( 13 / 20) in 'BNFC.Options' Missing documentation for: Module header Backend (src/BNFC/Options.hs:140) usage (src/BNFC/Options.hs:415) help (src/BNFC/Options.hs:423) defaultOptions (src/BNFC/Options.hs:145) RecordPositions (src/BNFC/Options.hs:96) removedIn290 (src/BNFC/Options.hs:598) 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:557) 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) Warning: 'pathSeparator' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 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:53) 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) 0% ( 0 / 2) in 'BNFC.Backend.Java.CFtoCup15' Missing documentation for: Module header cf2Cup (src/BNFC/Backend/Java/CFtoCup15.hs:37) Warning: 'PDef' is ambiguous. It is defined * at src/BNFC/Backend/Java/CFtoAntlr4Parser.hs:33:13 * at src/BNFC/Backend/Java/CFtoAntlr4Parser.hs:33: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:33: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:24) makeXML (src/BNFC/Backend/XML.hs:27) cf2DTD (src/BNFC/Backend/XML.hs:35) element (src/BNFC/Backend/XML.hs:53) attlist (src/BNFC/Backend/XML.hs:56) elemAtt (src/BNFC/Backend/XML.hs:58) elemt (src/BNFC/Backend/XML.hs:59) elemc (src/BNFC/Backend/XML.hs:62) elemEmp (src/BNFC/Backend/XML.hs:65) alts (src/BNFC/Backend/XML.hs:68) elemData (src/BNFC/Backend/XML.hs:72) efunDef (src/BNFC/Backend/XML.hs:73) endtagDef (src/BNFC/Backend/XML.hs:74) elemDataConstrs (src/BNFC/Backend/XML.hs:80) efunDefConstrs (src/BNFC/Backend/XML.hs:81) endtagDefConstrs (src/BNFC/Backend/XML.hs:82) elemDataConstr (src/BNFC/Backend/XML.hs:88) efunDefConstr (src/BNFC/Backend/XML.hs:89) endtagDefConstr (src/BNFC/Backend/XML.hs:90) elemDataNotyp (src/BNFC/Backend/XML.hs:96) efunDefNotyp (src/BNFC/Backend/XML.hs:97) endtagDefNotyp (src/BNFC/Backend/XML.hs:98) rhsCat (src/BNFC/Backend/XML.hs:108) rhsCatNot (src/BNFC/Backend/XML.hs:109) symbCat (src/BNFC/Backend/XML.hs:112) symbCatNot (src/BNFC/Backend/XML.hs:117) parenth (src/BNFC/Backend/XML.hs:127) cf2XMLPrinter (src/BNFC/Backend/XML.hs:131) pragmas (src/BNFC/Backend/XML.hs:144) prologue (src/BNFC/Backend/XML.hs:150) integerRule (src/BNFC/Backend/XML.hs:198) doubleRule (src/BNFC/Backend/XML.hs:199) stringRule (src/BNFC/Backend/XML.hs:200) showsPrintRule (src/BNFC/Backend/XML.hs:202) identRule (src/BNFC/Backend/XML.hs:207) ownPrintRule (src/BNFC/Backend/XML.hs:210) rules (src/BNFC/Backend/XML.hs:218) case_fun (src/BNFC/Backend/XML.hs:228) 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:230) 66% ( 2 / 3) in 'BNFC.Backend.OCaml.CFtoOCamlTest' Missing documentation for: Module header 0% ( 0 / 4) in 'BNFC.Backend.Haskell.CFtoLayout' Missing documentation for: Module header TokSymbol (src/BNFC/Backend/Haskell/CFtoLayout.hs:17) LayoutDelimiters (src/BNFC/Backend/Haskell/CFtoLayout.hs:20) cf2Layout (src/BNFC/Backend/Haskell/CFtoLayout.hs:24) 33% ( 1 / 3) in 'BNFC.Backend.Haskell.CFtoHappy' Missing documentation for: Module header convert (src/BNFC/Backend/Haskell/CFtoHappy.hs:131) 0% ( 0 / 2) in 'BNFC.Backend.Haskell.CFtoAlex3' Missing documentation for: Module header cf2alex3 (src/BNFC/Backend/Haskell/CFtoAlex3.hs:25) 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) 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:35) 42% ( 6 / 14) in 'BNFC.Backend.C.CFtoFlexC' Missing documentation for: Module header ParserMode (src/BNFC/Backend/C/CFtoFlexC.hs:46) parserName (src/BNFC/Backend/C/CFtoFlexC.hs:51) parserPackage (src/BNFC/Backend/C/CFtoFlexC.hs:56) cParser (src/BNFC/Backend/C/CFtoFlexC.hs:61) stlParser (src/BNFC/Backend/C/CFtoFlexC.hs:66) parserHExt (src/BNFC/Backend/C/CFtoFlexC.hs:71) cMacros (src/BNFC/Backend/C/CFtoFlexC.hs:186) 50% ( 1 / 2) in 'BNFC.Backend.Java.CFtoJLex15' Missing documentation for: Module header 100% ( 2 / 2) in 'BNFC.Backend.Java' 50% ( 1 / 2) in 'BNFC.Backend.C.CFtoCAbs' Missing documentation for: Module header 37% ( 3 / 8) in 'BNFC.Backend.C.CFtoBisonC' Missing documentation for: Module header cf2Bison (src/BNFC/Backend/C/CFtoBisonC.hs:56) resultName (src/BNFC/Backend/C/CFtoBisonC.hs:517) typeName (src/BNFC/Backend/C/CFtoBisonC.hs:528) unionBuiltinTokens (src/BNFC/Backend/C/CFtoBisonC.hs:316) 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:32) 0% ( 0 / 2) in 'BNFC.Backend.CPP.NoSTL' Missing documentation for: Module header makeCppNoStl (src/BNFC/Backend/CPP/NoSTL.hs:27) Warning: 'Cat' is ambiguous. It is defined * at src/BNFC/CF.hs:314:5 * at src/BNFC/CF.hs:313: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:313: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:294) 0% ( 0 / 2) in 'BNFC.Backend.HaskellGADT' Missing documentation for: Module header makeHaskellGadt (src/BNFC/Backend/HaskellGADT.hs:31) Warning: BNFC.Par: could not find link destinations for: - BNFC.Par.Err Warning: BNFC.Utils: could not find link destinations for: - BNFC.Utils.List1 Warning: BNFC.TypeChecker: could not find link destinations for: - BNFC.TypeChecker.Context - 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.2.1.. Installing library in /var/lib/hackage-doc-builder/build-cache/tmp-install/lib/x86_64-linux-ghc-9.8.4/BNFC-2.9.2.1-eYCasZB6Hy3CL7r4jL1V3 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.2.1