Resolving dependencies... Configuring call-stack-0.1.0... Configuring mtl-2.2.1... Building call-stack-0.1.0... Building mtl-2.2.1... Installed call-stack-0.1.0 Configuring HUnit-1.5.0.0... Building HUnit-1.5.0.0... Installed mtl-2.2.1 Installed HUnit-1.5.0.0 Configuring regexpr-0.1.7... Failed to install regexpr-0.1.7 Build log ( /home/builder/.cabal/logs/regexpr-0.1.7.log ): cabal: Entering directory '/tmp/cabal-tmp-12700/regexpr-0.1.7' cabal: Leaving directory '/tmp/cabal-tmp-12700/regexpr-0.1.7' cabal: Error: some packages failed to install: regexpr-0.1.7 failed during the configure step. The exception was: user error ('/opt/ghc/8.0.2/bin/ghc' exited with an error: /tmp/cabal-tmp-12700/regexpr-0.1.7/Hidden/ParseLib.hs:6:16: warning: -fglasgow-exts is deprecated: Use individual extensions instead /tmp/cabal-tmp-12700/regexpr-0.1.7/Hidden/ParseLib.hs:7:16: warning: -fallow-undecidable-instances is deprecated: use -XUndecidableInstances or pragma {-# LANGUAGE UndecidableInstances #-} instead /tmp/cabal-tmp-12700/regexpr-0.1.7/Hidden/ParseLibCore.hs:6:16: warning: -fglasgow-exts is deprecated: Use individual extensions instead /tmp/cabal-tmp-12700/regexpr-0.1.7/Hidden/ParseLibCore.hs:7:16: warning: -fallow-undecidable-instances is deprecated: use -XUndecidableInstances or pragma {-# LANGUAGE UndecidableInstances #-} instead /tmp/cabal-tmp-12700/regexpr-0.1.7/Hidden/ParseLibCore.hs:81:10: error: • No instance for (Applicative (Parse a)) arising from the superclasses of an instance declaration • In the instance declaration for ‘Monad (Parse a)’ /tmp/cabal-tmp-12700/regexpr-0.1.7/Hidden/ParseLibCore.hs:86:10: error: • No instance for (GHC.Base.Alternative (Parse a)) arising from the superclasses of an instance declaration • In the instance declaration for ‘MonadPlus (Parse a)’ )