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 random-1.1 Building random-1.1 Completed random-1.1 Starting splitmix-0.0.2 Building splitmix-0.0.2 Completed splitmix-0.0.2 Starting QuickCheck-2.13.1 Building QuickCheck-2.13.1 Completed QuickCheck-2.13.1 Starting has-0.6.0.1 Failed to install has-0.6.0.1 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/has-0.6.0.1-DblYcqoG1F3Bi2ZdHp5YcV.log ): cabal: Entering directory '/tmp/cabal-tmp-12066/has-0.6.0.1' cabal: Leaving directory '/tmp/cabal-tmp-12066/has-0.6.0.1' cabal: Error: some packages failed to install: has-0.6.0.1-DblYcqoG1F3Bi2ZdHp5YcV failed during the configure step. The exception was: dieVerbatim: user error (cabal: '/opt/ghc/bin/ghc' exited with an error: Loaded package environment from /home/builder/hackage-server/.ghc.environment.x86_64-linux-8.6.3 /tmp/cabal-tmp-12066/has-0.6.0.1/dist/setup/setup.hs:2:1: error: Ambiguous module name ‘Distribution.Simple’: it was found in multiple packages: Cabal-2.4.0.1 Cabal-2.4.1.0 | 2 | import Distribution.Simple | ^^^^^^^^^^^^^^^^^^^^^^^^^^ /tmp/cabal-tmp-12066/has-0.6.0.1/dist/setup/setup.hs:3:1: error: Ambiguous module name ‘Distribution.Simple.LocalBuildInfo’: it was found in multiple packages: Cabal-2.4.0.1 Cabal-2.4.1.0 | 3 | import Distribution.Simple.LocalBuildInfo | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ )