Resolving dependencies... Configuring ansi-terminal-0.6.2.3... Configuring base-orphans-0.5.4... Building ansi-terminal-0.6.2.3... Building base-orphans-0.5.4... Installed base-orphans-0.5.4 Configuring cereal-0.5.4.0... Building cereal-0.5.4.0... Configuring data-binary-ieee754-0.4.4... Installed ansi-terminal-0.6.2.3 Building data-binary-ieee754-0.4.4... Configuring monad-loops-0.4.3... Installed data-binary-ieee754-0.4.4 Building monad-loops-0.4.3... Configuring mtl-2.2.1... Installed cereal-0.5.4.0 Configuring memory-0.13... Installed monad-loops-0.4.3 Building mtl-2.2.1... Building memory-0.13... Configuring network-info-0.2.0.8... Installed mtl-2.2.1 Building network-info-0.2.0.8... Configuring network-2.6.3.1... Installed network-info-0.2.0.8 Configuring old-locale-1.0.0.7... Installed memory-0.13 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... Building network-2.6.3.1... Configuring random-1.1... Installed split-0.2.3.1 Building random-1.1... Configuring primitive-0.6.1.0... Installed random-1.1 Building primitive-0.6.1.0... Configuring stm-2.4.4.1... Installed network-2.6.3.1 Building stm-2.4.4.1... Configuring text-1.2.2.1... Installed primitive-0.6.1.0 Building text-1.2.2.1... Configuring transformers-compat-0.5.1.4... Installed stm-2.4.4.1 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... Installed unix-compat-0.4.3.1 Configuring ansi-wl-pprint-0.6.7.3... Building ansi-wl-pprint-0.6.7.3... Configuring regex-base-0.93.2... Installed ansi-wl-pprint-0.6.7.3 Building regex-base-0.93.2... Configuring boxes-0.1.4... Installed regex-base-0.93.2 Building boxes-0.1.4... Configuring cryptonite-0.20... Installed boxes-0.1.4 Building cryptonite-0.20... Configuring socks-0.5.5... Installed text-1.2.2.1 Building socks-0.5.5... Configuring exceptions-0.8.3... Installed socks-0.5.5 Building exceptions-0.8.3... Configuring vector-0.11.0.0... Installed exceptions-0.8.3 Building vector-0.11.0.0... Installed cryptonite-0.20 Configuring optparse-applicative-0.13.0.0... Building optparse-applicative-0.13.0.0... Configuring regex-pcre-builtin-0.94.4.8.8.35... Installed vector-0.11.0.0 Building regex-pcre-builtin-0.94.4.8.8.35... Configuring hashable-1.2.4.0... Installed optparse-applicative-0.13.0.0 Building hashable-1.2.4.0... Configuring blaze-builder-0.4.0.2... Installed hashable-1.2.4.0 Building blaze-builder-0.4.0.2... Configuring parsec-3.1.11... Installed regex-pcre-builtin-0.94.4.8.8.35 Installed blaze-builder-0.4.0.2 Configuring scientific-0.3.4.9... Building parsec-3.1.11... Building scientific-0.3.4.9... Configuring unordered-containers-0.2.7.1... Installed scientific-0.3.4.9 Building unordered-containers-0.2.7.1... Installed parsec-3.1.11 Configuring uuid-types-1.0.3... Building uuid-types-1.0.3... Installed uuid-types-1.0.3 Configuring blaze-markup-0.7.1.1... Building blaze-markup-0.7.1.1... Configuring attoparsec-0.13.1.0... Installed unordered-containers-0.2.7.1 Configuring uuid-1.3.12... Installed blaze-markup-0.7.1.1 Building attoparsec-0.13.1.0... Building uuid-1.3.12... Installed uuid-1.3.12 Configuring protobuf-0.2.1.1... Building protobuf-0.2.1.1... Configuring blaze-html-0.8.1.3... Installed attoparsec-0.13.1.0 Building blaze-html-0.8.1.3... Installed protobuf-0.2.1.1 Configuring configurator-0.3.0.0... Building configurator-0.3.0.0... Installed configurator-0.3.0.0 Installed blaze-html-0.8.1.3 Configuring xmlhtml-0.2.3.5... Building xmlhtml-0.2.3.5... Installed xmlhtml-0.2.3.5 Configuring hadoop-rpc-1.0.0.1... Building hadoop-rpc-1.0.0.1... Installed hadoop-rpc-1.0.0.1 Configuring hadoop-tools-0.4.0.1... Building hadoop-tools-0.4.0.1... Failed to install hadoop-tools-0.4.0.1 Build log ( /home/builder/.cabal/logs/hadoop-tools-0.4.0.1.log ): cabal: Entering directory '/tmp/cabal-tmp-22629/hadoop-tools-0.4.0.1' Configuring hadoop-tools-0.4.0.1... Building hadoop-tools-0.4.0.1... Preprocessing executable 'hh' for hadoop-tools-0.4.0.1... [1 of 3] Compiling Paths_hadoop_tools ( dist/build/autogen/Paths_hadoop_tools.hs, dist/build/hh/hh-tmp/Paths_hadoop_tools.o ) [2 of 3] Compiling Glob ( src/Glob.hs, dist/build/hh/hh-tmp/Glob.o ) src/Glob.hs:50:12: error: • Ambiguous type variable ‘t0’ arising from a use of ‘elem’ prevents the constraint ‘(Foldable t0)’ from being solved. Relevant bindings include regexChars :: t0 Char (bound at src/Glob.hs:52:11) Probable fix: use a type annotation to specify what ‘t0’ should be. These potential instances exist: instance Foldable (Either a) -- Defined in ‘Data.Foldable’ instance Foldable Maybe -- Defined in ‘Data.Foldable’ instance Foldable ((,) a) -- Defined in ‘Data.Foldable’ ...plus one other ...plus 24 instances involving out-of-scope types (use -fprint-potential-instances to see them all) • In the expression: c `elem` regexChars In a stmt of a pattern guard for an equation for ‘escape’: c `elem` regexChars In an equation for ‘escape’: escape c | c `elem` regexChars = '\\' : [c] | otherwise = [c] where regexChars = "\\+()^$.{}]|" src/Glob.hs:52:24: error: • Ambiguous type variable ‘t0’ arising from the literal ‘"\\+()^$.{}]|"’ prevents the constraint ‘(Data.String.IsString (t0 Char))’ from being solved. Relevant bindings include regexChars :: t0 Char (bound at src/Glob.hs:52:11) Probable fix: use a type annotation to specify what ‘t0’ should be. These potential instances exist: instance a ~ Char => Data.String.IsString [a] -- Defined in ‘Data.String’ ...plus one instance involving out-of-scope types (use -fprint-potential-instances to see them all) • In the expression: "\\+()^$.{}]|" In an equation for ‘regexChars’: regexChars = "\\+()^$.{}]|" In an equation for ‘escape’: escape c | c `elem` regexChars = '\\' : [c] | otherwise = [c] where regexChars = "\\+()^$.{}]|" cabal: Leaving directory '/tmp/cabal-tmp-22629/hadoop-tools-0.4.0.1' cabal: Error: some packages failed to install: hadoop-tools-0.4.0.1 failed during the building phase. The exception was: ExitFailure 1