Resolving dependencies... Configuring cereal-0.5.4.0... Configuring base-compat-0.9.1... Building cereal-0.5.4.0... Building base-compat-0.9.1... Installed base-compat-0.9.1 Configuring dlist-0.8.0.2... Building dlist-0.8.0.2... Installed cereal-0.5.4.0 Configuring entropy-0.3.7... Configuring mtl-2.2.1... Installed dlist-0.8.0.2 Building mtl-2.2.1... Building entropy-0.3.7... Configuring primitive-0.6.1.0... Installed mtl-2.2.1 Building primitive-0.6.1.0... Configuring network-2.6.3.1... Installed entropy-0.3.7 Building network-2.6.3.1... Configuring random-1.1... Installed primitive-0.6.1.0 Building random-1.1... Configuring stm-2.4.4.1... Installed random-1.1 Building stm-2.4.4.1... Configuring syb-0.6... Installed network-2.6.3.1 Configuring text-1.2.2.1... Installed stm-2.4.4.1 Building syb-0.6... Building text-1.2.2.1... Configuring time-locale-compat-0.1.1.3... Installed syb-0.6 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 utf8-string-1.0.1.1... Installed transformers-compat-0.5.1.4 Building utf8-string-1.0.1.1... Installed utf8-string-1.0.1.1 Configuring tagged-0.8.5... Building tagged-0.8.5... Configuring vector-0.11.0.0... Installed tagged-0.8.5 Configuring transformers-base-0.4.4... Installed text-1.2.2.1 Building vector-0.11.0.0... Building transformers-base-0.4.4... Installed transformers-base-0.4.4 Configuring crypto-api-0.13.2... Building crypto-api-0.13.2... Configuring blaze-builder-0.4.0.2... Installed crypto-api-0.13.2 Building blaze-builder-0.4.0.2... Configuring hashable-1.2.4.0... Installed blaze-builder-0.4.0.2 Building hashable-1.2.4.0... Configuring parsec-3.1.11... Installed hashable-1.2.4.0 Building parsec-3.1.11... Configuring monad-control-1.0.1.0... Installed parsec-3.1.11 Building monad-control-1.0.1.0... Installed vector-0.11.0.0 Configuring pureMD5-2.1.3... Building pureMD5-2.1.3... Configuring unordered-containers-0.2.7.2... Installed monad-control-1.0.1.0 Building unordered-containers-0.2.7.2... Installed pureMD5-2.1.3 Configuring protocol-buffers-2.4.0... Building protocol-buffers-2.4.0... Configuring scientific-0.3.4.9... Installed unordered-containers-0.2.7.2 Building scientific-0.3.4.9... Configuring resource-pool-0.2.3.2... Installed scientific-0.3.4.9 Building resource-pool-0.2.3.2... Installed resource-pool-0.2.3.2 Configuring attoparsec-0.13.1.0... Building attoparsec-0.13.1.0... Installed protocol-buffers-2.4.0 Configuring protocol-buffers-descriptor-2.4.0... Building protocol-buffers-descriptor-2.4.0... Installed attoparsec-0.13.1.0 Configuring aeson-1.0.2.1... Building aeson-1.0.2.1... Installed protocol-buffers-descriptor-2.4.0 Downloading riak-protobuf-0.22.0.0... Configuring riak-protobuf-0.22.0.0... Building riak-protobuf-0.22.0.0... Installed aeson-1.0.2.1 Installed riak-protobuf-0.22.0.0 Downloading riak-0.6.0.1... Configuring riak-0.6.0.1... Building riak-0.6.0.1... Failed to install riak-0.6.0.1 Build log ( /home/builder/.cabal/logs/riak-0.6.0.1.log ): cabal: Entering directory '/tmp/cabal-tmp-21798/riak-0.6.0.1' Configuring riak-0.6.0.1... Building riak-0.6.0.1... Preprocessing library riak-0.6.0.1... [ 1 of 21] Compiling Network.Riak.Types.Internal ( src/Network/Riak/Types/Internal.hs, dist/build/Network/Riak/Types/Internal.o ) [ 2 of 21] Compiling Network.Riak.Types ( src/Network/Riak/Types.hs, dist/build/Network/Riak/Types.o ) [ 3 of 21] Compiling Network.Riak.Tag ( src/Network/Riak/Tag.hs, dist/build/Network/Riak/Tag.o ) [ 4 of 21] Compiling Network.Riak.Functions ( src/Network/Riak/Functions.hs, dist/build/Network/Riak/Functions.o ) [ 5 of 21] Compiling Network.Riak.Escape ( src/Network/Riak/Escape.hs, dist/build/Network/Riak/Escape.o ) src/Network/Riak/Escape.hs:28:1: warning: [-Wdeprecations] Module ‘Data.Attoparsec’ is deprecated: This module will be removed in the next major release. [ 6 of 21] Compiling Network.Riak.Request ( src/Network/Riak/Request.hs, dist/build/Network/Riak/Request.o ) src/Network/Riak/Request.hs:82:20: error: • Constructor ‘Get.GetRequest’ does not have the required strict field(s): pr, basic_quorum, notfound_ok, if_modified, head, deletedvclock, timeout, sloppy_quorum, n_val, type' • In the expression: Get.GetRequest {Get.bucket = escape bucket, Get.key = escape key, Get.r = fromQuorum r} In an equation for ‘get’: get bucket key r = Get.GetRequest {Get.bucket = escape bucket, Get.key = escape key, Get.r = fromQuorum r} src/Network/Riak/Request.hs:93:5: error: • Couldn't match expected type ‘Put.PutRequest’ with actual type ‘Maybe GHC.Word.Word32 -> Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe GHC.Word.Word32 -> Maybe Bool -> Maybe Bool -> Maybe GHC.Word.Word32 -> Maybe Data.ByteString.Lazy.Internal.ByteString -> Put.PutRequest’ • Probable cause: ‘Put.PutRequest’ is applied to too few arguments In the expression: Put.PutRequest (escape bucket) (escape key) (fromVClock <$> mvclock) cont (fromQuorum mw) (fromQuorum mdw) (Just returnBody) In an equation for ‘put’: put bucket key mvclock cont mw mdw returnBody = Put.PutRequest (escape bucket) (escape key) (fromVClock <$> mvclock) cont (fromQuorum mw) (fromQuorum mdw) (Just returnBody) src/Network/Riak/Request.hs:93:37: error: • Couldn't match expected type ‘Maybe Data.ByteString.Lazy.Internal.ByteString’ with actual type ‘Data.ByteString.Lazy.Internal.ByteString’ • In the second argument of ‘Put.PutRequest’, namely ‘(escape key)’ In the expression: Put.PutRequest (escape bucket) (escape key) (fromVClock <$> mvclock) cont (fromQuorum mw) (fromQuorum mdw) (Just returnBody) In an equation for ‘put’: put bucket key mvclock cont mw mdw returnBody = Put.PutRequest (escape bucket) (escape key) (fromVClock <$> mvclock) cont (fromQuorum mw) (fromQuorum mdw) (Just returnBody) src/Network/Riak/Request.hs:104:24: error: • Couldn't match expected type ‘Del.DeleteRequest’ with actual type ‘Maybe Data.ByteString.Lazy.Internal.ByteString -> Maybe GHC.Word.Word32 -> Maybe GHC.Word.Word32 -> Maybe GHC.Word.Word32 -> Maybe GHC.Word.Word32 -> Maybe GHC.Word.Word32 -> Maybe GHC.Word.Word32 -> Maybe Bool -> Maybe GHC.Word.Word32 -> Maybe Data.ByteString.Lazy.Internal.ByteString -> Del.DeleteRequest’ • Probable cause: ‘Del.DeleteRequest’ is applied to too few arguments In the expression: Del.DeleteRequest (escape bucket) (escape key) (fromQuorum rw) In an equation for ‘delete’: delete bucket key rw = Del.DeleteRequest (escape bucket) (escape key) (fromQuorum rw) src/Network/Riak/Request.hs:110:15: error: • Couldn't match expected type ‘ListBucketsRequest’ with actual type ‘Maybe GHC.Word.Word32 -> Maybe Bool -> Maybe Data.ByteString.Lazy.Internal.ByteString -> ListBucketsRequest’ • Probable cause: ‘ListBucketsRequest’ is applied to too few arguments In the expression: ListBucketsRequest In an equation for ‘listBuckets’: listBuckets = ListBucketsRequest src/Network/Riak/Request.hs:115:12: error: • Couldn't match type ‘Maybe GHC.Word.Word32 -> Maybe Data.ByteString.Lazy.Internal.ByteString -> Keys.ListKeysRequest’ with ‘Keys.ListKeysRequest’ Expected type: Bucket -> Keys.ListKeysRequest Actual type: Bucket -> Maybe GHC.Word.Word32 -> Maybe Data.ByteString.Lazy.Internal.ByteString -> Keys.ListKeysRequest • Probable cause: ‘(.)’ is applied to too few arguments In the expression: Keys.ListKeysRequest . escape In an equation for ‘listKeys’: listKeys = Keys.ListKeysRequest . escape src/Network/Riak/Request.hs:120:13: error: • Couldn't match type ‘Maybe Data.ByteString.Lazy.Internal.ByteString -> GetBucket.GetBucketRequest’ with ‘GetBucket.GetBucketRequest’ Expected type: Bucket -> GetBucket.GetBucketRequest Actual type: Bucket -> Maybe Data.ByteString.Lazy.Internal.ByteString -> GetBucket.GetBucketRequest • Probable cause: ‘(.)’ is applied to too few arguments In the expression: GetBucket.GetBucketRequest . escape In an equation for ‘getBucket’: getBucket = GetBucket.GetBucketRequest . escape src/Network/Riak/Request.hs:125:13: error: • Couldn't match type ‘Maybe Data.ByteString.Lazy.Internal.ByteString -> SetBucket.SetBucketRequest’ with ‘SetBucket.SetBucketRequest’ Expected type: Bucket -> BucketProps -> SetBucket.SetBucketRequest Actual type: Bucket -> BucketProps -> Maybe Data.ByteString.Lazy.Internal.ByteString -> SetBucket.SetBucketRequest • Probable cause: ‘(.)’ is applied to too few arguments In the expression: SetBucket.SetBucketRequest . escape In an equation for ‘setBucket’: setBucket = SetBucket.SetBucketRequest . escape cabal: Leaving directory '/tmp/cabal-tmp-21798/riak-0.6.0.1' cabal: Error: some packages failed to install: riak-0.6.0.1 failed during the building phase. The exception was: ExitFailure 1