Resolving dependencies... Configuring mtl-2.2.1... Configuring old-locale-1.0.0.7... Building mtl-2.2.1... Building old-locale-1.0.0.7... Installed old-locale-1.0.0.7 Configuring split-0.2.3.1... Building split-0.2.3.1... Configuring stm-2.4.4.1... Installed split-0.2.3.1 Building stm-2.4.4.1... Configuring transformers-compat-0.5.1.4... Installed mtl-2.2.1 Building transformers-compat-0.5.1.4... Configuring text-1.2.2.1... Installed transformers-compat-0.5.1.4 Configuring utf8-string-1.0.1.1... Installed stm-2.4.4.1 Building text-1.2.2.1... Building utf8-string-1.0.1.1... Configuring old-time-1.1.0.3... Installed utf8-string-1.0.1.1 Building old-time-1.1.0.3... Installed old-time-1.1.0.3 Configuring exceptions-0.8.3... Building exceptions-0.8.3... Installed exceptions-0.8.3 Installed text-1.2.2.1 Configuring hashable-1.2.4.0... Configuring blaze-builder-0.4.0.2... Building hashable-1.2.4.0... Building blaze-builder-0.4.0.2... Installed hashable-1.2.4.0 Configuring hsp-0.10.0... Configuring polyparse-1.12... Installed blaze-builder-0.4.0.2 Building hsp-0.10.0... Building polyparse-1.12... Configuring parsec-3.1.11... Installed hsp-0.10.0 Building parsec-3.1.11... Configuring case-insensitive-1.2.0.7... Installed polyparse-1.12 Building case-insensitive-1.2.0.7... Configuring cpphs-1.20.2... Installed case-insensitive-1.2.0.7 Installed parsec-3.1.11 Configuring http-types-0.9.1... Building cpphs-1.20.2... Building http-types-0.9.1... Installed http-types-0.9.1 Configuring web-routes-0.27.11... Building web-routes-0.27.11... Installed web-routes-0.27.11 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-28311/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-28311/hsx-0.10.4' cabal: Error: some packages failed to install: hsx-0.10.4 failed during the building phase. The exception was: ExitFailure 1 web-routes-hsp-0.22.1 depends on hsx-0.10.4 which failed to install.