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 base64-bytestring-1.0.0.2 Starting colour-2.3.4 Starting blaze-builder-0.4.1.0 Starting base-compat-0.10.5 Building base64-bytestring-1.0.0.2 Building colour-2.3.4 Building blaze-builder-0.4.1.0 Building base-compat-0.10.5 Completed base64-bytestring-1.0.0.2 Starting dlist-0.8.0.6 Building dlist-0.8.0.6 Completed blaze-builder-0.4.1.0 Starting executable-path-0.0.3.1 Building executable-path-0.0.3.1 Completed dlist-0.8.0.6 Starting hashable-1.2.7.0 Completed executable-path-0.0.3.1 Starting integer-logarithms-1.0.2.2 Building hashable-1.2.7.0 Completed base-compat-0.10.5 Starting natural-sort-0.1.2 Building integer-logarithms-1.0.2.2 Building natural-sort-0.1.2 Completed colour-2.3.4 Starting primitive-0.6.4.0 Building primitive-0.6.4.0 Completed integer-logarithms-1.0.2.2 Starting random-1.1 Completed natural-sort-0.1.2 Starting safe-0.3.17 Building random-1.1 Building safe-0.3.17 Completed hashable-1.2.7.0 Starting split-0.2.3.3 Building split-0.2.3.3 Completed random-1.1 Starting tagged-0.8.6 Completed split-0.2.3.3 Starting th-abstraction-0.2.11.0 Building tagged-0.8.6 Completed safe-0.3.17 Starting time-locale-compat-0.1.1.5 Building th-abstraction-0.2.11.0 Building time-locale-compat-0.1.1.5 Completed time-locale-compat-0.1.1.5 Starting transformers-compat-0.6.2 Building transformers-compat-0.6.2 Completed tagged-0.8.6 Starting unliftio-core-0.1.2.0 Building unliftio-core-0.1.2.0 Completed th-abstraction-0.2.11.0 Starting zlib-0.6.2 Completed unliftio-core-0.1.2.0 Starting blaze-markup-0.8.2.2 Building zlib-0.6.2 Completed transformers-compat-0.6.2 Starting ansi-terminal-0.9 Building blaze-markup-0.8.2.2 Building ansi-terminal-0.9 Completed primitive-0.6.4.0 Starting unordered-containers-0.2.10.0 Building unordered-containers-0.2.10.0 Completed blaze-markup-0.8.2.2 Starting uuid-types-1.0.3 Building uuid-types-1.0.3 Completed ansi-terminal-0.9 Starting exceptions-0.10.1 Building exceptions-0.10.1 Completed zlib-0.6.2 Starting vector-0.12.0.2 Building vector-0.12.0.2 Completed uuid-types-1.0.3 Starting scientific-0.3.6.2 Building scientific-0.3.6.2 Completed exceptions-0.10.1 Starting blaze-svg-0.3.6.1 Building blaze-svg-0.3.6.1 Completed scientific-0.3.6.2 Starting ansi-wl-pprint-0.6.8.2 Completed unordered-containers-0.2.10.0 Starting resourcet-1.2.2 Building ansi-wl-pprint-0.6.8.2 Building resourcet-1.2.2 Completed blaze-svg-0.3.6.1 Starting errors-2.3.0 Completed ansi-wl-pprint-0.6.8.2 Starting attoparsec-0.13.2.2 Building errors-2.3.0 Building attoparsec-0.13.2.2 Completed resourcet-1.2.2 Starting optparse-applicative-0.14.3.0 Building optparse-applicative-0.14.3.0 Completed errors-2.3.0 Completed optparse-applicative-0.14.3.0 Completed attoparsec-0.13.2.2 Completed vector-0.12.0.2 Starting spool-0.1 Starting vector-algorithms-0.8.0.1 Starting JuicyPixels-3.3.3 Starting aeson-1.4.2.0 Building spool-0.1 Building vector-algorithms-0.8.0.1 Building JuicyPixels-3.3.3 Building aeson-1.4.2.0 Completed spool-0.1 Starting HPDF-1.4.10 Building HPDF-1.4.10 Completed vector-algorithms-0.8.0.1 Starting mono-traversable-1.0.11.0 Building mono-traversable-1.0.11.0 Failed to install HPDF-1.4.10 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/HPDF-1.4.10-AKja8kajciUCpmXBL0xMCT.log ): cabal: Entering directory '/tmp/cabal-tmp-14409/HPDF-1.4.10' Configuring HPDF-1.4.10... Preprocessing library for HPDF-1.4.10.. Building library for HPDF-1.4.10.. [ 1 of 31] Compiling Graphics.PDF.Data.Trie ( Graphics/PDF/Data/Trie.hs, dist/build/Graphics/PDF/Data/Trie.o ) [ 2 of 31] Compiling Graphics.PDF.Documentation ( Graphics/PDF/Documentation.hs, dist/build/Graphics/PDF/Documentation.o ) [ 3 of 31] Compiling Graphics.PDF.Hyphenate.LowLevel ( Graphics/PDF/Hyphenate/LowLevel.hs, dist/build/Graphics/PDF/Hyphenate/LowLevel.o ) [ 4 of 31] Compiling Graphics.PDF.Hyphenate.English ( Graphics/PDF/Hyphenate/English.hs, dist/build/Graphics/PDF/Hyphenate/English.o ) [ 5 of 31] Compiling Graphics.PDF.Hyphenate ( Graphics/PDF/Hyphenate.hs, dist/build/Graphics/PDF/Hyphenate.o ) [ 6 of 31] Compiling Graphics.PDF.LowLevel.Kern ( Graphics/PDF/LowLevel/Kern.hs, dist/build/Graphics/PDF/LowLevel/Kern.o ) [ 7 of 31] Compiling Graphics.PDF.LowLevel.Serializer ( Graphics/PDF/LowLevel/Serializer.hs, dist/build/Graphics/PDF/LowLevel/Serializer.o ) [ 8 of 31] Compiling Graphics.PDF.LowLevel.Types ( Graphics/PDF/LowLevel/Types.hs, dist/build/Graphics/PDF/LowLevel/Types.o ) Graphics/PDF/LowLevel/Types.hs:220:12: error: • Data.Map.foldWithKey is gone. Use foldrWithKey. • In the expression: M.foldWithKey convertItem mempty a In the expression: let convertItem key value current = mconcat $ [...] in M.foldWithKey convertItem mempty a In an equation for ‘convertLevel’: convertLevel _ = let convertItem key value current = mconcat $ ... in M.foldWithKey convertItem mempty a | 220 | M.foldWithKey convertItem mempty a | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cabal: Leaving directory '/tmp/cabal-tmp-14409/HPDF-1.4.10' Completed aeson-1.4.2.0 Completed mono-traversable-1.0.11.0 Completed JuicyPixels-3.3.3 cabal: Error: some packages failed to install: HPDF-1.4.10-AKja8kajciUCpmXBL0xMCT failed during the building phase. The exception was: ExitFailure 1 tttool-1.8.1-8ALBMvXGnuK9xcvoafVNa2 depends on tttool-1.8.1 which failed to install.