Build #3 for readme-lhs-0.4.0

[all reports]

Package readme-lhs-0.4.0
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2020-04-02 07:44:05.300412943 UTC
Compiler ghc-8.6.3
OS linux
Arch x86_64
Dependencies attoparsec-0.13.2.4, base-4.12.0.0, blaze-html-0.9.1.2, containers-0.6.0.1, foldl-1.4.6, pandoc-2.9.2.1, pandoc-types-1.20, protolude-0.2.4, text-1.2.3.1, transformers-0.5.5.0, base-4.12.0.0, protolude-0.2.4
Flags none

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Warning: The install command is a part of the legacy v1 style of cabal usage.

Please switch to using either the new project style and the new-install
command or the legacy v1-install alias as new-style projects will become the
default in the next version of cabal-install. Please file a bug if you cannot
replicate a working v1- use case with the new-style commands.

For more information, see: https://wiki.haskell.org/Cabal/NewBuild

Resolving dependencies...
Starting     StateVar-1.2
Starting     HsYAML-0.2.1.0
Starting     SHA-1.6.4.4
Starting     base-compat-0.11.1
Building     StateVar-1.2
Building     HsYAML-0.2.1.0
Building     SHA-1.6.4.4
Building     base-compat-0.11.1
Completed    StateVar-1.2
Starting     base-noprelude-4.12.0.0
Building     base-noprelude-4.12.0.0
Completed    base-noprelude-4.12.0.0
Starting     base-orphans-0.8.2
Building     base-orphans-0.8.2
Completed    base-compat-0.11.1
Starting     base-prelude-1.3
Completed    base-orphans-0.8.2
Starting     base16-bytestring-0.1.1.6
Completed    SHA-1.6.4.4
Starting     base64-bytestring-1.0.0.3
Building     base-prelude-1.3
Building     base16-bytestring-0.1.1.6
Building     base64-bytestring-1.0.0.3
Completed    base16-bytestring-0.1.1.6
Starting     basement-0.0.11
Building     basement-0.0.11
Completed    base64-bytestring-1.0.0.3
Starting     bitarray-0.0.1.1
Building     bitarray-0.0.1.1
Completed    bitarray-0.0.1.1
Starting     blaze-builder-0.4.1.0
Completed    base-prelude-1.3
Starting     cabal-doctest-1.0.8
Building     blaze-builder-0.4.1.0
Building     cabal-doctest-1.0.8
Completed    HsYAML-0.2.1.0
Starting     cereal-0.5.8.1
Building     cereal-0.5.8.1
Completed    cabal-doctest-1.0.8
Starting     cmark-gfm-0.2.1
Completed    blaze-builder-0.4.1.0
Starting     cmdargs-0.10.20
Building     cmark-gfm-0.2.1
Building     cmdargs-0.10.20
Completed    cereal-0.5.8.1
Starting     colour-2.3.5
Building     colour-2.3.5
Completed    colour-2.3.5
Starting     data-default-class-0.1.2.0
Building     data-default-class-0.1.2.0
Completed    data-default-class-0.1.2.0
Starting     digest-0.0.1.2
Building     digest-0.0.1.2
Completed    digest-0.0.1.2
Starting     dlist-0.8.0.8
Completed    cmark-gfm-0.2.1
Starting     emojis-0.1
Building     dlist-0.8.0.8
Building     emojis-0.1
Completed    dlist-0.8.0.8
Starting     exceptions-0.10.4
Completed    cmdargs-0.10.20
Starting     fail-4.9.0.0
Building     exceptions-0.10.4
Building     fail-4.9.0.0
Completed    fail-4.9.0.0
Starting     haddock-library-1.8.0
Building     haddock-library-1.8.0
Completed    exceptions-0.10.4
Starting     hashable-1.3.0.0
Building     hashable-1.3.0.0
Completed    haddock-library-1.8.0
Starting     hourglass-0.2.12
Building     hourglass-0.2.12
Completed    hashable-1.3.0.0
Starting     hxt-charproperties-9.4.0.0
Building     hxt-charproperties-9.4.0.0
Completed    emojis-0.1
Starting     integer-logarithms-1.0.3
Building     integer-logarithms-1.0.3
Completed    integer-logarithms-1.0.3
Starting     jira-wiki-markup-1.1.4
Completed    basement-0.0.11
Starting     mime-types-0.1.0.9
Building     jira-wiki-markup-1.1.4
Building     mime-types-0.1.0.9
Completed    hourglass-0.2.12
Starting     mtl-compat-0.2.2
Building     mtl-compat-0.2.2
Completed    mtl-compat-0.2.2
Starting     network-3.1.1.1
Completed    hxt-charproperties-9.4.0.0
Starting     network-uri-2.6.3.0
Completed    jira-wiki-markup-1.1.4
Starting     old-locale-1.0.0.7
Building     network-uri-2.6.3.0
Building     old-locale-1.0.0.7
Completed    mime-types-0.1.0.9
Starting     primitive-0.7.0.1
Building     primitive-0.7.0.1
Completed    old-locale-1.0.0.7
Starting     random-1.1
Building     network-3.1.1.1
Building     random-1.1
Completed    network-uri-2.6.3.0
Starting     regex-base-0.94.0.0
Building     regex-base-0.94.0.0
Completed    random-1.1
Starting     safe-0.3.18
Building     safe-0.3.18
Completed    regex-base-0.94.0.0
Starting     semigroups-0.19.1
Building     semigroups-0.19.1
Completed    semigroups-0.19.1
Starting     split-0.2.3.4
Completed    safe-0.3.18
Starting     syb-0.7.1
Building     split-0.2.3.4
Completed    network-3.1.1.1
Starting     tagged-0.8.6
Building     syb-0.7.1
Building     tagged-0.8.6
Completed    split-0.2.3.4
Starting     tagsoup-0.14.8
Building     tagsoup-0.14.8
Completed    primitive-0.7.0.1
Starting     th-abstraction-0.3.2.0
Building     th-abstraction-0.3.2.0
Completed    tagged-0.8.6
Starting     transformers-compat-0.6.5
Completed    syb-0.7.1
Starting     utf8-string-1.0.1.1
Building     transformers-compat-0.6.5
Building     utf8-string-1.0.1.1
Completed    transformers-compat-0.6.5
Starting     xml-1.3.14
Building     xml-1.3.14
Completed    th-abstraction-0.3.2.0
Starting     zlib-0.6.2.1
Building     zlib-0.6.2.1
Completed    utf8-string-1.0.1.1
Starting     contravariant-1.5.2
Building     contravariant-1.5.2
Completed    xml-1.3.14
Starting     base-compat-batteries-0.11.1
Building     base-compat-batteries-0.11.1
Completed    contravariant-1.5.2
Starting     time-compat-1.9.3
Building     time-compat-1.9.3
Completed    zlib-0.6.2.1
Starting     unicode-transforms-0.3.6
Completed    tagsoup-0.14.8
Starting     blaze-markup-0.8.2.4
Building     unicode-transforms-0.3.6
Building     blaze-markup-0.8.2.4
Completed    time-compat-1.9.3
Starting     ansi-terminal-0.10.3
Completed    base-compat-batteries-0.11.1
Starting     data-default-instances-containers-0.0.1
Building     ansi-terminal-0.10.3
Completed    blaze-markup-0.8.2.4
Starting     cookie-0.4.5
Building     data-default-instances-containers-0.0.1
Building     cookie-0.4.5
Completed    data-default-instances-containers-0.0.1
Starting     data-default-instances-dlist-0.0.1
Building     data-default-instances-dlist-0.0.1
Completed    cookie-0.4.5
Starting     hslua-1.0.3.2
Building     hslua-1.0.3.2
Completed    data-default-instances-dlist-0.0.1
Starting     unordered-containers-0.2.10.0
Completed    ansi-terminal-0.10.3
Starting     case-insensitive-1.2.1.0
Building     unordered-containers-0.2.10.0
Building     case-insensitive-1.2.1.0
Completed    case-insensitive-1.2.1.0
Starting     async-2.2.2
Building     async-2.2.2
Completed    async-2.2.2
Starting     memory-0.15.0
Building     memory-0.15.0
Completed    unordered-containers-0.2.10.0
Starting     hxt-unicode-9.0.2.4
Building     hxt-unicode-9.0.2.4
Completed    unicode-transforms-0.3.6
Starting     hxt-regex-xmlschema-9.2.0.3
Building     hxt-regex-xmlschema-9.2.0.3
Completed    hxt-unicode-9.0.2.4
Starting     data-default-instances-old-locale-0.0.1
Building     data-default-instances-old-locale-0.0.1
Completed    data-default-instances-old-locale-0.0.1
Starting     uuid-types-1.0.3
Completed    memory-0.15.0
Starting     temporary-1.3
Building     uuid-types-1.0.3
Building     temporary-1.3
Completed    hxt-regex-xmlschema-9.2.0.3
Starting     splitmix-0.0.4
Completed    hslua-1.0.3.2
Starting     regex-pcre-builtin-0.95.1.1.8.43
Completed    temporary-1.3
Starting     doclayout-0.3
Building     splitmix-0.0.4
Completed    uuid-types-1.0.3
Starting     socks-0.6.1
Building     regex-pcre-builtin-0.95.1.1.8.43
Building     doclayout-0.3
Building     socks-0.6.1
Completed    splitmix-0.0.4
Starting     HTTP-4000.3.14
Building     HTTP-4000.3.14
Completed    doclayout-0.3
Starting     vector-0.12.1.2
Completed    socks-0.6.1
Starting     scientific-0.3.6.2
Building     vector-0.12.1.2
Building     scientific-0.3.6.2
Completed    scientific-0.3.6.2
Starting     distributive-0.6.1
Building     distributive-0.6.1
Completed    regex-pcre-builtin-0.95.1.1.8.43
Starting     errors-2.3.0
Completed    HTTP-4000.3.14
Starting     Glob-0.10.0
Building     errors-2.3.0
Building     Glob-0.10.0
Completed    distributive-0.6.1
Starting     zip-archive-0.4.1
Building     zip-archive-0.4.1
Completed    errors-2.3.0
Starting     blaze-html-0.9.1.2
Building     blaze-html-0.9.1.2
Completed    Glob-0.10.0
Starting     http-types-0.12.3
Building     http-types-0.12.3
Completed    zip-archive-0.4.1
Starting     streaming-commons-0.2.1.2
Building     streaming-commons-0.2.1.2
Completed    http-types-0.12.3
Starting     protolude-0.2.4
Building     protolude-0.2.4
Completed    streaming-commons-0.2.1.2
Starting     data-default-0.7.1.1
Building     data-default-0.7.1.1
Completed    data-default-0.7.1.1
Starting     pem-0.2.4
Building     pem-0.2.4
Completed    protolude-0.2.4
Starting     cryptonite-0.26
Building     cryptonite-0.26
Completed    pem-0.2.4
Starting     asn1-types-0.3.4
Building     asn1-types-0.3.4
Completed    blaze-html-0.9.1.2
Starting     hxt-9.3.1.18
Completed    asn1-types-0.3.4
Starting     hslua-module-text-0.2.1
Building     hxt-9.3.1.18
Building     hslua-module-text-0.2.1
Completed    vector-0.12.1.2
Starting     hslua-module-system-0.2.1
Building     hslua-module-system-0.2.1
Completed    hslua-module-text-0.2.1
Starting     QuickCheck-2.13.2
Building     QuickCheck-2.13.2
Completed    hslua-module-system-0.2.1
Starting     attoparsec-0.13.2.4
Building     attoparsec-0.13.2.4
Completed    attoparsec-0.13.2.4
Starting     comonad-5.0.6
Building     comonad-5.0.6
Completed    comonad-5.0.6
Starting     text-conversions-0.3.0
Building     text-conversions-0.3.0
Completed    QuickCheck-2.13.2
Starting     http-client-0.6.4.1
Building     http-client-0.6.4.1
Completed    text-conversions-0.3.0
Starting     asn1-encoding-0.9.6
Building     asn1-encoding-0.9.6
Completed    asn1-encoding-0.9.6
Starting     vector-th-unbox-0.2.1.7
Building     vector-th-unbox-0.2.1.7
Completed    vector-th-unbox-0.2.1.7
Starting     vector-builder-0.3.8
Building     vector-builder-0.3.8
Completed    http-client-0.6.4.1
Starting     JuicyPixels-3.3.5
Building     JuicyPixels-3.3.5
Completed    vector-builder-0.3.8
Starting     aeson-1.4.7.1
Building     aeson-1.4.7.1
Completed    hxt-9.3.1.18
Starting     bifunctors-5.5.7
Building     bifunctors-5.5.7
Completed    bifunctors-5.5.7
Starting     asn1-parse-0.9.5
Building     asn1-parse-0.9.5
Completed    asn1-parse-0.9.5
Starting     math-functions-0.3.3.0
Building     math-functions-0.3.3.0
Completed    cryptonite-0.26
Starting     semigroupoids-5.3.4
Building     semigroupoids-5.3.4
Completed    math-functions-0.3.3.0
Starting     profunctors-5.5.2
Building     profunctors-5.5.2
Completed    aeson-1.4.7.1
Starting     x509-1.7.5
Building     x509-1.7.5
Completed    JuicyPixels-3.3.5
Starting     mwc-random-0.14.0.0
Building     mwc-random-0.14.0.0
Completed    semigroupoids-5.3.4
Starting     skylighting-core-0.8.3.4
Building     skylighting-core-0.8.3.4
Completed    profunctors-5.5.2
Starting     pandoc-types-1.20
Building     pandoc-types-1.20
Completed    x509-1.7.5
Starting     ipynb-0.1
Building     ipynb-0.1
Completed    mwc-random-0.14.0.0
Starting     doctemplates-0.8.1
Building     doctemplates-0.8.1
Completed    ipynb-0.1
Starting     aeson-pretty-0.8.8
Building     aeson-pretty-0.8.8
Completed    aeson-pretty-0.8.8
Starting     x509-store-1.6.7
Building     x509-store-1.6.7
Completed    doctemplates-0.8.1
Starting     foldl-1.4.6
Completed    pandoc-types-1.20
Building     foldl-1.4.6
Starting     texmath-0.12.0.1
Completed    x509-store-1.6.7
Starting     x509-validation-1.6.11
Building     x509-validation-1.6.11
Building     texmath-0.12.0.1
Completed    skylighting-core-0.8.3.4
Starting     x509-system-1.6.6
Building     x509-system-1.6.6
Completed    x509-validation-1.6.11
Starting     skylighting-0.8.3.4
Completed    x509-system-1.6.6
Starting     tls-1.5.4
Building     skylighting-0.8.3.4
Building     tls-1.5.4
Completed    foldl-1.4.6
Completed    tls-1.5.4
Starting     connection-0.3.1
Building     connection-0.3.1
Completed    connection-0.3.1
Starting     http-client-tls-0.3.5.3
Building     http-client-tls-0.3.5.3
Completed    http-client-tls-0.3.5.3
Completed    skylighting-0.8.3.4
Completed    texmath-0.12.0.1
Starting     pandoc-2.9.2.1
Building     pandoc-2.9.2.1
Completed    pandoc-2.9.2.1
Starting     readme-lhs-0.4.0
Building     readme-lhs-0.4.0
Failed to install readme-lhs-0.4.0
Build log ( /home/builder/.cabal/logs/ghc-8.6.3/readme-lhs-0.4.0-fsQROkzXad4uVoOSjqE4m.log ):
cabal: Entering directory '/tmp/cabal-tmp-8086/readme-lhs-0.4.0'
Configuring readme-lhs-0.4.0...
Preprocessing library for readme-lhs-0.4.0..
Building library for readme-lhs-0.4.0..
[1 of 2] Compiling Readme.Convert   ( src/Readme/Convert.hs, dist/build/Readme/Convert.o )
[2 of 2] Compiling Readme.Lhs       ( src/Readme/Lhs.hs, dist/build/Readme/Lhs.o )

