Build #7 for swf-1.0

[all reports]

Package swf-1.0
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2017-01-03 08:57:20.10094 UTC
Compiler ghc-8.0.1.20161018
OS linux
Arch x86_64
Dependencies base-4.9.0.0, mtl-2.2.1, pretty-1.1.3.3
Flags none

Build log

[view raw]

Resolving dependencies...
Configuring mtl-2.2.1...
Building mtl-2.2.1...
Installed mtl-2.2.1
Configuring swf-1.0...
Building swf-1.0...
Failed to install swf-1.0
Build log ( /home/builder/.cabal/logs/swf-1.0.log ):
cabal: Entering directory '/tmp/cabal-tmp-25034/swf-1.0'
Configuring swf-1.0...
Building swf-1.0...
Preprocessing library swf-1.0...

Swf/Bin.hs:1:12: warning:
    -fglasgow-exts is deprecated: Use individual extensions instead
[1 of 5] Compiling Swf.Bin          ( Swf/Bin.hs, dist/build/Swf/Bin.o )

Swf/Bin.hs:63:69: error:
    • Could not deduce (Num a) arising from the literal ‘0’
      from the context: (Ord a, Bits a)
        bound by the type signature for:
                   nuBits :: (Ord a, Bits a) => a -> Word8
        at Swf/Bin.hs:62:1-39
      Possible fix:
        add (Num a) to the context of
          the type signature for:
            nuBits :: (Ord a, Bits a) => a -> Word8
    • In the second argument of ‘(>)’, namely ‘0’
      In the expression: n `shiftR` y > 0
      In a stmt of a list comprehension: n `shiftR` y > 0

Swf/Bin.hs:67:12: error:
    • Could not deduce (Num a) arising from the literal ‘0’
      from the context: (Ord a, Bits a)
        bound by the type signature for:
                   nsBits :: (Ord a, Bits a) => a -> Word8
        at Swf/Bin.hs:65:1-39
      Possible fix:
        add (Num a) to the context of
          the type signature for:
            nsBits :: (Ord a, Bits a) => a -> Word8
    • In the second argument of ‘(>)’, namely ‘0’
      In the expression: n > 0
      In a stmt of a pattern guard for
                     an equation for ‘nsBits’:
        n > 0
cabal: Leaving directory '/tmp/cabal-tmp-25034/swf-1.0'
cabal: Error: some packages failed to install:
swf-1.0 failed during the building phase. The exception was:
ExitFailure 1