Running phase: setupCompilerEnvironmentPhase setupCompilerEnvironmentPhase Build with /nix/store/ic7wdfrif8raic2z6xiq2qv1bfzxi8li-ghc-9.2.4. Running phase: unpackPhase unpacking sources unpacking source archive /nix/store/l382nfspbd1cjrw5dkfrgkfrxwbga4n1-haddock-library-1.10.0.tar.gz source root is haddock-library-1.10.0 setting SOURCE_DATE_EPOCH to timestamp 1000000000 of file haddock-library-1.10.0/test/Spec.hs Running phase: patchPhase patching sources Replace Cabal file with edited version from mirror://hackage/haddock-library-1.10.0/revision/3.cabal. Run jailbreak-cabal to lift version restrictions on build inputs. Running phase: compileBuildDriverPhase compileBuildDriverPhase setupCompileFlags: -package-db=/build/tmp.I6DlSi7KDe/setup-package.conf.d -j16 +RTS -A64M -RTS -threaded -rtsopts [1 of 1] Compiling Main ( Setup.hs, /build/tmp.I6DlSi7KDe/Main.o ) Linking Setup ... Running phase: configurePhase configuring configureFlags: --verbose --prefix=/nix/store/ih9xkiqpln72w5chyf25whzl0133sncn-haddock-library-1.10.0 --libdir=$prefix/lib/$compiler --libsubdir=$abi/$libname --docdir=/nix/store/f7v80npy8jl5fp94whh49vz7wg2j77nv-haddock-library-1.10.0-doc/share/doc/haddock-library-1.10.0 --with-gcc=gcc --package-db=/build/tmp.I6DlSi7KDe/package.conf.d --ghc-options=-j16 +RTS -A64M -RTS --disable-split-objs --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 --ghc-option=-split-sections --ghc-options=-haddock --extra-lib-dirs=/nix/store/qfbw9zmdlllswnx3vqkxgz6dzwhlv985-ncurses-6.3-p20220507/lib --extra-lib-dirs=/nix/store/gsycfmysih14pxphxsk5lvlh5sw6wn02-libffi-3.4.4/lib --extra-lib-dirs=/nix/store/kyxg6j5rirfygdqfqkrm1azg7dqdmhbh-gmp-with-cxx-6.2.1/lib --extra-lib-dirs=/nix/store/ic7wdfrif8raic2z6xiq2qv1bfzxi8li-ghc-9.2.4/lib Using Parsec parser Configuring haddock-library-1.10.0... Dependency base: using base-4.16.3.0 Dependency bytestring: using bytestring-0.11.3.1 Dependency containers: using containers-0.6.5.1 Dependency parsec: using parsec-3.1.15.0 Dependency text: using text-1.2.5.0 Dependency transformers: using transformers-0.5.6.2 Dependency QuickCheck: using QuickCheck-2.14.2 Dependency base: using base-4.16.3.0 Dependency base-compat: using base-compat-0.12.2 Dependency bytestring: using bytestring-0.11.3.1 Dependency containers: using containers-0.6.5.1 Dependency deepseq: using deepseq-1.4.6.1 Dependency hspec: using hspec-2.9.7 Dependency parsec: using parsec-3.1.15.0 Dependency text: using text-1.2.5.0 Dependency transformers: using transformers-0.5.6.2 Dependency base: using base-4.16.3.0 Dependency base-compat: using base-compat-0.12.2 Dependency directory: using directory-1.3.6.2 Dependency filepath: using filepath-1.4.2.2 Dependency haddock-library: using haddock-library-1.10.0 Dependency optparse-applicative: using optparse-applicative-0.17.0.0 Dependency tree-diff: using tree-diff-0.2.2 Source component graph: component test:spec component lib component test:fixtures dependency lib Configured component graph: component haddock-library-1.10.0-LNbpQ3ZbwOa9DUfBHh8DE4-spec include QuickCheck-2.14.2-GmIzHg8jhXyDhZvBXz41zC include base-4.16.3.0 include base-compat-0.12.2-FhzxSBl3yJsEVFzJm794VJ include bytestring-0.11.3.1 include containers-0.6.5.1 include deepseq-1.4.6.1 include hspec-2.9.7-BMvEyb1CfahJCbZUcb2TVk include parsec-3.1.15.0 include text-1.2.5.0 include transformers-0.5.6.2 component haddock-library-1.10.0-lxfB4HQoCG35iV7QHUX67 include base-4.16.3.0 include bytestring-0.11.3.1 include containers-0.6.5.1 include parsec-3.1.15.0 include text-1.2.5.0 include transformers-0.5.6.2 component haddock-library-1.10.0-2ASaNQR49YO3mDmcZg8WoV-fixtures include base-4.16.3.0 include base-compat-0.12.2-FhzxSBl3yJsEVFzJm794VJ include directory-1.3.6.2 include filepath-1.4.2.2 include haddock-library-1.10.0-lxfB4HQoCG35iV7QHUX67 include optparse-applicative-0.17.0.0-KktxlRcDQV18Ai3UFokRbA include tree-diff-0.2.2-9KdjHjRim0EEh2GRj7Blth Linked component graph: unit haddock-library-1.10.0-LNbpQ3ZbwOa9DUfBHh8DE4-spec include QuickCheck-2.14.2-GmIzHg8jhXyDhZvBXz41zC include base-4.16.3.0 include base-compat-0.12.2-FhzxSBl3yJsEVFzJm794VJ include bytestring-0.11.3.1 include containers-0.6.5.1 include deepseq-1.4.6.1 include hspec-2.9.7-BMvEyb1CfahJCbZUcb2TVk include parsec-3.1.15.0 include text-1.2.5.0 include transformers-0.5.6.2 unit haddock-library-1.10.0-lxfB4HQoCG35iV7QHUX67 include base-4.16.3.0 include bytestring-0.11.3.1 include containers-0.6.5.1 include parsec-3.1.15.0 include text-1.2.5.0 include transformers-0.5.6.2 Documentation.Haddock.Doc=haddock-library-1.10.0-lxfB4HQoCG35iV7QHUX67:Documentation.Haddock.Doc,Documentation.Haddock.Markup=haddock-library-1.10.0-lxfB4HQoCG35iV7QHUX67:Documentation.Haddock.Markup,Documentation.Haddock.Parser=haddock-library-1.10.0-lxfB4HQoCG35iV7QHUX67:Documentation.Haddock.Parser,Documentation.Haddock.Types=haddock-library-1.10.0-lxfB4HQoCG35iV7QHUX67:Documentation.Haddock.Types unit haddock-library-1.10.0-2ASaNQR49YO3mDmcZg8WoV-fixtures include base-4.16.3.0 include base-compat-0.12.2-FhzxSBl3yJsEVFzJm794VJ include directory-1.3.6.2 include filepath-1.4.2.2 include haddock-library-1.10.0-lxfB4HQoCG35iV7QHUX67 include optparse-applicative-0.17.0.0-KktxlRcDQV18Ai3UFokRbA include tree-diff-0.2.2-9KdjHjRim0EEh2GRj7Blth Ready component graph: definite haddock-library-1.10.0-lxfB4HQoCG35iV7QHUX67 depends base-4.16.3.0 depends bytestring-0.11.3.1 depends containers-0.6.5.1 depends parsec-3.1.15.0 depends text-1.2.5.0 depends transformers-0.5.6.2 definite haddock-library-1.10.0-LNbpQ3ZbwOa9DUfBHh8DE4-spec depends QuickCheck-2.14.2-GmIzHg8jhXyDhZvBXz41zC depends base-4.16.3.0 depends base-compat-0.12.2-FhzxSBl3yJsEVFzJm794VJ depends bytestring-0.11.3.1 depends containers-0.6.5.1 depends deepseq-1.4.6.1 depends hspec-2.9.7-BMvEyb1CfahJCbZUcb2TVk depends parsec-3.1.15.0 depends text-1.2.5.0 depends transformers-0.5.6.2 definite haddock-library-1.10.0-2ASaNQR49YO3mDmcZg8WoV-fixtures depends base-4.16.3.0 depends base-compat-0.12.2-FhzxSBl3yJsEVFzJm794VJ depends directory-1.3.6.2 depends filepath-1.4.2.2 depends haddock-library-1.10.0-lxfB4HQoCG35iV7QHUX67 depends optparse-applicative-0.17.0.0-KktxlRcDQV18Ai3UFokRbA depends tree-diff-0.2.2-9KdjHjRim0EEh2GRj7Blth Using Cabal-3.6.3.0 compiled by ghc-9.2 Using compiler: ghc-9.2.4 Using install prefix: /nix/store/ih9xkiqpln72w5chyf25whzl0133sncn-haddock-library-1.10.0 Executables installed in: /nix/store/ih9xkiqpln72w5chyf25whzl0133sncn-haddock-library-1.10.0/bin Libraries installed in: /nix/store/ih9xkiqpln72w5chyf25whzl0133sncn-haddock-library-1.10.0/lib/ghc-9.2.4/i386-linux-ghc-9.2.4/haddock-library-1.10.0-lxfB4HQoCG35iV7QHUX67 Dynamic Libraries installed in: /nix/store/ih9xkiqpln72w5chyf25whzl0133sncn-haddock-library-1.10.0/lib/ghc-9.2.4/i386-linux-ghc-9.2.4 Private executables installed in: /nix/store/ih9xkiqpln72w5chyf25whzl0133sncn-haddock-library-1.10.0/libexec/i386-linux-ghc-9.2.4/haddock-library-1.10.0 Data files installed in: /nix/store/ih9xkiqpln72w5chyf25whzl0133sncn-haddock-library-1.10.0/share/i386-linux-ghc-9.2.4/haddock-library-1.10.0 Documentation installed in: /nix/store/f7v80npy8jl5fp94whh49vz7wg2j77nv-haddock-library-1.10.0-doc/share/doc/haddock-library-1.10.0 Configuration files installed in: /nix/store/ih9xkiqpln72w5chyf25whzl0133sncn-haddock-library-1.10.0/etc No alex found Using ar found on system at: /nix/store/cz0xzc39p2qj26ml15v9bq5ckrmdmdf4-binutils-2.39/bin/ar No c2hs found No cpphs found No doctest found Using gcc version 11.3.0 given by user at: /nix/store/rkwixq2wda45gxx7zg1qh329zhkbvzzb-gcc-wrapper-11.3.0/bin/gcc Using ghc version 9.2.4 found on system at: /nix/store/ic7wdfrif8raic2z6xiq2qv1bfzxi8li-ghc-9.2.4/bin/ghc Using ghc-pkg version 9.2.4 found on system at: /nix/store/ic7wdfrif8raic2z6xiq2qv1bfzxi8li-ghc-9.2.4/bin/ghc-pkg-9.2.4 No ghcjs found No ghcjs-pkg found No greencard found Using haddock version 2.26.0 found on system at: /nix/store/ic7wdfrif8raic2z6xiq2qv1bfzxi8li-ghc-9.2.4/bin/haddock-ghc-9.2.4 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.68 found on system at: /nix/store/ic7wdfrif8raic2z6xiq2qv1bfzxi8li-ghc-9.2.4/bin/hpc Using hsc2hs version 0.68.8 found on system at: /nix/store/ic7wdfrif8raic2z6xiq2qv1bfzxi8li-ghc-9.2.4/bin/hsc2hs Using hscolour version 1.24 found on system at: /nix/store/85d2z1v7cbhi7zr0aj493mh85n4w6p60-hscolour-1.24.4/bin/HsColour No jhc found Using ld found on system at: /nix/store/ssc7jicqr32k3w9gbsczxl0fxxfvm60g-binutils-wrapper-2.39/bin/ld.gold No pkg-config found Using runghc version 9.2.4 found on system at: /nix/store/ic7wdfrif8raic2z6xiq2qv1bfzxi8li-ghc-9.2.4/bin/runghc-9.2.4 Using strip version 2.39 found on system at: /nix/store/rkwixq2wda45gxx7zg1qh329zhkbvzzb-gcc-wrapper-11.3.0/bin/strip Using tar found on system at: /nix/store/5rh47gjf5m2w51g3sxpyfxr1km61vd1f-gnutar-1.34/bin/tar No uhc found Running phase: buildPhase building Preprocessing library for haddock-library-1.10.0.. Building library for haddock-library-1.10.0.. [1 of 8] Compiling CompatPrelude ( src/CompatPrelude.hs, dist/build/CompatPrelude.o, dist/build/CompatPrelude.dyn_o ) [2 of 8] Compiling Documentation.Haddock.Types ( src/Documentation/Haddock/Types.hs, dist/build/Documentation/Haddock/Types.o, dist/build/Documentation/Haddock/Types.dyn_o ) [3 of 8] Compiling Documentation.Haddock.Parser.Monad ( src/Documentation/Haddock/Parser/Monad.hs, dist/build/Documentation/Haddock/Parser/Monad.o, dist/build/Documentation/Haddock/Parser/Monad.dyn_o ) [4 of 8] Compiling Documentation.Haddock.Parser.Util ( src/Documentation/Haddock/Parser/Util.hs, dist/build/Documentation/Haddock/Parser/Util.o, dist/build/Documentation/Haddock/Parser/Util.dyn_o ) [5 of 8] Compiling Documentation.Haddock.Parser.Identifier ( src/Documentation/Haddock/Parser/Identifier.hs, dist/build/Documentation/Haddock/Parser/Identifier.o, dist/build/Documentation/Haddock/Parser/Identifier.dyn_o ) [6 of 8] Compiling Documentation.Haddock.Markup ( src/Documentation/Haddock/Markup.hs, dist/build/Documentation/Haddock/Markup.o, dist/build/Documentation/Haddock/Markup.dyn_o ) [7 of 8] Compiling Documentation.Haddock.Doc ( src/Documentation/Haddock/Doc.hs, dist/build/Documentation/Haddock/Doc.o, dist/build/Documentation/Haddock/Doc.dyn_o ) [8 of 8] Compiling Documentation.Haddock.Parser ( src/Documentation/Haddock/Parser.hs, dist/build/Documentation/Haddock/Parser.o, dist/build/Documentation/Haddock/Parser.dyn_o ) [1 of 8] Compiling CompatPrelude ( src/CompatPrelude.hs, dist/build/CompatPrelude.p_o ) [2 of 8] Compiling Documentation.Haddock.Types ( src/Documentation/Haddock/Types.hs, dist/build/Documentation/Haddock/Types.p_o ) [3 of 8] Compiling Documentation.Haddock.Parser.Monad ( src/Documentation/Haddock/Parser/Monad.hs, dist/build/Documentation/Haddock/Parser/Monad.p_o ) [4 of 8] Compiling Documentation.Haddock.Parser.Util ( src/Documentation/Haddock/Parser/Util.hs, dist/build/Documentation/Haddock/Parser/Util.p_o ) [5 of 8] Compiling Documentation.Haddock.Parser.Identifier ( src/Documentation/Haddock/Parser/Identifier.hs, dist/build/Documentation/Haddock/Parser/Identifier.p_o ) [6 of 8] Compiling Documentation.Haddock.Markup ( src/Documentation/Haddock/Markup.hs, dist/build/Documentation/Haddock/Markup.p_o ) [7 of 8] Compiling Documentation.Haddock.Doc ( src/Documentation/Haddock/Doc.hs, dist/build/Documentation/Haddock/Doc.p_o ) [8 of 8] Compiling Documentation.Haddock.Parser ( src/Documentation/Haddock/Parser.hs, dist/build/Documentation/Haddock/Parser.p_o ) Preprocessing test suite 'spec' for haddock-library-1.10.0.. Building test suite 'spec' for haddock-library-1.10.0.. [ 1 of 11] Compiling CompatPrelude ( src/CompatPrelude.hs, dist/build/spec/spec-tmp/CompatPrelude.o ) [ 2 of 11] Compiling Documentation.Haddock.Types ( src/Documentation/Haddock/Types.hs, dist/build/spec/spec-tmp/Documentation/Haddock/Types.o ) [ 3 of 11] Compiling Documentation.Haddock.Parser.Monad ( src/Documentation/Haddock/Parser/Monad.hs, dist/build/spec/spec-tmp/Documentation/Haddock/Parser/Monad.o ) [ 4 of 11] Compiling Documentation.Haddock.Parser.Util ( src/Documentation/Haddock/Parser/Util.hs, dist/build/spec/spec-tmp/Documentation/Haddock/Parser/Util.o ) [ 5 of 11] Compiling Documentation.Haddock.Parser.UtilSpec ( test/Documentation/Haddock/Parser/UtilSpec.hs, dist/build/spec/spec-tmp/Documentation/Haddock/Parser/UtilSpec.o ) test/Documentation/Haddock/Parser/UtilSpec.hs:8:1: warning: [-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() | 8 | import Control.Applicative | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 6 of 11] Compiling Documentation.Haddock.Parser.Identifier ( src/Documentation/Haddock/Parser/Identifier.hs, dist/build/spec/spec-tmp/Documentation/Haddock/Parser/Identifier.o ) [ 7 of 11] Compiling Documentation.Haddock.Markup ( src/Documentation/Haddock/Markup.hs, dist/build/spec/spec-tmp/Documentation/Haddock/Markup.o ) [ 8 of 11] Compiling Documentation.Haddock.Doc ( src/Documentation/Haddock/Doc.hs, dist/build/spec/spec-tmp/Documentation/Haddock/Doc.o ) [ 9 of 11] Compiling Documentation.Haddock.Parser ( src/Documentation/Haddock/Parser.hs, dist/build/spec/spec-tmp/Documentation/Haddock/Parser.o ) [10 of 11] Compiling Documentation.Haddock.ParserSpec ( test/Documentation/Haddock/ParserSpec.hs, dist/build/spec/spec-tmp/Documentation/Haddock/ParserSpec.o ) [11 of 11] Compiling Main ( test/Spec.hs, dist/build/spec/spec-tmp/Main.o ) Linking dist/build/spec/spec ... Preprocessing test suite 'fixtures' for haddock-library-1.10.0.. Building test suite 'fixtures' for haddock-library-1.10.0.. [1 of 1] Compiling Main ( fixtures/Fixtures.hs, dist/build/fixtures/fixtures-tmp/Main.o ) Linking dist/build/fixtures/fixtures ... buildPhase completed in 5 minutes 29 seconds Running phase: checkPhase running tests Running 2 test suites... Test suite spec: RUNNING... Documentation.Haddock.Parser parseString is total [✔] +++ OK, passed 100 tests. when parsing text can handle unicode [✔] accepts numeric character references [✔] accepts hexadecimal character references [✔] allows to backslash-escape characters except \r [✔] +++ OK, passed 100 tests. when parsing strings contaning numeric character references will implicitly convert digits to characters [✔] will implicitly convert hex encoded characters [✔] when parsing identifiers parses identifiers enclosed within single ticks [✔] parses identifiers enclosed within backticks [✔] parses identifiers preceded by a backtick and followed by a single quote [✔] parses identifiers preceded by a single quote and followed by a backtick [✔] can parse a constructor identifier [✔] can parse a qualified identifier [✔] parses a word with an one of the delimiters in it as DocString [✔] doesn't pass pairs of delimiters with spaces between them [✔] don't use apostrophe's in the wrong place's [✔] doesn't parse empty identifiers [✔] can parse an identifier in infix notation enclosed within backticks [✔] can parse identifiers containing a single quote [✔] can parse identifiers ending with a single quote [✔] can parse an identifier containing a digit [✔] can parse an identifier containing unicode characters [✔] can parse a single quote followed by an identifier [✔] can parse an identifier that starts with an underscore [✔] can parse value-namespaced identifiers [✔] can parse type-namespaced identifiers [✔] can parse parenthesized operators and backticked identifiers [✔] can properly figure out the end of identifiers [✔] when parsing operators can parse an operator enclosed within single quotes [✔] can parse a qualified operator [✔] can parse a constructor operator [✔] can parse a qualified constructor operator [✔] can parse a unicode operator [✔] when parsing URLs parses a URL [✔] accepts an optional label [✔] does not accept newlines in label [✔] allows us to escape > inside the URL [✔] parses inline URLs [✔] doesn't allow for multi-line link tags [✔] when parsing markdown links parses a simple link [✔] allows whitespace between label and URL [✔] allows newlines in label [✔] allows escaping in label [✔] strips leading and trailing whitespace from label [✔] rejects whitespace in URL [✔] allows inline markup in the label [✔] when URL is on a separate line allows URL to be on a separate line [✔] allows leading whitespace [✔] rejects additional newlines [✔] when autolinking URLs autolinks HTTP URLs [✔] autolinks HTTPS URLs [✔] autolinks FTP URLs [✔] does not include a trailing comma [✔] does not include a trailing dot [✔] does not include a trailing exclamation mark [✔] does not include a trailing question mark [✔] autolinks URLs occuring mid-sentence with multiple ‘/’s [✔] when parsing images accepts markdown syntax for images [✔] accepts Unicode [✔] supports deprecated picture syntax [✔] supports title for deprecated picture syntax [✔] when parsing display math accepts markdown syntax for display math containing newlines [✔] when parsing anchors parses a single word anchor [✔] doesn't parse a multi word anchor [✔] parses a unicode anchor [✔] does not accept newlines in anchors [✔] accepts anchors mid-paragraph [✔] does not accept empty anchors [✔] does not accept anchors containing spaces [✔] when parsing emphasised text emphasises a word on its own [✔] emphasises inline correctly [✔] emphasises unicode [✔] does not emphasise multi-line strings [✔] does not emphasise the empty string [✔] parses escaped slashes literally [✔] recognizes other markup constructs within emphasised text [✔] allows other markup inside of emphasis [✔] doesn't mangle inner markup unicode [✔] properly converts HTML escape sequences [✔] allows to escape the emphasis delimiter inside of emphasis [✔] when parsing monospaced text parses simple monospaced text [✔] parses inline monospaced text [✔] allows to escape @ [✔] accepts unicode [✔] accepts other markup in monospaced text [✔] requires the closing @ [✔] when parsing bold strings allows for a bold string on its own [✔] bolds inline correctly [✔] bolds unicode [✔] does not do __multi-line\n bold__ [✔] allows other markup inside of bold [✔] doesn't mangle inner markup unicode [✔] properly converts HTML escape sequences [✔] allows to escape the bold delimiter inside of bold [✔] doesn't allow for empty bold [✔] when parsing module strings should parse a module on its own [✔] should parse a module inline [✔] can accept a simple module name [✔] can accept a module name with dots [✔] can accept a module name with unicode [✔] parses a module name with a trailing dot as regular quoted string [✔] parses a module name with a space as regular quoted string [✔] parses a module name with invalid characters as regular quoted string [✔] accepts a module name with unicode [✔] treats empty module name as regular double quotes [✔] accepts anchor reference syntax as DocModule [✔] accepts anchor with hyphen as DocModule [✔] accepts old anchor reference syntax as DocModule [✔] when parsing labeled module links parses a simple labeled module link [✔] allows escaping in label [✔] strips leading and trailing whitespace from label [✔] allows whitespace in module name link [✔] allows inline markup in the label [✔] should parse a labeled module on its own [✔] should parse a labeled module inline [✔] can accept a labeled module name with dots [✔] can accept a labeled module name with unicode [✔] parses a labeled module name with a trailing dot as a hyperlink [✔] parses a labeled module name with a space as a regular string [✔] parses a module name with invalid characters as a hyperlink [✔] accepts a labeled module name with unicode [✔] treats empty labeled module name as empty hyperlink [✔] accepts anchor reference syntax for labeled module name [✔] accepts old anchor reference syntax for labeled module name [✔] interprets empty label as a unlabeled module name [✔] parseParas is total [✔] +++ OK, passed 100 tests. doesn't crash on unicode whitespace [✔] when parsing @since adds specified version to the result [✔] ignores trailing whitespace [✔] does not allow trailing input [✔] when given multiple times gives last occurrence precedence [✔] when parsing text paragraphs parses an empty paragraph [✔] parses a simple text paragraph [✔] accepts markup in text paragraphs [✔] preserve all regular characters [✔] +++ OK, passed 100 tests; 13 discarded. separates paragraphs by empty lines [✔] when a pragraph only contains monospaced text turns it into a code block [✔] when a paragraph starts with a markdown link correctly parses it as a text paragraph (not a definition list) [✔] can be followed by an other paragraph [✔] when paragraph contains additional text accepts more text after the link [✔] accepts a newline right after the markdown link [✔] can be followed by an other paragraph [✔] when parsing birdtracks parses them as a code block [✔] ignores leading whitespace [✔] strips one leading space from each line of the block [✔] ignores empty lines when stripping spaces [✔] when any non-empty line does not start with a space does not strip any spaces [✔] ignores nested markup [✔] treats them as regular text inside text paragraphs [✔] when parsing code blocks accepts a simple code block [✔] ignores trailing whitespace after the opening @ [✔] rejects code blocks that are not closed [✔] accepts nested markup [✔] allows to escape the @ [✔] accepts horizontal space before the @ [✔] strips a leading space from a @ block if present [✔] only drops whitespace if there's some before closing @ [✔] accepts unicode [✔] requires the closing @ [✔] when parsing examples parses a simple example [✔] parses an example with result [✔] parses consecutive examples [✔] requires an example to be separated from a previous paragraph by an empty line [✔] parses bird-tracks inside of paragraphs as plain strings [✔] skips empty lines in front of an example [✔] terminates example on empty line [✔] parses a result as an empty result [✔] accepts unicode in examples [✔] when prompt is prefixed by whitespace strips the exact same amount of whitespace from result lines [✔] preserves additional whitespace [✔] keeps original if stripping is not possible [✔] when parsing paragraphs nested in lists can nest the same type of list [✔] can nest another type of list inside [✔] can nest a code block inside [✔] can nest more than one level [✔] won't fail on not fully indented paragraph [✔] can nest definition lists [✔] can come back to top level with a different list [✔] allows arbitrary initial indent of a list [✔] definition lists can come back to top level with a different list [✔] list order is preserved in presence of nesting + extra text [✔] when parsing properties can parse a single property [✔] can parse multiple subsequent properties [✔] accepts unicode in properties [✔] can deal with whitespace before and after the prop> prompt [✔] when parsing unordered lists parses a simple list [✔] ignores empty lines between list items [✔] accepts an empty list item [✔] accepts multi-line list items [✔] accepts markup in list items [✔] requires empty lines between list and other paragraphs [✔] when parsing ordered lists parses a simple list [✔] ignores empty lines between list items [✔] accepts an empty list item [✔] accepts multi-line list items [✔] accepts markup in list items [✔] requires empty lines between list and other paragraphs [✔] when parsing definition lists parses a simple list [✔] ignores empty lines between list items [✔] accepts an empty list item [✔] accepts multi-line list items [✔] accepts markup in list items [✔] accepts markup for the label [✔] requires empty lines between list and other paragraphs [✔] dose not require the colon (deprecated - this will be removed in a future release) [✔] when parsing consecutive paragraphs will not capture irrelevant consecutive lists [✔] when parsing function documentation headers can parse a simple header [✔] allow consecutive headers [✔] accepts markup in the header [✔] Documentation.Haddock.Parser.Util takeUntil takes everything until a specified byte sequence [✔] requires the end sequence [✔] takes escaped bytes unconditionally [✔] Finished in 0.0808 seconds 212 examples, 0 failures Test suite spec: PASS Test suite logged to: dist/test/haddock-library-1.10.0-spec.log Test suite fixtures: RUNNING... running linkInlineMarkup running table4 running url running list-blocks2 running table5 running list-blocks1 running table-cell-strip-whitespaces running table-simple running link running identifierBackticks running urlLabel running table1 running table2 running identifier running definitionList running table3 running linkInline Fixtures: success 17; total 17 Test suite fixtures: PASS Test suite logged to: dist/test/haddock-library-1.10.0-fixtures.log 2 of 2 test suites (2 of 2 test cases) passed. Running phase: haddockPhase haddockPhase Preprocessing library for haddock-library-1.10.0.. Running Haddock on library for haddock-library-1.10.0.. Warning: --source-* options are ignored when --hyperlinked-source is enabled. Warning: 'Doc' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 26% ( 5 / 19) in 'Documentation.Haddock.Types' Missing documentation for: MetaDoc (src/Documentation/Haddock/Types.hs:41) overDoc (src/Documentation/Haddock/Types.hs:62) overDocF (src/Documentation/Haddock/Types.hs:65) Version (src/Documentation/Haddock/Types.hs:68) Package (src/Documentation/Haddock/Types.hs:69) Hyperlink (src/Documentation/Haddock/Types.hs:71) ModLink (src/Documentation/Haddock/Types.hs:76) Picture (src/Documentation/Haddock/Types.hs:81) Header (src/Documentation/Haddock/Types.hs:86) Example (src/Documentation/Haddock/Types.hs:91) TableCell (src/Documentation/Haddock/Types.hs:96) TableRow (src/Documentation/Haddock/Types.hs:102) Table (src/Documentation/Haddock/Types.hs:106) DocH (src/Documentation/Haddock/Types.hs:111) 75% ( 3 / 4) in 'Documentation.Haddock.Markup' Missing documentation for: markup (src/Documentation/Haddock/Markup.hs:12) 44% ( 4 / 9) in 'Documentation.Haddock.Doc' Missing documentation for: Module header docParagraph (src/Documentation/Haddock/Doc.hs:57) docAppend (src/Documentation/Haddock/Doc.hs:41) docConcat (src/Documentation/Haddock/Doc.hs:11) emptyMetaDoc (src/Documentation/Haddock/Doc.hs:35) Warning: '#' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 100% ( 6 / 6) in 'Documentation.Haddock.Parser' Warning: Documentation.Haddock.Parser: could not find link destinations for: - Documentation.Haddock.Parser.parseText - Documentation.Haddock.Parser.parseParagraph - Documentation.Haddock.Parser.Monad.takeWhile - Documentation.Haddock.Parser.Monad.takeWhile1 - Documentation.Haddock.Parser.innerList - Documentation.Haddock.Parser.definitionList - Documentation.Haddock.Parser.more - Documentation.Haddock.Parser.Identifier.parseValid Documentation created: dist/doc/html/haddock-library/index.html, dist/doc/html/haddock-library/haddock-library.txt Preprocessing test suite 'spec' for haddock-library-1.10.0.. Preprocessing test suite 'fixtures' for haddock-library-1.10.0.. Running phase: installPhase installing Installing library in /nix/store/ih9xkiqpln72w5chyf25whzl0133sncn-haddock-library-1.10.0/lib/ghc-9.2.4/i386-linux-ghc-9.2.4/haddock-library-1.10.0-lxfB4HQoCG35iV7QHUX67 Running phase: fixupPhase post-installation fixup shrinking RPATHs of ELF executables and libraries in /nix/store/ih9xkiqpln72w5chyf25whzl0133sncn-haddock-library-1.10.0 shrinking /nix/store/ih9xkiqpln72w5chyf25whzl0133sncn-haddock-library-1.10.0/lib/ghc-9.2.4/i386-linux-ghc-9.2.4/libHShaddock-library-1.10.0-lxfB4HQoCG35iV7QHUX67-ghc9.2.4.so strip is /nix/store/rkwixq2wda45gxx7zg1qh329zhkbvzzb-gcc-wrapper-11.3.0/bin/strip stripping (with command strip and flags -S) in /nix/store/ih9xkiqpln72w5chyf25whzl0133sncn-haddock-library-1.10.0/lib patching script interpreter paths in /nix/store/ih9xkiqpln72w5chyf25whzl0133sncn-haddock-library-1.10.0 checking for references to /build/ in /nix/store/ih9xkiqpln72w5chyf25whzl0133sncn-haddock-library-1.10.0... shrinking RPATHs of ELF executables and libraries in /nix/store/f7v80npy8jl5fp94whh49vz7wg2j77nv-haddock-library-1.10.0-doc strip is /nix/store/rkwixq2wda45gxx7zg1qh329zhkbvzzb-gcc-wrapper-11.3.0/bin/strip patching script interpreter paths in /nix/store/f7v80npy8jl5fp94whh49vz7wg2j77nv-haddock-library-1.10.0-doc checking for references to /build/ in /nix/store/f7v80npy8jl5fp94whh49vz7wg2j77nv-haddock-library-1.10.0-doc...