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