Resolving dependencies... Configuring attoparsec-0.8.6.1... Configuring darcs-beta-2.4.99.1... Configuring dataenc-0.12... Failed to install darcs-beta-2.4.99.1 Build log ( /home/builder/.cabal/logs/darcs-beta-2.4.99.1.log ): cabal: Entering directory '/tmp/cabal-tmp-21997/darcs-beta-2.4.99.1' cabal: Leaving directory '/tmp/cabal-tmp-21997/darcs-beta-2.4.99.1' Building attoparsec-0.8.6.1... Building dataenc-0.12... Configuring extensible-exceptions-0.1.1.4... Installed dataenc-0.12 Building extensible-exceptions-0.1.1.4... Configuring mmap-0.5.9... Installed attoparsec-0.8.6.1 Building mmap-0.5.9... Configuring mtl-2.2.1... Installed extensible-exceptions-0.1.1.4 Building mtl-2.2.1... Configuring old-locale-1.0.0.7... Installed mmap-0.5.9 Building old-locale-1.0.0.7... Configuring split-0.2.3.1... Installed old-locale-1.0.0.7 Building split-0.2.3.1... Configuring syb-0.6... Installed mtl-2.2.1 Building syb-0.6... Configuring utf8-string-1.0.1.1... Installed split-0.2.3.1 Building utf8-string-1.0.1.1... Configuring zlib-0.6.1.2... Installed syb-0.6 Building zlib-0.6.1.2... Installed utf8-string-1.0.1.1 Configuring old-time-1.1.0.3... Building old-time-1.1.0.3... Configuring cmdlib-0.2.1... Installed zlib-0.6.1.2 Building cmdlib-0.2.1... Configuring hashed-storage-0.5.11... Failed to install cmdlib-0.2.1 Build log ( /home/builder/.cabal/logs/cmdlib-0.2.1.log ): cabal: Entering directory '/tmp/cabal-tmp-21997/cmdlib-0.2.1' Configuring cmdlib-0.2.1... Building cmdlib-0.2.1... Preprocessing library cmdlib-0.2.1... System/Console/CmdLib/Attribute.hs:3:36: warning: -XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS System/Console/CmdLib/Command.hs:2:55: warning: -XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS [1 of 6] Compiling System.Console.CmdLib.Attribute ( System/Console/CmdLib/Attribute.hs, dist/build/System/Console/CmdLib/Attribute.o ) [2 of 6] Compiling System.Console.CmdLib.Flag ( System/Console/CmdLib/Flag.hs, dist/build/System/Console/CmdLib/Flag.o ) System/Console/CmdLib/Flag.hs:49:10: warning: [-Wmissing-methods] • No explicit implementation for ‘flag_attrkey’, ‘flag_attrs’, ‘flag_args’, ‘flag_set’, ‘flag_parse’, ‘flag_value’, ‘flag_type’, and ‘flag_empty’ • In the instance declaration for ‘FlagType ()’ System/Console/CmdLib/Flag.hs:62:3: warning: accepting non-standard pattern guards (use PatternGuards to suppress this message) True <- extra (attr x) System/Console/CmdLib/Flag.hs:63:3: warning: accepting non-standard pattern guards (use PatternGuards to suppress this message) Just _ <- positional (attr x) System/Console/CmdLib/Flag.hs:82:15: warning: accepting non-standard pattern guards (use PatternGuards to suppress this message) BooleanOption <- flag_type x (attr x), NoMerge <- style System/Console/CmdLib/Flag.hs:85:15: warning: accepting non-standard pattern guards (use PatternGuards to suppress this message) BooleanOption <- flag_type x (attr x), MergePrefix <- style System/Console/CmdLib/Flag.hs:96:16: warning: accepting non-standard pattern guards (use PatternGuards to suppress this message) BooleanOption <- flag_type x (attr x) System/Console/CmdLib/Flag.hs:103:27: warning: accepting non-standard pattern guards (use PatternGuards to suppress this message) MergeSuffix <- style [3 of 6] Compiling System.Console.CmdLib.Command ( System/Console/CmdLib/Command.hs, dist/build/System/Console/CmdLib/Command.o ) System/Console/CmdLib/Command.hs:72:17: error: Ambiguous occurrence ‘die’ It could refer to either ‘System.Exit.die’, imported from ‘System.Exit’ at System/Console/CmdLib/Command.hs:15:1-18 or ‘System.Console.CmdLib.Command.die’, defined at System/Console/CmdLib/Command.hs:227:1 System/Console/CmdLib/Command.hs:125:27: error: Ambiguous occurrence ‘die’ It could refer to either ‘System.Exit.die’, imported from ‘System.Exit’ at System/Console/CmdLib/Command.hs:15:1-18 or ‘System.Console.CmdLib.Command.die’, defined at System/Console/CmdLib/Command.hs:227:1 System/Console/CmdLib/Command.hs:206:46: error: Ambiguous occurrence ‘die’ It could refer to either ‘System.Exit.die’, imported from ‘System.Exit’ at System/Console/CmdLib/Command.hs:15:1-18 or ‘System.Console.CmdLib.Command.die’, defined at System/Console/CmdLib/Command.hs:227:1 System/Console/CmdLib/Command.hs:242:41: error: Ambiguous occurrence ‘die’ It could refer to either ‘System.Exit.die’, imported from ‘System.Exit’ at System/Console/CmdLib/Command.hs:15:1-18 or ‘System.Console.CmdLib.Command.die’, defined at System/Console/CmdLib/Command.hs:227:1 cabal: Leaving directory '/tmp/cabal-tmp-21997/cmdlib-0.2.1' Installed old-time-1.1.0.3 Configuring datetime-0.3.1... Building datetime-0.3.1... Installed datetime-0.3.1 Building hashed-storage-0.5.11... 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-21998/hashed-storage-0.5.11' [1 of 1] Compiling Main ( /tmp/cabal-tmp-21998/hashed-storage-0.5.11/dist/setup/setup.hs, /tmp/cabal-tmp-21998/hashed-storage-0.5.11/dist/setup/Main.o ) Linking /tmp/cabal-tmp-21998/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-21998/hashed-storage-0.5.11' cabal: Error: some packages failed to install: cmdlib-0.2.1 failed during the building phase. The exception was: ExitFailure 1 darcs-beta-2.4.99.1 failed during the configure step. The exception was: user error ('/opt/ghc/8.0.2/bin/ghc' exited with an error: /tmp/cabal-tmp-21997/darcs-beta-2.4.99.1/Distribution/ShellHarness.hs:13:1: error: Failed to load interface for ‘System’ Use -v to see a list of the files searched for. ) darcs-fastconvert-0.2 depends on darcs-beta-2.4.99.1 which failed to install. hashed-storage-0.5.11 failed during the building phase. The exception was: ExitFailure 1