Build #7 for Random123-0.1.1
| Package | Random123-0.1.1 |
|---|
| Install | BuildFailed |
|---|---|
| Docs | NotTried |
| Tests | NotTried |
| Time submitted | 2015-12-08 16:23:27.896551 UTC |
|---|---|
| Compiler | ghc-7.10.2 |
| OS | linux |
| Arch | x86_64 |
| Dependencies | random-1.1, base-4.8.1.0, array-0.5.1.0 |
| 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...
Preprocessing library random-1.1...
[1 of 1] Compiling System.Random ( System/Random.hs, dist/build/System/Random.o )
System/Random.hs:43:1: Warning: Tab character
System/Random.hs:45:1: Warning: Tab character
System/Random.hs:47:1: Warning: Tab character
System/Random.hs:53:1: Warning: Tab character
System/Random.hs:55:1: Warning: Tab character
System/Random.hs:56:1: Warning: Tab character
System/Random.hs:57:1: Warning: Tab character
System/Random.hs:59:1: Warning: Tab character
System/Random.hs:61:1: Warning: Tab character
System/Random.hs:63:1: Warning: Tab character
System/Random.hs:64:1: Warning: Tab character
System/Random.hs:65:1: Warning: Tab character
System/Random.hs:66:1: Warning: Tab character
System/Random.hs:68:1: Warning: Tab character
System/Random.hs:69:1: Warning: Tab character
System/Random.hs:70:1: Warning: Tab character
System/Random.hs:71:1: Warning: Tab character
System/Random.hs:73:1: Warning: Tab character
System/Random.hs:74:1: Warning: Tab character
System/Random.hs:76:1: Warning: Tab character
System/Random.hs:90:22: Warning: Tab character
System/Random.hs:91:17: Warning: Tab character
System/Random.hs:94:17: Warning: Tab character
System/Random.hs:102:15: Warning: Tab character
System/Random.hs:240:1: Warning: Tab character
System/Random.hs:241:1: Warning: Tab character
System/Random.hs:249:1: Warning: Tab character
System/Random.hs:269:1: Warning: Tab character
System/Random.hs:270:1: Warning: Tab character
System/Random.hs:271:1: Warning: Tab character
System/Random.hs:272:1: Warning: Tab character
System/Random.hs:273:1: Warning: Tab character
System/Random.hs:326:11: Warning: Tab character
System/Random.hs:343:11: Warning: Tab character
System/Random.hs:384:11: Warning: Tab character
System/Random.hs:395:1: Warning: Tab character
System/Random.hs:396:1: Warning: Tab character
System/Random.hs:396:20: Warning: Tab character
System/Random.hs:397:1: Warning: Tab character
System/Random.hs:397:20: Warning: Tab character
System/Random.hs:399:11: Warning: Tab character
System/Random.hs:406:1: Warning: Tab character
System/Random.hs:415:1: Warning: Tab character
System/Random.hs:428:1: Warning: Tab character
System/Random.hs:429:1: Warning: Tab character
System/Random.hs:430:1: Warning: Tab character
System/Random.hs:440:3: Warning: Tab character
System/Random.hs:502:1: Warning: Tab character
System/Random.hs:503:1: Warning: Tab character
System/Random.hs:504:1: Warning: Tab character
System/Random.hs:506:1: Warning: Tab character
System/Random.hs:507:1: Warning: Tab character
System/Random.hs:508:1: Warning: Tab character
System/Random.hs:519:1: Warning: Tab character
System/Random.hs:519:14: Warning: Tab character
System/Random.hs:520:1: Warning: Tab character
System/Random.hs:522:1: Warning: Tab character
System/Random.hs:523:1: Warning: Tab character
System/Random.hs:524:1: Warning: Tab character
System/Random.hs:526:1: Warning: Tab character
System/Random.hs:527:1: Warning: Tab character
System/Random.hs:528:1: Warning: Tab character
In-place registering random-1.1...
Running Haddock for random-1.1...
Running hscolour for random-1.1...
Preprocessing library random-1.1...
Preprocessing library random-1.1...
System/Random.hs:43:1: Warning: Tab character
System/Random.hs:45:1: Warning: Tab character
System/Random.hs:47:1: Warning: Tab character
System/Random.hs:53:1: Warning: Tab character
System/Random.hs:55:1: Warning: Tab character
System/Random.hs:56:1: Warning: Tab character
System/Random.hs:57:1: Warning: Tab character
System/Random.hs:59:1: Warning: Tab character
System/Random.hs:61:1: Warning: Tab character
System/Random.hs:63:1: Warning: Tab character
System/Random.hs:64:1: Warning: Tab character
System/Random.hs:65:1: Warning: Tab character
System/Random.hs:66:1: Warning: Tab character
System/Random.hs:68:1: Warning: Tab character
System/Random.hs:69:1: Warning: Tab character
System/Random.hs:70:1: Warning: Tab character
System/Random.hs:71:1: Warning: Tab character
System/Random.hs:73:1: Warning: Tab character
System/Random.hs:74:1: Warning: Tab character
System/Random.hs:76:1: Warning: Tab character
System/Random.hs:90:22: Warning: Tab character
System/Random.hs:91:17: Warning: Tab character
System/Random.hs:94:17: Warning: Tab character
System/Random.hs:102:15: Warning: Tab character
System/Random.hs:240:1: Warning: Tab character
System/Random.hs:241:1: Warning: Tab character
System/Random.hs:249:1: Warning: Tab character
System/Random.hs:269:1: Warning: Tab character
System/Random.hs:270:1: Warning: Tab character
System/Random.hs:271:1: Warning: Tab character
System/Random.hs:272:1: Warning: Tab character
System/Random.hs:273:1: Warning: Tab character
System/Random.hs:326:11: Warning: Tab character
System/Random.hs:343:11: Warning: Tab character
System/Random.hs:384:11: Warning: Tab character
System/Random.hs:395:1: Warning: Tab character
System/Random.hs:396:1: Warning: Tab character
System/Random.hs:396:20: Warning: Tab character
System/Random.hs:397:1: Warning: Tab character
System/Random.hs:397:20: Warning: Tab character
System/Random.hs:399:11: Warning: Tab character
System/Random.hs:406:1: Warning: Tab character
System/Random.hs:415:1: Warning: Tab character
System/Random.hs:428:1: Warning: Tab character
System/Random.hs:429:1: Warning: Tab character
System/Random.hs:430:1: Warning: Tab character
System/Random.hs:440:3: Warning: Tab character
System/Random.hs:502:1: Warning: Tab character
System/Random.hs:503:1: Warning: Tab character
System/Random.hs:504:1: Warning: Tab character
System/Random.hs:506:1: Warning: Tab character
System/Random.hs:507:1: Warning: Tab character
System/Random.hs:508:1: Warning: Tab character
System/Random.hs:519:1: Warning: Tab character
System/Random.hs:519:14: Warning: Tab character
System/Random.hs:520:1: Warning: Tab character
System/Random.hs:522:1: Warning: Tab character
System/Random.hs:523:1: Warning: Tab character
System/Random.hs:524:1: Warning: Tab character
System/Random.hs:526:1: Warning: Tab character
System/Random.hs:527:1: Warning: Tab character
System/Random.hs:528:1: Warning: Tab character
Haddock coverage:
Cannot find documentation for: $intro
100% ( 16 / 16) in 'System.Random'
Documentation created: dist/doc/html/random/index.html,
dist/doc/html/random/random.txt
Creating package registration file: /tmp/pkgConf-random-1278722862233665123.1
Installing library in
/home/builder/rebuild/build-cache/tmp-install/lib/x86_64-linux-ghc-7.10.2/random-1.1-1z8Ujelqc6aKgvPnbRUKkP
Registering random-1.1...
Installed random-1.1
Downloading Random123-0.1.1...
Configuring Random123-0.1.1...
Building Random123-0.1.1...
Preprocessing library Random123-0.1.1...
[1 of 6] Compiling System.Random.Random123.Types ( System/Random/Random123/Types.hs, dist/build/System/Random/Random123/Types.o )
System/Random/Random123/Types.hs:37:12: Warning:
In the use of ‘bitSize’ (imported from Data.Bits):
Deprecated: "Use 'bitSizeMaybe' or 'finiteBitSize' instead"
System/Random/Random123/Types.hs:43:12: Warning:
In the use of ‘bitSize’ (imported from Data.Bits):
Deprecated: "Use 'bitSizeMaybe' or 'finiteBitSize' instead"
System/Random/Random123/Types.hs:50:12: Warning:
In the use of ‘bitSize’ (imported from Data.Bits):
Deprecated: "Use 'bitSizeMaybe' or 'finiteBitSize' instead"
System/Random/Random123/Types.hs:56:12: Warning:
In the use of ‘bitSize’ (imported from Data.Bits):
Deprecated: "Use 'bitSizeMaybe' or 'finiteBitSize' instead"
System/Random/Random123/Types.hs:69:17: Warning:
In the use of ‘bitSize’ (imported from Data.Bits):
Deprecated: "Use 'bitSizeMaybe' or 'finiteBitSize' instead"
System/Random/Random123/Types.hs:74:19: Warning:
In the use of ‘bitSize’ (imported from Data.Bits):
Deprecated: "Use 'bitSizeMaybe' or 'finiteBitSize' instead"
System/Random/Random123/Types.hs:79:19: Warning:
In the use of ‘bitSize’ (imported from Data.Bits):
Deprecated: "Use 'bitSizeMaybe' or 'finiteBitSize' instead"
System/Random/Random123/Types.hs:85:17: Warning:
In the use of ‘bitSize’ (imported from Data.Bits):
Deprecated: "Use 'bitSizeMaybe' or 'finiteBitSize' instead"
System/Random/Random123/Types.hs:90:19: Warning:
In the use of ‘bitSize’ (imported from Data.Bits):
Deprecated: "Use 'bitSizeMaybe' or 'finiteBitSize' instead"
System/Random/Random123/Types.hs:95:19: Warning:
In the use of ‘bitSize’ (imported from Data.Bits):
Deprecated: "Use 'bitSizeMaybe' or 'finiteBitSize' instead"
[2 of 6] Compiling System.Random.Random123.Misc ( System/Random/Random123/Misc.hs, dist/build/System/Random/Random123/Misc.o )
[3 of 6] Compiling System.Random.Random123.Threefry ( System/Random/Random123/Threefry.hs, dist/build/System/Random/Random123/Threefry.o )
System/Random/Random123/Threefry.hs:98:14:
Could not deduce (Num a) arising from a use of ‘+’
from the context (Bits a)
bound by the type signature for
sbox' :: Bits a =>
Int -> (a -> RotationConstants) -> Array2 a -> Array2 a
at System/Random/Random123/Threefry.hs:95:10-74
Possible fix:
add (Num a) to the context of
the inferred type of x0' :: a
or the type signature for
sbox' :: Bits a =>
Int -> (a -> RotationConstants) -> Array2 a -> Array2 a
In the expression: x0 + x1
In an equation for ‘x0'’: x0' = x0 + x1
In an equation for ‘sbox'’:
sbox' r r_constant (!x0, !x1)
= (x0', x1')
where
rot = getRotationConstant (r_constant (undefined :: a)) (r `mod` 8)
x0' = x0 + x1
x1' = x0' `xor` (x1 `rotate` rot)
System/Random/Random123/Threefry.hs:140:36:
Could not deduce (Num a) arising from a use of ‘+’
from the context (Bits a)
bound by the type signature for
pbox2 :: Bits a => (a, a, a) -> Int -> Array2 a -> Array2 a
at System/Random/Random123/Threefry.hs:139:10-59
Possible fix:
add (Num a) to the context of
the type signature for
pbox2 :: Bits a => (a, a, a) -> Int -> Array2 a -> Array2 a
In the expression: x1' + fromIntegral tshift
In the expression: (x0', x1' + fromIntegral tshift)
In an equation for ‘pbox2’:
pbox2 extended_key r x
= (x0', x1' + fromIntegral tshift)
where
tshift = r `div` 4 + 1
(x0', x1') = addTuple2 x (shiftTuple2 tshift extended_key)
System/Random/Random123/Threefry.hs:142:18:
Could not deduce (Num a) arising from a use of ‘addTuple2’
from the context (Bits a)
bound by the type signature for
pbox2 :: Bits a => (a, a, a) -> Int -> Array2 a -> Array2 a
at System/Random/Random123/Threefry.hs:139:10-59
Possible fix:
add (Num a) to the context of
the inferred type of
x0' :: a
x1' :: a
or the type signature for
pbox2 :: Bits a => (a, a, a) -> Int -> Array2 a -> Array2 a
In the expression: addTuple2 x (shiftTuple2 tshift extended_key)
In a pattern binding:
(x0', x1') = addTuple2 x (shiftTuple2 tshift extended_key)
In an equation for ‘pbox2’:
pbox2 extended_key r x
= (x0', x1' + fromIntegral tshift)
where
tshift = r `div` 4 + 1
(x0', x1') = addTuple2 x (shiftTuple2 tshift extended_key)
System/Random/Random123/Threefry.hs:145:46:
Could not deduce (Num a) arising from a use of ‘+’
from the context (Bits a)
bound by the type signature for
pbox4 :: Bits a => (a, a, a, a, a) -> Int -> Array4 a -> Array4 a
at System/Random/Random123/Threefry.hs:144:10-65
Possible fix:
add (Num a) to the context of
the type signature for
pbox4 :: Bits a => (a, a, a, a, a) -> Int -> Array4 a -> Array4 a
In the expression: x3' + fromIntegral tshift
In the expression: (x0', x1', x2', x3' + fromIntegral tshift)
In an equation for ‘pbox4’:
pbox4 extended_key r x
= (x0', x1', x2', x3' + fromIntegral tshift)
where
tshift = r `div` 4 + 1
(x0', x1', x2', x3')
= addTuple4 x (shiftTuple4 tshift extended_key)
System/Random/Random123/Threefry.hs:147:28:
Could not deduce (Num a) arising from a use of ‘addTuple4’
from the context (Bits a)
bound by the type signature for
pbox4 :: Bits a => (a, a, a, a, a) -> Int -> Array4 a -> Array4 a
at System/Random/Random123/Threefry.hs:144:10-65
Possible fix:
add (Num a) to the context of
the inferred type of
x0' :: a
x1' :: a
x2' :: a
x3' :: a
or the type signature for
pbox4 :: Bits a => (a, a, a, a, a) -> Int -> Array4 a -> Array4 a
In the expression: addTuple4 x (shiftTuple4 tshift extended_key)
In a pattern binding:
(x0', x1', x2', x3')
= addTuple4 x (shiftTuple4 tshift extended_key)
In an equation for ‘pbox4’:
pbox4 extended_key r x
= (x0', x1', x2', x3' + fromIntegral tshift)
where
tshift = r `div` 4 + 1
(x0', x1', x2', x3')
= addTuple4 x (shiftTuple4 tshift extended_key)
System/Random/Random123/Threefry.hs:174:22:
Could not deduce (Num a) arising from a use of ‘addTuple2’
from the context (ThreefryWord a, Bits a)
bound by the type signature for
threefry2R :: (ThreefryWord a, Bits a) =>
Int -> Array2 a -> Array2 a -> Array2 a
at System/Random/Random123/Threefry.hs:(165,15)-(169,15)
Possible fix:
add (Num a) to the context of
the inferred type of starting_x :: Array2 a
or the type signature for
threefry2R :: (ThreefryWord a, Bits a) =>
Int -> Array2 a -> Array2 a -> Array2 a
In the expression: addTuple2 key ctr
In an equation for ‘starting_x’: starting_x = addTuple2 key ctr
In an equation for ‘threefry2R’:
threefry2R rounds key ctr
| (rounds >= 1) && (rounds <= 32)
= apply (threefryRound pbox sbox2) rounds starting_x
| otherwise
= error
"The number of rounds in Threefry-2 must be between 1 and 32"
where
starting_x = addTuple2 key ctr
pbox = pbox2 (extendKey2 key)
System/Random/Random123/Threefry.hs:188:22:
Could not deduce (Num a) arising from a use of ‘addTuple4’
from the context (ThreefryWord a, Bits a)
bound by the type signature for
threefry4R :: (ThreefryWord a, Bits a) =>
Int -> Array4 a -> Array4 a -> Array4 a
at System/Random/Random123/Threefry.hs:(179,15)-(183,15)
Possible fix:
add (Num a) to the context of
the inferred type of starting_x :: Array4 a
or the type signature for
threefry4R :: (ThreefryWord a, Bits a) =>
Int -> Array4 a -> Array4 a -> Array4 a
In the expression: addTuple4 key ctr
In an equation for ‘starting_x’: starting_x = addTuple4 key ctr
In an equation for ‘threefry4R’:
threefry4R rounds key ctr
| (rounds >= 1) && (rounds <= 72)
= apply (threefryRound pbox sbox4) rounds starting_x
| otherwise
= error
"The number of rounds in Threefry-4 must be between 1 and 72"
where
starting_x = addTuple4 key ctr
pbox = pbox4 (extendKey4 key)
Failed to install Random123-0.1.1
cabal: Error: some packages failed to install:
Random123-0.1.1 failed during the building phase. The exception was:
ExitFailure 1
Test log
No test log was submitted for this report.