Resolving dependencies... Configuring mtl-2.2.1... Building mtl-2.2.1... Installed mtl-2.2.1 Configuring control-monad-exception-0.4.6... Building control-monad-exception-0.4.6... Failed to install control-monad-exception-0.4.6 Build log ( /home/builder/.cabal/logs/control-monad-exception-0.4.6.log ): cabal: Entering directory '/tmp/cabal-tmp-11097/control-monad-exception-0.4.6' Configuring control-monad-exception-0.4.6... Building control-monad-exception-0.4.6... Preprocessing library control-monad-exception-0.4.6... Control/Monad/Exception/Class.hs:9:14: warning: -XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS Control/Monad/Exception/Throws.hs:4:14: warning: -XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS Control/Monad/Exception.hs:5:14: warning: -XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS [1 of 3] Compiling Control.Monad.Exception.Throws ( Control/Monad/Exception/Throws.hs, dist/build/Control/Monad/Exception/Throws.o ) [2 of 3] Compiling Control.Monad.Exception.Class ( Control/Monad/Exception/Class.hs, dist/build/Control/Monad/Exception/Class.o ) Control/Monad/Exception/Class.hs:33:1: warning: [-Wdeprecations] Module ‘Control.Monad.Error’ is deprecated: Use Control.Monad.Except instead Control/Monad/Exception/Class.hs:53:1: warning: [-Wdodgy-imports] Module ‘Prelude’ does not export ‘catch’ Control/Monad/Exception/Class.hs:92:11: warning: [-Wdeprecations] In the use of type constructor or class ‘Error’ (imported from Control.Monad.Error, but defined in transformers-0.5.2.0:Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" Control/Monad/Exception/Class.hs:93:11: warning: [-Wdeprecations] In the use of type constructor or class ‘Error’ (imported from Control.Monad.Error, but defined in transformers-0.5.2.0:Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" Control/Monad/Exception/Class.hs:95:11: warning: [-Wdeprecations] In the use of type constructor or class ‘Error’ (imported from Control.Monad.Error, but defined in transformers-0.5.2.0:Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" Control/Monad/Exception/Class.hs:95:46: warning: [-Wdeprecations] In the use of type constructor or class ‘ErrorT’ (imported from Control.Monad.Error, but defined in transformers-0.5.2.0:Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" Control/Monad/Exception/Class.hs:96:11: warning: [-Wdeprecations] In the use of type constructor or class ‘Error’ (imported from Control.Monad.Error, but defined in transformers-0.5.2.0:Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" Control/Monad/Exception/Class.hs:96:46: warning: [-Wdeprecations] In the use of type constructor or class ‘ErrorT’ (imported from Control.Monad.Error, but defined in transformers-0.5.2.0:Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" Control/Monad/Exception/Class.hs:96:59: warning: [-Wdeprecations] In the use of type constructor or class ‘ErrorT’ (imported from Control.Monad.Error, but defined in transformers-0.5.2.0:Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" [3 of 3] Compiling Control.Monad.Exception ( Control/Monad/Exception.hs, dist/build/Control/Monad/Exception.o ) Control/Monad/Exception.hs:217:55: error: Precedence parsing error cannot mix ‘Data.Monoid.<>’ [infixr 6] and ‘<+>’ [infixl 6] in the same infix expression Control/Monad/Exception.hs:219:38: error: Ambiguous occurrence ‘<>’ It could refer to either ‘Data.Monoid.<>’, imported from ‘Data.Monoid’ at Control/Monad/Exception.hs:123:1-18 or ‘Text.PrettyPrint.<>’, imported from ‘Text.PrettyPrint’ at Control/Monad/Exception.hs:126:1-23 (and originally defined in ‘Text.PrettyPrint.HughesPJ’) Control/Monad/Exception.hs:219:68: error: Ambiguous occurrence ‘<>’ It could refer to either ‘Data.Monoid.<>’, imported from ‘Data.Monoid’ at Control/Monad/Exception.hs:123:1-18 or ‘Text.PrettyPrint.<>’, imported from ‘Text.PrettyPrint’ at Control/Monad/Exception.hs:126:1-23 (and originally defined in ‘Text.PrettyPrint.HughesPJ’) cabal: Leaving directory '/tmp/cabal-tmp-11097/control-monad-exception-0.4.6' cabal: Error: some packages failed to install: control-monad-exception-0.4.6 failed during the building phase. The exception was: ExitFailure 1