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 base-orphans-0.8 Building StateVar-1.1.1.1 Building base-orphans-0.8 Completed base-orphans-0.8 Starting cabal-doctest-1.0.6 Completed StateVar-1.1.1.1 Starting call-stack-0.1.0 Building cabal-doctest-1.0.6 Building call-stack-0.1.0 Completed call-stack-0.1.0 Starting ghc-paths-0.1.0.9 Completed cabal-doctest-1.0.6 Starting hashable-1.2.7.0 Building hashable-1.2.7.0 Building ghc-paths-0.1.0.9 Completed ghc-paths-0.1.0.9 Starting parallel-3.2.2.0 Completed hashable-1.2.7.0 Starting primitive-0.6.4.0 Building parallel-3.2.2.0 Building primitive-0.6.4.0 Completed parallel-3.2.2.0 Starting random-1.1 Building random-1.1 Completed random-1.1 Starting reflection-2.1.4 Building reflection-2.1.4 Completed reflection-2.1.4 Starting regex-base-0.93.2 Completed primitive-0.6.4.0 Starting semigroups-0.18.5 Building regex-base-0.93.2 Building semigroups-0.18.5 Completed semigroups-0.18.5 Starting split-0.2.3.3 Building split-0.2.3.3 Completed regex-base-0.93.2 Starting tagged-0.8.6 Building tagged-0.8.6 Completed split-0.2.3.3 Starting th-abstraction-0.2.8.0 Building th-abstraction-0.2.8.0 Completed tagged-0.8.6 Starting transformers-compat-0.6.2 Building transformers-compat-0.6.2 Completed th-abstraction-0.2.8.0 Starting void-0.7.2 Building void-0.7.2 Completed transformers-compat-0.6.2 Starting contravariant-1.5 Building contravariant-1.5 Completed void-0.7.2 Starting unordered-containers-0.2.9.0 Building unordered-containers-0.2.9.0 Completed contravariant-1.5 Starting vector-0.12.0.1 Building vector-0.12.0.1 Completed unordered-containers-0.2.9.0 Starting regex-tdfa-1.2.3.1 Building regex-tdfa-1.2.3.1 Completed regex-tdfa-1.2.3.1 Starting regex-posix-0.95.2 Building regex-posix-0.95.2 Completed regex-posix-0.95.2 Starting distributive-0.6 Building distributive-0.6 Completed vector-0.12.0.1 Starting transformers-base-0.4.5.2 Building transformers-base-0.4.5.2 Completed distributive-0.6 Starting exceptions-0.10.0 Completed transformers-base-0.4.5.2 Starting comonad-5.0.4 Building exceptions-0.10.0 Building comonad-5.0.4 Completed exceptions-0.10.0 Completed comonad-5.0.4 Starting bifunctors-5.5.3 Building bifunctors-5.5.3 Completed bifunctors-5.5.3 Starting semigroupoids-5.3.1 Starting profunctors-5.3 Building profunctors-5.3 Building semigroupoids-5.3.1 Completed profunctors-5.3 Starting invariant-0.5.1 Building invariant-0.5.1 Completed semigroupoids-5.3.1 Starting free-5.1 Building free-5.1 Completed invariant-0.5.1 Completed free-5.1 Starting adjunctions-4.4 Building adjunctions-4.4 Completed adjunctions-4.4 Starting kan-extensions-5.2 Building kan-extensions-5.2 Completed kan-extensions-5.2 Starting lens-4.17 Building lens-4.17 Completed lens-4.17 Starting egison-3.7.14 Building egison-3.7.14 Completed egison-3.7.14 Downloading egison-tutorial-3.7.14 Downloaded egison-tutorial-3.7.14 Starting egison-tutorial-3.7.14 Building egison-tutorial-3.7.14 Failed to install egison-tutorial-3.7.14 Build log ( /home/builder/.cabal/logs/ghc-8.6.1/egison-tutorial-3.7.14-4hGfA3EGkkiDBDsMaGzR4k.log ): cabal: Entering directory '/tmp/cabal-tmp-20274/egison-tutorial-3.7.14' Configuring egison-tutorial-3.7.14... Preprocessing executable 'egison-tutorial' for egison-tutorial-3.7.14.. Building executable 'egison-tutorial' for egison-tutorial-3.7.14.. : warning: [-Wmissing-home-modules] These modules are needed for compilation but not listed in your .cabal file's other-modules: Paths_egison_tutorial [1 of 2] Compiling Paths_egison_tutorial ( dist/build/egison-tutorial/autogen/Paths_egison_tutorial.hs, dist/build/egison-tutorial/egison-tutorial-tmp/Paths_egison_tutorial.o ) [2 of 2] Compiling Main ( Main.hs, dist/build/egison-tutorial/egison-tutorial-tmp/Main.o ) Main.hs:184:51: error: • Couldn't match expected type ‘InputT IO (Either (Maybe [Char]) (String, b0))’ with actual type ‘String -> InputT IO (Either (Maybe String) (String, EgisonTopExpr))’ • Probable cause: ‘getEgisonExprOrNewLine’ is applied to too few arguments In the second argument of ‘($)’, namely ‘getEgisonExprOrNewLine prompt’ In the second argument of ‘($)’, namely ‘runInputT (settings home) $ getEgisonExprOrNewLine prompt’ In a stmt of a 'do' block: input <- liftIO $ runInputT (settings home) $ getEgisonExprOrNewLine prompt | 184 | input <- liftIO $ runInputT (settings home) $ getEgisonExprOrNewLine prompt | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Main.hs:184:74: error: • Couldn't match type ‘[Char]’ with ‘Bool’ Expected type: Bool Actual type: String • In the first argument of ‘getEgisonExprOrNewLine’, namely ‘prompt’ In the second argument of ‘($)’, namely ‘getEgisonExprOrNewLine prompt’ In the second argument of ‘($)’, namely ‘runInputT (settings home) $ getEgisonExprOrNewLine prompt’ | 184 | input <- liftIO $ runInputT (settings home) $ getEgisonExprOrNewLine prompt | ^^^^^^ cabal: Leaving directory '/tmp/cabal-tmp-20274/egison-tutorial-3.7.14' cabal: Error: some packages failed to install: egison-tutorial-3.7.14-4hGfA3EGkkiDBDsMaGzR4k failed during the building phase. The exception was: ExitFailure 1