The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build SwiftBeanCountCLI, reference main (a890d8), with Swift 5.10 for Linux on 3 Jun 2025 08:14:53 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Nef10/SwiftBeanCountCLI.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/Nef10/SwiftBeanCountCLI
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at a890d87 Bump SwiftLint to 0.59.1
Cloned https://github.com/Nef10/SwiftBeanCountCLI.git
Revision (git rev-parse @):
a890d870f9cc92fcfb9026ef547fb314c3b3c92a
SUCCESS checkout https://github.com/Nef10/SwiftBeanCountCLI.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/Nef10/SwiftBeanCountCLI.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:aa1999fda62728f989ec9f885e6a69f8a206ad63b6efcfc03397a00c96f5855b
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
Fetching https://github.com/Nef10/SwiftBeanCountParser.git
Fetching https://github.com/Nef10/SwiftBeanCountModel.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/Nef10/SwiftBeanCountTax.git
[1/1196] Fetching rainbow
[157/3388] Fetching rainbow, swiftbeancountparser
[3389/4317] Fetching rainbow, swiftbeancountparser, swiftytexttable
[4318/7677] Fetching rainbow, swiftbeancountparser, swiftytexttable, swiftbeancountmodel
[5528/8208] Fetching rainbow, swiftbeancountparser, swiftytexttable, swiftbeancountmodel, swiftbeancounttax
Fetched https://github.com/Nef10/SwiftBeanCountTax.git from cache (0.38s)
Fetched https://github.com/Nef10/SwiftBeanCountModel.git from cache (0.38s)
[1/15380] Fetching swift-argument-parser
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (0.88s)
Fetched https://github.com/onevcat/Rainbow from cache (0.88s)
Fetched https://github.com/Nef10/SwiftBeanCountParser.git from cache (0.88s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.88s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.1.0 (0.91s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (0.36s)
Computing version for https://github.com/Nef10/SwiftBeanCountTax.git
Computed https://github.com/Nef10/SwiftBeanCountTax.git at 0.0.4 (0.36s)
Computing version for https://github.com/Nef10/SwiftBeanCountParser.git
Computed https://github.com/Nef10/SwiftBeanCountParser.git at 0.1.8 (0.36s)
Computing version for https://github.com/Nef10/SwiftBeanCountModel.git
Computed https://github.com/Nef10/SwiftBeanCountModel.git at 0.1.6 (0.36s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (0.33s)
Creating working copy for https://github.com/scottrhoyt/SwiftyTextTable.git
Working copy of https://github.com/scottrhoyt/SwiftyTextTable.git resolved at 0.9.0
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.1.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.1
Creating working copy for https://github.com/Nef10/SwiftBeanCountTax.git
Working copy of https://github.com/Nef10/SwiftBeanCountTax.git resolved at 0.0.4
Creating working copy for https://github.com/Nef10/SwiftBeanCountParser.git
Working copy of https://github.com/Nef10/SwiftBeanCountParser.git resolved at 0.1.8
Creating working copy for https://github.com/Nef10/SwiftBeanCountModel.git
Working copy of https://github.com/Nef10/SwiftBeanCountModel.git resolved at 0.1.6
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/20] Write sources
[9/20] Write swift-version-24593BA9C3E375BF.txt
[11/53] Compiling Rainbow StringGenerator.swift
[12/54] Compiling Rainbow String+Rainbow.swift
[13/54] Compiling Rainbow Style.swift
[14/54] Emitting module ArgumentParserToolInfo
[15/54] Compiling ArgumentParserToolInfo ToolInfo.swift
[16/55] Wrapping AST for ArgumentParserToolInfo for debugging
[18/93] Compiling ArgumentParser UsageGenerator.swift
[19/93] Compiling ArgumentParser ArgumentVisibility.swift
[20/93] Compiling ArgumentParser BashCompletionsGenerator.swift
[21/93] Compiling ArgumentParser CompletionsGenerator.swift
[22/93] Compiling ArgumentParser FishCompletionsGenerator.swift
[23/93] Compiling Rainbow OutputTarget.swift
[24/95] Compiling ArgumentParser ParsableCommand.swift
[25/95] Compiling ArgumentParser ArgumentDecoder.swift
[26/95] Compiling ArgumentParser DumpHelpGenerator.swift
[27/95] Compiling ArgumentParser HelpCommand.swift
[29/95] Compiling ArgumentParser HelpGenerator.swift
[31/95] Compiling ArgumentParser MessageInfo.swift
[32/95] Compiling ArgumentParser Argument.swift
[33/95] Compiling ArgumentParser ArgumentHelp.swift
[34/95] Emitting module Rainbow
[35/95] Compiling Rainbow Rainbow.swift
[37/95] Compiling ArgumentParser ZshCompletionsGenerator.swift
[38/96] Compiling ArgumentParser ExpressibleByArgument.swift
[39/96] Compiling ArgumentParser ParsableArguments.swift
[40/96] Compiling ArgumentParser ParsableArgumentsValidation.swift
[41/96] Emitting module ArgumentParser
[42/101] Emitting module SwiftyTextTable
[43/101] Compiling SwiftyTextTable TextTable.swift
[44/101] Emitting module SwiftBeanCountModel
[50/102] Compiling SwiftBeanCountModel TransactionPosting.swift
[51/102] Compiling SwiftBeanCountModel ValidationResult.swift
[51/102] Wrapping AST for Rainbow for debugging
[53/103] Wrapping AST for SwiftyTextTable for debugging
[60/103] Wrapping AST for SwiftBeanCountModel for debugging
[62/119] Compiling SwiftBeanCountParser String.swift
[63/119] Compiling SwiftBeanCountParser DateParser.swift
[64/119] Compiling SwiftBeanCountParser EventParser.swift
[65/119] Compiling SwiftBeanCountParser MetaDataParser.swift
[66/119] Compiling SwiftBeanCountParser OptionParser.swift
[67/124] Compiling ArgumentParser CollectionExtensions.swift
[68/124] Compiling ArgumentParser Platform.swift
[69/124] Compiling ArgumentParser SequenceExtensions.swift
[70/124] Compiling ArgumentParser StringExtensions.swift
[71/124] Compiling ArgumentParser Tree.swift
[72/124] Emitting module SwiftBeanCountParser
[73/126] Compiling SwiftBeanCountParser Collection.swift
[75/126] Emitting module SwiftBeanCountTax
[76/126] Compiling SwiftBeanCountParser PluginParser.swift
[77/126] Compiling SwiftBeanCountParser PostingParser.swift
[80/126] Compiling SwiftBeanCountParser Parser.swift
[81/126] Compiling SwiftBeanCountParser ParserUtils.swift
[82/126] Compiling SwiftBeanCountParser PriceParser.swift
[84/126] Compiling SwiftBeanCountParser TransactionMetaDataParser.swift
[88/126] Compiling ArgumentParser Flag.swift
[89/126] Compiling ArgumentParser NameSpecification.swift
[90/126] Compiling ArgumentParser Option.swift
[91/126] Compiling ArgumentParser Name.swift
[92/126] Compiling ArgumentParser Parsed.swift
[93/126] Compiling ArgumentParser ParsedValues.swift
[94/126] Compiling ArgumentParser ParserError.swift
[95/126] Compiling ArgumentParser SplitArguments.swift
[96/126] Compiling ArgumentParser OptionGroup.swift
[97/126] Compiling ArgumentParser AsyncParsableCommand.swift
[98/126] Compiling ArgumentParser CommandConfiguration.swift
[99/126] Compiling ArgumentParser CommandGroup.swift
[100/126] Compiling ArgumentParser EnumerableFlag.swift
[101/126] Compiling ArgumentParser ArgumentDefinition.swift
[102/126] Compiling ArgumentParser ArgumentSet.swift
[103/126] Compiling ArgumentParser CommandParser.swift
[104/126] Compiling ArgumentParser InputKey.swift
[105/126] Compiling ArgumentParser InputOrigin.swift
[107/127] Compiling SwiftBeanCountParser AccountParser.swift
[108/127] Compiling SwiftBeanCountParser BalanceParser.swift
[109/127] Compiling SwiftBeanCountParser CommodityParser.swift
[110/127] Compiling SwiftBeanCountParser CostParser.swift
[111/127] Compiling SwiftBeanCountParser CustomsParser.swift
[112/127] Compiling SwiftBeanCountTax TaxErrors.swift
[113/127] Compiling SwiftBeanCountTax TaxSlip.swift
[119/128] Wrapping AST for ArgumentParser for debugging
[121/128] Wrapping AST for SwiftBeanCountParser for debugging
[123/128] Compiling SwiftBeanCountTax Sale.swift
[124/128] Compiling SwiftBeanCountTax TaxCalculator.swift
[125/129] Wrapping AST for SwiftBeanCountTax for debugging
[127/138] Emitting module SwiftBeanCountCLI
[128/138] Compiling SwiftBeanCountCLI ColorizedCommand.swift
[129/138] Compiling SwiftBeanCountCLI FormattableCommand.swift
[130/139] Compiling SwiftBeanCountCLI Check.swift
[131/139] Compiling SwiftBeanCountCLI Stats.swift
[132/139] Compiling SwiftBeanCountCLI TaxSlips.swift
[133/139] Compiling SwiftBeanCountCLI SwiftBeanCountCLI.swift
[134/139] Compiling SwiftBeanCountCLI LedgerCommand.swift
[135/139] Compiling SwiftBeanCountCLI FormattableLedgerCommand.swift
[136/139] Compiling SwiftBeanCountCLI Accounts.swift
/host/spi-builder-workspace/Sources/SwiftBeanCountCLI/SubCommands/Accounts.swift:58:49: error: cannot infer key path type from context; consider explicitly specifying a root type
                let dates = allDates.compactMap(\.self).sorted(by: >)
                                                ^
                                                 <#Root#>
error: fatalError
BUILD FAILURE 5.10 linux