Running phase: setupCompilerEnvironmentPhase Build with /nix/store/y48hvc1f09367cz5f03dcncv6n3lkf18-ghc-9.10.3. Running phase: unpackPhase unpacking source archive /nix/store/3sg257ihmgds0fz96bm2rsads0xnvwma-doctest-0.24.3.tar.gz source root is doctest-0.24.3 setting SOURCE_DATE_EPOCH to timestamp 1000000000 of file "doctest-0.24.3/test/UtilSpec.hs" Running phase: patchPhase Running phase: compileBuildDriverPhase setupCompileFlags: -package-db=/build/tmp.qpf5Ov7No8/setup-package.conf.d -threaded [1 of 2] Compiling Main ( Setup.lhs, /build/tmp.qpf5Ov7No8/Main.o ) [2 of 2] Linking Setup Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase configureFlags: --verbose --prefix=/nix/store/cr4i9vq8n4ka0lqk0hw6pix5pkn19l6v-doctest-0.24.3 --libdir=$prefix/lib/$compiler/lib --libsubdir=$abi/$libname --docdir=/nix/store/afsgha6b056bb0caxc6rfirp079d4ll6-doctest-0.24.3-doc/share/doc/doctest-0.24.3 --with-gcc=gcc --package-db=/build/tmp.qpf5Ov7No8/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 --extra-lib-dirs=/nix/store/y48hvc1f09367cz5f03dcncv6n3lkf18-ghc-9.10.3/lib Using Parsec parser Configuring doctest-0.24.3... Flags chosen: cabal-doctest=False Dependency base >=4.12 && <5: using base-4.20.2.0 Dependency code-page >=0.1: using code-page-0.2.1 Dependency containers: using containers-0.7 Dependency deepseq: using deepseq-1.5.0.0 Dependency directory: using directory-1.3.8.5 Dependency exceptions: using exceptions-0.10.9 Dependency filepath: using filepath-1.5.4.0 Dependency ghc >=8.6 && <9.16: using ghc-9.10.3 Dependency ghc-paths >=0.1.0.9: using ghc-paths-0.1.0.12 Dependency process: using process-1.6.26.1 Dependency syb >=0.3: using syb-0.7.2.4 Dependency temporary: using temporary-1.3 Dependency transformers: using transformers-0.6.1.1 Dependency base >=4.12 && <5: using base-4.20.2.0 Dependency doctest: using doctest-0.24.3 Dependency HUnit: using HUnit-1.6.2.0 Dependency QuickCheck >=2.13.1: using QuickCheck-2.15.0.1 Dependency base >=4.12 && <5: using base-4.20.2.0 Dependency code-page >=0.1: using code-page-0.2.1 Dependency containers: using containers-0.7 Dependency deepseq: using deepseq-1.5.0.0 Dependency directory: using directory-1.3.8.5 Dependency exceptions: using exceptions-0.10.9 Dependency filepath: using filepath-1.5.4.0 Dependency ghc >=8.6 && <9.16: using ghc-9.10.3 Dependency ghc-paths >=0.1.0.9: using ghc-paths-0.1.0.12 Dependency hspec >=2.3.0: using hspec-2.11.17 Dependency hspec-core >=2.3.0: using hspec-core-2.11.17 Dependency mockery: using mockery-0.3.5 Dependency process: using process-1.6.26.1 Dependency silently >=1.2.4: using silently-1.2.5.4 Dependency stringbuilder >=0.4: using stringbuilder-0.5.1 Dependency syb >=0.3: using syb-0.7.2.4 Dependency temporary: using temporary-1.3 Dependency transformers: using transformers-0.6.1.1 Source component graph: component test:spec component lib component exe:doctest dependency lib Configured component graph: component doctest-0.24.3-GzIU9RNicl52mICW0oEJ5S-spec include HUnit-1.6.2.0-BKnWFNsnki88ha9xtEIXwV include QuickCheck-2.15.0.1-3N2cq88qhTx9tzOlwUpVlF include base-4.20.2.0-2363 include code-page-0.2.1-DulhJFnVmzeJSd3zRVMLcb include containers-0.7-5389 include deepseq-1.5.0.0-f4ea include directory-1.3.8.5-e40b include exceptions-0.10.9-507c include filepath-1.5.4.0-fddf include ghc-9.10.3-ad9c include ghc-paths-0.1.0.12-5ulnoiOUKnq2JTyOFqGxu2 include hspec-2.11.17-6iNmiG4zHFq1m3LB2IOjCV include hspec-core-2.11.17-DQBV2kjvbDGJSeauuFeifN include mockery-0.3.5-G18ezcT2O20CkWIDjtxgBv include process-1.6.26.1-e738 include silently-1.2.5.4-Ke4vr4qPudjDv4Mjs3Ma4I include stringbuilder-0.5.1-6ALAzogWYSoBiRk95tCiHj include syb-0.7.2.4-iRK1xiT7Sy1Ze3SylKoOi include temporary-1.3-6nYgbjU3h9kFAlukCACV0Y include transformers-0.6.1.1-4795 component doctest-0.24.3-9DQKZT9yksP6bEkQScmcXe include base-4.20.2.0-2363 include code-page-0.2.1-DulhJFnVmzeJSd3zRVMLcb include containers-0.7-5389 include deepseq-1.5.0.0-f4ea include directory-1.3.8.5-e40b include exceptions-0.10.9-507c include filepath-1.5.4.0-fddf include ghc-9.10.3-ad9c include ghc-paths-0.1.0.12-5ulnoiOUKnq2JTyOFqGxu2 include process-1.6.26.1-e738 include syb-0.7.2.4-iRK1xiT7Sy1Ze3SylKoOi include temporary-1.3-6nYgbjU3h9kFAlukCACV0Y include transformers-0.6.1.1-4795 component doctest-0.24.3-132VZgIcxVC5Sm6VIJWWrO-doctest include base-4.20.2.0-2363 include doctest-0.24.3-9DQKZT9yksP6bEkQScmcXe Linked component graph: unit doctest-0.24.3-GzIU9RNicl52mICW0oEJ5S-spec include HUnit-1.6.2.0-BKnWFNsnki88ha9xtEIXwV include QuickCheck-2.15.0.1-3N2cq88qhTx9tzOlwUpVlF include base-4.20.2.0-2363 include code-page-0.2.1-DulhJFnVmzeJSd3zRVMLcb include containers-0.7-5389 include deepseq-1.5.0.0-f4ea include directory-1.3.8.5-e40b include exceptions-0.10.9-507c include filepath-1.5.4.0-fddf include ghc-9.10.3-ad9c include ghc-paths-0.1.0.12-5ulnoiOUKnq2JTyOFqGxu2 include hspec-2.11.17-6iNmiG4zHFq1m3LB2IOjCV include hspec-core-2.11.17-DQBV2kjvbDGJSeauuFeifN include mockery-0.3.5-G18ezcT2O20CkWIDjtxgBv include process-1.6.26.1-e738 include silently-1.2.5.4-Ke4vr4qPudjDv4Mjs3Ma4I include stringbuilder-0.5.1-6ALAzogWYSoBiRk95tCiHj include syb-0.7.2.4-iRK1xiT7Sy1Ze3SylKoOi include temporary-1.3-6nYgbjU3h9kFAlukCACV0Y include transformers-0.6.1.1-4795 unit doctest-0.24.3-9DQKZT9yksP6bEkQScmcXe include base-4.20.2.0-2363 include code-page-0.2.1-DulhJFnVmzeJSd3zRVMLcb include containers-0.7-5389 include deepseq-1.5.0.0-f4ea include directory-1.3.8.5-e40b include exceptions-0.10.9-507c include filepath-1.5.4.0-fddf include ghc-9.10.3-ad9c include ghc-paths-0.1.0.12-5ulnoiOUKnq2JTyOFqGxu2 include process-1.6.26.1-e738 include syb-0.7.2.4-iRK1xiT7Sy1Ze3SylKoOi include temporary-1.3-6nYgbjU3h9kFAlukCACV0Y include transformers-0.6.1.1-4795 Test.DocTest=doctest-0.24.3-9DQKZT9yksP6bEkQScmcXe:Test.DocTest,Test.DocTest.Internal.Cabal=doctest-0.24.3-9DQKZT9yksP6bEkQScmcXe:Test.DocTest.Internal.Cabal,Test.DocTest.Internal.Extract=doctest-0.24.3-9DQKZT9yksP6bEkQScmcXe:Test.DocTest.Internal.Extract,Test.DocTest.Internal.Location=doctest-0.24.3-9DQKZT9yksP6bEkQScmcXe:Test.DocTest.Internal.Location,Test.DocTest.Internal.Parse=doctest-0.24.3-9DQKZT9yksP6bEkQScmcXe:Test.DocTest.Internal.Parse,Test.DocTest.Internal.Run=doctest-0.24.3-9DQKZT9yksP6bEkQScmcXe:Test.DocTest.Internal.Run unit doctest-0.24.3-132VZgIcxVC5Sm6VIJWWrO-doctest include base-4.20.2.0-2363 include doctest-0.24.3-9DQKZT9yksP6bEkQScmcXe Ready component graph: definite doctest-0.24.3-GzIU9RNicl52mICW0oEJ5S-spec depends HUnit-1.6.2.0-BKnWFNsnki88ha9xtEIXwV depends QuickCheck-2.15.0.1-3N2cq88qhTx9tzOlwUpVlF depends base-4.20.2.0-2363 depends code-page-0.2.1-DulhJFnVmzeJSd3zRVMLcb depends containers-0.7-5389 depends deepseq-1.5.0.0-f4ea depends directory-1.3.8.5-e40b depends exceptions-0.10.9-507c depends filepath-1.5.4.0-fddf depends ghc-9.10.3-ad9c depends ghc-paths-0.1.0.12-5ulnoiOUKnq2JTyOFqGxu2 depends hspec-2.11.17-6iNmiG4zHFq1m3LB2IOjCV depends hspec-core-2.11.17-DQBV2kjvbDGJSeauuFeifN depends mockery-0.3.5-G18ezcT2O20CkWIDjtxgBv depends process-1.6.26.1-e738 depends silently-1.2.5.4-Ke4vr4qPudjDv4Mjs3Ma4I depends stringbuilder-0.5.1-6ALAzogWYSoBiRk95tCiHj depends syb-0.7.2.4-iRK1xiT7Sy1Ze3SylKoOi depends temporary-1.3-6nYgbjU3h9kFAlukCACV0Y depends transformers-0.6.1.1-4795 definite doctest-0.24.3-9DQKZT9yksP6bEkQScmcXe depends base-4.20.2.0-2363 depends code-page-0.2.1-DulhJFnVmzeJSd3zRVMLcb depends containers-0.7-5389 depends deepseq-1.5.0.0-f4ea depends directory-1.3.8.5-e40b depends exceptions-0.10.9-507c depends filepath-1.5.4.0-fddf depends ghc-9.10.3-ad9c depends ghc-paths-0.1.0.12-5ulnoiOUKnq2JTyOFqGxu2 depends process-1.6.26.1-e738 depends syb-0.7.2.4-iRK1xiT7Sy1Ze3SylKoOi depends temporary-1.3-6nYgbjU3h9kFAlukCACV0Y depends transformers-0.6.1.1-4795 definite doctest-0.24.3-132VZgIcxVC5Sm6VIJWWrO-doctest depends base-4.20.2.0-2363 depends doctest-0.24.3-9DQKZT9yksP6bEkQScmcXe Using Cabal-3.12.1.0 compiled by ghc-9.10 Using compiler: ghc-9.10.3 Using install prefix: /nix/store/cr4i9vq8n4ka0lqk0hw6pix5pkn19l6v-doctest-0.24.3 Executables installed in: /nix/store/cr4i9vq8n4ka0lqk0hw6pix5pkn19l6v-doctest-0.24.3/bin Libraries installed in: /nix/store/cr4i9vq8n4ka0lqk0hw6pix5pkn19l6v-doctest-0.24.3/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-ad9c/doctest-0.24.3-9DQKZT9yksP6bEkQScmcXe Dynamic Libraries installed in: /nix/store/cr4i9vq8n4ka0lqk0hw6pix5pkn19l6v-doctest-0.24.3/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-ad9c Private executables installed in: /nix/store/cr4i9vq8n4ka0lqk0hw6pix5pkn19l6v-doctest-0.24.3/libexec/x86_64-linux-ghc-9.10.3-ad9c/doctest-0.24.3 Data files installed in: /nix/store/cr4i9vq8n4ka0lqk0hw6pix5pkn19l6v-doctest-0.24.3/share/x86_64-linux-ghc-9.10.3-ad9c/doctest-0.24.3 Documentation installed in: /nix/store/afsgha6b056bb0caxc6rfirp079d4ll6-doctest-0.24.3-doc/share/doc/doctest-0.24.3 Configuration files installed in: /nix/store/cr4i9vq8n4ka0lqk0hw6pix5pkn19l6v-doctest-0.24.3/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 test suite 'spec' for doctest-0.24.3... Building test suite 'spec' for doctest-0.24.3... [ 1 of 44] Compiling Imports ( src/Imports.hs, dist/build/spec/spec-tmp/Imports.o ) [ 2 of 44] Compiling GhcUtil ( src/GhcUtil.hs, dist/build/spec/spec-tmp/GhcUtil.o ) [ 3 of 44] Compiling Cabal.ReplOptions ( src/Cabal/ReplOptions.hs, dist/build/spec/spec-tmp/Cabal/ReplOptions.o ) [ 4 of 44] Compiling Cabal.ReplOptionsSpec ( test/Cabal/ReplOptionsSpec.hs, dist/build/spec/spec-tmp/Cabal/ReplOptionsSpec.o ) [ 5 of 44] Compiling Cabal.Paths ( src/Cabal/Paths.hs, dist/build/spec/spec-tmp/Cabal/Paths.o ) [ 6 of 44] Compiling Cabal.Options ( src/Cabal/Options.hs, dist/build/spec/spec-tmp/Cabal/Options.o ) [ 7 of 44] Compiling Cabal.OptionsSpec ( test/Cabal/OptionsSpec.hs, dist/build/spec/spec-tmp/Cabal/OptionsSpec.o ) [ 8 of 44] Compiling Language.Haskell.GhciWrapper ( src/Language/Haskell/GhciWrapper.hs, dist/build/spec/spec-tmp/Language/Haskell/GhciWrapper.o ) [ 9 of 44] Compiling Interpreter ( src/Interpreter.hs, dist/build/spec/spec-tmp/Interpreter.o ) [10 of 44] Compiling InterpreterSpec ( test/InterpreterSpec.hs, dist/build/spec/spec-tmp/InterpreterSpec.o ) [11 of 44] Compiling Info ( src/Info.hs, dist/build/spec/spec-tmp/Info.o ) [12 of 44] Compiling InfoSpec ( test/InfoSpec.hs, dist/build/spec/spec-tmp/InfoSpec.o ) [13 of 44] Compiling Cabal ( src/Cabal.hs, dist/build/spec/spec-tmp/Cabal.o ) [14 of 44] Compiling Cabal.PathsSpec ( test/Cabal/PathsSpec.hs, dist/build/spec/spec-tmp/Cabal/PathsSpec.o ) [15 of 44] Compiling Language.Haskell.GhciWrapperSpec ( test/Language/Haskell/GhciWrapperSpec.hs, dist/build/spec/spec-tmp/Language/Haskell/GhciWrapperSpec.o ) [16 of 44] Compiling Location ( src/Location.hs, dist/build/spec/spec-tmp/Location.o ) [17 of 44] Compiling LocationSpec ( test/LocationSpec.hs, dist/build/spec/spec-tmp/LocationSpec.o ) [18 of 44] Compiling Options ( src/Options.hs, dist/build/spec/spec-tmp/Options.o ) [19 of 44] Compiling OptionsSpec ( test/OptionsSpec.hs, dist/build/spec/spec-tmp/OptionsSpec.o ) [20 of 44] Compiling PackageDBs ( src/PackageDBs.hs, dist/build/spec/spec-tmp/PackageDBs.o ) [21 of 44] Compiling PackageDBsSpec ( test/PackageDBsSpec.hs, dist/build/spec/spec-tmp/PackageDBsSpec.o ) [22 of 44] Compiling Paths_doctest ( dist/build/spec/autogen/Paths_doctest.hs, dist/build/spec/spec-tmp/Paths_doctest.o ) [23 of 44] Compiling Test.DocTest.Internal.Cabal ( src/Test/DocTest/Internal/Cabal.hs, dist/build/spec/spec-tmp/Test/DocTest/Internal/Cabal.o ) [24 of 44] Compiling Test.DocTest.Internal.Location ( src/Test/DocTest/Internal/Location.hs, dist/build/spec/spec-tmp/Test/DocTest/Internal/Location.o ) [25 of 44] Compiling Util ( src/Util.hs, dist/build/spec/spec-tmp/Util.o ) [26 of 44] Compiling Extract ( src/Extract.hs, dist/build/spec/spec-tmp/Extract.o ) [27 of 44] Compiling Test.DocTest.Internal.Extract ( src/Test/DocTest/Internal/Extract.hs, dist/build/spec/spec-tmp/Test/DocTest/Internal/Extract.o ) [28 of 44] Compiling Parse ( src/Parse.hs, dist/build/spec/spec-tmp/Parse.o ) [29 of 44] Compiling Test.DocTest.Internal.Parse ( src/Test/DocTest/Internal/Parse.hs, dist/build/spec/spec-tmp/Test/DocTest/Internal/Parse.o ) [30 of 44] Compiling Runner.Example ( src/Runner/Example.hs, dist/build/spec/spec-tmp/Runner/Example.o ) [31 of 44] Compiling Runner.ExampleSpec ( test/Runner/ExampleSpec.hs, dist/build/spec/spec-tmp/Runner/ExampleSpec.o ) [32 of 44] Compiling Property ( src/Property.hs, dist/build/spec/spec-tmp/Property.o ) [33 of 44] Compiling Runner ( src/Runner.hs, dist/build/spec/spec-tmp/Runner.o ) [34 of 44] Compiling RunnerSpec ( test/RunnerSpec.hs, dist/build/spec/spec-tmp/RunnerSpec.o ) [35 of 44] Compiling Run ( src/Run.hs, dist/build/spec/spec-tmp/Run.o ) [36 of 44] Compiling Test.DocTest.Internal.Run ( src/Test/DocTest/Internal/Run.hs, dist/build/spec/spec-tmp/Test/DocTest/Internal/Run.o ) [37 of 44] Compiling Test.DocTest ( src/Test/DocTest.hs, dist/build/spec/spec-tmp/Test/DocTest.o ) [38 of 44] Compiling RunSpec ( test/RunSpec.hs, dist/build/spec/spec-tmp/RunSpec.o ) [39 of 44] Compiling MainSpec ( test/MainSpec.hs, dist/build/spec/spec-tmp/MainSpec.o ) [40 of 44] Compiling PropertySpec ( test/PropertySpec.hs, dist/build/spec/spec-tmp/PropertySpec.o ) [41 of 44] Compiling ParseSpec ( test/ParseSpec.hs, dist/build/spec/spec-tmp/ParseSpec.o ) [42 of 44] Compiling ExtractSpec ( test/ExtractSpec.hs, dist/build/spec/spec-tmp/ExtractSpec.o ) [43 of 44] Compiling UtilSpec ( test/UtilSpec.hs, dist/build/spec/spec-tmp/UtilSpec.o ) [44 of 44] Compiling Main ( test/Spec.hs, dist/build/spec/spec-tmp/Main.o ) [45 of 45] Linking dist/build/spec/spec Preprocessing library for doctest-0.24.3... Building library for doctest-0.24.3... [ 1 of 26] Compiling Imports ( src/Imports.hs, dist/build/Imports.o, dist/build/Imports.dyn_o ) [ 2 of 26] Compiling GhcUtil ( src/GhcUtil.hs, dist/build/GhcUtil.o, dist/build/GhcUtil.dyn_o ) [ 3 of 26] Compiling Cabal.ReplOptions ( src/Cabal/ReplOptions.hs, dist/build/Cabal/ReplOptions.o, dist/build/Cabal/ReplOptions.dyn_o ) [ 4 of 26] Compiling Cabal.Paths ( src/Cabal/Paths.hs, dist/build/Cabal/Paths.o, dist/build/Cabal/Paths.dyn_o ) [ 5 of 26] Compiling Cabal.Options ( src/Cabal/Options.hs, dist/build/Cabal/Options.o, dist/build/Cabal/Options.dyn_o ) [ 6 of 26] Compiling Language.Haskell.GhciWrapper ( src/Language/Haskell/GhciWrapper.hs, dist/build/Language/Haskell/GhciWrapper.o, dist/build/Language/Haskell/GhciWrapper.dyn_o ) [ 7 of 26] Compiling Interpreter ( src/Interpreter.hs, dist/build/Interpreter.o, dist/build/Interpreter.dyn_o ) [ 8 of 26] Compiling Location ( src/Location.hs, dist/build/Location.o, dist/build/Location.dyn_o ) [ 9 of 26] Compiling PackageDBs ( src/PackageDBs.hs, dist/build/PackageDBs.o, dist/build/PackageDBs.dyn_o ) [10 of 26] Compiling Paths_doctest ( dist/build/autogen/Paths_doctest.hs, dist/build/Paths_doctest.o, dist/build/Paths_doctest.dyn_o ) [11 of 26] Compiling Info ( src/Info.hs, dist/build/Info.o, dist/build/Info.dyn_o ) [12 of 26] Compiling Options ( src/Options.hs, dist/build/Options.o, dist/build/Options.dyn_o ) [13 of 26] Compiling Cabal ( src/Cabal.hs, dist/build/Cabal.o, dist/build/Cabal.dyn_o ) [14 of 26] Compiling Test.DocTest.Internal.Cabal ( src/Test/DocTest/Internal/Cabal.hs, dist/build/Test/DocTest/Internal/Cabal.o, dist/build/Test/DocTest/Internal/Cabal.dyn_o ) [15 of 26] Compiling Test.DocTest.Internal.Location ( src/Test/DocTest/Internal/Location.hs, dist/build/Test/DocTest/Internal/Location.o, dist/build/Test/DocTest/Internal/Location.dyn_o ) [16 of 26] Compiling Util ( src/Util.hs, dist/build/Util.o, dist/build/Util.dyn_o ) [17 of 26] Compiling Extract ( src/Extract.hs, dist/build/Extract.o, dist/build/Extract.dyn_o ) [18 of 26] Compiling Test.DocTest.Internal.Extract ( src/Test/DocTest/Internal/Extract.hs, dist/build/Test/DocTest/Internal/Extract.o, dist/build/Test/DocTest/Internal/Extract.dyn_o ) [19 of 26] Compiling Parse ( src/Parse.hs, dist/build/Parse.o, dist/build/Parse.dyn_o ) [20 of 26] Compiling Test.DocTest.Internal.Parse ( src/Test/DocTest/Internal/Parse.hs, dist/build/Test/DocTest/Internal/Parse.o, dist/build/Test/DocTest/Internal/Parse.dyn_o ) [21 of 26] Compiling Runner.Example ( src/Runner/Example.hs, dist/build/Runner/Example.o, dist/build/Runner/Example.dyn_o ) [22 of 26] Compiling Property ( src/Property.hs, dist/build/Property.o, dist/build/Property.dyn_o ) [23 of 26] Compiling Runner ( src/Runner.hs, dist/build/Runner.o, dist/build/Runner.dyn_o ) [24 of 26] Compiling Run ( src/Run.hs, dist/build/Run.o, dist/build/Run.dyn_o ) [25 of 26] Compiling Test.DocTest.Internal.Run ( src/Test/DocTest/Internal/Run.hs, dist/build/Test/DocTest/Internal/Run.o, dist/build/Test/DocTest/Internal/Run.dyn_o ) [26 of 26] Compiling Test.DocTest ( src/Test/DocTest.hs, dist/build/Test/DocTest.o, dist/build/Test/DocTest.dyn_o ) [ 1 of 26] Compiling Imports ( src/Imports.hs, dist/build/Imports.p_o ) [ 2 of 26] Compiling GhcUtil ( src/GhcUtil.hs, dist/build/GhcUtil.p_o ) [ 3 of 26] Compiling Cabal.ReplOptions ( src/Cabal/ReplOptions.hs, dist/build/Cabal/ReplOptions.p_o ) [ 4 of 26] Compiling Cabal.Paths ( src/Cabal/Paths.hs, dist/build/Cabal/Paths.p_o ) [ 5 of 26] Compiling Cabal.Options ( src/Cabal/Options.hs, dist/build/Cabal/Options.p_o ) [ 6 of 26] Compiling Language.Haskell.GhciWrapper ( src/Language/Haskell/GhciWrapper.hs, dist/build/Language/Haskell/GhciWrapper.p_o ) [ 7 of 26] Compiling Interpreter ( src/Interpreter.hs, dist/build/Interpreter.p_o ) [ 8 of 26] Compiling Location ( src/Location.hs, dist/build/Location.p_o ) [ 9 of 26] Compiling PackageDBs ( src/PackageDBs.hs, dist/build/PackageDBs.p_o ) [10 of 26] Compiling Paths_doctest ( dist/build/autogen/Paths_doctest.hs, dist/build/Paths_doctest.p_o ) [11 of 26] Compiling Info ( src/Info.hs, dist/build/Info.p_o ) [12 of 26] Compiling Options ( src/Options.hs, dist/build/Options.p_o ) [13 of 26] Compiling Cabal ( src/Cabal.hs, dist/build/Cabal.p_o ) [14 of 26] Compiling Test.DocTest.Internal.Cabal ( src/Test/DocTest/Internal/Cabal.hs, dist/build/Test/DocTest/Internal/Cabal.p_o ) [15 of 26] Compiling Test.DocTest.Internal.Location ( src/Test/DocTest/Internal/Location.hs, dist/build/Test/DocTest/Internal/Location.p_o ) [16 of 26] Compiling Util ( src/Util.hs, dist/build/Util.p_o ) [17 of 26] Compiling Extract ( src/Extract.hs, dist/build/Extract.p_o ) [18 of 26] Compiling Test.DocTest.Internal.Extract ( src/Test/DocTest/Internal/Extract.hs, dist/build/Test/DocTest/Internal/Extract.p_o ) [19 of 26] Compiling Parse ( src/Parse.hs, dist/build/Parse.p_o ) [20 of 26] Compiling Test.DocTest.Internal.Parse ( src/Test/DocTest/Internal/Parse.hs, dist/build/Test/DocTest/Internal/Parse.p_o ) [21 of 26] Compiling Runner.Example ( src/Runner/Example.hs, dist/build/Runner/Example.p_o ) [22 of 26] Compiling Property ( src/Property.hs, dist/build/Property.p_o ) [23 of 26] Compiling Runner ( src/Runner.hs, dist/build/Runner.p_o ) [24 of 26] Compiling Run ( src/Run.hs, dist/build/Run.p_o ) [25 of 26] Compiling Test.DocTest.Internal.Run ( src/Test/DocTest/Internal/Run.hs, dist/build/Test/DocTest/Internal/Run.p_o ) [26 of 26] Compiling Test.DocTest ( src/Test/DocTest.hs, dist/build/Test/DocTest.p_o ) Preprocessing executable 'doctest' for doctest-0.24.3... Building executable 'doctest' for doctest-0.24.3... [1 of 2] Compiling Main ( driver/doctest.hs, dist/build/doctest/doctest-tmp/Main.o ) [2 of 2] Compiling Paths_doctest ( dist/build/doctest/autogen/Paths_doctest.hs, dist/build/doctest/doctest-tmp/Paths_doctest.o ) [3 of 3] Linking dist/build/doctest/doctest Running phase: checkPhase Running 1 test suites... Test suite spec: RUNNING... Extract extract extracts documentation for a top-level declaration [✔] extracts documentation from argument list [✔] extracts documentation for a type class function [✔] extracts documentation from the argument list of a type class function [✔] extracts documentation from the module header [✔] extracts documentation from imported modules [✔] extracts documentation from export list [✔] extracts documentation from named chunks [✔] returns docstrings in the same order they appear in the source [✔] extracts $setup code [✔] fails on invalid flags [✔] extract (regression tests) works with infix operators [✔] works with parallel list comprehensions [✔] works with list comprehensions in instance definitions [✔] works with foreign imports [✔] works for rewrite rules [✔] works for rewrite rules with type signatures [✔] strips CR from dos line endings [✔] works with a module that splices in an expression from an other module [✔] works for type families and GHC 7.6.1 [✔] Info formatInfo formats --info output [✔] Interpreter interpreterSupported indicates whether GHCi is supported on current platform [✔] ghcInfo includes "Have interpreter" [✔] safeEval evaluates an expression [✔] returns Left on unterminated multiline command [✔] filterExpression removes :set -XTemplateHaskell [✔] filters -XTemplateHaskell [✔] leaves :set-statement that do not set -XTemplateHaskell alone [✔] Language.Haskell.GhciWrapper evalEcho prints result to stdout [✔] evalWith with PreserveIt preserves it [✔] eval shows literals [✔] shows string literals containing Unicode [✔] evaluates simple expressions [✔] supports let bindings [✔] allows import statements [✔] captures stdout [✔] captures stdout (Unicode) [✔] captures stdout (empty line) [✔] captures stdout (multiple lines) [✔] captures stderr [✔] captures stderr (Unicode) [✔] shows exceptions [✔] shows exceptions (ExitCode) [✔] gives an error message for identifiers that are not in scope [✔] when configVerbose is True prints prompt [✔] with -XOverloadedStrings, -Wall and -Werror does not fail on marker expression (bug fix) [✔] with NoImplicitPrelude works [✔] with a strange String type works [✔] Location toLocation works for a regular SrcSpan [✔] works for a single-line SrcSpan [✔] works for a SrcSpan that corresponds to single point [✔] works for a bad SrcSpan [✔] works for a SrcLoc with bad locations [✔] enumerate replicates UnhelpfulLocation [✔] enumerates Location [✔] Main doctest testSimple [✔] it-variable [✔] it-variable in $setup [✔] failing [✔] skips subsequent examples from the same group if an example fails [✔] without --fail-fast continuous even if some tests fail [✔] with --fail-fast stops after the first failure [✔] stops after failures in $setup [✔] testImport [✔] testCommentLocation [✔] testPutStr [✔] fails on multi-line expressions, introduced with :{ [✔] testBlankline [✔] examples from the same Haddock comment share the same scope [✔] testDocumentationForArguments [✔] template-haskell [✔] handles source files with CRLF line endings [✔] runs $setup before each test group [✔] skips subsequent tests from a module, if $setup fails [✔] ignores trailing whitespace when matching test output [✔] doctest as a runner for QuickCheck properties runs a boolean property [✔] runs an explicitly quantified property [✔] runs an implicitly quantified property [✔] reports a failing property [✔] runs a boolean property with an explicit type signature [✔] runs $setup before each property [✔] doctest (regression tests) bugfixWorkingDirectory [✔] bugfixOutputToStdErr [✔] bugfixImportHierarchical [✔] bugfixMultipleModules [✔] testCPP [✔] template-haskell-bugfix [✔] doesn't clash with user bindings of stdout/stderr [✔] doesn't get confused by doctests using System.IO imports [✔] Options parseOptions strips --optghc [✔] strips --optghc= [✔] with ghc options that are not valid with --interactive returns ProxyToGhc [✔] +++ OK, passed 100 tests. with --interactive disables magic mode [✔] filters out --interactive [✔] accepts --fast [✔] --no-magic without --no-magic enables magic mode [✔] with --no-magic disables magic mode [✔] --fast without --fast disables fast mode [✔] with --fast enables fast mode [✔] --preserve-it without --preserve-it does not preserve the `it` variable [✔] with --preserve-it preserves the `it` variable [✔] --fail-fast without --fail-fast disables fail-fast mode [✔] with --fail-fast enables fail-fast mode [✔] with --help outputs usage information [✔] with --version outputs version information [✔] with --info outputs machine readable version information [✔] --verbose without --verbose is not verbose by default [✔] with --verbose parses verbose option [✔] PackageDBs getPackageDBsFromEnv uses global and user when no env used [✔] respects GHC_PACKAGE_PATH [✔] Parse extractDocTests extracts properties from a module [✔] extracts examples from a module [✔] extracts examples from documentation for non-exported names [✔] extracts multiple examples from a module [✔] returns an empty list, if documentation contains no examples [✔] sets setup code to Nothing, if it does not contain any tests [✔] keeps modules that only contain setup code [✔] parseInteractions (an internal function) parses an interaction [✔] drops whitespace as appropriate [✔] parses an interaction without a result [✔] works with a complex example [✔] attaches location information to parsed interactions [✔] basic multiline [✔] multiline align output [✔] multiline align output with >>> [✔] parses wild cards lines [✔] parses wild card chunks [✔] parseProperties (an internal function) parses a property [✔] mkLineChunks (an internal function) replaces ellipsis with WildCardChunks [✔] doesn't replace fewer than 3 consecutive dots [✔] handles leading and trailing dots [✔] handles leading and trailing ellipsis [✔] Property runProperty reports a failing property [✔] runs a Bool property [✔] runs a Bool property with an explicit type signature [✔] runs an implicitly quantified property [✔] runs an implicitly quantified property even with GHC 7.4 [✔] runs an explicitly quantified property [✔] allows to mix implicit and explicit quantification [✔] reports the value for which a property fails [✔] reports the values for which a property that takes multiple arguments fails [✔] defaults ambiguous type variables to Integer [✔] freeVariables finds a free variables in a term [✔] ignores duplicates [✔] works for terms with multiple names [✔] works for names that contain a prime [✔] works for names that are similar to other names that are in scope [✔] parseNotInScope when error message was produced by GHC 7.4.1 extracts a variable name of variable that is not in scope from an error message [✔] ignores duplicates [✔] works for variable names that contain a prime [✔] works for error messages with suggestions [✔] when error message was produced by GHC 8.0.1 extracts a variable name of variable that is not in scope from an error message [✔] ignores duplicates [✔] works for variable names that contain a prime [✔] works for error messages with suggestions [✔] Run doctest exits with ExitFailure if at least one test case fails [✔] prints help on --help [✔] prints version on --version [✔] accepts arbitrary GHC options [✔] accepts GHC options with --optghc [✔] prints a deprecation message for --optghc [✔] prints error message on invalid option [✔] interprets GHC response files [✔] prints verbose description of a specification [✔] prints verbose description of a property [✔] prints verbose error [✔] can deal with potentially problematic GHC options [✔] doctestWithResult on parse error aborts with (ExitFailure 1) [✔] prints a useful error message [✔] expandDirs expands a directory [✔] ignores files [✔] ignores random things [✔] Runner report when mode is interactive writes to stderr [✔] when mode is non-interactive writes to stderr [✔] report_ when mode is interactive writes transient output to stderr [✔] when mode is non-interactive is ignored [✔] Runner.Example mkResult returns Equal when output matches [✔] +++ OK, passed 100 tests. ignores trailing whitespace [✔] with WildCardLine matches zero lines [✔] matches first zero line [✔] matches final zero line [✔] matches an arbitrary number of lines [✔] matches an arbitrary number of lines (quickcheck) [✔] +++ OK, passed 100 tests. with WildCardChunk matches an arbitrary line chunk [✔] matches an arbitrary line chunk at end [✔] does not match at end [✔] does not match at start [✔] when output does not match constructs failure message [✔] constructs failure message for multi-line output [✔] when any output line contains "unsafe" characters uses show to format output lines [✔] insert caret after last matching character on different lengths [✔] insert caret after mismatching line for multi-line output [✔] insert caret after mismatching line with the longest match for multi-line wildcard pattern [✔] insert caret after longest match for wildcard [✔] show expanded pattern for long matches [✔] Util convertDosLineEndings converts CRLF to LF [✔] strips a trailing CR [✔] takeWhileEnd returns the longest suffix of elements that satisfy a given predicate [✔] Finished in 21.4753 seconds 198 examples, 0 failures Test suite spec: PASS Test suite logged to: dist/test/doctest-0.24.3-spec.log 1 of 1 test suites (1 of 1 test cases) passed. Running phase: haddockPhase Preprocessing test suite 'spec' for doctest-0.24.3... Preprocessing library for doctest-0.24.3... Running Haddock on library for doctest-0.24.3... [ 1 of 26] Compiling Imports ( src/Imports.hs, nothing ) [ 2 of 26] Compiling GhcUtil ( src/GhcUtil.hs, nothing ) [ 3 of 26] Compiling Cabal.ReplOptions ( src/Cabal/ReplOptions.hs, nothing ) [ 4 of 26] Compiling Cabal.Paths ( src/Cabal/Paths.hs, nothing ) [ 5 of 26] Compiling Cabal.Options ( src/Cabal/Options.hs, nothing ) [ 6 of 26] Compiling Language.Haskell.GhciWrapper ( src/Language/Haskell/GhciWrapper.hs, nothing ) [ 7 of 26] Compiling Interpreter ( src/Interpreter.hs, nothing ) [ 8 of 26] Compiling Location ( src/Location.hs, nothing ) [ 9 of 26] Compiling PackageDBs ( src/PackageDBs.hs, nothing ) [10 of 26] Compiling Paths_doctest ( dist/build/autogen/Paths_doctest.hs, nothing ) [11 of 26] Compiling Info ( src/Info.hs, nothing ) [12 of 26] Compiling Options ( src/Options.hs, nothing ) [13 of 26] Compiling Cabal ( src/Cabal.hs, nothing ) [14 of 26] Compiling Test.DocTest.Internal.Cabal ( src/Test/DocTest/Internal/Cabal.hs, nothing ) [15 of 26] Compiling Test.DocTest.Internal.Location ( src/Test/DocTest/Internal/Location.hs, nothing ) [16 of 26] Compiling Util ( src/Util.hs, nothing ) [17 of 26] Compiling Extract ( src/Extract.hs, nothing ) [18 of 26] Compiling Test.DocTest.Internal.Extract ( src/Test/DocTest/Internal/Extract.hs, nothing ) [19 of 26] Compiling Parse ( src/Parse.hs, nothing ) [20 of 26] Compiling Test.DocTest.Internal.Parse ( src/Test/DocTest/Internal/Parse.hs, nothing ) [21 of 26] Compiling Runner.Example ( src/Runner/Example.hs, nothing ) [22 of 26] Compiling Property ( src/Property.hs, nothing ) [23 of 26] Compiling Runner ( src/Runner.hs, nothing ) [24 of 26] Compiling Run ( src/Run.hs, nothing ) [25 of 26] Compiling Test.DocTest.Internal.Run ( src/Test/DocTest/Internal/Run.hs, nothing ) [26 of 26] Compiling Test.DocTest ( src/Test/DocTest.hs, nothing ) Haddock coverage: Warning: Imports: Could not find documentation for exported module: Imports 0% ( 0 / 2) in 'Test.DocTest.Internal.Cabal' Missing documentation for: Module header doctest (src/Test/DocTest/Internal/Cabal.hs:10) 88% ( 8 / 9) in 'Test.DocTest.Internal.Location' Missing documentation for: Module header Warning: 'SomeException' is ambiguous. It is defined * in ‘GHC.Internal.Exception.Type’ * in ‘GHC.Internal.Exception.Type’ You may be able to disambiguate the identifier by qualifying it or by specifying the type/value namespace explicitly. Defaulting to the one defined in ‘GHC.Internal.Exception.Type’ 66% ( 2 / 3) in 'Test.DocTest.Internal.Extract' Missing documentation for: Module header 22% ( 2 / 9) in 'Test.DocTest.Internal.Parse' Missing documentation for: Module header DocTest (src/Parse.hs:29) Expression (src/Parse.hs:44) ExpectedResult (src/Parse.hs:45) ExpectedLine (src/Parse.hs:38) LineChunk (src/Parse.hs:32) parseModules (src/Parse.hs:60) Warning: 'report_' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 15% ( 2 / 13) in 'Test.DocTest.Internal.Run' Missing documentation for: Module header Result (src/Run.hs:139) Config (src/Options.hs:58) isSuccess (src/Runner.hs:55) defaultConfig (src/Options.hs:68) doctestWithRepl (src/Run.hs:67) doctestWith (src/Run.hs:137) formatSummary (src/Runner.hs:58) evaluateResult (src/Run.hs:142) doctestWithResult (src/Run.hs:145) runDocTests (src/Run.hs:155) 50% ( 1 / 2) in 'Test.DocTest' Missing documentation for: Module header Documentation created: dist/doc/html/doctest/, dist/doc/html/doctest/doctest.txt Preprocessing executable 'doctest' for doctest-0.24.3... Running phase: installPhase Installing library in /nix/store/cr4i9vq8n4ka0lqk0hw6pix5pkn19l6v-doctest-0.24.3/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-ad9c/doctest-0.24.3-9DQKZT9yksP6bEkQScmcXe Installing executable doctest in /nix/store/cr4i9vq8n4ka0lqk0hw6pix5pkn19l6v-doctest-0.24.3/bin Warning: The directory /nix/store/cr4i9vq8n4ka0lqk0hw6pix5pkn19l6v-doctest-0.24.3/bin is not in the system search path. Running phase: fixupPhase shrinking RPATHs of ELF executables and libraries in /nix/store/cr4i9vq8n4ka0lqk0hw6pix5pkn19l6v-doctest-0.24.3 shrinking /nix/store/cr4i9vq8n4ka0lqk0hw6pix5pkn19l6v-doctest-0.24.3/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-ad9c/libHSdoctest-0.24.3-9DQKZT9yksP6bEkQScmcXe-ghc9.10.3.so shrinking /nix/store/cr4i9vq8n4ka0lqk0hw6pix5pkn19l6v-doctest-0.24.3/bin/doctest checking for references to /build/ in /nix/store/cr4i9vq8n4ka0lqk0hw6pix5pkn19l6v-doctest-0.24.3... patching script interpreter paths in /nix/store/cr4i9vq8n4ka0lqk0hw6pix5pkn19l6v-doctest-0.24.3 stripping (with command strip and flags -S -p) in /nix/store/cr4i9vq8n4ka0lqk0hw6pix5pkn19l6v-doctest-0.24.3/lib /nix/store/cr4i9vq8n4ka0lqk0hw6pix5pkn19l6v-doctest-0.24.3/bin shrinking RPATHs of ELF executables and libraries in /nix/store/afsgha6b056bb0caxc6rfirp079d4ll6-doctest-0.24.3-doc checking for references to /build/ in /nix/store/afsgha6b056bb0caxc6rfirp079d4ll6-doctest-0.24.3-doc... patching script interpreter paths in /nix/store/afsgha6b056bb0caxc6rfirp079d4ll6-doctest-0.24.3-doc