Resolving dependencies... Configuring base-compat-0.9.1... Configuring dlist-0.8.0.2... Building base-compat-0.9.1... Building dlist-0.8.0.2... Installed dlist-0.8.0.2 Configuring integer-logarithms-1.0.1... Building integer-logarithms-1.0.1... Configuring random-1.1... Installed base-compat-0.9.1 Building random-1.1... Configuring primitive-0.6.2.0... Installed integer-logarithms-1.0.1 Building primitive-0.6.2.0... Configuring time-locale-compat-0.1.1.3... Installed random-1.1 Building time-locale-compat-0.1.1.3... Configuring transformers-compat-0.5.1.4... Installed time-locale-compat-0.1.1.3 Building transformers-compat-0.5.1.4... Configuring text-1.2.2.1... Installed transformers-compat-0.5.1.4 Building text-1.2.2.1... Configuring tagged-0.8.5... Installed primitive-0.6.2.0 Building tagged-0.8.5... Installed tagged-0.8.5 Configuring vector-0.12.0.0... Building vector-0.12.0.0... Installed text-1.2.2.1 Configuring hashable-1.2.5.0... Building hashable-1.2.5.0... Installed hashable-1.2.5.0 Configuring uuid-types-1.0.3... Building uuid-types-1.0.3... Configuring unordered-containers-0.2.7.2... Installed uuid-types-1.0.3 Building unordered-containers-0.2.7.2... Installed vector-0.12.0.0 Configuring scientific-0.3.4.10... Building scientific-0.3.4.10... Installed unordered-containers-0.2.7.2 Installed scientific-0.3.4.10 Configuring attoparsec-0.13.1.0... Building attoparsec-0.13.1.0... Installed attoparsec-0.13.1.0 Configuring aeson-1.1.0.0... Building aeson-1.1.0.0... Installed aeson-1.1.0.0 Configuring aeson-flat-0.1.0.0... Building aeson-flat-0.1.0.0... Failed to install aeson-flat-0.1.0.0 Build log ( /home/builder/.cabal/logs/aeson-flat-0.1.0.0.log ): cabal: Entering directory '/tmp/cabal-tmp-9625/aeson-flat-0.1.0.0' Configuring aeson-flat-0.1.0.0... Building aeson-flat-0.1.0.0... Preprocessing library aeson-flat-0.1.0.0... [1 of 1] Compiling Data.Aeson.Flat ( src/Data/Aeson/Flat.hs, dist/build/Data/Aeson/Flat.o ) src/Data/Aeson/Flat.hs:69:27: error: • Expecting one more argument to ‘GToJSON (Rep a)’ Expected a constraint, but ‘GToJSON (Rep a)’ has kind ‘(* -> *) -> Constraint’ • In the type signature: flatToJSON :: (Generic a, GToJSON (Rep a)) => Text -> a -> Value src/Data/Aeson/Flat.hs:69:36: error: • Expecting one more argument to ‘Rep a’ Expected a type, but ‘Rep a’ has kind ‘* -> *’ • In the first argument of ‘GToJSON’, namely ‘Rep a’ In the type signature: flatToJSON :: (Generic a, GToJSON (Rep a)) => Text -> a -> Value src/Data/Aeson/Flat.hs:104:30: error: • Expecting one more argument to ‘GFromJSON (Rep a)’ Expected a constraint, but ‘GFromJSON (Rep a)’ has kind ‘(* -> *) -> Constraint’ • In the type signature: flatParseJSON :: (Generic a, GFromJSON (Rep a)) => Text -> Value -> Parser a src/Data/Aeson/Flat.hs:104:41: error: • Expecting one more argument to ‘Rep a’ Expected a type, but ‘Rep a’ has kind ‘* -> *’ • In the first argument of ‘GFromJSON’, namely ‘Rep a’ In the type signature: flatParseJSON :: (Generic a, GFromJSON (Rep a)) => Text -> Value -> Parser a src/Data/Aeson/Flat.hs:118:28: error: • Expecting one more argument to ‘GToJSON (Rep a)’ Expected a constraint, but ‘GToJSON (Rep a)’ has kind ‘(* -> *) -> Constraint’ • In the type signature: fieldToJSON :: (Generic a, GToJSON (Rep a)) => Text -> a -> Value src/Data/Aeson/Flat.hs:118:37: error: • Expecting one more argument to ‘Rep a’ Expected a type, but ‘Rep a’ has kind ‘* -> *’ • In the first argument of ‘GToJSON’, namely ‘Rep a’ In the type signature: fieldToJSON :: (Generic a, GToJSON (Rep a)) => Text -> a -> Value src/Data/Aeson/Flat.hs:126:31: error: • Expecting one more argument to ‘GFromJSON (Rep a)’ Expected a constraint, but ‘GFromJSON (Rep a)’ has kind ‘(* -> *) -> Constraint’ • In the type signature: fieldParseJSON :: (Generic a, GFromJSON (Rep a)) => Text -> Value -> Parser a src/Data/Aeson/Flat.hs:126:42: error: • Expecting one more argument to ‘Rep a’ Expected a type, but ‘Rep a’ has kind ‘* -> *’ • In the first argument of ‘GFromJSON’, namely ‘Rep a’ In the type signature: fieldParseJSON :: (Generic a, GFromJSON (Rep a)) => Text -> Value -> Parser a cabal: Leaving directory '/tmp/cabal-tmp-9625/aeson-flat-0.1.0.0' cabal: Error: some packages failed to install: aeson-flat-0.1.0.0 failed during the building phase. The exception was: ExitFailure 1