Warning: The install command is a part of the legacy v1 style of cabal usage. Please switch to using either the new project style and the new-install command or the legacy v1-install alias as new-style projects will become the default in the next version of cabal-install. Please file a bug if you cannot replicate a working v1- use case with the new-style commands. For more information, see: https://wiki.haskell.org/Cabal/NewBuild Resolving dependencies... Starting regex-base-0.94.0.0 Starting hashable-1.3.0.0 Building regex-base-0.94.0.0 Building hashable-1.3.0.0 Completed regex-base-0.94.0.0 Starting regex-tdfa-1.3.1.0 Building regex-tdfa-1.3.1.0 Completed hashable-1.3.0.0 Completed regex-tdfa-1.3.1.0 Starting zeolite-lang-0.1.0.0 Building zeolite-lang-0.1.0.0 Failed to install zeolite-lang-0.1.0.0 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/zeolite-lang-0.1.0.0-CIkH8F8Cpnw7pTmw4tiQKs.log ): cabal: Entering directory '/tmp/cabal-tmp-8942/zeolite-lang-0.1.0.0' Configuring zeolite-lang-0.1.0.0... Preprocessing library 'zeolite-internal' for zeolite-lang-0.1.0.0.. Building library 'zeolite-internal' for zeolite-lang-0.1.0.0.. [ 1 of 44] Compiling Base.CompileError ( src/Base/CompileError.hs, dist/build/zeolite-internal/Base/CompileError.o ) src/Base/CompileError.hs:49:19: error: Ambiguous occurrence ‘fail’ It could refer to either ‘Control.Monad.fail’, imported from ‘Control.Monad’ at src/Base/CompileError.hs:28:23-31 (and originally defined in ‘GHC.Base’) or ‘Control.Monad.Fail.fail’, imported from ‘Control.Monad.Fail’ at src/Base/CompileError.hs:31:1-25 | 49 | compileErrorM = fail | ^^^^ cabal: Leaving directory '/tmp/cabal-tmp-8942/zeolite-lang-0.1.0.0' cabal: Error: some packages failed to install: zeolite-lang-0.1.0.0-CIkH8F8Cpnw7pTmw4tiQKs failed during the building phase. The exception was: ExitFailure 1