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 base-prelude-1.3 Starting integer-logarithms-1.0.2.2 Starting hashable-1.2.7.0 Starting primitive-0.6.4.0 Building base-prelude-1.3 Building integer-logarithms-1.0.2.2 Building hashable-1.2.7.0 Building primitive-0.6.4.0 Completed integer-logarithms-1.0.2.2 Completed hashable-1.2.7.0 Completed base-prelude-1.3 Starting template-haskell-compat-v0208-0.1.1.1 Building template-haskell-compat-v0208-0.1.1.1 Completed template-haskell-compat-v0208-0.1.1.1 Completed primitive-0.6.4.0 Starting scientific-0.3.6.2 Building scientific-0.3.6.2 Completed scientific-0.3.6.2 Starting attoparsec-0.13.2.2 Building attoparsec-0.13.2.2 Completed attoparsec-0.13.2.2 Starting record-0.3.2.1 Failed to install record-0.3.2.1 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/record-0.3.2.1-3rsM8fdHRFW4dwnp46pws9.log ): cabal: Entering directory '/tmp/cabal-tmp-8524/record-0.3.2.1' cabal: Leaving directory '/tmp/cabal-tmp-8524/record-0.3.2.1' cabal: Error: some packages failed to install: record-0.3.2.1-3rsM8fdHRFW4dwnp46pws9 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-8524/record-0.3.2.1/dist/setup/setup.hs:3:1: error: Could not find module ‘Distribution.Extra.Doctest’ Perhaps you meant Distribution.Simple.Doctest (from Cabal-2.4.0.1) Distribution.Simple.Doctest (from Cabal-2.4.1.0) Use -v to see a list of the files searched for. | 3 | import Distribution.Extra.Doctest ( defaultMainWithDoctests ) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ )