Running phase: setupCompilerEnvironmentPhase Build with /nix/store/wlaib8x4hv6rvh97ss3rsbmkclzy9qvg-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.B2VtmVs2oz/setup-package.conf.d -threaded [1 of 2] Compiling Main ( Setup.lhs, /build/tmp.B2VtmVs2oz/Main.o ) [2 of 2] Linking Setup Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase configureFlags: --verbose --prefix=/nix/store/1gfi9bza3l44crb5l9nh1zabwbfj1agb-HUnit-1.6.2.0 --libdir=$prefix/lib/$compiler/lib --libsubdir=$abi/$libname --docdir=/nix/store/dpb60lhypcyaxvy2m1p3bs5dw8a73swv-HUnit-1.6.2.0-doc/share/doc/HUnit-1.6.2.0 --with-gcc=gcc --package-db=/build/tmp.B2VtmVs2oz/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/4whvlsd07mc0rrkpdinhnhgixrzk7lkv-ncurses-6.6/lib --extra-lib-dirs=/nix/store/lrmh87gzhbb2mph5q3h1qp7kb6wjg972-libffi-3.8.0/lib --extra-lib-dirs=/nix/store/715gnv5g8xdrzpjf8hs896m6cvm60pbq-elfutils-0.194/lib --extra-lib-dirs=/nix/store/iw7ljvmirxgjxpii7zhkxikiaq5vbqz9-gmp-with-cxx-6.3.0/lib --extra-lib-dirs=/nix/store/wxviinn45m625y2ja34dv8q0b9bxwk0w-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-INZ7PxpKJIhKoIjdsSBNUF include base-4.20.2.0-8d86 include call-stack-0.4.0-FXLD37QZH61jeFkDw78XS include deepseq-1.5.0.0-276a component HUnit-1.6.2.0-8ReaKsnrnb76uhnEsIm0h5-tests include HUnit-1.6.2.0-INZ7PxpKJIhKoIjdsSBNUF include base-4.20.2.0-8d86 include call-stack-0.4.0-FXLD37QZH61jeFkDw78XS include deepseq-1.5.0.0-276a include filepath-1.5.4.0-0e9f Linked component graph: unit HUnit-1.6.2.0-INZ7PxpKJIhKoIjdsSBNUF include base-4.20.2.0-8d86 include call-stack-0.4.0-FXLD37QZH61jeFkDw78XS include deepseq-1.5.0.0-276a Test.HUnit=HUnit-1.6.2.0-INZ7PxpKJIhKoIjdsSBNUF:Test.HUnit,Test.HUnit.Base=HUnit-1.6.2.0-INZ7PxpKJIhKoIjdsSBNUF:Test.HUnit.Base,Test.HUnit.Lang=HUnit-1.6.2.0-INZ7PxpKJIhKoIjdsSBNUF:Test.HUnit.Lang,Test.HUnit.Terminal=HUnit-1.6.2.0-INZ7PxpKJIhKoIjdsSBNUF:Test.HUnit.Terminal,Test.HUnit.Text=HUnit-1.6.2.0-INZ7PxpKJIhKoIjdsSBNUF:Test.HUnit.Text unit HUnit-1.6.2.0-8ReaKsnrnb76uhnEsIm0h5-tests include HUnit-1.6.2.0-INZ7PxpKJIhKoIjdsSBNUF include base-4.20.2.0-8d86 include call-stack-0.4.0-FXLD37QZH61jeFkDw78XS include deepseq-1.5.0.0-276a include filepath-1.5.4.0-0e9f Ready component graph: definite HUnit-1.6.2.0-INZ7PxpKJIhKoIjdsSBNUF depends base-4.20.2.0-8d86 depends call-stack-0.4.0-FXLD37QZH61jeFkDw78XS depends deepseq-1.5.0.0-276a definite HUnit-1.6.2.0-8ReaKsnrnb76uhnEsIm0h5-tests depends HUnit-1.6.2.0-INZ7PxpKJIhKoIjdsSBNUF depends base-4.20.2.0-8d86 depends call-stack-0.4.0-FXLD37QZH61jeFkDw78XS depends deepseq-1.5.0.0-276a depends filepath-1.5.4.0-0e9f Using Cabal-3.12.1.0 compiled by ghc-9.10 Using compiler: ghc-9.10.3 Using install prefix: /nix/store/1gfi9bza3l44crb5l9nh1zabwbfj1agb-HUnit-1.6.2.0 Executables installed in: /nix/store/1gfi9bza3l44crb5l9nh1zabwbfj1agb-HUnit-1.6.2.0/bin Libraries installed in: /nix/store/1gfi9bza3l44crb5l9nh1zabwbfj1agb-HUnit-1.6.2.0/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-f6d0/HUnit-1.6.2.0-INZ7PxpKJIhKoIjdsSBNUF Dynamic Libraries installed in: /nix/store/1gfi9bza3l44crb5l9nh1zabwbfj1agb-HUnit-1.6.2.0/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-f6d0 Private executables installed in: /nix/store/1gfi9bza3l44crb5l9nh1zabwbfj1agb-HUnit-1.6.2.0/libexec/x86_64-linux-ghc-9.10.3-f6d0/HUnit-1.6.2.0 Data files installed in: /nix/store/1gfi9bza3l44crb5l9nh1zabwbfj1agb-HUnit-1.6.2.0/share/x86_64-linux-ghc-9.10.3-f6d0/HUnit-1.6.2.0 Documentation installed in: /nix/store/dpb60lhypcyaxvy2m1p3bs5dw8a73swv-HUnit-1.6.2.0-doc/share/doc/HUnit-1.6.2.0 Configuration files installed in: /nix/store/1gfi9bza3l44crb5l9nh1zabwbfj1agb-HUnit-1.6.2.0/etc No alex found Using ar found on system at: /nix/store/c1a2l64csn5lrwjqqnaman6hdici70vq-binutils-wrapper-2.46/bin/ar No c2hs found No cpphs found No doctest found Using gcc version 15.3.0 given by user at: /nix/store/0592hadxldzhhd3ppc6nskslzd39fwlz-gcc-wrapper-15.3.0/bin/gcc Using ghc version 9.10.3 found on system at: /nix/store/wlaib8x4hv6rvh97ss3rsbmkclzy9qvg-ghc-9.10.3/bin/ghc Using ghc-pkg version 9.10.3 found on system at: /nix/store/wlaib8x4hv6rvh97ss3rsbmkclzy9qvg-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/wlaib8x4hv6rvh97ss3rsbmkclzy9qvg-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/wlaib8x4hv6rvh97ss3rsbmkclzy9qvg-ghc-9.10.3/bin/hpc-ghc-9.10.3 Using hsc2hs version 0.68.10 found on system at: /nix/store/wlaib8x4hv6rvh97ss3rsbmkclzy9qvg-ghc-9.10.3/bin/hsc2hs-ghc-9.10.3 Using hscolour version 1.25 found on system at: /nix/store/5vi248w6xh94a90bjhlw4ki4yb81lwdq-hscolour-1.25/bin/HsColour No jhc found Using ld found on system at: /nix/store/0592hadxldzhhd3ppc6nskslzd39fwlz-gcc-wrapper-15.3.0/bin/ld No pkg-config found Using runghc version 9.10.3 found on system at: /nix/store/wlaib8x4hv6rvh97ss3rsbmkclzy9qvg-ghc-9.10.3/bin/runghc-9.10.3 Using strip version 2.46 found on system at: /nix/store/0592hadxldzhhd3ppc6nskslzd39fwlz-gcc-wrapper-15.3.0/bin/strip Using tar found on system at: /nix/store/a25fa9pgpi0q5cc7mjab93d22gi38pd4-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/1gfi9bza3l44crb5l9nh1zabwbfj1agb-HUnit-1.6.2.0/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-f6d0/HUnit-1.6.2.0-INZ7PxpKJIhKoIjdsSBNUF Running phase: fixupPhase shrinking RPATHs of ELF executables and libraries in /nix/store/1gfi9bza3l44crb5l9nh1zabwbfj1agb-HUnit-1.6.2.0 shrinking /nix/store/1gfi9bza3l44crb5l9nh1zabwbfj1agb-HUnit-1.6.2.0/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-f6d0/libHSHUnit-1.6.2.0-INZ7PxpKJIhKoIjdsSBNUF-ghc9.10.3.so checking for references to /build/ in /nix/store/1gfi9bza3l44crb5l9nh1zabwbfj1agb-HUnit-1.6.2.0... patching script interpreter paths in /nix/store/1gfi9bza3l44crb5l9nh1zabwbfj1agb-HUnit-1.6.2.0 stripping (with command strip and flags -S -p) in /nix/store/1gfi9bza3l44crb5l9nh1zabwbfj1agb-HUnit-1.6.2.0/lib shrinking RPATHs of ELF executables and libraries in /nix/store/dpb60lhypcyaxvy2m1p3bs5dw8a73swv-HUnit-1.6.2.0-doc checking for references to /build/ in /nix/store/dpb60lhypcyaxvy2m1p3bs5dw8a73swv-HUnit-1.6.2.0-doc... patching script interpreter paths in /nix/store/dpb60lhypcyaxvy2m1p3bs5dw8a73swv-HUnit-1.6.2.0-doc