Resolving dependencies... cabal: Entering directory '/tmp/cabal-tmp-29781/mtl-2.2.1' Configuring mtl-2.2.1... Building mtl-2.2.1... Preprocessing library mtl-2.2.1... [ 1 of 22] Compiling Control.Monad.Writer.Class ( Control/Monad/Writer/Class.hs, dist/build/Control/Monad/Writer/Class.o ) [ 2 of 22] Compiling Control.Monad.Trans ( Control/Monad/Trans.hs, dist/build/Control/Monad/Trans.o ) [ 3 of 22] Compiling Control.Monad.Writer.Lazy ( Control/Monad/Writer/Lazy.hs, dist/build/Control/Monad/Writer/Lazy.o ) [ 4 of 22] Compiling Control.Monad.Writer ( Control/Monad/Writer.hs, dist/build/Control/Monad/Writer.o ) [ 5 of 22] Compiling Control.Monad.Writer.Strict ( Control/Monad/Writer/Strict.hs, dist/build/Control/Monad/Writer/Strict.o ) [ 6 of 22] Compiling Control.Monad.State.Class ( Control/Monad/State/Class.hs, dist/build/Control/Monad/State/Class.o ) [ 7 of 22] Compiling Control.Monad.State.Lazy ( Control/Monad/State/Lazy.hs, dist/build/Control/Monad/State/Lazy.o ) [ 8 of 22] Compiling Control.Monad.State.Strict ( Control/Monad/State/Strict.hs, dist/build/Control/Monad/State/Strict.o ) [ 9 of 22] Compiling Control.Monad.State ( Control/Monad/State.hs, dist/build/Control/Monad/State.o ) [10 of 22] Compiling Control.Monad.Reader.Class ( Control/Monad/Reader/Class.hs, dist/build/Control/Monad/Reader/Class.o ) [11 of 22] Compiling Control.Monad.Reader ( Control/Monad/Reader.hs, dist/build/Control/Monad/Reader.o ) [12 of 22] Compiling Control.Monad.RWS.Class ( Control/Monad/RWS/Class.hs, dist/build/Control/Monad/RWS/Class.o ) [13 of 22] Compiling Control.Monad.RWS.Lazy ( Control/Monad/RWS/Lazy.hs, dist/build/Control/Monad/RWS/Lazy.o ) [14 of 22] Compiling Control.Monad.RWS.Strict ( Control/Monad/RWS/Strict.hs, dist/build/Control/Monad/RWS/Strict.o ) [15 of 22] Compiling Control.Monad.RWS ( Control/Monad/RWS.hs, dist/build/Control/Monad/RWS.o ) [16 of 22] Compiling Control.Monad.List ( Control/Monad/List.hs, dist/build/Control/Monad/List.o ) [17 of 22] Compiling Control.Monad.Identity ( Control/Monad/Identity.hs, dist/build/Control/Monad/Identity.o ) [18 of 22] Compiling Control.Monad.Error.Class ( Control/Monad/Error/Class.hs, dist/build/Control/Monad/Error/Class.o ) [19 of 22] Compiling Control.Monad.Except ( Control/Monad/Except.hs, dist/build/Control/Monad/Except.o ) [20 of 22] Compiling Control.Monad.Error ( Control/Monad/Error.hs, dist/build/Control/Monad/Error.o ) [21 of 22] Compiling Control.Monad.Cont.Class ( Control/Monad/Cont/Class.hs, dist/build/Control/Monad/Cont/Class.o ) [22 of 22] Compiling Control.Monad.Cont ( Control/Monad/Cont.hs, dist/build/Control/Monad/Cont.o ) Running Haddock for mtl-2.2.1... Running hscolour for mtl-2.2.1... Preprocessing library mtl-2.2.1... Preprocessing library mtl-2.2.1... Haddock coverage: 75% ( 3 / 4) in 'Control.Monad.Writer.Class' Missing documentation for: MonadWriter (Control/Monad/Writer/Class.hs:62) 100% ( 3 / 3) in 'Control.Monad.Trans' 89% ( 17 / 19) in 'Control.Monad.Writer.Lazy' Missing documentation for: MonadWriter (Control/Monad/Writer/Class.hs:62) runWriterT 100% ( 2 / 2) in 'Control.Monad.Writer' 94% ( 17 / 18) in 'Control.Monad.Writer.Strict' Missing documentation for: MonadWriter (Control/Monad/Writer/Class.hs:62) 100% ( 5 / 5) in 'Control.Monad.State.Class' 96% ( 24 / 25) in 'Control.Monad.State.Lazy' Missing documentation for: runStateT 96% ( 24 / 25) in 'Control.Monad.State.Strict' Missing documentation for: runStateT 100% ( 2 / 2) in 'Control.Monad.State' 100% ( 3 / 3) in 'Control.Monad.Reader.Class' 96% ( 22 / 23) in 'Control.Monad.Reader' Missing documentation for: runReaderT 80% ( 4 / 5) in 'Control.Monad.RWS.Class' Missing documentation for: MonadRWS (Control/Monad/RWS/Class.hs:44) 95% ( 21 / 22) in 'Control.Monad.RWS.Lazy' Missing documentation for: runRWST 95% ( 21 / 22) in 'Control.Monad.RWS.Strict' Missing documentation for: runRWST 100% ( 2 / 2) in 'Control.Monad.RWS' 100% ( 5 / 5) in 'Control.Monad.List' 100% ( 4 / 4) in 'Control.Monad.Identity' 100% ( 3 / 3) in 'Control.Monad.Error.Class' 100% ( 19 / 19) in 'Control.Monad.Except' 93% ( 14 / 15) in 'Control.Monad.Error' Missing documentation for: runErrorT 50% ( 1 / 2) in 'Control.Monad.Cont.Class' Missing documentation for: MonadCont (Control/Monad/Cont/Class.hs:73) 91% ( 20 / 22) in 'Control.Monad.Cont' Missing documentation for: MonadCont (Control/Monad/Cont/Class.hs:73) runContT Documentation created: dist/doc/html/mtl/index.html, dist/doc/html/mtl/mtl.txt Creating package registration file: /tmp/pkgConf-mtl-2.22145174067468703135.1 Installing library in /home/builder/hackage-server/build-cache/tmp-install/lib/x86_64-linux-ghc-8.0.1.20161018/mtl-2.2.1-6qsR1PHUy5lL47Hpoa4jCM Registering mtl-2.2.1... cabal: Leaving directory '/tmp/cabal-tmp-29781/mtl-2.2.1' Installed mtl-2.2.1 cabal: Entering directory '/tmp/cabal-tmp-29781/BNFC-2.8.1' Configuring BNFC-2.8.1... Building BNFC-2.8.1... Preprocessing library BNFC-2.8.1... [1 of 6] Compiling Data.Pair ( src/Data/Pair.hs, dist/build/Data/Pair.o ) [2 of 6] Compiling Algebra.RingUtils ( runtime/Algebra/RingUtils.hs, dist/build/Algebra/RingUtils.o ) [3 of 6] Compiling Data.Matrix.Class ( runtime/Data/Matrix/Class.hs, dist/build/Data/Matrix/Class.o ) [4 of 6] Compiling Data.Matrix.Quad ( runtime/Data/Matrix/Quad.hs, dist/build/Data/Matrix/Quad.o ) runtime/Data/Matrix/Quad.hs:79:3: warning: [-Woverlapping-patterns] Pattern match is redundant In an equation for ‘&’: & x y = ... [5 of 6] Compiling Parsing.Chart ( runtime/Parsing/Chart.hs, dist/build/Parsing/Chart.o ) [6 of 6] Compiling Parsing.TestProgram ( runtime/Parsing/TestProgram.hs, dist/build/Parsing/TestProgram.o ) Preprocessing executable 'bnfc' for BNFC-2.8.1... [ 1 of 95] Compiling Paths_BNFC ( dist/build/autogen/Paths_BNFC.hs, dist/build/bnfc/bnfc-tmp/Paths_BNFC.o ) [ 2 of 95] Compiling LexBNF ( dist/build/bnfc/bnfc-tmp/LexBNF.hs, dist/build/bnfc/bnfc-tmp/LexBNF.o ) [ 3 of 95] Compiling ErrM ( src/ErrM.hs, dist/build/bnfc/bnfc-tmp/ErrM.o ) [ 4 of 95] Compiling Data.Pair ( src/Data/Pair.hs, dist/build/bnfc/bnfc-tmp/Data/Pair.o ) src/Data/Pair.hs:3:1: warning: [-Wunused-imports] The import of ‘Control.Applicative’ is redundant except perhaps to import instances from ‘Control.Applicative’ To import instances alone, use: import Control.Applicative() [ 5 of 95] Compiling BNFC.PrettyPrint ( src/BNFC/PrettyPrint.hs, dist/build/bnfc/bnfc-tmp/BNFC/PrettyPrint.o ) [ 6 of 95] Compiling BNFC.Utils ( src/BNFC/Utils.hs, dist/build/bnfc/bnfc-tmp/BNFC/Utils.o ) src/BNFC/Utils.hs:34:1: warning: [-Wunused-imports] The import of ‘createDirectory, doesDirectoryExist’ from module ‘System.Directory’ is redundant [ 7 of 95] Compiling BNFC.Backend.Haskell.MkSharedString ( src/BNFC/Backend/Haskell/MkSharedString.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/Haskell/MkSharedString.o ) [ 8 of 95] Compiling BNFC.Backend.Haskell.MkErrM ( src/BNFC/Backend/Haskell/MkErrM.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/Haskell/MkErrM.o ) [ 9 of 95] Compiling BNFC.Backend.Common.StrUtils ( src/BNFC/Backend/Common/StrUtils.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/Common/StrUtils.o ) [10 of 95] Compiling BNFC.Backend.Common ( src/BNFC/Backend/Common.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/Common.o ) [11 of 95] Compiling BNFC.Backend.CPP.STL.STLUtils ( src/BNFC/Backend/CPP/STL/STLUtils.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/CPP/STL/STLUtils.o ) [12 of 95] Compiling BNFC.Backend.Base ( src/BNFC/Backend/Base.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/Base.o ) [13 of 95] Compiling AbsBNF ( src/AbsBNF.hs, dist/build/bnfc/bnfc-tmp/AbsBNF.o ) [14 of 95] Compiling BNFC.Backend.CPP.NoSTL.RegToFlex ( src/BNFC/Backend/CPP/NoSTL/RegToFlex.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/CPP/NoSTL/RegToFlex.o ) [15 of 95] Compiling BNFC.Backend.CSharp.RegToGPLEX ( src/BNFC/Backend/CSharp/RegToGPLEX.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/CSharp/RegToGPLEX.o ) [16 of 95] Compiling BNFC.Backend.Haskell.RegToAlex ( src/BNFC/Backend/Haskell/RegToAlex.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/Haskell/RegToAlex.o ) [17 of 95] Compiling BNFC.Backend.Java.RegToJLex ( src/BNFC/Backend/Java/RegToJLex.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/Java/RegToJLex.o ) [18 of 95] Compiling ParBNF ( dist/build/bnfc/bnfc-tmp/ParBNF.hs, dist/build/bnfc/bnfc-tmp/ParBNF.o ) [19 of 95] Compiling BNFC.CF ( src/BNFC/CF.hs, dist/build/bnfc/bnfc-tmp/BNFC/CF.o ) [20 of 95] Compiling BNFC.Backend.Common.NamedVariables ( src/BNFC/Backend/Common/NamedVariables.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/Common/NamedVariables.o ) src/BNFC/Backend/Common/NamedVariables.hs:104:1: warning: [-Wtabs] Tab character found here. Please use spaces instead. [21 of 95] Compiling BNFC.Backend.C.CFtoBisonC ( src/BNFC/Backend/C/CFtoBisonC.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/C/CFtoBisonC.o ) [22 of 95] Compiling BNFC.Backend.C.CFtoCAbs ( src/BNFC/Backend/C/CFtoCAbs.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/C/CFtoCAbs.o ) [23 of 95] Compiling BNFC.Backend.C.CFtoFlexC ( src/BNFC/Backend/C/CFtoFlexC.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/C/CFtoFlexC.o ) [24 of 95] Compiling BNFC.Backend.CPP.NoSTL.CFtoFlex ( src/BNFC/Backend/CPP/NoSTL/CFtoFlex.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/CPP/NoSTL/CFtoFlex.o ) [25 of 95] Compiling BNFC.Backend.CPP.PrettyPrinter ( src/BNFC/Backend/CPP/PrettyPrinter.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/CPP/PrettyPrinter.o ) [26 of 95] Compiling BNFC.Backend.Common.OOAbstract ( src/BNFC/Backend/Common/OOAbstract.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/Common/OOAbstract.o ) [27 of 95] Compiling BNFC.Backend.CPP.NoSTL.CFtoCPPAbs ( src/BNFC/Backend/CPP/NoSTL/CFtoCPPAbs.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/CPP/NoSTL/CFtoCPPAbs.o ) src/BNFC/Backend/CPP/NoSTL/CFtoCPPAbs.hs:97:1: warning: [-Wtabs] Tab character found here, and in 21 further locations. Please use spaces instead. [28 of 95] Compiling BNFC.Backend.CPP.STL.CFtoCVisitSkelSTL ( src/BNFC/Backend/CPP/STL/CFtoCVisitSkelSTL.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/CPP/STL/CFtoCVisitSkelSTL.o ) [29 of 95] Compiling BNFC.Backend.CPP.STL.CFtoSTLAbs ( src/BNFC/Backend/CPP/STL/CFtoSTLAbs.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/CPP/STL/CFtoSTLAbs.o ) src/BNFC/Backend/CPP/STL/CFtoSTLAbs.hs:170:1: warning: [-Wtabs] Tab character found here. Please use spaces instead. [30 of 95] Compiling BNFC.Backend.CSharp.CSharpUtils ( src/BNFC/Backend/CSharp/CSharpUtils.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/CSharp/CSharpUtils.o ) [31 of 95] Compiling BNFC.Backend.CSharp.CAbstoCSharpAbs ( src/BNFC/Backend/CSharp/CAbstoCSharpAbs.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/CSharp/CAbstoCSharpAbs.o ) src/BNFC/Backend/CSharp/CAbstoCSharpAbs.hs:147:1: warning: [-Wtabs] Tab character found here, and in four further locations. Please use spaces instead. [32 of 95] Compiling BNFC.Backend.CSharp.CAbstoCSharpAbstractVisitSkeleton ( src/BNFC/Backend/CSharp/CAbstoCSharpAbstractVisitSkeleton.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/CSharp/CAbstoCSharpAbstractVisitSkeleton.o ) [33 of 95] Compiling BNFC.Backend.CSharp.CAbstoCSharpVisitSkeleton ( src/BNFC/Backend/CSharp/CAbstoCSharpVisitSkeleton.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/CSharp/CAbstoCSharpVisitSkeleton.o ) [34 of 95] Compiling BNFC.Backend.CSharp.CFtoCSharpPrinter ( src/BNFC/Backend/CSharp/CFtoCSharpPrinter.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/CSharp/CFtoCSharpPrinter.o ) [35 of 95] Compiling BNFC.Backend.CSharp.CFtoGPLEX ( src/BNFC/Backend/CSharp/CFtoGPLEX.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/CSharp/CFtoGPLEX.o ) [36 of 95] Compiling BNFC.Backend.Haskell.CFtoAlex ( src/BNFC/Backend/Haskell/CFtoAlex.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/Haskell/CFtoAlex.o ) [37 of 95] Compiling BNFC.Backend.Haskell.CFtoAlex2 ( src/BNFC/Backend/Haskell/CFtoAlex2.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/Haskell/CFtoAlex2.o ) [38 of 95] Compiling BNFC.Backend.Haskell.CFtoAlex3 ( src/BNFC/Backend/Haskell/CFtoAlex3.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/Haskell/CFtoAlex3.o ) [39 of 95] Compiling BNFC.Backend.Haskell.CFtoLayout ( src/BNFC/Backend/Haskell/CFtoLayout.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/Haskell/CFtoLayout.o ) [40 of 95] Compiling BNFC.Backend.Haskell.Utils ( src/BNFC/Backend/Haskell/Utils.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/Haskell/Utils.o ) [41 of 95] Compiling BNFC.Backend.Haskell.CFtoAbstract ( src/BNFC/Backend/Haskell/CFtoAbstract.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/Haskell/CFtoAbstract.o ) [42 of 95] Compiling BNFC.Backend.Haskell.CFtoPrinter ( src/BNFC/Backend/Haskell/CFtoPrinter.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/Haskell/CFtoPrinter.o ) src/BNFC/Backend/Haskell/CFtoPrinter.hs:223:1: warning: [-Wincomplete-patterns] Pattern match(es) are non-exhaustive In an equation for ‘mkPrtListCase’: Patterns not matched: (Rule _ InternalCat _) (Rule _ (Cat _) _) (Rule _ (TokenCat _) _) (Rule _ (CoercCat _ _) _) [43 of 95] Compiling BNFC.Backend.Haskell.CFtoTemplate ( src/BNFC/Backend/Haskell/CFtoTemplate.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/Haskell/CFtoTemplate.o ) [44 of 95] Compiling BNFC.Backend.HaskellGADT.HaskellGADTCommon ( src/BNFC/Backend/HaskellGADT/HaskellGADTCommon.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/HaskellGADT/HaskellGADTCommon.o ) src/BNFC/Backend/HaskellGADT/HaskellGADTCommon.hs:27:1: warning: [-Wtabs] Tab character found here, and in 67 further locations. Please use spaces instead. [45 of 95] Compiling BNFC.Backend.HaskellGADT.CFtoAbstractGADT ( src/BNFC/Backend/HaskellGADT/CFtoAbstractGADT.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/HaskellGADT/CFtoAbstractGADT.o ) src/BNFC/Backend/HaskellGADT/CFtoAbstractGADT.hs:90:1: warning: [-Wtabs] Tab character found here, and in 39 further locations. Please use spaces instead. [46 of 95] Compiling BNFC.Backend.HaskellGADT.CFtoTemplateGADT ( src/BNFC/Backend/HaskellGADT/CFtoTemplateGADT.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/HaskellGADT/CFtoTemplateGADT.o ) src/BNFC/Backend/HaskellGADT/CFtoTemplateGADT.hs:22:1: warning: [-Wtabs] Tab character found here, and in five further locations. Please use spaces instead. [47 of 95] Compiling BNFC.Backend.HaskellProfile.CFtoHappyProfile ( src/BNFC/Backend/HaskellProfile/CFtoHappyProfile.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/HaskellProfile/CFtoHappyProfile.o ) src/BNFC/Backend/HaskellProfile/CFtoHappyProfile.hs:62:1: warning: [-Wtabs] Tab character found here, and in 10 further locations. Please use spaces instead. [48 of 95] Compiling BNFC.Backend.Java.CFtoAbstractVisitor ( src/BNFC/Backend/Java/CFtoAbstractVisitor.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/Java/CFtoAbstractVisitor.o ) [49 of 95] Compiling BNFC.Backend.Java.CFtoAllVisitor ( src/BNFC/Backend/Java/CFtoAllVisitor.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/Java/CFtoAllVisitor.o ) [50 of 95] Compiling BNFC.Backend.Java.CFtoJLex15 ( src/BNFC/Backend/Java/CFtoJLex15.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/Java/CFtoJLex15.o ) [51 of 95] Compiling BNFC.Backend.Java.CFtoJavaAbs15 ( src/BNFC/Backend/Java/CFtoJavaAbs15.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/Java/CFtoJavaAbs15.o ) [52 of 95] Compiling BNFC.Backend.Java.CFtoComposVisitor ( src/BNFC/Backend/Java/CFtoComposVisitor.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/Java/CFtoComposVisitor.o ) src/BNFC/Backend/Java/CFtoComposVisitor.hs:63:1: warning: [-Wtabs] Tab character found here, and in one further location. Please use spaces instead. [53 of 95] Compiling BNFC.Backend.Java.CFtoFoldVisitor ( src/BNFC/Backend/Java/CFtoFoldVisitor.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/Java/CFtoFoldVisitor.o ) src/BNFC/Backend/Java/CFtoFoldVisitor.hs:56:1: warning: [-Wtabs] Tab character found here, and in one further location. Please use spaces instead. [54 of 95] Compiling BNFC.Backend.Java.CFtoJavaPrinter15 ( src/BNFC/Backend/Java/CFtoJavaPrinter15.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/Java/CFtoJavaPrinter15.o ) src/BNFC/Backend/Java/CFtoJavaPrinter15.hs:54:18: warning: [-Wtabs] Tab character found here, and in five further locations. Please use spaces instead. [55 of 95] Compiling BNFC.Backend.Java.CFtoVisitSkel15 ( src/BNFC/Backend/Java/CFtoVisitSkel15.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/Java/CFtoVisitSkel15.o ) src/BNFC/Backend/Java/CFtoVisitSkel15.hs:84:1: warning: [-Wtabs] Tab character found here, and in four further locations. Please use spaces instead. [56 of 95] Compiling BNFC.Backend.OCaml.OCamlUtil ( src/BNFC/Backend/OCaml/OCamlUtil.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/OCaml/OCamlUtil.o ) [57 of 95] Compiling BNFC.Backend.OCaml.CFtoOCamlAbs ( src/BNFC/Backend/OCaml/CFtoOCamlAbs.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/OCaml/CFtoOCamlAbs.o ) [58 of 95] Compiling BNFC.Backend.OCaml.CFtoOCamlPrinter ( src/BNFC/Backend/OCaml/CFtoOCamlPrinter.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/OCaml/CFtoOCamlPrinter.o ) src/BNFC/Backend/OCaml/CFtoOCamlPrinter.hs:150:4: warning: [-Wunused-local-binds] Defined but not used: ‘names’ src/BNFC/Backend/OCaml/CFtoOCamlPrinter.hs:161:4: warning: [-Wunused-local-binds] Defined but not used: ‘checkRes’ src/BNFC/Backend/OCaml/CFtoOCamlPrinter.hs:212:1: warning: [-Wincomplete-patterns] Pattern match(es) are non-exhaustive In an equation for ‘mkPrtListCase’: Patterns not matched: (Rule _ InternalCat _) (Rule _ (Cat _) _) (Rule _ (TokenCat _) _) (Rule _ (CoercCat _ _) _) [59 of 95] Compiling BNFC.Backend.OCaml.CFtoOCamlShow ( src/BNFC/Backend/OCaml/CFtoOCamlShow.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/OCaml/CFtoOCamlShow.o ) [60 of 95] Compiling BNFC.Backend.OCaml.CFtoOCamlTemplate ( src/BNFC/Backend/OCaml/CFtoOCamlTemplate.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/OCaml/CFtoOCamlTemplate.o ) [61 of 95] Compiling BNFC.Backend.OCaml.CFtoOCamlTest ( src/BNFC/Backend/OCaml/CFtoOCamlTest.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/OCaml/CFtoOCamlTest.o ) [62 of 95] Compiling BNFC.Backend.OCaml.CFtoOCamlYacc ( src/BNFC/Backend/OCaml/CFtoOCamlYacc.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/OCaml/CFtoOCamlYacc.o ) [63 of 95] Compiling BNFC.Backend.OCaml.CFtoOCamlLex ( src/BNFC/Backend/OCaml/CFtoOCamlLex.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/OCaml/CFtoOCamlLex.o ) [64 of 95] Compiling BNFC.Backend.Txt2Tag ( src/BNFC/Backend/Txt2Tag.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/Txt2Tag.o ) [65 of 95] Compiling BNFC.Backend.Utils ( src/BNFC/Backend/Utils.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/Utils.o ) [66 of 95] Compiling BNFC.Backend.C.CFtoCPrinter ( src/BNFC/Backend/C/CFtoCPrinter.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/C/CFtoCPrinter.o ) [67 of 95] Compiling BNFC.Backend.C.CFtoCSkel ( src/BNFC/Backend/C/CFtoCSkel.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/C/CFtoCSkel.o ) [68 of 95] Compiling BNFC.Backend.CPP.NoSTL.CFtoCVisitSkel ( src/BNFC/Backend/CPP/NoSTL/CFtoCVisitSkel.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/CPP/NoSTL/CFtoCVisitSkel.o ) [69 of 95] Compiling BNFC.Options ( src/BNFC/Options.hs, dist/build/bnfc/bnfc-tmp/BNFC/Options.o ) [70 of 95] Compiling BNFC.Backend.Common.Makefile ( src/BNFC/Backend/Common/Makefile.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/Common/Makefile.o ) [71 of 95] Compiling BNFC.Backend.C ( src/BNFC/Backend/C.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/C.o ) [72 of 95] Compiling BNFC.Backend.Haskell.CFtoHappy ( src/BNFC/Backend/Haskell/CFtoHappy.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/Haskell/CFtoHappy.o ) [73 of 95] Compiling BNFC.Backend.Haskell.HsOpts ( src/BNFC/Backend/Haskell/HsOpts.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/Haskell/HsOpts.o ) [74 of 95] Compiling BNFC.Backend.HaskellProfile ( src/BNFC/Backend/HaskellProfile.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/HaskellProfile.o ) [75 of 95] Compiling BNFC.Backend.Latex ( src/BNFC/Backend/Latex.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/Latex.o ) [76 of 95] Compiling BNFC.Backend.XML ( src/BNFC/Backend/XML.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/XML.o ) [77 of 95] Compiling BNFC.Backend.OCaml ( src/BNFC/Backend/OCaml.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/OCaml.o ) [78 of 95] Compiling BNFC.ToCNFCore ( src/BNFC/ToCNFCore.hs, dist/build/bnfc/bnfc-tmp/BNFC/ToCNFCore.o ) src/BNFC/ToCNFCore.hs:37:1: warning: [-Wunused-imports] The import of ‘Control.Applicative’ is redundant except perhaps to import instances from ‘Control.Applicative’ To import instances alone, use: import Control.Applicative() [79 of 95] Compiling BNFC.Backend.Haskell.ToCNF ( src/BNFC/Backend/Haskell/ToCNF.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/Haskell/ToCNF.o ) src/BNFC/Backend/Haskell/ToCNF.hs:37:1: warning: [-Wunused-imports] The import of ‘Control.Applicative’ is redundant except perhaps to import instances from ‘Control.Applicative’ To import instances alone, use: import Control.Applicative() [80 of 95] Compiling BNFC.Backend.Haskell ( src/BNFC/Backend/Haskell.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/Haskell.o ) [81 of 95] Compiling BNFC.Backend.HaskellGADT ( src/BNFC/Backend/HaskellGADT.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/HaskellGADT.o ) [82 of 95] Compiling BNFC.TypeChecker ( src/BNFC/TypeChecker.hs, dist/build/bnfc/bnfc-tmp/BNFC/TypeChecker.o ) [83 of 95] Compiling BNFC.Backend.CPP.STL.CFtoBisonSTL ( src/BNFC/Backend/CPP/STL/CFtoBisonSTL.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/CPP/STL/CFtoBisonSTL.o ) src/BNFC/Backend/CPP/STL/CFtoBisonSTL.hs:90:1: warning: [-Wtabs] Tab character found here, and in 104 further locations. Please use spaces instead. [84 of 95] Compiling BNFC.Backend.CPP.NoSTL.CFtoBison ( src/BNFC/Backend/CPP/NoSTL/CFtoBison.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/CPP/NoSTL/CFtoBison.o ) src/BNFC/Backend/CPP/NoSTL/CFtoBison.hs:102:1: warning: [-Wtabs] Tab character found here, and in 100 further locations. Please use spaces instead. [85 of 95] Compiling BNFC.Backend.CPP.NoSTL ( src/BNFC/Backend/CPP/NoSTL.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/CPP/NoSTL.o ) [86 of 95] Compiling BNFC.Backend.CPP.STL ( src/BNFC/Backend/CPP/STL.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/CPP/STL.o ) [87 of 95] Compiling BNFC.Backend.CSharp.CFtoGPPG ( src/BNFC/Backend/CSharp/CFtoGPPG.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/CSharp/CFtoGPPG.o ) [88 of 95] Compiling BNFC.Backend.CSharp ( src/BNFC/Backend/CSharp.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/CSharp.o ) [89 of 95] Compiling BNFC.Backend.Java.CFtoCup15 ( src/BNFC/Backend/Java/CFtoCup15.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/Java/CFtoCup15.o ) [90 of 95] Compiling BNFC.Backend.Java ( src/BNFC/Backend/Java.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/Java.o ) [91 of 95] Compiling BNFC.GetCF ( src/BNFC/GetCF.hs, dist/build/bnfc/bnfc-tmp/BNFC/GetCF.o ) [92 of 95] Compiling PrintBNF ( src/PrintBNF.hs, dist/build/bnfc/bnfc-tmp/PrintBNF.o ) src/PrintBNF.hs:216:4: warning: [-Woverlapping-patterns] Pattern match is redundant In a case alternative: [x] -> ... src/PrintBNF.hs:218:4: warning: [-Woverlapping-patterns] Pattern match is redundant In a case alternative: x : xs -> ... [93 of 95] Compiling BNFC.Lexing ( src/BNFC/Lexing.hs, dist/build/bnfc/bnfc-tmp/BNFC/Lexing.o ) src/BNFC/Lexing.hs:12:1: warning: [-Wunused-top-binds] Defined but not used: ‘p’ [94 of 95] Compiling BNFC.Backend.Pygments ( src/BNFC/Backend/Pygments.hs, dist/build/bnfc/bnfc-tmp/BNFC/Backend/Pygments.o ) [95 of 95] Compiling Main ( src/Main.hs, dist/build/bnfc/bnfc-tmp/Main.o ) Linking dist/build/bnfc/bnfc ... Running Haddock for BNFC-2.8.1... Running hscolour for BNFC-2.8.1... Preprocessing library BNFC-2.8.1... Preprocessing executable 'bnfc' for BNFC-2.8.1... Preprocessing library BNFC-2.8.1... Haddock coverage: 0% ( 0 / 4) in 'Data.Pair' Missing documentation for: Module header Pair (src/Data/Pair.hs:7) (src/Data/Pair.hs:10) (src/Data/Pair.hs:13) 14% ( 2 / 14) in 'Algebra.RingUtils' Missing documentation for: Module header AbelianGroup (runtime/Algebra/RingUtils.hs:22) AbelianGroupZ (runtime/Algebra/RingUtils.hs:30) Ring (runtime/Algebra/RingUtils.hs:36) RingP (runtime/Algebra/RingUtils.hs:39) Pair (src/Data/Pair.hs:7) select (runtime/Algebra/RingUtils.hs:48) onlyLeft (runtime/Algebra/RingUtils.hs:45) onlyRight (runtime/Algebra/RingUtils.hs:46) O (runtime/Algebra/RingUtils.hs:50) sum (runtime/Algebra/RingUtils.hs:69) mulDefault (runtime/Algebra/RingUtils.hs:43) 0% ( 0 / 22) in 'Data.Matrix.Class' Missing documentation for: Module header fingerprint (runtime/Data/Matrix/Class.hs:10) *** (runtime/Data/Matrix/Class.hs:14) Dimension (runtime/Data/Matrix/Class.hs:16) quad (runtime/Data/Matrix/Class.hs:21) nextDim (runtime/Data/Matrix/Class.hs:24) Extent (runtime/Data/Matrix/Class.hs:27) ext (runtime/Data/Matrix/Class.hs:29) glueExt (runtime/Data/Matrix/Class.hs:32) splitExt (runtime/Data/Matrix/Class.hs:35) Matrix (runtime/Data/Matrix/Class.hs:38) (runtime/Data/Matrix/Class.hs:47) <|> (runtime/Data/Matrix/Class.hs:58) <-> (runtime/Data/Matrix/Class.hs:61) countColumns (runtime/Data/Matrix/Class.hs:64) countRows (runtime/Data/Matrix/Class.hs:64) chopLastColumn (runtime/Data/Matrix/Class.hs:68) chopFirstRow (runtime/Data/Matrix/Class.hs:68) chopFirstColumn (runtime/Data/Matrix/Class.hs:68) chopLastRow (runtime/Data/Matrix/Class.hs:68) lastColumn (runtime/Data/Matrix/Class.hs:68) firstRow (runtime/Data/Matrix/Class.hs:68) 11% ( 6 / 56) in 'Data.Matrix.Quad' Missing documentation for: Module header Shape (runtime/Data/Matrix/Quad.hs:12) Shape' (runtime/Data/Matrix/Quad.hs:14) SomeShape (runtime/Data/Matrix/Quad.hs:18) Mat (runtime/Data/Matrix/Quad.hs:21) Vec (runtime/Data/Matrix/Quad.hs:30) row (runtime/Data/Matrix/Quad.hs:36) col (runtime/Data/Matrix/Quad.hs:39) quad (runtime/Data/Matrix/Quad.hs:43) one (runtime/Data/Matrix/Quad.hs:46) .+. (runtime/Data/Matrix/Quad.hs:50) (runtime/Data/Matrix/Quad.hs:58) mult (runtime/Data/Matrix/Quad.hs:62) trav (runtime/Data/Matrix/Quad.hs:82) q0 (runtime/Data/Matrix/Quad.hs:89) closeDisjointP (runtime/Data/Matrix/Quad.hs:92) showR (runtime/Data/Matrix/Quad.hs:114) bin' (runtime/Data/Matrix/Quad.hs:121) mkShape (runtime/Data/Matrix/Quad.hs:124) mkSing (runtime/Data/Matrix/Quad.hs:132) SomeTri (runtime/Data/Matrix/Quad.hs:138) Q (runtime/Data/Matrix/Quad.hs:141) mkUpDiag (runtime/Data/Matrix/Quad.hs:143) close (runtime/Data/Matrix/Quad.hs:148) mkTree (runtime/Data/Matrix/Quad.hs:155) quad' (runtime/Data/Matrix/Quad.hs:159) mergein (runtime/Data/Matrix/Quad.hs:161) first (runtime/Data/Matrix/Quad.hs:198) second (runtime/Data/Matrix/Quad.hs:199) (runtime/Data/Matrix/Quad.hs:201) Path (runtime/Data/Matrix/Quad.hs:205) <||> (runtime/Data/Matrix/Quad.hs:210) results' (runtime/Data/Matrix/Quad.hs:230) results (runtime/Data/Matrix/Quad.hs:235) leftMost (runtime/Data/Matrix/Quad.hs:238) fromPath (runtime/Data/Matrix/Quad.hs:242) root' (runtime/Data/Matrix/Quad.hs:248) root (runtime/Data/Matrix/Quad.hs:255) single (runtime/Data/Matrix/Quad.hs:257) square2 (runtime/Data/Matrix/Quad.hs:259) square3 (runtime/Data/Matrix/Quad.hs:261) sz' (runtime/Data/Matrix/Quad.hs:265) |+| (runtime/Data/Matrix/Quad.hs:270) -+- (runtime/Data/Matrix/Quad.hs:271) lin (runtime/Data/Matrix/Quad.hs:274) sparse (runtime/Data/Matrix/Quad.hs:281) shiftX (runtime/Data/Matrix/Quad.hs:288) shiftY (runtime/Data/Matrix/Quad.hs:289) fingerprint (runtime/Data/Matrix/Quad.hs:291) scatterplot (runtime/Data/Matrix/Quad.hs:298) 0% ( 0 / 13) in 'Parsing.Chart' Missing documentation for: Module header fingerprint (runtime/Parsing/Chart.hs:17) mkTree2 (runtime/Parsing/Chart.hs:34) mkTree (runtime/Parsing/Chart.hs:44) mkTree' (runtime/Parsing/Chart.hs:45) Set (runtime/Parsing/Chart.hs:48) (runtime/Parsing/Chart.hs:51) (runtime/Parsing/Chart.hs:55) MT2 (runtime/Parsing/Chart.hs:58) genXPM (runtime/Parsing/Chart.hs:60) root (runtime/Parsing/Chart.hs:73) mergein (runtime/Parsing/Chart.hs:74) single (runtime/Parsing/Chart.hs:75) 0% ( 0 / 6) in 'Parsing.TestProgram' Missing documentation for: Module header Verbosity (runtime/Parsing/TestProgram.hs:15) putStrV (runtime/Parsing/TestProgram.hs:17) mainTest (runtime/Parsing/TestProgram.hs:21) pairs (runtime/Parsing/TestProgram.hs:77) resSz (runtime/Parsing/TestProgram.hs:80) Documentation created: dist/doc/html/BNFC/index.html, dist/doc/html/BNFC/BNFC.txt Preprocessing executable 'bnfc' for BNFC-2.8.1... Creating package registration file: /tmp/pkgConf-BNFC-2.89176792922006811972.1 Installing library in /home/builder/hackage-server/build-cache/tmp-install/lib/x86_64-linux-ghc-8.0.1.20161018/BNFC-2.8.1-JDPdOG9kGCE1KIJ3e0kIG8 Installing executable(s) in /home/builder/hackage-server/build-cache/tmp-install/bin Warning: The directory /home/builder/hackage-server/build-cache/tmp-install/bin is not in the system search path. Registering BNFC-2.8.1... cabal: Leaving directory '/tmp/cabal-tmp-29781/BNFC-2.8.1' Installed BNFC-2.8.1 cabal: Entering directory '/tmp/cabal-tmp-29781/cubical-0.2.0' [1 of 1] Compiling Main ( /tmp/cabal-tmp-29781/cubical-0.2.0/dist/setup/setup.hs, /tmp/cabal-tmp-29781/cubical-0.2.0/dist/setup/Main.o ) Linking /tmp/cabal-tmp-29781/cubical-0.2.0/dist/setup/setup ... /bin/sh: 1: bnfc: not found setup: bnfc command not found or error127 CallStack (from HasCallStack): error, called at /tmp/cabal-tmp-29781/cubical-0.2.0/dist/setup/setup.hs:22:26 in main:Main cabal: Leaving directory '/tmp/cabal-tmp-29781/cubical-0.2.0' Failed to install cubical-0.2.0 cabal: Error: some packages failed to install: cubical-0.2.0 failed during the configure step. The exception was: ExitFailure 1