Running phase: setupCompilerEnvironmentPhase Build with /nix/store/6g9s6kw11maycdc6g5a66smakh2lwdga-ghc-9.10.3. Running phase: unpackPhase unpacking source archive /nix/store/nlx3k9vhmxcd5z2ha807lsw2c2ys5fqi-Diff-1.0.2.tar.gz source root is Diff-1.0.2 setting SOURCE_DATE_EPOCH to timestamp 1000000000 of file "Diff-1.0.2/test/Test.hs" Running phase: patchPhase Running phase: compileBuildDriverPhase setupCompileFlags: -package-db=/build/tmp.OuA6IH3730/setup-package.conf.d -threaded [1 of 2] Compiling Main ( Setup.lhs, /build/tmp.OuA6IH3730/Main.o ) [2 of 2] Linking Setup Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase configureFlags: --verbose --prefix=/nix/store/b7aqcbwf37n2hmnbcyydvhaqpx55q5sc-Diff-1.0.2 --libdir=$prefix/lib/$compiler/lib --libsubdir=$abi/$libname --docdir=/nix/store/wf8dh3zv5c05mc8b360msxnm7c2dh8vp-Diff-1.0.2-doc/share/doc/Diff-1.0.2 --with-gcc=gcc --package-db=/build/tmp.OuA6IH3730/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/nmgkl5md2346myfn25sr08mywl1hbh84-ncurses-6.6/lib --extra-lib-dirs=/nix/store/iw22fkslpax5sd2pmrqqqj6kvx9hsxy2-libffi-3.8.0/lib --extra-lib-dirs=/nix/store/7sn2gdv1ichb62134k1vc8ghsdiqsz62-gmp-with-cxx-6.3.0/lib --extra-lib-dirs=/nix/store/2r9sd3srzkg334nyic95qmly0mjw37ch-numactl-2.0.18/lib Using Parsec parser Configuring Diff-1.0.2... Dependency array: using array-0.5.8.0 Dependency base >=4.11 && <=6: using base-4.20.2.0 Dependency pretty >=1.1: using pretty-1.1.3.6 Dependency Diff: using Diff-1.0.2 Dependency QuickCheck: using QuickCheck-2.15.0.1 Dependency array: using array-0.5.8.0 Dependency base >=3 && <=6: using base-4.20.2.0 Dependency directory: using directory-1.3.8.5 Dependency pretty: using pretty-1.1.3.6 Dependency process: using process-1.6.26.1 Dependency test-framework: using test-framework-0.8.2.3 Dependency test-framework-quickcheck2: using test-framework-quickcheck2-0.3.0.7 Source component graph: component lib component test:diff-tests dependency lib Configured component graph: component Diff-1.0.2-K8mcKpufPuE6Ul7Ds3pcbp include array-0.5.8.0-32b7 include base-4.20.2.0-a5ec include pretty-1.1.3.6-ac40 component Diff-1.0.2-LN7BOYSnl2J6DvIZvky0Kc-diff-tests include Diff-1.0.2-K8mcKpufPuE6Ul7Ds3pcbp include QuickCheck-2.15.0.1-DoCBkNsF8SpAVmhTpFuY6d include array-0.5.8.0-32b7 include base-4.20.2.0-a5ec include directory-1.3.8.5-0d3b include pretty-1.1.3.6-ac40 include process-1.6.26.1-b560 include test-framework-0.8.2.3-JjAWcT8pgCmBQkfFpQxtQV include test-framework-quickcheck2-0.3.0.7-5EWgF7rmUwI6NtWFxaHGX5 Linked component graph: unit Diff-1.0.2-K8mcKpufPuE6Ul7Ds3pcbp include array-0.5.8.0-32b7 include base-4.20.2.0-a5ec include pretty-1.1.3.6-ac40 Data.Algorithm.Diff=Diff-1.0.2-K8mcKpufPuE6Ul7Ds3pcbp:Data.Algorithm.Diff,Data.Algorithm.DiffContext=Diff-1.0.2-K8mcKpufPuE6Ul7Ds3pcbp:Data.Algorithm.DiffContext,Data.Algorithm.DiffOutput=Diff-1.0.2-K8mcKpufPuE6Ul7Ds3pcbp:Data.Algorithm.DiffOutput unit Diff-1.0.2-LN7BOYSnl2J6DvIZvky0Kc-diff-tests include Diff-1.0.2-K8mcKpufPuE6Ul7Ds3pcbp include QuickCheck-2.15.0.1-DoCBkNsF8SpAVmhTpFuY6d include array-0.5.8.0-32b7 include base-4.20.2.0-a5ec include directory-1.3.8.5-0d3b include pretty-1.1.3.6-ac40 include process-1.6.26.1-b560 include test-framework-0.8.2.3-JjAWcT8pgCmBQkfFpQxtQV include test-framework-quickcheck2-0.3.0.7-5EWgF7rmUwI6NtWFxaHGX5 Ready component graph: definite Diff-1.0.2-K8mcKpufPuE6Ul7Ds3pcbp depends array-0.5.8.0-32b7 depends base-4.20.2.0-a5ec depends pretty-1.1.3.6-ac40 definite Diff-1.0.2-LN7BOYSnl2J6DvIZvky0Kc-diff-tests depends Diff-1.0.2-K8mcKpufPuE6Ul7Ds3pcbp depends QuickCheck-2.15.0.1-DoCBkNsF8SpAVmhTpFuY6d depends array-0.5.8.0-32b7 depends base-4.20.2.0-a5ec depends directory-1.3.8.5-0d3b depends pretty-1.1.3.6-ac40 depends process-1.6.26.1-b560 depends test-framework-0.8.2.3-JjAWcT8pgCmBQkfFpQxtQV depends test-framework-quickcheck2-0.3.0.7-5EWgF7rmUwI6NtWFxaHGX5 Using Cabal-3.12.1.0 compiled by ghc-9.10 Using compiler: ghc-9.10.3 Using install prefix: /nix/store/b7aqcbwf37n2hmnbcyydvhaqpx55q5sc-Diff-1.0.2 Executables installed in: /nix/store/b7aqcbwf37n2hmnbcyydvhaqpx55q5sc-Diff-1.0.2/bin Libraries installed in: /nix/store/b7aqcbwf37n2hmnbcyydvhaqpx55q5sc-Diff-1.0.2/lib/ghc-9.10.3/lib/aarch64-linux-ghc-9.10.3-eb55/Diff-1.0.2-K8mcKpufPuE6Ul7Ds3pcbp Dynamic Libraries installed in: /nix/store/b7aqcbwf37n2hmnbcyydvhaqpx55q5sc-Diff-1.0.2/lib/ghc-9.10.3/lib/aarch64-linux-ghc-9.10.3-eb55 Private executables installed in: /nix/store/b7aqcbwf37n2hmnbcyydvhaqpx55q5sc-Diff-1.0.2/libexec/aarch64-linux-ghc-9.10.3-eb55/Diff-1.0.2 Data files installed in: /nix/store/b7aqcbwf37n2hmnbcyydvhaqpx55q5sc-Diff-1.0.2/share/aarch64-linux-ghc-9.10.3-eb55/Diff-1.0.2 Documentation installed in: /nix/store/wf8dh3zv5c05mc8b360msxnm7c2dh8vp-Diff-1.0.2-doc/share/doc/Diff-1.0.2 Configuration files installed in: /nix/store/b7aqcbwf37n2hmnbcyydvhaqpx55q5sc-Diff-1.0.2/etc No alex found Using ar found on system at: /nix/store/m1armxrx1nk768pislz3kzicq2mr4wck-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/1m3h2yhx00myw3yblflznibhdb2r6ipx-gcc-wrapper-15.3.0/bin/gcc Using ghc version 9.10.3 found on system at: /nix/store/6g9s6kw11maycdc6g5a66smakh2lwdga-ghc-9.10.3/bin/ghc Using ghc-pkg version 9.10.3 found on system at: /nix/store/6g9s6kw11maycdc6g5a66smakh2lwdga-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/6g9s6kw11maycdc6g5a66smakh2lwdga-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/6g9s6kw11maycdc6g5a66smakh2lwdga-ghc-9.10.3/bin/hpc-ghc-9.10.3 Using hsc2hs version 0.68.10 found on system at: /nix/store/6g9s6kw11maycdc6g5a66smakh2lwdga-ghc-9.10.3/bin/hsc2hs-ghc-9.10.3 Using hscolour version 1.25 found on system at: /nix/store/pzf13a3faar5znsn51jxl01l1qw7qjw1-hscolour-1.25/bin/HsColour No jhc found Using ld found on system at: /nix/store/1m3h2yhx00myw3yblflznibhdb2r6ipx-gcc-wrapper-15.3.0/bin/ld No pkg-config found Using runghc version 9.10.3 found on system at: /nix/store/6g9s6kw11maycdc6g5a66smakh2lwdga-ghc-9.10.3/bin/runghc-9.10.3 Using strip version 2.46 found on system at: /nix/store/1m3h2yhx00myw3yblflznibhdb2r6ipx-gcc-wrapper-15.3.0/bin/strip Using tar found on system at: /nix/store/2yldvksvc01sv7agz7vrczymm1ffcirx-gnutar-1.35/bin/tar No uhc found Running phase: buildPhase Preprocessing library for Diff-1.0.2... Building library for Diff-1.0.2... [1 of 3] Compiling Data.Algorithm.Diff ( src/Data/Algorithm/Diff.hs, dist/build/Data/Algorithm/Diff.o, dist/build/Data/Algorithm/Diff.dyn_o ) src/Data/Algorithm/Diff.hs:69:9: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[DL]’ not matched: [] | 69 | where (hd:rst) = nextDLs dls | ^^^^^^^^^^^^^^^^^^^^^^ src/Data/Algorithm/Diff.hs:87:23: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 87 | lcs eq as bs = path . head . dropWhile (\dl -> poi dl /= lena || poj dl /= lenb) . | ^^^^ [2 of 3] Compiling Data.Algorithm.DiffContext ( src/Data/Algorithm/DiffContext.hs, dist/build/Data/Algorithm/DiffContext.o, dist/build/Data/Algorithm/DiffContext.dyn_o ) [3 of 3] Compiling Data.Algorithm.DiffOutput ( src/Data/Algorithm/DiffOutput.hs, dist/build/Data/Algorithm/DiffOutput.o, dist/build/Data/Algorithm/DiffOutput.dyn_o ) [1 of 3] Compiling Data.Algorithm.Diff ( src/Data/Algorithm/Diff.hs, dist/build/Data/Algorithm/Diff.p_o ) src/Data/Algorithm/Diff.hs:69:9: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[DL]’ not matched: [] | 69 | where (hd:rst) = nextDLs dls | ^^^^^^^^^^^^^^^^^^^^^^ src/Data/Algorithm/Diff.hs:87:23: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 87 | lcs eq as bs = path . head . dropWhile (\dl -> poi dl /= lena || poj dl /= lenb) . | ^^^^ [2 of 3] Compiling Data.Algorithm.DiffContext ( src/Data/Algorithm/DiffContext.hs, dist/build/Data/Algorithm/DiffContext.p_o ) [3 of 3] Compiling Data.Algorithm.DiffOutput ( src/Data/Algorithm/DiffOutput.hs, dist/build/Data/Algorithm/DiffOutput.p_o ) Preprocessing test suite 'diff-tests' for Diff-1.0.2... Building test suite 'diff-tests' for Diff-1.0.2... [1 of 1] Compiling Main ( test/Test.hs, dist/build/diff-tests/diff-tests-tmp/Main.o ) [2 of 2] Linking dist/build/diff-tests/diff-tests Running phase: checkPhase Running 1 test suites... Test suite diff-tests: RUNNING... sub props: empty in subs: [OK, passed 100 tests] self in subs: [OK, passed 100 tests] count subs: [OK, passed 100 tests] every sub is a sub: [OK, passed 100 tests] sub prop: [OK, passed 100 tests] diff props: lcsEmpty: [OK, passed 100 tests] lcsSelf: [OK, passed 100 tests] lcsBoth: [OK, passed 100 tests] recover first: [OK, passed 100 tests] recover second: [OK, passed 100 tests] lcs: [OK, passed 100 tests] compare random with reference: [OK, passed 100 tests] output props: self generates empty: [OK, passed 100 tests] compare random with diff: [OK, passed 100 tests] compare with diff, issue #5: [OK, passed 100 tests] test parse: [OK, passed 100 tests] context props: test context: [OK, passed 100 tests] compare with empty: [OK, passed 100 tests] compare with empty: [OK, passed 100 tests] Properties Total Passed 19 19 Failed 0 0 Total 19 19 Test suite diff-tests: PASS Test suite logged to: dist/test/Diff-1.0.2-diff-tests.log 1 of 1 test suites (1 of 1 test cases) passed. Running phase: haddockPhase Preprocessing library for Diff-1.0.2... Running Haddock on library for Diff-1.0.2... [1 of 3] Compiling Data.Algorithm.Diff ( src/Data/Algorithm/Diff.hs, nothing ) src/Data/Algorithm/Diff.hs:87:23: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 87 | lcs eq as bs = path . head . dropWhile (\dl -> poi dl /= lena || poj dl /= lenb) . | ^^^^ [2 of 3] Compiling Data.Algorithm.DiffContext ( src/Data/Algorithm/DiffContext.hs, nothing ) [3 of 3] Compiling Data.Algorithm.DiffOutput ( src/Data/Algorithm/DiffOutput.hs, nothing ) Haddock coverage: 88% ( 8 / 9) in 'Data.Algorithm.Diff' Missing documentation for: getGroupedDiffBy (src/Data/Algorithm/Diff.hs:122) Warning: 'groupBy' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 50% ( 6 / 12) in 'Data.Algorithm.DiffContext' Missing documentation for: ContextDiff (src/Data/Algorithm/DiffContext.hs:29) Hunk (src/Data/Algorithm/DiffContext.hs:30) getContextDiffNumbered (src/Data/Algorithm/DiffContext.hs:104) Numbered (src/Data/Algorithm/DiffContext.hs:55) numbered (src/Data/Algorithm/DiffContext.hs:62) unnumber (src/Data/Algorithm/DiffContext.hs:65) 100% ( 8 / 8) in 'Data.Algorithm.DiffOutput' Documentation created: dist/doc/html/Diff/, dist/doc/html/Diff/Diff.txt Preprocessing test suite 'diff-tests' for Diff-1.0.2... Running phase: installPhase Installing library in /nix/store/b7aqcbwf37n2hmnbcyydvhaqpx55q5sc-Diff-1.0.2/lib/ghc-9.10.3/lib/aarch64-linux-ghc-9.10.3-eb55/Diff-1.0.2-K8mcKpufPuE6Ul7Ds3pcbp Running phase: fixupPhase shrinking RPATHs of ELF executables and libraries in /nix/store/b7aqcbwf37n2hmnbcyydvhaqpx55q5sc-Diff-1.0.2 shrinking /nix/store/b7aqcbwf37n2hmnbcyydvhaqpx55q5sc-Diff-1.0.2/lib/ghc-9.10.3/lib/aarch64-linux-ghc-9.10.3-eb55/libHSDiff-1.0.2-K8mcKpufPuE6Ul7Ds3pcbp-ghc9.10.3.so checking for references to /build/ in /nix/store/b7aqcbwf37n2hmnbcyydvhaqpx55q5sc-Diff-1.0.2... patching script interpreter paths in /nix/store/b7aqcbwf37n2hmnbcyydvhaqpx55q5sc-Diff-1.0.2 stripping (with command strip and flags -S -p) in /nix/store/b7aqcbwf37n2hmnbcyydvhaqpx55q5sc-Diff-1.0.2/lib shrinking RPATHs of ELF executables and libraries in /nix/store/wf8dh3zv5c05mc8b360msxnm7c2dh8vp-Diff-1.0.2-doc checking for references to /build/ in /nix/store/wf8dh3zv5c05mc8b360msxnm7c2dh8vp-Diff-1.0.2-doc... patching script interpreter paths in /nix/store/wf8dh3zv5c05mc8b360msxnm7c2dh8vp-Diff-1.0.2-doc