src/Readme/Lhs.hs:56:27: error:
    • Couldn't match type ‘[Char]’ with ‘Text’
      Expected type: Text -> Text
        Actual type: Text -> String
    • In the second argument of ‘(.)’, namely ‘unpack’
      In the first argument of ‘fmap’, namely ‘(Str . unpack)’
      In the first argument of ‘(.)’, namely ‘fmap (Str . unpack)’
   |
56 | para = Para . fmap (Str . Text.unpack) . Text.lines
   |                           ^^^^^^^^^^^

src/Readme/Lhs.hs:62:29: error:
    • Couldn't match type ‘[Char]’ with ‘Text’
      Expected type: Text -> Text
        Actual type: Text -> String
    • In the second argument of ‘(.)’, namely ‘unpack’
      In the first argument of ‘fmap’, namely ‘(Str . unpack)’
      In the first argument of ‘(.)’, namely ‘fmap (Str . unpack)’
   |
62 | plain = Plain . fmap (Str . Text.unpack) . Text.lines
   |                             ^^^^^^^^^^^

src/Readme/Lhs.hs:68:22: error:
    • Couldn't match type ‘[Char]’ with ‘Text’
      Expected type: Text -> Text
        Actual type: Text -> String
    • In the second argument of ‘(.)’, namely ‘unpack’
      In the first argument of ‘fmap’, namely ‘(Str . unpack)’
      In the first argument of ‘(.)’, namely ‘fmap (Str . unpack)’
   |
