Resolving dependencies... Configuring mtl-2.2.1... Building mtl-2.2.1... Installed mtl-2.2.1 Configuring control-monad-exception-0.4... Building control-monad-exception-0.4... Failed to install control-monad-exception-0.4 Build log ( /home/builder/.cabal/logs/control-monad-exception-0.4.log ): cabal: Entering directory '/tmp/cabal-tmp-19757/control-monad-exception-0.4' Configuring control-monad-exception-0.4... Building control-monad-exception-0.4... Preprocessing library control-monad-exception-0.4... Control/Monad/Exception/Class.hs:8: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 2] Compiling Control.Monad.Exception.Class ( Control/Monad/Exception/Class.hs, dist/build/Control/Monad/Exception/Class.o ) Control/Monad/Exception/Class.hs:28:1: warning: [-Wdeprecations] Module ‘Control.Monad.Error’ is deprecated: Use Control.Monad.Except instead Control/Monad/Exception/Class.hs:43:1: warning: [-Wunused-imports] The import of ‘Data.Monoid’ is redundant except perhaps to import instances from ‘Data.Monoid’ To import instances alone, use: import Data.Monoid() Control/Monad/Exception/Class.hs:45:1: warning: [-Wdodgy-imports] Module ‘Prelude’ does not export ‘catch’ Control/Monad/Exception/Class.hs:116: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:117: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:119: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:119: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:120: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:120: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:120: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" [2 of 2] Compiling Control.Monad.Exception ( Control/Monad/Exception.hs, dist/build/Control/Monad/Exception.o ) Control/Monad/Exception.hs:126:55: error: Precedence parsing error cannot mix ‘Data.Monoid.<>’ [infixr 6] and ‘<+>’ [infixl 6] in the same infix expression Control/Monad/Exception.hs:128:38: error: Ambiguous occurrence ‘<>’ It could refer to either ‘Data.Monoid.<>’, imported from ‘Data.Monoid’ at Control/Monad/Exception.hs:23:1-18 or ‘Text.PrettyPrint.<>’, imported from ‘Text.PrettyPrint’ at Control/Monad/Exception.hs:28:1-23 (and originally defined in ‘Text.PrettyPrint.HughesPJ’) Control/Monad/Exception.hs:128:45: error: Ambiguous occurrence ‘<>’ It could refer to either ‘Data.Monoid.<>’, imported from ‘Data.Monoid’ at Control/Monad/Exception.hs:23:1-18 or ‘Text.PrettyPrint.<>’, imported from ‘Text.PrettyPrint’ at Control/Monad/Exception.hs:28:1-23 (and originally defined in ‘Text.PrettyPrint.HughesPJ’) Control/Monad/Exception.hs:128:66: error: Ambiguous occurrence ‘<>’ It could refer to either ‘Data.Monoid.<>’, imported from ‘Data.Monoid’ at Control/Monad/Exception.hs:23:1-18 or ‘Text.PrettyPrint.<>’, imported from ‘Text.PrettyPrint’ at Control/Monad/Exception.hs:28:1-23 (and originally defined in ‘Text.PrettyPrint.HughesPJ’) cabal: Leaving directory '/tmp/cabal-tmp-19757/control-monad-exception-0.4' cabal: Error: some packages failed to install: control-monad-exception-0.4 failed during the building phase. The exception was: ExitFailure 1