Build #8 for bitstream-0.2.0.2

[all reports]

Package bitstream-0.2.0.2
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2016-12-22 17:05:25.665146 UTC
Compiler ghc-8.0.1.20161018
OS linux
Arch x86_64
Dependencies base-4.9.0.0, base-unicode-symbols-0.2.2.4, bytestring-0.9.2.1, vector-0.10.12.3
Flags none

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Configuring base-unicode-symbols-0.2.2.4...
Configuring primitive-0.6.1.0...
Building base-unicode-symbols-0.2.2.4...
Building primitive-0.6.1.0...
Configuring bytestring-0.9.2.1...
Installed base-unicode-symbols-0.2.2.4
Building bytestring-0.9.2.1...
Installed primitive-0.6.1.0
Configuring vector-0.10.12.3...
Building vector-0.10.12.3...
Installed bytestring-0.9.2.1
Installed vector-0.10.12.3
Configuring bitstream-0.2.0.2...
Building bitstream-0.2.0.2...
Failed to install bitstream-0.2.0.2
Build log ( /home/builder/.cabal/logs/bitstream-0.2.0.2.log ):
cabal: Entering directory '/tmp/cabal-tmp-11715/bitstream-0.2.0.2'
Configuring bitstream-0.2.0.2...
Building bitstream-0.2.0.2...
Preprocessing library bitstream-0.2.0.2...
[1 of 7] Compiling Data.Bitstream.Fusion.Monadic ( Data/Bitstream/Fusion/Monadic.hs, dist/build/Data/Bitstream/Fusion/Monadic.o )
[2 of 7] Compiling Data.Bitstream.Fusion ( Data/Bitstream/Fusion.hs, dist/build/Data/Bitstream/Fusion.o )
[3 of 7] Compiling Data.Bitstream.Generic ( Data/Bitstream/Generic.hs, dist/build/Data/Bitstream/Generic.o )

Data/Bitstream/Generic.hs:300:30: warning: [-Wdeprecations]
    In the use of ‘bitSize’ (imported from Data.Bits):
    Deprecated: "Use 'bitSizeMaybe' or 'finiteBitSize' instead"
[4 of 7] Compiling Data.Bitstream.Packet ( Data/Bitstream/Packet.hs, dist/build/Data/Bitstream/Packet.o )

Data/Bitstream/Packet.hs:244:19: error:
    • Could not deduce (Num β) arising from a use of ‘fromIntegral’
      from the context: Bits β
        bound by the type signature for:
                   basicToBits :: Bits β => Packet Left -> β
        at Data/Bitstream/Packet.hs:244:5-15
      Possible fix:
        add (Num β) to the context of
          the type signature for:
            basicToBits :: Bits β => Packet Left -> β
    • In the first argument of ‘(∘)’, namely ‘fromIntegral’
      In the expression: fromIntegral ∘ toOctet
      In an equation for ‘basicToBits’:
          basicToBits = fromIntegral ∘ toOctet

Data/Bitstream/Packet.hs:370:11: error:
    • Could not deduce (Num β) arising from a use of ‘fromIntegral’
      from the context: Bits β
        bound by the type signature for:
                   basicToBits :: Bits β => Packet Right -> β
        at Data/Bitstream/Packet.hs:369:5-15
      Possible fix:
        add (Num β) to the context of
          the type signature for:
            basicToBits :: Bits β => Packet Right -> β
    • In the expression: fromIntegral (o `shiftR` (8 - n))
      In an equation for ‘basicToBits’:
          basicToBits (Packet n o) = fromIntegral (o `shiftR` (8 - n))
      In the instance declaration for ‘Bitstream (Packet Right)’
cabal: Leaving directory '/tmp/cabal-tmp-11715/bitstream-0.2.0.2'
cabal: Error: some packages failed to install:
bitstream-0.2.0.2 failed during the building phase. The exception was:
ExitFailure 1

Test log

No test log was submitted for this report.