Resolving dependencies... Configuring ansi-terminal-0.6.2.3... Configuring base-orphans-0.5.4... Building ansi-terminal-0.6.2.3... Building base-orphans-0.5.4... Configuring base-compat-0.9.1... Installed base-orphans-0.5.4 Building base-compat-0.9.1... Configuring base16-bytestring-0.1.1.6... Installed ansi-terminal-0.6.2.3 Building base16-bytestring-0.1.1.6... Configuring base64-bytestring-1.0.0.1... Installed base-compat-0.9.1 Configuring cereal-0.5.4.0... Installed base16-bytestring-0.1.1.6 Building base64-bytestring-1.0.0.1... Building cereal-0.5.4.0... Configuring data-binary-ieee754-0.4.4... Installed base64-bytestring-1.0.0.1 Building data-binary-ieee754-0.4.4... Configuring clock-0.7.2... Installed data-binary-ieee754-0.4.4 Building clock-0.7.2... Configuring dlist-0.8.0.2... Installed cereal-0.5.4.0 Building dlist-0.8.0.2... Configuring extensible-exceptions-0.1.1.4... Installed clock-0.7.2 Building extensible-exceptions-0.1.1.4... Configuring mtl-2.2.1... Installed extensible-exceptions-0.1.1.4 Building mtl-2.2.1... Configuring nats-1.1.1... Installed dlist-0.8.0.2 Building nats-1.1.1... Configuring network-2.6.3.1... Installed nats-1.1.1 Building network-2.6.3.1... Configuring old-locale-1.0.0.7... Installed mtl-2.2.1 Building old-locale-1.0.0.7... Configuring parallel-3.2.1.0... Installed old-locale-1.0.0.7 Building parallel-3.2.1.0... Configuring prelude-extras-0.4.0.3... Installed parallel-3.2.1.0 Building prelude-extras-0.4.0.3... Configuring primitive-0.6.1.0... Installed network-2.6.3.1 Building primitive-0.6.1.0... Configuring random-1.1... Installed prelude-extras-0.4.0.3 Building random-1.1... Configuring reflection-2.1.2... Installed primitive-0.6.1.0 Configuring semigroups-0.18.2... Installed random-1.1 Building reflection-2.1.2... Building semigroups-0.18.2... Configuring stm-2.4.4.1... Installed semigroups-0.18.2 Building stm-2.4.4.1... Configuring text-1.2.2.1... Installed stm-2.4.4.1 Configuring time-locale-compat-0.1.1.3... Installed reflection-2.1.2 Building text-1.2.2.1... Building time-locale-compat-0.1.1.3... Configuring time-units-1.0.0... Installed time-locale-compat-0.1.1.3 Building time-units-1.0.0... Configuring transformers-compat-0.5.1.4... Installed time-units-1.0.0 Building transformers-compat-0.5.1.4... Installed transformers-compat-0.5.1.4 Configuring ansi-wl-pprint-0.6.7.3... Building ansi-wl-pprint-0.6.7.3... Installed ansi-wl-pprint-0.6.7.3 Configuring extra-1.5.1... Building extra-1.5.1... Configuring old-time-1.1.0.3... Installed extra-1.5.1 Configuring tf-random-0.5... Installed text-1.2.2.1 Building tf-random-0.5... Building old-time-1.1.0.3... Configuring StateVar-1.1.0.4... Installed tf-random-0.5 Building StateVar-1.1.0.4... Configuring vector-0.11.0.0... Installed old-time-1.1.0.3 Building vector-0.11.0.0... Configuring MonadRandom-0.4.2.3... Installed StateVar-1.1.0.4 Building MonadRandom-0.4.2.3... Installed MonadRandom-0.4.2.3 Configuring mmorph-1.0.9... Building mmorph-1.0.9... Configuring exceptions-0.8.3... Installed mmorph-1.0.9 Building exceptions-0.8.3... Configuring tagged-0.8.5... Installed exceptions-0.8.3 Building tagged-0.8.5... Configuring transformers-base-0.4.4... Installed tagged-0.8.5 Building transformers-base-0.4.4... Installed transformers-base-0.4.4 Configuring optparse-applicative-0.13.0.0... Building optparse-applicative-0.13.0.0... Installed optparse-applicative-0.13.0.0 Configuring hashable-1.2.4.0... Building hashable-1.2.4.0... Configuring double-conversion-2.0.1.0... Installed vector-0.11.0.0 Building double-conversion-2.0.1.0... Configuring parsec-3.1.11... Installed hashable-1.2.4.0 Building parsec-3.1.11... Configuring polyparse-1.12... Installed double-conversion-2.0.1.0 Building polyparse-1.12... Configuring text-binary-0.2.1.1... Installed parsec-3.1.11 Building text-binary-0.2.1.1... Configuring QuickCheck-2.9.2... Installed text-binary-0.2.1.1 Building QuickCheck-2.9.2... Configuring distributive-0.5.0.2... Installed polyparse-1.12 Building distributive-0.5.0.2... Configuring monad-control-1.0.1.0... Installed distributive-0.5.0.2 Building monad-control-1.0.1.0... Installed monad-control-1.0.1.0 Configuring safecopy-0.9.2... Building safecopy-0.9.2... Configuring cereal-vector-0.2.0.1... Installed QuickCheck-2.9.2 Building cereal-vector-0.2.0.1... Configuring vector-binary-instances-0.2.3.3... Installed safecopy-0.9.2 Configuring scientific-0.3.4.9... Installed cereal-vector-0.2.0.1 Building vector-binary-instances-0.2.3.3... Building scientific-0.3.4.9... Configuring case-insensitive-1.2.0.7... Installed vector-binary-instances-0.2.3.3 Building case-insensitive-1.2.0.7... Configuring void-0.7.1... Installed case-insensitive-1.2.0.7 Configuring unordered-containers-0.2.7.1... Installed scientific-0.3.4.9 Building void-0.7.1... Building unordered-containers-0.2.7.1... Configuring text-format-0.3.1.1... Installed void-0.7.1 Building text-format-0.3.1.1... Configuring lifted-base-0.2.3.8... Installed text-format-0.3.1.1 Building lifted-base-0.2.3.8... Configuring cpphs-1.20.2... Installed unordered-containers-0.2.7.1 Building cpphs-1.20.2... Installed lifted-base-0.2.3.8 Configuring acid-state-0.14.2... Building acid-state-0.14.2... Configuring contravariant-1.4... Installed cpphs-1.20.2 Building contravariant-1.4... Configuring attoparsec-0.13.1.0... Installed acid-state-0.14.2 Building attoparsec-0.13.1.0... Configuring formatting-6.2.4... Installed contravariant-1.4 Building formatting-6.2.4... Configuring quickcheck-instances-0.3.12... Installed formatting-6.2.4 Building quickcheck-instances-0.3.12... Configuring enclosed-exceptions-1.0.2... Installed attoparsec-0.13.1.0 Building enclosed-exceptions-1.0.2... Configuring resourcet-1.1.8.1... Installed quickcheck-instances-0.3.12 Building resourcet-1.1.8.1... Configuring charset-0.3.7.1... Installed enclosed-exceptions-1.0.2 Building charset-0.3.7.1... Installed resourcet-1.1.8.1 Configuring haskell-src-exts-1.19.0... Configuring comonad-5... Building haskell-src-exts-1.19.0... Installed charset-0.3.7.1 Building comonad-5... Configuring aeson-1.0.0.0... Installed comonad-5 Building aeson-1.0.0.0... Configuring conduit-1.2.8... Installed aeson-1.0.0.0 Building conduit-1.2.8... Installed conduit-1.2.8 Configuring parsers-0.12.4... Building parsers-0.12.4... Installed parsers-0.12.4 Configuring bifunctors-5.4.1... Building bifunctors-5.4.1... Configuring aeson-compat-0.3.6... Installed bifunctors-5.4.1 Building aeson-compat-0.3.6... Configuring binary-orphans-0.1.5.1... Installed aeson-compat-0.3.6 Building binary-orphans-0.1.5.1... Configuring yaml-0.8.20... Installed binary-orphans-0.1.5.1 Building yaml-0.8.20... Configuring time-parsers-0.1.1.0... Installed haskell-src-exts-1.19.0 Configuring profunctors-5.2... Installed yaml-0.8.20 Building time-parsers-0.1.1.0... Building profunctors-5.2... Configuring semigroupoids-5.1... Installed time-parsers-0.1.1.0 Building semigroupoids-5.1... Configuring groom-0.1.2... Installed profunctors-5.2 Building groom-0.1.2... Installed groom-0.1.2 Configuring data-msgpack-0.0.8... Building data-msgpack-0.0.8... Installed semigroupoids-5.1 Configuring free-4.12.4... Building free-4.12.4... Installed data-msgpack-0.0.8 Installed free-4.12.4 Configuring either-4.4.1.1... Configuring adjunctions-4.3... Building either-4.4.1.1... Building adjunctions-4.3... Configuring recursion-schemes-5... Installed either-4.4.1.1 Building recursion-schemes-5... Installed adjunctions-4.3 Configuring kan-extensions-5.0.1... Building kan-extensions-5.0.1... Installed recursion-schemes-5 Configuring aeson-extra-0.4.0.0... Building aeson-extra-0.4.0.0... Installed kan-extensions-5.0.1 Configuring lens-4.15.1... Building lens-4.15.1... Installed aeson-extra-0.4.0.0 Installed lens-4.15.1 Configuring serokell-util-0.1.2.0... Building serokell-util-0.1.2.0... Failed to install serokell-util-0.1.2.0 Build log ( /home/builder/.cabal/logs/serokell-util-0.1.2.0.log ): cabal: Entering directory '/tmp/cabal-tmp-5349/serokell-util-0.1.2.0' Configuring serokell-util-0.1.2.0... Building serokell-util-0.1.2.0... Preprocessing library serokell-util-0.1.2.0... [ 1 of 31] Compiling Serokell.Util.Verify ( src/Serokell/Util/Verify.hs, dist/build/Serokell/Util/Verify.o ) [ 2 of 31] Compiling Serokell.Util.Text ( src/Serokell/Util/Text.hs, dist/build/Serokell/Util/Text.o ) [ 3 of 31] Compiling Serokell.Util.StaticAssert ( src/Serokell/Util/StaticAssert.hs, dist/build/Serokell/Util/StaticAssert.o ) [ 4 of 31] Compiling Serokell.Util.Parse.Common ( src/Serokell/Util/Parse/Common.hs, dist/build/Serokell/Util/Parse/Common.o ) [ 5 of 31] Compiling Serokell.Util.Parse.Network ( src/Serokell/Util/Parse/Network.hs, dist/build/Serokell/Util/Parse/Network.o ) [ 6 of 31] Compiling Serokell.Util.OptParse ( src/Serokell/Util/OptParse.hs, dist/build/Serokell/Util/OptParse.o ) [ 7 of 31] Compiling Serokell.Util.Lens ( src/Serokell/Util/Lens.hs, dist/build/Serokell/Util/Lens.o ) [ 8 of 31] Compiling Serokell.Util.Exceptions ( src/Serokell/Util/Exceptions.hs, dist/build/Serokell/Util/Exceptions.o ) [ 9 of 31] Compiling Serokell.Util.Concurrent ( src/Serokell/Util/Concurrent.hs, dist/build/Serokell/Util/Concurrent.o ) [10 of 31] Compiling Serokell.Util.Common ( src/Serokell/Util/Common.hs, dist/build/Serokell/Util/Common.o ) [11 of 31] Compiling Serokell.Util.Binary ( src/Serokell/Util/Binary.hs, dist/build/Serokell/Util/Binary.o ) [12 of 31] Compiling Serokell.Util.Bench ( src/Serokell/Util/Bench.hs, dist/build/Serokell/Util/Bench.o ) [13 of 31] Compiling Serokell.Util.Base64 ( src/Serokell/Util/Base64.hs, dist/build/Serokell/Util/Base64.o ) [14 of 31] Compiling Serokell.Util.Parse.Base64 ( src/Serokell/Util/Parse/Base64.hs, dist/build/Serokell/Util/Parse/Base64.o ) [15 of 31] Compiling Serokell.Util.Parse ( src/Serokell/Util/Parse.hs, dist/build/Serokell/Util/Parse.o ) [16 of 31] Compiling Serokell.Util.Base16 ( src/Serokell/Util/Base16.hs, dist/build/Serokell/Util/Base16.o ) [17 of 31] Compiling Serokell.Util ( src/Serokell/Util.hs, dist/build/Serokell/Util.o ) [18 of 31] Compiling Serokell.Data.Variant.Variant ( src/Serokell/Data/Variant/Variant.hs, dist/build/Serokell/Data/Variant/Variant.o ) [19 of 31] Compiling Serokell.Data.Variant.Serialization ( src/Serokell/Data/Variant/Serialization.hs, dist/build/Serokell/Data/Variant/Serialization.o ) [20 of 31] Compiling Serokell.Data.Variant.Helpers ( src/Serokell/Data/Variant/Helpers.hs, dist/build/Serokell/Data/Variant/Helpers.o ) [21 of 31] Compiling Serokell.Data.Variant.Class ( src/Serokell/Data/Variant/Class.hs, dist/build/Serokell/Data/Variant/Class.o ) [22 of 31] Compiling Serokell.Data.Variant ( src/Serokell/Data/Variant.hs, dist/build/Serokell/Data/Variant.o ) [23 of 31] Compiling Serokell.Data.Memory.Units ( src/Serokell/Data/Memory/Units.hs, dist/build/Serokell/Data/Memory/Units.o ) [24 of 31] Compiling Serokell.Arbitrary ( src/Serokell/Arbitrary.hs, dist/build/Serokell/Arbitrary.o ) [25 of 31] Compiling Serokell.Aeson.Options ( src/Serokell/Aeson/Options.hs, dist/build/Serokell/Aeson/Options.o ) [26 of 31] Compiling Serokell.Util.I18N ( src/Serokell/Util/I18N.hs, dist/build/Serokell/Util/I18N.o ) src/Serokell/Util/I18N.hs:26:22: error: • Expecting one more argument to ‘AT.GFromJSON (Rep a)’ Expected a constraint, but ‘AT.GFromJSON (Rep a)’ has kind ‘(* -> *) -> Constraint’ • In the instance declaration for ‘FromJSONKey a’ src/Serokell/Util/I18N.hs:26:36: error: • Expecting one more argument to ‘Rep a’ Expected a type, but ‘Rep a’ has kind ‘* -> *’ • In the first argument of ‘AT.GFromJSON’, namely ‘Rep a’ In the instance declaration for ‘FromJSONKey a’ src/Serokell/Util/I18N.hs:30:35: error: • Expecting one more argument to ‘AT.GFromJSON (Rep a)’ Expected a constraint, but ‘AT.GFromJSON (Rep a)’ has kind ‘(* -> *) -> Constraint’ • In the instance declaration for ‘YamlMapKey a’ src/Serokell/Util/I18N.hs:30:49: error: • Expecting one more argument to ‘Rep a’ Expected a type, but ‘Rep a’ has kind ‘* -> *’ • In the first argument of ‘AT.GFromJSON’, namely ‘Rep a’ In the instance declaration for ‘YamlMapKey a’ src/Serokell/Util/I18N.hs:52:35: error: • Expecting one more argument to ‘AT.GToJSON (Rep a)’ Expected a constraint, but ‘AT.GToJSON (Rep a)’ has kind ‘(* -> *) -> Constraint’ • In the instance declaration for ‘ToReplaceToken a’ src/Serokell/Util/I18N.hs:52:47: error: • Expecting one more argument to ‘Rep a’ Expected a type, but ‘Rep a’ has kind ‘* -> *’ • In the first argument of ‘AT.GToJSON’, namely ‘Rep a’ In the instance declaration for ‘ToReplaceToken a’ cabal: Leaving directory '/tmp/cabal-tmp-5349/serokell-util-0.1.2.0' cabal: Error: some packages failed to install: serokell-util-0.1.2.0 failed during the building phase. The exception was: ExitFailure 1