Running phase: setupCompilerEnvironmentPhase Build with /nix/store/y48hvc1f09367cz5f03dcncv6n3lkf18-ghc-9.10.3. Running phase: unpackPhase unpacking source archive /nix/store/rwcpdzs5lx64gwaxbxzww7y7sgrh6g74-hscolour-1.25.tar.gz source root is hscolour-1.25 setting SOURCE_DATE_EPOCH to timestamp 1693392271 of file "hscolour-1.25/hscolour.cabal" Running phase: patchPhase Running phase: compileBuildDriverPhase setupCompileFlags: -package-db=/build/tmp.HOGvHeqDdr/setup-package.conf.d -threaded [1 of 2] Compiling Main ( Setup.hs, /build/tmp.HOGvHeqDdr/Main.o ) [2 of 2] Linking Setup Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase configureFlags: --verbose --prefix=/nix/store/7jmv3q39mz536pqn37cb6p25jd9hz5yi-hscolour-1.25 --libdir=$prefix/lib/$compiler/lib --libsubdir=$abi/$libname --datadir=/nix/store/rfnfcjjky491z7j2h11s17j4ldxqxv69-hscolour-1.25-data/share/ghc-9.10.3 --with-gcc=gcc --package-db=/build/tmp.HOGvHeqDdr/package.conf.d --ghc-option=-j16 --ghc-option=+RTS --ghc-option=-A64M --ghc-option=-RTS --enable-library-profiling --profiling-detail=exported-functions --disable-profiling --enable-shared --disable-coverage --enable-static --disable-executable-dynamic --enable-tests --disable-benchmarks --enable-library-vanilla --disable-library-for-ghci --enable-split-sections --enable-library-stripping --enable-executable-stripping --extra-lib-dirs=/nix/store/62qhvy2m2lpqj7ca39j9wvp2kkcxwdcg-ncurses-6.6/lib --extra-lib-dirs=/nix/store/rkfkkdgwz8y31hk76i4b9s59h5raya9n-libffi-3.5.2/lib --extra-lib-dirs=/nix/store/hkxx26hifhkm5xsfwk1khwi1bkal3i9k-elfutils-0.195/lib --extra-lib-dirs=/nix/store/sy8ark85hgjhhcr1ycgarf5w7ajw8jcc-gmp-with-cxx-6.3.0/lib --extra-lib-dirs=/nix/store/51bryd6zjk96w46s7g30azhbfrwhbh76-numactl-2.0.18/lib Using Parsec parser Configuring hscolour-1.25... Dependency base <10: using base-4.20.2.0 Dependency containers: using containers-0.7 Dependency base <10: using base-4.20.2.0 Dependency containers: using containers-0.7 Source component graph: component exe:HsColour component lib Configured component graph: component hscolour-1.25-CDW80L7pd16H29u1VkyRK4-HsColour include base-4.20.2.0-2363 include containers-0.7-5389 component hscolour-1.25-343b2O7mCbPD6vgZ0aPvgj include base-4.20.2.0-2363 include containers-0.7-5389 Linked component graph: unit hscolour-1.25-CDW80L7pd16H29u1VkyRK4-HsColour include base-4.20.2.0-2363 include containers-0.7-5389 unit hscolour-1.25-343b2O7mCbPD6vgZ0aPvgj include base-4.20.2.0-2363 include containers-0.7-5389 Language.Haskell.HsColour=hscolour-1.25-343b2O7mCbPD6vgZ0aPvgj:Language.Haskell.HsColour,Language.Haskell.HsColour.ACSS=hscolour-1.25-343b2O7mCbPD6vgZ0aPvgj:Language.Haskell.HsColour.ACSS,Language.Haskell.HsColour.ANSI=hscolour-1.25-343b2O7mCbPD6vgZ0aPvgj:Language.Haskell.HsColour.ANSI,Language.Haskell.HsColour.Anchors=hscolour-1.25-343b2O7mCbPD6vgZ0aPvgj:Language.Haskell.HsColour.Anchors,Language.Haskell.HsColour.CSS=hscolour-1.25-343b2O7mCbPD6vgZ0aPvgj:Language.Haskell.HsColour.CSS,Language.Haskell.HsColour.Classify=hscolour-1.25-343b2O7mCbPD6vgZ0aPvgj:Language.Haskell.HsColour.Classify,Language.Haskell.HsColour.ColourHighlight=hscolour-1.25-343b2O7mCbPD6vgZ0aPvgj:Language.Haskell.HsColour.ColourHighlight,Language.Haskell.HsColour.Colourise=hscolour-1.25-343b2O7mCbPD6vgZ0aPvgj:Language.Haskell.HsColour.Colourise,Language.Haskell.HsColour.General=hscolour-1.25-343b2O7mCbPD6vgZ0aPvgj:Language.Haskell.HsColour.General,Language.Haskell.HsColour.HTML=hscolour-1.25-343b2O7mCbPD6vgZ0aPvgj:Language.Haskell.HsColour.HTML,Language.Haskell.HsColour.InlineCSS=hscolour-1.25-343b2O7mCbPD6vgZ0aPvgj:Language.Haskell.HsColour.InlineCSS,Language.Haskell.HsColour.LaTeX=hscolour-1.25-343b2O7mCbPD6vgZ0aPvgj:Language.Haskell.HsColour.LaTeX,Language.Haskell.HsColour.MIRC=hscolour-1.25-343b2O7mCbPD6vgZ0aPvgj:Language.Haskell.HsColour.MIRC,Language.Haskell.HsColour.Options=hscolour-1.25-343b2O7mCbPD6vgZ0aPvgj:Language.Haskell.HsColour.Options,Language.Haskell.HsColour.Output=hscolour-1.25-343b2O7mCbPD6vgZ0aPvgj:Language.Haskell.HsColour.Output,Language.Haskell.HsColour.TTY=hscolour-1.25-343b2O7mCbPD6vgZ0aPvgj:Language.Haskell.HsColour.TTY Ready component graph: definite hscolour-1.25-CDW80L7pd16H29u1VkyRK4-HsColour depends base-4.20.2.0-2363 depends containers-0.7-5389 definite hscolour-1.25-343b2O7mCbPD6vgZ0aPvgj depends base-4.20.2.0-2363 depends containers-0.7-5389 Using Cabal-3.12.1.0 compiled by ghc-9.10 Using compiler: ghc-9.10.3 Using install prefix: /nix/store/7jmv3q39mz536pqn37cb6p25jd9hz5yi-hscolour-1.25 Executables installed in: /nix/store/7jmv3q39mz536pqn37cb6p25jd9hz5yi-hscolour-1.25/bin Libraries installed in: /nix/store/7jmv3q39mz536pqn37cb6p25jd9hz5yi-hscolour-1.25/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-ad9c/hscolour-1.25-343b2O7mCbPD6vgZ0aPvgj Dynamic Libraries installed in: /nix/store/7jmv3q39mz536pqn37cb6p25jd9hz5yi-hscolour-1.25/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-ad9c Private executables installed in: /nix/store/7jmv3q39mz536pqn37cb6p25jd9hz5yi-hscolour-1.25/libexec/x86_64-linux-ghc-9.10.3-ad9c/hscolour-1.25 Data files installed in: /nix/store/rfnfcjjky491z7j2h11s17j4ldxqxv69-hscolour-1.25-data/share/ghc-9.10.3/x86_64-linux-ghc-9.10.3-ad9c/hscolour-1.25 Documentation installed in: /nix/store/rfnfcjjky491z7j2h11s17j4ldxqxv69-hscolour-1.25-data/share/ghc-9.10.3/doc/x86_64-linux-ghc-9.10.3-ad9c/hscolour-1.25 Configuration files installed in: /nix/store/7jmv3q39mz536pqn37cb6p25jd9hz5yi-hscolour-1.25/etc No alex found Using ar found on system at: /nix/store/nhjmc8clp6igx6n6zrjxlh7zri78p7ng-binutils-wrapper-2.46/bin/ar No c2hs found No cpphs found No doctest found Using gcc version 15.2.0 given by user at: /nix/store/vdaz6sk455r8sbpi7wzaf9vlz5i9yyvx-gcc-wrapper-15.2.0/bin/gcc Using ghc version 9.10.3 found on system at: /nix/store/y48hvc1f09367cz5f03dcncv6n3lkf18-ghc-9.10.3/bin/ghc Using ghc-pkg version 9.10.3 found on system at: /nix/store/y48hvc1f09367cz5f03dcncv6n3lkf18-ghc-9.10.3/bin/ghc-pkg-9.10.3 No ghcjs found No ghcjs-pkg found No greencard found Using haddock version 2.31.1 found on system at: /nix/store/y48hvc1f09367cz5f03dcncv6n3lkf18-ghc-9.10.3/bin/haddock-ghc-9.10.3 No happy found Using haskell-suite found on system at: haskell-suite-dummy-location Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location No hmake found Using hpc version 0.69 found on system at: /nix/store/y48hvc1f09367cz5f03dcncv6n3lkf18-ghc-9.10.3/bin/hpc-ghc-9.10.3 Using hsc2hs version 0.68.10 found on system at: /nix/store/y48hvc1f09367cz5f03dcncv6n3lkf18-ghc-9.10.3/bin/hsc2hs-ghc-9.10.3 No hscolour found No jhc found Using ld found on system at: /nix/store/vdaz6sk455r8sbpi7wzaf9vlz5i9yyvx-gcc-wrapper-15.2.0/bin/ld No pkg-config found Using runghc version 9.10.3 found on system at: /nix/store/y48hvc1f09367cz5f03dcncv6n3lkf18-ghc-9.10.3/bin/runghc-9.10.3 Using strip version 2.46 found on system at: /nix/store/vdaz6sk455r8sbpi7wzaf9vlz5i9yyvx-gcc-wrapper-15.2.0/bin/strip Using tar found on system at: /nix/store/fq62mc3s8ddxgk1nvlbzly2zmr7v2cax-gnutar-1.35/bin/tar No uhc found Running phase: buildPhase Preprocessing executable 'HsColour' for hscolour-1.25... Building executable 'HsColour' for hscolour-1.25... : warning: [GHC-32850] [-Wmissing-home-modules] These modules are needed for compilation but not listed in your .cabal file's other-modules for ‘hscolour-1.25-CDW80L7pd16H29u1VkyRK4-HsColour’ : Language.Haskell.HsColour Language.Haskell.HsColour.ACSS Language.Haskell.HsColour.ANSI Language.Haskell.HsColour.Anchors Language.Haskell.HsColour.CSS Language.Haskell.HsColour.Classify Language.Haskell.HsColour.ColourHighlight Language.Haskell.HsColour.Colourise Language.Haskell.HsColour.General Language.Haskell.HsColour.HTML Language.Haskell.HsColour.InlineCSS Language.Haskell.HsColour.LaTeX Language.Haskell.HsColour.MIRC Language.Haskell.HsColour.Options Language.Haskell.HsColour.Output Language.Haskell.HsColour.TTY [ 1 of 17] Compiling Language.Haskell.HsColour.Classify ( Language/Haskell/HsColour/Classify.hs, dist/build/HsColour/HsColour-tmp/Language/Haskell/HsColour/Classify.o ) Language/Haskell/HsColour/Classify.hs:41:34: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 41 | [] -> [head s]: chunk (tail s) -- e.g. inside comment | ^^^^ Language/Haskell/HsColour/Classify.hs:41:50: warning: [GHC-63394] [-Wx-partial] In the use of ‘tail’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.Data.List.uncons' instead. Consider refactoring to use "Data.List.NonEmpty"." | 41 | [] -> [head s]: chunk (tail s) -- e.g. inside comment | ^^^^ Language/Haskell/HsColour/Classify.hs:50:32: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 50 | glue (q:".":n:rest) | isUpper (head q) -- qualified names | ^^^^ Language/Haskell/HsColour/Classify.hs:50:39: warning: [GHC-94817] [-Wtabs] Tab character found here, and in 7 further locations. Suggested fix: Please use spaces instead. | 50 | glue (q:".":n:rest) | isUpper (head q) -- qualified names | ^^ [ 2 of 17] Compiling Language.Haskell.HsColour.ColourHighlight ( Language/Haskell/HsColour/ColourHighlight.hs, dist/build/HsColour/HsColour-tmp/Language/Haskell/HsColour/ColourHighlight.o ) [ 3 of 17] Compiling Language.Haskell.HsColour.Colourise ( Language/Haskell/HsColour/Colourise.hs, dist/build/HsColour/HsColour-tmp/Language/Haskell/HsColour/Colourise.o ) [ 4 of 17] Compiling Language.Haskell.HsColour.General ( Language/Haskell/HsColour/General.hs, dist/build/HsColour/HsColour-tmp/Language/Haskell/HsColour/General.o ) [ 5 of 17] Compiling Language.Haskell.HsColour.Anchors ( Language/Haskell/HsColour/Anchors.hs, dist/build/HsColour/HsColour-tmp/Language/Haskell/HsColour/Anchors.o ) Language/Haskell/HsColour/Anchors.hs:73:1: warning: [GHC-94817] [-Wtabs] Tab character found here, and in four further locations. Suggested fix: Please use spaces instead. | 73 | | v `inST` st -> Nothing | ^^^^^^^^ Language/Haskell/HsColour/Anchors.hs:161:27: warning: [GHC-63394] [-Wx-partial] In the use of ‘tail’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.Data.List.uncons' instead. Consider refactoring to use "Data.List.NonEmpty"." | 161 | then tail . dropWhile (`notElem`[(Keyglyph,"=>") | ^^^^ [ 6 of 17] Compiling Language.Haskell.HsColour.HTML ( Language/Haskell/HsColour/HTML.hs, dist/build/HsColour/HsColour-tmp/Language/Haskell/HsColour/HTML.o ) [ 7 of 17] Compiling Language.Haskell.HsColour.CSS ( Language/Haskell/HsColour/CSS.hs, dist/build/HsColour/HsColour-tmp/Language/Haskell/HsColour/CSS.o ) [ 8 of 17] Compiling Language.Haskell.HsColour.ACSS ( Language/Haskell/HsColour/ACSS.hs, dist/build/HsColour/HsColour-tmp/Language/Haskell/HsColour/ACSS.o ) [ 9 of 17] Compiling Language.Haskell.HsColour.InlineCSS ( Language/Haskell/HsColour/InlineCSS.hs, dist/build/HsColour/HsColour-tmp/Language/Haskell/HsColour/InlineCSS.o ) Language/Haskell/HsColour/InlineCSS.hs:12:24: warning: [GHC-94817] [-Wtabs] Tab character found here. Suggested fix: Please use spaces instead. | 12 | hscolour :: ColourPrefs -- ^ Preferences for styling. | ^ [10 of 17] Compiling Language.Haskell.HsColour.LaTeX ( Language/Haskell/HsColour/LaTeX.hs, dist/build/HsColour/HsColour-tmp/Language/Haskell/HsColour/LaTeX.o ) [11 of 17] Compiling Language.Haskell.HsColour.MIRC ( Language/Haskell/HsColour/MIRC.hs, dist/build/HsColour/HsColour-tmp/Language/Haskell/HsColour/MIRC.o ) [12 of 17] Compiling Language.Haskell.HsColour.Output ( Language/Haskell/HsColour/Output.hs, dist/build/HsColour/HsColour-tmp/Language/Haskell/HsColour/Output.o ) [13 of 17] Compiling Language.Haskell.HsColour.Options ( Language/Haskell/HsColour/Options.hs, dist/build/HsColour/HsColour-tmp/Language/Haskell/HsColour/Options.o ) Language/Haskell/HsColour/Options.hs:11:9: warning: [GHC-94817] [-Wtabs] Tab character found here, and in 12 further locations. Suggested fix: Please use spaces instead. | 11 | Help -- ^ print usage message | ^^^^^^^^ [14 of 17] Compiling Language.Haskell.HsColour.ANSI ( Language/Haskell/HsColour/ANSI.hs, dist/build/HsColour/HsColour-tmp/Language/Haskell/HsColour/ANSI.o ) Language/Haskell/HsColour/ANSI.hs:62:10: warning: [GHC-06201] [-Wmissing-methods] • No explicit implementation for ‘toEnum’ • In the instance declaration for ‘Enum Highlight’ | 62 | instance Enum Highlight where | ^^^^^^^^^^^^^^ [15 of 17] Compiling Language.Haskell.HsColour.TTY ( Language/Haskell/HsColour/TTY.hs, dist/build/HsColour/HsColour-tmp/Language/Haskell/HsColour/TTY.o ) [16 of 17] Compiling Language.Haskell.HsColour ( Language/Haskell/HsColour.hs, dist/build/HsColour/HsColour-tmp/Language/Haskell/HsColour.o ) Language/Haskell/HsColour.hs:37:19: warning: [GHC-94817] [-Wtabs] Tab character found here, and in two further locations. Suggested fix: Please use spaces instead. | 37 | -> String -- ^ Title for output. | ^^^^^^ [17 of 17] Compiling Main ( HsColour.hs, dist/build/HsColour/HsColour-tmp/Main.o ) HsColour.hs:72:1: warning: [GHC-94817] [-Wtabs] Tab character found here, and in two further locations. Suggested fix: Please use spaces instead. | 72 | [(f, guessLiterate lhs f) | Input f <- good] | ^^^^^^^^ HsColour.hs:115:43: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 115 | | otherwise = f (head list) | ^^^^ : warning: [GHC-32850] [-Wmissing-home-modules] These modules are needed for compilation but not listed in your .cabal file's other-modules for ‘hscolour-1.25-CDW80L7pd16H29u1VkyRK4-HsColour’ : Language.Haskell.HsColour Language.Haskell.HsColour.ACSS Language.Haskell.HsColour.ANSI Language.Haskell.HsColour.Anchors Language.Haskell.HsColour.CSS Language.Haskell.HsColour.Classify Language.Haskell.HsColour.ColourHighlight Language.Haskell.HsColour.Colourise Language.Haskell.HsColour.General Language.Haskell.HsColour.HTML Language.Haskell.HsColour.InlineCSS Language.Haskell.HsColour.LaTeX Language.Haskell.HsColour.MIRC Language.Haskell.HsColour.Options Language.Haskell.HsColour.Output Language.Haskell.HsColour.TTY [18 of 18] Linking dist/build/HsColour/HsColour Preprocessing library for hscolour-1.25... Building library for hscolour-1.25... [ 1 of 16] Compiling Language.Haskell.HsColour.Classify ( Language/Haskell/HsColour/Classify.hs, dist/build/Language/Haskell/HsColour/Classify.o, dist/build/Language/Haskell/HsColour/Classify.dyn_o ) Language/Haskell/HsColour/Classify.hs:41:34: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 41 | [] -> [head s]: chunk (tail s) -- e.g. inside comment | ^^^^ Language/Haskell/HsColour/Classify.hs:41:50: warning: [GHC-63394] [-Wx-partial] In the use of ‘tail’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.Data.List.uncons' instead. Consider refactoring to use "Data.List.NonEmpty"." | 41 | [] -> [head s]: chunk (tail s) -- e.g. inside comment | ^^^^ Language/Haskell/HsColour/Classify.hs:50:32: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 50 | glue (q:".":n:rest) | isUpper (head q) -- qualified names | ^^^^ Language/Haskell/HsColour/Classify.hs:50:39: warning: [GHC-94817] [-Wtabs] Tab character found here, and in 7 further locations. Suggested fix: Please use spaces instead. | 50 | glue (q:".":n:rest) | isUpper (head q) -- qualified names | ^^ [ 2 of 16] Compiling Language.Haskell.HsColour.ColourHighlight ( Language/Haskell/HsColour/ColourHighlight.hs, dist/build/Language/Haskell/HsColour/ColourHighlight.o, dist/build/Language/Haskell/HsColour/ColourHighlight.dyn_o ) [ 3 of 16] Compiling Language.Haskell.HsColour.Colourise ( Language/Haskell/HsColour/Colourise.hs, dist/build/Language/Haskell/HsColour/Colourise.o, dist/build/Language/Haskell/HsColour/Colourise.dyn_o ) [ 4 of 16] Compiling Language.Haskell.HsColour.General ( Language/Haskell/HsColour/General.hs, dist/build/Language/Haskell/HsColour/General.o, dist/build/Language/Haskell/HsColour/General.dyn_o ) [ 5 of 16] Compiling Language.Haskell.HsColour.Anchors ( Language/Haskell/HsColour/Anchors.hs, dist/build/Language/Haskell/HsColour/Anchors.o, dist/build/Language/Haskell/HsColour/Anchors.dyn_o ) Language/Haskell/HsColour/Anchors.hs:73:1: warning: [GHC-94817] [-Wtabs] Tab character found here, and in four further locations. Suggested fix: Please use spaces instead. | 73 | | v `inST` st -> Nothing | ^^^^^^^^ Language/Haskell/HsColour/Anchors.hs:161:27: warning: [GHC-63394] [-Wx-partial] In the use of ‘tail’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.Data.List.uncons' instead. Consider refactoring to use "Data.List.NonEmpty"." | 161 | then tail . dropWhile (`notElem`[(Keyglyph,"=>") | ^^^^ [ 6 of 16] Compiling Language.Haskell.HsColour.HTML ( Language/Haskell/HsColour/HTML.hs, dist/build/Language/Haskell/HsColour/HTML.o, dist/build/Language/Haskell/HsColour/HTML.dyn_o ) [ 7 of 16] Compiling Language.Haskell.HsColour.CSS ( Language/Haskell/HsColour/CSS.hs, dist/build/Language/Haskell/HsColour/CSS.o, dist/build/Language/Haskell/HsColour/CSS.dyn_o ) [ 8 of 16] Compiling Language.Haskell.HsColour.ACSS ( Language/Haskell/HsColour/ACSS.hs, dist/build/Language/Haskell/HsColour/ACSS.o, dist/build/Language/Haskell/HsColour/ACSS.dyn_o ) [ 9 of 16] Compiling Language.Haskell.HsColour.InlineCSS ( Language/Haskell/HsColour/InlineCSS.hs, dist/build/Language/Haskell/HsColour/InlineCSS.o, dist/build/Language/Haskell/HsColour/InlineCSS.dyn_o ) Language/Haskell/HsColour/InlineCSS.hs:12:24: warning: [GHC-94817] [-Wtabs] Tab character found here. Suggested fix: Please use spaces instead. | 12 | hscolour :: ColourPrefs -- ^ Preferences for styling. | ^ [10 of 16] Compiling Language.Haskell.HsColour.LaTeX ( Language/Haskell/HsColour/LaTeX.hs, dist/build/Language/Haskell/HsColour/LaTeX.o, dist/build/Language/Haskell/HsColour/LaTeX.dyn_o ) [11 of 16] Compiling Language.Haskell.HsColour.MIRC ( Language/Haskell/HsColour/MIRC.hs, dist/build/Language/Haskell/HsColour/MIRC.o, dist/build/Language/Haskell/HsColour/MIRC.dyn_o ) [12 of 16] Compiling Language.Haskell.HsColour.Output ( Language/Haskell/HsColour/Output.hs, dist/build/Language/Haskell/HsColour/Output.o, dist/build/Language/Haskell/HsColour/Output.dyn_o ) [13 of 16] Compiling Language.Haskell.HsColour.Options ( Language/Haskell/HsColour/Options.hs, dist/build/Language/Haskell/HsColour/Options.o, dist/build/Language/Haskell/HsColour/Options.dyn_o ) Language/Haskell/HsColour/Options.hs:11:9: warning: [GHC-94817] [-Wtabs] Tab character found here, and in 12 further locations. Suggested fix: Please use spaces instead. | 11 | Help -- ^ print usage message | ^^^^^^^^ [14 of 16] Compiling Language.Haskell.HsColour.ANSI ( Language/Haskell/HsColour/ANSI.hs, dist/build/Language/Haskell/HsColour/ANSI.o, dist/build/Language/Haskell/HsColour/ANSI.dyn_o ) Language/Haskell/HsColour/ANSI.hs:62:10: warning: [GHC-06201] [-Wmissing-methods] • No explicit implementation for ‘toEnum’ • In the instance declaration for ‘Enum Highlight’ | 62 | instance Enum Highlight where | ^^^^^^^^^^^^^^ [15 of 16] Compiling Language.Haskell.HsColour.TTY ( Language/Haskell/HsColour/TTY.hs, dist/build/Language/Haskell/HsColour/TTY.o, dist/build/Language/Haskell/HsColour/TTY.dyn_o ) [16 of 16] Compiling Language.Haskell.HsColour ( Language/Haskell/HsColour.hs, dist/build/Language/Haskell/HsColour.o, dist/build/Language/Haskell/HsColour.dyn_o ) Language/Haskell/HsColour.hs:37:19: warning: [GHC-94817] [-Wtabs] Tab character found here, and in two further locations. Suggested fix: Please use spaces instead. | 37 | -> String -- ^ Title for output. | ^^^^^^ [ 1 of 16] Compiling Language.Haskell.HsColour.Classify ( Language/Haskell/HsColour/Classify.hs, dist/build/Language/Haskell/HsColour/Classify.p_o ) Language/Haskell/HsColour/Classify.hs:41:34: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 41 | [] -> [head s]: chunk (tail s) -- e.g. inside comment | ^^^^ Language/Haskell/HsColour/Classify.hs:41:50: warning: [GHC-63394] [-Wx-partial] In the use of ‘tail’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.Data.List.uncons' instead. Consider refactoring to use "Data.List.NonEmpty"." | 41 | [] -> [head s]: chunk (tail s) -- e.g. inside comment | ^^^^ Language/Haskell/HsColour/Classify.hs:50:32: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 50 | glue (q:".":n:rest) | isUpper (head q) -- qualified names | ^^^^ Language/Haskell/HsColour/Classify.hs:50:39: warning: [GHC-94817] [-Wtabs] Tab character found here, and in 7 further locations. Suggested fix: Please use spaces instead. | 50 | glue (q:".":n:rest) | isUpper (head q) -- qualified names | ^^ [ 2 of 16] Compiling Language.Haskell.HsColour.ColourHighlight ( Language/Haskell/HsColour/ColourHighlight.hs, dist/build/Language/Haskell/HsColour/ColourHighlight.p_o ) [ 3 of 16] Compiling Language.Haskell.HsColour.Colourise ( Language/Haskell/HsColour/Colourise.hs, dist/build/Language/Haskell/HsColour/Colourise.p_o ) [ 4 of 16] Compiling Language.Haskell.HsColour.General ( Language/Haskell/HsColour/General.hs, dist/build/Language/Haskell/HsColour/General.p_o ) [ 5 of 16] Compiling Language.Haskell.HsColour.Anchors ( Language/Haskell/HsColour/Anchors.hs, dist/build/Language/Haskell/HsColour/Anchors.p_o ) Language/Haskell/HsColour/Anchors.hs:73:1: warning: [GHC-94817] [-Wtabs] Tab character found here, and in four further locations. Suggested fix: Please use spaces instead. | 73 | | v `inST` st -> Nothing | ^^^^^^^^ Language/Haskell/HsColour/Anchors.hs:161:27: warning: [GHC-63394] [-Wx-partial] In the use of ‘tail’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.Data.List.uncons' instead. Consider refactoring to use "Data.List.NonEmpty"." | 161 | then tail . dropWhile (`notElem`[(Keyglyph,"=>") | ^^^^ [ 6 of 16] Compiling Language.Haskell.HsColour.HTML ( Language/Haskell/HsColour/HTML.hs, dist/build/Language/Haskell/HsColour/HTML.p_o ) [ 7 of 16] Compiling Language.Haskell.HsColour.CSS ( Language/Haskell/HsColour/CSS.hs, dist/build/Language/Haskell/HsColour/CSS.p_o ) [ 8 of 16] Compiling Language.Haskell.HsColour.ACSS ( Language/Haskell/HsColour/ACSS.hs, dist/build/Language/Haskell/HsColour/ACSS.p_o ) [ 9 of 16] Compiling Language.Haskell.HsColour.InlineCSS ( Language/Haskell/HsColour/InlineCSS.hs, dist/build/Language/Haskell/HsColour/InlineCSS.p_o ) Language/Haskell/HsColour/InlineCSS.hs:12:24: warning: [GHC-94817] [-Wtabs] Tab character found here. Suggested fix: Please use spaces instead. | 12 | hscolour :: ColourPrefs -- ^ Preferences for styling. | ^ [10 of 16] Compiling Language.Haskell.HsColour.LaTeX ( Language/Haskell/HsColour/LaTeX.hs, dist/build/Language/Haskell/HsColour/LaTeX.p_o ) [11 of 16] Compiling Language.Haskell.HsColour.MIRC ( Language/Haskell/HsColour/MIRC.hs, dist/build/Language/Haskell/HsColour/MIRC.p_o ) [12 of 16] Compiling Language.Haskell.HsColour.Output ( Language/Haskell/HsColour/Output.hs, dist/build/Language/Haskell/HsColour/Output.p_o ) [13 of 16] Compiling Language.Haskell.HsColour.Options ( Language/Haskell/HsColour/Options.hs, dist/build/Language/Haskell/HsColour/Options.p_o ) Language/Haskell/HsColour/Options.hs:11:9: warning: [GHC-94817] [-Wtabs] Tab character found here, and in 12 further locations. Suggested fix: Please use spaces instead. | 11 | Help -- ^ print usage message | ^^^^^^^^ [14 of 16] Compiling Language.Haskell.HsColour.ANSI ( Language/Haskell/HsColour/ANSI.hs, dist/build/Language/Haskell/HsColour/ANSI.p_o ) Language/Haskell/HsColour/ANSI.hs:62:10: warning: [GHC-06201] [-Wmissing-methods] • No explicit implementation for ‘toEnum’ • In the instance declaration for ‘Enum Highlight’ | 62 | instance Enum Highlight where | ^^^^^^^^^^^^^^ [15 of 16] Compiling Language.Haskell.HsColour.TTY ( Language/Haskell/HsColour/TTY.hs, dist/build/Language/Haskell/HsColour/TTY.p_o ) [16 of 16] Compiling Language.Haskell.HsColour ( Language/Haskell/HsColour.hs, dist/build/Language/Haskell/HsColour.p_o ) Language/Haskell/HsColour.hs:37:19: warning: [GHC-94817] [-Wtabs] Tab character found here, and in two further locations. Suggested fix: Please use spaces instead. | 37 | -> String -- ^ Title for output. | ^^^^^^ Running phase: checkPhase Package has no test suites. Running phase: haddockPhase Running phase: installPhase Installing executable HsColour in /nix/store/7jmv3q39mz536pqn37cb6p25jd9hz5yi-hscolour-1.25/bin Warning: The directory /nix/store/7jmv3q39mz536pqn37cb6p25jd9hz5yi-hscolour-1.25/bin is not in the system search path. Installing library in /nix/store/7jmv3q39mz536pqn37cb6p25jd9hz5yi-hscolour-1.25/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-ad9c/hscolour-1.25-343b2O7mCbPD6vgZ0aPvgj Registering library for hscolour-1.25... Running phase: fixupPhase shrinking RPATHs of ELF executables and libraries in /nix/store/7jmv3q39mz536pqn37cb6p25jd9hz5yi-hscolour-1.25 shrinking /nix/store/7jmv3q39mz536pqn37cb6p25jd9hz5yi-hscolour-1.25/bin/HsColour shrinking /nix/store/7jmv3q39mz536pqn37cb6p25jd9hz5yi-hscolour-1.25/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-ad9c/libHShscolour-1.25-343b2O7mCbPD6vgZ0aPvgj-ghc9.10.3.so checking for references to /build/ in /nix/store/7jmv3q39mz536pqn37cb6p25jd9hz5yi-hscolour-1.25... patching script interpreter paths in /nix/store/7jmv3q39mz536pqn37cb6p25jd9hz5yi-hscolour-1.25 stripping (with command strip and flags -S -p) in /nix/store/7jmv3q39mz536pqn37cb6p25jd9hz5yi-hscolour-1.25/lib /nix/store/7jmv3q39mz536pqn37cb6p25jd9hz5yi-hscolour-1.25/bin shrinking RPATHs of ELF executables and libraries in /nix/store/rfnfcjjky491z7j2h11s17j4ldxqxv69-hscolour-1.25-data checking for references to /build/ in /nix/store/rfnfcjjky491z7j2h11s17j4ldxqxv69-hscolour-1.25-data... patching script interpreter paths in /nix/store/rfnfcjjky491z7j2h11s17j4ldxqxv69-hscolour-1.25-data