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 base-orphans-0.8.1 Starting cmdargs-0.10.20 Starting blaze-builder-0.4.1.0 Starting base-compat-0.11.0 Building base-orphans-0.8.1 Building blaze-builder-0.4.1.0 Building cmdargs-0.10.20 Building base-compat-0.11.0 Completed base-orphans-0.8.1 Starting dlist-0.8.0.7 Building dlist-0.8.0.7 Completed blaze-builder-0.4.1.0 Starting hashable-1.3.0.0 Building hashable-1.3.0.0 Completed dlist-0.8.0.7 Starting integer-logarithms-1.0.3 Building integer-logarithms-1.0.3 Completed integer-logarithms-1.0.3 Starting monad-loops-0.4.3 Building monad-loops-0.4.3 Completed base-compat-0.11.0 Starting parser-combinators-1.2.1 Completed hashable-1.3.0.0 Starting primitive-0.7.0.0 Building parser-combinators-1.2.1 Building primitive-0.7.0.0 Completed monad-loops-0.4.3 Starting random-1.1 Building random-1.1 Completed parser-combinators-1.2.1 Starting tagged-0.8.6 Building tagged-0.8.6 Completed random-1.1 Starting th-abstraction-0.3.1.0 Building th-abstraction-0.3.1.0 Completed tagged-0.8.6 Starting transformers-compat-0.6.5 Building transformers-compat-0.6.5 Completed transformers-compat-0.6.5 Starting time-compat-1.9.2.2 Completed th-abstraction-0.3.1.0 Starting blaze-markup-0.8.2.3 Building time-compat-1.9.2.2 Building blaze-markup-0.8.2.3 Completed cmdargs-0.10.20 Starting unordered-containers-0.2.10.0 Building unordered-containers-0.2.10.0 Completed primitive-0.7.0.0 Starting case-insensitive-1.2.1.0 Building case-insensitive-1.2.1.0 Completed blaze-markup-0.8.2.3 Starting async-2.2.2 Building async-2.2.2 Completed time-compat-1.9.2.2 Starting uuid-types-1.0.3 Completed case-insensitive-1.2.1.0 Starting exceptions-0.10.3 Building uuid-types-1.0.3 Building exceptions-0.10.3 Completed async-2.2.2 Starting vector-0.12.0.3 Building vector-0.12.0.3 Completed uuid-types-1.0.3 Starting scientific-0.3.6.2 Building scientific-0.3.6.2 Completed exceptions-0.10.3 Starting blaze-html-0.9.1.2 Building blaze-html-0.9.1.2 Completed unordered-containers-0.2.10.0 Completed scientific-0.3.6.2 Starting megaparsec-8.0.0 Starting attoparsec-0.13.2.3 Building megaparsec-8.0.0 Building attoparsec-0.13.2.3 Completed attoparsec-0.13.2.3 Completed megaparsec-8.0.0 Completed blaze-html-0.9.1.2 Completed vector-0.12.0.3 Starting aeson-1.4.6.0 Building aeson-1.4.6.0 Completed aeson-1.4.6.0 Starting shakespeare-2.0.23 Building shakespeare-2.0.23 Completed shakespeare-2.0.23 Starting bond-0.12.0.1 Building bond-0.12.0.1 Failed to install bond-0.12.0.1 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/bond-0.12.0.1-A2KUKq1dpkVALtPIrKTOxo.log ): cabal: Entering directory '/tmp/cabal-tmp-6079/bond-0.12.0.1' Configuring bond-0.12.0.1... Preprocessing library for bond-0.12.0.1.. Building library for bond-0.12.0.1.. [ 1 of 29] Compiling Language.Bond.Syntax.Types ( src/Language/Bond/Syntax/Types.hs, dist/build/Language/Bond/Syntax/Types.o ) [ 2 of 29] Compiling Language.Bond.Syntax.JSON ( src/Language/Bond/Syntax/JSON.hs, dist/build/Language/Bond/Syntax/JSON.o ) [ 3 of 29] Compiling Language.Bond.Lexer ( src/Language/Bond/Lexer.hs, dist/build/Language/Bond/Lexer.o ) [ 4 of 29] Compiling Language.Bond.Codegen.CustomMapping ( src/Language/Bond/Codegen/CustomMapping.hs, dist/build/Language/Bond/Codegen/CustomMapping.o ) [ 5 of 29] Compiling Language.Bond.Util ( src/Language/Bond/Util.hs, dist/build/Language/Bond/Util.o ) [ 6 of 29] Compiling Language.Bond.Syntax.Util ( src/Language/Bond/Syntax/Util.hs, dist/build/Language/Bond/Syntax/Util.o ) [ 7 of 29] Compiling Language.Bond.Syntax.Internal ( src/Language/Bond/Syntax/Internal.hs, dist/build/Language/Bond/Syntax/Internal.o ) [ 8 of 29] Compiling Language.Bond.Parser ( src/Language/Bond/Parser.hs, dist/build/Language/Bond/Parser.o ) src/Language/Bond/Parser.hs:476:19: error: • The constructor ‘State’ should have 4 arguments, but has been given 3 • In the pattern: State s o (PosState i o' _ t l) In an equation for ‘setPos’: setPos (State s o (PosState i o' _ t l)) = State s o (PosState i o' src t l) In an equation for ‘setSourcePos’: setSourcePos src = updateParserState setPos where setPos (State s o (PosState i o' _ t l)) = State s o (PosState i o' src t l) | 476 | where setPos (State s o (PosState i o' _ t l)) = State s o (PosState i o' src t l) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cabal: Leaving directory '/tmp/cabal-tmp-6079/bond-0.12.0.1' cabal: Error: some packages failed to install: bond-0.12.0.1-A2KUKq1dpkVALtPIrKTOxo failed during the building phase. The exception was: ExitFailure 1