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 blaze-builder-0.4.1.0 Configuring clock-0.7.2... Installed base-compat-0.10.1 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-0.4.0... Building parser-combinators-0.4.0... Installed parser-combinators-0.4.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.5... Building extra-1.6.5... Installed extra-1.6.5 Configuring ansi-terminal-0.8.0.2... Building ansi-terminal-0.8.0.2... Installed ansi-terminal-0.8.0.2 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... Building data-default-instances-old-locale-0.0.1... Installed data-default-instances-old-locale-0.0.1 Configuring megaparsec-6.5.0... Building megaparsec-6.5.0... Installed haskell-lexer-1.0.1 Configuring data-default-0.7.1.1... Building data-default-0.7.1.1... Installed data-default-0.7.1.1 Configuring pretty-show-1.7... Building pretty-show-1.7... Installed pretty-show-1.7 Installed megaparsec-6.5.0 Configuring hledger-lib-1.9... Building hledger-lib-1.9... Failed to install hledger-lib-1.9 Build log ( /home/builder/.cabal/logs/ghc-8.2.2/hledger-lib-1.9-8am2C3BB3WC9TsiQFrS8m4.log ): cabal: Entering directory '/tmp/cabal-tmp-31114/hledger-lib-1.9' Configuring hledger-lib-1.9... Preprocessing library for hledger-lib-1.9.. Building library for hledger-lib-1.9.. [ 1 of 45] Compiling Hledger.Utils.Color ( Hledger/Utils/Color.hs, dist/build/Hledger/Utils/Color.o ) [ 2 of 45] Compiling Hledger.Utils.Test ( Hledger/Utils/Test.hs, dist/build/Hledger/Utils/Test.o ) [ 3 of 45] Compiling Hledger.Utils.UTF8IOCompat ( Hledger/Utils/UTF8IOCompat.hs, dist/build/Hledger/Utils/UTF8IOCompat.o ) [ 4 of 45] Compiling Hledger.Utils.Regex ( Hledger/Utils/Regex.hs, dist/build/Hledger/Utils/Regex.o ) [ 5 of 45] Compiling Hledger.Utils.Tree ( Hledger/Utils/Tree.hs, dist/build/Hledger/Utils/Tree.o ) [ 6 of 45] Compiling Hledger.Data.Types ( Hledger/Data/Types.hs, dist/build/Hledger/Data/Types.o ) [ 7 of 45] Compiling Hledger.Data.Period ( Hledger/Data/Period.hs, dist/build/Hledger/Data/Period.o ) [ 8 of 45] Compiling Paths_hledger_lib ( dist/build/autogen/Paths_hledger_lib.hs, dist/build/Paths_hledger_lib.o ) [ 9 of 45] Compiling Text.Megaparsec.Compat ( Text/Megaparsec/Compat.hs, dist/build/Text/Megaparsec/Compat.o ) [10 of 45] Compiling Hledger.Utils.Parse ( Hledger/Utils/Parse.hs, dist/build/Hledger/Utils/Parse.o ) [11 of 45] Compiling Hledger.Utils.String ( Hledger/Utils/String.hs, dist/build/Hledger/Utils/String.o ) [12 of 45] Compiling Hledger.Utils.Text ( Hledger/Utils/Text.hs, dist/build/Hledger/Utils/Text.o ) [13 of 45] Compiling Hledger.Utils.Debug ( Hledger/Utils/Debug.hs, dist/build/Hledger/Utils/Debug.o ) [14 of 45] Compiling Hledger.Utils ( Hledger/Utils.hs, dist/build/Hledger/Utils.o ) [15 of 45] Compiling Hledger.Data.RawOptions ( Hledger/Data/RawOptions.hs, dist/build/Hledger/Data/RawOptions.o ) [16 of 45] Compiling Hledger.Data.Commodity ( Hledger/Data/Commodity.hs, dist/build/Hledger/Data/Commodity.o ) [17 of 45] Compiling Hledger.Data.Amount ( Hledger/Data/Amount.hs, dist/build/Hledger/Data/Amount.o ) [18 of 45] Compiling Hledger.Data.AccountName ( Hledger/Data/AccountName.hs, dist/build/Hledger/Data/AccountName.o ) [19 of 45] Compiling Hledger.Data.StringFormat ( Hledger/Data/StringFormat.hs, dist/build/Hledger/Data/StringFormat.o ) [20 of 45] Compiling Hledger.Data.Dates ( Hledger/Data/Dates.hs, dist/build/Hledger/Data/Dates.o ) [21 of 45] Compiling Hledger.Data.Posting ( Hledger/Data/Posting.hs, dist/build/Hledger/Data/Posting.o ) [22 of 45] Compiling Hledger.Data.Transaction ( Hledger/Data/Transaction.hs, dist/build/Hledger/Data/Transaction.o ) [23 of 45] Compiling Hledger.Query ( Hledger/Query.hs, dist/build/Hledger/Query.o ) [24 of 45] Compiling Hledger.Data.Timeclock ( Hledger/Data/Timeclock.hs, dist/build/Hledger/Data/Timeclock.o ) [25 of 45] Compiling Hledger.Data.Account ( Hledger/Data/Account.hs, dist/build/Hledger/Data/Account.o ) [26 of 45] Compiling Hledger.Data.MarketPrice ( Hledger/Data/MarketPrice.hs, dist/build/Hledger/Data/MarketPrice.o ) [27 of 45] Compiling Hledger.Data.Journal ( Hledger/Data/Journal.hs, dist/build/Hledger/Data/Journal.o ) [28 of 45] Compiling Hledger.Data.Ledger ( Hledger/Data/Ledger.hs, dist/build/Hledger/Data/Ledger.o ) [29 of 45] Compiling Hledger.Data.AutoTransaction ( Hledger/Data/AutoTransaction.hs, dist/build/Hledger/Data/AutoTransaction.o ) [30 of 45] Compiling Hledger.Data ( Hledger/Data.hs, dist/build/Hledger/Data.o ) [31 of 45] Compiling Hledger.Reports.ReportOptions ( Hledger/Reports/ReportOptions.hs, dist/build/Hledger/Reports/ReportOptions.o ) [32 of 45] Compiling Hledger.Reports.TransactionsReports ( Hledger/Reports/TransactionsReports.hs, dist/build/Hledger/Reports/TransactionsReports.o ) [33 of 45] Compiling Hledger.Reports.PostingsReport ( Hledger/Reports/PostingsReport.hs, dist/build/Hledger/Reports/PostingsReport.o ) [34 of 45] Compiling Hledger.Reports.EntriesReport ( Hledger/Reports/EntriesReport.hs, dist/build/Hledger/Reports/EntriesReport.o ) [35 of 45] Compiling Hledger.Reports.BalanceHistoryReport ( Hledger/Reports/BalanceHistoryReport.hs, dist/build/Hledger/Reports/BalanceHistoryReport.o ) [36 of 45] Compiling Hledger.Read.Common ( Hledger/Read/Common.hs, dist/build/Hledger/Read/Common.o ) Hledger/Read/Common.hs:896: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 | 896 | Right d -> return ("date"<>n, d) | ^^ cabal: Leaving directory '/tmp/cabal-tmp-31114/hledger-lib-1.9' cabal: Error: some packages failed to install: hledger-lib-1.9-8am2C3BB3WC9TsiQFrS8m4 failed during the building phase. The exception was: ExitFailure 1