Build #2 for symbols-0.2.0.0

[all reports]

Package symbols-0.2.0.0
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2018-11-29 20:25:55.853299195 UTC
Compiler ghc-8.6.1
OS linux
Arch x86_64
Dependencies base-4.12.0.0
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     symbols-0.2.0.0
Building     symbols-0.2.0.0
Failed to install symbols-0.2.0.0
Build log ( /home/builder/.cabal/logs/ghc-8.6.1/symbols-0.2.0.0-7w0QWFm9oznG5kUBzP3kvw.log ):
cabal: Entering directory '/tmp/cabal-tmp-3707/symbols-0.2.0.0'
Configuring symbols-0.2.0.0...
Preprocessing library for symbols-0.2.0.0..
Building library for symbols-0.2.0.0..
[1 of 3] Compiling Data.Symbol.Ascii ( src/Data/Symbol/Ascii.hs, dist/build/Data/Symbol/Ascii.o )

src/Data/Symbol/Ascii.hs:136:41: error:
    • Expected kind ‘* -> Nat -> Nat’, but ‘acc’ has kind ‘Nat’
    • In the first argument of ‘(+)’, namely ‘acc * 10’
      In the second argument of ‘ReadNat1’, namely
        ‘(acc * 10 + ReadDigit x)’
      In the type ‘ReadNat1 xs (acc * 10 + ReadDigit x)’
    |
136 |   ReadNat1 (x ': xs) acc = ReadNat1 xs (acc * 10 + ReadDigit x)
    |                                         ^^^^^^^^
cabal: Leaving directory '/tmp/cabal-tmp-3707/symbols-0.2.0.0'
cabal: Error: some packages failed to install:
symbols-0.2.0.0-7w0QWFm9oznG5kUBzP3kvw failed during the building phase. The
exception was:
ExitFailure 1

Test log

No test log was submitted for this report.