Resolving dependencies... Configuring old-locale-1.0.0.7... Configuring random-1.1... Building old-locale-1.0.0.7... Building random-1.1... Installed old-locale-1.0.0.7 Configuring old-time-1.1.0.3... Building old-time-1.1.0.3... Installed random-1.1 Installed old-time-1.1.0.3 Configuring hat-2.7.0.6... Building hat-2.7.0.6... Failed to install hat-2.7.0.6 Build log ( /home/builder/.cabal/logs/hat-2.7.0.6.log ): cabal: Entering directory '/tmp/cabal-tmp-7936/hat-2.7.0.6' Configuring hat-2.7.0.6... Building hat-2.7.0.6... Preprocessing library hat-2.7.0.6... Hat/Hat.hs:2:12: warning: -#include and INCLUDE pragmas are deprecated: They no longer have any effect [ 1 of 38] Compiling Hat.Hat ( Hat/Hat.hs, dist/build/Hat/Hat.o ) [ 2 of 38] Compiling Hat.PreludeBuiltinTypes ( Hat/PreludeBuiltinTypes.hs, dist/build/Hat/PreludeBuiltinTypes.o ) Hat/PreludeBuiltinTypes.hs:8:4: warning: [-Wduplicate-exports] ‘String’ is exported by ‘module Hat.PreludeBuiltinTypes’ and ‘String’ Hat/PreludeBuiltinTypes.hs:8:4: warning: [-Wduplicate-exports] ‘aFalse’ is exported by ‘module Hat.PreludeBuiltinTypes’ and ‘aFalse’ Hat/PreludeBuiltinTypes.hs:8:4: warning: [-Wduplicate-exports] ‘aTrue’ is exported by ‘module Hat.PreludeBuiltinTypes’ and ‘aTrue’ Hat/PreludeBuiltinTypes.hs:9:4: warning: [-Wduplicate-exports] ‘gerror’ is exported by ‘gerror’ and ‘module Hat.PreludeBuiltinTypes’ Hat/PreludeBuiltinTypes.hs:9:11: warning: [-Wduplicate-exports] ‘gundefined’ is exported by ‘gundefined’ and ‘module Hat.PreludeBuiltinTypes’ [ 3 of 38] Compiling Hat.RandomBuiltin ( Hat/RandomBuiltin.hs, dist/build/Hat/RandomBuiltin.o ) [ 4 of 38] Compiling Hat.Hack ( Hat/Hack.hs, dist/build/Hat/Hack.o ) [ 5 of 38] Compiling Hat.PreludeBuiltin ( Hat/PreludeBuiltin.hs, dist/build/Hat/PreludeBuiltin.o ) Hat/PreludeBuiltin.hs:1258:6: error: Not in scope: ‘Prelude.catch’ Perhaps you meant one of these: ‘Prelude.acosh’ (imported from Prelude), ‘Prelude.acosh’ (imported from Prelude), ‘Prelude.atan’ (imported from Prelude) Module ‘Prelude’ does not export ‘catch’. cabal: Leaving directory '/tmp/cabal-tmp-7936/hat-2.7.0.6' cabal: Error: some packages failed to install: hat-2.7.0.6 failed during the building phase. The exception was: ExitFailure 1