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 ordered-containers-0.2.2 Starting safe-0.3.17 Starting fail-4.9.0.0 Starting primitive-0.7.0.0 Building ordered-containers-0.2.2 Building fail-4.9.0.0 Building safe-0.3.17 Building primitive-0.7.0.0 Completed fail-4.9.0.0 Starting semigroups-0.19.1 Building semigroups-0.19.1 Completed semigroups-0.19.1 Starting syb-0.7.1 Building syb-0.7.1 Completed ordered-containers-0.2.2 Starting th-abstraction-0.3.1.0 Completed safe-0.3.17 Starting transformers-compat-0.6.5 Building th-abstraction-0.3.1.0 Building transformers-compat-0.6.5 Completed syb-0.7.1 Starting th-expand-syns-0.4.5.0 Building th-expand-syns-0.4.5.0 Completed transformers-compat-0.6.5 Completed th-abstraction-0.3.1.0 Starting th-lift-0.8.0.1 Building th-lift-0.8.0.1 Completed th-expand-syns-0.4.5.0 Starting th-reify-many-0.1.9 Building th-reify-many-0.1.9 Completed th-lift-0.8.0.1 Completed th-reify-many-0.1.9 Completed primitive-0.7.0.0 Starting vector-0.12.0.3 Building vector-0.12.0.3 Completed vector-0.12.0.3 Starting th-lift-instances-0.1.14 Building th-lift-instances-0.1.14 Completed th-lift-instances-0.1.14 Starting th-orphans-0.13.9 Building th-orphans-0.13.9 Completed th-orphans-0.13.9 Starting th-desugar-1.10 Building th-desugar-1.10 Completed th-desugar-1.10 Starting plugins-multistage-0.6.2 Building plugins-multistage-0.6.2 Failed to install plugins-multistage-0.6.2 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/plugins-multistage-0.6.2-K70Kz0ho2ZYA3h6Kzfihwe.log ): cabal: Entering directory '/tmp/cabal-tmp-6990/plugins-multistage-0.6.2' Configuring plugins-multistage-0.6.2... Preprocessing library for plugins-multistage-0.6.2.. Building library for plugins-multistage-0.6.2.. on the commandline: warning: -fcontext-stack=100 is deprecated: use -freduction-depth=100 instead [1 of 1] Compiling System.Plugins.MultiStage ( src/System/Plugins/MultiStage.hs, dist/build/System/Plugins/MultiStage.o ) src/System/Plugins/MultiStage.hs:207:5: error: • Couldn't match expected type ‘IO a0’ with actual type ‘GHCi.ObjLink.ShouldRetainCAFs -> IO ()’ • Probable cause: ‘initObjLinker’ is applied to too few arguments In a stmt of a 'do' block: initObjLinker In the expression: do exists <- doesFileExist oname when exists $ removeFile oname compileC cname oname opts initObjLinker .... In an equation for ‘compileAndLoad’: compileAndLoad cname oname opts = do exists <- doesFileExist oname when exists $ removeFile oname compileC cname oname opts .... | 207 | initObjLinker | ^^^^^^^^^^^^^ cabal: Leaving directory '/tmp/cabal-tmp-6990/plugins-multistage-0.6.2' cabal: Error: some packages failed to install: plugins-multistage-0.6.2-K70Kz0ho2ZYA3h6Kzfihwe failed during the building phase. The exception was: ExitFailure 1