Running phase: setupCompilerEnvironmentPhase Build with /nix/store/y48hvc1f09367cz5f03dcncv6n3lkf18-ghc-9.10.3. Running phase: unpackPhase unpacking source archive /nix/store/lrsybzgxpwfpfwjy5yq0rk7g3xcdb4js-dlist-1.0.tar.gz source root is dlist-1.0 setting SOURCE_DATE_EPOCH to timestamp 1000000000 of file "dlist-1.0/tests/QuickCheckUtil.hs" Running phase: patchPhase Replace Cabal file with edited version from mirror://hackage/dlist-1.0/revision/2.cabal. Running phase: compileBuildDriverPhase setupCompileFlags: -package-db=/build/tmp.5Q2oyu8eWA/setup-package.conf.d -threaded [1 of 2] Compiling Main ( Setup.lhs, /build/tmp.5Q2oyu8eWA/Main.o ) [2 of 2] Linking Setup Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase configureFlags: --verbose --prefix=/nix/store/bc1aw6plk11ml316adn3zyram9yqyfvr-dlist-1.0 --libdir=$prefix/lib/$compiler/lib --libsubdir=$abi/$libname --docdir=/nix/store/g4xjwgayx6gsn7gjvj2p38l46kf017bc-dlist-1.0-doc/share/doc/dlist-1.0 --with-gcc=gcc --package-db=/build/tmp.5Q2oyu8eWA/package.conf.d --ghc-option=-j16 --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/62qhvy2m2lpqj7ca39j9wvp2kkcxwdcg-ncurses-6.6/lib --extra-lib-dirs=/nix/store/rkfkkdgwz8y31hk76i4b9s59h5raya9n-libffi-3.5.2/lib --extra-lib-dirs=/nix/store/hkxx26hifhkm5xsfwk1khwi1bkal3i9k-elfutils-0.195/lib --extra-lib-dirs=/nix/store/sy8ark85hgjhhcr1ycgarf5w7ajw8jcc-gmp-with-cxx-6.3.0/lib --extra-lib-dirs=/nix/store/51bryd6zjk96w46s7g30azhbfrwhbh76-numactl-2.0.18/lib Using Parsec parser Configuring dlist-1.0... Flags chosen: werror=False Dependency base >=4 && <5: using base-4.20.2.0 Dependency deepseq >=1.1 && <1.6: using deepseq-1.5.0.0 Dependency QuickCheck >=2.10 && <3: using QuickCheck-2.15.0.1 Dependency base: using base-4.20.2.0 Dependency dlist: using dlist-1.0 Source component graph: component lib component test:test dependency lib Configured component graph: component dlist-1.0-YoZ3i0qHObF2PGh15YQXx include base-4.20.2.0-2363 include deepseq-1.5.0.0-f4ea component dlist-1.0-Gsgvdq1YWREBDbUr8AcMih-test include QuickCheck-2.15.0.1-3N2cq88qhTx9tzOlwUpVlF include base-4.20.2.0-2363 include dlist-1.0-YoZ3i0qHObF2PGh15YQXx Linked component graph: unit dlist-1.0-YoZ3i0qHObF2PGh15YQXx include base-4.20.2.0-2363 include deepseq-1.5.0.0-f4ea Data.DList=dlist-1.0-YoZ3i0qHObF2PGh15YQXx:Data.DList,Data.DList.DNonEmpty=dlist-1.0-YoZ3i0qHObF2PGh15YQXx:Data.DList.DNonEmpty,Data.DList.Unsafe=dlist-1.0-YoZ3i0qHObF2PGh15YQXx:Data.DList.Unsafe unit dlist-1.0-Gsgvdq1YWREBDbUr8AcMih-test include QuickCheck-2.15.0.1-3N2cq88qhTx9tzOlwUpVlF include base-4.20.2.0-2363 include dlist-1.0-YoZ3i0qHObF2PGh15YQXx Ready component graph: definite dlist-1.0-YoZ3i0qHObF2PGh15YQXx depends base-4.20.2.0-2363 depends deepseq-1.5.0.0-f4ea definite dlist-1.0-Gsgvdq1YWREBDbUr8AcMih-test depends QuickCheck-2.15.0.1-3N2cq88qhTx9tzOlwUpVlF depends base-4.20.2.0-2363 depends dlist-1.0-YoZ3i0qHObF2PGh15YQXx Using Cabal-3.12.1.0 compiled by ghc-9.10 Using compiler: ghc-9.10.3 Using install prefix: /nix/store/bc1aw6plk11ml316adn3zyram9yqyfvr-dlist-1.0 Executables installed in: /nix/store/bc1aw6plk11ml316adn3zyram9yqyfvr-dlist-1.0/bin Libraries installed in: /nix/store/bc1aw6plk11ml316adn3zyram9yqyfvr-dlist-1.0/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-ad9c/dlist-1.0-YoZ3i0qHObF2PGh15YQXx Dynamic Libraries installed in: /nix/store/bc1aw6plk11ml316adn3zyram9yqyfvr-dlist-1.0/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-ad9c Private executables installed in: /nix/store/bc1aw6plk11ml316adn3zyram9yqyfvr-dlist-1.0/libexec/x86_64-linux-ghc-9.10.3-ad9c/dlist-1.0 Data files installed in: /nix/store/bc1aw6plk11ml316adn3zyram9yqyfvr-dlist-1.0/share/x86_64-linux-ghc-9.10.3-ad9c/dlist-1.0 Documentation installed in: /nix/store/g4xjwgayx6gsn7gjvj2p38l46kf017bc-dlist-1.0-doc/share/doc/dlist-1.0 Configuration files installed in: /nix/store/bc1aw6plk11ml316adn3zyram9yqyfvr-dlist-1.0/etc No alex found Using ar found on system at: /nix/store/nhjmc8clp6igx6n6zrjxlh7zri78p7ng-binutils-wrapper-2.46/bin/ar No c2hs found No cpphs found No doctest found Using gcc version 15.2.0 given by user at: /nix/store/vdaz6sk455r8sbpi7wzaf9vlz5i9yyvx-gcc-wrapper-15.2.0/bin/gcc Using ghc version 9.10.3 found on system at: /nix/store/y48hvc1f09367cz5f03dcncv6n3lkf18-ghc-9.10.3/bin/ghc Using ghc-pkg version 9.10.3 found on system at: /nix/store/y48hvc1f09367cz5f03dcncv6n3lkf18-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/y48hvc1f09367cz5f03dcncv6n3lkf18-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/y48hvc1f09367cz5f03dcncv6n3lkf18-ghc-9.10.3/bin/hpc-ghc-9.10.3 Using hsc2hs version 0.68.10 found on system at: /nix/store/y48hvc1f09367cz5f03dcncv6n3lkf18-ghc-9.10.3/bin/hsc2hs-ghc-9.10.3 Using hscolour version 1.25 found on system at: /nix/store/7jmv3q39mz536pqn37cb6p25jd9hz5yi-hscolour-1.25/bin/HsColour No jhc found Using ld found on system at: /nix/store/vdaz6sk455r8sbpi7wzaf9vlz5i9yyvx-gcc-wrapper-15.2.0/bin/ld No pkg-config found Using runghc version 9.10.3 found on system at: /nix/store/y48hvc1f09367cz5f03dcncv6n3lkf18-ghc-9.10.3/bin/runghc-9.10.3 Using strip version 2.46 found on system at: /nix/store/vdaz6sk455r8sbpi7wzaf9vlz5i9yyvx-gcc-wrapper-15.2.0/bin/strip Using tar found on system at: /nix/store/fq62mc3s8ddxgk1nvlbzly2zmr7v2cax-gnutar-1.35/bin/tar No uhc found Running phase: buildPhase Preprocessing library for dlist-1.0... Building library for dlist-1.0... [1 of 5] Compiling Data.DList.Internal ( Data/DList/Internal.hs, dist/build/Data/DList/Internal.o, dist/build/Data/DList/Internal.dyn_o ) Data/DList/Internal.hs:642:12: warning: [GHC-58520] [-Wtype-equality-requires-operators] The use of ‘~’ without TypeOperators will become an error in a future GHC release. Suggested fix: Perhaps you intended to use TypeOperators | 642 | instance a ~ Char => IsString (DList a) where | ^ [2 of 5] Compiling Data.DList ( Data/DList.hs, dist/build/Data/DList.o, dist/build/Data/DList.dyn_o ) [3 of 5] Compiling Data.DList.DNonEmpty.Internal ( Data/DList/DNonEmpty/Internal.hs, dist/build/Data/DList/DNonEmpty/Internal.o, dist/build/Data/DList/DNonEmpty/Internal.dyn_o ) Data/DList/DNonEmpty/Internal.hs:459:12: warning: [GHC-58520] [-Wtype-equality-requires-operators] The use of ‘~’ without TypeOperators will become an error in a future GHC release. Suggested fix: Perhaps you intended to use TypeOperators | 459 | instance a ~ Char => IsString (DNonEmpty a) where | ^ [4 of 5] Compiling Data.DList.DNonEmpty ( Data/DList/DNonEmpty.hs, dist/build/Data/DList/DNonEmpty.o, dist/build/Data/DList/DNonEmpty.dyn_o ) [5 of 5] Compiling Data.DList.Unsafe ( Data/DList/Unsafe.hs, dist/build/Data/DList/Unsafe.o, dist/build/Data/DList/Unsafe.dyn_o ) [1 of 5] Compiling Data.DList.Internal ( Data/DList/Internal.hs, dist/build/Data/DList/Internal.p_o ) Data/DList/Internal.hs:642:12: warning: [GHC-58520] [-Wtype-equality-requires-operators] The use of ‘~’ without TypeOperators will become an error in a future GHC release. Suggested fix: Perhaps you intended to use TypeOperators | 642 | instance a ~ Char => IsString (DList a) where | ^ [2 of 5] Compiling Data.DList ( Data/DList.hs, dist/build/Data/DList.p_o ) [3 of 5] Compiling Data.DList.DNonEmpty.Internal ( Data/DList/DNonEmpty/Internal.hs, dist/build/Data/DList/DNonEmpty/Internal.p_o ) Data/DList/DNonEmpty/Internal.hs:459:12: warning: [GHC-58520] [-Wtype-equality-requires-operators] The use of ‘~’ without TypeOperators will become an error in a future GHC release. Suggested fix: Perhaps you intended to use TypeOperators | 459 | instance a ~ Char => IsString (DNonEmpty a) where | ^ [4 of 5] Compiling Data.DList.DNonEmpty ( Data/DList/DNonEmpty.hs, dist/build/Data/DList/DNonEmpty.p_o ) [5 of 5] Compiling Data.DList.Unsafe ( Data/DList/Unsafe.hs, dist/build/Data/DList/Unsafe.p_o ) Preprocessing test suite 'test' for dlist-1.0... Building test suite 'test' for dlist-1.0... [1 of 5] Compiling OverloadedStrings ( tests/OverloadedStrings.hs, dist/build/test/test-tmp/OverloadedStrings.o ) [2 of 5] Compiling QuickCheckUtil ( tests/QuickCheckUtil.hs, dist/build/test/test-tmp/QuickCheckUtil.o ) tests/QuickCheckUtil.hs:24:1: warning: [GHC-66111] [-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() | 24 | import Control.Applicative (liftA2) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [3 of 5] Compiling DNonEmptyProperties ( tests/DNonEmptyProperties.hs, dist/build/test/test-tmp/DNonEmptyProperties.o ) [4 of 5] Compiling DListProperties ( tests/DListProperties.hs, dist/build/test/test-tmp/DListProperties.o ) tests/DListProperties.hs:70:31: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Data.List, 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"." | 70 | prop_head = eqOn (not . null) List.head (head . fromList) | ^^^^^^^^^ tests/DListProperties.hs:73:31: warning: [GHC-63394] [-Wx-partial] In the use of ‘tail’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.Data.List.uncons' instead. Consider refactoring to use "Data.List.NonEmpty"." | 73 | prop_tail = eqOn (not . null) List.tail (tail . fromList) | ^^^^^^^^^ [5 of 5] Compiling Main ( tests/Main.hs, dist/build/test/test-tmp/Main.o ) [6 of 6] Linking dist/build/test/test Running phase: checkPhase Running 1 test suites... Test suite test: RUNNING... +++ OK, passed 100 tests; 102 discarded: 100% Semigroup stimes 100% Semigroup sconcat 100% Semigroup <> 100% patterns 100% IsList 100% Traversable traverse 100% show . read 100% read . show 100% intercalate 100% map fusion 100% map 100% foldr 100% unfoldr 100% fail 100% tail 100% head 100% replicate 100% concat 100% append 100% snoc 100% cons 100% singleton 100% empty 100% model *** Failed! Exception: 'Prelude.read: no parse' (after 1 test): 0 :| [] fromList "OverloadedStrings for DList: success" fromNonEmpty 'O' :| "verloadedStrings for DNonEmpty: success" Test suite test: PASS Test suite logged to: dist/test/dlist-1.0-test.log 1 of 1 test suites (1 of 1 test cases) passed. Running phase: haddockPhase Preprocessing library for dlist-1.0... Running Haddock on library for dlist-1.0... [1 of 5] Compiling Data.DList.Internal ( Data/DList/Internal.hs, nothing ) Data/DList/Internal.hs:642:12: warning: [GHC-58520] [-Wtype-equality-requires-operators] The use of ‘~’ without TypeOperators will become an error in a future GHC release. Suggested fix: Perhaps you intended to use TypeOperators | 642 | instance a ~ Char => IsString (DList a) where | ^ [2 of 5] Compiling Data.DList ( Data/DList.hs, nothing ) [3 of 5] Compiling Data.DList.DNonEmpty.Internal ( Data/DList/DNonEmpty/Internal.hs, nothing ) Data/DList/DNonEmpty/Internal.hs:459:12: warning: [GHC-58520] [-Wtype-equality-requires-operators] The use of ‘~’ without TypeOperators will become an error in a future GHC release. Suggested fix: Perhaps you intended to use TypeOperators | 459 | instance a ~ Char => IsString (DNonEmpty a) where | ^ [4 of 5] Compiling Data.DList.DNonEmpty ( Data/DList/DNonEmpty.hs, nothing ) [5 of 5] Compiling Data.DList.Unsafe ( Data/DList/Unsafe.hs, nothing ) Haddock coverage: 100% ( 21 / 21) in 'Data.DList' 100% ( 17 / 17) in 'Data.DList.DNonEmpty' Documentation created: dist/doc/html/dlist/, dist/doc/html/dlist/dlist.txt Preprocessing test suite 'test' for dlist-1.0... Running phase: installPhase Installing library in /nix/store/bc1aw6plk11ml316adn3zyram9yqyfvr-dlist-1.0/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-ad9c/dlist-1.0-YoZ3i0qHObF2PGh15YQXx Running phase: fixupPhase shrinking RPATHs of ELF executables and libraries in /nix/store/bc1aw6plk11ml316adn3zyram9yqyfvr-dlist-1.0 shrinking /nix/store/bc1aw6plk11ml316adn3zyram9yqyfvr-dlist-1.0/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-ad9c/libHSdlist-1.0-YoZ3i0qHObF2PGh15YQXx-ghc9.10.3.so checking for references to /build/ in /nix/store/bc1aw6plk11ml316adn3zyram9yqyfvr-dlist-1.0... patching script interpreter paths in /nix/store/bc1aw6plk11ml316adn3zyram9yqyfvr-dlist-1.0 stripping (with command strip and flags -S -p) in /nix/store/bc1aw6plk11ml316adn3zyram9yqyfvr-dlist-1.0/lib shrinking RPATHs of ELF executables and libraries in /nix/store/g4xjwgayx6gsn7gjvj2p38l46kf017bc-dlist-1.0-doc checking for references to /build/ in /nix/store/g4xjwgayx6gsn7gjvj2p38l46kf017bc-dlist-1.0-doc... patching script interpreter paths in /nix/store/g4xjwgayx6gsn7gjvj2p38l46kf017bc-dlist-1.0-doc