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 StateVar-1.2 Starting cabal-doctest-1.0.8 Starting base-orphans-0.8.2 Starting hashable-1.3.0.0 Building StateVar-1.2 Building cabal-doctest-1.0.8 Building base-orphans-0.8.2 Building hashable-1.3.0.0 Completed StateVar-1.2 Starting mtl-2.2.1 Building mtl-2.2.1 Completed cabal-doctest-1.0.8 Starting tagged-0.8.6 Building tagged-0.8.6 Completed hashable-1.3.0.0 Starting th-abstraction-0.3.2.0 Completed base-orphans-0.8.2 Starting transformers-compat-0.6.5 Building th-abstraction-0.3.2.0 Building transformers-compat-0.6.5 Completed mtl-2.2.1 Starting contravariant-1.5.2 Completed tagged-0.8.6 Starting unordered-containers-0.2.10.0 Building contravariant-1.5.2 Building unordered-containers-0.2.10.0 Completed transformers-compat-0.6.5 Starting distributive-0.6.2 Completed th-abstraction-0.3.2.0 Completed contravariant-1.5.2 Building distributive-0.6.2 Completed distributive-0.6.2 Starting comonad-5.0.6 Building comonad-5.0.6 Completed unordered-containers-0.2.10.0 Completed comonad-5.0.6 Starting bifunctors-5.5.7 Building bifunctors-5.5.7 Completed bifunctors-5.5.7 Starting semigroupoids-5.3.4 Starting profunctors-5.5.2 Building profunctors-5.5.2 Building semigroupoids-5.3.4 Completed profunctors-5.5.2 Completed semigroupoids-5.3.4 Starting either-5.0.1.1 Building either-5.0.1.1 Completed either-5.0.1.1 Starting oref-0.0.3 Building oref-0.0.3 Failed to install oref-0.0.3 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/oref-0.0.3-GMy2aMe8ush696p90vh3lO.log ): cabal: Entering directory '/tmp/cabal-tmp-30354/oref-0.0.3' Configuring oref-0.0.3... Preprocessing library for oref-0.0.3.. Building library for oref-0.0.3.. [1 of 3] Compiling Data.ORef.Internal ( src/Data/ORef/Internal.hs, dist/build/Data/ORef/Internal.o ) src/Data/ORef/Internal.hs:34:1: error: Could not find module ‘Control.Monad.Trans.Either’ Perhaps you meant Control.Monad.Trans.Writer (from transformers-0.5.5.0) Control.Monad.Trans.Error (from transformers-0.5.5.0) Control.Monad.Trans.Reader (from transformers-0.5.5.0) Use -v to see a list of the files searched for. | 34 | import Control.Monad.Trans.Either | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cabal: Leaving directory '/tmp/cabal-tmp-30354/oref-0.0.3' cabal: Error: some packages failed to install: oref-0.0.3-GMy2aMe8ush696p90vh3lO failed during the building phase. The exception was: ExitFailure 1