Diff-1.0.2
checks.aarch64-linux.psql_17_slim
· build #909
· raw
setupCompilerEnvironmentPhase
1Build with /nix/store/6g9s6kw11maycdc6g5a66smakh2lwdga-ghc-9.10.3.unpackPhase
2unpacking source archive /nix/store/nlx3k9vhmxcd5z2ha807lsw2c2ys5fqi-Diff-1.0.2.tar.gz3source root is Diff-1.0.24setting SOURCE_DATE_EPOCH to timestamp 1000000000 of file "Diff-1.0.2/test/Test.hs"compileBuildDriverPhase
5setupCompileFlags: -package-db=/build/tmp.OuA6IH3730/setup-package.conf.d -threaded6[1 of 2] Compiling Main ( Setup.lhs, /build/tmp.OuA6IH3730/Main.o )7[2 of 2] Linking SetupconfigurePhase
8configureFlags: --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/lib9Using Parsec parser10Configuring Diff-1.0.2...11Dependency array: using array-0.5.8.012Dependency base >=4.11 && <=6: using base-4.20.2.013Dependency pretty >=1.1: using pretty-1.1.3.614Dependency Diff: using Diff-1.0.215Dependency QuickCheck: using QuickCheck-2.15.0.116Dependency array: using array-0.5.8.017Dependency base >=3 && <=6: using base-4.20.2.018Dependency directory: using directory-1.3.8.519Dependency pretty: using pretty-1.1.3.620Dependency process: using process-1.6.26.121Dependency test-framework: using test-framework-0.8.2.322Dependency test-framework-quickcheck2: using23test-framework-quickcheck2-0.3.0.724Source component graph:25 component lib26 component test:diff-tests dependency lib27Configured component graph:28 component Diff-1.0.2-K8mcKpufPuE6Ul7Ds3pcbp29 include array-0.5.8.0-32b730 include base-4.20.2.0-a5ec31 include pretty-1.1.3.6-ac4032 component Diff-1.0.2-LN7BOYSnl2J6DvIZvky0Kc-diff-tests33 include Diff-1.0.2-K8mcKpufPuE6Ul7Ds3pcbp34 include QuickCheck-2.15.0.1-DoCBkNsF8SpAVmhTpFuY6d35 include array-0.5.8.0-32b736 include base-4.20.2.0-a5ec37 include directory-1.3.8.5-0d3b38 include pretty-1.1.3.6-ac4039 include process-1.6.26.1-b56040 include test-framework-0.8.2.3-JjAWcT8pgCmBQkfFpQxtQV41 include test-framework-quickcheck2-0.3.0.7-5EWgF7rmUwI6NtWFxaHGX542Linked component graph:43 unit Diff-1.0.2-K8mcKpufPuE6Ul7Ds3pcbp44 include array-0.5.8.0-32b745 include base-4.20.2.0-a5ec46 include pretty-1.1.3.6-ac4047 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.DiffOutput48 unit Diff-1.0.2-LN7BOYSnl2J6DvIZvky0Kc-diff-tests49 include Diff-1.0.2-K8mcKpufPuE6Ul7Ds3pcbp50 include QuickCheck-2.15.0.1-DoCBkNsF8SpAVmhTpFuY6d51 include array-0.5.8.0-32b752 include base-4.20.2.0-a5ec53 include directory-1.3.8.5-0d3b54 include pretty-1.1.3.6-ac4055 include process-1.6.26.1-b56056 include test-framework-0.8.2.3-JjAWcT8pgCmBQkfFpQxtQV57 include test-framework-quickcheck2-0.3.0.7-5EWgF7rmUwI6NtWFxaHGX558Ready component graph:59 definite Diff-1.0.2-K8mcKpufPuE6Ul7Ds3pcbp60 depends array-0.5.8.0-32b761 depends base-4.20.2.0-a5ec62 depends pretty-1.1.3.6-ac4063 definite Diff-1.0.2-LN7BOYSnl2J6DvIZvky0Kc-diff-tests64 depends Diff-1.0.2-K8mcKpufPuE6Ul7Ds3pcbp65 depends QuickCheck-2.15.0.1-DoCBkNsF8SpAVmhTpFuY6d66 depends array-0.5.8.0-32b767 depends base-4.20.2.0-a5ec68 depends directory-1.3.8.5-0d3b69 depends pretty-1.1.3.6-ac4070 depends process-1.6.26.1-b56071 depends test-framework-0.8.2.3-JjAWcT8pgCmBQkfFpQxtQV72 depends test-framework-quickcheck2-0.3.0.7-5EWgF7rmUwI6NtWFxaHGX573Using Cabal-3.12.1.0 compiled by ghc-9.1074Using compiler: ghc-9.10.375Using install prefix: /nix/store/b7aqcbwf37n2hmnbcyydvhaqpx55q5sc-Diff-1.0.276Executables installed in:77/nix/store/b7aqcbwf37n2hmnbcyydvhaqpx55q5sc-Diff-1.0.2/bin78Libraries installed in:79/nix/store/b7aqcbwf37n2hmnbcyydvhaqpx55q5sc-Diff-1.0.2/lib/ghc-9.10.3/lib/aarch64-linux-ghc-9.10.3-eb55/Diff-1.0.2-K8mcKpufPuE6Ul7Ds3pcbp80Dynamic Libraries installed in:81/nix/store/b7aqcbwf37n2hmnbcyydvhaqpx55q5sc-Diff-1.0.2/lib/ghc-9.10.3/lib/aarch64-linux-ghc-9.10.3-eb5582Private executables installed in:83/nix/store/b7aqcbwf37n2hmnbcyydvhaqpx55q5sc-Diff-1.0.2/libexec/aarch64-linux-ghc-9.10.3-eb55/Diff-1.0.284Data files installed in:85/nix/store/b7aqcbwf37n2hmnbcyydvhaqpx55q5sc-Diff-1.0.2/share/aarch64-linux-ghc-9.10.3-eb55/Diff-1.0.286Documentation installed in:87/nix/store/wf8dh3zv5c05mc8b360msxnm7c2dh8vp-Diff-1.0.2-doc/share/doc/Diff-1.0.288Configuration files installed in:89/nix/store/b7aqcbwf37n2hmnbcyydvhaqpx55q5sc-Diff-1.0.2/etc90No alex found91Using ar found on system at:92/nix/store/m1armxrx1nk768pislz3kzicq2mr4wck-binutils-wrapper-2.46/bin/ar93No c2hs found94No cpphs found95No doctest found96Using gcc version 15.3.0 given by user at:97/nix/store/1m3h2yhx00myw3yblflznibhdb2r6ipx-gcc-wrapper-15.3.0/bin/gcc98Using ghc version 9.10.3 found on system at:99/nix/store/6g9s6kw11maycdc6g5a66smakh2lwdga-ghc-9.10.3/bin/ghc100Using ghc-pkg version 9.10.3 found on system at:101/nix/store/6g9s6kw11maycdc6g5a66smakh2lwdga-ghc-9.10.3/bin/ghc-pkg-9.10.3102No ghcjs found103No ghcjs-pkg found104No greencard found105Using haddock version 2.31.1 found on system at:106/nix/store/6g9s6kw11maycdc6g5a66smakh2lwdga-ghc-9.10.3/bin/haddock-ghc-9.10.3107No happy found108Using haskell-suite found on system at: haskell-suite-dummy-location109Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location110No hmake found111Using hpc version 0.69 found on system at:112/nix/store/6g9s6kw11maycdc6g5a66smakh2lwdga-ghc-9.10.3/bin/hpc-ghc-9.10.3113Using hsc2hs version 0.68.10 found on system at:114/nix/store/6g9s6kw11maycdc6g5a66smakh2lwdga-ghc-9.10.3/bin/hsc2hs-ghc-9.10.3115Using hscolour version 1.25 found on system at:116/nix/store/pzf13a3faar5znsn51jxl01l1qw7qjw1-hscolour-1.25/bin/HsColour117No jhc found118Using ld found on system at:119/nix/store/1m3h2yhx00myw3yblflznibhdb2r6ipx-gcc-wrapper-15.3.0/bin/ld120No pkg-config found121Using runghc version 9.10.3 found on system at:122/nix/store/6g9s6kw11maycdc6g5a66smakh2lwdga-ghc-9.10.3/bin/runghc-9.10.3123Using strip version 2.46 found on system at:124/nix/store/1m3h2yhx00myw3yblflznibhdb2r6ipx-gcc-wrapper-15.3.0/bin/strip125Using tar found on system at:126/nix/store/2yldvksvc01sv7agz7vrczymm1ffcirx-gnutar-1.35/bin/tar127No uhc foundbuildPhase
128Preprocessing library for Diff-1.0.2...129Building library for Diff-1.0.2...130[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 )131src/Data/Algorithm/Diff.hs:69:9: warning: [GHC-62161] [-Wincomplete-uni-patterns]132 Pattern match(es) are non-exhaustive133 In a pattern binding: Patterns of type ‘[DL]’ not matched: []134 |13569 | where (hd:rst) = nextDLs dls136 | ^^^^^^^^^^^^^^^^^^^^^^137138src/Data/Algorithm/Diff.hs:87:23: warning: [GHC-63394] [-Wx-partial]139 In the use of ‘head’140 (imported from Prelude, but defined in GHC.Internal.List):141 "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"."142 |14387 | lcs eq as bs = path . head . dropWhile (\dl -> poi dl /= lena || poj dl /= lenb) .144 | ^^^^145146[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 )147[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 )148[1 of 3] Compiling Data.Algorithm.Diff ( src/Data/Algorithm/Diff.hs, dist/build/Data/Algorithm/Diff.p_o )149src/Data/Algorithm/Diff.hs:69:9: warning: [GHC-62161] [-Wincomplete-uni-patterns]150 Pattern match(es) are non-exhaustive151 In a pattern binding: Patterns of type ‘[DL]’ not matched: []152 |15369 | where (hd:rst) = nextDLs dls154 | ^^^^^^^^^^^^^^^^^^^^^^155156src/Data/Algorithm/Diff.hs:87:23: warning: [GHC-63394] [-Wx-partial]157 In the use of ‘head’158 (imported from Prelude, but defined in GHC.Internal.List):159 "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"."160 |16187 | lcs eq as bs = path . head . dropWhile (\dl -> poi dl /= lena || poj dl /= lenb) .162 | ^^^^163164[2 of 3] Compiling Data.Algorithm.DiffContext ( src/Data/Algorithm/DiffContext.hs, dist/build/Data/Algorithm/DiffContext.p_o )165[3 of 3] Compiling Data.Algorithm.DiffOutput ( src/Data/Algorithm/DiffOutput.hs, dist/build/Data/Algorithm/DiffOutput.p_o )166Preprocessing test suite 'diff-tests' for Diff-1.0.2...167Building test suite 'diff-tests' for Diff-1.0.2...168[1 of 1] Compiling Main ( test/Test.hs, dist/build/diff-tests/diff-tests-tmp/Main.o )169[2 of 2] Linking dist/build/diff-tests/diff-testscheckPhase
170Running 1 test suites...171Test suite diff-tests: RUNNING...172sub props:173 empty in subs: [OK, passed 100 tests]174 self in subs: [OK, passed 100 tests]175 count subs: [OK, passed 100 tests]176 every sub is a sub: [OK, passed 100 tests]177 sub prop: [OK, passed 100 tests]178diff props:179 lcsEmpty: [OK, passed 100 tests]180 lcsSelf: [OK, passed 100 tests]181 lcsBoth: [OK, passed 100 tests]182 recover first: [OK, passed 100 tests]183 recover second: [OK, passed 100 tests]184 lcs: [OK, passed 100 tests]185 compare random with reference: [OK, passed 100 tests]186output props:187 self generates empty: [OK, passed 100 tests]188 compare random with diff: [OK, passed 100 tests]189 compare with diff, issue #5: [OK, passed 100 tests]190 test parse: [OK, passed 100 tests]191context props:192 test context: [OK, passed 100 tests]193 compare with empty: [OK, passed 100 tests]194 compare with empty: [OK, passed 100 tests]195196 Properties Total 197 Passed 19 19 198 Failed 0 0 199 Total 19 19 200Test suite diff-tests: PASS201Test suite logged to: dist/test/Diff-1.0.2-diff-tests.log2021 of 1 test suites (1 of 1 test cases) passed.haddockPhase
203Preprocessing library for Diff-1.0.2...204Running Haddock on library for Diff-1.0.2...205[1 of 3] Compiling Data.Algorithm.Diff ( src/Data/Algorithm/Diff.hs, nothing )206src/Data/Algorithm/Diff.hs:87:23: warning: [GHC-63394] [-Wx-partial]207 In the use of ‘head’208 (imported from Prelude, but defined in GHC.Internal.List):209 "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"."210 |21187 | lcs eq as bs = path . head . dropWhile (\dl -> poi dl /= lena || poj dl /= lenb) .212 | ^^^^213214[2 of 3] Compiling Data.Algorithm.DiffContext ( src/Data/Algorithm/DiffContext.hs, nothing )215[3 of 3] Compiling Data.Algorithm.DiffOutput ( src/Data/Algorithm/DiffOutput.hs, nothing )216Haddock coverage:217 88% ( 8 / 9) in 'Data.Algorithm.Diff'218 Missing documentation for:219 getGroupedDiffBy (src/Data/Algorithm/Diff.hs:122)220Warning: 'groupBy' is out of scope.221 If you qualify the identifier, haddock can try to link it anyway.222 50% ( 6 / 12) in 'Data.Algorithm.DiffContext'223 Missing documentation for:224 ContextDiff (src/Data/Algorithm/DiffContext.hs:29)225 Hunk (src/Data/Algorithm/DiffContext.hs:30)226 getContextDiffNumbered (src/Data/Algorithm/DiffContext.hs:104)227 Numbered (src/Data/Algorithm/DiffContext.hs:55)228 numbered (src/Data/Algorithm/DiffContext.hs:62)229 unnumber (src/Data/Algorithm/DiffContext.hs:65)230 100% ( 8 / 8) in 'Data.Algorithm.DiffOutput'231Documentation created: dist/doc/html/Diff/, dist/doc/html/Diff/Diff.txt232Preprocessing test suite 'diff-tests' for Diff-1.0.2...installPhase
233Installing 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-K8mcKpufPuE6Ul7Ds3pcbpfixupPhase
234shrinking RPATHs of ELF executables and libraries in /nix/store/b7aqcbwf37n2hmnbcyydvhaqpx55q5sc-Diff-1.0.2235shrinking /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.so236checking for references to /build/ in /nix/store/b7aqcbwf37n2hmnbcyydvhaqpx55q5sc-Diff-1.0.2...237patching script interpreter paths in /nix/store/b7aqcbwf37n2hmnbcyydvhaqpx55q5sc-Diff-1.0.2238stripping (with command strip and flags -S -p) in /nix/store/b7aqcbwf37n2hmnbcyydvhaqpx55q5sc-Diff-1.0.2/lib239shrinking RPATHs of ELF executables and libraries in /nix/store/wf8dh3zv5c05mc8b360msxnm7c2dh8vp-Diff-1.0.2-doc240checking for references to /build/ in /nix/store/wf8dh3zv5c05mc8b360msxnm7c2dh8vp-Diff-1.0.2-doc...241patching script interpreter paths in /nix/store/wf8dh3zv5c05mc8b360msxnm7c2dh8vp-Diff-1.0.2-doc