Resolving dependencies... Configuring dlist-0.8.0.2... Configuring base-compat-0.9.1... Building dlist-0.8.0.2... Building base-compat-0.9.1... Configuring primitive-0.6.1.0... Installed dlist-0.8.0.2 Building primitive-0.6.1.0... Configuring time-locale-compat-0.1.1.3... Installed base-compat-0.9.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.1.0 Building tagged-0.8.5... Installed tagged-0.8.5 Configuring vector-0.11.0.0... Building vector-0.11.0.0... Installed text-1.2.2.1 Configuring hashable-1.2.4.0... Building hashable-1.2.4.0... Installed hashable-1.2.4.0 Configuring unordered-containers-0.2.7.1... Building unordered-containers-0.2.7.1... Installed unordered-containers-0.2.7.1 Installed vector-0.11.0.0 Configuring scientific-0.3.4.9... Building scientific-0.3.4.9... Installed scientific-0.3.4.9 Configuring attoparsec-0.13.1.0... Building attoparsec-0.13.1.0... Installed attoparsec-0.13.1.0 Configuring aeson-1.0.2.1... Building aeson-1.0.2.1... Installed aeson-1.0.2.1 Configuring json-rpc-generic-0.2.0.0... Building json-rpc-generic-0.2.0.0... Failed to install json-rpc-generic-0.2.0.0 Build log ( /home/builder/.cabal/logs/json-rpc-generic-0.2.0.0.log ): cabal: Entering directory '/tmp/cabal-tmp-20264/json-rpc-generic-0.2.0.0' Configuring json-rpc-generic-0.2.0.0... Building json-rpc-generic-0.2.0.0... Preprocessing library json-rpc-generic-0.2.0.0... [1 of 9] Compiling Data.JsonRpc.Integral ( src/Data/JsonRpc/Integral.hs, dist/build/Data/JsonRpc/Integral.o ) [2 of 9] Compiling Data.JsonRpc.Id ( src/Data/JsonRpc/Id.hs, dist/build/Data/JsonRpc/Id.o ) [3 of 9] Compiling Data.JsonRpc.Request ( src/Data/JsonRpc/Request.hs, dist/build/Data/JsonRpc/Request.o ) [4 of 9] Compiling Data.JsonRpc.Success ( src/Data/JsonRpc/Success.hs, dist/build/Data/JsonRpc/Success.o ) [5 of 9] Compiling Data.JsonRpc.Generic ( src/Data/JsonRpc/Generic.hs, dist/build/Data/JsonRpc/Generic.o ) src/Data/JsonRpc/Generic.hs:93:41: error: • Expecting one more argument to ‘GFromJSON (Rep a)’ Expected a constraint, but ‘GFromJSON (Rep a)’ has kind ‘(* -> *) -> Constraint’ • In the type signature: genericFieldSetParseJSON :: (Generic a, GFromJSON (Rep a), GFieldSetJSON (Rep a)) => JsonRpcOptions -> Options -> Value -> Parser a src/Data/JsonRpc/Generic.hs:93:52: 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: genericFieldSetParseJSON :: (Generic a, GFromJSON (Rep a), GFieldSetJSON (Rep a)) => JsonRpcOptions -> Options -> Value -> Parser a src/Data/JsonRpc/Generic.hs:112:36: error: • Expecting one more argument to ‘GFromJSON (Rep a)’ Expected a constraint, but ‘GFromJSON (Rep a)’ has kind ‘(* -> *) -> Constraint’ • In the type signature: genericParseJSONRPC :: (Generic a, GFromJSON (Rep a), GFromArrayJSON (Rep a), GFieldSetJSON (Rep a)) => JsonRpcOptions -> Options -> Value -> Parser a src/Data/JsonRpc/Generic.hs:112:47: 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: genericParseJSONRPC :: (Generic a, GFromJSON (Rep a), GFromArrayJSON (Rep a), GFieldSetJSON (Rep a)) => JsonRpcOptions -> Options -> Value -> Parser a cabal: Leaving directory '/tmp/cabal-tmp-20264/json-rpc-generic-0.2.0.0' cabal: Error: some packages failed to install: json-rpc-generic-0.2.0.0 failed during the building phase. The exception was: ExitFailure 1