Build #6 for ip6addr-0.3

[all reports]

Package ip6addr-0.3
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2016-12-28 20:16:15.724902 UTC
Compiler ghc-8.0.1.20161018
OS linux
Arch x86_64
Dependencies base-4.9.0.0, base-4.9.0.0, random-1.1
Flags none

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Configuring random-1.1...
Building random-1.1...
Installed random-1.1
Downloading ip6addr-0.3...
Configuring ip6addr-0.3...
Building ip6addr-0.3...
Failed to install ip6addr-0.3
Build log ( /home/builder/.cabal/logs/ip6addr-0.3.log ):
cabal: Entering directory '/tmp/cabal-tmp-24033/ip6addr-0.3'
Configuring ip6addr-0.3...
Building ip6addr-0.3...
Preprocessing executable 'ip6addrcan' for ip6addr-0.3...
[1 of 3] Compiling IPv6Addr         ( src/IPv6Addr.hs, dist/build/ip6addrcan/ip6addrcan-tmp/IPv6Addr.o )

src/IPv6Addr.hs:168:64: error:
    • Could not deduce (Eq b) arising from an operator section
      from the context: Num b
        bound by the type signature for:
                   firstLongestZerosRunIndex :: Num b => [(Bool, b)] -> b -> b
        at src/IPv6Addr.hs:167:1-61
      Possible fix:
        add (Eq b) to the context of
          the type signature for:
            firstLongestZerosRunIndex :: Num b => [(Bool, b)] -> b -> b
    • In the first argument of ‘takeWhile’, namely ‘(/= (True, y))’
      In the second argument of ‘($)’, namely
        ‘takeWhile (/= (True, y)) x’
      In the second argument of ‘($)’, namely
        ‘unzip $ takeWhile (/= (True, y)) x’
cabal: Leaving directory '/tmp/cabal-tmp-24033/ip6addr-0.3'
cabal: Error: some packages failed to install:
ip6addr-0.3 failed during the building phase. The exception was:
ExitFailure 1

Test log

No test log was submitted for this report.