Resolving dependencies... Configuring mtl-2.2.1... Configuring network-2.6.3.1... Building mtl-2.2.1... Building network-2.6.3.1... Configuring old-locale-1.0.0.7... Installed mtl-2.2.1 Building old-locale-1.0.0.7... Configuring text-1.2.2.1... Installed old-locale-1.0.0.7 Building text-1.2.2.1... Installed network-2.6.3.1 Installed text-1.2.2.1 Configuring parsec-3.1.11... Building parsec-3.1.11... Installed parsec-3.1.11 Downloading nntp-0.0.2... Configuring nntp-0.0.2... Building nntp-0.0.2... Failed to install nntp-0.0.2 Build log ( /home/builder/.cabal/logs/nntp-0.0.2.log ): cabal: Entering directory '/tmp/cabal-tmp-14909/nntp-0.0.2' Configuring nntp-0.0.2... Building nntp-0.0.2... Preprocessing library nntp-0.0.2... [1 of 5] Compiling Network.NNTP.Internal ( src/Network/NNTP/Internal.hs, dist/build/Network/NNTP/Internal.o ) src/Network/NNTP/Internal.hs:31:1: warning: [-Wunused-imports] The import of ‘Control.Applicative’ is redundant except perhaps to import instances from ‘Control.Applicative’ To import instances alone, use: import Control.Applicative() src/Network/NNTP/Internal.hs:33:1: warning: [-Wdeprecations] Module ‘Control.Monad.Error’ is deprecated: Use Control.Monad.Except instead src/Network/NNTP/Internal.hs:36: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() src/Network/NNTP/Internal.hs:101:41: 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" src/Network/NNTP/Internal.hs:138:10: 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" src/Network/NNTP/Internal.hs:138:10: 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" [2 of 5] Compiling Network.NNTP.ParserHelpers ( src/Network/NNTP/ParserHelpers.hs, dist/build/Network/NNTP/ParserHelpers.o ) src/Network/NNTP/ParserHelpers.hs:25:1: warning: [-Wdeprecations] Module ‘Control.Monad.Error’ is deprecated: Use Control.Monad.Except instead [3 of 5] Compiling Network.NNTP.Core ( src/Network/NNTP/Core.hs, dist/build/Network/NNTP/Core.o ) src/Network/NNTP/Core.hs:63:39: error: Ambiguous occurrence ‘defaultTimeLocale’ It could refer to either ‘Data.Time.defaultTimeLocale’, imported from ‘Data.Time’ at src/Network/NNTP/Core.hs:33:1-16 (and originally defined in ‘time-1.6.0.1:Data.Time.Format.Locale’) or ‘System.Locale.defaultTimeLocale’, imported from ‘System.Locale’ at src/Network/NNTP/Core.hs:36:1-20 cabal: Leaving directory '/tmp/cabal-tmp-14909/nntp-0.0.2' cabal: Error: some packages failed to install: nntp-0.0.2 failed during the building phase. The exception was: ExitFailure 1