Resolving dependencies... Configuring ansi-terminal-0.6.2.3... Configuring base-compat-0.9.1... Building ansi-terminal-0.6.2.3... Building base-compat-0.9.1... Installed ansi-terminal-0.6.2.3 Configuring base-orphans-0.5.4... Installed base-compat-0.9.1 Configuring base16-bytestring-0.1.1.6... Building base-orphans-0.5.4... Building base16-bytestring-0.1.1.6... Configuring byteable-0.1.1... Installed base-orphans-0.5.4 Building byteable-0.1.1... Configuring cabal-doctest-1... Installed base16-bytestring-0.1.1.6 Building cabal-doctest-1... Configuring bytedump-1.0... Installed byteable-0.1.1 Building bytedump-1.0... Configuring call-stack-0.1.0... Installed cabal-doctest-1 Building call-stack-0.1.0... Configuring cereal-0.5.4.0... Installed bytedump-1.0 Building cereal-0.5.4.0... Configuring dlist-0.8.0.2... Installed call-stack-0.1.0 Building dlist-0.8.0.2... Configuring entropy-0.3.7... Installed dlist-0.8.0.2 Configuring fail-4.9.0.0... Installed cereal-0.5.4.0 Building fail-4.9.0.0... Configuring hspec-discover-2.4.1... Installed fail-4.9.0.0 Building hspec-discover-2.4.1... Building entropy-0.3.7... Configuring integer-logarithms-1.0.1... Installed hspec-discover-2.4.1 Configuring largeword-1.2.5... Installed entropy-0.3.7 Building integer-logarithms-1.0.1... Building largeword-1.2.5... Configuring memory-0.14.1... Installed integer-logarithms-1.0.1 Building memory-0.14.1... Configuring mtl-2.2.1... Installed largeword-1.2.5 Building mtl-2.2.1... Configuring network-2.6.3.1... Installed mtl-2.2.1 Configuring prelude-extras-0.4.0.3... Installed memory-0.14.1 Building prelude-extras-0.4.0.3... Building network-2.6.3.1... Configuring primitive-0.6.1.0... Installed prelude-extras-0.4.0.3 Building primitive-0.6.1.0... Configuring random-1.1... Installed network-2.6.3.1 Building random-1.1... Configuring safe-0.3.11... Installed primitive-0.6.1.0 Building safe-0.3.11... Configuring semigroups-0.18.2... Installed safe-0.3.11 Configuring setenv-0.1.1.3... Installed random-1.1 Building semigroups-0.18.2... Building setenv-0.1.1.3... Configuring split-0.2.3.1... Installed semigroups-0.18.2 Configuring stm-2.4.4.1... Installed setenv-0.1.1.3 Building split-0.2.3.1... Building stm-2.4.4.1... Configuring syb-0.6... Installed split-0.2.3.1 Building syb-0.6... Configuring text-1.2.2.1... Installed stm-2.4.4.1 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 unexceptionalio-0.3.0... Installed transformers-compat-0.5.1.4 Building unexceptionalio-0.3.0... Configuring utf8-string-1.0.1.1... Installed unexceptionalio-0.3.0 Building utf8-string-1.0.1.1... Installed utf8-string-1.0.1.1 Configuring HUnit-1.5.0.0... Building HUnit-1.5.0.0... Configuring monad-time-0.2... Installed text-1.2.2.1 Building monad-time-0.2... Configuring murmur3-1.0.3... Installed HUnit-1.5.0.0 Building murmur3-1.0.3... Configuring cryptonite-0.21... Installed monad-time-0.2 Building cryptonite-0.21... Configuring vector-0.11.0.0... Installed murmur3-1.0.3 Building vector-0.11.0.0... Configuring StateVar-1.1.0.4... Installed vector-0.11.0.0 Building StateVar-1.1.0.4... Configuring async-2.1.1... Installed StateVar-1.1.0.4 Building async-2.1.1... Configuring tf-random-0.5... Installed async-2.1.1 Building tf-random-0.5... Configuring MonadRandom-0.5... Installed tf-random-0.5 Building MonadRandom-0.5... Configuring mmorph-1.0.9... Installed cryptonite-0.21 Building mmorph-1.0.9... Configuring tagged-0.8.5... Installed MonadRandom-0.5 Building tagged-0.8.5... Configuring exceptions-0.8.3... Installed mmorph-1.0.9 Building exceptions-0.8.3... Configuring transformers-base-0.4.4... Installed tagged-0.8.5 Building transformers-base-0.4.4... Configuring errors-2.1.3... Installed exceptions-0.8.3 Building errors-2.1.3... Installed transformers-base-0.4.4 Configuring blaze-builder-0.4.0.2... Building blaze-builder-0.4.0.2... Configuring hashable-1.2.5.0... Installed errors-2.1.3 Building hashable-1.2.5.0... Configuring parsec-3.1.11... Installed blaze-builder-0.4.0.2 Building parsec-3.1.11... Configuring string-conversions-0.4.0.1... Installed hashable-1.2.5.0 Building string-conversions-0.4.0.1... Configuring hspec-expectations-0.8.2... Installed string-conversions-0.4.0.1 Building hspec-expectations-0.8.2... Configuring QuickCheck-2.8.2... Installed parsec-3.1.11 Configuring cryptohash-0.11.9... Installed hspec-expectations-0.8.2 Building QuickCheck-2.8.2... Building cryptohash-0.11.9... Configuring distributive-0.5.2... Installed cryptohash-0.11.9 Building distributive-0.5.2... Configuring monad-control-1.0.1.0... Installed distributive-0.5.2 Building monad-control-1.0.1.0... Installed monad-control-1.0.1.0 Configuring scientific-0.3.4.10... Building scientific-0.3.4.10... Configuring case-insensitive-1.2.0.7... Installed QuickCheck-2.8.2 Building case-insensitive-1.2.0.7... Configuring unordered-containers-0.2.7.2... Installed case-insensitive-1.2.0.7 Configuring uuid-types-1.0.3... Installed scientific-0.3.4.10 Building unordered-containers-0.2.7.2... Building uuid-types-1.0.3... Configuring void-0.7.1... Installed uuid-types-1.0.3 Building void-0.7.1... Configuring network-uri-2.6.1.0... Installed void-0.7.1 Building network-uri-2.6.1.0... Configuring pbkdf-1.1.1.1... Installed unordered-containers-0.2.7.2 Building pbkdf-1.1.1.1... Configuring lifted-base-0.2.3.8... Installed network-uri-2.6.1.0 Installed pbkdf-1.1.1.1 Configuring quickcheck-io-0.1.4... Building lifted-base-0.2.3.8... Building quickcheck-io-0.1.4... Configuring secp256k1-0.4.6... Installed quickcheck-io-0.1.4 Configuring http-media-0.6.4... Installed lifted-base-0.2.3.8 Building http-media-0.6.4... Configuring http-types-0.9.1... Installed http-media-0.6.4 Building http-types-0.9.1... Configuring attoparsec-0.13.1.0... Installed http-types-0.9.1 Building attoparsec-0.13.1.0... Building secp256k1-0.4.6... Configuring vault-0.3.0.6... Installed attoparsec-0.13.1.0 Building vault-0.3.0.6... Configuring contravariant-1.4... Installed vault-0.3.0.6 Building contravariant-1.4... Installed secp256k1-0.4.6 Configuring hspec-core-2.4.1... Building hspec-core-2.4.1... Configuring resourcet-1.1.9... Installed contravariant-1.4 Building resourcet-1.1.9... Configuring uri-bytestring-0.2.2.1... Installed resourcet-1.1.9 Configuring aeson-0.11.3.0... Installed hspec-core-2.4.1 Building uri-bytestring-0.2.2.1... Building aeson-0.11.3.0... Installed uri-bytestring-0.2.2.1 Configuring conduit-1.2.8... Building conduit-1.2.8... Configuring comonad-5... Installed conduit-1.2.8 Configuring http-api-data-0.3.5... Installed aeson-0.11.3.0 Building comonad-5... Building http-api-data-0.3.5... Configuring hspec-2.4.1... Installed comonad-5 Building hspec-2.4.1... Installed http-api-data-0.3.5 Configuring bifunctors-5.4.1... Building bifunctors-5.4.1... Configuring hexstring-0.11.1... Installed hspec-2.4.1 Building hexstring-0.11.1... Configuring servant-0.9.1.1... Installed hexstring-0.11.1 Building servant-0.9.1.1... Installed bifunctors-5.4.1 Configuring semigroupoids-5.1... Configuring profunctors-5.2... Installed servant-0.9.1.1 Building profunctors-5.2... Building semigroupoids-5.1... Installed profunctors-5.2 Installed semigroupoids-5.1 Configuring free-4.12.4... Building free-4.12.4... Installed free-4.12.4 Configuring either-4.4.1.1... Building either-4.4.1.1... Installed either-4.4.1.1 Configuring haskoin-core-0.4.0... Building haskoin-core-0.4.0... Installed haskoin-core-0.4.0 Configuring rbpcp-api-0.1.0.0... Building rbpcp-api-0.1.0.0... Installed rbpcp-api-0.1.0.0 Configuring bitcoin-payment-channel-1.0.1.0... Building bitcoin-payment-channel-1.0.1.0... Failed to install bitcoin-payment-channel-1.0.1.0 Build log ( /home/builder/.cabal/logs/bitcoin-payment-channel-1.0.1.0.log ): cabal: Entering directory '/tmp/cabal-tmp-5859/bitcoin-payment-channel-1.0.1.0' Configuring bitcoin-payment-channel-1.0.1.0... Building bitcoin-payment-channel-1.0.1.0... Preprocessing library bitcoin-payment-channel-1.0.1.0... [ 1 of 53] Compiling PaymentChannel.Internal.Settlement.Config ( src/PaymentChannel/Internal/Settlement/Config.hs, dist/build/PaymentChannel/Internal/Settlement/Config.o ) [ 2 of 53] Compiling PaymentChannel.Internal.Serialization.JSON ( src/PaymentChannel/Internal/Serialization/JSON.hs, dist/build/PaymentChannel/Internal/Serialization/JSON.o ) src/PaymentChannel/Internal/Serialization/JSON.hs:7:1: warning: [-Wunused-imports] The import of ‘Data.Word’ is redundant except perhaps to import instances from ‘Data.Word’ To import instances alone, use: import Data.Word() [ 3 of 53] Compiling PaymentChannel.Internal.Util ( src/PaymentChannel/Internal/Util.hs, dist/build/PaymentChannel/Internal/Util.o ) [ 4 of 53] Compiling PaymentChannel.Internal.Crypto.PubKey ( src/PaymentChannel/Internal/Crypto/PubKey.hs, dist/build/PaymentChannel/Internal/Crypto/PubKey.o ) [ 5 of 53] Compiling Paths_bitcoin_payment_channel ( dist/build/autogen/Paths_bitcoin_payment_channel.hs, dist/build/Paths_bitcoin_payment_channel.o ) [ 6 of 53] Compiling Bitcoin.Util ( src/Bitcoin/Util.hs, dist/build/Bitcoin/Util.o ) src/Bitcoin/Util.hs:15:1: warning: [-Wunused-imports] The qualified import of ‘Data.ByteString.Base16’ is redundant except perhaps to import instances from ‘Data.ByteString.Base16’ To import instances alone, use: import Data.ByteString.Base16() [ 7 of 53] Compiling Bitcoin.Orphans ( src/Bitcoin/Orphans.hs, dist/build/Bitcoin/Orphans.o ) src/Bitcoin/Orphans.hs:3:1: warning: [-Wunused-imports] The qualified import of ‘Network.Haskoin.Transaction’ is redundant except perhaps to import instances from ‘Network.Haskoin.Transaction’ To import instances alone, use: import Network.Haskoin.Transaction() src/Bitcoin/Orphans.hs:4:1: warning: [-Wunused-imports] The qualified import of ‘Network.Haskoin.Crypto’ is redundant except perhaps to import instances from ‘Network.Haskoin.Crypto’ To import instances alone, use: import Network.Haskoin.Crypto() [ 8 of 53] Compiling Bitcoin.LockTime.Types ( src/Bitcoin/LockTime/Types.hs, dist/build/Bitcoin/LockTime/Types.o ) [ 9 of 53] Compiling Bitcoin.Amount ( src/Bitcoin/Amount.hs, dist/build/Bitcoin/Amount.o ) [10 of 53] Compiling Bitcoin.Config ( src/Bitcoin/Config.hs, dist/build/Bitcoin/Config.o ) [11 of 53] Compiling PaymentChannel.Internal.Config ( src/PaymentChannel/Internal/Config.hs, dist/build/PaymentChannel/Internal/Config.o ) [12 of 53] Compiling Bitcoin.LockTime.Util ( src/Bitcoin/LockTime/Util.hs, dist/build/Bitcoin/LockTime/Util.o ) src/Bitcoin/LockTime/Util.hs:11:1: warning: [-Wunused-imports] The import of ‘PaymentChannel.Internal.Util’ is redundant except perhaps to import instances from ‘PaymentChannel.Internal.Util’ To import instances alone, use: import PaymentChannel.Internal.Util() src/Bitcoin/LockTime/Util.hs:13:1: warning: [-Wunused-imports] The import of ‘Data.Word’ is redundant except perhaps to import instances from ‘Data.Word’ To import instances alone, use: import Data.Word() src/Bitcoin/LockTime/Util.hs:14:1: warning: [-Wunused-imports] The import of ‘Data.Time.Clock’ is redundant except perhaps to import instances from ‘Data.Time.Clock’ To import instances alone, use: import Data.Time.Clock() [13 of 53] Compiling PaymentChannel.Internal.ChanScript ( src/PaymentChannel/Internal/ChanScript.hs, dist/build/PaymentChannel/Internal/ChanScript.o ) src/PaymentChannel/Internal/ChanScript.hs:99:27: error: Not in scope: ‘HI.cltvEncodeInt’ Module ‘Network.Haskoin.Internals’ does not export ‘cltvEncodeInt’. src/PaymentChannel/Internal/ChanScript.hs:105:11: error: Not in scope: ‘HI.cltvDecodeInt’ Module ‘Network.Haskoin.Internals’ does not export ‘cltvDecodeInt’. cabal: Leaving directory '/tmp/cabal-tmp-5859/bitcoin-payment-channel-1.0.1.0' cabal: Error: some packages failed to install: bitcoin-payment-channel-1.0.1.0 failed during the building phase. The exception was: ExitFailure 1