$ /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=safe-coloured-text-parsing&rev=111eb567408a327f46a843e135414b3be222dff1#packages.x86_64-linux.default --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/cig6sirsnls46z2ps5x8b9qfrqbagahv-safe-coloured-text-parsing-gen-0.0.0.0.drv /nix/store/q3hanp0lkdjajisfb8lqv5brcgzjlpq7-safe-coloured-text-release.drv this path will be fetched (3.2 KiB download, 3.3 KiB unpacked): /nix/store/l21p3za71rwiq1kv3mw9zdkxmly4bw46-safe-coloured-text-parsing-gen-source-0.0.0.0 copying path '/nix/store/l21p3za71rwiq1kv3mw9zdkxmly4bw46-safe-coloured-text-parsing-gen-source-0.0.0.0' from 'https://cache.staging.nix-ci.com'... building '/nix/store/cig6sirsnls46z2ps5x8b9qfrqbagahv-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/6xdv0kj7ycq56l9sqip2hmxp237j78h4-ghc-9.10.3. safe-coloured-text-parsing-gen> Running phase: unpackPhase safe-coloured-text-parsing-gen> unpacking source archive /nix/store/l21p3za71rwiq1kv3mw9zdkxmly4bw46-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 1775934792 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.HFTHtvwcWk/setup-package.conf.d -threaded safe-coloured-text-parsing-gen> [1 of 2] Compiling Main ( Setup.hs, /build/tmp.HFTHtvwcWk/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/a65cgzfw0x7c60jymgfazpnbvqzz7nvh-safe-coloured-text-parsing-gen-0.0.0.0 --libdir=$prefix/lib/$compiler/lib --libsubdir=$abi/$libname --docdir=/nix/store/lhkjx3kb7rcxfz6rizlymhssszwlix66-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.HFTHtvwcWk/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/yijhn548p2589pkybgvbhll09bqsxy0q-ncurses-6.5/lib --extra-lib-dirs=/nix/store/b9p0zpa93hwvh4d0r1rmgc2500yx2ldn-libffi-3.5.2/lib --extra-lib-dirs=/nix/store/1nqqjacc6dnj61jlpgz5hk9zdjbfidbr-elfutils-0.194/lib --extra-lib-dirs=/nix/store/54jkwsavi3fdciqfyjmbilq0jhvv4jga-gmp-with-cxx-6.3.0/lib --extra-lib-dirs=/nix/store/gdni20c8009xdz8gms6yn1r2hfhmk1jk-numactl-2.0.18/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> Dependency base >=4.7 && <5: using base-4.20.2.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.20.2.0 safe-coloured-text-parsing-gen> Dependency directory: using directory-1.3.8.5 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.3 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-G3CF9K9qYczK3GvayszdfH safe-coloured-text-parsing-gen> include base-4.20.2.0-143c safe-coloured-text-parsing-gen> include genvalidity-1.1.1.0-3TYQuH5ptQi4PGhicwvjuo safe-coloured-text-parsing-gen> include safe-coloured-text-gen-0.0.0.3-Cti8fPWrCT1KJMqAAiDEJh safe-coloured-text-parsing-gen> include safe-coloured-text-parsing-0.0.0.0-5AGaInZDyz7FEO7gQdFhHW safe-coloured-text-parsing-gen> component safe-coloured-text-parsing-gen-0.0.0.0-AXo7z03ezUdGUnA8kjUvoN-safe-coloured-text-parsing-test safe-coloured-text-parsing-gen> include base-4.20.2.0-143c safe-coloured-text-parsing-gen> include directory-1.3.8.5-b9f5 safe-coloured-text-parsing-gen> include filepath-1.5.4.0-debb safe-coloured-text-parsing-gen> include genvalidity-sydtest-1.0.0.0-AMiFCUajuOUDdrEfrGe4r safe-coloured-text-parsing-gen> include genvalidity-text-1.0.0.1-GZxDTNtwS3jEEcgz463je9 safe-coloured-text-parsing-gen> include safe-coloured-text-0.3.0.2-EuMQ1GltvkVICluEv4vLqd safe-coloured-text-parsing-gen> include safe-coloured-text-gen-0.0.0.3-Cti8fPWrCT1KJMqAAiDEJh safe-coloured-text-parsing-gen> include safe-coloured-text-parsing-0.0.0.0-5AGaInZDyz7FEO7gQdFhHW safe-coloured-text-parsing-gen> include safe-coloured-text-parsing-gen-0.0.0.0-G3CF9K9qYczK3GvayszdfH safe-coloured-text-parsing-gen> include sydtest-0.22.0.0-G0zC74FL3Yu20nowSsfYgc safe-coloured-text-parsing-gen> include text-2.1.3-0e0b safe-coloured-text-parsing-gen> Linked component graph: safe-coloured-text-parsing-gen> unit safe-coloured-text-parsing-gen-0.0.0.0-G3CF9K9qYczK3GvayszdfH safe-coloured-text-parsing-gen> include base-4.20.2.0-143c safe-coloured-text-parsing-gen> include genvalidity-1.1.1.0-3TYQuH5ptQi4PGhicwvjuo safe-coloured-text-parsing-gen> include safe-coloured-text-gen-0.0.0.3-Cti8fPWrCT1KJMqAAiDEJh safe-coloured-text-parsing-gen> include safe-coloured-text-parsing-0.0.0.0-5AGaInZDyz7FEO7gQdFhHW safe-coloured-text-parsing-gen> Text.Colour.Chunk.Parsing.Gen=safe-coloured-text-parsing-gen-0.0.0.0-G3CF9K9qYczK3GvayszdfH:Text.Colour.Chunk.Parsing.Gen safe-coloured-text-parsing-gen> unit safe-coloured-text-parsing-gen-0.0.0.0-AXo7z03ezUdGUnA8kjUvoN-safe-coloured-text-parsing-test safe-coloured-text-parsing-gen> include base-4.20.2.0-143c safe-coloured-text-parsing-gen> include directory-1.3.8.5-b9f5 safe-coloured-text-parsing-gen> include filepath-1.5.4.0-debb safe-coloured-text-parsing-gen> include genvalidity-sydtest-1.0.0.0-AMiFCUajuOUDdrEfrGe4r safe-coloured-text-parsing-gen> include genvalidity-text-1.0.0.1-GZxDTNtwS3jEEcgz463je9 safe-coloured-text-parsing-gen> include safe-coloured-text-0.3.0.2-EuMQ1GltvkVICluEv4vLqd safe-coloured-text-parsing-gen> include safe-coloured-text-gen-0.0.0.3-Cti8fPWrCT1KJMqAAiDEJh safe-coloured-text-parsing-gen> include safe-coloured-text-parsing-0.0.0.0-5AGaInZDyz7FEO7gQdFhHW safe-coloured-text-parsing-gen> include safe-coloured-text-parsing-gen-0.0.0.0-G3CF9K9qYczK3GvayszdfH safe-coloured-text-parsing-gen> include sydtest-0.22.0.0-G0zC74FL3Yu20nowSsfYgc safe-coloured-text-parsing-gen> include text-2.1.3-0e0b safe-coloured-text-parsing-gen> Ready component graph: safe-coloured-text-parsing-gen> definite safe-coloured-text-parsing-gen-0.0.0.0-G3CF9K9qYczK3GvayszdfH safe-coloured-text-parsing-gen> depends base-4.20.2.0-143c safe-coloured-text-parsing-gen> depends genvalidity-1.1.1.0-3TYQuH5ptQi4PGhicwvjuo safe-coloured-text-parsing-gen> depends safe-coloured-text-gen-0.0.0.3-Cti8fPWrCT1KJMqAAiDEJh safe-coloured-text-parsing-gen> depends safe-coloured-text-parsing-0.0.0.0-5AGaInZDyz7FEO7gQdFhHW safe-coloured-text-parsing-gen> definite safe-coloured-text-parsing-gen-0.0.0.0-AXo7z03ezUdGUnA8kjUvoN-safe-coloured-text-parsing-test safe-coloured-text-parsing-gen> depends base-4.20.2.0-143c safe-coloured-text-parsing-gen> depends directory-1.3.8.5-b9f5 safe-coloured-text-parsing-gen> depends filepath-1.5.4.0-debb safe-coloured-text-parsing-gen> depends genvalidity-sydtest-1.0.0.0-AMiFCUajuOUDdrEfrGe4r safe-coloured-text-parsing-gen> depends genvalidity-text-1.0.0.1-GZxDTNtwS3jEEcgz463je9 safe-coloured-text-parsing-gen> depends safe-coloured-text-0.3.0.2-EuMQ1GltvkVICluEv4vLqd safe-coloured-text-parsing-gen> depends safe-coloured-text-gen-0.0.0.3-Cti8fPWrCT1KJMqAAiDEJh safe-coloured-text-parsing-gen> depends safe-coloured-text-parsing-0.0.0.0-5AGaInZDyz7FEO7gQdFhHW safe-coloured-text-parsing-gen> depends safe-coloured-text-parsing-gen-0.0.0.0-G3CF9K9qYczK3GvayszdfH safe-coloured-text-parsing-gen> depends sydtest-0.22.0.0-G0zC74FL3Yu20nowSsfYgc safe-coloured-text-parsing-gen> depends text-2.1.3-0e0b safe-coloured-text-parsing-gen> Using Cabal-3.12.1.0 compiled by ghc-9.10 safe-coloured-text-parsing-gen> Using compiler: ghc-9.10.3 safe-coloured-text-parsing-gen> Using install prefix: safe-coloured-text-parsing-gen> /nix/store/a65cgzfw0x7c60jymgfazpnbvqzz7nvh-safe-coloured-text-parsing-gen-0.0.0.0 safe-coloured-text-parsing-gen> Executables installed in: safe-coloured-text-parsing-gen> /nix/store/a65cgzfw0x7c60jymgfazpnbvqzz7nvh-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/a65cgzfw0x7c60jymgfazpnbvqzz7nvh-safe-coloured-text-parsing-gen-0.0.0.0/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-b976/safe-coloured-text-parsing-gen-0.0.0.0-G3CF9K9qYczK3GvayszdfH safe-coloured-text-parsing-gen> Dynamic Libraries installed in: safe-coloured-text-parsing-gen> /nix/store/a65cgzfw0x7c60jymgfazpnbvqzz7nvh-safe-coloured-text-parsing-gen-0.0.0.0/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-b976 safe-coloured-text-parsing-gen> Private executables installed in: safe-coloured-text-parsing-gen> /nix/store/a65cgzfw0x7c60jymgfazpnbvqzz7nvh-safe-coloured-text-parsing-gen-0.0.0.0/libexec/x86_64-linux-ghc-9.10.3-b976/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/a65cgzfw0x7c60jymgfazpnbvqzz7nvh-safe-coloured-text-parsing-gen-0.0.0.0/share/x86_64-linux-ghc-9.10.3-b976/safe-coloured-text-parsing-gen-0.0.0.0 safe-coloured-text-parsing-gen> Documentation installed in: safe-coloured-text-parsing-gen> /nix/store/lhkjx3kb7rcxfz6rizlymhssszwlix66-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/a65cgzfw0x7c60jymgfazpnbvqzz7nvh-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/xwydcyvlsa3cvssk0y5llgdhlhjvmqdm-binutils-wrapper-2.44/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.3.0 given by user at: safe-coloured-text-parsing-gen> /nix/store/vr15iyyykg9zai6fpgvhcgyw7gckl78w-gcc-wrapper-14.3.0/bin/gcc safe-coloured-text-parsing-gen> Using ghc version 9.10.3 found on system at: safe-coloured-text-parsing-gen> /nix/store/6xdv0kj7ycq56l9sqip2hmxp237j78h4-ghc-9.10.3/bin/ghc safe-coloured-text-parsing-gen> Using ghc-pkg version 9.10.3 found on system at: safe-coloured-text-parsing-gen> /nix/store/6xdv0kj7ycq56l9sqip2hmxp237j78h4-ghc-9.10.3/bin/ghc-pkg-9.10.3 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.31.1 found on system at: safe-coloured-text-parsing-gen> /nix/store/6xdv0kj7ycq56l9sqip2hmxp237j78h4-ghc-9.10.3/bin/haddock-ghc-9.10.3 safe-coloured-text-parsing-gen> No happy found safe-coloured-text-parsing-gen> Using haskell-suite found on system at: haskell-suite-dummy-location safe-coloured-text-parsing-gen> Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location 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/6xdv0kj7ycq56l9sqip2hmxp237j78h4-ghc-9.10.3/bin/hpc-ghc-9.10.3 safe-coloured-text-parsing-gen> Using hsc2hs version 0.68.10 found on system at: safe-coloured-text-parsing-gen> /nix/store/6xdv0kj7ycq56l9sqip2hmxp237j78h4-ghc-9.10.3/bin/hsc2hs-ghc-9.10.3 safe-coloured-text-parsing-gen> Using hscolour version 1.25 found on system at: safe-coloured-text-parsing-gen> /nix/store/ghjgsc6v2ca3k4ykij4f2727lmbxba1w-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/vr15iyyykg9zai6fpgvhcgyw7gckl78w-gcc-wrapper-14.3.0/bin/ld safe-coloured-text-parsing-gen> No pkg-config found safe-coloured-text-parsing-gen> Using runghc version 9.10.3 found on system at: safe-coloured-text-parsing-gen> /nix/store/6xdv0kj7ycq56l9sqip2hmxp237j78h4-ghc-9.10.3/bin/runghc-9.10.3 safe-coloured-text-parsing-gen> Using strip version 2.44 found on system at: safe-coloured-text-parsing-gen> /nix/store/vr15iyyykg9zai6fpgvhcgyw7gckl78w-gcc-wrapper-14.3.0/bin/strip safe-coloured-text-parsing-gen> Using tar found on system at: safe-coloured-text-parsing-gen> /nix/store/yi3c5karhx764ham5rfwk7iynr8mjf6q-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.90 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.55 ms safe-coloured-text-parsing-gen> ✓ tokenizes an SGR sequence 0.26 ms safe-coloured-text-parsing-gen> ✓ tokenizes combined parameters 0.27 ms safe-coloured-text-parsing-gen> ✓ tokenizes non-SGR CSI as OtherCsiSequence 0.17 ms safe-coloured-text-parsing-gen> ✓ tokenizes empty input 0.28 ms safe-coloured-text-parsing-gen> ✓ tokenizes mixed content 0.21 ms safe-coloured-text-parsing-gen> ✓ tokenizes 256-colour parameters 0.30 ms safe-coloured-text-parsing-gen> ✓ tokenizes bare ESC as plain text 0.31 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 1.14 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 1.12 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 1.13 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 1.25 ms safe-coloured-text-parsing-gen> Retries: 3 (does not look flaky) safe-coloured-text-parsing-gen> ✗ roundtrips fancy.dat 1.12 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.44 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.64 ms safe-coloured-text-parsing-gen> ✓ handles text with no visible content between escapes 0.75 ms safe-coloured-text-parsing-gen> ✓ handles empty input 0.64 ms safe-coloured-text-parsing-gen> ✓ produces segment texts that concatenate to the input minus ANSI codes 1.15 ms safe-coloured-text-parsing-gen> passed for all of 100 inputs. safe-coloured-text-parsing-gen> ✓ parses bold 0.79 ms safe-coloured-text-parsing-gen> ✓ never crashes on arbitrary input 1.24 ms safe-coloured-text-parsing-gen> passed for all of 100 inputs. safe-coloured-text-parsing-gen> ✓ handles incomplete sequence at end of text 0.72 ms safe-coloured-text-parsing-gen> ✓ parses a simple red foreground 0.84 ms safe-coloured-text-parsing-gen> ✓ returns plain text unchanged 0.74 ms safe-coloured-text-parsing-gen> ✓ parses 24-bit RGB foreground 0.75 ms safe-coloured-text-parsing-gen> ✓ parses background colour 0.78 ms safe-coloured-text-parsing-gen> ✓ strips non-SGR CSI sequences 0.76 ms safe-coloured-text-parsing-gen> ✓ parses combined bold and colour 0.84 ms safe-coloured-text-parsing-gen> ✓ threads state across calls 0.76 ms safe-coloured-text-parsing-gen> ✓ parses bright colours 0.71 ms safe-coloured-text-parsing-gen> parseAnsiTokensLazy safe-coloured-text-parsing-gen> ✓ works with multi-chunk lazy text 0.76 ms safe-coloured-text-parsing-gen> ✓ produces the same tokens as strict parsing 1.42 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.94 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> HasCallStack backtrace: safe-coloured-text-parsing-gen> collectBacktraces, called at libraries/ghc-internal/src/GHC/Internal/Exception.hs:169:13 in ghc-internal:GHC.Internal.Exception safe-coloured-text-parsing-gen> toExceptionWithBacktrace, called at libraries/ghc-internal/src/GHC/Internal/IO.hs:260:11 in ghc-internal:GHC.Internal.IO safe-coloured-text-parsing-gen> throwIO, called at libraries/ghc-internal/src/GHC/Internal/IO/Exception.hs:315:19 in ghc-internal:GHC.Internal.IO.Exception safe-coloured-text-parsing-gen> ioException, called at libraries/ghc-internal/src/GHC/Internal/IO/Exception.hs:319:20 in ghc-internal:GHC.Internal.IO.Exception safe-coloured-text-parsing-gen> 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> HasCallStack backtrace: safe-coloured-text-parsing-gen> collectBacktraces, called at libraries/ghc-internal/src/GHC/Internal/Exception.hs:169:13 in ghc-internal:GHC.Internal.Exception safe-coloured-text-parsing-gen> toExceptionWithBacktrace, called at libraries/ghc-internal/src/GHC/Internal/IO.hs:260:11 in ghc-internal:GHC.Internal.IO safe-coloured-text-parsing-gen> throwIO, called at libraries/ghc-internal/src/GHC/Internal/IO/Exception.hs:315:19 in ghc-internal:GHC.Internal.IO.Exception safe-coloured-text-parsing-gen> ioException, called at libraries/ghc-internal/src/GHC/Internal/IO/Exception.hs:319:20 in ghc-internal:GHC.Internal.IO.Exception safe-coloured-text-parsing-gen> 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> HasCallStack backtrace: safe-coloured-text-parsing-gen> collectBacktraces, called at libraries/ghc-internal/src/GHC/Internal/Exception.hs:169:13 in ghc-internal:GHC.Internal.Exception safe-coloured-text-parsing-gen> toExceptionWithBacktrace, called at libraries/ghc-internal/src/GHC/Internal/IO.hs:260:11 in ghc-internal:GHC.Internal.IO safe-coloured-text-parsing-gen> throwIO, called at libraries/ghc-internal/src/GHC/Internal/IO/Exception.hs:315:19 in ghc-internal:GHC.Internal.IO.Exception safe-coloured-text-parsing-gen> ioException, called at libraries/ghc-internal/src/GHC/Internal/IO/Exception.hs:319:20 in ghc-internal:GHC.Internal.IO.Exception safe-coloured-text-parsing-gen> 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> HasCallStack backtrace: safe-coloured-text-parsing-gen> collectBacktraces, called at libraries/ghc-internal/src/GHC/Internal/Exception.hs:169:13 in ghc-internal:GHC.Internal.Exception safe-coloured-text-parsing-gen> toExceptionWithBacktrace, called at libraries/ghc-internal/src/GHC/Internal/IO.hs:260:11 in ghc-internal:GHC.Internal.IO safe-coloured-text-parsing-gen> throwIO, called at libraries/ghc-internal/src/GHC/Internal/IO/Exception.hs:315:19 in ghc-internal:GHC.Internal.IO.Exception safe-coloured-text-parsing-gen> ioException, called at libraries/ghc-internal/src/GHC/Internal/IO/Exception.hs:319:20 in ghc-internal:GHC.Internal.IO.Exception safe-coloured-text-parsing-gen> 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> HasCallStack backtrace: safe-coloured-text-parsing-gen> collectBacktraces, called at libraries/ghc-internal/src/GHC/Internal/Exception.hs:169:13 in ghc-internal:GHC.Internal.Exception safe-coloured-text-parsing-gen> toExceptionWithBacktrace, called at libraries/ghc-internal/src/GHC/Internal/IO.hs:260:11 in ghc-internal:GHC.Internal.IO safe-coloured-text-parsing-gen> throwIO, called at libraries/ghc-internal/src/GHC/Internal/IO/Exception.hs:315:19 in ghc-internal:GHC.Internal.IO.Exception safe-coloured-text-parsing-gen> ioException, called at libraries/ghc-internal/src/GHC/Internal/IO/Exception.hs:319:20 in ghc-internal:GHC.Internal.IO.Exception safe-coloured-text-parsing-gen> 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.03 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/cig6sirsnls46z2ps5x8b9qfrqbagahv-safe-coloured-text-parsing-gen-0.0.0.0.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/a65cgzfw0x7c60jymgfazpnbvqzz7nvh-safe-coloured-text-parsing-gen-0.0.0.0 /nix/store/lhkjx3kb7rcxfz6rizlymhssszwlix66-safe-coloured-text-parsing-gen-0.0.0.0-doc Last 292 log lines: > Running phase: setupCompilerEnvironmentPhase > Build with /nix/store/6xdv0kj7ycq56l9sqip2hmxp237j78h4-ghc-9.10.3. > Running phase: unpackPhase > unpacking source archive /nix/store/l21p3za71rwiq1kv3mw9zdkxmly4bw46-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 1775934792 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.HFTHtvwcWk/setup-package.conf.d -threaded > [1 of 2] Compiling Main ( Setup.hs, /build/tmp.HFTHtvwcWk/Main.o ) > [2 of 2] Linking Setup > Running phase: updateAutotoolsGnuConfigScriptsPhase > Running phase: configurePhase > configureFlags: --verbose --prefix=/nix/store/a65cgzfw0x7c60jymgfazpnbvqzz7nvh-safe-coloured-text-parsing-gen-0.0.0.0 --libdir=$prefix/lib/$compiler/lib --libsubdir=$abi/$libname --docdir=/nix/store/lhkjx3kb7rcxfz6rizlymhssszwlix66-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.HFTHtvwcWk/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/yijhn548p2589pkybgvbhll09bqsxy0q-ncurses-6.5/lib --extra-lib-dirs=/nix/store/b9p0zpa93hwvh4d0r1rmgc2500yx2ldn-libffi-3.5.2/lib --extra-lib-dirs=/nix/store/1nqqjacc6dnj61jlpgz5hk9zdjbfidbr-elfutils-0.194/lib --extra-lib-dirs=/nix/store/54jkwsavi3fdciqfyjmbilq0jhvv4jga-gmp-with-cxx-6.3.0/lib --extra-lib-dirs=/nix/store/gdni20c8009xdz8gms6yn1r2hfhmk1jk-numactl-2.0.18/lib > Using Parsec parser > Configuring safe-coloured-text-parsing-gen-0.0.0.0... > Dependency base >=4.7 && <5: using base-4.20.2.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.20.2.0 > Dependency directory: using directory-1.3.8.5 > 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.3 > 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-G3CF9K9qYczK3GvayszdfH > include base-4.20.2.0-143c > include genvalidity-1.1.1.0-3TYQuH5ptQi4PGhicwvjuo > include safe-coloured-text-gen-0.0.0.3-Cti8fPWrCT1KJMqAAiDEJh > include safe-coloured-text-parsing-0.0.0.0-5AGaInZDyz7FEO7gQdFhHW > component safe-coloured-text-parsing-gen-0.0.0.0-AXo7z03ezUdGUnA8kjUvoN-safe-coloured-text-parsing-test > include base-4.20.2.0-143c > include directory-1.3.8.5-b9f5 > include filepath-1.5.4.0-debb > include genvalidity-sydtest-1.0.0.0-AMiFCUajuOUDdrEfrGe4r > include genvalidity-text-1.0.0.1-GZxDTNtwS3jEEcgz463je9 > include safe-coloured-text-0.3.0.2-EuMQ1GltvkVICluEv4vLqd > include safe-coloured-text-gen-0.0.0.3-Cti8fPWrCT1KJMqAAiDEJh > include safe-coloured-text-parsing-0.0.0.0-5AGaInZDyz7FEO7gQdFhHW > include safe-coloured-text-parsing-gen-0.0.0.0-G3CF9K9qYczK3GvayszdfH > include sydtest-0.22.0.0-G0zC74FL3Yu20nowSsfYgc > include text-2.1.3-0e0b > Linked component graph: > unit safe-coloured-text-parsing-gen-0.0.0.0-G3CF9K9qYczK3GvayszdfH > include base-4.20.2.0-143c > include genvalidity-1.1.1.0-3TYQuH5ptQi4PGhicwvjuo > include safe-coloured-text-gen-0.0.0.3-Cti8fPWrCT1KJMqAAiDEJh > include safe-coloured-text-parsing-0.0.0.0-5AGaInZDyz7FEO7gQdFhHW > Text.Colour.Chunk.Parsing.Gen=safe-coloured-text-parsing-gen-0.0.0.0-G3CF9K9qYczK3GvayszdfH:Text.Colour.Chunk.Parsing.Gen > unit safe-coloured-text-parsing-gen-0.0.0.0-AXo7z03ezUdGUnA8kjUvoN-safe-coloured-text-parsing-test > include base-4.20.2.0-143c > include directory-1.3.8.5-b9f5 > include filepath-1.5.4.0-debb > include genvalidity-sydtest-1.0.0.0-AMiFCUajuOUDdrEfrGe4r > include genvalidity-text-1.0.0.1-GZxDTNtwS3jEEcgz463je9 > include safe-coloured-text-0.3.0.2-EuMQ1GltvkVICluEv4vLqd > include safe-coloured-text-gen-0.0.0.3-Cti8fPWrCT1KJMqAAiDEJh > include safe-coloured-text-parsing-0.0.0.0-5AGaInZDyz7FEO7gQdFhHW > include safe-coloured-text-parsing-gen-0.0.0.0-G3CF9K9qYczK3GvayszdfH > include sydtest-0.22.0.0-G0zC74FL3Yu20nowSsfYgc > include text-2.1.3-0e0b > Ready component graph: > definite safe-coloured-text-parsing-gen-0.0.0.0-G3CF9K9qYczK3GvayszdfH > depends base-4.20.2.0-143c > depends genvalidity-1.1.1.0-3TYQuH5ptQi4PGhicwvjuo > depends safe-coloured-text-gen-0.0.0.3-Cti8fPWrCT1KJMqAAiDEJh > depends safe-coloured-text-parsing-0.0.0.0-5AGaInZDyz7FEO7gQdFhHW > definite safe-coloured-text-parsing-gen-0.0.0.0-AXo7z03ezUdGUnA8kjUvoN-safe-coloured-text-parsing-test > depends base-4.20.2.0-143c > depends directory-1.3.8.5-b9f5 > depends filepath-1.5.4.0-debb > depends genvalidity-sydtest-1.0.0.0-AMiFCUajuOUDdrEfrGe4r > depends genvalidity-text-1.0.0.1-GZxDTNtwS3jEEcgz463je9 > depends safe-coloured-text-0.3.0.2-EuMQ1GltvkVICluEv4vLqd > depends safe-coloured-text-gen-0.0.0.3-Cti8fPWrCT1KJMqAAiDEJh > depends safe-coloured-text-parsing-0.0.0.0-5AGaInZDyz7FEO7gQdFhHW > depends safe-coloured-text-parsing-gen-0.0.0.0-G3CF9K9qYczK3GvayszdfH > depends sydtest-0.22.0.0-G0zC74FL3Yu20nowSsfYgc > depends text-2.1.3-0e0b > Using Cabal-3.12.1.0 compiled by ghc-9.10 > Using compiler: ghc-9.10.3 > Using install prefix: > /nix/store/a65cgzfw0x7c60jymgfazpnbvqzz7nvh-safe-coloured-text-parsing-gen-0.0.0.0 > Executables installed in: > /nix/store/a65cgzfw0x7c60jymgfazpnbvqzz7nvh-safe-coloured-text-parsing-gen-0.0.0.0/bin > Libraries installed in: > /nix/store/a65cgzfw0x7c60jymgfazpnbvqzz7nvh-safe-coloured-text-parsing-gen-0.0.0.0/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-b976/safe-coloured-text-parsing-gen-0.0.0.0-G3CF9K9qYczK3GvayszdfH > Dynamic Libraries installed in: > /nix/store/a65cgzfw0x7c60jymgfazpnbvqzz7nvh-safe-coloured-text-parsing-gen-0.0.0.0/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-b976 > Private executables installed in: > /nix/store/a65cgzfw0x7c60jymgfazpnbvqzz7nvh-safe-coloured-text-parsing-gen-0.0.0.0/libexec/x86_64-linux-ghc-9.10.3-b976/safe-coloured-text-parsing-gen-0.0.0.0 > Data files installed in: > /nix/store/a65cgzfw0x7c60jymgfazpnbvqzz7nvh-safe-coloured-text-parsing-gen-0.0.0.0/share/x86_64-linux-ghc-9.10.3-b976/safe-coloured-text-parsing-gen-0.0.0.0 > Documentation installed in: > /nix/store/lhkjx3kb7rcxfz6rizlymhssszwlix66-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/a65cgzfw0x7c60jymgfazpnbvqzz7nvh-safe-coloured-text-parsing-gen-0.0.0.0/etc > No alex found > Using ar found on system at: > /nix/store/xwydcyvlsa3cvssk0y5llgdhlhjvmqdm-binutils-wrapper-2.44/bin/ar > No c2hs found > No cpphs found > No doctest found > Using gcc version 14.3.0 given by user at: > /nix/store/vr15iyyykg9zai6fpgvhcgyw7gckl78w-gcc-wrapper-14.3.0/bin/gcc > Using ghc version 9.10.3 found on system at: > /nix/store/6xdv0kj7ycq56l9sqip2hmxp237j78h4-ghc-9.10.3/bin/ghc > Using ghc-pkg version 9.10.3 found on system at: > /nix/store/6xdv0kj7ycq56l9sqip2hmxp237j78h4-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/6xdv0kj7ycq56l9sqip2hmxp237j78h4-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/6xdv0kj7ycq56l9sqip2hmxp237j78h4-ghc-9.10.3/bin/hpc-ghc-9.10.3 > Using hsc2hs version 0.68.10 found on system at: > /nix/store/6xdv0kj7ycq56l9sqip2hmxp237j78h4-ghc-9.10.3/bin/hsc2hs-ghc-9.10.3 > Using hscolour version 1.25 found on system at: > /nix/store/ghjgsc6v2ca3k4ykij4f2727lmbxba1w-hscolour-1.25/bin/HsColour > No jhc found > Using ld found on system at: > /nix/store/vr15iyyykg9zai6fpgvhcgyw7gckl78w-gcc-wrapper-14.3.0/bin/ld > No pkg-config found > Using runghc version 9.10.3 found on system at: > /nix/store/6xdv0kj7ycq56l9sqip2hmxp237j78h4-ghc-9.10.3/bin/runghc-9.10.3 > Using strip version 2.44 found on system at: > /nix/store/vr15iyyykg9zai6fpgvhcgyw7gckl78w-gcc-wrapper-14.3.0/bin/strip > Using tar found on system at: > /nix/store/yi3c5karhx764ham5rfwk7iynr8mjf6q-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.90 ms > passed for all of 100 inputs. > parseAnsiTokens > ✓ tokenizes plain text 0.55 ms > ✓ tokenizes an SGR sequence 0.26 ms > ✓ tokenizes combined parameters 0.27 ms > ✓ tokenizes non-SGR CSI as OtherCsiSequence 0.17 ms > ✓ tokenizes empty input 0.28 ms > ✓ tokenizes mixed content 0.21 ms > ✓ tokenizes 256-colour parameters 0.30 ms > ✓ tokenizes bare ESC as plain text 0.31 ms > roundtrip > golden file roundtrip > chunk/24bit > ✗ roundtrips all .dat files 1.14 ms > Retries: 3 (does not look flaky) > chunk/8bit > ✗ roundtrips all .dat files 1.12 ms > Retries: 3 (does not look flaky) > chunk/8 > ✗ roundtrips all .dat files 1.13 ms > Retries: 3 (does not look flaky) > chunk > ✗ roundtrips plain.dat 1.25 ms > Retries: 3 (does not look flaky) > ✗ roundtrips fancy.dat 1.12 ms > Retries: 3 (does not look flaky) > ✓ recovers chunk style from rendered output for non-empty chunks 4.44 ms > passed for all of 100 inputs. > parseAnsiChunks > ✓ parses 256-colour foreground 0.64 ms > ✓ handles text with no visible content between escapes 0.75 ms > ✓ handles empty input 0.64 ms > ✓ produces segment texts that concatenate to the input minus ANSI codes 1.15 ms > passed for all of 100 inputs. > ✓ parses bold 0.79 ms > ✓ never crashes on arbitrary input 1.24 ms > passed for all of 100 inputs. > ✓ handles incomplete sequence at end of text 0.72 ms > ✓ parses a simple red foreground 0.84 ms > ✓ returns plain text unchanged 0.74 ms > ✓ parses 24-bit RGB foreground 0.75 ms > ✓ parses background colour 0.78 ms > ✓ strips non-SGR CSI sequences 0.76 ms > ✓ parses combined bold and colour 0.84 ms > ✓ threads state across calls 0.76 ms > ✓ parses bright colours 0.71 ms > parseAnsiTokensLazy > ✓ works with multi-chunk lazy text 0.76 ms > ✓ produces the same tokens as strict parsing 1.42 ms > passed for all of 100 inputs. > parseAnsiChunksLazy > ✓ produces the same chunks as strict parsing 0.94 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) > HasCallStack backtrace: > collectBacktraces, called at libraries/ghc-internal/src/GHC/Internal/Exception.hs:169:13 in ghc-internal:GHC.Internal.Exception > toExceptionWithBacktrace, called at libraries/ghc-internal/src/GHC/Internal/IO.hs:260:11 in ghc-internal:GHC.Internal.IO > throwIO, called at libraries/ghc-internal/src/GHC/Internal/IO/Exception.hs:315:19 in ghc-internal:GHC.Internal.IO.Exception > ioException, called at libraries/ghc-internal/src/GHC/Internal/IO/Exception.hs:319:20 in ghc-internal:GHC.Internal.IO.Exception > > > 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) > HasCallStack backtrace: > collectBacktraces, called at libraries/ghc-internal/src/GHC/Internal/Exception.hs:169:13 in ghc-internal:GHC.Internal.Exception > toExceptionWithBacktrace, called at libraries/ghc-internal/src/GHC/Internal/IO.hs:260:11 in ghc-internal:GHC.Internal.IO > throwIO, called at libraries/ghc-internal/src/GHC/Internal/IO/Exception.hs:315:19 in ghc-internal:GHC.Internal.IO.Exception > ioException, called at libraries/ghc-internal/src/GHC/Internal/IO/Exception.hs:319:20 in ghc-internal:GHC.Internal.IO.Exception > > > 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) > HasCallStack backtrace: > collectBacktraces, called at libraries/ghc-internal/src/GHC/Internal/Exception.hs:169:13 in ghc-internal:GHC.Internal.Exception > toExceptionWithBacktrace, called at libraries/ghc-internal/src/GHC/Internal/IO.hs:260:11 in ghc-internal:GHC.Internal.IO > throwIO, called at libraries/ghc-internal/src/GHC/Internal/IO/Exception.hs:315:19 in ghc-internal:GHC.Internal.IO.Exception > ioException, called at libraries/ghc-internal/src/GHC/Internal/IO/Exception.hs:319:20 in ghc-internal:GHC.Internal.IO.Exception > > > 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) > HasCallStack backtrace: > collectBacktraces, called at libraries/ghc-internal/src/GHC/Internal/Exception.hs:169:13 in ghc-internal:GHC.Internal.Exception > toExceptionWithBacktrace, called at libraries/ghc-internal/src/GHC/Internal/IO.hs:260:11 in ghc-internal:GHC.Internal.IO > throwIO, called at libraries/ghc-internal/src/GHC/Internal/IO/Exception.hs:315:19 in ghc-internal:GHC.Internal.IO.Exception > ioException, called at libraries/ghc-internal/src/GHC/Internal/IO/Exception.hs:319:20 in ghc-internal:GHC.Internal.IO.Exception > > > 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) > HasCallStack backtrace: > collectBacktraces, called at libraries/ghc-internal/src/GHC/Internal/Exception.hs:169:13 in ghc-internal:GHC.Internal.Exception > toExceptionWithBacktrace, called at libraries/ghc-internal/src/GHC/Internal/IO.hs:260:11 in ghc-internal:GHC.Internal.IO > throwIO, called at libraries/ghc-internal/src/GHC/Internal/IO/Exception.hs:315:19 in ghc-internal:GHC.Internal.IO.Exception > ioException, called at libraries/ghc-internal/src/GHC/Internal/IO/Exception.hs:319:20 in ghc-internal:GHC.Internal.IO.Exception > > > > Examples: 637 > Passed: 28 > Failed: 5 > Sum of test runtimes: 0.03 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/cig6sirsnls46z2ps5x8b9qfrqbagahv-safe-coloured-text-parsing-gen-0.0.0.0.drv error: Cannot build '/nix/store/q3hanp0lkdjajisfb8lqv5brcgzjlpq7-safe-coloured-text-release.drv'. Reason: 1 dependency failed. Output paths: /nix/store/xg1r0piz754xin12lpdg21w7h77rjmqm-safe-coloured-text-release error: Build failed due to failed dependency