Resolving dependencies... Configuring mtl-2.2.1... Configuring fgl-5.5.3.0... Building mtl-2.2.1... Building fgl-5.5.3.0... Installed mtl-2.2.1 Configuring old-locale-1.0.0.7... Building old-locale-1.0.0.7... Installed old-locale-1.0.0.7 Configuring primitive-0.6.1.0... Building primitive-0.6.1.0... Configuring random-1.1... Installed fgl-5.5.3.0 Building random-1.1... Configuring stm-2.4.4.1... Installed primitive-0.6.1.0 Building stm-2.4.4.1... Configuring syb-0.6... Installed random-1.1 Building syb-0.6... Configuring text-1.2.2.1... Installed stm-2.4.4.1 Building text-1.2.2.1... Configuring transformers-compat-0.5.1.4... Installed syb-0.6 Building transformers-compat-0.5.1.4... Configuring utf8-string-1.0.1.1... Installed transformers-compat-0.5.1.4 Building utf8-string-1.0.1.1... Configuring zlib-0.6.1.2... Installed utf8-string-1.0.1.1 Building zlib-0.6.1.2... Configuring regex-base-0.93.2... Installed zlib-0.6.1.2 Building regex-base-0.93.2... Installed text-1.2.2.1 Configuring old-time-1.1.0.3... Installed regex-base-0.93.2 Configuring vector-0.11.0.0... Building vector-0.11.0.0... Building old-time-1.1.0.3... Configuring exceptions-0.8.3... Installed old-time-1.1.0.3 Building exceptions-0.8.3... Installed exceptions-0.8.3 Configuring hashable-1.2.4.0... Building hashable-1.2.4.0... Installed hashable-1.2.4.0 Configuring regex-posix-0.95.2... Building regex-posix-0.95.2... Configuring temporary-1.2.0.4... Installed regex-posix-0.95.2 Building temporary-1.2.0.4... Configuring regex-compat-0.95.1... Installed temporary-1.2.0.4 Building regex-compat-0.95.1... Installed regex-compat-0.95.1 Installed vector-0.11.0.0 Configuring hashtables-1.2.1.0... Building hashtables-1.2.1.0... Installed hashtables-1.2.1.0 Configuring HsSyck-0.53... Building HsSyck-0.53... Installed HsSyck-0.53 Configuring ajhc-0.8.0.3... Building ajhc-0.8.0.3... Failed to install ajhc-0.8.0.3 Build log ( /home/builder/.cabal/logs/ajhc-0.8.0.3.log ): cabal: Entering directory '/tmp/cabal-tmp-8971/ajhc-0.8.0.3' [1 of 1] Compiling Main ( /tmp/cabal-tmp-8971/ajhc-0.8.0.3/dist/setup/setup.hs, /tmp/cabal-tmp-8971/ajhc-0.8.0.3/dist/setup/Main.o ) Linking /tmp/cabal-tmp-8971/ajhc-0.8.0.3/dist/setup/setup ... Configuring ajhc-0.8.0.3... Building ajhc-0.8.0.3... Preprocessing executable 'ajhc' for ajhc-0.8.0.3... shift/reduce conflicts: 60 reduce/reduce conflicts: 74 on the commandline: warning: -XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS src/Doc/DocLike.hs:1:39: warning: -XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS src/Util/Graph.hs:3:14: warning: -XDoRec is deprecated: use -XRecursiveDo or pragma {-# LANGUAGE RecursiveDo #-} instead src/Ho/Build.hs:1:14: warning: -XDoRec is deprecated: use -XRecursiveDo or pragma {-# LANGUAGE RecursiveDo #-} instead src/FrontEnd/Exports.hs:1:14: warning: -XDoRec is deprecated: use -XRecursiveDo or pragma {-# LANGUAGE RecursiveDo #-} instead src/E/PrimOpt.hs:1:14: warning: -XDoRec is deprecated: use -XRecursiveDo or pragma {-# LANGUAGE RecursiveDo #-} instead [ 1 of 172] Compiling Version.Config ( src/Version/Config.hs, dist/build/ajhc/ajhc-tmp/Version/Config.o ) [ 2 of 172] Compiling Util.YAML ( src/Util/YAML.hs, dist/build/ajhc/ajhc-tmp/Util/YAML.o ) [ 3 of 172] Compiling Util.VarName ( src/Util/VarName.hs, dist/build/ajhc/ajhc-tmp/Util/VarName.o ) src/Util/VarName.hs:17:14: error: • No instance for (Applicative (VarNameT nc ni no m)) arising from the 'deriving' clause of a data type declaration Possible fix: use a standalone 'deriving instance' declaration, so you can specify the instance context yourself • When deriving the instance for (Monad (VarNameT nc ni no m)) src/Util/VarName.hs:17:52: error: • No instance for (GHC.Base.Alternative (VarNameT nc ni no m)) arising from the 'deriving' clause of a data type declaration Possible fix: use a standalone 'deriving instance' declaration, so you can specify the instance context yourself • When deriving the instance for (MonadPlus (VarNameT nc ni no m)) cabal: Leaving directory '/tmp/cabal-tmp-8971/ajhc-0.8.0.3' cabal: Error: some packages failed to install: ajhc-0.8.0.3 failed during the building phase. The exception was: ExitFailure 1