hscolour-1.25
x86_64-linux.home-manager-psi
· build #66
· raw
setupCompilerEnvironmentPhase
1Build with /nix/store/y48hvc1f09367cz5f03dcncv6n3lkf18-ghc-9.10.3.unpackPhase
2unpacking source archive /nix/store/rwcpdzs5lx64gwaxbxzww7y7sgrh6g74-hscolour-1.25.tar.gz3source root is hscolour-1.254setting SOURCE_DATE_EPOCH to timestamp 1693392271 of file "hscolour-1.25/hscolour.cabal"compileBuildDriverPhase
5setupCompileFlags: -package-db=/build/tmp.HOGvHeqDdr/setup-package.conf.d -threaded6[1 of 2] Compiling Main ( Setup.hs, /build/tmp.HOGvHeqDdr/Main.o )7[2 of 2] Linking SetupconfigurePhase
8configureFlags: --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/lib9Using Parsec parser10Configuring hscolour-1.25...11Dependency base <10: using base-4.20.2.012Dependency containers: using containers-0.713Dependency base <10: using base-4.20.2.014Dependency containers: using containers-0.715Source component graph:16 component exe:HsColour17 component lib18Configured component graph:19 component hscolour-1.25-CDW80L7pd16H29u1VkyRK4-HsColour20 include base-4.20.2.0-236321 include containers-0.7-538922 component hscolour-1.25-343b2O7mCbPD6vgZ0aPvgj23 include base-4.20.2.0-236324 include containers-0.7-538925Linked component graph:26 unit hscolour-1.25-CDW80L7pd16H29u1VkyRK4-HsColour27 include base-4.20.2.0-236328 include containers-0.7-538929 unit hscolour-1.25-343b2O7mCbPD6vgZ0aPvgj30 include base-4.20.2.0-236331 include containers-0.7-538932 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.TTY33Ready component graph:34 definite hscolour-1.25-CDW80L7pd16H29u1VkyRK4-HsColour35 depends base-4.20.2.0-236336 depends containers-0.7-538937 definite hscolour-1.25-343b2O7mCbPD6vgZ0aPvgj38 depends base-4.20.2.0-236339 depends containers-0.7-538940Using Cabal-3.12.1.0 compiled by ghc-9.1041Using compiler: ghc-9.10.342Using install prefix:43/nix/store/7jmv3q39mz536pqn37cb6p25jd9hz5yi-hscolour-1.2544Executables installed in:45/nix/store/7jmv3q39mz536pqn37cb6p25jd9hz5yi-hscolour-1.25/bin46Libraries installed in:47/nix/store/7jmv3q39mz536pqn37cb6p25jd9hz5yi-hscolour-1.25/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-ad9c/hscolour-1.25-343b2O7mCbPD6vgZ0aPvgj48Dynamic Libraries installed in:49/nix/store/7jmv3q39mz536pqn37cb6p25jd9hz5yi-hscolour-1.25/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-ad9c50Private executables installed in:51/nix/store/7jmv3q39mz536pqn37cb6p25jd9hz5yi-hscolour-1.25/libexec/x86_64-linux-ghc-9.10.3-ad9c/hscolour-1.2552Data files installed in:53/nix/store/rfnfcjjky491z7j2h11s17j4ldxqxv69-hscolour-1.25-data/share/ghc-9.10.3/x86_64-linux-ghc-9.10.3-ad9c/hscolour-1.2554Documentation installed in:55/nix/store/rfnfcjjky491z7j2h11s17j4ldxqxv69-hscolour-1.25-data/share/ghc-9.10.3/doc/x86_64-linux-ghc-9.10.3-ad9c/hscolour-1.2556Configuration files installed in:57/nix/store/7jmv3q39mz536pqn37cb6p25jd9hz5yi-hscolour-1.25/etc58No alex found59Using ar found on system at:60/nix/store/nhjmc8clp6igx6n6zrjxlh7zri78p7ng-binutils-wrapper-2.46/bin/ar61No c2hs found62No cpphs found63No doctest found64Using gcc version 15.2.0 given by user at:65/nix/store/vdaz6sk455r8sbpi7wzaf9vlz5i9yyvx-gcc-wrapper-15.2.0/bin/gcc66Using ghc version 9.10.3 found on system at:67/nix/store/y48hvc1f09367cz5f03dcncv6n3lkf18-ghc-9.10.3/bin/ghc68Using ghc-pkg version 9.10.3 found on system at:69/nix/store/y48hvc1f09367cz5f03dcncv6n3lkf18-ghc-9.10.3/bin/ghc-pkg-9.10.370No ghcjs found71No ghcjs-pkg found72No greencard found73Using haddock version 2.31.1 found on system at:74/nix/store/y48hvc1f09367cz5f03dcncv6n3lkf18-ghc-9.10.3/bin/haddock-ghc-9.10.375No happy found76Using haskell-suite found on system at: haskell-suite-dummy-location77Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location78No hmake found79Using hpc version 0.69 found on system at:80/nix/store/y48hvc1f09367cz5f03dcncv6n3lkf18-ghc-9.10.3/bin/hpc-ghc-9.10.381Using hsc2hs version 0.68.10 found on system at:82/nix/store/y48hvc1f09367cz5f03dcncv6n3lkf18-ghc-9.10.3/bin/hsc2hs-ghc-9.10.383No hscolour found84No jhc found85Using ld found on system at:86/nix/store/vdaz6sk455r8sbpi7wzaf9vlz5i9yyvx-gcc-wrapper-15.2.0/bin/ld87No pkg-config found88Using runghc version 9.10.3 found on system at:89/nix/store/y48hvc1f09367cz5f03dcncv6n3lkf18-ghc-9.10.3/bin/runghc-9.10.390Using strip version 2.46 found on system at:91/nix/store/vdaz6sk455r8sbpi7wzaf9vlz5i9yyvx-gcc-wrapper-15.2.0/bin/strip92Using tar found on system at:93/nix/store/fq62mc3s8ddxgk1nvlbzly2zmr7v2cax-gnutar-1.35/bin/tar94No uhc foundbuildPhase
95Preprocessing executable 'HsColour' for hscolour-1.25...96Building executable 'HsColour' for hscolour-1.25...97<no location info>: warning: [GHC-32850] [-Wmissing-home-modules]98 These modules are needed for compilation but not listed in your .cabal file's other-modules for ‘hscolour-1.25-CDW80L7pd16H29u1VkyRK4-HsColour’ :99 Language.Haskell.HsColour100 Language.Haskell.HsColour.ACSS101 Language.Haskell.HsColour.ANSI102 Language.Haskell.HsColour.Anchors103 Language.Haskell.HsColour.CSS104 Language.Haskell.HsColour.Classify105 Language.Haskell.HsColour.ColourHighlight106 Language.Haskell.HsColour.Colourise107 Language.Haskell.HsColour.General108 Language.Haskell.HsColour.HTML109 Language.Haskell.HsColour.InlineCSS110 Language.Haskell.HsColour.LaTeX111 Language.Haskell.HsColour.MIRC112 Language.Haskell.HsColour.Options113 Language.Haskell.HsColour.Output114 Language.Haskell.HsColour.TTY115116[ 1 of 17] Compiling Language.Haskell.HsColour.Classify ( Language/Haskell/HsColour/Classify.hs, dist/build/HsColour/HsColour-tmp/Language/Haskell/HsColour/Classify.o )117Language/Haskell/HsColour/Classify.hs:41:34: warning: [GHC-63394] [-Wx-partial]118 In the use of ‘head’119 (imported from Data.List, but defined in GHC.Internal.List):120 "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"."121 |12241 | [] -> [head s]: chunk (tail s) -- e.g. inside comment123 | ^^^^124125Language/Haskell/HsColour/Classify.hs:41:50: warning: [GHC-63394] [-Wx-partial]126 In the use of ‘tail’127 (imported from Data.List, but defined in GHC.Internal.List):128 "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"."129 |13041 | [] -> [head s]: chunk (tail s) -- e.g. inside comment131 | ^^^^132133Language/Haskell/HsColour/Classify.hs:50:32: warning: [GHC-63394] [-Wx-partial]134 In the use of ‘head’135 (imported from Data.List, but defined in GHC.Internal.List):136 "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"."137 |13850 | glue (q:".":n:rest) | isUpper (head q) -- qualified names139 | ^^^^140141Language/Haskell/HsColour/Classify.hs:50:39: warning: [GHC-94817] [-Wtabs]142 Tab character found here, and in 7 further locations.143 Suggested fix: Please use spaces instead.144 |14550 | glue (q:".":n:rest) | isUpper (head q) -- qualified names146 | ^^147148[ 2 of 17] Compiling Language.Haskell.HsColour.ColourHighlight ( Language/Haskell/HsColour/ColourHighlight.hs, dist/build/HsColour/HsColour-tmp/Language/Haskell/HsColour/ColourHighlight.o )149[ 3 of 17] Compiling Language.Haskell.HsColour.Colourise ( Language/Haskell/HsColour/Colourise.hs, dist/build/HsColour/HsColour-tmp/Language/Haskell/HsColour/Colourise.o )150[ 4 of 17] Compiling Language.Haskell.HsColour.General ( Language/Haskell/HsColour/General.hs, dist/build/HsColour/HsColour-tmp/Language/Haskell/HsColour/General.o )151[ 5 of 17] Compiling Language.Haskell.HsColour.Anchors ( Language/Haskell/HsColour/Anchors.hs, dist/build/HsColour/HsColour-tmp/Language/Haskell/HsColour/Anchors.o )152Language/Haskell/HsColour/Anchors.hs:73:1: warning: [GHC-94817] [-Wtabs]153 Tab character found here, and in four further locations.154 Suggested fix: Please use spaces instead.155 |15673 | | v `inST` st -> Nothing157 | ^^^^^^^^158159Language/Haskell/HsColour/Anchors.hs:161:27: warning: [GHC-63394] [-Wx-partial]160 In the use of ‘tail’161 (imported from Data.List, but defined in GHC.Internal.List):162 "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"."163 |164161 | then tail . dropWhile (`notElem`[(Keyglyph,"=>")165 | ^^^^166167[ 6 of 17] Compiling Language.Haskell.HsColour.HTML ( Language/Haskell/HsColour/HTML.hs, dist/build/HsColour/HsColour-tmp/Language/Haskell/HsColour/HTML.o )168[ 7 of 17] Compiling Language.Haskell.HsColour.CSS ( Language/Haskell/HsColour/CSS.hs, dist/build/HsColour/HsColour-tmp/Language/Haskell/HsColour/CSS.o )169[ 8 of 17] Compiling Language.Haskell.HsColour.ACSS ( Language/Haskell/HsColour/ACSS.hs, dist/build/HsColour/HsColour-tmp/Language/Haskell/HsColour/ACSS.o )170[ 9 of 17] Compiling Language.Haskell.HsColour.InlineCSS ( Language/Haskell/HsColour/InlineCSS.hs, dist/build/HsColour/HsColour-tmp/Language/Haskell/HsColour/InlineCSS.o )171Language/Haskell/HsColour/InlineCSS.hs:12:24: warning: [GHC-94817] [-Wtabs]172 Tab character found here.173 Suggested fix: Please use spaces instead.174 |17512 | hscolour :: ColourPrefs -- ^ Preferences for styling.176 | ^177178[10 of 17] Compiling Language.Haskell.HsColour.LaTeX ( Language/Haskell/HsColour/LaTeX.hs, dist/build/HsColour/HsColour-tmp/Language/Haskell/HsColour/LaTeX.o )179[11 of 17] Compiling Language.Haskell.HsColour.MIRC ( Language/Haskell/HsColour/MIRC.hs, dist/build/HsColour/HsColour-tmp/Language/Haskell/HsColour/MIRC.o )180[12 of 17] Compiling Language.Haskell.HsColour.Output ( Language/Haskell/HsColour/Output.hs, dist/build/HsColour/HsColour-tmp/Language/Haskell/HsColour/Output.o )181[13 of 17] Compiling Language.Haskell.HsColour.Options ( Language/Haskell/HsColour/Options.hs, dist/build/HsColour/HsColour-tmp/Language/Haskell/HsColour/Options.o )182Language/Haskell/HsColour/Options.hs:11:9: warning: [GHC-94817] [-Wtabs]183 Tab character found here, and in 12 further locations.184 Suggested fix: Please use spaces instead.185 |18611 | Help -- ^ print usage message187 | ^^^^^^^^188189[14 of 17] Compiling Language.Haskell.HsColour.ANSI ( Language/Haskell/HsColour/ANSI.hs, dist/build/HsColour/HsColour-tmp/Language/Haskell/HsColour/ANSI.o )190Language/Haskell/HsColour/ANSI.hs:62:10: warning: [GHC-06201] [-Wmissing-methods]191 • No explicit implementation for192 ‘toEnum’193 • In the instance declaration for ‘Enum Highlight’194 |19562 | instance Enum Highlight where196 | ^^^^^^^^^^^^^^197198[15 of 17] Compiling Language.Haskell.HsColour.TTY ( Language/Haskell/HsColour/TTY.hs, dist/build/HsColour/HsColour-tmp/Language/Haskell/HsColour/TTY.o )199[16 of 17] Compiling Language.Haskell.HsColour ( Language/Haskell/HsColour.hs, dist/build/HsColour/HsColour-tmp/Language/Haskell/HsColour.o )200Language/Haskell/HsColour.hs:37:19: warning: [GHC-94817] [-Wtabs]201 Tab character found here, and in two further locations.202 Suggested fix: Please use spaces instead.203 |20437 | -> String -- ^ Title for output.205 | ^^^^^^206207[17 of 17] Compiling Main ( HsColour.hs, dist/build/HsColour/HsColour-tmp/Main.o )208HsColour.hs:72:1: warning: [GHC-94817] [-Wtabs]209 Tab character found here, and in two further locations.210 Suggested fix: Please use spaces instead.211 |21272 | [(f, guessLiterate lhs f) | Input f <- good]213 | ^^^^^^^^214215HsColour.hs:115:43: warning: [GHC-63394] [-Wx-partial]216 In the use of ‘head’217 (imported from Prelude, but defined in GHC.Internal.List):218 "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"."219 |220115 | | otherwise = f (head list)221 | ^^^^222223<no location info>: warning: [GHC-32850] [-Wmissing-home-modules]224 These modules are needed for compilation but not listed in your .cabal file's other-modules for ‘hscolour-1.25-CDW80L7pd16H29u1VkyRK4-HsColour’ :225 Language.Haskell.HsColour226 Language.Haskell.HsColour.ACSS227 Language.Haskell.HsColour.ANSI228 Language.Haskell.HsColour.Anchors229 Language.Haskell.HsColour.CSS230 Language.Haskell.HsColour.Classify231 Language.Haskell.HsColour.ColourHighlight232 Language.Haskell.HsColour.Colourise233 Language.Haskell.HsColour.General234 Language.Haskell.HsColour.HTML235 Language.Haskell.HsColour.InlineCSS236 Language.Haskell.HsColour.LaTeX237 Language.Haskell.HsColour.MIRC238 Language.Haskell.HsColour.Options239 Language.Haskell.HsColour.Output240 Language.Haskell.HsColour.TTY241242[18 of 18] Linking dist/build/HsColour/HsColour243Preprocessing library for hscolour-1.25...244Building library for hscolour-1.25...245[ 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 )246Language/Haskell/HsColour/Classify.hs:41:34: warning: [GHC-63394] [-Wx-partial]247 In the use of ‘head’248 (imported from Data.List, but defined in GHC.Internal.List):249 "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"."250 |25141 | [] -> [head s]: chunk (tail s) -- e.g. inside comment252 | ^^^^253254Language/Haskell/HsColour/Classify.hs:41:50: warning: [GHC-63394] [-Wx-partial]255 In the use of ‘tail’256 (imported from Data.List, but defined in GHC.Internal.List):257 "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"."258 |25941 | [] -> [head s]: chunk (tail s) -- e.g. inside comment260 | ^^^^261262Language/Haskell/HsColour/Classify.hs:50:32: warning: [GHC-63394] [-Wx-partial]263 In the use of ‘head’264 (imported from Data.List, but defined in GHC.Internal.List):265 "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"."266 |26750 | glue (q:".":n:rest) | isUpper (head q) -- qualified names268 | ^^^^269270Language/Haskell/HsColour/Classify.hs:50:39: warning: [GHC-94817] [-Wtabs]271 Tab character found here, and in 7 further locations.272 Suggested fix: Please use spaces instead.273 |27450 | glue (q:".":n:rest) | isUpper (head q) -- qualified names275 | ^^276277[ 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 )278[ 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 )279[ 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 )280[ 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 )281Language/Haskell/HsColour/Anchors.hs:73:1: warning: [GHC-94817] [-Wtabs]282 Tab character found here, and in four further locations.283 Suggested fix: Please use spaces instead.284 |28573 | | v `inST` st -> Nothing286 | ^^^^^^^^287288Language/Haskell/HsColour/Anchors.hs:161:27: warning: [GHC-63394] [-Wx-partial]289 In the use of ‘tail’290 (imported from Data.List, but defined in GHC.Internal.List):291 "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"."292 |293161 | then tail . dropWhile (`notElem`[(Keyglyph,"=>")294 | ^^^^295296[ 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 )297[ 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 )298[ 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 )299[ 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 )300Language/Haskell/HsColour/InlineCSS.hs:12:24: warning: [GHC-94817] [-Wtabs]301 Tab character found here.302 Suggested fix: Please use spaces instead.303 |30412 | hscolour :: ColourPrefs -- ^ Preferences for styling.305 | ^306307[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 )308[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 )309[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 )310[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 )311Language/Haskell/HsColour/Options.hs:11:9: warning: [GHC-94817] [-Wtabs]312 Tab character found here, and in 12 further locations.313 Suggested fix: Please use spaces instead.314 |31511 | Help -- ^ print usage message316 | ^^^^^^^^317318[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 )319Language/Haskell/HsColour/ANSI.hs:62:10: warning: [GHC-06201] [-Wmissing-methods]320 • No explicit implementation for321 ‘toEnum’322 • In the instance declaration for ‘Enum Highlight’323 |32462 | instance Enum Highlight where325 | ^^^^^^^^^^^^^^326327[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 )328[16 of 16] Compiling Language.Haskell.HsColour ( Language/Haskell/HsColour.hs, dist/build/Language/Haskell/HsColour.o, dist/build/Language/Haskell/HsColour.dyn_o )329Language/Haskell/HsColour.hs:37:19: warning: [GHC-94817] [-Wtabs]330 Tab character found here, and in two further locations.331 Suggested fix: Please use spaces instead.332 |33337 | -> String -- ^ Title for output.334 | ^^^^^^335336[ 1 of 16] Compiling Language.Haskell.HsColour.Classify ( Language/Haskell/HsColour/Classify.hs, dist/build/Language/Haskell/HsColour/Classify.p_o )337Language/Haskell/HsColour/Classify.hs:41:34: warning: [GHC-63394] [-Wx-partial]338 In the use of ‘head’339 (imported from Data.List, but defined in GHC.Internal.List):340 "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"."341 |34241 | [] -> [head s]: chunk (tail s) -- e.g. inside comment343 | ^^^^344345Language/Haskell/HsColour/Classify.hs:41:50: warning: [GHC-63394] [-Wx-partial]346 In the use of ‘tail’347 (imported from Data.List, but defined in GHC.Internal.List):348 "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"."349 |35041 | [] -> [head s]: chunk (tail s) -- e.g. inside comment351 | ^^^^352353Language/Haskell/HsColour/Classify.hs:50:32: warning: [GHC-63394] [-Wx-partial]354 In the use of ‘head’355 (imported from Data.List, but defined in GHC.Internal.List):356 "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"."357 |35850 | glue (q:".":n:rest) | isUpper (head q) -- qualified names359 | ^^^^360361Language/Haskell/HsColour/Classify.hs:50:39: warning: [GHC-94817] [-Wtabs]362 Tab character found here, and in 7 further locations.363 Suggested fix: Please use spaces instead.364 |36550 | glue (q:".":n:rest) | isUpper (head q) -- qualified names366 | ^^367368[ 2 of 16] Compiling Language.Haskell.HsColour.ColourHighlight ( Language/Haskell/HsColour/ColourHighlight.hs, dist/build/Language/Haskell/HsColour/ColourHighlight.p_o )369[ 3 of 16] Compiling Language.Haskell.HsColour.Colourise ( Language/Haskell/HsColour/Colourise.hs, dist/build/Language/Haskell/HsColour/Colourise.p_o )370[ 4 of 16] Compiling Language.Haskell.HsColour.General ( Language/Haskell/HsColour/General.hs, dist/build/Language/Haskell/HsColour/General.p_o )371[ 5 of 16] Compiling Language.Haskell.HsColour.Anchors ( Language/Haskell/HsColour/Anchors.hs, dist/build/Language/Haskell/HsColour/Anchors.p_o )372Language/Haskell/HsColour/Anchors.hs:73:1: warning: [GHC-94817] [-Wtabs]373 Tab character found here, and in four further locations.374 Suggested fix: Please use spaces instead.375 |37673 | | v `inST` st -> Nothing377 | ^^^^^^^^378379Language/Haskell/HsColour/Anchors.hs:161:27: warning: [GHC-63394] [-Wx-partial]380 In the use of ‘tail’381 (imported from Data.List, but defined in GHC.Internal.List):382 "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"."383 |384161 | then tail . dropWhile (`notElem`[(Keyglyph,"=>")385 | ^^^^386387[ 6 of 16] Compiling Language.Haskell.HsColour.HTML ( Language/Haskell/HsColour/HTML.hs, dist/build/Language/Haskell/HsColour/HTML.p_o )388[ 7 of 16] Compiling Language.Haskell.HsColour.CSS ( Language/Haskell/HsColour/CSS.hs, dist/build/Language/Haskell/HsColour/CSS.p_o )389[ 8 of 16] Compiling Language.Haskell.HsColour.ACSS ( Language/Haskell/HsColour/ACSS.hs, dist/build/Language/Haskell/HsColour/ACSS.p_o )390[ 9 of 16] Compiling Language.Haskell.HsColour.InlineCSS ( Language/Haskell/HsColour/InlineCSS.hs, dist/build/Language/Haskell/HsColour/InlineCSS.p_o )391Language/Haskell/HsColour/InlineCSS.hs:12:24: warning: [GHC-94817] [-Wtabs]392 Tab character found here.393 Suggested fix: Please use spaces instead.394 |39512 | hscolour :: ColourPrefs -- ^ Preferences for styling.396 | ^397398[10 of 16] Compiling Language.Haskell.HsColour.LaTeX ( Language/Haskell/HsColour/LaTeX.hs, dist/build/Language/Haskell/HsColour/LaTeX.p_o )399[11 of 16] Compiling Language.Haskell.HsColour.MIRC ( Language/Haskell/HsColour/MIRC.hs, dist/build/Language/Haskell/HsColour/MIRC.p_o )400[12 of 16] Compiling Language.Haskell.HsColour.Output ( Language/Haskell/HsColour/Output.hs, dist/build/Language/Haskell/HsColour/Output.p_o )401[13 of 16] Compiling Language.Haskell.HsColour.Options ( Language/Haskell/HsColour/Options.hs, dist/build/Language/Haskell/HsColour/Options.p_o )402Language/Haskell/HsColour/Options.hs:11:9: warning: [GHC-94817] [-Wtabs]403 Tab character found here, and in 12 further locations.404 Suggested fix: Please use spaces instead.405 |40611 | Help -- ^ print usage message407 | ^^^^^^^^408409[14 of 16] Compiling Language.Haskell.HsColour.ANSI ( Language/Haskell/HsColour/ANSI.hs, dist/build/Language/Haskell/HsColour/ANSI.p_o )410Language/Haskell/HsColour/ANSI.hs:62:10: warning: [GHC-06201] [-Wmissing-methods]411 • No explicit implementation for412 ‘toEnum’413 • In the instance declaration for ‘Enum Highlight’414 |41562 | instance Enum Highlight where416 | ^^^^^^^^^^^^^^417418[15 of 16] Compiling Language.Haskell.HsColour.TTY ( Language/Haskell/HsColour/TTY.hs, dist/build/Language/Haskell/HsColour/TTY.p_o )419[16 of 16] Compiling Language.Haskell.HsColour ( Language/Haskell/HsColour.hs, dist/build/Language/Haskell/HsColour.p_o )420Language/Haskell/HsColour.hs:37:19: warning: [GHC-94817] [-Wtabs]421 Tab character found here, and in two further locations.422 Suggested fix: Please use spaces instead.423 |42437 | -> String -- ^ Title for output.425 | ^^^^^^426checkPhase
427Package has no test suites.installPhase
428Installing executable HsColour in /nix/store/7jmv3q39mz536pqn37cb6p25jd9hz5yi-hscolour-1.25/bin429Warning: The directory430/nix/store/7jmv3q39mz536pqn37cb6p25jd9hz5yi-hscolour-1.25/bin is not in the431system search path.432Installing 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-343b2O7mCbPD6vgZ0aPvgj433Registering library for hscolour-1.25...fixupPhase
434shrinking RPATHs of ELF executables and libraries in /nix/store/7jmv3q39mz536pqn37cb6p25jd9hz5yi-hscolour-1.25435shrinking /nix/store/7jmv3q39mz536pqn37cb6p25jd9hz5yi-hscolour-1.25/bin/HsColour436shrinking /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.so437checking for references to /build/ in /nix/store/7jmv3q39mz536pqn37cb6p25jd9hz5yi-hscolour-1.25...438patching script interpreter paths in /nix/store/7jmv3q39mz536pqn37cb6p25jd9hz5yi-hscolour-1.25439stripping (with command strip and flags -S -p) in /nix/store/7jmv3q39mz536pqn37cb6p25jd9hz5yi-hscolour-1.25/lib /nix/store/7jmv3q39mz536pqn37cb6p25jd9hz5yi-hscolour-1.25/bin440shrinking RPATHs of ELF executables and libraries in /nix/store/rfnfcjjky491z7j2h11s17j4ldxqxv69-hscolour-1.25-data441checking for references to /build/ in /nix/store/rfnfcjjky491z7j2h11s17j4ldxqxv69-hscolour-1.25-data...442patching script interpreter paths in /nix/store/rfnfcjjky491z7j2h11s17j4ldxqxv69-hscolour-1.25-data