Build #2 for hasktorch-codegen-0.0.1.0

[all reports]

Package hasktorch-codegen-0.0.1.0
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2018-11-02 07:29:07.673347068 UTC
Compiler ghc-8.6.1
OS linux
Arch x86_64
Dependencies base-4.12.0.0, containers-0.6.0.1, directory-1.3.3.0, hashable-1.2.7.0, megaparsec-7.0.3, pretty-show-1.9.1, text-1.2.3.1, unordered-containers-0.2.9.0, base-4.12.0.0, optparse-applicative-0.14.3.0, pretty-show-1.9.1
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     colour-2.3.4
Starting     hashable-1.2.7.0
Building     colour-2.3.4
Building     hashable-1.2.7.0
Completed    hashable-1.2.7.0
Starting     haskell-lexer-1.0.2
Building     haskell-lexer-1.0.2
Completed    colour-2.3.4
Starting     integer-logarithms-1.0.2.2
Building     integer-logarithms-1.0.2.2
Completed    integer-logarithms-1.0.2.2
Starting     parser-combinators-1.0.0
Building     parser-combinators-1.0.0
Completed    parser-combinators-1.0.0
Starting     primitive-0.6.4.0
Building     primitive-0.6.4.0
Completed    haskell-lexer-1.0.2
Starting     transformers-compat-0.6.2
Building     transformers-compat-0.6.2
Completed    primitive-0.6.4.0
Starting     unordered-containers-0.2.9.0
Building     unordered-containers-0.2.9.0
Completed    transformers-compat-0.6.2
Starting     case-insensitive-1.2.0.11
Building     case-insensitive-1.2.0.11
Completed    case-insensitive-1.2.0.11
Starting     ansi-terminal-0.8.2
Building     ansi-terminal-0.8.2
Completed    ansi-terminal-0.8.2
Starting     pretty-show-1.9.1
Completed    unordered-containers-0.2.9.0
Starting     scientific-0.3.6.2
Building     pretty-show-1.9.1
Building     scientific-0.3.6.2
Completed    scientific-0.3.6.2
Starting     ansi-wl-pprint-0.6.8.2
Building     ansi-wl-pprint-0.6.8.2
Completed    pretty-show-1.9.1
Starting     megaparsec-7.0.3
Building     megaparsec-7.0.3
Completed    ansi-wl-pprint-0.6.8.2
Starting     optparse-applicative-0.14.3.0
Building     optparse-applicative-0.14.3.0
Completed    optparse-applicative-0.14.3.0
Completed    megaparsec-7.0.3
Starting     hasktorch-codegen-0.0.1.0
Building     hasktorch-codegen-0.0.1.0
Failed to install hasktorch-codegen-0.0.1.0
Build log ( /home/builder/.cabal/logs/ghc-8.6.1/hasktorch-codegen-0.0.1.0-44W3GrxVBS7H11ohn6AToy.log ):
cabal: Entering directory '/tmp/cabal-tmp-3799/hasktorch-codegen-0.0.1.0'
Configuring hasktorch-codegen-0.0.1.0...
Preprocessing library for hasktorch-codegen-0.0.1.0..
Building library for hasktorch-codegen-0.0.1.0..
[ 1 of 13] Compiling CodeGen.Prelude  ( src/CodeGen/Prelude.hs, dist/build/CodeGen/Prelude.o )
[ 2 of 13] Compiling CodeGen.Types.CLI ( src/CodeGen/Types/CLI.hs, dist/build/CodeGen/Types/CLI.o )
[ 3 of 13] Compiling CodeGen.Types.Parsed ( src/CodeGen/Types/Parsed.hs, dist/build/CodeGen/Types/Parsed.o )
[ 4 of 13] Compiling CodeGen.Types.HsOutput ( src/CodeGen/Types/HsOutput.hs, dist/build/CodeGen/Types/HsOutput.o )
[ 5 of 13] Compiling CodeGen.Types    ( src/CodeGen/Types.hs, dist/build/CodeGen/Types.o )
[ 6 of 13] Compiling CodeGen.Render.C ( src/CodeGen/Render/C.hs, dist/build/CodeGen/Render/C.o )
[ 7 of 13] Compiling CodeGen.Parse.Cases ( src/CodeGen/Parse/Cases.hs, dist/build/CodeGen/Parse/Cases.o )
[ 8 of 13] Compiling CodeGen.Render.Haskell ( src/CodeGen/Render/Haskell.hs, dist/build/CodeGen/Render/Haskell.o )
[ 9 of 13] Compiling CodeGen.Render.Function ( src/CodeGen/Render/Function.hs, dist/build/CodeGen/Render/Function.o )
[10 of 13] Compiling CodeGen.Parse    ( src/CodeGen/Parse.hs, dist/build/CodeGen/Parse.o )

src/CodeGen/Parse.hs:122:62: error:
    • Variable not in scope:
        notChar
          :: Char -> ParsecT Void String Data.Functor.Identity.Identity a3
    • Perhaps you meant one of these:
        ‘getChar’ (imported from CodeGen.Prelude),
        ‘putChar’ (imported from CodeGen.Prelude)
    |
122 |     <|> try (void (char ',' >> space >> string "//" >> some (notChar '\n') >> eol))
    |                                                              ^^^^^^^

src/CodeGen/Parse.hs:127:44: error:
    • Variable not in scope:
        notChar
          :: Char -> ParsecT Void String Data.Functor.Identity.Identity a2
    • Perhaps you meant one of these:
        ‘getChar’ (imported from CodeGen.Prelude),
        ‘putChar’ (imported from CodeGen.Prelude)
    |
127 |     =   try (space >> string "//" >> some (notChar '\n') >> eol >> space >> lookAhead (void $ char ')'))
    |                                            ^^^^^^^

src/CodeGen/Parse.hs:171:25: error:
    • Variable not in scope:
        notChar
          :: Char -> ParsecT Void String Data.Functor.Identity.Identity a1
    • Perhaps you meant one of these:
        ‘getChar’ (imported from CodeGen.Prelude),
        ‘putChar’ (imported from CodeGen.Prelude)
    |
171 |   void $ eol <|> (some (notChar '\n') >> eol)
    |                         ^^^^^^^

src/CodeGen/Parse.hs:194:16: error:
    • Variable not in scope:
        notChar
          :: Char -> ParsecT Void String Data.Functor.Identity.Identity a0
    • Perhaps you meant one of these:
        ‘getChar’ (imported from CodeGen.Prelude),
        ‘putChar’ (imported from CodeGen.Prelude)
    |
194 |   void $ many (notChar '\n') <* (void eol <|> eof)
    |                ^^^^^^^
cabal: Leaving directory '/tmp/cabal-tmp-3799/hasktorch-codegen-0.0.1.0'
cabal: Error: some packages failed to install:
hasktorch-codegen-0.0.1.0-44W3GrxVBS7H11ohn6AToy failed during the building
phase. The exception was:
ExitFailure 1

Test log

No test log was submitted for this report.