Resolving dependencies... Configuring HJavaScript-0.4.7... Configuring harp-0.4.2... Building HJavaScript-0.4.7... Building harp-0.4.2... Failed to install HJavaScript-0.4.7 Build log ( /home/builder/.cabal/logs/HJavaScript-0.4.7.log ): cabal: Entering directory '/tmp/cabal-tmp-28275/HJavaScript-0.4.7' Configuring HJavaScript-0.4.7... Building HJavaScript-0.4.7... Preprocessing library HJavaScript-0.4.7... src/Language/HJavaScript/Syntax.hs:2:14: warning: -XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS [1 of 1] Compiling Language.HJavaScript.Syntax ( src/Language/HJavaScript/Syntax.hs, dist/build/Language/HJavaScript/Syntax.o ) src/Language/HJavaScript/Syntax.hs:218:10: error: • Could not deduce (Show c) arising from the superclasses of an instance declaration from the context: IsClass c bound by the instance declaration at src/Language/HJavaScript/Syntax.hs:218:10-33 Possible fix: add (Show c) to the context of the instance declaration • In the instance declaration for ‘IsFeature c’ src/Language/HJavaScript/Syntax.hs:507:10: error: • Could not deduce (Show c) arising from the superclasses of an instance declaration from the context: IsClass c bound by the instance declaration at src/Language/HJavaScript/Syntax.hs:507:10-32 Possible fix: add (Show c) to the context of the instance declaration • In the instance declaration for ‘IsDeref c’ cabal: Leaving directory '/tmp/cabal-tmp-28275/HJavaScript-0.4.7' Configuring mtl-2.2.1... Building mtl-2.2.1... Configuring old-locale-1.0.0.7... Installed harp-0.4.2 Building old-locale-1.0.0.7... Configuring utf8-string-1.0.1.1... Installed old-locale-1.0.0.7 Building utf8-string-1.0.1.1... Configuring text-1.2.2.1... Installed mtl-2.2.1 Building text-1.2.2.1... Installed utf8-string-1.0.1.1 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 hsx-0.10.4... Building hsx-0.10.4... Failed to install hsx-0.10.4 Build log ( /home/builder/.cabal/logs/hsx-0.10.4.log ): cabal: Entering directory '/tmp/cabal-tmp-28275/hsx-0.10.4' Configuring hsx-0.10.4... Building hsx-0.10.4... Preprocessing library hsx-0.10.4... on the commandline: warning: -XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS [1 of 2] Compiling HSX.XMLGenerator ( src/HSX/XMLGenerator.hs, dist/build/HSX/XMLGenerator.o ) src/HSX/XMLGenerator.hs:24:1: warning: [-Wdeprecations] Module ‘Control.Monad.Error’ is deprecated: Use Control.Monad.Except instead [2 of 2] Compiling HSX.Transform ( src/HSX/Transform.hs, dist/build/HSX/Transform.o ) src/HSX/Transform.hs:176:10: error: Not in scope: type constructor or class ‘SrcLoc’ Perhaps you want to add ‘SrcLoc’ to the import list in the import of ‘Language.Haskell.Exts.SrcLoc’ (src/HSX/Transform.hs:23:1-43). src/HSX/Transform.hs:203:16: error: Not in scope: type constructor or class ‘SrcLoc’ Perhaps you want to add ‘SrcLoc’ to the import list in the import of ‘Language.Haskell.Exts.SrcLoc’ (src/HSX/Transform.hs:23:1-43). src/HSX/Transform.hs:210:11: error: Not in scope: type constructor or class ‘SrcLoc’ Perhaps you want to add ‘SrcLoc’ to the import list in the import of ‘Language.Haskell.Exts.SrcLoc’ (src/HSX/Transform.hs:23:1-43). src/HSX/Transform.hs:579:20: error: Not in scope: type constructor or class ‘SrcLoc’ Perhaps you want to add ‘SrcLoc’ to the import list in the import of ‘Language.Haskell.Exts.SrcLoc’ (src/HSX/Transform.hs:23:1-43). src/HSX/Transform.hs:579:58: error: Not in scope: type constructor or class ‘GuardedAlts’ Perhaps you meant ‘GuardedRhs’ (imported from Language.Haskell.Exts.Syntax) src/HSX/Transform.hs:579:78: error: Not in scope: type constructor or class ‘GuardedAlts’ Perhaps you meant ‘GuardedRhs’ (imported from Language.Haskell.Exts.Syntax) src/HSX/Transform.hs:580:32: error: Not in scope: data constructor ‘UnGuardedAlt’ Perhaps you meant ‘UnGuardedRhs’ (imported from Language.Haskell.Exts.Syntax) src/HSX/Transform.hs:592:28: error: Not in scope: data constructor ‘GuardedAlts’ Perhaps you meant one of these: ‘GuardedRhss’ (imported from Language.Haskell.Exts.Syntax), ‘GuardedRhs’ (imported from Language.Haskell.Exts.Syntax) src/HSX/Transform.hs:594:55: error: Not in scope: type constructor or class ‘GuardedAlt’ Perhaps you meant ‘GuardedRhs’ (imported from Language.Haskell.Exts.Syntax) src/HSX/Transform.hs:594:74: error: Not in scope: type constructor or class ‘GuardedAlt’ Perhaps you meant ‘GuardedRhs’ (imported from Language.Haskell.Exts.Syntax) src/HSX/Transform.hs:595:33: error: Not in scope: data constructor ‘GuardedAlt’ Perhaps you meant ‘GuardedRhs’ (imported from Language.Haskell.Exts.Syntax) src/HSX/Transform.hs:610:15: error: Not in scope: type constructor or class ‘SrcLoc’ Perhaps you want to add ‘SrcLoc’ to the import list in the import of ‘Language.Haskell.Exts.SrcLoc’ (src/HSX/Transform.hs:23:1-43). src/HSX/Transform.hs:690:5: error: Not in scope: data constructor ‘PNeg’ src/HSX/Transform.hs:729:46: error: Not in scope: type constructor or class ‘SrcLoc’ Perhaps you want to add ‘SrcLoc’ to the import list in the import of ‘Language.Haskell.Exts.SrcLoc’ (src/HSX/Transform.hs:23:1-43). src/HSX/Transform.hs:754:5: error: Not in scope: data constructor ‘PNeg’ src/HSX/Transform.hs:796:22: error: Not in scope: type constructor or class ‘SrcLoc’ Perhaps you want to add ‘SrcLoc’ to the import list in the import of ‘Language.Haskell.Exts.SrcLoc’ (src/HSX/Transform.hs:23:1-43). src/HSX/Transform.hs:848:14: error: Not in scope: type constructor or class ‘SrcLoc’ Perhaps you want to add ‘SrcLoc’ to the import list in the import of ‘Language.Haskell.Exts.SrcLoc’ (src/HSX/Transform.hs:23:1-43). src/HSX/Transform.hs:854:18: error: Not in scope: type constructor or class ‘SrcLoc’ Perhaps you want to add ‘SrcLoc’ to the import list in the import of ‘Language.Haskell.Exts.SrcLoc’ (src/HSX/Transform.hs:23:1-43). src/HSX/Transform.hs:897:15: error: Not in scope: type constructor or class ‘SrcLoc’ Perhaps you want to add ‘SrcLoc’ to the import list in the import of ‘Language.Haskell.Exts.SrcLoc’ (src/HSX/Transform.hs:23:1-43). src/HSX/Transform.hs:903:14: error: Not in scope: type constructor or class ‘SrcLoc’ Perhaps you want to add ‘SrcLoc’ to the import list in the import of ‘Language.Haskell.Exts.SrcLoc’ (src/HSX/Transform.hs:23:1-43). src/HSX/Transform.hs:984:5: error: Not in scope: data constructor ‘PNeg’ src/HSX/Transform.hs:995:5: error: Not in scope: data constructor ‘PExplTypeArg’ src/HSX/Transform.hs:1001:23: error: Not in scope: type constructor or class ‘SrcLoc’ Perhaps you want to add ‘SrcLoc’ to the import list in the import of ‘Language.Haskell.Exts.SrcLoc’ (src/HSX/Transform.hs:23:1-43). src/HSX/Transform.hs:1013:21: error: Not in scope: type constructor or class ‘SrcLoc’ Perhaps you want to add ‘SrcLoc’ to the import list in the import of ‘Language.Haskell.Exts.SrcLoc’ (src/HSX/Transform.hs:23:1-43). src/HSX/Transform.hs:1042:18: error: Not in scope: type constructor or class ‘SrcLoc’ Perhaps you want to add ‘SrcLoc’ to the import list in the import of ‘Language.Haskell.Exts.SrcLoc’ (src/HSX/Transform.hs:23:1-43). src/HSX/Transform.hs:1052:16: error: Not in scope: type constructor or class ‘SrcLoc’ Perhaps you want to add ‘SrcLoc’ to the import list in the import of ‘Language.Haskell.Exts.SrcLoc’ (src/HSX/Transform.hs:23:1-43). src/HSX/Transform.hs:1066:16: error: Not in scope: type constructor or class ‘SrcLoc’ Perhaps you want to add ‘SrcLoc’ to the import list in the import of ‘Language.Haskell.Exts.SrcLoc’ (src/HSX/Transform.hs:23:1-43). src/HSX/Transform.hs:1091:11: error: Not in scope: type constructor or class ‘SrcLoc’ Perhaps you want to add ‘SrcLoc’ to the import list in the import of ‘Language.Haskell.Exts.SrcLoc’ (src/HSX/Transform.hs:23:1-43). src/HSX/Transform.hs:1100:23: error: Not in scope: type constructor or class ‘SrcLoc’ Perhaps you want to add ‘SrcLoc’ to the import list in the import of ‘Language.Haskell.Exts.SrcLoc’ (src/HSX/Transform.hs:23:1-43). src/HSX/Transform.hs:1120:22: error: Not in scope: type constructor or class ‘SrcLoc’ Perhaps you want to add ‘SrcLoc’ to the import list in the import of ‘Language.Haskell.Exts.SrcLoc’ (src/HSX/Transform.hs:23:1-43). src/HSX/Transform.hs:1132:24: error: Not in scope: type constructor or class ‘SrcLoc’ Perhaps you want to add ‘SrcLoc’ to the import list in the import of ‘Language.Haskell.Exts.SrcLoc’ (src/HSX/Transform.hs:23:1-43). src/HSX/Transform.hs:1142:31: error: Not in scope: type constructor or class ‘SrcLoc’ Perhaps you want to add ‘SrcLoc’ to the import list in the import of ‘Language.Haskell.Exts.SrcLoc’ (src/HSX/Transform.hs:23:1-43). src/HSX/Transform.hs:1166:27: error: Not in scope: type constructor or class ‘SrcLoc’ Perhaps you want to add ‘SrcLoc’ to the import list in the import of ‘Language.Haskell.Exts.SrcLoc’ (src/HSX/Transform.hs:23:1-43). src/HSX/Transform.hs:1183:26: error: Not in scope: type constructor or class ‘SrcLoc’ Perhaps you want to add ‘SrcLoc’ to the import list in the import of ‘Language.Haskell.Exts.SrcLoc’ (src/HSX/Transform.hs:23:1-43). src/HSX/Transform.hs:1195:28: error: Not in scope: type constructor or class ‘SrcLoc’ Perhaps you want to add ‘SrcLoc’ to the import list in the import of ‘Language.Haskell.Exts.SrcLoc’ (src/HSX/Transform.hs:23:1-43). src/HSX/Transform.hs:1205:37: error: Not in scope: type constructor or class ‘SrcLoc’ Perhaps you want to add ‘SrcLoc’ to the import list in the import of ‘Language.Haskell.Exts.SrcLoc’ (src/HSX/Transform.hs:23:1-43). src/HSX/Transform.hs:1236:22: error: Not in scope: type constructor or class ‘SrcLoc’ Perhaps you want to add ‘SrcLoc’ to the import list in the import of ‘Language.Haskell.Exts.SrcLoc’ (src/HSX/Transform.hs:23:1-43). src/HSX/Transform.hs:1262:24: error: Not in scope: type constructor or class ‘SrcLoc’ Perhaps you want to add ‘SrcLoc’ to the import list in the import of ‘Language.Haskell.Exts.SrcLoc’ (src/HSX/Transform.hs:23:1-43). src/HSX/Transform.hs:1274:18: error: Not in scope: type constructor or class ‘SrcLoc’ Perhaps you want to add ‘SrcLoc’ to the import list in the import of ‘Language.Haskell.Exts.SrcLoc’ (src/HSX/Transform.hs:23:1-43). src/HSX/Transform.hs:1313:22: error: Not in scope: type constructor or class ‘SrcLoc’ Perhaps you want to add ‘SrcLoc’ to the import list in the import of ‘Language.Haskell.Exts.SrcLoc’ (src/HSX/Transform.hs:23:1-43). src/HSX/Transform.hs:1336:21: error: Not in scope: type constructor or class ‘SrcLoc’ Perhaps you want to add ‘SrcLoc’ to the import list in the import of ‘Language.Haskell.Exts.SrcLoc’ (src/HSX/Transform.hs:23:1-43). src/HSX/Transform.hs:1369:29: error: Not in scope: type constructor or class ‘SrcLoc’ Perhaps you want to add ‘SrcLoc’ to the import list in the import of ‘Language.Haskell.Exts.SrcLoc’ (src/HSX/Transform.hs:23:1-43). src/HSX/Transform.hs:1440:19: error: Not in scope: type constructor or class ‘SrcLoc’ Perhaps you want to add ‘SrcLoc’ to the import list in the import of ‘Language.Haskell.Exts.SrcLoc’ (src/HSX/Transform.hs:23:1-43). src/HSX/Transform.hs:1463:18: error: Not in scope: type constructor or class ‘SrcLoc’ Perhaps you want to add ‘SrcLoc’ to the import list in the import of ‘Language.Haskell.Exts.SrcLoc’ (src/HSX/Transform.hs:23:1-43). src/HSX/Transform.hs:1480:13: error: Not in scope: data constructor ‘PNeg’ src/HSX/Transform.hs:1529:20: error: Not in scope: type constructor or class ‘SrcLoc’ Perhaps you want to add ‘SrcLoc’ to the import list in the import of ‘Language.Haskell.Exts.SrcLoc’ (src/HSX/Transform.hs:23:1-43). src/HSX/Transform.hs:1540:22: error: Not in scope: type constructor or class ‘SrcLoc’ Perhaps you want to add ‘SrcLoc’ to the import list in the import of ‘Language.Haskell.Exts.SrcLoc’ (src/HSX/Transform.hs:23:1-43). src/HSX/Transform.hs:1551:18: error: Not in scope: type constructor or class ‘SrcLoc’ Perhaps you want to add ‘SrcLoc’ to the import list in the import of ‘Language.Haskell.Exts.SrcLoc’ (src/HSX/Transform.hs:23:1-43). src/HSX/Transform.hs:1561:17: error: Not in scope: type constructor or class ‘SrcLoc’ Perhaps you want to add ‘SrcLoc’ to the import list in the import of ‘Language.Haskell.Exts.SrcLoc’ (src/HSX/Transform.hs:23:1-43). src/HSX/Transform.hs:1567:18: error: Not in scope: type constructor or class ‘SrcLoc’ Perhaps you want to add ‘SrcLoc’ to the import list in the import of ‘Language.Haskell.Exts.SrcLoc’ (src/HSX/Transform.hs:23:1-43). src/HSX/Transform.hs:1577:31: error: Not in scope: type constructor or class ‘SrcLoc’ Perhaps you want to add ‘SrcLoc’ to the import list in the import of ‘Language.Haskell.Exts.SrcLoc’ (src/HSX/Transform.hs:23:1-43). src/HSX/Transform.hs:1599:18: error: Not in scope: type constructor or class ‘SrcLoc’ Perhaps you want to add ‘SrcLoc’ to the import list in the import of ‘Language.Haskell.Exts.SrcLoc’ (src/HSX/Transform.hs:23:1-43). src/HSX/Transform.hs:1634:19: error: Not in scope: type constructor or class ‘SrcLoc’ Perhaps you want to add ‘SrcLoc’ to the import list in the import of ‘Language.Haskell.Exts.SrcLoc’ (src/HSX/Transform.hs:23:1-43). src/HSX/Transform.hs:1667:19: error: Not in scope: type constructor or class ‘SrcLoc’ Perhaps you want to add ‘SrcLoc’ to the import list in the import of ‘Language.Haskell.Exts.SrcLoc’ (src/HSX/Transform.hs:23:1-43). src/HSX/Transform.hs:1752:16: error: Not in scope: type constructor or class ‘SrcLoc’ Perhaps you want to add ‘SrcLoc’ to the import list in the import of ‘Language.Haskell.Exts.SrcLoc’ (src/HSX/Transform.hs:23:1-43). cabal: Leaving directory '/tmp/cabal-tmp-28275/hsx-0.10.4' cabal: Error: some packages failed to install: HJScript-0.6.1 depends on HJavaScript-0.4.7 which failed to install. HJavaScript-0.4.7 failed during the building phase. The exception was: ExitFailure 1 hsp-0.6.0 depends on HJavaScript-0.4.7 which failed to install. hsx-0.10.4 failed during the building phase. The exception was: ExitFailure 1