Running phase: setupCompilerEnvironmentPhase Build with /nix/store/6g9s6kw11maycdc6g5a66smakh2lwdga-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.QwWpntmbPg/setup-package.conf.d -threaded [1 of 2] Compiling Main ( Setup.lhs, /build/tmp.QwWpntmbPg/Main.o ) [2 of 2] Linking Setup Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase configureFlags: --verbose --prefix=/nix/store/n1y1k9syc4r47ipz7c8xhh2w176mmhkp-stringbuilder-0.5.1 --libdir=$prefix/lib/$compiler/lib --libsubdir=$abi/$libname --docdir=/nix/store/41rlgms9l3qswhd4pgvpp730zvcf2fv2-stringbuilder-0.5.1-doc/share/doc/stringbuilder-0.5.1 --with-gcc=gcc --package-db=/build/tmp.QwWpntmbPg/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/nmgkl5md2346myfn25sr08mywl1hbh84-ncurses-6.6/lib --extra-lib-dirs=/nix/store/iw22fkslpax5sd2pmrqqqj6kvx9hsxy2-libffi-3.8.0/lib --extra-lib-dirs=/nix/store/7sn2gdv1ichb62134k1vc8ghsdiqsz62-gmp-with-cxx-6.3.0/lib --extra-lib-dirs=/nix/store/2r9sd3srzkg334nyic95qmly0mjw37ch-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-CHmpgxqGxezLuPz7GJ0nUn include base-4.20.2.0-a5ec component stringbuilder-0.5.1-41dUtejPmf28SUpwhW7Xvp-spec include QuickCheck-2.15.0.1-DoCBkNsF8SpAVmhTpFuY6d include base-4.20.2.0-a5ec include hspec-2.11.17-InlkiWw4UC8FiUYsC30CYJ include stringbuilder-0.5.1-CHmpgxqGxezLuPz7GJ0nUn Linked component graph: unit stringbuilder-0.5.1-CHmpgxqGxezLuPz7GJ0nUn include base-4.20.2.0-a5ec Data.String.Builder=stringbuilder-0.5.1-CHmpgxqGxezLuPz7GJ0nUn:Data.String.Builder unit stringbuilder-0.5.1-41dUtejPmf28SUpwhW7Xvp-spec include QuickCheck-2.15.0.1-DoCBkNsF8SpAVmhTpFuY6d include base-4.20.2.0-a5ec include hspec-2.11.17-InlkiWw4UC8FiUYsC30CYJ include stringbuilder-0.5.1-CHmpgxqGxezLuPz7GJ0nUn Ready component graph: definite stringbuilder-0.5.1-CHmpgxqGxezLuPz7GJ0nUn depends base-4.20.2.0-a5ec definite stringbuilder-0.5.1-41dUtejPmf28SUpwhW7Xvp-spec depends QuickCheck-2.15.0.1-DoCBkNsF8SpAVmhTpFuY6d depends base-4.20.2.0-a5ec depends hspec-2.11.17-InlkiWw4UC8FiUYsC30CYJ depends stringbuilder-0.5.1-CHmpgxqGxezLuPz7GJ0nUn Using Cabal-3.12.1.0 compiled by ghc-9.10 Using compiler: ghc-9.10.3 Using install prefix: /nix/store/n1y1k9syc4r47ipz7c8xhh2w176mmhkp-stringbuilder-0.5.1 Executables installed in: /nix/store/n1y1k9syc4r47ipz7c8xhh2w176mmhkp-stringbuilder-0.5.1/bin Libraries installed in: /nix/store/n1y1k9syc4r47ipz7c8xhh2w176mmhkp-stringbuilder-0.5.1/lib/ghc-9.10.3/lib/aarch64-linux-ghc-9.10.3-eb55/stringbuilder-0.5.1-CHmpgxqGxezLuPz7GJ0nUn Dynamic Libraries installed in: /nix/store/n1y1k9syc4r47ipz7c8xhh2w176mmhkp-stringbuilder-0.5.1/lib/ghc-9.10.3/lib/aarch64-linux-ghc-9.10.3-eb55 Private executables installed in: /nix/store/n1y1k9syc4r47ipz7c8xhh2w176mmhkp-stringbuilder-0.5.1/libexec/aarch64-linux-ghc-9.10.3-eb55/stringbuilder-0.5.1 Data files installed in: /nix/store/n1y1k9syc4r47ipz7c8xhh2w176mmhkp-stringbuilder-0.5.1/share/aarch64-linux-ghc-9.10.3-eb55/stringbuilder-0.5.1 Documentation installed in: /nix/store/41rlgms9l3qswhd4pgvpp730zvcf2fv2-stringbuilder-0.5.1-doc/share/doc/stringbuilder-0.5.1 Configuration files installed in: /nix/store/n1y1k9syc4r47ipz7c8xhh2w176mmhkp-stringbuilder-0.5.1/etc No alex found Using ar found on system at: /nix/store/m1armxrx1nk768pislz3kzicq2mr4wck-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/1m3h2yhx00myw3yblflznibhdb2r6ipx-gcc-wrapper-15.3.0/bin/gcc Using ghc version 9.10.3 found on system at: /nix/store/6g9s6kw11maycdc6g5a66smakh2lwdga-ghc-9.10.3/bin/ghc Using ghc-pkg version 9.10.3 found on system at: /nix/store/6g9s6kw11maycdc6g5a66smakh2lwdga-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/6g9s6kw11maycdc6g5a66smakh2lwdga-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/6g9s6kw11maycdc6g5a66smakh2lwdga-ghc-9.10.3/bin/hpc-ghc-9.10.3 Using hsc2hs version 0.68.10 found on system at: /nix/store/6g9s6kw11maycdc6g5a66smakh2lwdga-ghc-9.10.3/bin/hsc2hs-ghc-9.10.3 Using hscolour version 1.25 found on system at: /nix/store/pzf13a3faar5znsn51jxl01l1qw7qjw1-hscolour-1.25/bin/HsColour No jhc found Using ld found on system at: /nix/store/1m3h2yhx00myw3yblflznibhdb2r6ipx-gcc-wrapper-15.3.0/bin/ld No pkg-config found Using runghc version 9.10.3 found on system at: /nix/store/6g9s6kw11maycdc6g5a66smakh2lwdga-ghc-9.10.3/bin/runghc-9.10.3 Using strip version 2.46 found on system at: /nix/store/1m3h2yhx00myw3yblflznibhdb2r6ipx-gcc-wrapper-15.3.0/bin/strip Using tar found on system at: /nix/store/2yldvksvc01sv7agz7vrczymm1ffcirx-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.0270 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/n1y1k9syc4r47ipz7c8xhh2w176mmhkp-stringbuilder-0.5.1/lib/ghc-9.10.3/lib/aarch64-linux-ghc-9.10.3-eb55/stringbuilder-0.5.1-CHmpgxqGxezLuPz7GJ0nUn Running phase: fixupPhase shrinking RPATHs of ELF executables and libraries in /nix/store/n1y1k9syc4r47ipz7c8xhh2w176mmhkp-stringbuilder-0.5.1 shrinking /nix/store/n1y1k9syc4r47ipz7c8xhh2w176mmhkp-stringbuilder-0.5.1/lib/ghc-9.10.3/lib/aarch64-linux-ghc-9.10.3-eb55/libHSstringbuilder-0.5.1-CHmpgxqGxezLuPz7GJ0nUn-ghc9.10.3.so checking for references to /build/ in /nix/store/n1y1k9syc4r47ipz7c8xhh2w176mmhkp-stringbuilder-0.5.1... patching script interpreter paths in /nix/store/n1y1k9syc4r47ipz7c8xhh2w176mmhkp-stringbuilder-0.5.1 stripping (with command strip and flags -S -p) in /nix/store/n1y1k9syc4r47ipz7c8xhh2w176mmhkp-stringbuilder-0.5.1/lib shrinking RPATHs of ELF executables and libraries in /nix/store/41rlgms9l3qswhd4pgvpp730zvcf2fv2-stringbuilder-0.5.1-doc checking for references to /build/ in /nix/store/41rlgms9l3qswhd4pgvpp730zvcf2fv2-stringbuilder-0.5.1-doc... patching script interpreter paths in /nix/store/41rlgms9l3qswhd4pgvpp730zvcf2fv2-stringbuilder-0.5.1-doc