Build #7 for seclib-0.1

[all reports]

Package seclib-0.1
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2016-12-28 10:36:36.802288 UTC
Compiler ghc-8.0.1.20161018
OS linux
Arch x86_64
Dependencies base-4.9.0.0, network-2.6.3.1
Flags none

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Configuring network-2.6.3.1...
Building network-2.6.3.1...
Installed network-2.6.3.1
Configuring seclib-0.1...
Building seclib-0.1...
Failed to install seclib-0.1
Build log ( /home/builder/.cabal/logs/seclib-0.1.log ):
cabal: Entering directory '/tmp/cabal-tmp-20564/seclib-0.1'
Configuring seclib-0.1...
Building seclib-0.1...
Preprocessing library seclib-0.1...
[1 of 7] Compiling SecLib.Lattice   ( SecLib/Lattice.hs, dist/build/SecLib/Lattice.o )
[2 of 7] Compiling SecLib.Sec       ( SecLib/Sec.hs, dist/build/SecLib/Sec.o )

SecLib/Sec.hs:16:10: error:
    • No instance for (Applicative (Sec s))
        arising from the superclasses of an instance declaration
    • In the instance declaration for ‘Monad (Sec s)’

SecLib/Sec.hs:39:22: error:
    • Could not deduce (Less s s'0) arising from a use of ‘less’
      from the context: Less s s'
        bound by the type signature for:
                   up :: Less s s' => Sec s a -> Sec s' a
        at SecLib/Sec.hs:38:1-38
      The type variable ‘s'0’ is ambiguous
      Relevant bindings include
        s :: s (bound at SecLib/Sec.hs:41:28)
        sec_s :: Sec s a (bound at SecLib/Sec.hs:39:4)
        up :: Sec s a -> Sec s' a (bound at SecLib/Sec.hs:39:1)
    • In the first argument of ‘seq’, namely ‘less s s'’
      In the expression: less s s' `seq` sec_s'
      In an equation for ‘up’:
          up sec_s@(MkSec a)
            = less s s' `seq` sec_s'
            where
                (sec_s') = MkSec a
                s = unSecType sec_s
                s' = unSecType sec_s'
cabal: Leaving directory '/tmp/cabal-tmp-20564/seclib-0.1'
cabal: Error: some packages failed to install:
seclib-0.1 failed during the building phase. The exception was:
ExitFailure 1

Test log

No test log was submitted for this report.