Resolving dependencies... Build profile: -w ghc-9.2.4 -O0 In order, the following will be built (use -v for more details): - doctest-exitcode-stdio-0.0 (lib:doctest-exitcode-stdio) (requires build) - non-empty-0.3.5 (first run) Starting doctest-exitcode-stdio-0.0 (all, legacy fallback) Building doctest-exitcode-stdio-0.0 (all, legacy fallback) Installing doctest-exitcode-stdio-0.0 (all, legacy fallback) Completed doctest-exitcode-stdio-0.0 (all, legacy fallback) Configuring non-empty-0.3.5... Preprocessing library for non-empty-0.3.5.. Building library for non-empty-0.3.5.. [ 1 of 14] Compiling Data.NonEmpty.Class ( src/Data/NonEmpty/Class.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/non-empty-0.3.5/noopt/build/Data/NonEmpty/Class.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/non-empty-0.3.5/noopt/build/Data/NonEmpty/Class.dyn_o ) src/Data/NonEmpty/Class.hs:14:26: warning: [-Wunused-imports] The import of Traversable from module Data.Traversable is redundant | 14 | import Data.Traversable (Traversable, mapAccumL, mapAccumR) | ^^^^^^^^^^^ [ 2 of 14] Compiling Data.Empty ( src/Data/Empty.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/non-empty-0.3.5/noopt/build/Data/Empty.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/non-empty-0.3.5/noopt/build/Data/Empty.dyn_o ) src/Data/Empty.hs:8:1: warning: [-Wunused-imports] The import of Control.Applicative is redundant except perhaps to import instances from Control.Applicative To import instances alone, use: import Control.Applicative() | 8 | import Control.Applicative (pure, ) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 3 of 14] Compiling Data.Append ( src/Data/Append.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/non-empty-0.3.5/noopt/build/Data/Append.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/non-empty-0.3.5/noopt/build/Data/Append.dyn_o ) src/Data/Append.hs:6:1: warning: [-Wunused-imports] The import of Data.Traversable is redundant except perhaps to import instances from Data.Traversable To import instances alone, use: import Data.Traversable() | 6 | import Data.Traversable (Traversable, traverse) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Data/Append.hs:7:1: warning: [-Wunused-imports] The import of Data.Foldable is redundant except perhaps to import instances from Data.Foldable To import instances alone, use: import Data.Foldable() | 7 | import Data.Foldable (Foldable, foldMap) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Data/Append.hs:8:1: warning: [-Wunused-imports] The import of Data.Monoid is redundant except perhaps to import instances from Data.Monoid To import instances alone, use: import Data.Monoid() | 8 | import Data.Monoid (mappend) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 4 of 14] Compiling Data.NonEmpty.Foldable ( src/Data/NonEmpty/Foldable.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/non-empty-0.3.5/noopt/build/Data/NonEmpty/Foldable.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/non-empty-0.3.5/noopt/build/Data/NonEmpty/Foldable.dyn_o ) src/Data/NonEmpty/Foldable.hs:4:1: warning: [-Wunused-imports] The import of Data.Foldable is redundant except perhaps to import instances from Data.Foldable To import instances alone, use: import Data.Foldable() | 4 | import Data.Foldable (Foldable, ) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 5 of 14] Compiling Data.NonEmpty.Match ( src/Data/NonEmpty/Match.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/non-empty-0.3.5/noopt/build/Data/NonEmpty/Match.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/non-empty-0.3.5/noopt/build/Data/NonEmpty/Match.dyn_o ) [ 6 of 14] Compiling Data.NonEmptyPrivate ( src/Data/NonEmptyPrivate.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/non-empty-0.3.5/noopt/build/Data/NonEmptyPrivate.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/non-empty-0.3.5/noopt/build/Data/NonEmptyPrivate.dyn_o ) src/Data/NonEmptyPrivate.hs:152:4: warning: [-Wnoncanonical-monad-instances] Noncanonical return definition detected in the instance declaration for Monad (T f). return will eventually be removed in favour of pure Either remove definition for return (recommended) or define as return = pure See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 152 | return = singleton | ^^^^^^^^^^^^^^^^^^ [ 7 of 14] Compiling Data.NonEmpty ( src/Data/NonEmpty.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/non-empty-0.3.5/noopt/build/Data/NonEmpty.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/non-empty-0.3.5/noopt/build/Data/NonEmpty.dyn_o ) [ 8 of 14] Compiling Data.NonEmpty.Set ( src/Data/NonEmpty/Set.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/non-empty-0.3.5/noopt/build/Data/NonEmpty/Set.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/non-empty-0.3.5/noopt/build/Data/NonEmpty/Set.dyn_o ) [ 9 of 14] Compiling Data.NonEmpty.Mixed ( src/Data/NonEmpty/Mixed.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/non-empty-0.3.5/noopt/build/Data/NonEmpty/Mixed.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/non-empty-0.3.5/noopt/build/Data/NonEmpty/Mixed.dyn_o ) src/Data/NonEmpty/Mixed.hs:16:1: warning: [-Wunused-imports] The import of Traversable, sequenceA from module Data.Traversable is redundant | 16 | import Data.Traversable (Traversable, mapAccumL, sequenceA, ) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Data/NonEmpty/Mixed.hs:17:23: warning: [-Wunused-imports] The import of Foldable from module Data.Foldable is redundant | 17 | import Data.Foldable (Foldable, foldr, ) | ^^^^^^^^ [10 of 14] Compiling Data.NonEmpty.Map ( src/Data/NonEmpty/Map.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/non-empty-0.3.5/noopt/build/Data/NonEmpty/Map.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/non-empty-0.3.5/noopt/build/Data/NonEmpty/Map.dyn_o ) src/Data/NonEmpty/Map.hs:41:1: warning: [-Wunused-imports] The import of Data.Traversable is redundant except perhaps to import instances from Data.Traversable To import instances alone, use: import Data.Traversable() | 41 | import Data.Traversable (Traversable, traverse, ) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Data/NonEmpty/Map.hs:42:1: warning: [-Wunused-imports] The import of Data.Foldable is redundant except perhaps to import instances from Data.Foldable To import instances alone, use: import Data.Foldable() | 42 | import Data.Foldable (Foldable, foldMap, ) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Data/NonEmpty/Map.hs:43:1: warning: [-Wunused-imports] The import of Data.Monoid is redundant except perhaps to import instances from Data.Monoid To import instances alone, use: import Data.Monoid() | 43 | import Data.Monoid (mappend, ) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [11 of 14] Compiling Data.FixedLengthList ( src/Data/FixedLengthList.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/non-empty-0.3.5/noopt/build/Data/FixedLengthList.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/non-empty-0.3.5/noopt/build/Data/FixedLengthList.dyn_o ) [12 of 14] Compiling Data.NonEmptyTest ( src/Data/NonEmptyTest.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/non-empty-0.3.5/noopt/build/Data/NonEmptyTest.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/non-empty-0.3.5/noopt/build/Data/NonEmptyTest.dyn_o ) [13 of 14] Compiling Data.Optional ( src/Data/Optional.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/non-empty-0.3.5/noopt/build/Data/Optional.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/non-empty-0.3.5/noopt/build/Data/Optional.dyn_o ) [14 of 14] Compiling Data.Zip ( src/Data/Zip.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/non-empty-0.3.5/noopt/build/Data/Zip.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/non-empty-0.3.5/noopt/build/Data/Zip.dyn_o ) src/Data/Zip.hs:6:1: warning: [-Wunused-imports] The import of Data.Traversable is redundant except perhaps to import instances from Data.Traversable To import instances alone, use: import Data.Traversable() | 6 | import Data.Traversable (Traversable, ) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Data/Zip.hs:7:1: warning: [-Wunused-imports] The import of Control.Applicative is redundant except perhaps to import instances from Control.Applicative To import instances alone, use: import Control.Applicative() | 7 | import Control.Applicative (Applicative, pure, (<*>), ) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Preprocessing test suite 'non-empty-test' for non-empty-0.3.5.. Building test suite 'non-empty-test' for non-empty-0.3.5.. [1 of 3] Compiling Test.Data.NonEmpty.Map ( test/Test/Data/NonEmpty/Map.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/non-empty-0.3.5/noopt/build/non-empty-test/non-empty-test-tmp/Test/Data/NonEmpty/Map.o ) src/Data/NonEmpty/Map.hs:63:41: warning: [-Wdeprecations] In the use of fromList (imported from Data.NonEmpty.Map): "Dangerous because it silently drops colliding key/value pairs. Better use fromListWith." | 63 | >>> forAllNonEmptyMap = QC.forAll (fmap NonEmptyMap.fromList QC.arbitrary) | ^^^^^^^^^^^^^^^^^^^^ src/Data/NonEmpty/Map.hs:180:78: warning: [-Wdeprecations] In the use of fromList (imported from Data.NonEmpty.Map): "Dangerous because it silently drops colliding key/value pairs. Better use fromListWith." | 180 | -- | prop> \xs -> Map.fromList (NonEmpty.flatten xs) == NonEmptyMap.flatten (NonEmptyMap.fromList (xs::NonEmpty.T [] (Int,Char))) | ^^^^^^^^^^^^^^^^^^^^ src/Data/NonEmpty/Map.hs:209:150: warning: [-Wdeprecations] In the use of union (imported from Data.NonEmpty.Map): "Dangerous because it silently drops colliding key/value pairs. Better use unionWith." | 209 | -- | prop> forAllNonEmptyMap $ \xs -> forAllNonEmptyMap $ \ys -> Map.union (NonEmptyMap.flatten xs) (NonEmptyMap.flatten ys) == NonEmptyMap.flatten (NonEmptyMap.union xs ys) | ^^^^^^^^^^^^^^^^^ src/Data/NonEmpty/Map.hs:221:120: warning: [-Wdeprecations] In the use of unionLeft (imported from Data.NonEmpty.Map): "Dangerous because it silently drops colliding key/value pairs. Better use unionLeftWith." | 221 | -- | prop> forAllMap $ \xm -> forAllNonEmptyMap $ \ym -> Map.union xm (NonEmptyMap.flatten ym) == NonEmptyMap.flatten (NonEmptyMap.unionLeft xm ym) | ^^^^^^^^^^^^^^^^^^^^^ src/Data/NonEmpty/Map.hs:226:120: warning: [-Wdeprecations] In the use of unionRight (imported from Data.NonEmpty.Map): "Dangerous because it silently drops colliding key/value pairs. Better use unionRightWith." | 226 | -- | prop> forAllNonEmptyMap $ \xm -> forAllMap $ \ym -> Map.union (NonEmptyMap.flatten xm) ym == NonEmptyMap.flatten (NonEmptyMap.unionRight xm ym) | ^^^^^^^^^^^^^^^^^^^^^^ [2 of 3] Compiling Test.Data.NonEmptyPrivate ( test/Test/Data/NonEmptyPrivate.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/non-empty-0.3.5/noopt/build/non-empty-test/non-empty-test-tmp/Test/Data/NonEmptyPrivate.o ) [3 of 3] Compiling Main ( test/Main.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/non-empty-0.3.5/noopt/build/non-empty-test/non-empty-test-tmp/Main.o ) Linking /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/non-empty-0.3.5/noopt/build/non-empty-test/non-empty-test ... Running 1 test suites... Test suite non-empty-test: RUNNING... Test suite non-empty-test: PASS Test suite logged to: /home/builder/builder-dir/build-cache/tmp-install/reports/non-empty-0.3.5.test Writing: non-empty-0.3.5-inplace/Data.NonEmpty.Set.hs.html Writing: non-empty-0.3.5-inplace/Data.Empty.hs.html Writing: non-empty-0.3.5-inplace/Data.NonEmpty.Map.hs.html Writing: non-empty-0.3.5-inplace/Data.NonEmpty.Class.hs.html Writing: hpc_index.html Writing: hpc_index_fun.html Writing: hpc_index_alt.html Writing: hpc_index_exp.html Test coverage report written to /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/non-empty-0.3.5/noopt/hpc/vanilla/html/non-empty-test/hpc_index.html 1 of 1 test suites (1 of 1 test cases) passed. Writing: non-empty-0.3.5-inplace/Data.NonEmpty.Set.hs.html Writing: non-empty-0.3.5-inplace/Data.Empty.hs.html Writing: non-empty-0.3.5-inplace/Data.NonEmpty.Map.hs.html Writing: non-empty-0.3.5-inplace/Data.NonEmpty.Class.hs.html Writing: hpc_index.html Writing: hpc_index_fun.html Writing: hpc_index_alt.html Writing: hpc_index_exp.html Package coverage report written to /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/non-empty-0.3.5/noopt/hpc/vanilla/html/non-empty-0.3.5/hpc_index.html