Build #4 for ciphersaber2-0.1.0.0

[all reports]

Package ciphersaber2-0.1.0.0
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2016-11-30 12:18:36.405178 UTC
Compiler ghc-8.0.1.20161018
OS linux
Arch x86_64
Dependencies array-0.5.1.1, base-4.9.0.0, bytestring-0.10.8.1, array-0.5.1.1, base-4.9.0.0, bytestring-0.10.8.1, parseargs-0.2.0.7
Flags none

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Configuring parseargs-0.2.0.7...
Building parseargs-0.2.0.7...
Installed parseargs-0.2.0.7
Configuring ciphersaber2-0.1.0.0...
Building ciphersaber2-0.1.0.0...
Failed to install ciphersaber2-0.1.0.0
Build log ( /home/builder/.cabal/logs/ciphersaber2-0.1.0.0.log ):
cabal: Entering directory '/tmp/cabal-tmp-10103/ciphersaber2-0.1.0.0'
Configuring ciphersaber2-0.1.0.0...
Building ciphersaber2-0.1.0.0...
Preprocessing library ciphersaber2-0.1.0.0...
[1 of 1] Compiling Data.CipherSaber2 ( Data/CipherSaber2.hs, dist/build/Data/CipherSaber2.o )

Data/CipherSaber2.hs:54:11: error:
    • Non type-variable argument
        in the constraint: MArray (STUArray s) Word8 m
      (Use FlexibleContexts to permit this)
    • When checking the inferred type
        schedStep :: forall (m :: * -> *).
                     MArray (STUArray s) Word8 m =>
                     Word8 -> Word8 -> m Word8
      In the second argument of ‘($)’, namely
        ‘do { let nKey = ...;
              let key' = ...;
              s <- newListArray (0, 255) [0 .. 255] ::
                     ST s (STUArray s Word8 Word8);
              let schedStep j i = ...;
              .... }’
      In the second argument of ‘($)’, namely
        ‘runST
         $ do { let nKey = ...;
                let key' = ...;
                s <- newListArray (0, 255) [0 .. 255] ::
                       ST s (STUArray s Word8 Word8);
                let schedStep j i = ...;
                .... }’

Data/CipherSaber2.hs:65:11: error:
    • Non type-variable argument
        in the constraint: MArray (STUArray s) Word8 m
      (Use FlexibleContexts to permit this)
    • When checking the inferred type
        keystream :: forall (m :: * -> *) t.
                     (MArray (STUArray s) Word8 m, Num t, Eq t) =>
                     t -> Word8 -> Word8 -> m [Word8]
      In the second argument of ‘($)’, namely
        ‘do { let nKey = ...;
              let key' = ...;
              s <- newListArray (0, 255) [0 .. 255] ::
                     ST s (STUArray s Word8 Word8);
              let schedStep j i = ...;
              .... }’
      In the second argument of ‘($)’, namely
        ‘runST
         $ do { let nKey = ...;
                let key' = ...;
                s <- newListArray (0, 255) [0 .. 255] ::
                       ST s (STUArray s Word8 Word8);
                let schedStep j i = ...;
                .... }’
cabal: Leaving directory '/tmp/cabal-tmp-10103/ciphersaber2-0.1.0.0'
cabal: Error: some packages failed to install:
ciphersaber2-0.1.0.0 failed during the building phase. The exception was:
ExitFailure 1

Test log

No test log was submitted for this report.