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 cabal-doctest-1.0.8 Starting StateVar-1.2 Starting base-orphans-0.8.2 Starting hashable-1.3.0.0 Building StateVar-1.2 Building base-orphans-0.8.2 Building cabal-doctest-1.0.8 Building hashable-1.3.0.0 Completed StateVar-1.2 Downloading primitive-0.7.0.1 Downloaded primitive-0.7.0.1 Starting primitive-0.7.0.1 Building primitive-0.7.0.1 Completed cabal-doctest-1.0.8 Starting random-1.1 Building random-1.1 Completed hashable-1.3.0.0 Starting tagged-0.8.6 Building tagged-0.8.6 Completed base-orphans-0.8.2 Starting th-abstraction-0.3.2.0 Building th-abstraction-0.3.2.0 Completed random-1.1 Starting transformers-compat-0.6.5 Completed tagged-0.8.6 Starting contravariant-1.5.2 Building transformers-compat-0.6.5 Building contravariant-1.5.2 Completed th-abstraction-0.3.2.0 Starting unordered-containers-0.2.10.0 Building unordered-containers-0.2.10.0 Completed transformers-compat-0.6.5 Starting distributive-0.6.1 Completed contravariant-1.5.2 Building distributive-0.6.1 Completed primitive-0.7.0.1 Starting MonadRandom-0.5.1.2 Building MonadRandom-0.5.1.2 Completed distributive-0.6.1 Starting comonad-5.0.6 Building comonad-5.0.6 Completed unordered-containers-0.2.10.0 Completed MonadRandom-0.5.1.2 Completed comonad-5.0.6 Starting bifunctors-5.5.7 Building bifunctors-5.5.7 Completed bifunctors-5.5.7 Starting profunctors-5.5.2 Building profunctors-5.5.2 Completed profunctors-5.5.2 Starting invariant-0.5.3 Building invariant-0.5.3 Completed invariant-0.5.3 Downloading monad-choice-0.1.0.0 Downloaded monad-choice-0.1.0.0 Starting monad-choice-0.1.0.0 Building monad-choice-0.1.0.0 Failed to install monad-choice-0.1.0.0 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/monad-choice-0.1.0.0-xLZxZoai4ZAqPwCnzZvKt.log ): cabal: Entering directory '/tmp/cabal-tmp-21911/monad-choice-0.1.0.0' Configuring monad-choice-0.1.0.0... Preprocessing library for monad-choice-0.1.0.0.. Building library for monad-choice-0.1.0.0.. [1 of 6] Compiling Control.Monad.Class.Choice ( src/Control/Monad/Class/Choice.hs, dist/build/Control/Monad/Class/Choice.o ) src/Control/Monad/Class/Choice.hs:47:1: error: Could not find module ‘Control.Monad.Trans.RWS.CPS’ Perhaps you meant Control.Monad.Trans.RWS (from transformers-0.5.5.0) Control.Monad.Trans.RWS.Lazy (from transformers-0.5.5.0) Control.Monad.Trans.RWS.Strict (from transformers-0.5.5.0) Use -v to see a list of the files searched for. | 47 | import Control.Monad.Trans.RWS.CPS as RWS.CPS | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... src/Control/Monad/Class/Choice.hs:65:1: error: Could not find module ‘Control.Monad.Trans.Writer.CPS’ Perhaps you meant Control.Monad.Trans.Writer (from transformers-0.5.5.0) Control.Monad.Trans.Writer.Lazy (from transformers-0.5.5.0) Control.Monad.Trans.Writer.Strict (from transformers-0.5.5.0) Use -v to see a list of the files searched for. | 65 | import Control.Monad.Trans.Writer.CPS as Writer.CPS | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... cabal: Leaving directory '/tmp/cabal-tmp-21911/monad-choice-0.1.0.0' cabal: Error: some packages failed to install: monad-choice-0.1.0.0-xLZxZoai4ZAqPwCnzZvKt failed during the building phase. The exception was: ExitFailure 1