Running phase: setupCompilerEnvironmentPhase Build with /nix/store/97f1a63gahv5zf55y5dd61sbi7c65a1j-ghc-9.10.3. Running phase: unpackPhase unpacking source archive /nix/store/c14ggkfzivmk9haz2y8w00hp0bmjd49z-HUnit-1.6.2.0.tar.gz source root is HUnit-1.6.2.0 setting SOURCE_DATE_EPOCH to timestamp 1000000000 of file "HUnit-1.6.2.0/tests/TerminalTest.hs" Running phase: patchPhase Running phase: compileBuildDriverPhase setupCompileFlags: -package-db=/build/tmp.JNtHSsY0n2/setup-package.conf.d -threaded [1 of 2] Compiling Main ( Setup.lhs, /build/tmp.JNtHSsY0n2/Main.o ) [2 of 2] Linking Setup Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase configureFlags: --verbose --prefix=/nix/store/1wkwn7jh0w3l158v1hkqavw0z20yv2lk-HUnit-1.6.2.0 --libdir=$prefix/lib/$compiler/lib --libsubdir=$abi/$libname --docdir=/nix/store/yqnf3hzf88fmkh8wpdy9a5bbjm59ydg4-HUnit-1.6.2.0-doc/share/doc/HUnit-1.6.2.0 --with-gcc=gcc --package-db=/build/tmp.JNtHSsY0n2/package.conf.d --ghc-option=-j4 --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 --ghc-option=-haddock --extra-lib-dirs=/nix/store/ddranxbikfg4jkf3n1m0a0h9qqxj1vf0-ncurses-6.5/lib --extra-lib-dirs=/nix/store/rx8va6navwfw6lvxwkqlwaxk0qc0d0x4-libffi-3.5.2/lib --extra-lib-dirs=/nix/store/iws85jx831vqwaqxr7pf6c9ijyravgq7-elfutils-0.194/lib --extra-lib-dirs=/nix/store/2qzc0x9nm5nwq83svddaybwx806pnlws-gmp-with-cxx-6.3.0/lib --extra-lib-dirs=/nix/store/jm5r6v1x2vyvk2asbkbz5p5clr471h7l-numactl-2.0.18/lib Using Parsec parser Configuring HUnit-1.6.2.0... Dependency base >=4 && <5: using base-4.20.2.0 Dependency call-stack >=0.3.0: using call-stack-0.4.0 Dependency deepseq: using deepseq-1.5.0.0 Dependency HUnit: using HUnit-1.6.2.0 Dependency base >=4 && <5: using base-4.20.2.0 Dependency call-stack >=0.3.0: using call-stack-0.4.0 Dependency deepseq: using deepseq-1.5.0.0 Dependency filepath: using filepath-1.5.4.0 Source component graph: component lib component test:tests dependency lib Configured component graph: component HUnit-1.6.2.0-AP2MHVd92xFCkTVyBdvfOX include base-4.20.2.0-f98e include call-stack-0.4.0-HZ698w5tRVo79jnAVOeWLH include deepseq-1.5.0.0-6af6 component HUnit-1.6.2.0-Il2nc9Xudv0KFKVFlSvJ2I-tests include HUnit-1.6.2.0-AP2MHVd92xFCkTVyBdvfOX include base-4.20.2.0-f98e include call-stack-0.4.0-HZ698w5tRVo79jnAVOeWLH include deepseq-1.5.0.0-6af6 include filepath-1.5.4.0-a6d8 Linked component graph: unit HUnit-1.6.2.0-AP2MHVd92xFCkTVyBdvfOX include base-4.20.2.0-f98e include call-stack-0.4.0-HZ698w5tRVo79jnAVOeWLH include deepseq-1.5.0.0-6af6 Test.HUnit=HUnit-1.6.2.0-AP2MHVd92xFCkTVyBdvfOX:Test.HUnit,Test.HUnit.Base=HUnit-1.6.2.0-AP2MHVd92xFCkTVyBdvfOX:Test.HUnit.Base,Test.HUnit.Lang=HUnit-1.6.2.0-AP2MHVd92xFCkTVyBdvfOX:Test.HUnit.Lang,Test.HUnit.Terminal=HUnit-1.6.2.0-AP2MHVd92xFCkTVyBdvfOX:Test.HUnit.Terminal,Test.HUnit.Text=HUnit-1.6.2.0-AP2MHVd92xFCkTVyBdvfOX:Test.HUnit.Text unit HUnit-1.6.2.0-Il2nc9Xudv0KFKVFlSvJ2I-tests include HUnit-1.6.2.0-AP2MHVd92xFCkTVyBdvfOX include base-4.20.2.0-f98e include call-stack-0.4.0-HZ698w5tRVo79jnAVOeWLH include deepseq-1.5.0.0-6af6 include filepath-1.5.4.0-a6d8 Ready component graph: definite HUnit-1.6.2.0-AP2MHVd92xFCkTVyBdvfOX depends base-4.20.2.0-f98e depends call-stack-0.4.0-HZ698w5tRVo79jnAVOeWLH depends deepseq-1.5.0.0-6af6 definite HUnit-1.6.2.0-Il2nc9Xudv0KFKVFlSvJ2I-tests depends HUnit-1.6.2.0-AP2MHVd92xFCkTVyBdvfOX depends base-4.20.2.0-f98e depends call-stack-0.4.0-HZ698w5tRVo79jnAVOeWLH depends deepseq-1.5.0.0-6af6 depends filepath-1.5.4.0-a6d8 Using Cabal-3.12.1.0 compiled by ghc-9.10 Using compiler: ghc-9.10.3 Using install prefix: /nix/store/1wkwn7jh0w3l158v1hkqavw0z20yv2lk-HUnit-1.6.2.0 Executables installed in: /nix/store/1wkwn7jh0w3l158v1hkqavw0z20yv2lk-HUnit-1.6.2.0/bin Libraries installed in: /nix/store/1wkwn7jh0w3l158v1hkqavw0z20yv2lk-HUnit-1.6.2.0/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-3ab0/HUnit-1.6.2.0-AP2MHVd92xFCkTVyBdvfOX Dynamic Libraries installed in: /nix/store/1wkwn7jh0w3l158v1hkqavw0z20yv2lk-HUnit-1.6.2.0/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-3ab0 Private executables installed in: /nix/store/1wkwn7jh0w3l158v1hkqavw0z20yv2lk-HUnit-1.6.2.0/libexec/x86_64-linux-ghc-9.10.3-3ab0/HUnit-1.6.2.0 Data files installed in: /nix/store/1wkwn7jh0w3l158v1hkqavw0z20yv2lk-HUnit-1.6.2.0/share/x86_64-linux-ghc-9.10.3-3ab0/HUnit-1.6.2.0 Documentation installed in: /nix/store/yqnf3hzf88fmkh8wpdy9a5bbjm59ydg4-HUnit-1.6.2.0-doc/share/doc/HUnit-1.6.2.0 Configuration files installed in: /nix/store/1wkwn7jh0w3l158v1hkqavw0z20yv2lk-HUnit-1.6.2.0/etc No alex found Using ar found on system at: /nix/store/dwiyp91lmxq864plaas14jm14m87sg3f-binutils-wrapper-2.44/bin/ar No c2hs found No cpphs found No doctest found Using gcc version 15.2.0 given by user at: /nix/store/r9wbjib6xxjkyb9yvjvrkl4sq61i2lyn-gcc-wrapper-15.2.0/bin/gcc Using ghc version 9.10.3 found on system at: /nix/store/97f1a63gahv5zf55y5dd61sbi7c65a1j-ghc-9.10.3/bin/ghc Using ghc-pkg version 9.10.3 found on system at: /nix/store/97f1a63gahv5zf55y5dd61sbi7c65a1j-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/97f1a63gahv5zf55y5dd61sbi7c65a1j-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/97f1a63gahv5zf55y5dd61sbi7c65a1j-ghc-9.10.3/bin/hpc-ghc-9.10.3 Using hsc2hs version 0.68.10 found on system at: /nix/store/97f1a63gahv5zf55y5dd61sbi7c65a1j-ghc-9.10.3/bin/hsc2hs-ghc-9.10.3 Using hscolour version 1.25 found on system at: /nix/store/glvv2p8dqsl0fsvpyiyan909bs7zzs5d-hscolour-1.25/bin/HsColour No jhc found Using ld found on system at: /nix/store/r9wbjib6xxjkyb9yvjvrkl4sq61i2lyn-gcc-wrapper-15.2.0/bin/ld No pkg-config found Using runghc version 9.10.3 found on system at: /nix/store/97f1a63gahv5zf55y5dd61sbi7c65a1j-ghc-9.10.3/bin/runghc-9.10.3 Using strip version 2.44 found on system at: /nix/store/r9wbjib6xxjkyb9yvjvrkl4sq61i2lyn-gcc-wrapper-15.2.0/bin/strip Using tar found on system at: /nix/store/k1lcfin159706lihwx5hhvl80dbij4jw-gnutar-1.35/bin/tar No uhc found Running phase: buildPhase Preprocessing library for HUnit-1.6.2.0... Building library for HUnit-1.6.2.0... [1 of 6] Compiling Paths_HUnit ( dist/build/autogen/Paths_HUnit.hs, dist/build/Paths_HUnit.o, dist/build/Paths_HUnit.dyn_o ) [2 of 6] Compiling Test.HUnit.Lang ( src/Test/HUnit/Lang.hs, dist/build/Test/HUnit/Lang.o, dist/build/Test/HUnit/Lang.dyn_o ) [3 of 6] Compiling Test.HUnit.Base ( src/Test/HUnit/Base.hs, dist/build/Test/HUnit/Base.o, dist/build/Test/HUnit/Base.dyn_o ) [4 of 6] Compiling Test.HUnit.Terminal ( src/Test/HUnit/Terminal.hs, dist/build/Test/HUnit/Terminal.o, dist/build/Test/HUnit/Terminal.dyn_o ) src/Test/HUnit/Terminal.hs:41:41: warning: [GHC-63394] [-Wx-partial] In the use of ‘tail’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.Data.List.uncons' instead. Consider refactoring to use "Data.List.NonEmpty"." | 41 | | otherwise = ta f (c:bs) (tail as) cs | ^^^^ [5 of 6] Compiling Test.HUnit.Text ( src/Test/HUnit/Text.hs, dist/build/Test/HUnit/Text.o, dist/build/Test/HUnit/Text.dyn_o ) [6 of 6] Compiling Test.HUnit ( src/Test/HUnit.hs, dist/build/Test/HUnit.o, dist/build/Test/HUnit.dyn_o ) [1 of 6] Compiling Paths_HUnit ( dist/build/autogen/Paths_HUnit.hs, dist/build/Paths_HUnit.p_o ) [2 of 6] Compiling Test.HUnit.Lang ( src/Test/HUnit/Lang.hs, dist/build/Test/HUnit/Lang.p_o ) [3 of 6] Compiling Test.HUnit.Base ( src/Test/HUnit/Base.hs, dist/build/Test/HUnit/Base.p_o ) [4 of 6] Compiling Test.HUnit.Terminal ( src/Test/HUnit/Terminal.hs, dist/build/Test/HUnit/Terminal.p_o ) src/Test/HUnit/Terminal.hs:41:41: warning: [GHC-63394] [-Wx-partial] In the use of ‘tail’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.Data.List.uncons' instead. Consider refactoring to use "Data.List.NonEmpty"." | 41 | | otherwise = ta f (c:bs) (tail as) cs | ^^^^ [5 of 6] Compiling Test.HUnit.Text ( src/Test/HUnit/Text.hs, dist/build/Test/HUnit/Text.p_o ) [6 of 6] Compiling Test.HUnit ( src/Test/HUnit.hs, dist/build/Test/HUnit.p_o ) Preprocessing test suite 'tests' for HUnit-1.6.2.0... Building test suite 'tests' for HUnit-1.6.2.0... [1 of 6] Compiling Example ( examples/Example.hs, dist/build/tests/tests-tmp/Example.o ) [2 of 6] Compiling HUnitTestBase ( tests/HUnitTestBase.lhs, dist/build/tests/tests-tmp/HUnitTestBase.o ) [3 of 6] Compiling HUnitTestExtended ( tests/HUnitTestExtended.hs, dist/build/tests/tests-tmp/HUnitTestExtended.o ) tests/HUnitTestExtended.hs:18:43: warning: [GHC-63394] [-Wx-partial] In the use of ‘tail’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.Data.List.uncons' instead. Consider refactoring to use "Data.List.NonEmpty"." | 18 | expectUnspecifiedError (TestCase (tail [] `seq` return ())) | ^^^^ [4 of 6] Compiling Paths_HUnit ( dist/build/tests/autogen/Paths_HUnit.hs, dist/build/tests/tests-tmp/Paths_HUnit.o ) [5 of 6] Compiling TerminalTest ( tests/TerminalTest.hs, dist/build/tests/tests-tmp/TerminalTest.o ) [6 of 6] Compiling Main ( tests/HUnitTests.hs, dist/build/tests/tests-tmp/Main.o ) [7 of 7] Linking dist/build/tests/tests Running phase: checkPhase Running 1 test suites... Test suite tests: RUNNING... Cases: 137 Tried: 137 Errors: 0 Failures: 0 Test suite tests: PASS Test suite logged to: dist/test/HUnit-1.6.2.0-tests.log 1 of 1 test suites (1 of 1 test cases) passed. Running phase: haddockPhase Preprocessing library for HUnit-1.6.2.0... Running Haddock on library for HUnit-1.6.2.0... [1 of 6] Compiling Paths_HUnit ( dist/build/autogen/Paths_HUnit.hs, nothing ) [2 of 6] Compiling Test.HUnit.Lang ( src/Test/HUnit/Lang.hs, nothing ) [3 of 6] Compiling Test.HUnit.Base ( src/Test/HUnit/Base.hs, nothing ) [4 of 6] Compiling Test.HUnit.Terminal ( src/Test/HUnit/Terminal.hs, nothing ) src/Test/HUnit/Terminal.hs:41:41: warning: [GHC-63394] [-Wx-partial] In the use of ‘tail’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.Data.List.uncons' instead. Consider refactoring to use "Data.List.NonEmpty"." | 41 | | otherwise = ta f (c:bs) (tail as) cs | ^^^^ [5 of 6] Compiling Test.HUnit.Text ( src/Test/HUnit/Text.hs, nothing ) [6 of 6] Compiling Test.HUnit ( src/Test/HUnit.hs, nothing ) Haddock coverage: 54% ( 6 / 11) in 'Test.HUnit.Lang' Missing documentation for: Module header Result (src/Test/HUnit/Lang.hs:86) HUnitFailure (src/Test/HUnit/Lang.hs:41) FailureReason (src/Test/HUnit/Lang.hs:46) formatFailureReason (src/Test/HUnit/Lang.hs:83) 100% ( 33 / 33) in 'Test.HUnit.Base' 100% ( 2 / 2) in 'Test.HUnit.Terminal' Warning: 'PutText' is ambiguous. It is defined * at src/Test/HUnit/Text.hs:40:19 * at src/Test/HUnit/Text.hs:40:1 You may be able to disambiguate the identifier by qualifying it or by specifying the type/value namespace explicitly. Defaulting to the one defined at src/Test/HUnit/Text.hs:40:1 Warning: 'st' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 100% ( 9 / 9) in 'Test.HUnit.Text' 100% ( 3 / 3) in 'Test.HUnit' Documentation created: dist/doc/html/HUnit/, dist/doc/html/HUnit/HUnit.txt Preprocessing test suite 'tests' for HUnit-1.6.2.0... Running phase: installPhase Installing library in /nix/store/1wkwn7jh0w3l158v1hkqavw0z20yv2lk-HUnit-1.6.2.0/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-3ab0/HUnit-1.6.2.0-AP2MHVd92xFCkTVyBdvfOX Running phase: fixupPhase shrinking RPATHs of ELF executables and libraries in /nix/store/1wkwn7jh0w3l158v1hkqavw0z20yv2lk-HUnit-1.6.2.0 shrinking /nix/store/1wkwn7jh0w3l158v1hkqavw0z20yv2lk-HUnit-1.6.2.0/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-3ab0/libHSHUnit-1.6.2.0-AP2MHVd92xFCkTVyBdvfOX-ghc9.10.3.so checking for references to /build/ in /nix/store/1wkwn7jh0w3l158v1hkqavw0z20yv2lk-HUnit-1.6.2.0... patching script interpreter paths in /nix/store/1wkwn7jh0w3l158v1hkqavw0z20yv2lk-HUnit-1.6.2.0 stripping (with command strip and flags -S -p) in /nix/store/1wkwn7jh0w3l158v1hkqavw0z20yv2lk-HUnit-1.6.2.0/lib shrinking RPATHs of ELF executables and libraries in /nix/store/yqnf3hzf88fmkh8wpdy9a5bbjm59ydg4-HUnit-1.6.2.0-doc checking for references to /build/ in /nix/store/yqnf3hzf88fmkh8wpdy9a5bbjm59ydg4-HUnit-1.6.2.0-doc... patching script interpreter paths in /nix/store/yqnf3hzf88fmkh8wpdy9a5bbjm59ydg4-HUnit-1.6.2.0-doc