68 | inline = fmap (Str . Text.unpack) . Text.lines
   |                      ^^^^^^^^^^^

src/Readme/Lhs.hs:74:41: error:
    • Couldn't match type ‘[Char]’ with ‘Text’
      Expected type: Text
        Actual type: String
    • In the first argument of ‘Str’, namely ‘(unpack name)’
      In the expression: Str (unpack name)
      In the second argument of ‘Link’, namely ‘[Str (unpack name)]’
   |
74 | link name url = Link ("", [], []) [Str (Text.unpack name)] (Text.unpack url, "")
   |                                         ^^^^^^^^^^^^^^^^

src/Readme/Lhs.hs:74:61: error:
    • Couldn't match type ‘[Char]’ with ‘Text’
      Expected type: Text
        Actual type: String
    • In the expression: unpack url
      In the third argument of ‘Link’, namely ‘(unpack url, "")’
      In the expression:
        Link ("", [], []) [Str (unpack name)] (unpack url, "")
   |
74 | link name url = Link ("", [], []) [Str (Text.unpack name)] (Text.unpack url, "")
   |                                                             ^^^^^^^^^^^^^^^

src/Readme/Lhs.hs:80:56: error:
    • Couldn't match type ‘[Char]’ with ‘Text’
      Expected type: Text
        Actual type: String
    • In the first argument of ‘Str’, namely ‘(unpack name)’
      In the expression: Str (unpack name)
      In the second argument of ‘Link’, namely ‘[Str (unpack name)]’
   |
