Resolving dependencies... Configuring call-stack-0.1.0... Configuring mtl-2.2.1... Building call-stack-0.1.0... Building mtl-2.2.1... Installed call-stack-0.1.0 Configuring old-locale-1.0.0.7... Building old-locale-1.0.0.7... Installed old-locale-1.0.0.7 Configuring safe-0.3.10... Building safe-0.3.10... Configuring split-0.1.2.3... Installed mtl-2.2.1 Building split-0.1.2.3... Configuring utf8-string-0.3.7... Installed safe-0.3.10 Building utf8-string-0.3.7... Configuring text-1.2.2.1... Installed split-0.1.2.3 Building text-1.2.2.1... Installed utf8-string-0.3.7 Configuring HUnit-1.5.0.0... Building HUnit-1.5.0.0... Configuring old-time-1.1.0.3... Installed HUnit-1.5.0.0 Building old-time-1.1.0.3... Configuring mtlparse-0.1.4.0... Installed old-time-1.1.0.3 Building mtlparse-0.1.4.0... Installed mtlparse-0.1.4.0 Configuring regexpr-0.5.4... Building regexpr-0.5.4... Installed text-1.2.2.1 Configuring parsec-3.1.11... Building parsec-3.1.11... Installed regexpr-0.5.4 Installed parsec-3.1.11 Configuring hledger-lib-0.14... Building hledger-lib-0.14... Failed to install hledger-lib-0.14 Build log ( /home/builder/.cabal/logs/hledger-lib-0.14.log ): cabal: Entering directory '/tmp/cabal-tmp-29407/hledger-lib-0.14' Configuring hledger-lib-0.14... Building hledger-lib-0.14... Preprocessing library hledger-lib-0.14... [ 1 of 18] Compiling Hledger.Data.Utils ( Hledger/Data/Utils.hs, dist/build/Hledger/Data/Utils.o ) [ 2 of 18] Compiling Hledger.Data.UTF8 ( Hledger/Data/UTF8.hs, dist/build/Hledger/Data/UTF8.o ) Hledger/Data/UTF8.hs:77:12: warning: [-Wdeprecations] In the use of ‘putStrLn’ (imported from Data.ByteString.Lazy): Deprecated: "Use Data.ByteString.Lazy.Char8.putStrLn instead. (Functions that rely on ASCII encodings belong in Data.ByteString.Lazy.Char8)" [ 3 of 18] Compiling Hledger.Data.Types ( Hledger/Data/Types.hs, dist/build/Hledger/Data/Types.o ) Hledger/Data/Types.hs:35:1: warning: [-Wdeprecations] Module ‘Control.Monad.Error’ is deprecated: Use Control.Monad.Except instead Hledger/Data/Types.hs:169:22: 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" Hledger/Data/Types.hs:175:58: 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" [ 4 of 18] Compiling Hledger.Data.Dates ( Hledger/Data/Dates.hs, dist/build/Hledger/Data/Dates.o ) Hledger/Data/Dates.hs:36:23: error: Ambiguous occurrence ‘defaultTimeLocale’ It could refer to either ‘Data.Time.Format.defaultTimeLocale’, imported from ‘Data.Time.Format’ at Hledger/Data/Dates.hs:26:1-23 (and originally defined in ‘time-1.6.0.1:Data.Time.Format.Locale’) or ‘System.Locale.defaultTimeLocale’, imported from ‘System.Locale’ at Hledger/Data/Dates.hs:29:23-39 Hledger/Data/Dates.hs:252:15: error: Ambiguous occurrence ‘defaultTimeLocale’ It could refer to either ‘Data.Time.Format.defaultTimeLocale’, imported from ‘Data.Time.Format’ at Hledger/Data/Dates.hs:26:1-23 (and originally defined in ‘time-1.6.0.1:Data.Time.Format.Locale’) or ‘System.Locale.defaultTimeLocale’, imported from ‘System.Locale’ at Hledger/Data/Dates.hs:29:23-39 Hledger/Data/Dates.hs:253:15: error: Ambiguous occurrence ‘defaultTimeLocale’ It could refer to either ‘Data.Time.Format.defaultTimeLocale’, imported from ‘Data.Time.Format’ at Hledger/Data/Dates.hs:26:1-23 (and originally defined in ‘time-1.6.0.1:Data.Time.Format.Locale’) or ‘System.Locale.defaultTimeLocale’, imported from ‘System.Locale’ at Hledger/Data/Dates.hs:29:23-39 Hledger/Data/Dates.hs:259:16: error: Ambiguous occurrence ‘defaultTimeLocale’ It could refer to either ‘Data.Time.Format.defaultTimeLocale’, imported from ‘Data.Time.Format’ at Hledger/Data/Dates.hs:26:1-23 (and originally defined in ‘time-1.6.0.1:Data.Time.Format.Locale’) or ‘System.Locale.defaultTimeLocale’, imported from ‘System.Locale’ at Hledger/Data/Dates.hs:29:23-39 Hledger/Data/Dates.hs:260:16: error: Ambiguous occurrence ‘defaultTimeLocale’ It could refer to either ‘Data.Time.Format.defaultTimeLocale’, imported from ‘Data.Time.Format’ at Hledger/Data/Dates.hs:26:1-23 (and originally defined in ‘time-1.6.0.1:Data.Time.Format.Locale’) or ‘System.Locale.defaultTimeLocale’, imported from ‘System.Locale’ at Hledger/Data/Dates.hs:29:23-39 Hledger/Data/Dates.hs:276:53: error: Ambiguous occurrence ‘defaultTimeLocale’ It could refer to either ‘Data.Time.Format.defaultTimeLocale’, imported from ‘Data.Time.Format’ at Hledger/Data/Dates.hs:26:1-23 (and originally defined in ‘time-1.6.0.1:Data.Time.Format.Locale’) or ‘System.Locale.defaultTimeLocale’, imported from ‘System.Locale’ at Hledger/Data/Dates.hs:29:23-39 Hledger/Data/Dates.hs:378:55: error: Ambiguous occurrence ‘months’ It could refer to either ‘Data.Time.Format.months’, imported from ‘Data.Time.Format’ at Hledger/Data/Dates.hs:26:1-23 (and originally defined in ‘time-1.6.0.1:Data.Time.Format.Locale’) or ‘Hledger.Data.Dates.months’, defined at Hledger/Data/Dates.hs:372:1 Hledger/Data/Dates.hs:383:36: error: Ambiguous occurrence ‘months’ It could refer to either ‘Data.Time.Format.months’, imported from ‘Data.Time.Format’ at Hledger/Data/Dates.hs:26:1-23 (and originally defined in ‘time-1.6.0.1:Data.Time.Format.Locale’) or ‘Hledger.Data.Dates.months’, defined at Hledger/Data/Dates.hs:372:1 cabal: Leaving directory '/tmp/cabal-tmp-29407/hledger-lib-0.14' cabal: Error: some packages failed to install: hledger-interest-1.1 depends on hledger-lib-0.14 which failed to install. hledger-lib-0.14 failed during the building phase. The exception was: ExitFailure 1