Resolving dependencies... Configuring Decimal-0.5.1... Configuring base-compat-0.10.1... Building Decimal-0.5.1... Building base-compat-0.10.1... Installed Decimal-0.5.1 Configuring blaze-builder-0.4.1.0... Building blaze-builder-0.4.1.0... Installed base-compat-0.10.1 Configuring clock-0.7.2... Installed blaze-builder-0.4.1.0 Configuring cmdargs-0.10.20... Building clock-0.7.2... Building cmdargs-0.10.20... Installed clock-0.7.2 Configuring colour-2.3.4... Building colour-2.3.4... Installed colour-2.3.4 Configuring csv-0.1.2... Building csv-0.1.2... Installed csv-0.1.2 Configuring data-default-class-0.1.2.0... Building data-default-class-0.1.2.0... Installed data-default-class-0.1.2.0 Configuring dlist-0.8.0.4... Building dlist-0.8.0.4... Installed dlist-0.8.0.4 Configuring hashtables-1.2.3.0... Building hashtables-1.2.3.0... Installed cmdargs-0.10.20 Configuring haskell-lexer-1.0.1... Building haskell-lexer-1.0.1... Installed hashtables-1.2.3.0 Configuring mtl-compat-0.2.1.3... Building mtl-compat-0.2.1.3... Installed mtl-compat-0.2.1.3 Configuring old-locale-1.0.0.7... Building old-locale-1.0.0.7... Installed old-locale-1.0.0.7 Configuring parser-combinators-1.0.0... Building parser-combinators-1.0.0... Installed parser-combinators-1.0.0 Configuring regex-tdfa-1.2.3... Building regex-tdfa-1.2.3... Installed regex-tdfa-1.2.3 Configuring safe-0.3.17... Building safe-0.3.17... Installed safe-0.3.17 Configuring uglymemo-0.1.0.1... Building uglymemo-0.1.0.1... Installed uglymemo-0.1.0.1 Configuring utf8-string-1.0.1.1... Building utf8-string-1.0.1.1... Installed utf8-string-1.0.1.1 Configuring blaze-markup-0.8.2.1... Building blaze-markup-0.8.2.1... Installed blaze-markup-0.8.2.1 Configuring extra-1.6.6... Building extra-1.6.6... Installed extra-1.6.6 Configuring ansi-terminal-0.8.0.4... Building ansi-terminal-0.8.0.4... Installed ansi-terminal-0.8.0.4 Configuring tabular-0.2.2.7... Building tabular-0.2.2.7... Installed tabular-0.2.2.7 Configuring data-default-instances-containers-0.0.1... Building data-default-instances-containers-0.0.1... Installed data-default-instances-containers-0.0.1 Configuring data-default-instances-dlist-0.0.1... Building data-default-instances-dlist-0.0.1... Installed data-default-instances-dlist-0.0.1 Configuring old-time-1.1.0.3... Building old-time-1.1.0.3... Installed old-time-1.1.0.3 Configuring data-default-instances-old-locale-0.0.1... Installed haskell-lexer-1.0.1 Configuring megaparsec-6.5.0... Building data-default-instances-old-locale-0.0.1... Building megaparsec-6.5.0... Installed data-default-instances-old-locale-0.0.1 Configuring pretty-show-1.7... Building pretty-show-1.7... Installed pretty-show-1.7 Configuring data-default-0.7.1.1... Building data-default-0.7.1.1... Installed data-default-0.7.1.1 Installed megaparsec-6.5.0 Configuring hledger-lib-1.9.1... Building hledger-lib-1.9.1... Failed to install hledger-lib-1.9.1 Build log ( /home/builder/.cabal/logs/ghc-8.2.2/hledger-lib-1.9.1-KCW2xhcBwG0HsPLft3RBfJ.log ): cabal: Entering directory '/tmp/cabal-tmp-24581/hledger-lib-1.9.1' Configuring hledger-lib-1.9.1... Preprocessing library for hledger-lib-1.9.1.. Building library for hledger-lib-1.9.1.. [ 1 of 48] Compiling Hledger.Utils.Color ( Hledger/Utils/Color.hs, dist/build/Hledger/Utils/Color.o ) [ 2 of 48] Compiling Hledger.Utils.Test ( Hledger/Utils/Test.hs, dist/build/Hledger/Utils/Test.o ) [ 3 of 48] Compiling Hledger.Utils.UTF8IOCompat ( Hledger/Utils/UTF8IOCompat.hs, dist/build/Hledger/Utils/UTF8IOCompat.o ) [ 4 of 48] Compiling Hledger.Utils.Regex ( Hledger/Utils/Regex.hs, dist/build/Hledger/Utils/Regex.o ) [ 5 of 48] Compiling Hledger.Utils.Tree ( Hledger/Utils/Tree.hs, dist/build/Hledger/Utils/Tree.o ) [ 6 of 48] Compiling Hledger.Data.Types ( Hledger/Data/Types.hs, dist/build/Hledger/Data/Types.o ) [ 7 of 48] Compiling Hledger.Data.Period ( Hledger/Data/Period.hs, dist/build/Hledger/Data/Period.o ) [ 8 of 48] Compiling Paths_hledger_lib ( dist/build/autogen/Paths_hledger_lib.hs, dist/build/Paths_hledger_lib.o ) [ 9 of 48] Compiling Text.Megaparsec.Compat ( Text/Megaparsec/Compat.hs, dist/build/Text/Megaparsec/Compat.o ) [10 of 48] Compiling Hledger.Utils.Parse ( Hledger/Utils/Parse.hs, dist/build/Hledger/Utils/Parse.o ) [11 of 48] Compiling Hledger.Utils.String ( Hledger/Utils/String.hs, dist/build/Hledger/Utils/String.o ) [12 of 48] Compiling Hledger.Utils.Text ( Hledger/Utils/Text.hs, dist/build/Hledger/Utils/Text.o ) [13 of 48] Compiling Hledger.Utils.Debug ( Hledger/Utils/Debug.hs, dist/build/Hledger/Utils/Debug.o ) [14 of 48] Compiling Hledger.Utils ( Hledger/Utils.hs, dist/build/Hledger/Utils.o ) [15 of 48] Compiling Hledger.Data.RawOptions ( Hledger/Data/RawOptions.hs, dist/build/Hledger/Data/RawOptions.o ) [16 of 48] Compiling Hledger.Data.Commodity ( Hledger/Data/Commodity.hs, dist/build/Hledger/Data/Commodity.o ) [17 of 48] Compiling Hledger.Data.Amount ( Hledger/Data/Amount.hs, dist/build/Hledger/Data/Amount.o ) [18 of 48] Compiling Hledger.Data.AccountName ( Hledger/Data/AccountName.hs, dist/build/Hledger/Data/AccountName.o ) [19 of 48] Compiling Hledger.Data.StringFormat ( Hledger/Data/StringFormat.hs, dist/build/Hledger/Data/StringFormat.o ) [20 of 48] Compiling Hledger.Data.Dates ( Hledger/Data/Dates.hs, dist/build/Hledger/Data/Dates.o ) [21 of 48] Compiling Hledger.Data.Posting ( Hledger/Data/Posting.hs, dist/build/Hledger/Data/Posting.o ) [22 of 48] Compiling Hledger.Data.Transaction ( Hledger/Data/Transaction.hs, dist/build/Hledger/Data/Transaction.o ) [23 of 48] Compiling Hledger.Query ( Hledger/Query.hs, dist/build/Hledger/Query.o ) [24 of 48] Compiling Hledger.Data.Timeclock ( Hledger/Data/Timeclock.hs, dist/build/Hledger/Data/Timeclock.o ) [25 of 48] Compiling Hledger.Data.Account ( Hledger/Data/Account.hs, dist/build/Hledger/Data/Account.o ) [26 of 48] Compiling Hledger.Data.MarketPrice ( Hledger/Data/MarketPrice.hs, dist/build/Hledger/Data/MarketPrice.o ) [27 of 48] Compiling Hledger.Data.Journal ( Hledger/Data/Journal.hs, dist/build/Hledger/Data/Journal.o ) [28 of 48] Compiling Hledger.Data.Ledger ( Hledger/Data/Ledger.hs, dist/build/Hledger/Data/Ledger.o ) [29 of 48] Compiling Hledger.Data.AutoTransaction ( Hledger/Data/AutoTransaction.hs, dist/build/Hledger/Data/AutoTransaction.o ) [30 of 48] Compiling Hledger.Data ( Hledger/Data.hs, dist/build/Hledger/Data.o ) [31 of 48] Compiling Hledger.Reports.ReportTypes ( Hledger/Reports/ReportTypes.hs, dist/build/Hledger/Reports/ReportTypes.o ) [32 of 48] Compiling Hledger.Reports.ReportOptions ( Hledger/Reports/ReportOptions.hs, dist/build/Hledger/Reports/ReportOptions.o ) [33 of 48] Compiling Hledger.Reports.TransactionsReports ( Hledger/Reports/TransactionsReports.hs, dist/build/Hledger/Reports/TransactionsReports.o ) [34 of 48] Compiling Hledger.Reports.PostingsReport ( Hledger/Reports/PostingsReport.hs, dist/build/Hledger/Reports/PostingsReport.o ) [35 of 48] Compiling Hledger.Reports.EntriesReport ( Hledger/Reports/EntriesReport.hs, dist/build/Hledger/Reports/EntriesReport.o ) [36 of 48] Compiling Hledger.Reports.BalanceHistoryReport ( Hledger/Reports/BalanceHistoryReport.hs, dist/build/Hledger/Reports/BalanceHistoryReport.o ) [37 of 48] Compiling Hledger.Read.Common ( Hledger/Read/Common.hs, dist/build/Hledger/Read/Common.o ) Hledger/Read/Common.hs:933:33: error: Ambiguous occurrence ‘<>’ It could refer to either ‘Prelude.Compat.<>’, imported from ‘Prelude.Compat’ at Hledger/Read/Common.hs:23:1-39 (and originally defined in ‘Data.Semigroup’) or ‘Data.Monoid.<>’, imported from ‘Data.Monoid’ at Hledger/Read/Common.hs:38:1-18 | 933 | Right d -> return ("date"<>n, d) | ^^ cabal: Leaving directory '/tmp/cabal-tmp-24581/hledger-lib-1.9.1' cabal: Error: some packages failed to install: hledger-diff-0.2.0.14-4NqCcMUa9VfE3IvnOk1hCF depends on hledger-diff-0.2.0.14 which failed to install. hledger-lib-1.9.1-KCW2xhcBwG0HsPLft3RBfJ failed during the building phase. The exception was: ExitFailure 1