$ /nix/store/wkkwxc04gdw6b263l1h29pjarjnjdyb6-coreutils-9.8/bin/timeout --kill-after=15s 7200s /nix/store/99b1z08awpxj8b6mzggn59gp1shljnff-nix-2.34.5/bin/nix --extra-experimental-features nix-command --extra-experimental-features flakes build --no-link git+https://github.com/NorfairKing/safe-coloured-text?ref=refs%2Fpull%2F12%2Fmerge&rev=3c4aad729a80d62468f44dfe3a22b6be1790c887#checks.x86_64-linux.forwardCompatibility --print-build-logs warning: ignoring untrusted flake configuration setting 'extra-substituters'. Pass '--accept-flake-config' to trust it warning: ignoring untrusted flake configuration setting 'extra-trusted-public-keys'. Pass '--accept-flake-config' to trust it these 2 derivations will be built: /nix/store/yciflnlbg2msg561vmi2ifcka8zw7j03-safe-coloured-text-parsing-gen-0.0.0.0.drv /nix/store/19pkiwn965fi6h7x1x5f21idfgcdjyq7-safe-coloured-text-release.drv building '/nix/store/yciflnlbg2msg561vmi2ifcka8zw7j03-safe-coloured-text-parsing-gen-0.0.0.0.drv'... safe-coloured-text-parsing-gen> Running phase: setupCompilerEnvironmentPhase safe-coloured-text-parsing-gen> Build with /nix/store/n5bn1vmk2l2877ldp2ikx4n0p89k7jf5-ghc-9.12.1. safe-coloured-text-parsing-gen> Running phase: unpackPhase safe-coloured-text-parsing-gen> unpacking source archive /nix/store/aql4xz1ig7wzh8l3f50i2jpdbbx42jmf-safe-coloured-text-parsing-gen-source-0.0.0.0/safe-coloured-text-parsing-gen-0.0.0.0.tar.gz safe-coloured-text-parsing-gen> source root is safe-coloured-text-parsing-gen-0.0.0.0 safe-coloured-text-parsing-gen> setting SOURCE_DATE_EPOCH to timestamp 1775934895 of file safe-coloured-text-parsing-gen-0.0.0.0/test/Text/Colour/Chunk/ParsingSpec.hs safe-coloured-text-parsing-gen> Running phase: patchPhase safe-coloured-text-parsing-gen> Running phase: compileBuildDriverPhase safe-coloured-text-parsing-gen> setupCompileFlags: -package-db=/build/tmp.fHJA00yUCY/setup-package.conf.d -threaded safe-coloured-text-parsing-gen> [1 of 2] Compiling Main ( Setup.hs, /build/tmp.fHJA00yUCY/Main.o ) safe-coloured-text-parsing-gen> [2 of 2] Linking Setup safe-coloured-text-parsing-gen> Running phase: updateAutotoolsGnuConfigScriptsPhase safe-coloured-text-parsing-gen> Running phase: configurePhase safe-coloured-text-parsing-gen> configureFlags: --verbose --prefix=/nix/store/h346gasfs4nb1rh3svwzxy8gmxz7w9qj-safe-coloured-text-parsing-gen-0.0.0.0 --libdir=$prefix/lib/$compiler/lib --libsubdir=$abi/$libname --docdir=/nix/store/7mwr0blippabra3hxxgg42756h1mb3pj-safe-coloured-text-parsing-gen-0.0.0.0-doc/share/doc/safe-coloured-text-parsing-gen-0.0.0.0 --with-gcc=gcc --package-db=/build/tmp.fHJA00yUCY/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 --enable-benchmarks --enable-library-vanilla --disable-library-for-ghci --enable-split-sections --enable-library-stripping --enable-executable-stripping --ghc-option=-haddock --ghc-option=-Wall --ghc-option=-Werror --extra-lib-dirs=/nix/store/wm1qn5jqrxpcjkc640gq8a90ns5gw3cn-ncurses-6.4.20221231/lib --extra-lib-dirs=/nix/store/r04wysx6yl7ys1rdv1b1lih6in1810r0-libffi-3.4.6/lib --extra-lib-dirs=/nix/store/wkysiv0sxqs6wn44nb46bbyig4plzsy4-elfutils-0.192/lib --extra-lib-dirs=/nix/store/ghb61mqc90qf1nx6kyahhhagicyxvcyg-gmp-with-cxx-6.3.0/lib safe-coloured-text-parsing-gen> Using Parsec parser safe-coloured-text-parsing-gen> Configuring safe-coloured-text-parsing-gen-0.0.0.0... safe-coloured-text-parsing-gen> Warning: Unknown/unsupported 'ghc' version detected (Cabal 3.14.1.0 supports safe-coloured-text-parsing-gen> 'ghc' version < 9.12): safe-coloured-text-parsing-gen> /nix/store/n5bn1vmk2l2877ldp2ikx4n0p89k7jf5-ghc-9.12.1/bin/ghc is version safe-coloured-text-parsing-gen> 9.12.1 safe-coloured-text-parsing-gen> Dependency base >=4.7 && <5: using base-4.21.0.0 safe-coloured-text-parsing-gen> Dependency genvalidity: using genvalidity-1.1.1.0 safe-coloured-text-parsing-gen> Dependency safe-coloured-text-gen: using safe-coloured-text-gen-0.0.0.3 safe-coloured-text-parsing-gen> Dependency safe-coloured-text-parsing: using safe-coloured-text-parsing-gen> safe-coloured-text-parsing-0.0.0.0 safe-coloured-text-parsing-gen> Dependency base >=4.7 && <5: using base-4.21.0.0 safe-coloured-text-parsing-gen> Dependency directory: using directory-1.3.9.0 safe-coloured-text-parsing-gen> Dependency filepath: using filepath-1.5.4.0 safe-coloured-text-parsing-gen> Dependency genvalidity-sydtest: using genvalidity-sydtest-1.0.0.0 safe-coloured-text-parsing-gen> Dependency genvalidity-text: using genvalidity-text-1.0.0.1 safe-coloured-text-parsing-gen> Dependency safe-coloured-text: using safe-coloured-text-0.3.0.2 safe-coloured-text-parsing-gen> Dependency safe-coloured-text-gen: using safe-coloured-text-gen-0.0.0.3 safe-coloured-text-parsing-gen> Dependency safe-coloured-text-parsing: using safe-coloured-text-parsing-gen> safe-coloured-text-parsing-0.0.0.0 safe-coloured-text-parsing-gen> Dependency safe-coloured-text-parsing-gen: using safe-coloured-text-parsing-gen> safe-coloured-text-parsing-gen-0.0.0.0 safe-coloured-text-parsing-gen> Dependency sydtest: using sydtest-0.22.0.0 safe-coloured-text-parsing-gen> Dependency text: using text-2.1.2 safe-coloured-text-parsing-gen> Source component graph: safe-coloured-text-parsing-gen> component lib safe-coloured-text-parsing-gen> component test:safe-coloured-text-parsing-test dependency lib safe-coloured-text-parsing-gen> Configured component graph: safe-coloured-text-parsing-gen> component safe-coloured-text-parsing-gen-0.0.0.0-DTW2IZXStSsDEFfcYjBkGu safe-coloured-text-parsing-gen> include base-4.21.0.0-inplace safe-coloured-text-parsing-gen> include genvalidity-1.1.1.0-EwzYUA76dp3Cti0mQEbg6b safe-coloured-text-parsing-gen> include safe-coloured-text-gen-0.0.0.3-70CgzfIkvEuLaU7w9uz55P safe-coloured-text-parsing-gen> include safe-coloured-text-parsing-0.0.0.0-EloEaIGUaX36LSScoVJ3WT safe-coloured-text-parsing-gen> component safe-coloured-text-parsing-gen-0.0.0.0-81AurNGhU2AGCCObBMp4fc-safe-coloured-text-parsing-test safe-coloured-text-parsing-gen> include base-4.21.0.0-inplace safe-coloured-text-parsing-gen> include directory-1.3.9.0-inplace safe-coloured-text-parsing-gen> include filepath-1.5.4.0-inplace safe-coloured-text-parsing-gen> include genvalidity-sydtest-1.0.0.0-EWDRRtFXako4I9Xbf0vufp safe-coloured-text-parsing-gen> include genvalidity-text-1.0.0.1-62uh3ghOpPp8K5ykYmp6x7 safe-coloured-text-parsing-gen> include safe-coloured-text-0.3.0.2-Ejpn14GKMeOE5us3sEVgMB safe-coloured-text-parsing-gen> include safe-coloured-text-gen-0.0.0.3-70CgzfIkvEuLaU7w9uz55P safe-coloured-text-parsing-gen> include safe-coloured-text-parsing-0.0.0.0-EloEaIGUaX36LSScoVJ3WT safe-coloured-text-parsing-gen> include safe-coloured-text-parsing-gen-0.0.0.0-DTW2IZXStSsDEFfcYjBkGu safe-coloured-text-parsing-gen> include sydtest-0.22.0.0-90afCGYXkMKLp7AWzbrgmf safe-coloured-text-parsing-gen> include text-2.1.2-inplace safe-coloured-text-parsing-gen> Linked component graph: safe-coloured-text-parsing-gen> unit safe-coloured-text-parsing-gen-0.0.0.0-DTW2IZXStSsDEFfcYjBkGu safe-coloured-text-parsing-gen> include base-4.21.0.0-inplace safe-coloured-text-parsing-gen> include genvalidity-1.1.1.0-EwzYUA76dp3Cti0mQEbg6b safe-coloured-text-parsing-gen> include safe-coloured-text-gen-0.0.0.3-70CgzfIkvEuLaU7w9uz55P safe-coloured-text-parsing-gen> include safe-coloured-text-parsing-0.0.0.0-EloEaIGUaX36LSScoVJ3WT safe-coloured-text-parsing-gen> Text.Colour.Chunk.Parsing.Gen=safe-coloured-text-parsing-gen-0.0.0.0-DTW2IZXStSsDEFfcYjBkGu:Text.Colour.Chunk.Parsing.Gen safe-coloured-text-parsing-gen> unit safe-coloured-text-parsing-gen-0.0.0.0-81AurNGhU2AGCCObBMp4fc-safe-coloured-text-parsing-test safe-coloured-text-parsing-gen> include base-4.21.0.0-inplace safe-coloured-text-parsing-gen> include directory-1.3.9.0-inplace safe-coloured-text-parsing-gen> include filepath-1.5.4.0-inplace safe-coloured-text-parsing-gen> include genvalidity-sydtest-1.0.0.0-EWDRRtFXako4I9Xbf0vufp safe-coloured-text-parsing-gen> include genvalidity-text-1.0.0.1-62uh3ghOpPp8K5ykYmp6x7 safe-coloured-text-parsing-gen> include safe-coloured-text-0.3.0.2-Ejpn14GKMeOE5us3sEVgMB safe-coloured-text-parsing-gen> include safe-coloured-text-gen-0.0.0.3-70CgzfIkvEuLaU7w9uz55P safe-coloured-text-parsing-gen> include safe-coloured-text-parsing-0.0.0.0-EloEaIGUaX36LSScoVJ3WT safe-coloured-text-parsing-gen> include safe-coloured-text-parsing-gen-0.0.0.0-DTW2IZXStSsDEFfcYjBkGu safe-coloured-text-parsing-gen> include sydtest-0.22.0.0-90afCGYXkMKLp7AWzbrgmf safe-coloured-text-parsing-gen> include text-2.1.2-inplace safe-coloured-text-parsing-gen> Ready component graph: safe-coloured-text-parsing-gen> definite safe-coloured-text-parsing-gen-0.0.0.0-DTW2IZXStSsDEFfcYjBkGu safe-coloured-text-parsing-gen> depends base-4.21.0.0-inplace safe-coloured-text-parsing-gen> depends genvalidity-1.1.1.0-EwzYUA76dp3Cti0mQEbg6b safe-coloured-text-parsing-gen> depends safe-coloured-text-gen-0.0.0.3-70CgzfIkvEuLaU7w9uz55P safe-coloured-text-parsing-gen> depends safe-coloured-text-parsing-0.0.0.0-EloEaIGUaX36LSScoVJ3WT safe-coloured-text-parsing-gen> definite safe-coloured-text-parsing-gen-0.0.0.0-81AurNGhU2AGCCObBMp4fc-safe-coloured-text-parsing-test safe-coloured-text-parsing-gen> depends base-4.21.0.0-inplace safe-coloured-text-parsing-gen> depends directory-1.3.9.0-inplace safe-coloured-text-parsing-gen> depends filepath-1.5.4.0-inplace safe-coloured-text-parsing-gen> depends genvalidity-sydtest-1.0.0.0-EWDRRtFXako4I9Xbf0vufp safe-coloured-text-parsing-gen> depends genvalidity-text-1.0.0.1-62uh3ghOpPp8K5ykYmp6x7 safe-coloured-text-parsing-gen> depends safe-coloured-text-0.3.0.2-Ejpn14GKMeOE5us3sEVgMB safe-coloured-text-parsing-gen> depends safe-coloured-text-gen-0.0.0.3-70CgzfIkvEuLaU7w9uz55P safe-coloured-text-parsing-gen> depends safe-coloured-text-parsing-0.0.0.0-EloEaIGUaX36LSScoVJ3WT safe-coloured-text-parsing-gen> depends safe-coloured-text-parsing-gen-0.0.0.0-DTW2IZXStSsDEFfcYjBkGu safe-coloured-text-parsing-gen> depends sydtest-0.22.0.0-90afCGYXkMKLp7AWzbrgmf safe-coloured-text-parsing-gen> depends text-2.1.2-inplace safe-coloured-text-parsing-gen> Using Cabal-3.14.1.0 compiled by ghc-9.12 safe-coloured-text-parsing-gen> Using compiler: ghc-9.12.1 safe-coloured-text-parsing-gen> Using install prefix: safe-coloured-text-parsing-gen> /nix/store/h346gasfs4nb1rh3svwzxy8gmxz7w9qj-safe-coloured-text-parsing-gen-0.0.0.0 safe-coloured-text-parsing-gen> Executables installed in: safe-coloured-text-parsing-gen> /nix/store/h346gasfs4nb1rh3svwzxy8gmxz7w9qj-safe-coloured-text-parsing-gen-0.0.0.0/bin safe-coloured-text-parsing-gen> Libraries installed in: safe-coloured-text-parsing-gen> /nix/store/h346gasfs4nb1rh3svwzxy8gmxz7w9qj-safe-coloured-text-parsing-gen-0.0.0.0/lib/ghc-9.12.1/lib/x86_64-linux-ghc-9.12.1-inplace/safe-coloured-text-parsing-gen-0.0.0.0-DTW2IZXStSsDEFfcYjBkGu safe-coloured-text-parsing-gen> Dynamic Libraries installed in: safe-coloured-text-parsing-gen> /nix/store/h346gasfs4nb1rh3svwzxy8gmxz7w9qj-safe-coloured-text-parsing-gen-0.0.0.0/lib/ghc-9.12.1/lib/x86_64-linux-ghc-9.12.1-inplace safe-coloured-text-parsing-gen> Private executables installed in: safe-coloured-text-parsing-gen> /nix/store/h346gasfs4nb1rh3svwzxy8gmxz7w9qj-safe-coloured-text-parsing-gen-0.0.0.0/libexec/x86_64-linux-ghc-9.12.1-inplace/safe-coloured-text-parsing-gen-0.0.0.0 safe-coloured-text-parsing-gen> Data files installed in: safe-coloured-text-parsing-gen> /nix/store/h346gasfs4nb1rh3svwzxy8gmxz7w9qj-safe-coloured-text-parsing-gen-0.0.0.0/share/x86_64-linux-ghc-9.12.1-inplace/safe-coloured-text-parsing-gen-0.0.0.0 safe-coloured-text-parsing-gen> Documentation installed in: safe-coloured-text-parsing-gen> /nix/store/7mwr0blippabra3hxxgg42756h1mb3pj-safe-coloured-text-parsing-gen-0.0.0.0-doc/share/doc/safe-coloured-text-parsing-gen-0.0.0.0 safe-coloured-text-parsing-gen> Configuration files installed in: safe-coloured-text-parsing-gen> /nix/store/h346gasfs4nb1rh3svwzxy8gmxz7w9qj-safe-coloured-text-parsing-gen-0.0.0.0/etc safe-coloured-text-parsing-gen> No alex found safe-coloured-text-parsing-gen> Using ar found on system at: safe-coloured-text-parsing-gen> /nix/store/srcmmqi8kxjfygd0hyy42c8hv6cws83b-binutils-wrapper-2.43.1/bin/ar safe-coloured-text-parsing-gen> No c2hs found safe-coloured-text-parsing-gen> No cpphs found safe-coloured-text-parsing-gen> No doctest found safe-coloured-text-parsing-gen> Using gcc version 14.2.1 given by user at: safe-coloured-text-parsing-gen> /nix/store/xcn9p4xxfbvlkpah7pwchpav4ab9d135-gcc-wrapper-14-20241116/bin/gcc safe-coloured-text-parsing-gen> Using ghc version 9.12.1 found on system at: safe-coloured-text-parsing-gen> /nix/store/n5bn1vmk2l2877ldp2ikx4n0p89k7jf5-ghc-9.12.1/bin/ghc safe-coloured-text-parsing-gen> Using ghc-pkg version 9.12.1 found on system at: safe-coloured-text-parsing-gen> /nix/store/n5bn1vmk2l2877ldp2ikx4n0p89k7jf5-ghc-9.12.1/bin/ghc-pkg-9.12.1 safe-coloured-text-parsing-gen> No ghcjs found safe-coloured-text-parsing-gen> No ghcjs-pkg found safe-coloured-text-parsing-gen> No greencard found safe-coloured-text-parsing-gen> Using haddock version 2.30.0 found on system at: safe-coloured-text-parsing-gen> /nix/store/n5bn1vmk2l2877ldp2ikx4n0p89k7jf5-ghc-9.12.1/bin/haddock-ghc-9.12.1 safe-coloured-text-parsing-gen> No happy found safe-coloured-text-parsing-gen> No haskell-suite found safe-coloured-text-parsing-gen> No haskell-suite-pkg found safe-coloured-text-parsing-gen> No hmake found safe-coloured-text-parsing-gen> Using hpc version 0.69 found on system at: safe-coloured-text-parsing-gen> /nix/store/n5bn1vmk2l2877ldp2ikx4n0p89k7jf5-ghc-9.12.1/bin/hpc-ghc-9.12.1 safe-coloured-text-parsing-gen> Using hsc2hs version 0.68.10 found on system at: safe-coloured-text-parsing-gen> /nix/store/n5bn1vmk2l2877ldp2ikx4n0p89k7jf5-ghc-9.12.1/bin/hsc2hs-ghc-9.12.1 safe-coloured-text-parsing-gen> Using hscolour version 1.25 found on system at: safe-coloured-text-parsing-gen> /nix/store/li6zgl3x3aba384gdjnyhsp41jzhd5pp-hscolour-1.25/bin/HsColour safe-coloured-text-parsing-gen> No jhc found safe-coloured-text-parsing-gen> Using ld found on system at: safe-coloured-text-parsing-gen> /nix/store/xcn9p4xxfbvlkpah7pwchpav4ab9d135-gcc-wrapper-14-20241116/bin/ld safe-coloured-text-parsing-gen> No pkg-config found safe-coloured-text-parsing-gen> Using runghc version 9.12.1 found on system at: safe-coloured-text-parsing-gen> /nix/store/n5bn1vmk2l2877ldp2ikx4n0p89k7jf5-ghc-9.12.1/bin/runghc-9.12.1 safe-coloured-text-parsing-gen> Using strip version 2.43 found on system at: safe-coloured-text-parsing-gen> /nix/store/xcn9p4xxfbvlkpah7pwchpav4ab9d135-gcc-wrapper-14-20241116/bin/strip safe-coloured-text-parsing-gen> Using tar found on system at: safe-coloured-text-parsing-gen> /nix/store/9cwwj1c9csmc85l2cqzs3h9hbf1vwl6c-gnutar-1.35/bin/tar safe-coloured-text-parsing-gen> No uhc found safe-coloured-text-parsing-gen> Running phase: buildPhase safe-coloured-text-parsing-gen> Preprocessing library for safe-coloured-text-parsing-gen-0.0.0.0... safe-coloured-text-parsing-gen> Building library for safe-coloured-text-parsing-gen-0.0.0.0... safe-coloured-text-parsing-gen> [1 of 2] Compiling Paths_safe_coloured_text_parsing_gen ( dist/build/autogen/Paths_safe_coloured_text_parsing_gen.hs, dist/build/Paths_safe_coloured_text_parsing_gen.o, dist/build/Paths_safe_coloured_text_parsing_gen.dyn_o ) safe-coloured-text-parsing-gen> [2 of 2] Compiling Text.Colour.Chunk.Parsing.Gen ( src/Text/Colour/Chunk/Parsing/Gen.hs, dist/build/Text/Colour/Chunk/Parsing/Gen.o, dist/build/Text/Colour/Chunk/Parsing/Gen.dyn_o ) safe-coloured-text-parsing-gen> [1 of 2] Compiling Paths_safe_coloured_text_parsing_gen ( dist/build/autogen/Paths_safe_coloured_text_parsing_gen.hs, dist/build/Paths_safe_coloured_text_parsing_gen.p_o ) safe-coloured-text-parsing-gen> [2 of 2] Compiling Text.Colour.Chunk.Parsing.Gen ( src/Text/Colour/Chunk/Parsing/Gen.hs, dist/build/Text/Colour/Chunk/Parsing/Gen.p_o ) safe-coloured-text-parsing-gen> Preprocessing test suite 'safe-coloured-text-parsing-test' for safe-coloured-text-parsing-gen-0.0.0.0... safe-coloured-text-parsing-gen> Building test suite 'safe-coloured-text-parsing-test' for safe-coloured-text-parsing-gen-0.0.0.0... safe-coloured-text-parsing-gen> [1 of 3] Compiling Paths_safe_coloured_text_parsing_gen ( dist/build/safe-coloured-text-parsing-test/autogen/Paths_safe_coloured_text_parsing_gen.hs, dist/build/safe-coloured-text-parsing-test/safe-coloured-text-parsing-test-tmp/Paths_safe_coloured_text_parsing_gen.o ) safe-coloured-text-parsing-gen> [2 of 3] Compiling Text.Colour.Chunk.ParsingSpec ( test/Text/Colour/Chunk/ParsingSpec.hs, dist/build/safe-coloured-text-parsing-test/safe-coloured-text-parsing-test-tmp/Text/Colour/Chunk/ParsingSpec.o ) safe-coloured-text-parsing-gen> [3 of 3] Compiling Main ( test/Spec.hs, dist/build/safe-coloured-text-parsing-test/safe-coloured-text-parsing-test-tmp/Main.o ) safe-coloured-text-parsing-gen> [4 of 4] Linking dist/build/safe-coloured-text-parsing-test/safe-coloured-text-parsing-test safe-coloured-text-parsing-gen> Running phase: checkPhase safe-coloured-text-parsing-gen> Running 1 test suites... safe-coloured-text-parsing-gen> Test suite safe-coloured-text-parsing-test: RUNNING... safe-coloured-text-parsing-gen> Tests: safe-coloured-text-parsing-gen> safe-coloured-text-parsing-gen> Text.Colour.Chunk.ParsingSpec safe-coloured-text-parsing-gen> GenValid AnsiToken safe-coloured-text-parsing-gen> genValid :: Gen AnsiToken safe-coloured-text-parsing-gen> ✓ only generates valid 'AnsiToken's 1.72 ms safe-coloured-text-parsing-gen> passed for all of 100 inputs. safe-coloured-text-parsing-gen> parseAnsiTokens safe-coloured-text-parsing-gen> ✓ tokenizes plain text 0.06 ms safe-coloured-text-parsing-gen> ✓ tokenizes an SGR sequence 0.07 ms safe-coloured-text-parsing-gen> ✓ tokenizes combined parameters 0.06 ms safe-coloured-text-parsing-gen> ✓ tokenizes non-SGR CSI as OtherCsiSequence 0.04 ms safe-coloured-text-parsing-gen> ✓ tokenizes empty input 0.07 ms safe-coloured-text-parsing-gen> ✓ tokenizes mixed content 0.04 ms safe-coloured-text-parsing-gen> ✓ tokenizes 256-colour parameters 0.04 ms safe-coloured-text-parsing-gen> ✓ tokenizes bare ESC as plain text 0.33 ms safe-coloured-text-parsing-gen> roundtrip safe-coloured-text-parsing-gen> golden file roundtrip safe-coloured-text-parsing-gen> chunk/24bit safe-coloured-text-parsing-gen> ✗ roundtrips all .dat files 0.09 ms safe-coloured-text-parsing-gen> Retries: 3 (does not look flaky) safe-coloured-text-parsing-gen> chunk/8bit safe-coloured-text-parsing-gen> ✗ roundtrips all .dat files 0.31 ms safe-coloured-text-parsing-gen> Retries: 3 (does not look flaky) safe-coloured-text-parsing-gen> chunk/8 safe-coloured-text-parsing-gen> ✗ roundtrips all .dat files 0.15 ms safe-coloured-text-parsing-gen> Retries: 3 (does not look flaky) safe-coloured-text-parsing-gen> chunk safe-coloured-text-parsing-gen> ✗ roundtrips plain.dat 0.31 ms safe-coloured-text-parsing-gen> Retries: 3 (does not look flaky) safe-coloured-text-parsing-gen> ✗ roundtrips fancy.dat 0.20 ms safe-coloured-text-parsing-gen> Retries: 3 (does not look flaky) safe-coloured-text-parsing-gen> ✓ recovers chunk style from rendered output for non-empty chunks 4.08 ms safe-coloured-text-parsing-gen> passed for all of 100 inputs. safe-coloured-text-parsing-gen> parseAnsiChunks safe-coloured-text-parsing-gen> ✓ parses 256-colour foreground 0.07 ms safe-coloured-text-parsing-gen> ✓ handles text with no visible content between escapes 0.05 ms safe-coloured-text-parsing-gen> ✓ handles empty input 0.02 ms safe-coloured-text-parsing-gen> ✓ produces segment texts that concatenate to the input minus ANSI codes 0.98 ms safe-coloured-text-parsing-gen> passed for all of 100 inputs. safe-coloured-text-parsing-gen> ✓ parses bold 0.33 ms safe-coloured-text-parsing-gen> ✓ never crashes on arbitrary input 0.69 ms safe-coloured-text-parsing-gen> passed for all of 100 inputs. safe-coloured-text-parsing-gen> ✓ handles incomplete sequence at end of text 1.07 ms safe-coloured-text-parsing-gen> ✓ parses a simple red foreground 1.09 ms safe-coloured-text-parsing-gen> ✓ returns plain text unchanged 0.72 ms safe-coloured-text-parsing-gen> ✓ parses 24-bit RGB foreground 0.77 ms safe-coloured-text-parsing-gen> ✓ parses background colour 0.02 ms safe-coloured-text-parsing-gen> ✓ strips non-SGR CSI sequences 0.03 ms safe-coloured-text-parsing-gen> ✓ parses combined bold and colour 0.04 ms safe-coloured-text-parsing-gen> ✓ threads state across calls 0.04 ms safe-coloured-text-parsing-gen> ✓ parses bright colours 0.02 ms safe-coloured-text-parsing-gen> parseAnsiTokensLazy safe-coloured-text-parsing-gen> ✓ works with multi-chunk lazy text 0.04 ms safe-coloured-text-parsing-gen> ✓ produces the same tokens as strict parsing 0.82 ms safe-coloured-text-parsing-gen> passed for all of 100 inputs. safe-coloured-text-parsing-gen> parseAnsiChunksLazy safe-coloured-text-parsing-gen> ✓ produces the same chunks as strict parsing 0.77 ms safe-coloured-text-parsing-gen> passed for all of 100 inputs. safe-coloured-text-parsing-gen> safe-coloured-text-parsing-gen> Failures: safe-coloured-text-parsing-gen> safe-coloured-text-parsing-gen> test/Text/Colour/Chunk/ParsingSpec.hs:172 safe-coloured-text-parsing-gen> ✗ 1 Text.Colour.Chunk.ParsingSpec.roundtrip.golden file roundtrip.chunk/24bit.roundtrips all .dat files safe-coloured-text-parsing-gen> Retries: 3 (does not look flaky) safe-coloured-text-parsing-gen> ../safe-coloured-text-gen/test_resources/chunk/24bit: getDirectoryContents:openDirStream: does not exist (No such file or directory) safe-coloured-text-parsing-gen> safe-coloured-text-parsing-gen> test/Text/Colour/Chunk/ParsingSpec.hs:172 safe-coloured-text-parsing-gen> ✗ 2 Text.Colour.Chunk.ParsingSpec.roundtrip.golden file roundtrip.chunk/8bit.roundtrips all .dat files safe-coloured-text-parsing-gen> Retries: 3 (does not look flaky) safe-coloured-text-parsing-gen> ../safe-coloured-text-gen/test_resources/chunk/8bit: getDirectoryContents:openDirStream: does not exist (No such file or directory) safe-coloured-text-parsing-gen> safe-coloured-text-parsing-gen> test/Text/Colour/Chunk/ParsingSpec.hs:172 safe-coloured-text-parsing-gen> ✗ 3 Text.Colour.Chunk.ParsingSpec.roundtrip.golden file roundtrip.chunk/8.roundtrips all .dat files safe-coloured-text-parsing-gen> Retries: 3 (does not look flaky) safe-coloured-text-parsing-gen> ../safe-coloured-text-gen/test_resources/chunk/8: getDirectoryContents:openDirStream: does not exist (No such file or directory) safe-coloured-text-parsing-gen> safe-coloured-text-parsing-gen> test/Text/Colour/Chunk/ParsingSpec.hs:182 safe-coloured-text-parsing-gen> ✗ 4 Text.Colour.Chunk.ParsingSpec.roundtrip.golden file roundtrip.chunk.roundtrips plain.dat safe-coloured-text-parsing-gen> Retries: 3 (does not look flaky) safe-coloured-text-parsing-gen> ../safe-coloured-text-gen/test_resources/chunk/plain.dat: openFile: does not exist (No such file or directory) safe-coloured-text-parsing-gen> safe-coloured-text-parsing-gen> test/Text/Colour/Chunk/ParsingSpec.hs:188 safe-coloured-text-parsing-gen> ✗ 5 Text.Colour.Chunk.ParsingSpec.roundtrip.golden file roundtrip.chunk.roundtrips fancy.dat safe-coloured-text-parsing-gen> Retries: 3 (does not look flaky) safe-coloured-text-parsing-gen> ../safe-coloured-text-gen/test_resources/chunk/fancy.dat: openFile: does not exist (No such file or directory) safe-coloured-text-parsing-gen> safe-coloured-text-parsing-gen> safe-coloured-text-parsing-gen> Examples: 637 safe-coloured-text-parsing-gen> Passed: 28 safe-coloured-text-parsing-gen> Failed: 5 safe-coloured-text-parsing-gen> Sum of test runtimes: 0.02 seconds safe-coloured-text-parsing-gen> Test suite took: 0.01 seconds safe-coloured-text-parsing-gen> safe-coloured-text-parsing-gen> Test suite safe-coloured-text-parsing-test: FAIL safe-coloured-text-parsing-gen> Test suite logged to: safe-coloured-text-parsing-gen> dist/test/safe-coloured-text-parsing-gen-0.0.0.0-safe-coloured-text-parsing-test.log safe-coloured-text-parsing-gen> 0 of 1 test suites (0 of 1 test cases) passed. error: Cannot build '/nix/store/yciflnlbg2msg561vmi2ifcka8zw7j03-safe-coloured-text-parsing-gen-0.0.0.0.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/7mwr0blippabra3hxxgg42756h1mb3pj-safe-coloured-text-parsing-gen-0.0.0.0-doc /nix/store/h346gasfs4nb1rh3svwzxy8gmxz7w9qj-safe-coloured-text-parsing-gen-0.0.0.0 Last 266 log lines: > Running phase: setupCompilerEnvironmentPhase > Build with /nix/store/n5bn1vmk2l2877ldp2ikx4n0p89k7jf5-ghc-9.12.1. > Running phase: unpackPhase > unpacking source archive /nix/store/aql4xz1ig7wzh8l3f50i2jpdbbx42jmf-safe-coloured-text-parsing-gen-source-0.0.0.0/safe-coloured-text-parsing-gen-0.0.0.0.tar.gz > source root is safe-coloured-text-parsing-gen-0.0.0.0 > setting SOURCE_DATE_EPOCH to timestamp 1775934895 of file safe-coloured-text-parsing-gen-0.0.0.0/test/Text/Colour/Chunk/ParsingSpec.hs > Running phase: patchPhase > Running phase: compileBuildDriverPhase > setupCompileFlags: -package-db=/build/tmp.fHJA00yUCY/setup-package.conf.d -threaded > [1 of 2] Compiling Main ( Setup.hs, /build/tmp.fHJA00yUCY/Main.o ) > [2 of 2] Linking Setup > Running phase: updateAutotoolsGnuConfigScriptsPhase > Running phase: configurePhase > configureFlags: --verbose --prefix=/nix/store/h346gasfs4nb1rh3svwzxy8gmxz7w9qj-safe-coloured-text-parsing-gen-0.0.0.0 --libdir=$prefix/lib/$compiler/lib --libsubdir=$abi/$libname --docdir=/nix/store/7mwr0blippabra3hxxgg42756h1mb3pj-safe-coloured-text-parsing-gen-0.0.0.0-doc/share/doc/safe-coloured-text-parsing-gen-0.0.0.0 --with-gcc=gcc --package-db=/build/tmp.fHJA00yUCY/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 --enable-benchmarks --enable-library-vanilla --disable-library-for-ghci --enable-split-sections --enable-library-stripping --enable-executable-stripping --ghc-option=-haddock --ghc-option=-Wall --ghc-option=-Werror --extra-lib-dirs=/nix/store/wm1qn5jqrxpcjkc640gq8a90ns5gw3cn-ncurses-6.4.20221231/lib --extra-lib-dirs=/nix/store/r04wysx6yl7ys1rdv1b1lih6in1810r0-libffi-3.4.6/lib --extra-lib-dirs=/nix/store/wkysiv0sxqs6wn44nb46bbyig4plzsy4-elfutils-0.192/lib --extra-lib-dirs=/nix/store/ghb61mqc90qf1nx6kyahhhagicyxvcyg-gmp-with-cxx-6.3.0/lib > Using Parsec parser > Configuring safe-coloured-text-parsing-gen-0.0.0.0... > Warning: Unknown/unsupported 'ghc' version detected (Cabal 3.14.1.0 supports > 'ghc' version < 9.12): > /nix/store/n5bn1vmk2l2877ldp2ikx4n0p89k7jf5-ghc-9.12.1/bin/ghc is version > 9.12.1 > Dependency base >=4.7 && <5: using base-4.21.0.0 > Dependency genvalidity: using genvalidity-1.1.1.0 > Dependency safe-coloured-text-gen: using safe-coloured-text-gen-0.0.0.3 > Dependency safe-coloured-text-parsing: using > safe-coloured-text-parsing-0.0.0.0 > Dependency base >=4.7 && <5: using base-4.21.0.0 > Dependency directory: using directory-1.3.9.0 > Dependency filepath: using filepath-1.5.4.0 > Dependency genvalidity-sydtest: using genvalidity-sydtest-1.0.0.0 > Dependency genvalidity-text: using genvalidity-text-1.0.0.1 > Dependency safe-coloured-text: using safe-coloured-text-0.3.0.2 > Dependency safe-coloured-text-gen: using safe-coloured-text-gen-0.0.0.3 > Dependency safe-coloured-text-parsing: using > safe-coloured-text-parsing-0.0.0.0 > Dependency safe-coloured-text-parsing-gen: using > safe-coloured-text-parsing-gen-0.0.0.0 > Dependency sydtest: using sydtest-0.22.0.0 > Dependency text: using text-2.1.2 > Source component graph: > component lib > component test:safe-coloured-text-parsing-test dependency lib > Configured component graph: > component safe-coloured-text-parsing-gen-0.0.0.0-DTW2IZXStSsDEFfcYjBkGu > include base-4.21.0.0-inplace > include genvalidity-1.1.1.0-EwzYUA76dp3Cti0mQEbg6b > include safe-coloured-text-gen-0.0.0.3-70CgzfIkvEuLaU7w9uz55P > include safe-coloured-text-parsing-0.0.0.0-EloEaIGUaX36LSScoVJ3WT > component safe-coloured-text-parsing-gen-0.0.0.0-81AurNGhU2AGCCObBMp4fc-safe-coloured-text-parsing-test > include base-4.21.0.0-inplace > include directory-1.3.9.0-inplace > include filepath-1.5.4.0-inplace > include genvalidity-sydtest-1.0.0.0-EWDRRtFXako4I9Xbf0vufp > include genvalidity-text-1.0.0.1-62uh3ghOpPp8K5ykYmp6x7 > include safe-coloured-text-0.3.0.2-Ejpn14GKMeOE5us3sEVgMB > include safe-coloured-text-gen-0.0.0.3-70CgzfIkvEuLaU7w9uz55P > include safe-coloured-text-parsing-0.0.0.0-EloEaIGUaX36LSScoVJ3WT > include safe-coloured-text-parsing-gen-0.0.0.0-DTW2IZXStSsDEFfcYjBkGu > include sydtest-0.22.0.0-90afCGYXkMKLp7AWzbrgmf > include text-2.1.2-inplace > Linked component graph: > unit safe-coloured-text-parsing-gen-0.0.0.0-DTW2IZXStSsDEFfcYjBkGu > include base-4.21.0.0-inplace > include genvalidity-1.1.1.0-EwzYUA76dp3Cti0mQEbg6b > include safe-coloured-text-gen-0.0.0.3-70CgzfIkvEuLaU7w9uz55P > include safe-coloured-text-parsing-0.0.0.0-EloEaIGUaX36LSScoVJ3WT > Text.Colour.Chunk.Parsing.Gen=safe-coloured-text-parsing-gen-0.0.0.0-DTW2IZXStSsDEFfcYjBkGu:Text.Colour.Chunk.Parsing.Gen > unit safe-coloured-text-parsing-gen-0.0.0.0-81AurNGhU2AGCCObBMp4fc-safe-coloured-text-parsing-test > include base-4.21.0.0-inplace > include directory-1.3.9.0-inplace > include filepath-1.5.4.0-inplace > include genvalidity-sydtest-1.0.0.0-EWDRRtFXako4I9Xbf0vufp > include genvalidity-text-1.0.0.1-62uh3ghOpPp8K5ykYmp6x7 > include safe-coloured-text-0.3.0.2-Ejpn14GKMeOE5us3sEVgMB > include safe-coloured-text-gen-0.0.0.3-70CgzfIkvEuLaU7w9uz55P > include safe-coloured-text-parsing-0.0.0.0-EloEaIGUaX36LSScoVJ3WT > include safe-coloured-text-parsing-gen-0.0.0.0-DTW2IZXStSsDEFfcYjBkGu > include sydtest-0.22.0.0-90afCGYXkMKLp7AWzbrgmf > include text-2.1.2-inplace > Ready component graph: > definite safe-coloured-text-parsing-gen-0.0.0.0-DTW2IZXStSsDEFfcYjBkGu > depends base-4.21.0.0-inplace > depends genvalidity-1.1.1.0-EwzYUA76dp3Cti0mQEbg6b > depends safe-coloured-text-gen-0.0.0.3-70CgzfIkvEuLaU7w9uz55P > depends safe-coloured-text-parsing-0.0.0.0-EloEaIGUaX36LSScoVJ3WT > definite safe-coloured-text-parsing-gen-0.0.0.0-81AurNGhU2AGCCObBMp4fc-safe-coloured-text-parsing-test > depends base-4.21.0.0-inplace > depends directory-1.3.9.0-inplace > depends filepath-1.5.4.0-inplace > depends genvalidity-sydtest-1.0.0.0-EWDRRtFXako4I9Xbf0vufp > depends genvalidity-text-1.0.0.1-62uh3ghOpPp8K5ykYmp6x7 > depends safe-coloured-text-0.3.0.2-Ejpn14GKMeOE5us3sEVgMB > depends safe-coloured-text-gen-0.0.0.3-70CgzfIkvEuLaU7w9uz55P > depends safe-coloured-text-parsing-0.0.0.0-EloEaIGUaX36LSScoVJ3WT > depends safe-coloured-text-parsing-gen-0.0.0.0-DTW2IZXStSsDEFfcYjBkGu > depends sydtest-0.22.0.0-90afCGYXkMKLp7AWzbrgmf > depends text-2.1.2-inplace > Using Cabal-3.14.1.0 compiled by ghc-9.12 > Using compiler: ghc-9.12.1 > Using install prefix: > /nix/store/h346gasfs4nb1rh3svwzxy8gmxz7w9qj-safe-coloured-text-parsing-gen-0.0.0.0 > Executables installed in: > /nix/store/h346gasfs4nb1rh3svwzxy8gmxz7w9qj-safe-coloured-text-parsing-gen-0.0.0.0/bin > Libraries installed in: > /nix/store/h346gasfs4nb1rh3svwzxy8gmxz7w9qj-safe-coloured-text-parsing-gen-0.0.0.0/lib/ghc-9.12.1/lib/x86_64-linux-ghc-9.12.1-inplace/safe-coloured-text-parsing-gen-0.0.0.0-DTW2IZXStSsDEFfcYjBkGu > Dynamic Libraries installed in: > /nix/store/h346gasfs4nb1rh3svwzxy8gmxz7w9qj-safe-coloured-text-parsing-gen-0.0.0.0/lib/ghc-9.12.1/lib/x86_64-linux-ghc-9.12.1-inplace > Private executables installed in: > /nix/store/h346gasfs4nb1rh3svwzxy8gmxz7w9qj-safe-coloured-text-parsing-gen-0.0.0.0/libexec/x86_64-linux-ghc-9.12.1-inplace/safe-coloured-text-parsing-gen-0.0.0.0 > Data files installed in: > /nix/store/h346gasfs4nb1rh3svwzxy8gmxz7w9qj-safe-coloured-text-parsing-gen-0.0.0.0/share/x86_64-linux-ghc-9.12.1-inplace/safe-coloured-text-parsing-gen-0.0.0.0 > Documentation installed in: > /nix/store/7mwr0blippabra3hxxgg42756h1mb3pj-safe-coloured-text-parsing-gen-0.0.0.0-doc/share/doc/safe-coloured-text-parsing-gen-0.0.0.0 > Configuration files installed in: > /nix/store/h346gasfs4nb1rh3svwzxy8gmxz7w9qj-safe-coloured-text-parsing-gen-0.0.0.0/etc > No alex found > Using ar found on system at: > /nix/store/srcmmqi8kxjfygd0hyy42c8hv6cws83b-binutils-wrapper-2.43.1/bin/ar > No c2hs found > No cpphs found > No doctest found > Using gcc version 14.2.1 given by user at: > /nix/store/xcn9p4xxfbvlkpah7pwchpav4ab9d135-gcc-wrapper-14-20241116/bin/gcc > Using ghc version 9.12.1 found on system at: > /nix/store/n5bn1vmk2l2877ldp2ikx4n0p89k7jf5-ghc-9.12.1/bin/ghc > Using ghc-pkg version 9.12.1 found on system at: > /nix/store/n5bn1vmk2l2877ldp2ikx4n0p89k7jf5-ghc-9.12.1/bin/ghc-pkg-9.12.1 > No ghcjs found > No ghcjs-pkg found > No greencard found > Using haddock version 2.30.0 found on system at: > /nix/store/n5bn1vmk2l2877ldp2ikx4n0p89k7jf5-ghc-9.12.1/bin/haddock-ghc-9.12.1 > No happy found > No haskell-suite found > No haskell-suite-pkg found > No hmake found > Using hpc version 0.69 found on system at: > /nix/store/n5bn1vmk2l2877ldp2ikx4n0p89k7jf5-ghc-9.12.1/bin/hpc-ghc-9.12.1 > Using hsc2hs version 0.68.10 found on system at: > /nix/store/n5bn1vmk2l2877ldp2ikx4n0p89k7jf5-ghc-9.12.1/bin/hsc2hs-ghc-9.12.1 > Using hscolour version 1.25 found on system at: > /nix/store/li6zgl3x3aba384gdjnyhsp41jzhd5pp-hscolour-1.25/bin/HsColour > No jhc found > Using ld found on system at: > /nix/store/xcn9p4xxfbvlkpah7pwchpav4ab9d135-gcc-wrapper-14-20241116/bin/ld > No pkg-config found > Using runghc version 9.12.1 found on system at: > /nix/store/n5bn1vmk2l2877ldp2ikx4n0p89k7jf5-ghc-9.12.1/bin/runghc-9.12.1 > Using strip version 2.43 found on system at: > /nix/store/xcn9p4xxfbvlkpah7pwchpav4ab9d135-gcc-wrapper-14-20241116/bin/strip > Using tar found on system at: > /nix/store/9cwwj1c9csmc85l2cqzs3h9hbf1vwl6c-gnutar-1.35/bin/tar > No uhc found > Running phase: buildPhase > Preprocessing library for safe-coloured-text-parsing-gen-0.0.0.0... > Building library for safe-coloured-text-parsing-gen-0.0.0.0... > [1 of 2] Compiling Paths_safe_coloured_text_parsing_gen ( dist/build/autogen/Paths_safe_coloured_text_parsing_gen.hs, dist/build/Paths_safe_coloured_text_parsing_gen.o, dist/build/Paths_safe_coloured_text_parsing_gen.dyn_o ) > [2 of 2] Compiling Text.Colour.Chunk.Parsing.Gen ( src/Text/Colour/Chunk/Parsing/Gen.hs, dist/build/Text/Colour/Chunk/Parsing/Gen.o, dist/build/Text/Colour/Chunk/Parsing/Gen.dyn_o ) > [1 of 2] Compiling Paths_safe_coloured_text_parsing_gen ( dist/build/autogen/Paths_safe_coloured_text_parsing_gen.hs, dist/build/Paths_safe_coloured_text_parsing_gen.p_o ) > [2 of 2] Compiling Text.Colour.Chunk.Parsing.Gen ( src/Text/Colour/Chunk/Parsing/Gen.hs, dist/build/Text/Colour/Chunk/Parsing/Gen.p_o ) > Preprocessing test suite 'safe-coloured-text-parsing-test' for safe-coloured-text-parsing-gen-0.0.0.0... > Building test suite 'safe-coloured-text-parsing-test' for safe-coloured-text-parsing-gen-0.0.0.0... > [1 of 3] Compiling Paths_safe_coloured_text_parsing_gen ( dist/build/safe-coloured-text-parsing-test/autogen/Paths_safe_coloured_text_parsing_gen.hs, dist/build/safe-coloured-text-parsing-test/safe-coloured-text-parsing-test-tmp/Paths_safe_coloured_text_parsing_gen.o ) > [2 of 3] Compiling Text.Colour.Chunk.ParsingSpec ( test/Text/Colour/Chunk/ParsingSpec.hs, dist/build/safe-coloured-text-parsing-test/safe-coloured-text-parsing-test-tmp/Text/Colour/Chunk/ParsingSpec.o ) > [3 of 3] Compiling Main ( test/Spec.hs, dist/build/safe-coloured-text-parsing-test/safe-coloured-text-parsing-test-tmp/Main.o ) > [4 of 4] Linking dist/build/safe-coloured-text-parsing-test/safe-coloured-text-parsing-test > Running phase: checkPhase > Running 1 test suites... > Test suite safe-coloured-text-parsing-test: RUNNING... > Tests: > > Text.Colour.Chunk.ParsingSpec > GenValid AnsiToken > genValid :: Gen AnsiToken > ✓ only generates valid 'AnsiToken's 1.72 ms > passed for all of 100 inputs. > parseAnsiTokens > ✓ tokenizes plain text 0.06 ms > ✓ tokenizes an SGR sequence 0.07 ms > ✓ tokenizes combined parameters 0.06 ms > ✓ tokenizes non-SGR CSI as OtherCsiSequence 0.04 ms > ✓ tokenizes empty input 0.07 ms > ✓ tokenizes mixed content 0.04 ms > ✓ tokenizes 256-colour parameters 0.04 ms > ✓ tokenizes bare ESC as plain text 0.33 ms > roundtrip > golden file roundtrip > chunk/24bit > ✗ roundtrips all .dat files 0.09 ms > Retries: 3 (does not look flaky) > chunk/8bit > ✗ roundtrips all .dat files 0.31 ms > Retries: 3 (does not look flaky) > chunk/8 > ✗ roundtrips all .dat files 0.15 ms > Retries: 3 (does not look flaky) > chunk > ✗ roundtrips plain.dat 0.31 ms > Retries: 3 (does not look flaky) > ✗ roundtrips fancy.dat 0.20 ms > Retries: 3 (does not look flaky) > ✓ recovers chunk style from rendered output for non-empty chunks 4.08 ms > passed for all of 100 inputs. > parseAnsiChunks > ✓ parses 256-colour foreground 0.07 ms > ✓ handles text with no visible content between escapes 0.05 ms > ✓ handles empty input 0.02 ms > ✓ produces segment texts that concatenate to the input minus ANSI codes 0.98 ms > passed for all of 100 inputs. > ✓ parses bold 0.33 ms > ✓ never crashes on arbitrary input 0.69 ms > passed for all of 100 inputs. > ✓ handles incomplete sequence at end of text 1.07 ms > ✓ parses a simple red foreground 1.09 ms > ✓ returns plain text unchanged 0.72 ms > ✓ parses 24-bit RGB foreground 0.77 ms > ✓ parses background colour 0.02 ms > ✓ strips non-SGR CSI sequences 0.03 ms > ✓ parses combined bold and colour 0.04 ms > ✓ threads state across calls 0.04 ms > ✓ parses bright colours 0.02 ms > parseAnsiTokensLazy > ✓ works with multi-chunk lazy text 0.04 ms > ✓ produces the same tokens as strict parsing 0.82 ms > passed for all of 100 inputs. > parseAnsiChunksLazy > ✓ produces the same chunks as strict parsing 0.77 ms > passed for all of 100 inputs. > > Failures: > > test/Text/Colour/Chunk/ParsingSpec.hs:172 > ✗ 1 Text.Colour.Chunk.ParsingSpec.roundtrip.golden file roundtrip.chunk/24bit.roundtrips all .dat files > Retries: 3 (does not look flaky) > ../safe-coloured-text-gen/test_resources/chunk/24bit: getDirectoryContents:openDirStream: does not exist (No such file or directory) > > test/Text/Colour/Chunk/ParsingSpec.hs:172 > ✗ 2 Text.Colour.Chunk.ParsingSpec.roundtrip.golden file roundtrip.chunk/8bit.roundtrips all .dat files > Retries: 3 (does not look flaky) > ../safe-coloured-text-gen/test_resources/chunk/8bit: getDirectoryContents:openDirStream: does not exist (No such file or directory) > > test/Text/Colour/Chunk/ParsingSpec.hs:172 > ✗ 3 Text.Colour.Chunk.ParsingSpec.roundtrip.golden file roundtrip.chunk/8.roundtrips all .dat files > Retries: 3 (does not look flaky) > ../safe-coloured-text-gen/test_resources/chunk/8: getDirectoryContents:openDirStream: does not exist (No such file or directory) > > test/Text/Colour/Chunk/ParsingSpec.hs:182 > ✗ 4 Text.Colour.Chunk.ParsingSpec.roundtrip.golden file roundtrip.chunk.roundtrips plain.dat > Retries: 3 (does not look flaky) > ../safe-coloured-text-gen/test_resources/chunk/plain.dat: openFile: does not exist (No such file or directory) > > test/Text/Colour/Chunk/ParsingSpec.hs:188 > ✗ 5 Text.Colour.Chunk.ParsingSpec.roundtrip.golden file roundtrip.chunk.roundtrips fancy.dat > Retries: 3 (does not look flaky) > ../safe-coloured-text-gen/test_resources/chunk/fancy.dat: openFile: does not exist (No such file or directory) > > > Examples: 637 > Passed: 28 > Failed: 5 > Sum of test runtimes: 0.02 seconds > Test suite took: 0.01 seconds > > Test suite safe-coloured-text-parsing-test: FAIL > Test suite logged to: > dist/test/safe-coloured-text-parsing-gen-0.0.0.0-safe-coloured-text-parsing-test.log > 0 of 1 test suites (0 of 1 test cases) passed. For full logs, run: nix log /nix/store/yciflnlbg2msg561vmi2ifcka8zw7j03-safe-coloured-text-parsing-gen-0.0.0.0.drv error: Cannot build '/nix/store/19pkiwn965fi6h7x1x5f21idfgcdjyq7-safe-coloured-text-release.drv'. Reason: 1 dependency failed. Output paths: /nix/store/36gz825qdl4frz257gjpj98ri8yskyfp-safe-coloured-text-release error: Build failed due to failed dependency