Running phase: setupCompilerEnvironmentPhase Build with /nix/store/wlaib8x4hv6rvh97ss3rsbmkclzy9qvg-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.LwHp26eVE8/setup-package.conf.d -threaded [1 of 2] Compiling Main ( Setup.lhs, /build/tmp.LwHp26eVE8/Main.o ) [2 of 2] Linking Setup Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase configureFlags: --verbose --prefix=/nix/store/9ayx60zihas805asn7nr40aah9mpk92r-stringbuilder-0.5.1 --libdir=$prefix/lib/$compiler/lib --libsubdir=$abi/$libname --docdir=/nix/store/kp39lnmfs4g6j16zal1yri5yvqya2g24-stringbuilder-0.5.1-doc/share/doc/stringbuilder-0.5.1 --with-gcc=gcc --package-db=/build/tmp.LwHp26eVE8/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/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-7fOZ8YymXT95ci5StWlJH include base-4.20.2.0-8d86 component stringbuilder-0.5.1-5VwZRHNZCOyI79f7qkKxW1-spec include QuickCheck-2.15.0.1-Xd7bbZqHOI8qpMYh6zgcK include base-4.20.2.0-8d86 include hspec-2.11.17-DvcwTBlhl2W8To0XfRI1Ww include stringbuilder-0.5.1-7fOZ8YymXT95ci5StWlJH Linked component graph: unit stringbuilder-0.5.1-7fOZ8YymXT95ci5StWlJH include base-4.20.2.0-8d86 Data.String.Builder=stringbuilder-0.5.1-7fOZ8YymXT95ci5StWlJH:Data.String.Builder unit stringbuilder-0.5.1-5VwZRHNZCOyI79f7qkKxW1-spec include QuickCheck-2.15.0.1-Xd7bbZqHOI8qpMYh6zgcK include base-4.20.2.0-8d86 include hspec-2.11.17-DvcwTBlhl2W8To0XfRI1Ww include stringbuilder-0.5.1-7fOZ8YymXT95ci5StWlJH Ready component graph: definite stringbuilder-0.5.1-7fOZ8YymXT95ci5StWlJH depends base-4.20.2.0-8d86 definite stringbuilder-0.5.1-5VwZRHNZCOyI79f7qkKxW1-spec depends QuickCheck-2.15.0.1-Xd7bbZqHOI8qpMYh6zgcK depends base-4.20.2.0-8d86 depends hspec-2.11.17-DvcwTBlhl2W8To0XfRI1Ww depends stringbuilder-0.5.1-7fOZ8YymXT95ci5StWlJH Using Cabal-3.12.1.0 compiled by ghc-9.10 Using compiler: ghc-9.10.3 Using install prefix: /nix/store/9ayx60zihas805asn7nr40aah9mpk92r-stringbuilder-0.5.1 Executables installed in: /nix/store/9ayx60zihas805asn7nr40aah9mpk92r-stringbuilder-0.5.1/bin Libraries installed in: /nix/store/9ayx60zihas805asn7nr40aah9mpk92r-stringbuilder-0.5.1/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-f6d0/stringbuilder-0.5.1-7fOZ8YymXT95ci5StWlJH Dynamic Libraries installed in: /nix/store/9ayx60zihas805asn7nr40aah9mpk92r-stringbuilder-0.5.1/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-f6d0 Private executables installed in: /nix/store/9ayx60zihas805asn7nr40aah9mpk92r-stringbuilder-0.5.1/libexec/x86_64-linux-ghc-9.10.3-f6d0/stringbuilder-0.5.1 Data files installed in: /nix/store/9ayx60zihas805asn7nr40aah9mpk92r-stringbuilder-0.5.1/share/x86_64-linux-ghc-9.10.3-f6d0/stringbuilder-0.5.1 Documentation installed in: /nix/store/kp39lnmfs4g6j16zal1yri5yvqya2g24-stringbuilder-0.5.1-doc/share/doc/stringbuilder-0.5.1 Configuration files installed in: /nix/store/9ayx60zihas805asn7nr40aah9mpk92r-stringbuilder-0.5.1/etc No alex found Using ar found on system at: /nix/store/c1a2l64csn5lrwjqqnaman6hdici70vq-binutils-wrapper-2.46/bin/ar No c2hs found No cpphs found No doctest found Using gcc version 15.3.0 given by user at: /nix/store/0592hadxldzhhd3ppc6nskslzd39fwlz-gcc-wrapper-15.3.0/bin/gcc Using ghc version 9.10.3 found on system at: /nix/store/wlaib8x4hv6rvh97ss3rsbmkclzy9qvg-ghc-9.10.3/bin/ghc Using ghc-pkg version 9.10.3 found on system at: /nix/store/wlaib8x4hv6rvh97ss3rsbmkclzy9qvg-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/wlaib8x4hv6rvh97ss3rsbmkclzy9qvg-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/wlaib8x4hv6rvh97ss3rsbmkclzy9qvg-ghc-9.10.3/bin/hpc-ghc-9.10.3 Using hsc2hs version 0.68.10 found on system at: /nix/store/wlaib8x4hv6rvh97ss3rsbmkclzy9qvg-ghc-9.10.3/bin/hsc2hs-ghc-9.10.3 Using hscolour version 1.25 found on system at: /nix/store/5vi248w6xh94a90bjhlw4ki4yb81lwdq-hscolour-1.25/bin/HsColour No jhc found Using ld found on system at: /nix/store/0592hadxldzhhd3ppc6nskslzd39fwlz-gcc-wrapper-15.3.0/bin/ld No pkg-config found Using runghc version 9.10.3 found on system at: /nix/store/wlaib8x4hv6rvh97ss3rsbmkclzy9qvg-ghc-9.10.3/bin/runghc-9.10.3 Using strip version 2.46 found on system at: /nix/store/0592hadxldzhhd3ppc6nskslzd39fwlz-gcc-wrapper-15.3.0/bin/strip Using tar found on system at: /nix/store/a25fa9pgpi0q5cc7mjab93d22gi38pd4-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.0118 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/9ayx60zihas805asn7nr40aah9mpk92r-stringbuilder-0.5.1/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-f6d0/stringbuilder-0.5.1-7fOZ8YymXT95ci5StWlJH Running phase: fixupPhase shrinking RPATHs of ELF executables and libraries in /nix/store/9ayx60zihas805asn7nr40aah9mpk92r-stringbuilder-0.5.1 shrinking /nix/store/9ayx60zihas805asn7nr40aah9mpk92r-stringbuilder-0.5.1/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-f6d0/libHSstringbuilder-0.5.1-7fOZ8YymXT95ci5StWlJH-ghc9.10.3.so checking for references to /build/ in /nix/store/9ayx60zihas805asn7nr40aah9mpk92r-stringbuilder-0.5.1... patching script interpreter paths in /nix/store/9ayx60zihas805asn7nr40aah9mpk92r-stringbuilder-0.5.1 stripping (with command strip and flags -S -p) in /nix/store/9ayx60zihas805asn7nr40aah9mpk92r-stringbuilder-0.5.1/lib shrinking RPATHs of ELF executables and libraries in /nix/store/kp39lnmfs4g6j16zal1yri5yvqya2g24-stringbuilder-0.5.1-doc checking for references to /build/ in /nix/store/kp39lnmfs4g6j16zal1yri5yvqya2g24-stringbuilder-0.5.1-doc... patching script interpreter paths in /nix/store/kp39lnmfs4g6j16zal1yri5yvqya2g24-stringbuilder-0.5.1-doc