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... Warning: The following packages are likely to be broken by the reinstalls: parsec-3.1.13.0 Cabal-2.4.0.1 Continuing even though the plan contains dangerous reinstalls. Starting Diff-0.4.0 Starting base-orphans-0.8.2 Starting basement-0.0.11 Starting base-compat-0.11.1 Building Diff-0.4.0 Building base-orphans-0.8.2 Building basement-0.0.11 Building base-compat-0.11.1 Completed Diff-0.4.0 Starting blaze-builder-0.4.1.0 Building blaze-builder-0.4.1.0 Completed base-orphans-0.8.2 Starting cabal-doctest-1.0.8 Building cabal-doctest-1.0.8 Completed blaze-builder-0.4.1.0 Starting cereal-0.5.8.1 Building cereal-0.5.8.1 Completed base-compat-0.11.1 Starting colour-2.3.5 Completed cabal-doctest-1.0.8 Starting data-default-class-0.1.2.0 Building colour-2.3.5 Building data-default-class-0.1.2.0 Completed data-default-class-0.1.2.0 Starting data-fix-0.2.0 Building data-fix-0.2.0 Completed data-fix-0.2.0 Starting dlist-0.8.0.7 Building dlist-0.8.0.7 Completed cereal-0.5.8.1 Starting dotgen-0.4.2 Building dotgen-0.4.2 Completed colour-2.3.5 Starting half-0.3 Completed dlist-0.8.0.7 Starting hashable-1.3.0.0 Building half-0.3 Building hashable-1.3.0.0 Completed dotgen-0.4.2 Starting hourglass-0.2.12 Building hourglass-0.2.12 Completed half-0.3 Starting integer-logarithms-1.0.3 Building integer-logarithms-1.0.3 Completed hashable-1.3.0.0 Starting mime-types-0.1.0.9 Building mime-types-0.1.0.9 Completed integer-logarithms-1.0.3 Starting network-3.1.1.1 Building network-3.1.1.1 Completed hourglass-0.2.12 Starting ordered-containers-0.2.2 Building ordered-containers-0.2.2 Completed mime-types-0.1.0.9 Starting parser-combinators-1.2.1 Building parser-combinators-1.2.1 Completed ordered-containers-0.2.2 Starting prettyprinter-1.6.1 Building prettyprinter-1.6.1 Completed parser-combinators-1.2.1 Starting random-1.1 Building random-1.1 Completed network-3.1.1.1 Starting semigroups-0.19.1 Building semigroups-0.19.1 Completed random-1.1 Starting th-abstraction-0.3.2.0 Building th-abstraction-0.3.2.0 Completed semigroups-0.19.1 Starting transformers-0.5.6.2 Completed prettyprinter-1.6.1 Starting unix-compat-0.5.2 Building transformers-0.5.6.2 Building unix-compat-0.5.2 Completed unix-compat-0.5.2 Starting utf8-string-1.0.1.1 Building utf8-string-1.0.1.1 Completed th-abstraction-0.3.2.0 Starting zlib-0.6.2.1 Completed basement-0.0.11 Starting time-compat-1.9.2.2 Building zlib-0.6.2.1 Building time-compat-1.9.2.2 Completed utf8-string-1.0.1.1 Starting cookie-0.4.5 Building cookie-0.4.5 Completed time-compat-1.9.2.2 Starting ansi-terminal-0.10.3 Completed zlib-0.6.2.1 Building ansi-terminal-0.10.3 Starting unordered-containers-0.2.10.0 Completed cookie-0.4.5 Starting case-insensitive-1.2.1.0 Building unordered-containers-0.2.10.0 Building case-insensitive-1.2.1.0 Completed transformers-0.5.6.2 Starting async-2.2.2 Building async-2.2.2 Completed case-insensitive-1.2.1.0 Starting uuid-types-1.0.3 Building uuid-types-1.0.3 Completed ansi-terminal-0.10.3 Starting th-lift-0.8.1 Building th-lift-0.8.1 Completed async-2.2.2 Starting socks-0.6.1 Building socks-0.6.1 Completed th-lift-0.8.1 Starting memory-0.15.0 Completed uuid-types-1.0.3 Starting transformers-compat-0.6.5 Building memory-0.15.0 Building transformers-compat-0.6.5 Completed socks-0.6.1 Starting tagged-0.8.6 Completed unordered-containers-0.2.10.0 Starting primitive-0.7.0.0 Completed transformers-compat-0.6.5 Starting mtl-2.2.2 Building tagged-0.8.6 Building primitive-0.7.0.0 Building mtl-2.2.2 Completed tagged-0.8.6 Starting lens-family-core-2.0.0 Building lens-family-core-2.0.0 Completed mtl-2.2.2 Starting haskeline-0.7.5.0 Building haskeline-0.7.5.0 Completed memory-0.15.0 Starting cmdargs-0.10.20 Building cmdargs-0.10.20 Completed lens-family-core-2.0.0 Starting StateVar-1.2 Building StateVar-1.2 Completed StateVar-1.2 Starting http-types-0.12.3 Building http-types-0.12.3 Completed primitive-0.7.0.0 Starting prettyprinter-ansi-terminal-1.1.1.2 Building prettyprinter-ansi-terminal-1.1.1.2 Completed http-types-0.12.3 Starting ansi-wl-pprint-0.6.9 Building ansi-wl-pprint-0.6.9 Completed prettyprinter-ansi-terminal-1.1.1.2 Starting streaming-commons-0.2.1.2 Building streaming-commons-0.2.1.2 Completed ansi-wl-pprint-0.6.9 Starting charset-0.3.7.1 Completed haskeline-0.7.5.0 Starting distributive-0.6.1 Building charset-0.3.7.1 Building distributive-0.6.1 Completed charset-0.3.7.1 Starting pretty-simple-3.2.2.0 Completed streaming-commons-0.2.1.2 Starting parsec-3.1.14.0 Completed distributive-0.6.1 Starting exceptions-0.10.4 Building parsec-3.1.14.0 Building exceptions-0.10.4 Completed cmdargs-0.10.20 Starting pem-0.2.4 Building pretty-simple-3.2.2.0 Building pem-0.2.4 Completed pem-0.2.4 Starting cryptonite-0.26 Completed exceptions-0.10.4 Starting asn1-types-0.3.3 Building cryptonite-0.26 Building asn1-types-0.3.3 Completed parsec-3.1.14.0 Starting contravariant-1.5.2 Building contravariant-1.5.2 Completed asn1-types-0.3.3 Starting vector-0.12.1.2 Building vector-0.12.1.2 Completed pretty-simple-3.2.2.0 Starting scientific-0.3.6.2 Completed contravariant-1.5.2 Starting cborg-0.2.2.1 Building scientific-0.3.6.2 Building cborg-0.2.2.1 Completed scientific-0.3.6.2 Starting optparse-applicative-0.15.1.0 Building optparse-applicative-0.15.1.0 Completed optparse-applicative-0.15.1.0 Starting comonad-5.0.6 Building comonad-5.0.6 Completed comonad-5.0.6 Starting temporary-1.3 Building temporary-1.3 Completed temporary-1.3 Starting repline-0.2.2.0 Building repline-0.2.2.0 Completed repline-0.2.2.0 Starting network-uri-2.6.3.0 Building network-uri-2.6.3.0 Completed network-uri-2.6.3.0 Starting asn1-encoding-0.9.6 Building asn1-encoding-0.9.6 Completed vector-0.12.1.2 Starting megaparsec-8.0.0 Building megaparsec-8.0.0 Completed asn1-encoding-0.9.6 Starting attoparsec-0.13.2.3 Building attoparsec-0.13.2.3 Completed attoparsec-0.13.2.3 Starting bifunctors-5.5.7 Building bifunctors-5.5.7 Completed megaparsec-8.0.0 Starting atomic-write-0.2.0.7 Building atomic-write-0.2.0.7 Completed cborg-0.2.2.1 Starting uri-encode-1.5.0.5 Building uri-encode-1.5.0.5 Completed atomic-write-0.2.0.7 Starting http-client-0.6.4 Completed uri-encode-1.5.0.5 Starting th-lift-instances-0.1.14 Building http-client-0.6.4 Building th-lift-instances-0.1.14 Completed th-lift-instances-0.1.14 Starting asn1-parse-0.9.5 Building asn1-parse-0.9.5 Completed asn1-parse-0.9.5 Starting parsers-0.12.10 Building parsers-0.12.10 Completed bifunctors-5.5.7 Starting aeson-1.4.6.0 Building aeson-1.4.6.0 Completed cryptonite-0.26 Starting serialise-0.2.2.0 Building serialise-0.2.2.0 Completed http-client-0.6.4 Starting semigroupoids-5.3.4 Completed parsers-0.12.10 Starting profunctors-5.5.2 Building semigroupoids-5.3.4 Building profunctors-5.5.2 Completed serialise-0.2.2.0 Starting x509-1.7.5 Building x509-1.7.5 Completed profunctors-5.5.2 Completed semigroupoids-5.3.4 Starting either-5.0.1.1 Completed x509-1.7.5 Starting x509-store-1.6.7 Building either-5.0.1.1 Building x509-store-1.6.7 Completed either-5.0.1.1 Completed x509-store-1.6.7 Starting x509-validation-1.6.11 Starting x509-system-1.6.6 Building x509-system-1.6.6 Building x509-validation-1.6.11 Completed x509-system-1.6.6 Completed x509-validation-1.6.11 Starting tls-1.5.4 Building tls-1.5.4 Completed aeson-1.4.6.0 Starting aeson-pretty-0.8.8 Starting aeson-casing-0.2.0.0 Starting aeson-yaml-1.0.5.0 Building aeson-casing-0.2.0.0 Building aeson-yaml-1.0.5.0 Building aeson-pretty-0.8.8 Completed aeson-casing-0.2.0.0 Completed aeson-yaml-1.0.5.0 Completed aeson-pretty-0.8.8 Starting cborg-json-0.2.2.0 Building cborg-json-0.2.2.0 Completed cborg-json-0.2.2.0 Completed tls-1.5.4 Starting connection-0.3.1 Building connection-0.3.1 Completed connection-0.3.1 Starting http-client-tls-0.3.5.3 Building http-client-tls-0.3.5.3 Completed http-client-tls-0.3.5.3 Starting dhall-1.29.0 Building dhall-1.29.0 Completed dhall-1.29.0 Starting dhall-json-1.6.2 Building dhall-json-1.6.2 Failed to install dhall-json-1.6.2 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/dhall-json-1.6.2-5ttzHj2k6ZV7Gsj1lQpIhZ.log ): cabal: Entering directory '/tmp/cabal-tmp-16435/dhall-json-1.6.2' Configuring dhall-json-1.6.2... Preprocessing library for dhall-json-1.6.2.. Building library for dhall-json-1.6.2.. [1 of 5] Compiling Dhall.JSON.Util ( src/Dhall/JSON/Util.hs, dist/build/Dhall/JSON/Util.o ) [2 of 5] Compiling Dhall.JSON ( src/Dhall/JSON.hs, dist/build/Dhall/JSON.o ) src/Dhall/JSON.hs:987:9: error: • The constructor ‘Core.Combine’ should have 2 arguments, but has been given 3 • In the pattern: Core.Combine a b c In a case alternative: Core.Combine a b c -> Core.Combine a b' c' where b' = loop b c' = loop c In the expression: case e of Core.Const a -> Core.Const a Core.Var v -> Core.Var v Core.Lam a b c -> Core.Lam a b c Core.Pi a b c -> Core.Pi a b' c' where b' = loop b c' = loop c Core.App a b -> Core.App a' b' where a' = loop a b' = loop b Core.Let (Binding src0 a src1 b src2 c) d -> Core.Let (Binding src0 a src1 b' src2 c') d' where b' = fmap (fmap loop) b c' = loop c d' = loop d Core.Annot a b -> Core.Annot a' b' where a' = loop a b' = loop b Core.Bool -> Core.Bool Core.BoolLit a -> Core.BoolLit a Core.BoolAnd a b -> Core.BoolAnd a' b' where a' = loop a b' = loop b Core.BoolOr a b -> Core.BoolOr a' b' where a' = loop a b' = loop b Core.BoolEQ a b -> Core.BoolEQ a' b' where a' = loop a b' = loop b Core.BoolNE a b -> Core.BoolNE a' b' where a' = loop a b' = loop b Core.BoolIf a b c -> Core.BoolIf a' b' c' where a' = loop a b' = loop b c' = loop c Core.Natural -> Core.Natural Core.NaturalLit a -> Core.NaturalLit a Core.NaturalFold -> Core.NaturalFold Core.NaturalBuild -> Core.NaturalBuild Core.NaturalIsZero -> Core.NaturalIsZero Core.NaturalEven -> Core.NaturalEven Core.NaturalOdd -> Core.NaturalOdd Core.NaturalToInteger -> Core.NaturalToInteger Core.NaturalShow -> Core.NaturalShow Core.NaturalSubtract -> Core.NaturalSubtract Core.NaturalPlus a b -> Core.NaturalPlus a' b' where a' = loop a b' = loop b Core.NaturalTimes a b -> Core.NaturalTimes a' b' where a' = loop a b' = loop b Core.Integer -> Core.Integer Core.IntegerLit a -> Core.IntegerLit a Core.IntegerClamp -> Core.IntegerClamp Core.IntegerNegate -> Core.IntegerNegate Core.IntegerShow -> Core.IntegerShow Core.IntegerToDouble -> Core.IntegerToDouble Core.Double -> Core.Double Core.DoubleLit a -> Core.DoubleLit a Core.DoubleShow -> Core.DoubleShow Core.Text -> Core.Text Core.TextLit (Core.Chunks a b) -> Core.TextLit (Core.Chunks a' b) where a' = fmap (fmap loop) a Core.TextAppend a b -> Core.TextAppend a' b' where a' = loop a b' = loop b Core.TextShow -> Core.TextShow Core.List -> Core.List Core.ListLit a b -> case transform of Just c -> loop c Nothing -> Core.ListLit a' b' where elements = Foldable.toList b toKeyValue :: Expr s Void -> Maybe (Text, Expr s Void) toKeyValue (Core.RecordLit m) = do ... toKeyValue _ = do ... .... Core.ListAppend a b -> Core.ListAppend a' b' where a' = loop a b' = loop b Core.ListBuild -> Core.ListBuild Core.ListFold -> Core.ListFold Core.ListLength -> Core.ListLength Core.ListHead -> Core.ListHead Core.ListLast -> Core.ListLast Core.ListIndexed -> Core.ListIndexed Core.ListReverse -> Core.ListReverse Core.Optional -> Core.Optional Core.Some a -> Core.Some a' where a' = loop a Core.None -> Core.None Core.OptionalFold -> Core.OptionalFold Core.OptionalBuild -> Core.OptionalBuild Core.Record a -> Core.Record a' where a' = fmap loop a Core.RecordLit a -> Core.RecordLit a' where a' = fmap loop a Core.Union a -> Core.Union a' where a' = fmap (fmap loop) a Core.Combine a b c -> Core.Combine a b' c' where b' = loop b c' = loop c Core.CombineTypes a b -> Core.CombineTypes a' b' where a' = loop a b' = loop b Core.Prefer a b -> Core.Prefer a' b' where a' = loop a b' = loop b Core.RecordCompletion a b -> Core.RecordCompletion a' b' where a' = loop a b' = loop b Core.Merge a b c -> Core.Merge a' b' c' where a' = loop a b' = loop b c' = fmap loop c Core.ToMap a b -> Core.ToMap a' b' where a' = loop a b' = fmap loop b Core.Field a b -> Core.Field a' b where a' = loop a Core.Project a b -> Core.Project a' b where a' = loop a Core.Assert a -> Core.Assert a' where a' = loop a Core.Equivalent a b -> Core.Equivalent a' b' where a' = loop a b' = loop b Core.ImportAlt a b -> Core.ImportAlt a' b' where a' = loop a b' = loop b Core.Note a b -> Core.Note a b' where b' = loop b Core.Embed a -> Core.Embed a | 987 | Core.Combine a b c -> | ^^^^^^^^^^^^^^^^^^ cabal: Leaving directory '/tmp/cabal-tmp-16435/dhall-json-1.6.2' cabal: Error: some packages failed to install: dhall-fly-0.2.3-DJxq4McM6482V0uowm9fYa depends on dhall-fly-0.2.3 which failed to install. dhall-json-1.6.2-5ttzHj2k6ZV7Gsj1lQpIhZ failed during the building phase. The exception was: ExitFailure 1