Resolving dependencies... Configuring dlist-0.8.0.2... Configuring fail-4.9.0.0... Building dlist-0.8.0.2... Building fail-4.9.0.0... Installed fail-4.9.0.0 Configuring filepath-1.3.0.1... Building filepath-1.3.0.1... Configuring mtl-2.2.1... Installed dlist-0.8.0.2 Building mtl-2.2.1... Configuring primitive-0.6.1.0... Installed filepath-1.3.0.1 Building primitive-0.6.1.0... Configuring safe-0.3.10... Installed mtl-2.2.1 Building safe-0.3.10... Configuring split-0.2.3.1... Installed primitive-0.6.1.0 Building split-0.2.3.1... Configuring stm-2.4.4.1... Installed safe-0.3.10 Building stm-2.4.4.1... Configuring semigroups-0.18.2... Installed split-0.2.3.1 Building semigroups-0.18.2... Configuring strict-0.3.2... Installed semigroups-0.18.2 Configuring syb-0.6... Installed stm-2.4.4.1 Building strict-0.3.2... Building syb-0.6... Configuring text-1.2.2.1... Installed strict-0.3.2 Building text-1.2.2.1... Configuring transformers-compat-0.5.1.4... Installed syb-0.6 Building transformers-compat-0.5.1.4... Configuring utf8-string-1.0.1.1... Installed transformers-compat-0.5.1.4 Building utf8-string-1.0.1.1... Installed utf8-string-1.0.1.1 Configuring directory-1.3.0.0... Building directory-1.3.0.0... Configuring vector-0.11.0.0... Installed directory-1.3.0.0 Building vector-0.11.0.0... Configuring data-variant-0.28.0.5... Installed text-1.2.2.1 Building data-variant-0.28.0.5... Configuring exceptions-0.8.3... Installed data-variant-0.28.0.5 Building exceptions-0.8.3... Configuring mmorph-1.0.9... Installed exceptions-0.8.3 Building mmorph-1.0.9... Configuring tagged-0.8.5... Installed mmorph-1.0.9 Building tagged-0.8.5... Configuring transformers-base-0.4.4... Installed tagged-0.8.5 Building transformers-base-0.4.4... Installed transformers-base-0.4.4 Configuring file-embed-0.0.10... Building file-embed-0.0.10... Configuring hashable-1.2.4.0... Installed file-embed-0.0.10 Building hashable-1.2.4.0... Configuring process-1.4.3.0... Installed vector-0.11.0.0 Configuring parsec-3.1.11... Installed hashable-1.2.4.0 Building parsec-3.1.11... Building process-1.4.3.0... Configuring monad-control-1.0.1.0... Installed process-1.4.3.0 Building monad-control-1.0.1.0... Installed parsec-3.1.11 Configuring unordered-containers-0.2.7.1... Building unordered-containers-0.2.7.1... Configuring scientific-0.3.4.9... Installed monad-control-1.0.1.0 Building scientific-0.3.4.9... Configuring cmdargs-0.10.14... Installed scientific-0.3.4.9 Building cmdargs-0.10.14... Installed unordered-containers-0.2.7.1 Configuring lifted-base-0.2.3.8... Building lifted-base-0.2.3.8... Configuring attoparsec-0.13.1.0... Installed lifted-base-0.2.3.8 Building attoparsec-0.13.1.0... Installed attoparsec-0.13.1.0 Configuring enclosed-exceptions-1.0.2... Building enclosed-exceptions-1.0.2... Installed enclosed-exceptions-1.0.2 Configuring resourcet-1.1.8.1... Building resourcet-1.1.8.1... Configuring aeson-0.11.2.1... Installed cmdargs-0.10.14 Building aeson-0.11.2.1... Installed resourcet-1.1.8.1 Configuring conduit-1.2.8... Building conduit-1.2.8... Installed conduit-1.2.8 Installed aeson-0.11.2.1 Configuring yaml-0.8.21.1... Configuring hpaco-lib-0.28.0.5... Building yaml-0.8.21.1... Building hpaco-lib-0.28.0.5... Failed to install hpaco-lib-0.28.0.5 Build log ( /home/builder/.cabal/logs/hpaco-lib-0.28.0.5.log ): cabal: Entering directory '/tmp/cabal-tmp-798/hpaco-lib-0.28.0.5' Configuring hpaco-lib-0.28.0.5... Building hpaco-lib-0.28.0.5... Preprocessing library hpaco-lib-0.28.0.5... [ 1 of 25] Compiling Text.HPaco.Writers.Run.Library ( Text/HPaco/Writers/Run/Library.hs, dist/build/Text/HPaco/Writers/Run/Library.o ) [ 2 of 25] Compiling Text.HPaco.Writers.Run.Encode ( Text/HPaco/Writers/Run/Encode.hs, dist/build/Text/HPaco/Writers/Run/Encode.o ) Text/HPaco/Writers/Run/Encode.hs:36:36: warning: [-Wdeprecations] In the use of ‘splitEvery’ (imported from Data.List.Split, but defined in Data.List.Split.Internals): Deprecated: "Use chunksOf." [ 3 of 25] Compiling Text.HPaco.Writers.Internal.WrapMode ( Text/HPaco/Writers/Internal/WrapMode.hs, dist/build/Text/HPaco/Writers/Internal/WrapMode.o ) [ 4 of 25] Compiling Text.HPaco.Writers.Internal.CodeWriter ( Text/HPaco/Writers/Internal/CodeWriter.hs, dist/build/Text/HPaco/Writers/Internal/CodeWriter.o ) [ 5 of 25] Compiling Text.HPaco.Readers.Common ( Text/HPaco/Readers/Common.hs, dist/build/Text/HPaco/Readers/Common.o ) [ 6 of 25] Compiling Text.HPaco.AST.Identifier ( Text/HPaco/AST/Identifier.hs, dist/build/Text/HPaco/AST/Identifier.o ) [ 7 of 25] Compiling Text.HPaco.AST.Expression ( Text/HPaco/AST/Expression.hs, dist/build/Text/HPaco/AST/Expression.o ) [ 8 of 25] Compiling Text.HPaco.AST.Statement ( Text/HPaco/AST/Statement.hs, dist/build/Text/HPaco/AST/Statement.o ) [ 9 of 25] Compiling Text.HPaco.Readers.Paco.Expressions ( Text/HPaco/Readers/Paco/Expressions.hs, dist/build/Text/HPaco/Readers/Paco/Expressions.o ) [10 of 25] Compiling Text.HPaco.AST.AST ( Text/HPaco/AST/AST.hs, dist/build/Text/HPaco/AST/AST.o ) [11 of 25] Compiling Text.HPaco.Writers.Dependencies ( Text/HPaco/Writers/Dependencies.hs, dist/build/Text/HPaco/Writers/Dependencies.o ) [12 of 25] Compiling Text.HPaco.AST ( Text/HPaco/AST.hs, dist/build/Text/HPaco/AST.o ) [13 of 25] Compiling Text.HPaco.Reader ( Text/HPaco/Reader.hs, dist/build/Text/HPaco/Reader.o ) [14 of 25] Compiling Text.HPaco.Readers.Paco.ParserInternals ( Text/HPaco/Readers/Paco/ParserInternals.hs, dist/build/Text/HPaco/Readers/Paco/ParserInternals.o ) [15 of 25] Compiling Text.HPaco.Readers.Paco.Basics ( Text/HPaco/Readers/Paco/Basics.hs, dist/build/Text/HPaco/Readers/Paco/Basics.o ) [16 of 25] Compiling Text.HPaco.Readers.Paco.Include ( Text/HPaco/Readers/Paco/Include.hs, dist/build/Text/HPaco/Readers/Paco/Include.o ) [17 of 25] Compiling Text.HPaco.Readers.Capo.Statements ( Text/HPaco/Readers/Capo/Statements.hs, dist/build/Text/HPaco/Readers/Capo/Statements.o ) [18 of 25] Compiling Text.HPaco.Readers.Paco.Statements ( Text/HPaco/Readers/Paco/Statements.hs, dist/build/Text/HPaco/Readers/Paco/Statements.o ) [19 of 25] Compiling Text.HPaco.Readers.Paco ( Text/HPaco/Readers/Paco.hs, dist/build/Text/HPaco/Readers/Paco.o ) [20 of 25] Compiling Text.HPaco.Writer ( Text/HPaco/Writer.hs, dist/build/Text/HPaco/Writer.o ) [21 of 25] Compiling Text.HPaco.Writers.Javascript ( Text/HPaco/Writers/Javascript.hs, dist/build/Text/HPaco/Writers/Javascript.o ) [22 of 25] Compiling Text.HPaco.Writers.JsonLisp ( Text/HPaco/Writers/JsonLisp.hs, dist/build/Text/HPaco/Writers/JsonLisp.o ) Text/HPaco/Writers/JsonLisp.hs:79:10: error: • Overlapping instances for ToJSON (String, Statement) arising from a use of ‘aeson-0.11.2.1:Data.Aeson.Types.Class.$dmtoEncoding’ Matching instances: instance (ToJSON a, ToJSON b) => ToJSON (a, b) -- Defined in ‘aeson-0.11.2.1:Data.Aeson.Types.Instances’ instance ToJSON (String, Statement) -- Defined at Text/HPaco/Writers/JsonLisp.hs:79:10 • In the expression: aeson-0.11.2.1:Data.Aeson.Types.Class.$dmtoEncoding @(String, Statement) In an equation for ‘toEncoding’: toEncoding = aeson-0.11.2.1:Data.Aeson.Types.Class.$dmtoEncoding @(String, Statement) In the instance declaration for ‘ToJSON (String, Statement)’ Text/HPaco/Writers/JsonLisp.hs:84:42: error: • Overlapping instances for ToJSON Def arising from a use of ‘toJSON’ Matching instances: instance (ToJSON a, ToJSON b) => ToJSON (a, b) -- Defined in ‘aeson-0.11.2.1:Data.Aeson.Types.Instances’ instance ToJSON (String, Statement) -- Defined at Text/HPaco/Writers/JsonLisp.hs:79:10 • In the first argument of ‘map’, namely ‘toJSON’ In the second argument of ‘(<:>)’, namely ‘map toJSON defs’ In the first argument of ‘(++)’, namely ‘(toJSON "progn" <:> map toJSON defs)’ cabal: Leaving directory '/tmp/cabal-tmp-798/hpaco-lib-0.28.0.5' Installed yaml-0.8.21.1 cabal: Error: some packages failed to install: hpaco-0.28.0.5 depends on hpaco-lib-0.28.0.5 which failed to install. hpaco-lib-0.28.0.5 failed during the building phase. The exception was: ExitFailure 1