Resolving dependencies... Configuring network-2.6.3.1... Building network-2.6.3.1... Installed network-2.6.3.1 Configuring seclib-0.5... Building seclib-0.5... Failed to install seclib-0.5 Build log ( /home/builder/.cabal/logs/seclib-0.5.log ): cabal: Entering directory '/tmp/cabal-tmp-17156/seclib-0.5' Configuring seclib-0.5... Building seclib-0.5... Preprocessing library seclib-0.5... [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:1: error: • Could not deduce (Less s1 s'0) from the context: Less s1 s' bound by the inferred type for ‘up’: Less s1 s' => Sec s1 t -> Sec s t at SecLib/Sec.hs:(39,1)-(42,52) The type variable ‘s'0’ is ambiguous • In the ambiguity check for the inferred type for ‘up’ To defer the ambiguity check to use sites, enable AllowAmbiguousTypes When checking the inferred type up :: forall s t s1 s'. Less s1 s' => Sec s1 t -> Sec s t cabal: Leaving directory '/tmp/cabal-tmp-17156/seclib-0.5' cabal: Error: some packages failed to install: seclib-0.5 failed during the building phase. The exception was: ExitFailure 1