Resolving dependencies... Configuring old-locale-1.0.0.7... Configuring text-1.2.2.1... Building old-locale-1.0.0.7... Building text-1.2.2.1... Installed old-locale-1.0.0.7 Configuring old-time-1.1.0.3... Building old-time-1.1.0.3... Installed old-time-1.1.0.3 Installed text-1.2.2.1 Configuring polyparse-1.12... Building polyparse-1.12... Installed polyparse-1.12 Configuring cpphs-1.20.2... Building cpphs-1.20.2... Installed cpphs-1.20.2 Configuring haskell-src-exts-1.19.1... Building haskell-src-exts-1.19.1... Installed haskell-src-exts-1.19.1 Configuring hstidy-0.1... Building hstidy-0.1... Failed to install hstidy-0.1 Build log ( /home/builder/.cabal/logs/hstidy-0.1.log ): cabal: Entering directory '/tmp/cabal-tmp-22970/hstidy-0.1' Warning: hstidy.cabal: Unknown fields: executable (line 21) Fields allowed in this section: main-is, buildable, build-tools, build-depends, cpp-options, cc-options, ld-options, pkgconfig-depends, frameworks, extra-framework-dirs, c-sources, js-sources, default-language, other-languages, default-extensions, other-extensions, extensions, extra-libraries, extra-ghci-libraries, extra-lib-dirs, includes, install-includes, include-dirs, hs-source-dirs, other-modules, ghc-prof-options, ghcjs-prof-options, ghc-shared-options, ghcjs-shared-options, ghc-options, ghcjs-options, jhc-options, hugs-options, nhc98-options Configuring hstidy-0.1... Building hstidy-0.1... Preprocessing executable 'hstidy' for hstidy-0.1... [1 of 1] Compiling Main ( hstidy.hs, dist/build/hstidy/hstidy-tmp/Main.o ) hstidy.hs:64:42: error: Not in scope: type constructor or class ‘HsModule’ Perhaps you meant ‘Module’ (imported from Language.Haskell.Exts.Syntax) hstidy.hs:72:42: error: Not in scope: type constructor or class ‘HsDecl’ Perhaps you meant ‘Decl’ (imported from Language.Haskell.Exts.Syntax) hstidy.hs:81:39: error: Not in scope: type constructor or class ‘HsExp’ hstidy.hs:86:18: error: Not in scope: data constructor ‘HsPatBind’ Perhaps you meant ‘PatBind’ (imported from Language.Haskell.Exts.Syntax) hstidy.hs:86:33: error: Not in scope: data constructor ‘HsUnGuardedRhs’ Perhaps you meant one of these: ‘UnGuardedRhs’ (imported from Language.Haskell.Exts.Syntax), ‘GuardedRhs’ (imported from Language.Haskell.Exts.Syntax) hstidy.hs:90:39: error: Not in scope: type constructor or class ‘HsPat’ hstidy.hs:95:18: error: Not in scope: data constructor ‘HsPatBind’ Perhaps you meant ‘PatBind’ (imported from Language.Haskell.Exts.Syntax) hstidy.hs:99:16: error: Not in scope: type constructor or class ‘HsModule’ Perhaps you meant ‘Module’ (imported from Language.Haskell.Exts.Syntax) hstidy.hs:102:16: error: Not in scope: type constructor or class ‘HsModule’ Perhaps you meant ‘Module’ (imported from Language.Haskell.Exts.Syntax) hstidy.hs:102:29: error: Not in scope: type constructor or class ‘HsDecl’ Perhaps you meant ‘Decl’ (imported from Language.Haskell.Exts.Syntax) hstidy.hs:103:14: error: Not in scope: data constructor ‘HsModule’ Perhaps you meant one of these: ‘Module’ (imported from Language.Haskell.Exts.Syntax), variable ‘mkModule’ (line 106) hstidy.hs:108:16: error: Not in scope: type constructor or class ‘SrcLoc’ hstidy.hs:111:28: error: Not in scope: type constructor or class ‘HsModule’ Perhaps you meant ‘Module’ (imported from Language.Haskell.Exts.Syntax) cabal: Leaving directory '/tmp/cabal-tmp-22970/hstidy-0.1' cabal: Error: some packages failed to install: hstidy-0.1 failed during the building phase. The exception was: ExitFailure 1