Add Fold1 pattern synonym & utilities #212
Merged
Garnix CI / package default [x86_64-linux]
succeeded
Aug 28, 2024 in 38s
Run results
Build succeeded
Details
Last 100 lines of logs:
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.68 found on system at:
/nix/store/xi9phwbzgx3b3hi6086lvpvs49h8bq85-ghc-9.0.2/bin/hpc
Using hsc2hs version 0.68.7 found on system at:
/nix/store/xi9phwbzgx3b3hi6086lvpvs49h8bq85-ghc-9.0.2/bin/hsc2hs
Using hscolour version 1.24 found on system at:
/nix/store/ysy46gigfr9vy49jncfs9qbmsf01qcbj-hscolour-1.24.4/bin/HsColour
No jhc found
Using ld found on system at:
/nix/store/ddr0bn02d8k41zyk8rsxhidq5rfza590-binutils-wrapper-2.38/bin/ld.gold
No pkg-config found
Using runghc version 9.0.2 found on system at:
/nix/store/xi9phwbzgx3b3hi6086lvpvs49h8bq85-ghc-9.0.2/bin/runghc
Using strip version 2.38 found on system at:
/nix/store/lsyzzki1iv9gwk4vdss7i1cjxrnxling-gcc-wrapper-11.3.0/bin/strip
Using tar found on system at:
/nix/store/h0a3dsnmfbsnkj846maf0749pzc4zmq4-gnutar-1.34/bin/tar
No uhc found
@nix {"action":"setPhase","phase":"buildPhase"}
building
Preprocessing library for foldl-1.4.16..
Building library for foldl-1.4.16..
[1 of 9] Compiling Control.Foldl.Internal ( src/Control/Foldl/Internal.hs, dist/build/Control/Foldl/Internal.o, dist/build/Control/Foldl/Internal.dyn_o )
[2 of 9] Compiling Control.Foldl.Optics ( src/Control/Foldl/Optics.hs, dist/build/Control/Foldl/Optics.o, dist/build/Control/Foldl/Optics.dyn_o )
[3 of 9] Compiling Control.Foldl.Util.MVector ( src/Control/Foldl/Util/MVector.hs, dist/build/Control/Foldl/Util/MVector.o, dist/build/Control/Foldl/Util/MVector.dyn_o )
[4 of 9] Compiling Control.Foldl.Util.Vector ( src/Control/Foldl/Util/Vector.hs, dist/build/Control/Foldl/Util/Vector.o, dist/build/Control/Foldl/Util/Vector.dyn_o )
[5 of 9] Compiling Control.Foldl ( src/Control/Foldl.hs, dist/build/Control/Foldl.o, dist/build/Control/Foldl.dyn_o )
[6 of 9] Compiling Control.Foldl.Text ( src/Control/Foldl/Text.hs, dist/build/Control/Foldl/Text.o, dist/build/Control/Foldl/Text.dyn_o )
[7 of 9] Compiling Control.Foldl.NonEmpty ( src/Control/Foldl/NonEmpty.hs, dist/build/Control/Foldl/NonEmpty.o, dist/build/Control/Foldl/NonEmpty.dyn_o )
[8 of 9] Compiling Control.Foldl.ByteString ( src/Control/Foldl/ByteString.hs, dist/build/Control/Foldl/ByteString.o, dist/build/Control/Foldl/ByteString.dyn_o )
[9 of 9] Compiling Control.Scanl ( src/Control/Scanl.hs, dist/build/Control/Scanl.o, dist/build/Control/Scanl.dyn_o )
[1 of 9] Compiling Control.Foldl.Internal ( src/Control/Foldl/Internal.hs, dist/build/Control/Foldl/Internal.p_o )
[2 of 9] Compiling Control.Foldl.Optics ( src/Control/Foldl/Optics.hs, dist/build/Control/Foldl/Optics.p_o )
[3 of 9] Compiling Control.Foldl.Util.MVector ( src/Control/Foldl/Util/MVector.hs, dist/build/Control/Foldl/Util/MVector.p_o )
[4 of 9] Compiling Control.Foldl.Util.Vector ( src/Control/Foldl/Util/Vector.hs, dist/build/Control/Foldl/Util/Vector.p_o )
[5 of 9] Compiling Control.Foldl ( src/Control/Foldl.hs, dist/build/Control/Foldl.p_o )
[6 of 9] Compiling Control.Foldl.Text ( src/Control/Foldl/Text.hs, dist/build/Control/Foldl/Text.p_o )
[7 of 9] Compiling Control.Foldl.NonEmpty ( src/Control/Foldl/NonEmpty.hs, dist/build/Control/Foldl/NonEmpty.p_o )
[8 of 9] Compiling Control.Foldl.ByteString ( src/Control/Foldl/ByteString.hs, dist/build/Control/Foldl/ByteString.p_o )
[9 of 9] Compiling Control.Scanl ( src/Control/Scanl.hs, dist/build/Control/Scanl.p_o )
Preprocessing test suite 'doctest' for foldl-1.4.16..
Building test suite 'doctest' for foldl-1.4.16..
[1 of 1] Compiling Main ( test/doctest.hs, dist/build/doctest/doctest-tmp/Main.o )
Linking dist/build/doctest/doctest ...
@nix {"action":"setPhase","phase":"checkPhase"}
running tests
Running 1 test suites...
Test suite doctest: RUNNING...
Test suite doctest: PASS
Test suite logged to: dist/test/foldl-1.4.16-doctest.log
1 of 1 test suites (1 of 1 test cases) passed.
@nix {"action":"setPhase","phase":"haddockPhase"}
haddockPhase
Preprocessing library for foldl-1.4.16..
Running Haddock on library for foldl-1.4.16..
Warning: --source-* options are ignored when --hyperlinked-source is enabled.
Warning: 'lift' is out of scope.
If you qualify the identifier, haddock can try to link it anyway.
Warning: 'liftIO' is out of scope.
If you qualify the identifier, haddock can try to link it anyway.
Warning: 'None' is out of scope.
If you qualify the identifier, haddock can try to link it anyway.
100% ( 98 / 98) in 'Control.Foldl'
100% ( 27 / 27) in 'Control.Foldl.Text'
Warning: 'fold1' is ambiguous. It is defined
* in ‘Data.Semigroup.Foldable.Class’
* at src/Control/Foldl/NonEmpty.hs:247:1
You may be able to disambiguate the identifier by qualifying it or
by specifying the type/value namespace explicitly.
Defaulting to the one defined at src/Control/Foldl/NonEmpty.hs:247:1
100% ( 27 / 27) in 'Control.Foldl.NonEmpty'
100% ( 28 / 28) in 'Control.Foldl.ByteString'
Warning: 'Comonad' is out of scope.
If you qualify the identifier, haddock can try to link it anyway.
Warning: 'liftIO' is out of scope.
If you qualify the identifier, haddock can try to link it anyway.
95% ( 21 / 22) in 'Control.Scanl'
Missing documentation for:
arrM (src/Control/Scanl.hs:438)
Documentation created: dist/doc/html/foldl/index.html,
dist/doc/html/foldl/foldl.txt
Preprocessing test suite 'doctest' for foldl-1.4.16..
@nix {"action":"setPhase","phase":"installPhase"}
installing
Installing library in /nix/store/2bhc77jy6yhcgzbnsm8vnrys22xs27f1-foldl-1.4.16/lib/ghc-9.0.2/x86_64-linux-ghc-9.0.2/foldl-1.4.16-7ny6M8mQj7UJQYKUOuhCSe
@nix {"action":"setPhase","phase":"fixupPhase"}
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/2bhc77jy6yhcgzbnsm8vnrys22xs27f1-foldl-1.4.16
shrinking /nix/store/2bhc77jy6yhcgzbnsm8vnrys22xs27f1-foldl-1.4.16/lib/ghc-9.0.2/x86_64-linux-ghc-9.0.2/libHSfoldl-1.4.16-7ny6M8mQj7UJQYKUOuhCSe-ghc9.0.2.so
strip is /nix/store/lsyzzki1iv9gwk4vdss7i1cjxrnxling-gcc-wrapper-11.3.0/bin/strip
stripping (with command strip and flags -S) in /nix/store/2bhc77jy6yhcgzbnsm8vnrys22xs27f1-foldl-1.4.16/lib
patching script interpreter paths in /nix/store/2bhc77jy6yhcgzbnsm8vnrys22xs27f1-foldl-1.4.16
checking for references to /build/ in /nix/store/2bhc77jy6yhcgzbnsm8vnrys22xs27f1-foldl-1.4.16...
shrinking RPATHs of ELF executables and libraries in /nix/store/lxymsiind495sy753ragdvl0inyz0y0c-foldl-1.4.16-doc
strip is /nix/store/lsyzzki1iv9gwk4vdss7i1cjxrnxling-gcc-wrapper-11.3.0/bin/strip
patching script interpreter paths in /nix/store/lxymsiind495sy753ragdvl0inyz0y0c-foldl-1.4.16-doc
checking for references to /build/ in /nix/store/lxymsiind495sy753ragdvl0inyz0y0c-foldl-1.4.16-doc...
Loading