Running phase: setupCompilerEnvironmentPhase Build with /nix/store/wlaib8x4hv6rvh97ss3rsbmkclzy9qvg-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.P827Buf9xm/setup-package.conf.d -threaded [1 of 2] Compiling Main ( Setup.lhs, /build/tmp.P827Buf9xm/Main.o ) [2 of 2] Linking Setup Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase configureFlags: --verbose --prefix=/nix/store/p2k03qkf48kyrmzdzj0pb3hlmgm1c1j5-Diff-1.0.2 --libdir=$prefix/lib/$compiler/lib --libsubdir=$abi/$libname --docdir=/nix/store/868p60dh72qrbxy9lr46srnrr0kbjpih-Diff-1.0.2-doc/share/doc/Diff-1.0.2 --with-gcc=gcc --package-db=/build/tmp.P827Buf9xm/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 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-L5JqIEt2TM1E34svHmtval include array-0.5.8.0-930e include base-4.20.2.0-8d86 include pretty-1.1.3.6-90d8 component Diff-1.0.2-Cajkkq6vBj8cOkkXSRYz9-diff-tests include Diff-1.0.2-L5JqIEt2TM1E34svHmtval include QuickCheck-2.15.0.1-Xd7bbZqHOI8qpMYh6zgcK include array-0.5.8.0-930e include base-4.20.2.0-8d86 include directory-1.3.8.5-f858 include pretty-1.1.3.6-90d8 include process-1.6.26.1-f2da include test-framework-0.8.2.3-EJ6twcjET1zHbs4B2IxuOp include test-framework-quickcheck2-0.3.0.7-8sHIe6tHqYFIQJcrtG6ylm Linked component graph: unit Diff-1.0.2-L5JqIEt2TM1E34svHmtval include array-0.5.8.0-930e include base-4.20.2.0-8d86 include pretty-1.1.3.6-90d8 Data.Algorithm.Diff=Diff-1.0.2-L5JqIEt2TM1E34svHmtval:Data.Algorithm.Diff,Data.Algorithm.DiffContext=Diff-1.0.2-L5JqIEt2TM1E34svHmtval:Data.Algorithm.DiffContext,Data.Algorithm.DiffOutput=Diff-1.0.2-L5JqIEt2TM1E34svHmtval:Data.Algorithm.DiffOutput unit Diff-1.0.2-Cajkkq6vBj8cOkkXSRYz9-diff-tests include Diff-1.0.2-L5JqIEt2TM1E34svHmtval include QuickCheck-2.15.0.1-Xd7bbZqHOI8qpMYh6zgcK include array-0.5.8.0-930e include base-4.20.2.0-8d86 include directory-1.3.8.5-f858 include pretty-1.1.3.6-90d8 include process-1.6.26.1-f2da include test-framework-0.8.2.3-EJ6twcjET1zHbs4B2IxuOp include test-framework-quickcheck2-0.3.0.7-8sHIe6tHqYFIQJcrtG6ylm Ready component graph: definite Diff-1.0.2-L5JqIEt2TM1E34svHmtval depends array-0.5.8.0-930e depends base-4.20.2.0-8d86 depends pretty-1.1.3.6-90d8 definite Diff-1.0.2-Cajkkq6vBj8cOkkXSRYz9-diff-tests depends Diff-1.0.2-L5JqIEt2TM1E34svHmtval depends QuickCheck-2.15.0.1-Xd7bbZqHOI8qpMYh6zgcK depends array-0.5.8.0-930e depends base-4.20.2.0-8d86 depends directory-1.3.8.5-f858 depends pretty-1.1.3.6-90d8 depends process-1.6.26.1-f2da depends test-framework-0.8.2.3-EJ6twcjET1zHbs4B2IxuOp depends test-framework-quickcheck2-0.3.0.7-8sHIe6tHqYFIQJcrtG6ylm Using Cabal-3.12.1.0 compiled by ghc-9.10 Using compiler: ghc-9.10.3 Using install prefix: /nix/store/p2k03qkf48kyrmzdzj0pb3hlmgm1c1j5-Diff-1.0.2 Executables installed in: /nix/store/p2k03qkf48kyrmzdzj0pb3hlmgm1c1j5-Diff-1.0.2/bin Libraries installed in: /nix/store/p2k03qkf48kyrmzdzj0pb3hlmgm1c1j5-Diff-1.0.2/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-f6d0/Diff-1.0.2-L5JqIEt2TM1E34svHmtval Dynamic Libraries installed in: /nix/store/p2k03qkf48kyrmzdzj0pb3hlmgm1c1j5-Diff-1.0.2/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-f6d0 Private executables installed in: /nix/store/p2k03qkf48kyrmzdzj0pb3hlmgm1c1j5-Diff-1.0.2/libexec/x86_64-linux-ghc-9.10.3-f6d0/Diff-1.0.2 Data files installed in: /nix/store/p2k03qkf48kyrmzdzj0pb3hlmgm1c1j5-Diff-1.0.2/share/x86_64-linux-ghc-9.10.3-f6d0/Diff-1.0.2 Documentation installed in: /nix/store/868p60dh72qrbxy9lr46srnrr0kbjpih-Diff-1.0.2-doc/share/doc/Diff-1.0.2 Configuration files installed in: /nix/store/p2k03qkf48kyrmzdzj0pb3hlmgm1c1j5-Diff-1.0.2/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 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/p2k03qkf48kyrmzdzj0pb3hlmgm1c1j5-Diff-1.0.2/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-f6d0/Diff-1.0.2-L5JqIEt2TM1E34svHmtval Running phase: fixupPhase shrinking RPATHs of ELF executables and libraries in /nix/store/p2k03qkf48kyrmzdzj0pb3hlmgm1c1j5-Diff-1.0.2 shrinking /nix/store/p2k03qkf48kyrmzdzj0pb3hlmgm1c1j5-Diff-1.0.2/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-f6d0/libHSDiff-1.0.2-L5JqIEt2TM1E34svHmtval-ghc9.10.3.so checking for references to /build/ in /nix/store/p2k03qkf48kyrmzdzj0pb3hlmgm1c1j5-Diff-1.0.2... patching script interpreter paths in /nix/store/p2k03qkf48kyrmzdzj0pb3hlmgm1c1j5-Diff-1.0.2 stripping (with command strip and flags -S -p) in /nix/store/p2k03qkf48kyrmzdzj0pb3hlmgm1c1j5-Diff-1.0.2/lib shrinking RPATHs of ELF executables and libraries in /nix/store/868p60dh72qrbxy9lr46srnrr0kbjpih-Diff-1.0.2-doc checking for references to /build/ in /nix/store/868p60dh72qrbxy9lr46srnrr0kbjpih-Diff-1.0.2-doc... patching script interpreter paths in /nix/store/868p60dh72qrbxy9lr46srnrr0kbjpih-Diff-1.0.2-doc