Diff-1.0.2
checks.x86_64-linux.cli-smoke-test
· build #909
· raw
setupCompilerEnvironmentPhase
1Build with /nix/store/wlaib8x4hv6rvh97ss3rsbmkclzy9qvg-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.P827Buf9xm/setup-package.conf.d -threaded6[1 of 2] Compiling Main ( Setup.lhs, /build/tmp.P827Buf9xm/Main.o )7[2 of 2] Linking SetupconfigurePhase
8configureFlags: --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/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-L5JqIEt2TM1E34svHmtval29 include array-0.5.8.0-930e30 include base-4.20.2.0-8d8631 include pretty-1.1.3.6-90d832 component Diff-1.0.2-Cajkkq6vBj8cOkkXSRYz9-diff-tests33 include Diff-1.0.2-L5JqIEt2TM1E34svHmtval34 include QuickCheck-2.15.0.1-Xd7bbZqHOI8qpMYh6zgcK35 include array-0.5.8.0-930e36 include base-4.20.2.0-8d8637 include directory-1.3.8.5-f85838 include pretty-1.1.3.6-90d839 include process-1.6.26.1-f2da40 include test-framework-0.8.2.3-EJ6twcjET1zHbs4B2IxuOp41 include test-framework-quickcheck2-0.3.0.7-8sHIe6tHqYFIQJcrtG6ylm42Linked component graph:43 unit Diff-1.0.2-L5JqIEt2TM1E34svHmtval44 include array-0.5.8.0-930e45 include base-4.20.2.0-8d8646 include pretty-1.1.3.6-90d847 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.DiffOutput48 unit Diff-1.0.2-Cajkkq6vBj8cOkkXSRYz9-diff-tests49 include Diff-1.0.2-L5JqIEt2TM1E34svHmtval50 include QuickCheck-2.15.0.1-Xd7bbZqHOI8qpMYh6zgcK51 include array-0.5.8.0-930e52 include base-4.20.2.0-8d8653 include directory-1.3.8.5-f85854 include pretty-1.1.3.6-90d855 include process-1.6.26.1-f2da56 include test-framework-0.8.2.3-EJ6twcjET1zHbs4B2IxuOp57 include test-framework-quickcheck2-0.3.0.7-8sHIe6tHqYFIQJcrtG6ylm58Ready component graph:59 definite Diff-1.0.2-L5JqIEt2TM1E34svHmtval60 depends array-0.5.8.0-930e61 depends base-4.20.2.0-8d8662 depends pretty-1.1.3.6-90d863 definite Diff-1.0.2-Cajkkq6vBj8cOkkXSRYz9-diff-tests64 depends Diff-1.0.2-L5JqIEt2TM1E34svHmtval65 depends QuickCheck-2.15.0.1-Xd7bbZqHOI8qpMYh6zgcK66 depends array-0.5.8.0-930e67 depends base-4.20.2.0-8d8668 depends directory-1.3.8.5-f85869 depends pretty-1.1.3.6-90d870 depends process-1.6.26.1-f2da71 depends test-framework-0.8.2.3-EJ6twcjET1zHbs4B2IxuOp72 depends test-framework-quickcheck2-0.3.0.7-8sHIe6tHqYFIQJcrtG6ylm73Using Cabal-3.12.1.0 compiled by ghc-9.1074Using compiler: ghc-9.10.375Using install prefix: /nix/store/p2k03qkf48kyrmzdzj0pb3hlmgm1c1j5-Diff-1.0.276Executables installed in:77/nix/store/p2k03qkf48kyrmzdzj0pb3hlmgm1c1j5-Diff-1.0.2/bin78Libraries installed in:79/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-L5JqIEt2TM1E34svHmtval80Dynamic Libraries installed in:81/nix/store/p2k03qkf48kyrmzdzj0pb3hlmgm1c1j5-Diff-1.0.2/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-f6d082Private executables installed in:83/nix/store/p2k03qkf48kyrmzdzj0pb3hlmgm1c1j5-Diff-1.0.2/libexec/x86_64-linux-ghc-9.10.3-f6d0/Diff-1.0.284Data files installed in:85/nix/store/p2k03qkf48kyrmzdzj0pb3hlmgm1c1j5-Diff-1.0.2/share/x86_64-linux-ghc-9.10.3-f6d0/Diff-1.0.286Documentation installed in:87/nix/store/868p60dh72qrbxy9lr46srnrr0kbjpih-Diff-1.0.2-doc/share/doc/Diff-1.0.288Configuration files installed in:89/nix/store/p2k03qkf48kyrmzdzj0pb3hlmgm1c1j5-Diff-1.0.2/etc90No alex found91Using ar found on system at:92/nix/store/c1a2l64csn5lrwjqqnaman6hdici70vq-binutils-wrapper-2.46/bin/ar93No c2hs found94No cpphs found95No doctest found96Using gcc version 15.3.0 given by user at:97/nix/store/0592hadxldzhhd3ppc6nskslzd39fwlz-gcc-wrapper-15.3.0/bin/gcc98Using ghc version 9.10.3 found on system at:99/nix/store/wlaib8x4hv6rvh97ss3rsbmkclzy9qvg-ghc-9.10.3/bin/ghc100Using ghc-pkg version 9.10.3 found on system at:101/nix/store/wlaib8x4hv6rvh97ss3rsbmkclzy9qvg-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/wlaib8x4hv6rvh97ss3rsbmkclzy9qvg-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/wlaib8x4hv6rvh97ss3rsbmkclzy9qvg-ghc-9.10.3/bin/hpc-ghc-9.10.3113Using hsc2hs version 0.68.10 found on system at:114/nix/store/wlaib8x4hv6rvh97ss3rsbmkclzy9qvg-ghc-9.10.3/bin/hsc2hs-ghc-9.10.3115Using hscolour version 1.25 found on system at:116/nix/store/5vi248w6xh94a90bjhlw4ki4yb81lwdq-hscolour-1.25/bin/HsColour117No jhc found118Using ld found on system at:119/nix/store/0592hadxldzhhd3ppc6nskslzd39fwlz-gcc-wrapper-15.3.0/bin/ld120No pkg-config found121Using runghc version 9.10.3 found on system at:122/nix/store/wlaib8x4hv6rvh97ss3rsbmkclzy9qvg-ghc-9.10.3/bin/runghc-9.10.3123Using strip version 2.46 found on system at:124/nix/store/0592hadxldzhhd3ppc6nskslzd39fwlz-gcc-wrapper-15.3.0/bin/strip125Using tar found on system at:126/nix/store/a25fa9pgpi0q5cc7mjab93d22gi38pd4-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/p2k03qkf48kyrmzdzj0pb3hlmgm1c1j5-Diff-1.0.2/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-f6d0/Diff-1.0.2-L5JqIEt2TM1E34svHmtvalfixupPhase
234shrinking RPATHs of ELF executables and libraries in /nix/store/p2k03qkf48kyrmzdzj0pb3hlmgm1c1j5-Diff-1.0.2235shrinking /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.so236checking for references to /build/ in /nix/store/p2k03qkf48kyrmzdzj0pb3hlmgm1c1j5-Diff-1.0.2...237patching script interpreter paths in /nix/store/p2k03qkf48kyrmzdzj0pb3hlmgm1c1j5-Diff-1.0.2238stripping (with command strip and flags -S -p) in /nix/store/p2k03qkf48kyrmzdzj0pb3hlmgm1c1j5-Diff-1.0.2/lib239shrinking RPATHs of ELF executables and libraries in /nix/store/868p60dh72qrbxy9lr46srnrr0kbjpih-Diff-1.0.2-doc240checking for references to /build/ in /nix/store/868p60dh72qrbxy9lr46srnrr0kbjpih-Diff-1.0.2-doc...241patching script interpreter paths in /nix/store/868p60dh72qrbxy9lr46srnrr0kbjpih-Diff-1.0.2-doc