80 | linkTooltip name url tooltip = Link ("", [], []) [Str (Text.unpack name)] (Text.unpack url, Text.unpack tooltip)
   |                                                        ^^^^^^^^^^^^^^^^

src/Readme/Lhs.hs:80:76: error:
    • Couldn't match type ‘[Char]’ with ‘Text’
      Expected type: Text
        Actual type: String
    • In the expression: unpack url
      In the third argument of ‘Link’, namely
        ‘(unpack url, unpack tooltip)’
      In the expression:
        Link ("", [], []) [Str (unpack name)] (unpack url, unpack tooltip)
   |
80 | linkTooltip name url tooltip = Link ("", [], []) [Str (Text.unpack name)] (Text.unpack url, Text.unpack tooltip)
   |                                                                            ^^^^^^^^^^^^^^^

src/Readme/Lhs.hs:80:93: error:
    • Couldn't match type ‘[Char]’ with ‘Text’
      Expected type: Text
        Actual type: String
    • In the expression: unpack tooltip
      In the third argument of ‘Link’, namely
        ‘(unpack url, unpack tooltip)’
      In the expression:
        Link ("", [], []) [Str (unpack name)] (unpack url, unpack tooltip)
   |
80 | linkTooltip name url tooltip = Link ("", [], []) [Str (Text.unpack name)] (Text.unpack url, Text.unpack tooltip)
   |                                                                                             ^^^^^^^^^^^^^^^^^^^

