Build #8 for haskell-openflow-0.0.0.1

[all reports]

Package haskell-openflow-0.0.0.1
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2016-12-22 02:52:36.765913 UTC
Compiler ghc-8.0.1.20161018
OS linux
Arch x86_64
Dependencies base-4.9.0.0, bytestring-0.10.8.1, cereal-0.5.4.0, network-2.6.3.1, network-info-0.2.0.8
Flags none

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Configuring cereal-0.5.4.0...
Configuring network-2.6.3.1...
Building cereal-0.5.4.0...
Building network-2.6.3.1...
Configuring network-info-0.2.0.8...
Installed cereal-0.5.4.0
Building network-info-0.2.0.8...
Installed network-info-0.2.0.8
Installed network-2.6.3.1
Configuring haskell-openflow-0.0.0.1...
Building haskell-openflow-0.0.0.1...
Failed to install haskell-openflow-0.0.0.1
Build log ( /home/builder/.cabal/logs/haskell-openflow-0.0.0.1.log ):
cabal: Entering directory '/tmp/cabal-tmp-8360/haskell-openflow-0.0.0.1'
Configuring haskell-openflow-0.0.0.1...
Building haskell-openflow-0.0.0.1...
Preprocessing library haskell-openflow-0.0.0.1...
[1 of 1] Compiling Network.OpenFlow ( Network/OpenFlow.hs, dist/build/Network/OpenFlow.o )

Network/OpenFlow.hs:906:25: error:
    • Could not deduce (Num b) arising from the literal ‘0’
      from the context: (Enum a, Bits b)
        bound by the type signature for:
                   enumToBitInst :: (Enum a, Bits b) => [a] -> b
        at Network/OpenFlow.hs:905:1-45
      Possible fix:
        add (Num b) to the context of
          the type signature for:
            enumToBitInst :: (Enum a, Bits b) => [a] -> b
    • In the second argument of ‘f’, namely ‘0’
      In the expression: f xs 0
      In an equation for ‘enumToBitInst’:
          enumToBitInst xs
            = f xs 0
            where
                f xs' w = foldl (\ w x -> w `setBit` fromEnum x) w xs
cabal: Leaving directory '/tmp/cabal-tmp-8360/haskell-openflow-0.0.0.1'
cabal: Error: some packages failed to install:
haskell-openflow-0.0.0.1 failed during the building phase. The exception was:
ExitFailure 1

Test log

No test log was submitted for this report.