Resolving dependencies... Configuring cereal-0.5.4.0... Configuring base-orphans-0.5.4... Building cereal-0.5.4.0... Building base-orphans-0.5.4... Installed base-orphans-0.5.4 Configuring entropy-0.3.7... Configuring mtl-2.2.1... Installed cereal-0.5.4.0 Building entropy-0.3.7... Building mtl-2.2.1... Configuring old-locale-1.0.0.7... Installed entropy-0.3.7 Building old-locale-1.0.0.7... Configuring network-2.6.3.1... Installed old-locale-1.0.0.7 Configuring prelude-extras-0.4.0.3... Installed mtl-2.2.1 Building prelude-extras-0.4.0.3... Building network-2.6.3.1... Configuring primitive-0.6.1.0... Installed prelude-extras-0.4.0.3 Building primitive-0.6.1.0... 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 Building semigroups-0.18.2... Configuring stm-2.4.4.1... Installed semigroups-0.18.2 Building stm-2.4.4.1... Configuring transformers-compat-0.5.1.4... Installed random-1.1 Building transformers-compat-0.5.1.4... Configuring text-1.2.2.1... Installed transformers-compat-0.5.1.4 Installed stm-2.4.4.1 Configuring mmorph-1.0.9... Building text-1.2.2.1... Building mmorph-1.0.9... Configuring vector-0.11.0.0... Installed mmorph-1.0.9 Building vector-0.11.0.0... Configuring tagged-0.8.5... Installed text-1.2.2.1 Building tagged-0.8.5... Configuring exceptions-0.8.3... Installed tagged-0.8.5 Building exceptions-0.8.3... Configuring StateVar-1.1.0.4... Installed exceptions-0.8.3 Building StateVar-1.1.0.4... Configuring transformers-base-0.4.4... Installed StateVar-1.1.0.4 Building transformers-base-0.4.4... Configuring stm-chans-3.0.0.4... Installed vector-0.11.0.0 Installed transformers-base-0.4.4 Configuring pipes-4.2.0... Building pipes-4.2.0... Building stm-chans-3.0.0.4... Configuring hashable-1.2.4.0... Installed stm-chans-3.0.0.4 Configuring crypto-api-0.13.2... Installed pipes-4.2.0 Building hashable-1.2.4.0... Building crypto-api-0.13.2... Configuring parsec-3.1.11... Installed hashable-1.2.4.0 Building parsec-3.1.11... Configuring distributive-0.5.0.2... Installed crypto-api-0.13.2 Building distributive-0.5.0.2... Configuring network-simple-0.4.0.5... Installed parsec-3.1.11 Building network-simple-0.4.0.5... Configuring monad-control-1.0.1.0... Installed distributive-0.5.0.2 Building monad-control-1.0.1.0... Installed network-simple-0.4.0.5 Configuring pipes-parse-3.0.8... Building pipes-parse-3.0.8... Configuring unordered-containers-0.2.7.1... Installed monad-control-1.0.1.0 Configuring case-insensitive-1.2.0.7... Installed pipes-parse-3.0.8 Building unordered-containers-0.2.7.1... Building case-insensitive-1.2.0.7... Configuring void-0.7.1... Installed case-insensitive-1.2.0.7 Building void-0.7.1... Configuring pureMD5-2.1.3... Installed void-0.7.1 Building pureMD5-2.1.3... Installed unordered-containers-0.2.7.1 Configuring pipes-safe-2.2.4... Configuring contravariant-1.4... Installed pureMD5-2.1.3 Building pipes-safe-2.2.4... Building contravariant-1.4... Installed pipes-safe-2.2.4 Configuring pipes-network-0.6.4.1... Building pipes-network-0.6.4.1... Installed contravariant-1.4 Configuring comonad-5... Configuring pipes-concurrency-2.0.7... Installed pipes-network-0.6.4.1 Building pipes-concurrency-2.0.7... Building comonad-5... Installed pipes-concurrency-2.0.7 Installed comonad-5 Configuring bifunctors-5.4.1... Building bifunctors-5.4.1... Installed bifunctors-5.4.1 Configuring profunctors-5.2... Configuring semigroupoids-5.1... Building profunctors-5.2... Building semigroupoids-5.1... Installed profunctors-5.2 Installed semigroupoids-5.1 Configuring free-4.12.4... Building free-4.12.4... Installed free-4.12.4 Configuring pipes-group-1.0.6... Building pipes-group-1.0.6... Installed pipes-group-1.0.6 Configuring pipes-bytestring-2.1.4... Building pipes-bytestring-2.1.4... Installed pipes-bytestring-2.1.4 Configuring EtaMOO-0.2.0.0... Building EtaMOO-0.2.0.0... Failed to install EtaMOO-0.2.0.0 Build log ( /home/builder/.cabal/logs/EtaMOO-0.2.0.0.log ): cabal: Entering directory '/tmp/cabal-tmp-24585/EtaMOO-0.2.0.0' Configuring EtaMOO-0.2.0.0... Building EtaMOO-0.2.0.0... Preprocessing executable 'etamoo' for EtaMOO-0.2.0.0... [ 1 of 37] Compiling Paths_EtaMOO ( dist/build/autogen/Paths_EtaMOO.hs, dist/build/etamoo/etamoo-tmp/Paths_EtaMOO.o ) [ 2 of 37] Compiling MOO.Version ( src/MOO/Version.hs, dist/build/etamoo/etamoo-tmp/MOO/Version.o ) [ 3 of 37] Compiling MOO.Verb[boot] ( src/MOO/Verb.hs-boot, dist/build/etamoo/etamoo-tmp/MOO/Verb.o-boot ) [ 4 of 37] Compiling MOO.Command[boot] ( src/MOO/Command.hs-boot, dist/build/etamoo/etamoo-tmp/MOO/Command.o-boot ) [ 5 of 37] Compiling MOO.Builtins.Match ( dist/build/etamoo/etamoo-tmp/MOO/Builtins/Match.hs, dist/build/etamoo/etamoo-tmp/MOO/Builtins/Match.o ) src/MOO/Builtins/Match.hsc:99:9: error: • Ambiguous type variable ‘t0’ arising from a use of ‘elem’ prevents the constraint ‘(Foldable t0)’ from being solved. 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 43 instances involving out-of-scope types (use -fprint-potential-instances to see them all) • In the expression: c `elem` "\\|(){" In a stmt of a pattern guard for an equation for ‘rewrite'’: c `elem` "\\|(){" In an equation for ‘rewrite'’: rewrite' StateBase (c : cs) | c `elem` "\\|(){" = "\\" : [c] : rewrite' StateBase cs | otherwise = [c] : rewrite' StateBase cs src/MOO/Builtins/Match.hsc:99:18: error: • Ambiguous type variable ‘t0’ arising from the literal ‘"\\|(){"’ prevents the constraint ‘(Data.String.IsString (t0 Char))’ from being solved. 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 three instances involving out-of-scope types (use -fprint-potential-instances to see them all) • In the second argument of ‘elem’, namely ‘"\\|(){"’ In the expression: c `elem` "\\|(){" In a stmt of a pattern guard for an equation for ‘rewrite'’: c `elem` "\\|(){" src/MOO/Builtins/Match.hsc:104:9: error: • Ambiguous type variable ‘t1’ arising from a use of ‘elem’ prevents the constraint ‘(Foldable t1)’ from being solved. Probable fix: use a type annotation to specify what ‘t1’ 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 43 instances involving out-of-scope types (use -fprint-potential-instances to see them all) • In the expression: c `elem` "\\[" In a stmt of a pattern guard for an equation for ‘rewrite'’: c `elem` "\\[" In an equation for ‘rewrite'’: rewrite' StateCsetInit (c : cs) | c `elem` "\\[" = "\\" : [c] : rewrite' StateCset cs | otherwise = [c] : rewrite' StateCset cs src/MOO/Builtins/Match.hsc:104:18: error: • Ambiguous type variable ‘t1’ arising from the literal ‘"\\["’ prevents the constraint ‘(Data.String.IsString (t1 Char))’ from being solved. Probable fix: use a type annotation to specify what ‘t1’ should be. These potential instances exist: instance a ~ Char => Data.String.IsString [a] -- Defined in ‘Data.String’ ...plus three instances involving out-of-scope types (use -fprint-potential-instances to see them all) • In the second argument of ‘elem’, namely ‘"\\["’ In the expression: c `elem` "\\[" In a stmt of a pattern guard for an equation for ‘rewrite'’: c `elem` "\\[" src/MOO/Builtins/Match.hsc:108:9: error: • Ambiguous type variable ‘t2’ arising from a use of ‘elem’ prevents the constraint ‘(Foldable t2)’ from being solved. Probable fix: use a type annotation to specify what ‘t2’ 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 43 instances involving out-of-scope types (use -fprint-potential-instances to see them all) • In the expression: c `elem` "\\[" In a stmt of a pattern guard for an equation for ‘rewrite'’: c `elem` "\\[" In an equation for ‘rewrite'’: rewrite' StateCsetInit2 (c : cs) | c `elem` "\\[" = "\\" : [c] : rewrite' StateCset cs | otherwise = [c] : rewrite' StateCset cs src/MOO/Builtins/Match.hsc:108:18: error: • Ambiguous type variable ‘t2’ arising from the literal ‘"\\["’ prevents the constraint ‘(Data.String.IsString (t2 Char))’ from being solved. Probable fix: use a type annotation to specify what ‘t2’ should be. These potential instances exist: instance a ~ Char => Data.String.IsString [a] -- Defined in ‘Data.String’ ...plus three instances involving out-of-scope types (use -fprint-potential-instances to see them all) • In the second argument of ‘elem’, namely ‘"\\["’ In the expression: c `elem` "\\[" In a stmt of a pattern guard for an equation for ‘rewrite'’: c `elem` "\\[" src/MOO/Builtins/Match.hsc:113:9: error: • Ambiguous type variable ‘t3’ arising from a use of ‘elem’ prevents the constraint ‘(Foldable t3)’ from being solved. Probable fix: use a type annotation to specify what ‘t3’ 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 43 instances involving out-of-scope types (use -fprint-potential-instances to see them all) • In the expression: c `elem` "\\[" In a stmt of a pattern guard for an equation for ‘rewrite'’: c `elem` "\\[" In an equation for ‘rewrite'’: rewrite' StateCset (c : cs) | c `elem` "\\[" = "\\" : [c] : rewrite' StateCset cs | otherwise = [c] : rewrite' StateCset cs src/MOO/Builtins/Match.hsc:113:18: error: • Ambiguous type variable ‘t3’ arising from the literal ‘"\\["’ prevents the constraint ‘(Data.String.IsString (t3 Char))’ from being solved. Probable fix: use a type annotation to specify what ‘t3’ should be. These potential instances exist: instance a ~ Char => Data.String.IsString [a] -- Defined in ‘Data.String’ ...plus three instances involving out-of-scope types (use -fprint-potential-instances to see them all) • In the second argument of ‘elem’, namely ‘"\\["’ In the expression: c `elem` "\\[" In a stmt of a pattern guard for an equation for ‘rewrite'’: c `elem` "\\[" src/MOO/Builtins/Match.hsc:130:9: error: • Ambiguous type variable ‘t4’ arising from a use of ‘elem’ prevents the constraint ‘(Foldable t4)’ from being solved. Probable fix: use a type annotation to specify what ‘t4’ 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 43 instances involving out-of-scope types (use -fprint-potential-instances to see them all) • In the expression: c `elem` "\\^$.[?*+{" In a stmt of a pattern guard for an equation for ‘rewrite'’: c `elem` "\\^$.[?*+{" In an equation for ‘rewrite'’: rewrite' StateEsc (c : cs) | c `elem` ['1' .. '9'] = "\\" : [c] : "(?#)" : rewrite' StateBase cs | c `elem` "\\^$.[?*+{" = "\\" : [c] : rewrite' StateBase cs | otherwise = [c] : rewrite' StateBase cs src/MOO/Builtins/Match.hsc:130:18: error: • Ambiguous type variable ‘t4’ arising from the literal ‘"\\^$.[?*+{"’ prevents the constraint ‘(Data.String.IsString (t4 Char))’ from being solved. Probable fix: use a type annotation to specify what ‘t4’ should be. These potential instances exist: instance a ~ Char => Data.String.IsString [a] -- Defined in ‘Data.String’ ...plus three instances involving out-of-scope types (use -fprint-potential-instances to see them all) • In the second argument of ‘elem’, namely ‘"\\^$.[?*+{"’ In the expression: c `elem` "\\^$.[?*+{" In a stmt of a pattern guard for an equation for ‘rewrite'’: c `elem` "\\^$.[?*+{" cabal: Leaving directory '/tmp/cabal-tmp-24585/EtaMOO-0.2.0.0' cabal: Error: some packages failed to install: EtaMOO-0.2.0.0 failed during the building phase. The exception was: ExitFailure 1