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.1.1.1 Starting cabal-doctest-1.0.6 Starting hashable-1.2.7.0 Starting base-orphans-0.8.1 Building StateVar-1.1.1.1 Building hashable-1.2.7.0 Building base-orphans-0.8.1 Building cabal-doctest-1.0.6 Completed base-orphans-0.8.1 Starting mtl-compat-0.2.1.3 Completed StateVar-1.1.1.1 Starting primitive-0.6.4.0 Building mtl-compat-0.2.1.3 Building primitive-0.6.4.0 Completed mtl-compat-0.2.1.3 Starting semigroups-0.18.5 Completed cabal-doctest-1.0.6 Starting tagged-0.8.6 Building semigroups-0.18.5 Building tagged-0.8.6 Completed hashable-1.2.7.0 Starting th-abstraction-0.2.11.0 Building th-abstraction-0.2.11.0 Completed semigroups-0.18.5 Starting transformers-compat-0.6.3 Building transformers-compat-0.6.3 Failed to install transformers-compat-0.6.3 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/transformers-compat-0.6.3-8J5sQDqjcykKMT9EWJuWmO.log ): cabal: Entering directory '/tmp/cabal-tmp-30654/transformers-compat-0.6.3' Configuring transformers-compat-0.6.3... Preprocessing library for transformers-compat-0.6.3.. Building library for transformers-compat-0.6.3.. [1 of 4] Compiling Control.Monad.Trans.Instances ( src/Control/Monad/Trans/Instances.hs, dist/build/Control/Monad/Trans/Instances.o ) src/Control/Monad/Trans/Instances.hs:610:10: error: Duplicate instance declarations: instance MonadFix m => MonadFix (ListT m) -- Defined at src/Control/Monad/Trans/Instances.hs:610:10 instance [safe] MonadFix m => MonadFix (ListT m) -- Defined in ‘Control.Monad.Trans.List’ | 610 | instance (MonadFix m) => MonadFix (ListT m) where | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cabal: Leaving directory '/tmp/cabal-tmp-30654/transformers-compat-0.6.3' Starting unliftio-core-0.1.2.0 Building unliftio-core-0.1.2.0 Completed tagged-0.8.6 Completed unliftio-core-0.1.2.0 Completed th-abstraction-0.2.11.0 Completed primitive-0.6.4.0 cabal: Error: some packages failed to install: bifunctors-5.5.3-7ypOJJuRiyTIXXC5seKRKh depends on bifunctors-5.5.3 which failed to install. comonad-5.0.4-1PGHt9eYrA4BrPWH2Q760 depends on comonad-5.0.4 which failed to install. exceptions-0.10.1-LJQK6tPYLpA2GwdrZBxobP depends on exceptions-0.10.1 which failed to install. protolude-0.2.3-9uUu2FmGClOGb0l8menM4l depends on protolude-0.2.3 which failed to install. registry-0.1.3.1-K47YP2qyNyq9EnskzFpczq depends on registry-0.1.3.1 which failed to install. resourcet-1.2.2-6SDTFhVwwqh77JL7liyTkt depends on resourcet-1.2.2 which failed to install. semigroupoids-5.3.2-8Ihc6E5I5xqH8eYcekW9rO depends on semigroupoids-5.3.2 which failed to install. transformers-base-0.4.5.2-GlJ8ZErq7lWLBZaohbo02f depends on transformers-base-0.4.5.2 which failed to install. transformers-compat-0.6.3-8J5sQDqjcykKMT9EWJuWmO failed during the building phase. The exception was: ExitFailure 1