Resolving dependencies... Configuring ansi-terminal-0.6.2.3... Configuring mtl-2.2.1... Building mtl-2.2.1... Building ansi-terminal-0.6.2.3... Installed ansi-terminal-0.6.2.3 Configuring tar-0.5.0.3... Building tar-0.5.0.3... Configuring utf8-string-1.0.1.1... Installed mtl-2.2.1 Building utf8-string-1.0.1.1... Configuring ansi-wl-pprint-0.6.7.3... Installed utf8-string-1.0.1.1 Building ansi-wl-pprint-0.6.7.3... Configuring transformers-compat-0.5.1.4... Installed tar-0.5.0.3 Building transformers-compat-0.5.1.4... Installed ansi-wl-pprint-0.6.7.3 Installed transformers-compat-0.5.1.4 Configuring optparse-applicative-0.13.0.0... Building optparse-applicative-0.13.0.0... Installed optparse-applicative-0.13.0.0 Downloading cabal-db-0.1.9... Configuring cabal-db-0.1.9... Building cabal-db-0.1.9... Failed to install cabal-db-0.1.9 Build log ( /home/builder/.cabal/logs/cabal-db-0.1.9.log ): cabal: Entering directory '/tmp/cabal-tmp-9906/cabal-db-0.1.9' Configuring cabal-db-0.1.9... Building cabal-db-0.1.9... Preprocessing executable 'cabal-db' for cabal-db-0.1.9... [1 of 4] Compiling Paths_cabal_db ( dist/build/autogen/Paths_cabal_db.hs, dist/build/cabal-db/cabal-db-tmp/Paths_cabal_db.o ) [2 of 4] Compiling Options ( Src/Options.hs, dist/build/cabal-db/cabal-db-tmp/Options.o ) Src/Options.hs:46:5: error: • Variable not in scope: (<>) :: Mod CommandFields Command -> Mod CommandFields Command -> t9 • Perhaps you meant one of these: ‘<*>’ (imported from Options.Applicative), ‘*>’ (imported from Options.Applicative), ‘>>’ (imported from Prelude) Src/Options.hs:47:5: error: • Variable not in scope: (<>) :: t9 -> Mod CommandFields Command -> t8 • Perhaps you meant one of these: ‘<*>’ (imported from Options.Applicative), ‘*>’ (imported from Options.Applicative), ‘>>’ (imported from Prelude) Src/Options.hs:48:5: error: • Variable not in scope: (<>) :: t8 -> Mod CommandFields Command -> t7 • Perhaps you meant one of these: ‘<*>’ (imported from Options.Applicative), ‘*>’ (imported from Options.Applicative), ‘>>’ (imported from Prelude) Src/Options.hs:49:5: error: • Variable not in scope: (<>) :: t7 -> Mod CommandFields Command -> t6 • Perhaps you meant one of these: ‘<*>’ (imported from Options.Applicative), ‘*>’ (imported from Options.Applicative), ‘>>’ (imported from Prelude) Src/Options.hs:50:5: error: • Variable not in scope: (<>) :: t6 -> Mod CommandFields Command -> t5 • Perhaps you meant one of these: ‘<*>’ (imported from Options.Applicative), ‘*>’ (imported from Options.Applicative), ‘>>’ (imported from Prelude) Src/Options.hs:51:5: error: • Variable not in scope: (<>) :: t5 -> Mod CommandFields Command -> t4 • Perhaps you meant one of these: ‘<*>’ (imported from Options.Applicative), ‘*>’ (imported from Options.Applicative), ‘>>’ (imported from Prelude) Src/Options.hs:52:5: error: • Variable not in scope: (<>) :: t4 -> Mod CommandFields Command -> Mod CommandFields a • Perhaps you meant one of these: ‘<*>’ (imported from Options.Applicative), ‘*>’ (imported from Options.Applicative), ‘>>’ (imported from Prelude) Src/Options.hs:55:50: error: • Variable not in scope: (<>) :: Mod f9 a14 -> Mod f8 a13 -> t3 • Perhaps you meant one of these: ‘<*>’ (imported from Options.Applicative), ‘*>’ (imported from Options.Applicative), ‘>>’ (imported from Prelude) Src/Options.hs:55:63: error: • Variable not in scope: (<>) :: t3 -> Mod f7 a12 -> t2 • Perhaps you meant one of these: ‘<*>’ (imported from Options.Applicative), ‘*>’ (imported from Options.Applicative), ‘>>’ (imported from Prelude) Src/Options.hs:55:84: error: • Variable not in scope: (<>) :: t2 -> Mod f6 a11 -> Mod OptionFields String • Perhaps you meant one of these: ‘<*>’ (imported from Options.Applicative), ‘*>’ (imported from Options.Applicative), ‘>>’ (imported from Prelude) Src/Options.hs:56:50: error: • Variable not in scope: (<>) :: Mod f11 a16 -> Mod f10 a15 -> Mod FlagFields Bool • Perhaps you meant one of these: ‘<*>’ (imported from Options.Applicative), ‘*>’ (imported from Options.Applicative), ‘>>’ (imported from Prelude) Src/Options.hs:59:30: error: • Couldn't match expected type ‘ReadM String’ with actual type ‘a8 -> Maybe a8’ • Probable cause: ‘Just’ is applied to too few arguments In the first argument of ‘argument’, namely ‘Just’ In the second argument of ‘(<$>)’, namely ‘argument Just (metavar "")’ In the first argument of ‘(<*>)’, namely ‘CmdDiff <$> argument Just (metavar "")’ Src/Options.hs:60:30: error: • Couldn't match expected type ‘ReadM String’ with actual type ‘a9 -> Maybe a9’ • Probable cause: ‘Just’ is applied to too few arguments In the first argument of ‘argument’, namely ‘Just’ In the second argument of ‘(<*>)’, namely ‘argument Just (metavar "")’ In the first argument of ‘(<*>)’, namely ‘CmdDiff <$> argument Just (metavar "") <*> argument Just (metavar "")’ Src/Options.hs:61:30: error: • Couldn't match expected type ‘ReadM String’ with actual type ‘a10 -> Maybe a10’ • Probable cause: ‘Just’ is applied to too few arguments In the first argument of ‘argument’, namely ‘Just’ In the second argument of ‘(<*>)’, namely ‘argument Just (metavar "")’ In the expression: CmdDiff <$> argument Just (metavar "") <*> argument Just (metavar "") <*> argument Just (metavar "") Src/Options.hs:67:36: error: • Couldn't match expected type ‘ReadM String’ with actual type ‘a7 -> Maybe a7’ • Probable cause: ‘Just’ is applied to too few arguments In the first argument of ‘argument’, namely ‘Just’ In the first argument of ‘many’, namely ‘(argument Just (metavar ""))’ In the second argument of ‘(<$>)’, namely ‘many (argument Just (metavar ""))’ Src/Options.hs:69:39: error: • Variable not in scope: (<>) :: Mod f2 a3 -> Mod f1 a2 -> t0 • Perhaps you meant one of these: ‘<*>’ (imported from Options.Applicative), ‘*>’ (imported from Options.Applicative), ‘>>’ (imported from Prelude) Src/Options.hs:69:54: error: • Variable not in scope: (<>) :: t0 -> Mod f0 a1 -> Mod FlagFields Bool • Perhaps you meant one of these: ‘<*>’ (imported from Options.Applicative), ‘*>’ (imported from Options.Applicative), ‘>>’ (imported from Prelude) Src/Options.hs:70:39: error: • Variable not in scope: (<>) :: Mod f5 a6 -> Mod f4 a5 -> t1 • Perhaps you meant one of these: ‘<*>’ (imported from Options.Applicative), ‘*>’ (imported from Options.Applicative), ‘>>’ (imported from Prelude) Src/Options.hs:70:57: error: • Variable not in scope: (<>) :: t1 -> Mod f3 a4 -> Mod FlagFields Bool • Perhaps you meant one of these: ‘<*>’ (imported from Options.Applicative), ‘*>’ (imported from Options.Applicative), ‘>>’ (imported from Prelude) Src/Options.hs:74:35: error: • Couldn't match expected type ‘ReadM a19’ with actual type ‘a0 -> Maybe a0’ • Probable cause: ‘Just’ is applied to too few arguments In the first argument of ‘argument’, namely ‘Just’ In the first argument of ‘some’, namely ‘(argument Just (metavar ""))’ In the expression: some (argument Just (metavar "")) • Relevant bindings include packages :: Parser [a19] (bound at Src/Options.hs:74:9) Src/Options.hs:78:51: error: • Variable not in scope: (<>) :: Mod f13 a18 -> Mod f12 a17 -> Mod OptionFields (a -> a) • Perhaps you meant one of these: ‘<*>’ (imported from Options.Applicative), ‘*>’ (imported from Options.Applicative), ‘>>’ (imported from Prelude) cabal: Leaving directory '/tmp/cabal-tmp-9906/cabal-db-0.1.9' cabal: Error: some packages failed to install: cabal-db-0.1.9 failed during the building phase. The exception was: ExitFailure 1