src/Readme/Lhs.hs:86:43: error:
    • Couldn't match type ‘[Char]’ with ‘Text’
      Expected type: Text
        Actual type: String
    • In the first argument of ‘Str’, namely ‘(unpack name)’
      In the expression: Str (unpack name)
      In the second argument of ‘Image’, namely ‘[Str (unpack name)]’
   |
86 | image name url = Image ("", [], []) [Str (Text.unpack name)] (Text.unpack url, "")
   |                                           ^^^^^^^^^^^^^^^^

src/Readme/Lhs.hs:86:63: error:
    • Couldn't match type ‘[Char]’ with ‘Text’
      Expected type: Text
        Actual type: String
    • In the expression: unpack url
      In the third argument of ‘Image’, namely ‘(unpack url, "")’
      In the expression:
        Image ("", [], []) [Str (unpack name)] (unpack url, "")
   |
86 | image name url = Image ("", [], []) [Str (Text.unpack name)] (Text.unpack url, "")
   |                                                               ^^^^^^^^^^^^^^^

src/Readme/Lhs.hs:92:70: error:
    • Couldn't match type ‘[Char]’ with ‘Text’
      Expected type: Text
        Actual type: String
    • In the first argument of ‘Str’, namely ‘(unpack label)’
      In the expression: Str (unpack label)
      In the second argument of ‘Image’, namely ‘[Str (unpack label)]’
   |
92 | badge label badge' url = Link ("", [], []) [Image ("", [], []) [Str (Text.unpack label)] (Text.unpack badge', "")] (Text.unpack url, "")
   |                                                                      ^^^^^^^^^^^^^^^^^

