Running phase: setupCompilerEnvironmentPhase Build with /nix/store/y48hvc1f09367cz5f03dcncv6n3lkf18-ghc-9.10.3. Running phase: unpackPhase unpacking source archive /nix/store/9s62xakj6558lv4kginigg0j6gsvdva1-stringbuilder-0.5.1.tar.gz source root is stringbuilder-0.5.1 setting SOURCE_DATE_EPOCH to timestamp 1518112055 of file "stringbuilder-0.5.1/test/Spec.hs" Running phase: patchPhase Running phase: compileBuildDriverPhase setupCompileFlags: -package-db=/build/tmp.2h017KpgRf/setup-package.conf.d -threaded [1 of 2] Compiling Main ( Setup.lhs, /build/tmp.2h017KpgRf/Main.o ) [2 of 2] Linking Setup Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase configureFlags: --verbose --prefix=/nix/store/rfhlszhsyirbz7gmdkg7mfymrgnw2cmm-stringbuilder-0.5.1 --libdir=$prefix/lib/$compiler/lib --libsubdir=$abi/$libname --docdir=/nix/store/b75d0akvq0fkn0l46dhrhv571bvfd7m7-stringbuilder-0.5.1-doc/share/doc/stringbuilder-0.5.1 --with-gcc=gcc --package-db=/build/tmp.2h017KpgRf/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 stringbuilder-0.5.1... Dependency base >=4 && <5: using base-4.20.2.0 Dependency QuickCheck: using QuickCheck-2.15.0.1 Dependency base: using base-4.20.2.0 Dependency hspec >=1.3: using hspec-2.11.17 Dependency stringbuilder: using stringbuilder-0.5.1 Source component graph: component lib component test:spec dependency lib Configured component graph: component stringbuilder-0.5.1-6ALAzogWYSoBiRk95tCiHj include base-4.20.2.0-2363 component stringbuilder-0.5.1-6vBMaluEYUKDYuWEMVDGoA-spec include QuickCheck-2.15.0.1-3N2cq88qhTx9tzOlwUpVlF include base-4.20.2.0-2363 include hspec-2.11.17-6iNmiG4zHFq1m3LB2IOjCV include stringbuilder-0.5.1-6ALAzogWYSoBiRk95tCiHj Linked component graph: unit stringbuilder-0.5.1-6ALAzogWYSoBiRk95tCiHj include base-4.20.2.0-2363 Data.String.Builder=stringbuilder-0.5.1-6ALAzogWYSoBiRk95tCiHj:Data.String.Builder unit stringbuilder-0.5.1-6vBMaluEYUKDYuWEMVDGoA-spec include QuickCheck-2.15.0.1-3N2cq88qhTx9tzOlwUpVlF include base-4.20.2.0-2363 include hspec-2.11.17-6iNmiG4zHFq1m3LB2IOjCV include stringbuilder-0.5.1-6ALAzogWYSoBiRk95tCiHj Ready component graph: definite stringbuilder-0.5.1-6ALAzogWYSoBiRk95tCiHj depends base-4.20.2.0-2363 definite stringbuilder-0.5.1-6vBMaluEYUKDYuWEMVDGoA-spec depends QuickCheck-2.15.0.1-3N2cq88qhTx9tzOlwUpVlF depends base-4.20.2.0-2363 depends hspec-2.11.17-6iNmiG4zHFq1m3LB2IOjCV depends stringbuilder-0.5.1-6ALAzogWYSoBiRk95tCiHj Using Cabal-3.12.1.0 compiled by ghc-9.10 Using compiler: ghc-9.10.3 Using install prefix: /nix/store/rfhlszhsyirbz7gmdkg7mfymrgnw2cmm-stringbuilder-0.5.1 Executables installed in: /nix/store/rfhlszhsyirbz7gmdkg7mfymrgnw2cmm-stringbuilder-0.5.1/bin Libraries installed in: /nix/store/rfhlszhsyirbz7gmdkg7mfymrgnw2cmm-stringbuilder-0.5.1/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-ad9c/stringbuilder-0.5.1-6ALAzogWYSoBiRk95tCiHj Dynamic Libraries installed in: /nix/store/rfhlszhsyirbz7gmdkg7mfymrgnw2cmm-stringbuilder-0.5.1/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-ad9c Private executables installed in: /nix/store/rfhlszhsyirbz7gmdkg7mfymrgnw2cmm-stringbuilder-0.5.1/libexec/x86_64-linux-ghc-9.10.3-ad9c/stringbuilder-0.5.1 Data files installed in: /nix/store/rfhlszhsyirbz7gmdkg7mfymrgnw2cmm-stringbuilder-0.5.1/share/x86_64-linux-ghc-9.10.3-ad9c/stringbuilder-0.5.1 Documentation installed in: /nix/store/b75d0akvq0fkn0l46dhrhv571bvfd7m7-stringbuilder-0.5.1-doc/share/doc/stringbuilder-0.5.1 Configuration files installed in: /nix/store/rfhlszhsyirbz7gmdkg7mfymrgnw2cmm-stringbuilder-0.5.1/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 stringbuilder-0.5.1... Building library for stringbuilder-0.5.1... [1 of 1] Compiling Data.String.Builder ( src/Data/String/Builder.hs, dist/build/Data/String/Builder.o, dist/build/Data/String/Builder.dyn_o ) src/Data/String/Builder.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 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Data/String/Builder.hs:26:1: warning: [GHC-66111] [-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() | 26 | import Data.Monoid | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Data/String/Builder.hs:34:3: warning: [GHC-22705] [-Wnoncanonical-monad-instances] Noncanonical ‘pure = return’ definition detected in the instance declaration for ‘Applicative BuilderM’. Suggested fix: Move definition from ‘return’ to ‘pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 34 | pure = return | ^^^^^^^^^^^^^ src/Data/String/Builder.hs:38:3: warning: [GHC-22705] [-Wnoncanonical-monad-instances] Noncanonical ‘return’ definition detected in the instance declaration for ‘Monad BuilderM’. ‘return’ will eventually be removed in favour of ‘pure’ Suggested fix: 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 | 38 | return a = BuilderM a id | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Data/String/Builder.hs:57:13: 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 | 57 | instance (a ~ ()) => IsString (BuilderM a) where | ^ [1 of 1] Compiling Data.String.Builder ( src/Data/String/Builder.hs, dist/build/Data/String/Builder.p_o ) src/Data/String/Builder.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 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Data/String/Builder.hs:26:1: warning: [GHC-66111] [-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() | 26 | import Data.Monoid | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Data/String/Builder.hs:34:3: warning: [GHC-22705] [-Wnoncanonical-monad-instances] Noncanonical ‘pure = return’ definition detected in the instance declaration for ‘Applicative BuilderM’. Suggested fix: Move definition from ‘return’ to ‘pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 34 | pure = return | ^^^^^^^^^^^^^ src/Data/String/Builder.hs:38:3: warning: [GHC-22705] [-Wnoncanonical-monad-instances] Noncanonical ‘return’ definition detected in the instance declaration for ‘Monad BuilderM’. ‘return’ will eventually be removed in favour of ‘pure’ Suggested fix: 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 | 38 | return a = BuilderM a id | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Data/String/Builder.hs:57:13: 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 | 57 | instance (a ~ ()) => IsString (BuilderM a) where | ^ Preprocessing test suite 'spec' for stringbuilder-0.5.1... Building test suite 'spec' for stringbuilder-0.5.1... [1 of 1] Compiling Main ( test/Spec.hs, dist/build/spec/spec-tmp/Main.o ) [2 of 2] Linking dist/build/spec/spec Running phase: checkPhase Running 1 test suites... Test suite spec: RUNNING... build can be used to construct multi-line string literals in a monadic way [✔] works for arbitrary input [✔] +++ OK, passed 100 tests. Finished in 0.0285 seconds 2 examples, 0 failures Test suite spec: PASS Test suite logged to: dist/test/stringbuilder-0.5.1-spec.log 1 of 1 test suites (1 of 1 test cases) passed. Running phase: haddockPhase Preprocessing library for stringbuilder-0.5.1... Running Haddock on library for stringbuilder-0.5.1... [1 of 1] Compiling Data.String.Builder ( src/Data/String/Builder.hs, nothing ) src/Data/String/Builder.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 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Data/String/Builder.hs:26:1: warning: [GHC-66111] [-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() | 26 | import Data.Monoid | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Data/String/Builder.hs:34:3: warning: [GHC-22705] [-Wnoncanonical-monad-instances] Noncanonical ‘pure = return’ definition detected in the instance declaration for ‘Applicative BuilderM’. Suggested fix: Move definition from ‘return’ to ‘pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 34 | pure = return | ^^^^^^^^^^^^^ src/Data/String/Builder.hs:38:3: warning: [GHC-22705] [-Wnoncanonical-monad-instances] Noncanonical ‘return’ definition detected in the instance declaration for ‘Monad BuilderM’. ‘return’ will eventually be removed in favour of ‘pure’ Suggested fix: 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 | 38 | return a = BuilderM a id | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Data/String/Builder.hs:57:13: 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 | 57 | instance (a ~ ()) => IsString (BuilderM a) where | ^ Haddock coverage: 85% ( 6 / 7) in 'Data.String.Builder' Missing documentation for: Builder (src/Data/String/Builder.hs:42) Documentation created: dist/doc/html/stringbuilder/, dist/doc/html/stringbuilder/stringbuilder.txt Preprocessing test suite 'spec' for stringbuilder-0.5.1... Running phase: installPhase Installing library in /nix/store/rfhlszhsyirbz7gmdkg7mfymrgnw2cmm-stringbuilder-0.5.1/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-ad9c/stringbuilder-0.5.1-6ALAzogWYSoBiRk95tCiHj Running phase: fixupPhase shrinking RPATHs of ELF executables and libraries in /nix/store/rfhlszhsyirbz7gmdkg7mfymrgnw2cmm-stringbuilder-0.5.1 shrinking /nix/store/rfhlszhsyirbz7gmdkg7mfymrgnw2cmm-stringbuilder-0.5.1/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-ad9c/libHSstringbuilder-0.5.1-6ALAzogWYSoBiRk95tCiHj-ghc9.10.3.so checking for references to /build/ in /nix/store/rfhlszhsyirbz7gmdkg7mfymrgnw2cmm-stringbuilder-0.5.1... patching script interpreter paths in /nix/store/rfhlszhsyirbz7gmdkg7mfymrgnw2cmm-stringbuilder-0.5.1 stripping (with command strip and flags -S -p) in /nix/store/rfhlszhsyirbz7gmdkg7mfymrgnw2cmm-stringbuilder-0.5.1/lib shrinking RPATHs of ELF executables and libraries in /nix/store/b75d0akvq0fkn0l46dhrhv571bvfd7m7-stringbuilder-0.5.1-doc checking for references to /build/ in /nix/store/b75d0akvq0fkn0l46dhrhv571bvfd7m7-stringbuilder-0.5.1-doc... patching script interpreter paths in /nix/store/b75d0akvq0fkn0l46dhrhv571bvfd7m7-stringbuilder-0.5.1-doc