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 libiserv-8.6.1 ghci-8.6.1 ghc-8.6.1 ghc-boot-8.6.1 Continuing even though the plan contains dangerous reinstalls. Starting base64-bytestring-1.0.0.1 Starting containers-0.5.11.0 Building base64-bytestring-1.0.0.1 Building containers-0.5.11.0 Completed base64-bytestring-1.0.0.1 Starting primitive-0.6.4.0 Building primitive-0.6.4.0 Completed primitive-0.6.4.0 Starting random-1.1 Building random-1.1 Completed random-1.1 Starting safe-0.3.17 Building safe-0.3.17 Completed safe-0.3.17 Starting split-0.2.3.3 Building split-0.2.3.3 Completed split-0.2.3.3 Starting transformers-compat-0.6.2 Building transformers-compat-0.6.2 Completed transformers-compat-0.6.2 Starting unliftio-core-0.1.2.0 Building unliftio-core-0.1.2.0 Completed unliftio-core-0.1.2.0 Starting zlib-0.6.2 Building zlib-0.6.2 Completed containers-0.5.11.0 Starting vector-0.12.0.1 Completed zlib-0.6.2 Starting boxes-0.1.5 Building vector-0.12.0.1 Building boxes-0.1.5 Completed boxes-0.1.5 Starting exceptions-0.10.0 Building exceptions-0.10.0 Completed exceptions-0.10.0 Starting binary-0.8.6.0 Building binary-0.8.6.0 Completed binary-0.8.6.0 Starting temporary-1.3 Building temporary-1.3 Completed temporary-1.3 Starting resourcet-1.2.2 Building resourcet-1.2.2 Completed resourcet-1.2.2 Starting text-1.2.3.1 Building text-1.2.3.1 Completed vector-0.12.0.1 Starting vector-algorithms-0.8.0.1 Building vector-algorithms-0.8.0.1 Completed vector-algorithms-0.8.0.1 Starting JuicyPixels-3.2.9.5 Building JuicyPixels-3.2.9.5 Completed text-1.2.3.1 Starting xml-1.3.14 Building xml-1.3.14 Completed xml-1.3.14 Starting hashable-1.2.7.0 Building hashable-1.2.7.0 Completed hashable-1.2.7.0 Starting errors-2.3.0 Building errors-2.3.0 Completed errors-2.3.0 Starting unordered-containers-0.2.9.0 Building unordered-containers-0.2.9.0 Completed unordered-containers-0.2.9.0 Starting HPDF-1.4.10 Building HPDF-1.4.10 Completed JuicyPixels-3.2.9.5 Starting mono-traversable-1.0.9.0 Building mono-traversable-1.0.9.0 Failed to install HPDF-1.4.10 Build log ( /home/builder/.cabal/logs/ghc-8.6.1/HPDF-1.4.10-3Yt9KNzmYEGF8tSB1h3lQU.log ): cabal: Entering directory '/tmp/cabal-tmp-23195/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: warning: [-Wdeprecations] In the use of ‘foldWithKey’ (imported from Data.Map): Deprecated: "As of version 0.4, replaced by 'foldrWithKey'." | 220 | M.foldWithKey convertItem mempty a | ^^^^^^^^^^^^^ [ 9 of 31] Compiling Graphics.PDF.Data.PDFTree ( Graphics/PDF/Data/PDFTree.hs, dist/build/Graphics/PDF/Data/PDFTree.o ) [10 of 31] Compiling Graphics.PDF.Coordinates ( Graphics/PDF/Coordinates.hs, dist/build/Graphics/PDF/Coordinates.o ) [11 of 31] Compiling Graphics.PDF.Action ( Graphics/PDF/Action.hs, dist/build/Graphics/PDF/Action.o ) [12 of 31] Compiling Graphics.PDF.Resources ( Graphics/PDF/Resources.hs, dist/build/Graphics/PDF/Resources.o ) [13 of 31] Compiling Graphics.PDF.Draw ( Graphics/PDF/Draw.hs, dist/build/Graphics/PDF/Draw.o ) Graphics/PDF/Draw.hs:256:5: error: • No instance for (Control.Monad.Fail.MonadFail Draw) arising from a do statement with the failable pattern ‘(x : xs)’ • In a stmt of a 'do' block: (x : xs) <- gets supplyNames In the expression: do (x : xs) <- gets supplyNames modifyStrict $ \ s -> s {supplyNames = xs} return x In an equation for ‘supplyName’: supplyName = do (x : xs) <- gets supplyNames modifyStrict $ \ s -> ... return x | 256 | (x:xs) <- gets supplyNames | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cabal: Leaving directory '/tmp/cabal-tmp-23195/HPDF-1.4.10' Completed mono-traversable-1.0.9.0 cabal: Error: some packages failed to install: HPDF-1.4.10-3Yt9KNzmYEGF8tSB1h3lQU failed during the building phase. The exception was: ExitFailure 1 jammittools-0.5.5.1-50Y00HHshx9BCzuoFUGiCY depends on jammittools-0.5.5.1 which failed to install.