Build #2 for Random123-0.1.0

[all reports]

Package Random123-0.1.0
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted unknown
Compiler ghc-7.6.3
OS linux
Arch x86_64
Dependencies random-1.0.1.1, base-4.6.0.1, array-0.4.0.1
Flags none

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Configuring Random123-0.1.0...
Building Random123-0.1.0...
Preprocessing library Random123-0.1.0...
[1 of 6] Compiling System.Random.Random123.Misc ( System/Random/Random123/Misc.hs, dist/build/System/Random/Random123/Misc.o )
[2 of 6] Compiling System.Random.Random123.Types ( System/Random/Random123/Types.hs, dist/build/System/Random/Random123/Types.o )

System/Random/Random123/Types.hs:36:10:
    Could not deduce (Num a) arising from a use of `fromInteger'
    from the context (Bits a)
      bound by the type signature for
                 array2FromInteger :: Bits a => Integer -> Array2 a
      at System/Random/Random123/Types.hs:34:22-50
    Possible fix:
      add (Num a) to the context of
        the type signature for
          array2FromInteger :: Bits a => Integer -> Array2 a
    In the expression: fromInteger i
    In an equation for `x1': x1 = fromInteger i
    In an equation for `array2FromInteger':
        array2FromInteger i
          = (x0, x1)
          where
              x1 = fromInteger i
              bits = bitSize x1
              x0 = fromInteger (i `shiftR` bits)

System/Random/Random123/Types.hs:42:10:
    Could not deduce (Num a) arising from a use of `fromInteger'
    from the context (Bits a)
      bound by the type signature for
                 array4FromInteger :: Bits a => Integer -> Array4 a
      at System/Random/Random123/Types.hs:40:22-50
    Possible fix:
      add (Num a) to the context of
        the type signature for
          array4FromInteger :: Bits a => Integer -> Array4 a
    In the expression: fromInteger i
    In an equation for `x3': x3 = fromInteger i
    In an equation for `array4FromInteger':
        array4FromInteger i
          = (x0, x1, x2, x3)
          where
              x3 = fromInteger i
              bits = bitSize x3
              x0 = fromInteger (i `shiftR` (bits * 3))
              x1 = fromInteger (i `shiftR` (bits * 2))
              ....
Failed to install Random123-0.1.0
cabal: Error: some packages failed to install:
Random123-0.1.0 failed during the building phase. The exception was:
ExitFailure 1

Test log

No test log was submitted for this report.