Build #3 for pandoc-plantuml-diagrams-0.1.0.4

[all reports]

Package pandoc-plantuml-diagrams-0.1.0.4
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2020-01-23 17:24:37.758493383 UTC
Compiler ghc-8.6.3
OS linux
Arch x86_64
Dependencies SHA-1.6.4.4, base-4.12.0.0, bytestring-0.10.8.2, directory-1.3.3.0, pandoc-types-1.20, process-1.6.3.0, utf8-string-1.0.1.1, base-4.12.0.0, pandoc-types-1.20
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     dlist-0.8.0.7
Starting     base-orphans-0.8.1
Starting     SHA-1.6.4.4
Starting     base-compat-0.11.0
Building     dlist-0.8.0.7
Building     base-orphans-0.8.1
Building     SHA-1.6.4.4
Building     base-compat-0.11.0
Completed    base-orphans-0.8.1
Starting     hashable-1.3.0.0
Building     hashable-1.3.0.0
Completed    dlist-0.8.0.7
Starting     integer-logarithms-1.0.3
Building     integer-logarithms-1.0.3
Completed    integer-logarithms-1.0.3
Starting     primitive-0.7.0.0
Building     primitive-0.7.0.0
Completed    hashable-1.3.0.0
Starting     random-1.1
Building     random-1.1
Completed    base-compat-0.11.0
Starting     syb-0.7.1
Completed    SHA-1.6.4.4
Starting     tagged-0.8.6
Building     syb-0.7.1
Building     tagged-0.8.6
Completed    random-1.1
Starting     th-abstraction-0.3.1.0
Building     th-abstraction-0.3.1.0
Completed    tagged-0.8.6
Starting     utf8-string-1.0.1.1
Completed    syb-0.7.1
Starting     time-compat-1.9.2.2
Building     utf8-string-1.0.1.1
Building     time-compat-1.9.2.2
Completed    th-abstraction-0.3.1.0
Starting     unordered-containers-0.2.10.0
Building     unordered-containers-0.2.10.0
Completed    utf8-string-1.0.1.1
Starting     uuid-types-1.0.3
Completed    time-compat-1.9.2.2
Starting     splitmix-0.0.3
Building     uuid-types-1.0.3
Building     splitmix-0.0.3
Completed    primitive-0.7.0.0
Starting     vector-0.12.0.3
Building     vector-0.12.0.3
Completed    splitmix-0.0.3
Starting     scientific-0.3.6.2
Completed    uuid-types-1.0.3
Starting     QuickCheck-2.13.2
Building     scientific-0.3.6.2
Building     QuickCheck-2.13.2
Completed    scientific-0.3.6.2
Starting     attoparsec-0.13.2.3
Building     attoparsec-0.13.2.3
Completed    unordered-containers-0.2.10.0
Completed    attoparsec-0.13.2.3
Completed    QuickCheck-2.13.2
Completed    vector-0.12.0.3
Starting     aeson-1.4.6.0
Building     aeson-1.4.6.0
Completed    aeson-1.4.6.0
Starting     pandoc-types-1.20
Building     pandoc-types-1.20
Completed    pandoc-types-1.20
Starting     pandoc-plantuml-diagrams-0.1.0.4
Building     pandoc-plantuml-diagrams-0.1.0.4
Failed to install pandoc-plantuml-diagrams-0.1.0.4
Build log ( /home/builder/.cabal/logs/ghc-8.6.3/pandoc-plantuml-diagrams-0.1.0.4-AlMtU80upnOFQLQV0svjh3.log ):
cabal: Entering directory '/tmp/cabal-tmp-25724/pandoc-plantuml-diagrams-0.1.0.4'
Configuring pandoc-plantuml-diagrams-0.1.0.4...
Preprocessing library for pandoc-plantuml-diagrams-0.1.0.4..
Building library for pandoc-plantuml-diagrams-0.1.0.4..
[1 of 6] Compiling Text.Pandoc.PlantUML.Filter.Types ( src/Text/Pandoc/PlantUML/Filter/Types.hs, dist/build/Text/Pandoc/PlantUML/Filter/Types.o )
[2 of 6] Compiling Text.Pandoc.PlantUML.Filter.OutputBlock ( src/Text/Pandoc/PlantUML/Filter/OutputBlock.hs, dist/build/Text/Pandoc/PlantUML/Filter/OutputBlock.o )

