Resolving dependencies... Configuring graph-wrapper-0.2.5.1... Configuring mtl-2.2.1... Building mtl-2.2.1... Building graph-wrapper-0.2.5.1... Configuring value-supply-0.6... Installed graph-wrapper-0.2.5.1 Building value-supply-0.6... Installed value-supply-0.6 Installed mtl-2.2.1 Configuring libcspm-0.2.1... Building libcspm-0.2.1... Failed to install libcspm-0.2.1 Build log ( /home/builder/.cabal/logs/libcspm-0.2.1.log ): cabal: Entering directory '/tmp/cabal-tmp-31399/libcspm-0.2.1' Configuring libcspm-0.2.1... Building libcspm-0.2.1... Preprocessing library libcspm-0.2.1... src/CSPM/Parser/Lexer.x:2:16: warning: unrecognised warning flag: -fno-warn-lazy-unlifted-bindings [ 1 of 58] Compiling Util.PrettyPrint ( src/Util/PrettyPrint.hs, dist/build/Util/PrettyPrint.o ) [ 2 of 58] Compiling Util.Prelude ( src/Util/Prelude.hs, dist/build/Util/Prelude.o ) [ 3 of 58] Compiling Util.Monad ( src/Util/Monad.hs, dist/build/Util/Monad.o ) [ 4 of 58] Compiling Util.List ( src/Util/List.hs, dist/build/Util/List.o ) [ 5 of 58] Compiling Util.Annotated[boot] ( src/Util/Annotated.hs-boot, dist/build/Util/Annotated.o-boot ) [ 6 of 58] Compiling Util.Exception ( src/Util/Exception.hs, dist/build/Util/Exception.o ) src/Util/Exception.hs:94:5: error: • Constraint ‘MonadIOException m’ in the type of ‘tryM’ constrains only the class type variables Use ConstrainedClassMethods to allow it • When checking the class method: tryM :: forall (m :: * -> *). MonadIOException m => forall a. MonadIOException m => m a -> m (Either LibCSPMException a) In the class declaration for ‘MonadIOException’ cabal: Leaving directory '/tmp/cabal-tmp-31399/libcspm-0.2.1' cabal: Error: some packages failed to install: cspmchecker-0.2.1 depends on libcspm-0.2.1 which failed to install. libcspm-0.2.1 failed during the building phase. The exception was: ExitFailure 1