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 Starting base-compat-0.10.5 Building base-compat-0.10.5 Building base-orphans-0.8 Completed base-orphans-0.8 Starting base64-bytestring-1.0.0.2 Building base64-bytestring-1.0.0.2 Completed base64-bytestring-1.0.0.2 Starting blaze-builder-0.4.1.0 Building blaze-builder-0.4.1.0 Completed base-compat-0.10.5 Starting dlist-0.8.0.5 Building dlist-0.8.0.5 Completed blaze-builder-0.4.1.0 Starting hashable-1.2.7.0 Building hashable-1.2.7.0 Completed dlist-0.8.0.5 Starting integer-logarithms-1.0.2.2 Building integer-logarithms-1.0.2.2 Completed integer-logarithms-1.0.2.2 Starting primitive-0.6.4.0 Building primitive-0.6.4.0 Completed hashable-1.2.7.0 Starting random-1.1 Building random-1.1 Completed random-1.1 Starting split-0.2.3.3 Building split-0.2.3.3 Completed split-0.2.3.3 Starting tagged-0.8.6 Building tagged-0.8.6 Completed tagged-0.8.6 Starting th-abstraction-0.2.8.0 Building th-abstraction-0.2.8.0 Completed primitive-0.6.4.0 Starting time-locale-compat-0.1.1.5 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 th-abstraction-0.2.8.0 Starting unliftio-core-0.1.2.0 Building unliftio-core-0.1.2.0 Completed unliftio-core-0.1.2.0 Starting unordered-containers-0.2.9.0 Completed transformers-compat-0.6.2 Starting uuid-types-1.0.3 Building unordered-containers-0.2.9.0 Building uuid-types-1.0.3 Completed uuid-types-1.0.3 Starting vector-0.12.0.2 Building vector-0.12.0.2 Completed unordered-containers-0.2.9.0 Starting scientific-0.3.6.2 Building scientific-0.3.6.2 Completed scientific-0.3.6.2 Starting transformers-base-0.4.5.2 Building transformers-base-0.4.5.2 Completed transformers-base-0.4.5.2 Starting exceptions-0.10.0 Building exceptions-0.10.0 Completed exceptions-0.10.0 Starting attoparsec-0.13.2.2 Building attoparsec-0.13.2.2 Completed attoparsec-0.13.2.2 Starting monad-control-1.0.2.3 Building monad-control-1.0.2.3 Completed monad-control-1.0.2.3 Starting safe-exceptions-0.1.7.0 Building safe-exceptions-0.1.7.0 Completed vector-0.12.0.2 Starting resourcet-1.2.2 Building resourcet-1.2.2 Completed safe-exceptions-0.1.7.0 Starting vector-algorithms-0.8.0.1 Building vector-algorithms-0.8.0.1 Completed resourcet-1.2.2 Starting aeson-1.4.2.0 Building aeson-1.4.2.0 Completed vector-algorithms-0.8.0.1 Starting mono-traversable-1.0.9.0 Building mono-traversable-1.0.9.0 Completed mono-traversable-1.0.9.0 Starting conduit-1.3.1 Building conduit-1.3.1 Completed aeson-1.4.2.0 Starting groundhog-0.10.0 Building groundhog-0.10.0 Completed conduit-1.3.1 Starting libyaml-0.1.0.0 Building libyaml-0.1.0.0 Completed groundhog-0.10.0 Completed libyaml-0.1.0.0 Starting yaml-0.11.0.0 Building yaml-0.11.0.0 Completed yaml-0.11.0.0 Starting groundhog-th-0.10 Building groundhog-th-0.10 Failed to install groundhog-th-0.10 Build log ( /home/builder/.cabal/logs/ghc-8.6.1/groundhog-th-0.10-7p74hKX6l2xFJrOanKHabQ.log ): cabal: Entering directory '/tmp/cabal-tmp-13798/groundhog-th-0.10' Configuring groundhog-th-0.10... Preprocessing library for groundhog-th-0.10.. Building library for groundhog-th-0.10.. [1 of 3] Compiling Database.Groundhog.TH.Settings ( Database/Groundhog/TH/Settings.hs, dist/build/Database/Groundhog/TH/Settings.o ) [2 of 3] Compiling Database.Groundhog.TH.CodeGen ( Database/Groundhog/TH/CodeGen.hs, dist/build/Database/Groundhog/TH/CodeGen.o ) Database/Groundhog/TH/CodeGen.hs:32:1: warning: [-Wunused-imports] The import of ‘Control.Applicative’ is redundant except perhaps to import instances from ‘Control.Applicative’ To import instances alone, use: import Control.Applicative() | 32 | import Control.Applicative | ^^^^^^^^^^^^^^^^^^^^^^^^^^ Database/Groundhog/TH/CodeGen.hs:756:12: warning: [-Wname-shadowing] This binding for ‘<>’ shadows the existing binding imported from ‘Prelude’ at Database/Groundhog/TH/CodeGen.hs:4:8-36 (and originally defined in ‘GHC.Base’) | 756 | foldType f (<>) = go where | ^^^^ Database/Groundhog/TH/CodeGen.hs:825:12: warning: [-Wname-shadowing] This binding for ‘cxt’ shadows the existing binding imported from ‘Language.Haskell.TH’ at Database/Groundhog/TH/CodeGen.hs:30:1-26 (and originally defined in ‘Language.Haskell.TH.Lib.Internal’) | 825 | dataInstD' cxt name types constrs derives = | ^^^ Database/Groundhog/TH/CodeGen.hs:835:8: warning: [-Wname-shadowing] This binding for ‘cxt’ shadows the existing binding imported from ‘Language.Haskell.TH’ at Database/Groundhog/TH/CodeGen.hs:30:1-26 (and originally defined in ‘Language.Haskell.TH.Lib.Internal’) | 835 | dataD' cxt name types constrs derives = | ^^^ [3 of 3] Compiling Database.Groundhog.TH ( Database/Groundhog/TH.hs, dist/build/Database/Groundhog/TH.o ) Database/Groundhog/TH.hs:52:1: error: Could not load module ‘Text.Libyaml’ It is a member of the hidden package ‘libyaml-0.1.0.0’. Perhaps you need to add ‘libyaml’ to the build-depends in your .cabal file. Use -v to see a list of the files searched for. | 52 | import qualified Text.Libyaml as Y | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cabal: Leaving directory '/tmp/cabal-tmp-13798/groundhog-th-0.10' cabal: Error: some packages failed to install: groundhog-th-0.10-7p74hKX6l2xFJrOanKHabQ failed during the building phase. The exception was: ExitFailure 1