Build #3 for Random123-0.1.1
Package | Random123-0.1.1 |
---|
Install | BuildFailed |
---|---|
Docs | NotTried |
Tests | NotTried |
Time submitted | 2015-05-22 17:39:07.233631 UTC |
---|---|
Compiler | ghc-7.8.3 |
OS | linux |
Arch | x86_64 |
Dependencies | random-1.1, base-4.7.0.1, array-0.5.0.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 ) 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... 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-114315.1 Installing library in /home/builder/hackage-server/build-cache/tmp-install/lib/x86_64-linux-ghc-7.8.3/random-1.1 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 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: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 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: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 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 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 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.