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-orphans-0.8 Building base-compat-0.10.5 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 cmdargs-0.10.20 Building cmdargs-0.10.20 Completed blaze-builder-0.4.1.0 Starting dlist-0.8.0.5 Building dlist-0.8.0.5 Completed dlist-0.8.0.5 Starting hashable-1.2.7.0 Building hashable-1.2.7.0 Completed hashable-1.2.7.0 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 cmdargs-0.10.20 Starting random-1.1 Building random-1.1 Completed random-1.1 Starting regex-base-0.93.2 Building regex-base-0.93.2 Completed regex-base-0.93.2 Starting semigroups-0.18.5 Completed primitive-0.6.4.0 Starting split-0.2.3.3 Building semigroups-0.18.5 Building split-0.2.3.3 Completed semigroups-0.18.5 Starting syb-0.7 Building syb-0.7 Completed split-0.2.3.3 Starting tagged-0.8.6 Building tagged-0.8.6 Completed syb-0.7 Starting th-abstraction-0.2.8.0 Completed tagged-0.8.6 Starting time-locale-compat-0.1.1.5 Building th-abstraction-0.2.8.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 th-abstraction-0.2.8.0 Starting unliftio-core-0.1.2.0 Building unliftio-core-0.1.2.0 Completed transformers-compat-0.6.2 Starting unordered-containers-0.2.9.0 Building unordered-containers-0.2.9.0 Completed unliftio-core-0.1.2.0 Starting uuid-types-1.0.3 Building uuid-types-1.0.3 Completed uuid-types-1.0.3 Starting regex-posix-0.95.2 Building regex-posix-0.95.2 Completed unordered-containers-0.2.9.0 Starting vector-0.12.0.2 Building vector-0.12.0.2 Completed regex-posix-0.95.2 Starting scientific-0.3.6.2 Building scientific-0.3.6.2 Completed scientific-0.3.6.2 Starting direct-sqlite-2.3.23 Building direct-sqlite-2.3.23 Completed direct-sqlite-2.3.23 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 vector-0.12.0.2 Starting regex-compat-0.95.1 Building regex-compat-0.95.1 Completed exceptions-0.10.0 Starting attoparsec-0.13.2.2 Completed regex-compat-0.95.1 Starting monad-control-1.0.2.3 Building attoparsec-0.13.2.2 Building monad-control-1.0.2.3 Completed monad-control-1.0.2.3 Starting vector-algorithms-0.8.0.1 Building vector-algorithms-0.8.0.1 Completed attoparsec-0.13.2.2 Starting safe-exceptions-0.1.7.0 Building safe-exceptions-0.1.7.0 Completed safe-exceptions-0.1.7.0 Starting resourcet-1.2.2 Building resourcet-1.2.2 Completed vector-algorithms-0.8.0.1 Starting resource-pool-0.2.3.2 Building resource-pool-0.2.3.2 Completed resource-pool-0.2.3.2 Starting aeson-1.4.2.0 Completed resourcet-1.2.2 Starting mono-traversable-1.0.9.0 Building aeson-1.4.2.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 aeson-pretty-0.8.7 Building aeson-pretty-0.8.7 Completed aeson-pretty-0.8.7 Starting libyaml-0.1.0.0 Building libyaml-0.1.0.0 Completed groundhog-0.10.0 Starting groundhog-sqlite-0.10.0 Building groundhog-sqlite-0.10.0 Completed libyaml-0.1.0.0 Starting yaml-0.11.0.0 Building yaml-0.11.0.0 Completed groundhog-sqlite-0.10.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-5316/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-5316/groundhog-th-0.10' cabal: Error: some packages failed to install: groundhog-inspector-0.10.0-D2UrYfraAWx1PXCa6VWJZE depends on groundhog-inspector-0.10.0 which failed to install. groundhog-th-0.10-7p74hKX6l2xFJrOanKHabQ failed during the building phase. The exception was: ExitFailure 1