Resolving dependencies... Configuring filepath-1.3.0.1... Configuring mtl-2.2.1... Building filepath-1.3.0.1... Building mtl-2.2.1... Installed filepath-1.3.0.1 Configuring presburger-0.4... Building presburger-0.4... Configuring text-1.2.2.1... Installed mtl-2.2.1 Building text-1.2.2.1... Installed presburger-0.4 Installed text-1.2.2.1 Configuring parsec-3.1.11... Building parsec-3.1.11... Installed parsec-3.1.11 Configuring IndentParser-0.2.1... Building IndentParser-0.2.1... Installed IndentParser-0.2.1 Configuring inch-0.2.0... Building inch-0.2.0... Failed to install inch-0.2.0 Build log ( /home/builder/.cabal/logs/inch-0.2.0.log ): cabal: Entering directory '/tmp/cabal-tmp-7951/inch-0.2.0' Configuring inch-0.2.0... Building inch-0.2.0... Preprocessing executable 'inch' for inch-0.2.0... [ 1 of 21] Compiling Paths_inch ( dist/build/autogen/Paths_inch.hs, dist/build/inch/inch-tmp/Paths_inch.o ) [ 2 of 21] Compiling Language.Inch.Kit ( src/Language/Inch/Kit.lhs, dist/build/inch/inch-tmp/Language/Inch/Kit.o ) src/Language/Inch/Kit.lhs:6:3: warning: [-Wunused-imports] The import of ‘Control.Applicative’ is redundant except perhaps to import instances from ‘Control.Applicative’ To import instances alone, use: import Control.Applicative() src/Language/Inch/Kit.lhs:7:3: warning: [-Wunused-imports] The import of ‘Data.Foldable’ is redundant except perhaps to import instances from ‘Data.Foldable’ To import instances alone, use: import Data.Foldable() src/Language/Inch/Kit.lhs:9:3: warning: [-Wunused-imports] The import of ‘Data.Monoid’ is redundant except perhaps to import instances from ‘Data.Monoid’ To import instances alone, use: import Data.Monoid() src/Language/Inch/Kit.lhs:10:3: warning: [-Wunused-imports] The import of ‘Data.Traversable’ is redundant except perhaps to import instances from ‘Data.Traversable’ To import instances alone, use: import Data.Traversable() [ 3 of 21] Compiling Language.Inch.BwdFwd ( src/Language/Inch/BwdFwd.lhs, dist/build/inch/inch-tmp/Language/Inch/BwdFwd.o ) src/Language/Inch/BwdFwd.lhs:5:3: warning: [-Wunused-imports] The import of ‘Data.Foldable’ is redundant except perhaps to import instances from ‘Data.Foldable’ To import instances alone, use: import Data.Foldable() src/Language/Inch/BwdFwd.lhs:6:3: warning: [-Wunused-imports] The import of ‘Data.Monoid’ is redundant except perhaps to import instances from ‘Data.Monoid’ To import instances alone, use: import Data.Monoid() [ 4 of 21] Compiling Language.Inch.Kind ( src/Language/Inch/Kind.lhs, dist/build/inch/inch-tmp/Language/Inch/Kind.o ) src/Language/Inch/Kind.lhs:327:3: warning: [-Woverlapping-patterns] Pattern match is redundant In an equation for ‘extRenaming’: extRenaming _ _ _ _ = ... [ 5 of 21] Compiling Language.Inch.Type ( src/Language/Inch/Type.lhs, dist/build/inch/inch-tmp/Language/Inch/Type.o ) src/Language/Inch/Type.lhs:10:3: warning: [-Wunused-imports] The import of ‘Control.Applicative’ is redundant except perhaps to import instances from ‘Control.Applicative’ To import instances alone, use: import Control.Applicative() src/Language/Inch/Type.lhs:13:3: warning: [-Wunused-imports] The import of ‘Data.Traversable’ is redundant except perhaps to import instances from ‘Data.Traversable’ To import instances alone, use: import Data.Traversable() [ 6 of 21] Compiling Language.Inch.Syntax ( src/Language/Inch/Syntax.lhs, dist/build/inch/inch-tmp/Language/Inch/Syntax.o ) src/Language/Inch/Syntax.lhs:61:27: error: Ambiguous occurrence ‘Alt’ It could refer to either ‘Data.Monoid.Alt’, imported from ‘Data.Monoid’ at src/Language/Inch/Syntax.lhs:12:3-33 or ‘Language.Inch.Syntax.Alt’, defined at src/Language/Inch/Syntax.lhs:355:3 src/Language/Inch/Syntax.lhs:71:28: error: Ambiguous occurrence ‘Alt’ It could refer to either ‘Data.Monoid.Alt’, imported from ‘Data.Monoid’ at src/Language/Inch/Syntax.lhs:12:3-33 or ‘Language.Inch.Syntax.Alt’, defined at src/Language/Inch/Syntax.lhs:355:3 src/Language/Inch/Syntax.lhs:269:31: error: Ambiguous occurrence ‘Alt’ It could refer to either ‘Data.Monoid.Alt’, imported from ‘Data.Monoid’ at src/Language/Inch/Syntax.lhs:12:3-33 or ‘Language.Inch.Syntax.Alt’, defined at src/Language/Inch/Syntax.lhs:355:3 src/Language/Inch/Syntax.lhs:356:45: error: Ambiguous occurrence ‘Alt’ It could refer to either ‘Data.Monoid.Alt’, imported from ‘Data.Monoid’ at src/Language/Inch/Syntax.lhs:12:3-33 or ‘Language.Inch.Syntax.Alt’, defined at src/Language/Inch/Syntax.lhs:355:3 src/Language/Inch/Syntax.lhs:358:27: error: Ambiguous occurrence ‘Alt’ It could refer to either ‘Data.Monoid.Alt’, imported from ‘Data.Monoid’ at src/Language/Inch/Syntax.lhs:12:3-33 or ‘Language.Inch.Syntax.Alt’, defined at src/Language/Inch/Syntax.lhs:355:3 src/Language/Inch/Syntax.lhs:359:27: error: Ambiguous occurrence ‘Alt’ It could refer to either ‘Data.Monoid.Alt’, imported from ‘Data.Monoid’ at src/Language/Inch/Syntax.lhs:12:3-33 or ‘Language.Inch.Syntax.Alt’, defined at src/Language/Inch/Syntax.lhs:355:3 src/Language/Inch/Syntax.lhs:361:16: error: Ambiguous occurrence ‘Alt’ It could refer to either ‘Data.Monoid.Alt’, imported from ‘Data.Monoid’ at src/Language/Inch/Syntax.lhs:12:3-33 or ‘Language.Inch.Syntax.Alt’, defined at src/Language/Inch/Syntax.lhs:355:3 src/Language/Inch/Syntax.lhs:362:7: error: Ambiguous occurrence ‘Alt’ It could refer to either ‘Data.Monoid.Alt’, imported from ‘Data.Monoid’ at src/Language/Inch/Syntax.lhs:12:3-33 or ‘Language.Inch.Syntax.Alt’, defined at src/Language/Inch/Syntax.lhs:356:7 src/Language/Inch/Syntax.lhs:362:22: error: Ambiguous occurrence ‘Alt’ It could refer to either ‘Data.Monoid.Alt’, imported from ‘Data.Monoid’ at src/Language/Inch/Syntax.lhs:12:3-33 or ‘Language.Inch.Syntax.Alt’, defined at src/Language/Inch/Syntax.lhs:356:7 src/Language/Inch/Syntax.lhs:365:23: error: Ambiguous occurrence ‘Alt’ It could refer to either ‘Data.Monoid.Alt’, imported from ‘Data.Monoid’ at src/Language/Inch/Syntax.lhs:12:3-33 or ‘Language.Inch.Syntax.Alt’, defined at src/Language/Inch/Syntax.lhs:355:3 src/Language/Inch/Syntax.lhs:366:21: error: Ambiguous occurrence ‘Alt’ It could refer to either ‘Data.Monoid.Alt’, imported from ‘Data.Monoid’ at src/Language/Inch/Syntax.lhs:12:3-33 or ‘Language.Inch.Syntax.Alt’, defined at src/Language/Inch/Syntax.lhs:356:7 src/Language/Inch/Syntax.lhs:366:34: error: Ambiguous occurrence ‘Alt’ It could refer to either ‘Data.Monoid.Alt’, imported from ‘Data.Monoid’ at src/Language/Inch/Syntax.lhs:12:3-33 or ‘Language.Inch.Syntax.Alt’, defined at src/Language/Inch/Syntax.lhs:356:7 src/Language/Inch/Syntax.lhs:368:20: error: Ambiguous occurrence ‘Alt’ It could refer to either ‘Data.Monoid.Alt’, imported from ‘Data.Monoid’ at src/Language/Inch/Syntax.lhs:12:3-33 or ‘Language.Inch.Syntax.Alt’, defined at src/Language/Inch/Syntax.lhs:356:7 src/Language/Inch/Syntax.lhs:368:33: error: Ambiguous occurrence ‘Alt’ It could refer to either ‘Data.Monoid.Alt’, imported from ‘Data.Monoid’ at src/Language/Inch/Syntax.lhs:12:3-33 or ‘Language.Inch.Syntax.Alt’, defined at src/Language/Inch/Syntax.lhs:356:7 src/Language/Inch/Syntax.lhs:371:23: error: Ambiguous occurrence ‘Alt’ It could refer to either ‘Data.Monoid.Alt’, imported from ‘Data.Monoid’ at src/Language/Inch/Syntax.lhs:12:3-33 or ‘Language.Inch.Syntax.Alt’, defined at src/Language/Inch/Syntax.lhs:356:7 src/Language/Inch/Syntax.lhs:373:11: error: Ambiguous occurrence ‘Alt’ It could refer to either ‘Data.Monoid.Alt’, imported from ‘Data.Monoid’ at src/Language/Inch/Syntax.lhs:12:3-33 or ‘Language.Inch.Syntax.Alt’, defined at src/Language/Inch/Syntax.lhs:356:7 src/Language/Inch/Syntax.lhs:375:25: error: Ambiguous occurrence ‘Alt’ It could refer to either ‘Data.Monoid.Alt’, imported from ‘Data.Monoid’ at src/Language/Inch/Syntax.lhs:12:3-33 or ‘Language.Inch.Syntax.Alt’, defined at src/Language/Inch/Syntax.lhs:355:3 src/Language/Inch/Syntax.lhs:376:20: error: Ambiguous occurrence ‘Alt’ It could refer to either ‘Data.Monoid.Alt’, imported from ‘Data.Monoid’ at src/Language/Inch/Syntax.lhs:12:3-33 or ‘Language.Inch.Syntax.Alt’, defined at src/Language/Inch/Syntax.lhs:356:7 src/Language/Inch/Syntax.lhs:379:15: error: Ambiguous occurrence ‘Alt’ It could refer to either ‘Data.Monoid.Alt’, imported from ‘Data.Monoid’ at src/Language/Inch/Syntax.lhs:12:3-33 or ‘Language.Inch.Syntax.Alt’, defined at src/Language/Inch/Syntax.lhs:355:3 src/Language/Inch/Syntax.lhs:380:13: error: Ambiguous occurrence ‘Alt’ It could refer to either ‘Data.Monoid.Alt’, imported from ‘Data.Monoid’ at src/Language/Inch/Syntax.lhs:12:3-33 or ‘Language.Inch.Syntax.Alt’, defined at src/Language/Inch/Syntax.lhs:356:7 cabal: Leaving directory '/tmp/cabal-tmp-7951/inch-0.2.0' cabal: Error: some packages failed to install: inch-0.2.0 failed during the building phase. The exception was: ExitFailure 1