Resolving dependencies... Configuring base-compat-0.9.1... Configuring SHA-1.6.4.2... Building base-compat-0.9.1... Building SHA-1.6.4.2... Installed base-compat-0.9.1 Configuring base64-string-0.2... Building base64-string-0.2... Configuring base64-bytestring-1.0.0.1... Installed base64-string-0.2 Building base64-bytestring-1.0.0.1... Installed base64-bytestring-1.0.0.1 Configuring byteable-0.1.1... Building byteable-0.1.1... Configuring bytestring-builder-0.10.8.1.0... Installed SHA-1.6.4.2 Configuring call-stack-0.1.0... Installed byteable-0.1.1 Building bytestring-builder-0.10.8.1.0... Building call-stack-0.1.0... Configuring cereal-0.5.4.0... Installed bytestring-builder-0.10.8.1.0 Building cereal-0.5.4.0... Configuring clock-0.7.2... Installed call-stack-0.1.0 Building clock-0.7.2... Configuring darcs-2.4.4... Installed clock-0.7.2 Configuring data-default-class-0.1.2.0... Failed to install darcs-2.4.4 Build log ( /home/builder/.cabal/logs/darcs-2.4.4.log ): cabal: Entering directory '/tmp/cabal-tmp-2946/darcs-2.4.4' cabal: Leaving directory '/tmp/cabal-tmp-2946/darcs-2.4.4' Building data-default-class-0.1.2.0... Configuring dataenc-0.12... Installed cereal-0.5.4.0 Configuring digest-0.0.1.2... Installed data-default-class-0.1.2.0 Building dataenc-0.12... Building digest-0.0.1.2... Configuring dlist-0.8.0.2... Installed digest-0.0.1.2 Building dlist-0.8.0.2... Configuring entropy-0.3.7... Installed dataenc-0.12 Configuring extensible-exceptions-0.1.1.4... Installed dlist-0.8.0.2 Building extensible-exceptions-0.1.1.4... Configuring haddock-library-1.4.2... Installed extensible-exceptions-0.1.1.4 Building entropy-0.3.7... Building haddock-library-1.4.2... Configuring harp-0.4.2... Installed entropy-0.3.7 Building harp-0.4.2... Configuring hourglass-0.2.10... Installed harp-0.4.2 Building hourglass-0.2.10... Configuring hslua-0.4.1... Installed haddock-library-1.4.2 Building hslua-0.4.1... Configuring memory-0.13... Installed hourglass-0.2.10 Building memory-0.13... Configuring mmap-0.5.9... Installed memory-0.13 Configuring mtl-2.2.1... Installed hslua-0.4.1 Building mmap-0.5.9... Building mtl-2.2.1... Configuring murmur-hash-0.1.0.9... Installed mmap-0.5.9 Building murmur-hash-0.1.0.9... Configuring network-2.6.3.1... Installed mtl-2.2.1 Configuring old-locale-1.0.0.7... Installed murmur-hash-0.1.0.9 Building old-locale-1.0.0.7... Configuring primitive-0.6.1.0... Installed old-locale-1.0.0.7 Building primitive-0.6.1.0... Building network-2.6.3.1... Configuring random-1.1... Installed primitive-0.6.1.0 Building random-1.1... Configuring semigroups-0.18.2... Installed network-2.6.3.1 Configuring split-0.2.3.1... Installed random-1.1 Building semigroups-0.18.2... Building split-0.2.3.1... Configuring stm-2.4.4.1... Installed semigroups-0.18.2 Configuring syb-0.6... Installed split-0.2.3.1 Building stm-2.4.4.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 unbounded-delays-0.1.0.9... Installed transformers-compat-0.5.1.4 Building unbounded-delays-0.1.0.9... Configuring unix-compat-0.4.3.1... Installed unbounded-delays-0.1.0.9 Building unix-compat-0.4.3.1... Configuring utf8-string-1.0.1.1... Installed unix-compat-0.4.3.1 Building utf8-string-1.0.1.1... Configuring zlib-0.6.1.2... Installed text-1.2.2.1 Building zlib-0.6.1.2... Installed utf8-string-1.0.1.1 Configuring HUnit-1.5.0.0... Building HUnit-1.5.0.0... Configuring data-default-instances-dlist-0.0.1... Installed HUnit-1.5.0.0 Configuring data-default-instances-containers-0.0.1... Installed zlib-0.6.1.2 Building data-default-instances-dlist-0.0.1... Building data-default-instances-containers-0.0.1... Configuring asn1-types-0.3.2... Installed data-default-instances-dlist-0.0.1 Configuring pem-0.2.2... Installed data-default-instances-containers-0.0.1 Building asn1-types-0.3.2... Building pem-0.2.2... Configuring data-default-instances-old-locale-0.0.1... Installed pem-0.2.2 Building data-default-instances-old-locale-0.0.1... Configuring cryptonite-0.20... Installed asn1-types-0.3.2 Building cryptonite-0.20... Configuring regex-base-0.93.2... Installed data-default-instances-old-locale-0.0.1 Building regex-base-0.93.2... Configuring old-time-1.1.0.3... Installed regex-base-0.93.2 Building old-time-1.1.0.3... Configuring vector-0.11.0.0... Installed old-time-1.1.0.3 Building vector-0.11.0.0... Configuring HsOpenSSL-0.11.3.2... Installed cryptonite-0.20 Configuring socks-0.5.5... Installed vector-0.11.0.0 Building socks-0.5.5... Building HsOpenSSL-0.11.3.2... Configuring tf-random-0.5... Installed socks-0.5.5 Building tf-random-0.5... Configuring exceptions-0.8.3... Installed tf-random-0.5 Building exceptions-0.8.3... Configuring async-2.1.1... Installed exceptions-0.8.3 Building async-2.1.1... Configuring mmorph-1.0.9... Installed HsOpenSSL-0.11.3.2 Configuring tagged-0.8.5... Installed async-2.1.1 Building mmorph-1.0.9... Building tagged-0.8.5... Configuring transformers-base-0.4.4... Installed mmorph-1.0.9 Building transformers-base-0.4.4... Configuring filemanip-0.3.6.3... Installed tagged-0.8.5 Building filemanip-0.3.6.3... Configuring concurrent-extra-0.7.0.10... Installed transformers-base-0.4.4 Configuring blaze-builder-0.4.0.2... Installed filemanip-0.3.6.3 Building blaze-builder-0.4.0.2... Building concurrent-extra-0.7.0.10... Configuring cmark-0.5.4... Installed blaze-builder-0.4.0.2 Configuring hashable-1.2.4.0... Installed concurrent-extra-0.7.0.10 Building cmark-0.5.4... Building hashable-1.2.4.0... Configuring hsp-0.10.0... Installed hashable-1.2.4.0 Building hsp-0.10.0... Configuring mime-types-0.1.0.7... Installed hsp-0.10.0 Building mime-types-0.1.0.7... Configuring readable-0.3.1... Installed cmark-0.5.4 Building readable-0.3.1... Configuring parsec-3.1.11... Installed readable-0.3.1 Building parsec-3.1.11... Configuring tagsoup-0.14... Installed mime-types-0.1.0.7 Building tagsoup-0.14... Configuring xml-1.3.14... Installed parsec-3.1.11 Building xml-1.3.14... Installed xml-1.3.14 Configuring zlib-bindings-0.1.1.5... Building zlib-bindings-0.1.1.5... Configuring hashed-storage-0.5.11... Installed tagsoup-0.14 Configuring data-default-0.7.1.1... Installed zlib-bindings-0.1.1.5 Building data-default-0.7.1.1... Configuring asn1-encoding-0.9.4... Installed data-default-0.7.1.1 Building asn1-encoding-0.9.4... Building hashed-storage-0.5.11... Configuring regex-posix-0.95.2... Failed to install hashed-storage-0.5.11 Build log ( /home/builder/.cabal/logs/hashed-storage-0.5.11.log ): cabal: Entering directory '/tmp/cabal-tmp-2937/hashed-storage-0.5.11' [1 of 1] Compiling Main ( /tmp/cabal-tmp-2937/hashed-storage-0.5.11/dist/setup/setup.hs, /tmp/cabal-tmp-2937/hashed-storage-0.5.11/dist/setup/Main.o ) Linking /tmp/cabal-tmp-2937/hashed-storage-0.5.11/dist/setup/setup ... Configuring hashed-storage-0.5.11... Warning: 'ghc-options: -prof' is not necessary and will lead to problems when used on a library. Use the configure flag --enable-library-profiling and/or --enable-profiling. Building hashed-storage-0.5.11... Preprocessing library hashed-storage-0.5.11... on the commandline: warning: -XPatternSignatures is deprecated: use -XScopedTypeVariables or pragma {-# LANGUAGE ScopedTypeVariables #-} instead [ 1 of 12] Compiling Storage.Hashed.AnchoredPath ( Storage/Hashed/AnchoredPath.hs, dist/build/Storage/Hashed/AnchoredPath.o ) [ 2 of 12] Compiling Bundled.SHA256 ( Bundled/SHA256.hs, dist/build/Bundled/SHA256.o ) [ 3 of 12] Compiling Storage.Hashed.Hash ( Storage/Hashed/Hash.hs, dist/build/Storage/Hashed/Hash.o ) [ 4 of 12] Compiling Storage.Hashed.Tree ( Storage/Hashed/Tree.hs, dist/build/Storage/Hashed/Tree.o ) Storage/Hashed/Tree.hs:32:1: warning: [-Wdodgy-imports] Module ‘Prelude’ does not export ‘catch’ Storage/Hashed/Tree.hs:43:1: warning: [-Wunused-imports] The import of ‘liftM’ from module ‘Control.Monad’ is redundant Storage/Hashed/Tree.hs:202:27: warning: [-Wname-shadowing] This binding for ‘sub’ shadows the existing binding bound at Storage/Hashed/Tree.hs:197:28 Storage/Hashed/Tree.hs:207:39: warning: [-Wunused-matches] Defined but not used: ‘s’ Storage/Hashed/Tree.hs:210:13: warning: [-Wincomplete-patterns] Pattern match(es) are non-exhaustive In an equation for ‘render’: Patterns not matched: (_, SubTree _) (_, Stub _ _) Storage/Hashed/Tree.hs:237:23: warning: [-Wunused-local-binds] Defined but not used: ‘subs’ Storage/Hashed/Tree.hs:362:50: warning: [-Wtype-defaults] • Defaulting the following constraint to type ‘Integer’ Num t0 arising from a use of ‘countmap’ • In the first argument of ‘seq’, namely ‘countmap items'’ In the ‘items’ field of a record In the expression: t {items = countmap items' `seq` items', treeHash = if unmod then treeHash t else NoHash} Storage/Hashed/Tree.hs:383:46: warning: [-Wname-shadowing] This binding for ‘mod’ shadows the existing binding imported from ‘Prelude’ at Storage/Hashed/Tree.hs:32:1-51 (and originally defined in ‘GHC.Real’) Storage/Hashed/Tree.hs:383:51: warning: [-Wname-shadowing] This binding for ‘sub’ shadows the existing binding bound at Storage/Hashed/Tree.hs:380:20 Storage/Hashed/Tree.hs:396:1: warning: [-Wmissing-signatures] Top-level binding with no type signature: countmap :: Num a1 => M.Map k a -> a1 Storage/Hashed/Tree.hs:413:25: warning: [-Wname-shadowing] This binding for ‘pred’ shadows the existing binding imported from ‘Prelude’ at Storage/Hashed/Tree.hs:32:1-51 (and originally defined in ‘GHC.Enum’) Storage/Hashed/Tree.hs:416:19: warning: [-Wname-shadowing] This binding for ‘t'’ shadows the existing binding bound at Storage/Hashed/Tree.hs:413:30 Storage/Hashed/Tree.hs:458:1: warning: [-Wincomplete-patterns] Pattern match(es) are non-exhaustive In an equation for ‘unstub’: Patterns not matched: (File _) [ 5 of 12] Compiling Storage.Hashed.Monad ( Storage/Hashed/Monad.hs, dist/build/Storage/Hashed/Monad.o ) Storage/Hashed/Monad.hs:142:1: error: • Non type-variable argument in the constraint: MonadState (TreeState m) m1 (Use FlexibleContexts to permit this) • When checking the inferred type renameChanged :: forall (m :: * -> *) (m1 :: * -> *). MonadState (TreeState m) m1 => AnchoredPath -> AnchoredPath -> m1 () Storage/Hashed/Monad.hs:196:16: error: • Non type-variable argument in the constraint: MonadState (TreeState m0) (t m0) (Use FlexibleContexts to permit this) • When checking the inferred type amend :: forall (t :: (* -> *) -> * -> *). (MonadState (TreeState m0) (t m0), MonadTrans t) => t m0 () In the expression: do { t <- gets tree; p' <- (`catPaths` p) `fmap` ask; let amend = ...; case find t p' of { Nothing -> amend Just (Stub _ _) -> amend _ -> return () }; .... } In an equation for ‘expandTo’: expandTo p = do { t <- gets tree; p' <- (`catPaths` p) `fmap` ask; let amend = ...; .... } cabal: Leaving directory '/tmp/cabal-tmp-2937/hashed-storage-0.5.11' Building regex-posix-0.95.2... Configuring regex-pcre-builtin-0.94.4.8.8.35... Installed asn1-encoding-0.9.4 Building regex-pcre-builtin-0.94.4.8.8.35... Configuring zip-archive-0.3.0.5... Installed regex-posix-0.95.2 Building zip-archive-0.3.0.5... Configuring JuicyPixels-3.2.8... Installed zip-archive-0.3.0.5 Configuring mwc-random-0.13.5.0... Installed regex-pcre-builtin-0.94.4.8.8.35 Building JuicyPixels-3.2.8... Building mwc-random-0.13.5.0... Configuring QuickCheck-2.9.2... Installed mwc-random-0.13.5.0 Building QuickCheck-2.9.2... Configuring temporary-1.2.0.4... Installed QuickCheck-2.9.2 Building temporary-1.2.0.4... Configuring monad-control-1.0.1.0... Installed temporary-1.2.0.4 Building monad-control-1.0.1.0... Configuring crypto-api-0.13.2... Installed JuicyPixels-3.2.8 Building crypto-api-0.13.2... Configuring cookie-0.4.2.1... Installed monad-control-1.0.1.0 Building cookie-0.4.2.1... Configuring blaze-markup-0.7.1.1... Installed cookie-0.4.2.1 Building blaze-markup-0.7.1.1... Configuring redis-0.14.1... Installed crypto-api-0.13.2 Building redis-0.14.1... Configuring case-insensitive-1.2.0.7... Installed blaze-markup-0.7.1.1 Building case-insensitive-1.2.0.7... Configuring streaming-commons-0.1.16... Installed case-insensitive-1.2.0.7 Building streaming-commons-0.1.16... Configuring unordered-containers-0.2.7.1... Installed redis-0.14.1 Building unordered-containers-0.2.7.1... Configuring scientific-0.3.4.9... Installed streaming-commons-0.1.16 Building scientific-0.3.4.9... Configuring network-uri-2.6.1.0... Installed unordered-containers-0.2.7.1 Configuring system-uuid-2.1.1... Installed scientific-0.3.4.9 Building network-uri-2.6.1.0... Building system-uuid-2.1.1... Configuring json-0.9.1... Installed network-uri-2.6.1.0 Installed system-uuid-2.1.1 Configuring asn1-parse-0.9.4... Building json-0.9.1... Building asn1-parse-0.9.4... Configuring crypto-pubkey-types-0.4.3... Installed asn1-parse-0.9.4 Building crypto-pubkey-types-0.4.3... Configuring SimpleAES-0.4.2... Installed json-0.9.1 Building SimpleAES-0.4.2... Configuring lifted-base-0.2.3.8... Installed crypto-pubkey-types-0.4.3 Building lifted-base-0.2.3.8... Configuring cryptohash-cryptoapi-0.1.4... Installed SimpleAES-0.4.2 Building cryptohash-cryptoapi-0.1.4... Configuring pureMD5-2.1.3... Installed lifted-base-0.2.3.8 Building pureMD5-2.1.3... Configuring blaze-html-0.8.1.3... Installed cryptohash-cryptoapi-0.1.4 Building blaze-html-0.8.1.3... Configuring http-types-0.9.1... Installed pureMD5-2.1.3 Building http-types-0.9.1... Configuring attoparsec-0.13.1.0... Installed http-types-0.9.1 Building attoparsec-0.13.1.0... Configuring HTTP-4000.3.3... Installed attoparsec-0.13.1.0 Building HTTP-4000.3.3... Installed blaze-html-0.8.1.3 Configuring x509-1.6.5... Building x509-1.6.5... Configuring enclosed-exceptions-1.0.2... Installed x509-1.6.5 Building enclosed-exceptions-1.0.2... Configuring resourcet-1.1.8.1... Installed HTTP-4000.3.3 Building resourcet-1.1.8.1... Installed enclosed-exceptions-1.0.2 Configuring RSA-2.1.0.3... Building RSA-2.1.0.3... Configuring http-client-0.5.4... Installed resourcet-1.1.8.1 Configuring aeson-1.0.2.1... Installed RSA-2.1.0.3 Building http-client-0.5.4... Building aeson-1.0.2.1... Configuring io-streams-1.3.5.0... Installed http-client-0.5.4 Building io-streams-1.3.5.0... Installed io-streams-1.3.5.0 Configuring highlighting-kate-0.6.3... Building highlighting-kate-0.6.3... Installed aeson-1.0.2.1 Configuring x509-store-1.6.2... Building x509-store-1.6.2... Installed x509-store-1.6.2 Configuring CouchDB-1.2.2... Building CouchDB-1.2.2... Installed CouchDB-1.2.2 Configuring conduit-1.2.8... Building conduit-1.2.8... Configuring ssh-0.3.2... Installed conduit-1.2.8 Building ssh-0.3.2... Installed ssh-0.3.2 Configuring io-streams-haproxy-1.0.0.1... Building io-streams-haproxy-1.0.0.1... Configuring snap-core-1.0.1.0... Installed io-streams-haproxy-1.0.0.1 Building snap-core-1.0.1.0... Configuring doctemplates-0.1.0.2... Installed snap-core-1.0.1.0 Building doctemplates-0.1.0.2... Configuring pandoc-types-1.17.0.4... Installed doctemplates-0.1.0.2 Building pandoc-types-1.17.0.4... Installed pandoc-types-1.17.0.4 Configuring x509-system-1.6.4... Building x509-system-1.6.4... Configuring x509-validation-1.6.5... Installed x509-system-1.6.4 Building x509-validation-1.6.5... Installed x509-validation-1.6.5 Configuring yaml-0.8.21.1... Building yaml-0.8.21.1... Installed yaml-0.8.21.1 Configuring snap-server-1.0.1.1... Building snap-server-1.0.1.1... Configuring texmath-0.9... Installed snap-server-1.0.1.1 Building texmath-0.9... Configuring tls-1.3.8... Installed highlighting-kate-0.6.3 Building tls-1.3.8... Installed tls-1.3.8 Configuring connection-0.2.6... Building connection-0.2.6... Installed connection-0.2.6 Configuring http-client-tls-0.3.3... Building http-client-tls-0.3.3... Installed http-client-tls-0.3.3 Installed texmath-0.9 Configuring pandoc-1.19... Building pandoc-1.19... Installed pandoc-1.19 cabal: Error: some packages failed to install: darcs-2.4.4 failed during the configure step. The exception was: user error ('/opt/ghc/8.0.2/bin/ghc' exited with an error: /tmp/cabal-tmp-2946/darcs-2.4.4/Distribution/ShellHarness.hs:13:1: error: Failed to load interface for ‘System’ Use -v to see a list of the files searched for. /tmp/cabal-tmp-2946/darcs-2.4.4/Distribution/ShellHarness.hs:21:1: error: Failed to load interface for ‘Control.OldException’ Perhaps you meant Control.Exception (from base-4.9.0.0) Use -v to see a list of the files searched for. ) darcsden-0.4 depends on darcs-2.4.4 which failed to install. hashed-storage-0.5.11 failed during the building phase. The exception was: ExitFailure 1