Running phase: setupCompilerEnvironmentPhase Build with /nix/store/y48hvc1f09367cz5f03dcncv6n3lkf18-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.oNMzaNBfMn/setup-package.conf.d -threaded [1 of 2] Compiling Main ( Setup.lhs, /build/tmp.oNMzaNBfMn/Main.o ) [2 of 2] Linking Setup Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase configureFlags: --verbose --prefix=/nix/store/yh9h03slaniqmaxfjrfvamnk3n9gaf4v-Diff-1.0.2 --libdir=$prefix/lib/$compiler/lib --libsubdir=$abi/$libname --docdir=/nix/store/j2n0457s60d9m9z11jvjlmg2nvfxjfmv-Diff-1.0.2-doc/share/doc/Diff-1.0.2 --with-gcc=gcc --package-db=/build/tmp.oNMzaNBfMn/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 --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/62qhvy2m2lpqj7ca39j9wvp2kkcxwdcg-ncurses-6.6/lib --extra-lib-dirs=/nix/store/rkfkkdgwz8y31hk76i4b9s59h5raya9n-libffi-3.5.2/lib --extra-lib-dirs=/nix/store/hkxx26hifhkm5xsfwk1khwi1bkal3i9k-elfutils-0.195/lib --extra-lib-dirs=/nix/store/sy8ark85hgjhhcr1ycgarf5w7ajw8jcc-gmp-with-cxx-6.3.0/lib --extra-lib-dirs=/nix/store/51bryd6zjk96w46s7g30azhbfrwhbh76-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-LXSLvOxngg4IEqhnLZ7Mbl include array-0.5.8.0-d499 include base-4.20.2.0-2363 include pretty-1.1.3.6-1b31 component Diff-1.0.2-BB84OTlcFzNIrNP7d39zbh-diff-tests include Diff-1.0.2-LXSLvOxngg4IEqhnLZ7Mbl include QuickCheck-2.15.0.1-3N2cq88qhTx9tzOlwUpVlF include array-0.5.8.0-d499 include base-4.20.2.0-2363 include directory-1.3.8.5-e40b include pretty-1.1.3.6-1b31 include process-1.6.26.1-e738 include test-framework-0.8.2.3-DZOLuf9WVUe8q6sV1KTS8n include test-framework-quickcheck2-0.3.0.7-CWqb5BnltClJq6qoeHSdKu Linked component graph: unit Diff-1.0.2-LXSLvOxngg4IEqhnLZ7Mbl include array-0.5.8.0-d499 include base-4.20.2.0-2363 include pretty-1.1.3.6-1b31 Data.Algorithm.Diff=Diff-1.0.2-LXSLvOxngg4IEqhnLZ7Mbl:Data.Algorithm.Diff,Data.Algorithm.DiffContext=Diff-1.0.2-LXSLvOxngg4IEqhnLZ7Mbl:Data.Algorithm.DiffContext,Data.Algorithm.DiffOutput=Diff-1.0.2-LXSLvOxngg4IEqhnLZ7Mbl:Data.Algorithm.DiffOutput unit Diff-1.0.2-BB84OTlcFzNIrNP7d39zbh-diff-tests include Diff-1.0.2-LXSLvOxngg4IEqhnLZ7Mbl include QuickCheck-2.15.0.1-3N2cq88qhTx9tzOlwUpVlF include array-0.5.8.0-d499 include base-4.20.2.0-2363 include directory-1.3.8.5-e40b include pretty-1.1.3.6-1b31 include process-1.6.26.1-e738 include test-framework-0.8.2.3-DZOLuf9WVUe8q6sV1KTS8n include test-framework-quickcheck2-0.3.0.7-CWqb5BnltClJq6qoeHSdKu Ready component graph: definite Diff-1.0.2-LXSLvOxngg4IEqhnLZ7Mbl depends array-0.5.8.0-d499 depends base-4.20.2.0-2363 depends pretty-1.1.3.6-1b31 definite Diff-1.0.2-BB84OTlcFzNIrNP7d39zbh-diff-tests depends Diff-1.0.2-LXSLvOxngg4IEqhnLZ7Mbl depends QuickCheck-2.15.0.1-3N2cq88qhTx9tzOlwUpVlF depends array-0.5.8.0-d499 depends base-4.20.2.0-2363 depends directory-1.3.8.5-e40b depends pretty-1.1.3.6-1b31 depends process-1.6.26.1-e738 depends test-framework-0.8.2.3-DZOLuf9WVUe8q6sV1KTS8n depends test-framework-quickcheck2-0.3.0.7-CWqb5BnltClJq6qoeHSdKu Using Cabal-3.12.1.0 compiled by ghc-9.10 Using compiler: ghc-9.10.3 Using install prefix: /nix/store/yh9h03slaniqmaxfjrfvamnk3n9gaf4v-Diff-1.0.2 Executables installed in: /nix/store/yh9h03slaniqmaxfjrfvamnk3n9gaf4v-Diff-1.0.2/bin Libraries installed in: /nix/store/yh9h03slaniqmaxfjrfvamnk3n9gaf4v-Diff-1.0.2/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-ad9c/Diff-1.0.2-LXSLvOxngg4IEqhnLZ7Mbl Dynamic Libraries installed in: /nix/store/yh9h03slaniqmaxfjrfvamnk3n9gaf4v-Diff-1.0.2/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-ad9c Private executables installed in: /nix/store/yh9h03slaniqmaxfjrfvamnk3n9gaf4v-Diff-1.0.2/libexec/x86_64-linux-ghc-9.10.3-ad9c/Diff-1.0.2 Data files installed in: /nix/store/yh9h03slaniqmaxfjrfvamnk3n9gaf4v-Diff-1.0.2/share/x86_64-linux-ghc-9.10.3-ad9c/Diff-1.0.2 Documentation installed in: /nix/store/j2n0457s60d9m9z11jvjlmg2nvfxjfmv-Diff-1.0.2-doc/share/doc/Diff-1.0.2 Configuration files installed in: /nix/store/yh9h03slaniqmaxfjrfvamnk3n9gaf4v-Diff-1.0.2/etc No alex found Using ar found on system at: /nix/store/nhjmc8clp6igx6n6zrjxlh7zri78p7ng-binutils-wrapper-2.46/bin/ar No c2hs found No cpphs found No doctest found Using gcc version 15.2.0 given by user at: /nix/store/vdaz6sk455r8sbpi7wzaf9vlz5i9yyvx-gcc-wrapper-15.2.0/bin/gcc Using ghc version 9.10.3 found on system at: /nix/store/y48hvc1f09367cz5f03dcncv6n3lkf18-ghc-9.10.3/bin/ghc Using ghc-pkg version 9.10.3 found on system at: /nix/store/y48hvc1f09367cz5f03dcncv6n3lkf18-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/y48hvc1f09367cz5f03dcncv6n3lkf18-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/y48hvc1f09367cz5f03dcncv6n3lkf18-ghc-9.10.3/bin/hpc-ghc-9.10.3 Using hsc2hs version 0.68.10 found on system at: /nix/store/y48hvc1f09367cz5f03dcncv6n3lkf18-ghc-9.10.3/bin/hsc2hs-ghc-9.10.3 Using hscolour version 1.25 found on system at: /nix/store/7jmv3q39mz536pqn37cb6p25jd9hz5yi-hscolour-1.25/bin/HsColour No jhc found Using ld found on system at: /nix/store/vdaz6sk455r8sbpi7wzaf9vlz5i9yyvx-gcc-wrapper-15.2.0/bin/ld No pkg-config found Using runghc version 9.10.3 found on system at: /nix/store/y48hvc1f09367cz5f03dcncv6n3lkf18-ghc-9.10.3/bin/runghc-9.10.3 Using strip version 2.46 found on system at: /nix/store/vdaz6sk455r8sbpi7wzaf9vlz5i9yyvx-gcc-wrapper-15.2.0/bin/strip Using tar found on system at: /nix/store/fq62mc3s8ddxgk1nvlbzly2zmr7v2cax-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/yh9h03slaniqmaxfjrfvamnk3n9gaf4v-Diff-1.0.2/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-ad9c/Diff-1.0.2-LXSLvOxngg4IEqhnLZ7Mbl Running phase: fixupPhase shrinking RPATHs of ELF executables and libraries in /nix/store/yh9h03slaniqmaxfjrfvamnk3n9gaf4v-Diff-1.0.2 shrinking /nix/store/yh9h03slaniqmaxfjrfvamnk3n9gaf4v-Diff-1.0.2/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-ad9c/libHSDiff-1.0.2-LXSLvOxngg4IEqhnLZ7Mbl-ghc9.10.3.so checking for references to /build/ in /nix/store/yh9h03slaniqmaxfjrfvamnk3n9gaf4v-Diff-1.0.2... patching script interpreter paths in /nix/store/yh9h03slaniqmaxfjrfvamnk3n9gaf4v-Diff-1.0.2 stripping (with command strip and flags -S -p) in /nix/store/yh9h03slaniqmaxfjrfvamnk3n9gaf4v-Diff-1.0.2/lib shrinking RPATHs of ELF executables and libraries in /nix/store/j2n0457s60d9m9z11jvjlmg2nvfxjfmv-Diff-1.0.2-doc checking for references to /build/ in /nix/store/j2n0457s60d9m9z11jvjlmg2nvfxjfmv-Diff-1.0.2-doc... patching script interpreter paths in /nix/store/j2n0457s60d9m9z11jvjlmg2nvfxjfmv-Diff-1.0.2-doc