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 StateVar-1.1.1.1 Starting base-orphans-0.8 Building base-orphans-0.8 Building StateVar-1.1.1.1 Completed base-orphans-0.8 Starting basement-0.0.8 Completed StateVar-1.1.1.1 Starting bytestring-lexing-0.5.0.2 Building basement-0.0.8 Building bytestring-lexing-0.5.0.2 Completed bytestring-lexing-0.5.0.2 Starting cabal-doctest-1.0.6 Building cabal-doctest-1.0.6 Completed cabal-doctest-1.0.6 Starting call-stack-0.1.0 Building call-stack-0.1.0 Completed call-stack-0.1.0 Starting cereal-0.5.7.0 Building cereal-0.5.7.0 Completed cereal-0.5.7.0 Starting data-default-class-0.1.2.0 Building data-default-class-0.1.2.0 Completed data-default-class-0.1.2.0 Starting hashable-1.2.7.0 Building hashable-1.2.7.0 Completed hashable-1.2.7.0 Starting hourglass-0.2.12 Building hourglass-0.2.12 Completed hourglass-0.2.12 Starting network-2.8.0.0 Building network-2.8.0.0 Completed basement-0.0.8 Starting network-uri-2.6.1.0 Building network-uri-2.6.1.0 Completed network-uri-2.6.1.0 Starting parallel-3.2.2.0 Building parallel-3.2.2.0 Completed network-2.8.0.0 Starting primitive-0.6.4.0 Building primitive-0.6.4.0 Completed parallel-3.2.2.0 Starting random-1.1 Building random-1.1 Completed random-1.1 Starting reflection-2.1.4 Building reflection-2.1.4 Completed reflection-2.1.4 Starting safe-0.3.17 Building safe-0.3.17 Completed primitive-0.6.4.0 Starting scanner-0.3 Building scanner-0.3 Completed safe-0.3.17 Starting semigroups-0.18.5 Building semigroups-0.18.5 Completed scanner-0.3 Starting tagged-0.8.6 Building tagged-0.8.6 Completed semigroups-0.18.5 Starting th-abstraction-0.2.8.0 Building th-abstraction-0.2.8.0 Completed tagged-0.8.6 Starting transformers-compat-0.6.2 Building transformers-compat-0.6.2 Completed th-abstraction-0.2.8.0 Starting void-0.7.2 Building void-0.7.2 Completed transformers-compat-0.6.2 Starting contravariant-1.5 Completed void-0.7.2 Starting unordered-containers-0.2.9.0 Building contravariant-1.5 Building unordered-containers-0.2.9.0 Completed contravariant-1.5 Starting async-2.2.1 Building async-2.2.1 Completed async-2.2.1 Starting memory-0.14.18 Building memory-0.14.18 Completed unordered-containers-0.2.9.0 Starting HTTP-4000.3.12 Building HTTP-4000.3.12 Completed memory-0.14.18 Starting vector-0.12.0.1 Building vector-0.12.0.1 Completed HTTP-4000.3.12 Starting distributive-0.6 Building distributive-0.6 Completed distributive-0.6 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 pem-0.2.4 Building pem-0.2.4 Completed pem-0.2.4 Starting cryptonite-0.25 Building cryptonite-0.25 Completed vector-0.12.0.1 Starting asn1-types-0.3.2 Building asn1-types-0.3.2 Completed asn1-types-0.3.2 Starting comonad-5.0.4 Building comonad-5.0.4 Completed comonad-5.0.4 Starting monad-control-1.0.2.3 Building monad-control-1.0.2.3 Completed monad-control-1.0.2.3 Starting errors-2.3.0 Building errors-2.3.0 Completed errors-2.3.0 Starting asn1-encoding-0.9.5 Building asn1-encoding-0.9.5 Completed asn1-encoding-0.9.5 Starting bifunctors-5.5.3 Building bifunctors-5.5.3 Completed bifunctors-5.5.3 Starting resource-pool-0.2.3.2 Building resource-pool-0.2.3.2 Completed resource-pool-0.2.3.2 Starting asn1-parse-0.9.4 Building asn1-parse-0.9.4 Completed asn1-parse-0.9.4 Starting semigroupoids-5.3.1 Building semigroupoids-5.3.1 Completed cryptonite-0.25 Starting profunctors-5.2.2 Building profunctors-5.2.2 Completed semigroupoids-5.3.1 Starting x509-1.7.5 Completed profunctors-5.2.2 Starting invariant-0.5.1 Building x509-1.7.5 Building invariant-0.5.1 Completed invariant-0.5.1 Starting free-5.1 Completed x509-1.7.5 Starting x509-store-1.6.7 Building free-5.1 Building x509-store-1.6.7 Completed x509-store-1.6.7 Starting x509-validation-1.6.11 Building x509-validation-1.6.11 Completed x509-validation-1.6.11 Starting tls-1.4.1 Building tls-1.4.1 Completed free-5.1 Starting adjunctions-4.4 Building adjunctions-4.4 Completed adjunctions-4.4 Starting kan-extensions-5.2 Building kan-extensions-5.2 Completed tls-1.4.1 Starting hedis-0.10.4 Building hedis-0.10.4 Completed kan-extensions-5.2 Starting lens-4.17 Building lens-4.17 Completed hedis-0.10.4 Completed lens-4.17 Starting hlrdb-core-0.1.2.1 Building hlrdb-core-0.1.2.1 Failed to install hlrdb-core-0.1.2.1 Build log ( /home/builder/.cabal/logs/ghc-8.6.1/hlrdb-core-0.1.2.1-Dg5MLUo305f6DQxp6GKPC.log ): cabal: Entering directory '/tmp/cabal-tmp-10310/hlrdb-core-0.1.2.1' Configuring hlrdb-core-0.1.2.1... Preprocessing library for hlrdb-core-0.1.2.1.. Building library for hlrdb-core-0.1.2.1.. [1 of 9] Compiling HLRDB.Primitives.Aggregate ( src/HLRDB/Primitives/Aggregate.hs, dist/build/HLRDB/Primitives/Aggregate.o ) [2 of 9] Compiling HLRDB.Primitives.Redis ( src/HLRDB/Primitives/Redis.hs, dist/build/HLRDB/Primitives/Redis.o ) [3 of 9] Compiling HLRDB.Internal ( src/HLRDB/Internal.hs, dist/build/HLRDB/Internal.o ) [4 of 9] Compiling HLRDB.Structures.Basic ( src/HLRDB/Structures/Basic.hs, dist/build/HLRDB/Structures/Basic.o ) [5 of 9] Compiling HLRDB.Structures.HSet ( src/HLRDB/Structures/HSet.hs, dist/build/HLRDB/Structures/HSet.o ) src/HLRDB/Structures/HSet.hs:41:48: error: • Could not deduce (Control.Monad.Fail.MonadFail Data.Functor.Identity.Identity) arising from a use of ‘g’ from the context: (MonadRedis m, Traversable t) bound by the type signature for: HLRDB.Structures.HSet.hmget :: forall (m :: * -> *) (t :: * -> *) a s b. (MonadRedis m, Traversable t) => RedisHSet a s b -> a -> t s -> m (t (s, Maybe b)) at src/HLRDB/Structures/HSet.hs:34:1-93 or from: HSET s ~ HSET v bound by a pattern with constructor: RHSet :: forall a b v. RE a b -> HSET v -> RedisStructure (HSET v) a b, in an equation for ‘hmget’ at src/HLRDB/Structures/HSet.hs:35:10-35 or from: Traversable t1 bound by the type signature for: reifyTraversal :: forall (t1 :: * -> *) a1 b1. Traversable t1 => t1 a1 -> [b1] -> t1 (a1, b1) at src/HLRDB/Structures/HSet.hs:40:5-62 • In the first argument of ‘traverse’, namely ‘g’ In the first argument of ‘evalState’, namely ‘(traverse g tr)’ In the expression: evalState (traverse g tr) bs | 41 | reifyTraversal tr bs = evalState (traverse g tr) bs | ^ cabal: Leaving directory '/tmp/cabal-tmp-10310/hlrdb-core-0.1.2.1' cabal: Error: some packages failed to install: hlrdb-core-0.1.2.1-Dg5MLUo305f6DQxp6GKPC failed during the building phase. The exception was: ExitFailure 1