src/Readme/Lhs.hs:92:91: error:
    • Couldn't match type ‘[Char]’ with ‘Text’
      Expected type: Text
        Actual type: String
    • In the expression: unpack badge'
      In the third argument of ‘Image’, namely ‘(unpack badge', "")’
      In the expression:
        Image ("", [], []) [Str (unpack label)] (unpack badge', "")
   |
92 | badge label badge' url = Link ("", [], []) [Image ("", [], []) [Str (Text.unpack label)] (Text.unpack badge', "")] (Text.unpack url, "")
   |                                                                                           ^^^^^^^^^^^^^^^^^^

src/Readme/Lhs.hs:92:117: error:
    • Couldn't match type ‘[Char]’ with ‘Text’
      Expected type: Text
        Actual type: String
    • In the expression: unpack url
      In the third argument of ‘Link’, namely ‘(unpack url, "")’
      In the expression:
        Link
          ("", [], [])
          [Image ("", [], []) [Str (unpack label)] (unpack badge', "")]
          (unpack url, "")
   |
92 | badge label badge' url = Link ("", [], []) [Image ("", [], []) [Str (Text.unpack label)] (Text.unpack badge', "")] (Text.unpack url, "")
   |                                                                                                                     ^^^^^^^^^^^^^^^

src/Readme/Lhs.hs:123:14: error:
    • Couldn't match type ‘[Char]’ with ‘Text’
      Expected type: Text
        Actual type: String
    • In the expression: unpack name
      In the first argument of ‘CodeBlock’, namely
        ‘(unpack name, unpack <$> classes, [])’
      In the first argument of ‘(.)’, namely
        ‘CodeBlock (unpack name, unpack <$> classes, [])’
    |
123 |   CodeBlock (Text.unpack name, Text.unpack <$> classes, []) . Text.unpack
    |              ^^^^^^^^^^^^^^^^

src/Readme/Lhs.hs:123:32: error:
    • Couldn't match type ‘[Char]’ with ‘Text’
      Expected type: [Text]
        Actual type: [String]
    • In the expression: unpack <$> classes
      In the first argument of ‘CodeBlock’, namely
        ‘(unpack name, unpack <$> classes, [])’
      In the first argument of ‘(.)’, namely
        ‘CodeBlock (unpack name, unpack <$> classes, [])’
    |
123 |   CodeBlock (Text.unpack name, Text.unpack <$> classes, []) . Text.unpack
    |                                ^^^^^^^^^^^^^^^^^^^^^^^

src/Readme/Lhs.hs:123:63: error:
    • Couldn't match type ‘[Char]’ with ‘Text’
      Expected type: Text -> Text
        Actual type: Text -> String
    • In the second argument of ‘(.)’, namely ‘unpack’
      In the expression:
        CodeBlock (unpack name, unpack <$> classes, []) . unpack
      In an equation for ‘code’:
          code name classes
            = CodeBlock (unpack name, unpack <$> classes, []) . unpack
    |
123 |   CodeBlock (Text.unpack name, Text.unpack <$> classes, []) . Text.unpack
    |                                                               ^^^^^^^^^^^

src/Readme/Lhs.hs:197:64: error:
    • Couldn't match type ‘[Char]’ with ‘Text’
      Expected type: Text -> Text
        Actual type: Text -> String
    • In the second argument of ‘(.)’, namely ‘unpack’
      In the expression: CodeBlock (id', classes, kv) . unpack
      In the expression: CodeBlock (id', classes, kv) . unpack $ t
    |
197 |                     Fence t -> [CodeBlock (id', classes, kv) . Text.unpack $ t]
    |                                                                ^^^^^^^^^^^

src/Readme/Lhs.hs:203:59: error:
    • Couldn't match type ‘[Char]’ with ‘Text’
      Expected type: Text -> Text
        Actual type: Text -> String
    • In the second argument of ‘(.)’, namely ‘unpack’
      In the first argument of ‘Prelude.filter’, namely
        ‘((`elem` classes) . unpack)’
      In the first argument of ‘(.)’, namely
        ‘Prelude.filter ((`elem` classes) . unpack)’
    |
203 |           (headMaybe . Prelude.filter ((`elem` classes) . Text.unpack) . Map.keys $ m)
    |                                                           ^^^^^^^^^^^
cabal: Leaving directory '/tmp/cabal-tmp-8086/readme-lhs-0.4.0'
cabal: Error: some packages failed to install:
readme-lhs-0.4.0-fsQROkzXad4uVoOSjqE4m failed during the building phase. The
exception was:
ExitFailure 1

Test log

No test log was submitted for this report.