Build #2 for language-docker-7.0.0

[all reports]

Package language-docker-7.0.0
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2018-10-21 15:47:16.849364969 UTC
Compiler ghc-8.4.3
OS linux
Arch x86_64
Dependencies base-4.11.1.0, bytestring-0.10.8.2, containers-0.5.11.0, free-5.1, megaparsec-7.0.2, mtl-2.2.2, prettyprinter-1.2.1, split-0.2.3.3, template-haskell-2.13.0.0, text-1.2.3.0, th-lift-0.7.11, time-1.8.0.2
Flags none

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Configuring base-orphans-0.8...
Configuring cabal-doctest-1.0.6...
Building base-orphans-0.8...
Building cabal-doctest-1.0.6...
Installed cabal-doctest-1.0.6
Configuring hashable-1.2.7.0...
Building hashable-1.2.7.0...
Installed base-orphans-0.8
Configuring integer-logarithms-1.0.2.2...
Building integer-logarithms-1.0.2.2...
Installed integer-logarithms-1.0.2.2
Configuring parser-combinators-1.0.0...
Building parser-combinators-1.0.0...
Installed hashable-1.2.7.0
Configuring prettyprinter-1.2.1...
Building prettyprinter-1.2.1...
Installed parser-combinators-1.0.0
Configuring primitive-0.6.4.0...
Building primitive-0.6.4.0...
Installed prettyprinter-1.2.1
Configuring semigroups-0.18.5...
Building semigroups-0.18.5...
Installed semigroups-0.18.5
Configuring split-0.2.3.3...
Building split-0.2.3.3...
Installed split-0.2.3.3
Configuring stm-2.5.0.0...
Building stm-2.5.0.0...
Installed stm-2.5.0.0
Configuring tagged-0.8.6...
Building tagged-0.8.6...
Installed primitive-0.6.4.0
Configuring th-abstraction-0.2.8.0...
Building th-abstraction-0.2.8.0...
Installed tagged-0.8.6
Configuring transformers-compat-0.6.2...
Building transformers-compat-0.6.2...
Installed th-abstraction-0.2.8.0
Configuring unordered-containers-0.2.9.0...
Building unordered-containers-0.2.9.0...
Installed transformers-compat-0.6.2
Configuring case-insensitive-1.2.0.11...
Building case-insensitive-1.2.0.11...
Installed case-insensitive-1.2.0.11
Configuring StateVar-1.1.1.1...
Building StateVar-1.1.1.1...
Installed StateVar-1.1.1.1
Configuring scientific-0.3.6.2...
Building scientific-0.3.6.2...
Installed unordered-containers-0.2.9.0
Configuring distributive-0.6...
Installed scientific-0.3.6.2
Configuring th-lift-0.7.11...
Building th-lift-0.7.11...
Building distributive-0.6...
Installed distributive-0.6
Configuring transformers-base-0.4.5.2...
Installed th-lift-0.7.11
Configuring exceptions-0.10.0...
Building transformers-base-0.4.5.2...
Building exceptions-0.10.0...
Installed transformers-base-0.4.5.2
Configuring contravariant-1.5...
Building contravariant-1.5...
Installed exceptions-0.10.0
Configuring megaparsec-7.0.2...
Building megaparsec-7.0.2...
Installed contravariant-1.5
Configuring comonad-5.0.4...
Building comonad-5.0.4...
Installed comonad-5.0.4
Configuring bifunctors-5.5.3...
Building bifunctors-5.5.3...
Installed megaparsec-7.0.2
Installed bifunctors-5.5.3
Configuring semigroupoids-5.3.1...
Configuring profunctors-5.3...
Building profunctors-5.3...
Building semigroupoids-5.3.1...
Installed profunctors-5.3
Installed semigroupoids-5.3.1
Configuring free-5.1...
Building free-5.1...
Installed free-5.1
Configuring language-docker-7.0.0...
Building language-docker-7.0.0...
Failed to install language-docker-7.0.0
Build log ( /home/builder/.cabal/logs/ghc-8.4.3/language-docker-7.0.0-9VWpnouhAKOANmhKakJeF7.log ):
cabal: Entering directory '/tmp/cabal-tmp-9269/language-docker-7.0.0'
Configuring language-docker-7.0.0...
Preprocessing library for language-docker-7.0.0..
Building library for language-docker-7.0.0..
[ 1 of 10] Compiling Language.Docker.Normalize ( src/Language/Docker/Normalize.hs, dist/build/Language/Docker/Normalize.o )
[ 2 of 10] Compiling Language.Docker.Syntax ( src/Language/Docker/Syntax.hs, dist/build/Language/Docker/Syntax.o )
[ 3 of 10] Compiling Language.Docker.PrettyPrint ( src/Language/Docker/PrettyPrint.hs, dist/build/Language/Docker/PrettyPrint.o )
[ 4 of 10] Compiling Language.Docker.Parser ( src/Language/Docker/Parser.hs, dist/build/Language/Docker/Parser.o )

src/Language/Docker/Parser.hs:585:16: error:
    Variable not in scope:
      getPosition
        :: ParsecT
             DockerfileError Text Data.Functor.Identity.Identity SourcePos
    |
585 |         pos <- getPosition
    |                ^^^^^^^^^^^

src/Language/Docker/Parser.hs:591:15: error:
    • Couldn't match type ‘ParseErrorBundle Text DockerfileError’
                     with ‘ParseError Char DockerfileError’
      Expected type: Either Error Dockerfile
        Actual type: Either
                       (ParseErrorBundle Text DockerfileError) Dockerfile
    • In the expression:
        parse (contents dockerfile) "<string>" $ normalizeEscapedLines s
      In an equation for ‘parseText’:
          parseText s
            = parse (contents dockerfile) "<string>" $ normalizeEscapedLines s
    |
591 | parseText s = parse (contents dockerfile) "<string>" $ normalizeEscapedLines s
    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Language/Docker/Parser.hs:594:18: error:
    • Couldn't match type ‘ParseErrorBundle Text DockerfileError’
                     with ‘ParseError Char DockerfileError’
      Expected type: IO (Either Error Dockerfile)
        Actual type: IO
                       (Either (ParseErrorBundle Text DockerfileError) Dockerfile)
    • In the expression: doParse <$> B.readFile file
      In an equation for ‘parseFile’:
          parseFile file
            = doParse <$> B.readFile file
            where
                doParse
                  = parse (contents dockerfile) file
                      . normalizeEscapedLines . E.decodeUtf8With E.lenientDecode
    |
594 | parseFile file = doParse <$> B.readFile file
    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Language/Docker/Parser.hs:601:14: error:
    • Couldn't match type ‘ParseErrorBundle Text DockerfileError’
                     with ‘ParseError Char DockerfileError’
      Expected type: IO (Either Error Dockerfile)
        Actual type: IO
                       (Either (ParseErrorBundle Text DockerfileError) Dockerfile)
    • In the expression: doParse <$> B.getContents
      In an equation for ‘parseStdin’:
          parseStdin
            = doParse <$> B.getContents
            where
                doParse
                  = parse (contents dockerfile) "/dev/stdin"
                      . normalizeEscapedLines . E.decodeUtf8With E.lenientDecode
    |
601 | parseStdin = doParse <$> B.getContents
    |              ^^^^^^^^^^^^^^^^^^^^^^^^^
cabal: Leaving directory '/tmp/cabal-tmp-9269/language-docker-7.0.0'
cabal: Error: some packages failed to install:
language-docker-7.0.0-9VWpnouhAKOANmhKakJeF7 failed during the building phase.
The exception was:
ExitFailure 1

Test log

No test log was submitted for this report.