src/Text/Pandoc/PlantUML/Filter/OutputBlock.hs:22:70: error:
    • Couldn't match type ‘[Char]’
                     with ‘text-1.2.3.1:Data.Text.Internal.Text’
      Expected type: text-1.2.3.1:Data.Text.Internal.Text
        Actual type: String
    • In the expression: show imageFileName
      In the third argument of ‘Image’, namely
        ‘(show imageFileName, "fig:")’
      In the expression:
        Image nullAttr (altTagInline attr) (show imageFileName, "fig:")
   |
22 | imageTag imageFileName attr    = Image nullAttr (altTagInline attr) (show imageFileName, "fig:")
   |                                                                      ^^^^^^^^^^^^^^^^^^

src/Text/Pandoc/PlantUML/Filter/OutputBlock.hs:22:90: error:
    • Couldn't match expected type ‘text-1.2.3.1:Data.Text.Internal.Text’
                  with actual type ‘[Char]’
    • In the expression: "fig:"
      In the third argument of ‘Image’, namely
        ‘(show imageFileName, "fig:")’
      In the expression:
        Image nullAttr (altTagInline attr) (show imageFileName, "fig:")
   |
22 | imageTag imageFileName attr    = Image nullAttr (altTagInline attr) (show imageFileName, "fig:")
   |                                                                                          ^^^^^^

src/Text/Pandoc/PlantUML/Filter/OutputBlock.hs:25:39: error:
    • Couldn't match expected type ‘text-1.2.3.1:Data.Text.Internal.Text’
                  with actual type ‘[Char]’
    • In the first argument of ‘Str’, namely ‘("{#" ++ id ++ "}")’
      In the expression: Str ("{#" ++ id ++ "}")
      In an equation for ‘idTag’:
          idTag _ (id, _, _) = Str ("{#" ++ id ++ "}")
   |
25 | idTag _ (id, _, _)             = Str ("{#" ++ id ++ "}")
   |                                       ^^^^^^^^^^^^^^^^^

src/Text/Pandoc/PlantUML/Filter/OutputBlock.hs:25:47: error:
    • Couldn't match expected type ‘[Char]’
                  with actual type ‘text-1.2.3.1:Data.Text.Internal.Text’
    • In the first argument of ‘(++)’, namely ‘id’
      In the second argument of ‘(++)’, namely ‘id ++ "}"’
      In the first argument of ‘Str’, namely ‘("{#" ++ id ++ "}")’
   |
25 | idTag _ (id, _, _)             = Str ("{#" ++ id ++ "}")
   |                                               ^^

src/Text/Pandoc/PlantUML/Filter/OutputBlock.hs:31:36: error:
    • Couldn't match type ‘text-1.2.3.1:Data.Text.Internal.Text’
                     with ‘[Char]’
      Expected type: [([Char], text-1.2.3.1:Data.Text.Internal.Text)]
        Actual type: [(text-1.2.3.1:Data.Text.Internal.Text,
                       text-1.2.3.1:Data.Text.Internal.Text)]
    • In the second argument of ‘lookup’, namely ‘keyValues’
      In the expression: lookup "caption" keyValues
      In an equation for ‘altText’: altText = lookup "caption" keyValues
   |
31 |   where altText = lookup "caption" keyValues
   |                                    ^^^^^^^^^
cabal: Leaving directory '/tmp/cabal-tmp-25724/pandoc-plantuml-diagrams-0.1.0.4'
cabal: Error: some packages failed to install:
pandoc-plantuml-diagrams-0.1.0.4-AlMtU80upnOFQLQV0svjh3 failed during the
building phase. The exception was:
ExitFailure 1

Test log

No test log was submitted for this report.