Resolving dependencies... Configuring base16-bytestring-0.1.1.6... Configuring byteable-0.1.1... Building base16-bytestring-0.1.1.6... Building byteable-0.1.1... Installed byteable-0.1.1 Configuring colour-2.3.3... Configuring data-ordlist-0.4.7.0... Installed base16-bytestring-0.1.1.6 Building colour-2.3.3... Building data-ordlist-0.4.7.0... Configuring dataenc-0.12... Installed data-ordlist-0.4.7.0 Building dataenc-0.12... Configuring digest-0.0.1.2... Installed dataenc-0.12 Building digest-0.0.1.2... Configuring dlist-0.8.0.2... Installed colour-2.3.3 Building dlist-0.8.0.2... Configuring extensible-exceptions-0.1.1.4... Installed digest-0.0.1.2 Building extensible-exceptions-0.1.1.4... Configuring fgl-5.5.3.0... Installed dlist-0.8.0.2 Configuring foundation-0.0.2... Installed extensible-exceptions-0.1.1.4 Building fgl-5.5.3.0... Building foundation-0.0.2... Configuring html-1.0.1.2... Installed fgl-5.5.3.0 Building html-1.0.1.2... Configuring mmap-0.5.9... Installed html-1.0.1.2 Building mmap-0.5.9... Configuring mtl-2.2.1... Installed mmap-0.5.9 Building mtl-2.2.1... Configuring network-2.6.3.1... Installed mtl-2.2.1 Building network-2.6.3.1... Configuring old-locale-1.0.0.7... Installed network-2.6.3.1 Building old-locale-1.0.0.7... Configuring primitive-0.6.1.0... Installed old-locale-1.0.0.7 Configuring random-1.1... Installed foundation-0.0.2 Building primitive-0.6.1.0... Building random-1.1... Configuring regex-applicative-0.3.3... Installed random-1.1 Building regex-applicative-0.3.3... Configuring stm-2.4.4.1... Installed primitive-0.6.1.0 Building stm-2.4.4.1... Configuring stringsearch-0.3.6.6... Installed regex-applicative-0.3.3 Building stringsearch-0.3.6.6... Configuring tar-0.5.0.3... Installed stm-2.4.4.1 Building tar-0.5.0.3... Configuring text-1.2.2.1... Installed stringsearch-0.3.6.6 Building text-1.2.2.1... Configuring transformers-compat-0.5.1.4... Installed tar-0.5.0.3 Building transformers-compat-0.5.1.4... Configuring unix-compat-0.4.3.1... Installed transformers-compat-0.5.1.4 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 utf8-string-1.0.1.1 Building zlib-0.6.1.2... Installed text-1.2.2.1 Configuring regex-base-0.93.2... Installed zlib-0.6.1.2 Configuring old-time-1.1.0.3... Building regex-base-0.93.2... Building old-time-1.1.0.3... Configuring memory-0.14... Installed regex-base-0.93.2 Building memory-0.14... Configuring async-2.1.1... Installed old-time-1.1.0.3 Building async-2.1.1... Configuring exceptions-0.8.3... Installed async-2.1.1 Building exceptions-0.8.3... Configuring mmorph-1.0.9... Installed memory-0.14 Building mmorph-1.0.9... Configuring vector-0.11.0.0... Installed exceptions-0.8.3 Building vector-0.11.0.0... Configuring transformers-base-0.4.4... Installed mmorph-1.0.9 Building transformers-base-0.4.4... Configuring hashable-1.2.4.0... Installed transformers-base-0.4.4 Building hashable-1.2.4.0... Installed hashable-1.2.4.0 Configuring parsec-3.1.11... Building parsec-3.1.11... Configuring polyparse-1.12... Installed parsec-3.1.11 Building polyparse-1.12... Configuring wl-pprint-text-1.1.0.4... Installed polyparse-1.12 Building wl-pprint-text-1.1.0.4... Installed vector-0.11.0.0 Configuring hashed-storage-0.5.11... Installed wl-pprint-text-1.1.0.4 Configuring zip-archive-0.3.0.5... Building hashed-storage-0.5.11... Building zip-archive-0.3.0.5... Configuring temporary-1.2.0.4... 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-24843/hashed-storage-0.5.11' [1 of 1] Compiling Main ( /tmp/cabal-tmp-24843/hashed-storage-0.5.11/dist/setup/setup.hs, /tmp/cabal-tmp-24843/hashed-storage-0.5.11/dist/setup/Main.o ) Linking /tmp/cabal-tmp-24843/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-24843/hashed-storage-0.5.11' Building temporary-1.2.0.4... Configuring cryptonite-0.21... Installed temporary-1.2.0.4 Configuring monad-control-1.0.1.0... Installed zip-archive-0.3.0.5 Building cryptonite-0.21... Building monad-control-1.0.1.0... Configuring network-uri-2.6.1.0... Installed monad-control-1.0.1.0 Building network-uri-2.6.1.0... Configuring regex-tdfa-1.2.2... Installed network-uri-2.6.1.0 Building regex-tdfa-1.2.2... Configuring scientific-0.3.4.9... Installed regex-tdfa-1.2.2 Building scientific-0.3.4.9... Installed scientific-0.3.4.9 Configuring graphviz-2999.18.1.2... Building graphviz-2999.18.1.2... Configuring lifted-base-0.2.3.8... Installed cryptonite-0.21 Building lifted-base-0.2.3.8... Configuring regex-compat-tdfa-0.95.1.4... Installed lifted-base-0.2.3.8 Building regex-compat-tdfa-0.95.1.4... Configuring HTTP-4000.3.3... Installed regex-compat-tdfa-0.95.1.4 Building HTTP-4000.3.3... Configuring attoparsec-0.13.1.0... Installed HTTP-4000.3.3 Building attoparsec-0.13.1.0... Installed attoparsec-0.13.1.0 Configuring resourcet-1.1.9... Building resourcet-1.1.9... Configuring cryptohash-0.11.9... Installed resourcet-1.1.9 Building cryptohash-0.11.9... Configuring conduit-1.2.8... Installed cryptohash-0.11.9 Building conduit-1.2.8... Installed graphviz-2999.18.1.2 Installed conduit-1.2.8 Configuring sandi-0.4.0... Building sandi-0.4.0... Installed sandi-0.4.0 Configuring darcs-2.12.4... Building darcs-2.12.4... Installed darcs-2.12.4 cabal: Error: some packages failed to install: hashed-storage-0.5.11 failed during the building phase. The exception was: ExitFailure 1 ipatch-0.1.1 depends on hashed-storage-0.5.11 which failed to install.