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 (b3af12), with Swift 5.10 for Linux on 8 Sep 2025 09:43:05 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.67.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 b3af126 Bump swiftlint to 0.61.0
Cloned https://github.com/Nef10/SwiftBeanCountCLI.git
Revision (git rev-parse @):
b3af126c2f3c7bd5251b448cbb87bff85b866428
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-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:f746aad7c5ec38b8c4300eda0f2f0c9a0b77dcddb8dbf0ff5a0c28d11b933b5b
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/Nef10/SwiftBeanCountTax.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
Fetching https://github.com/Nef10/SwiftBeanCountParser.git
Fetching https://github.com/Nef10/SwiftBeanCountModel.git
[1/3660] Fetching swiftbeancountmodel
[770/4589] Fetching swiftbeancountmodel, swiftytexttable
[780/5171] Fetching swiftbeancountmodel, swiftytexttable, swiftbeancounttax
[1599/7497] Fetching swiftbeancountmodel, swiftytexttable, swiftbeancounttax, swiftbeancountparser
[2607/8832] Fetching swiftbeancountmodel, swiftytexttable, swiftbeancounttax, swiftbeancountparser, rainbow
[8016/24524] Fetching swiftbeancountmodel, swiftytexttable, swiftbeancounttax, swiftbeancountparser, rainbow, swift-argument-parser
Fetched https://github.com/onevcat/Rainbow from cache (2.72s)
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (2.72s)
Fetched https://github.com/Nef10/SwiftBeanCountTax.git from cache (2.72s)
Fetched https://github.com/apple/swift-argument-parser from cache (2.74s)
Fetched https://github.com/Nef10/SwiftBeanCountModel.git from cache (2.79s)
Fetched https://github.com/Nef10/SwiftBeanCountParser.git from cache (2.81s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.2.0 (0.94s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (0.40s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.1 (0.38s)
Computing version for https://github.com/Nef10/SwiftBeanCountTax.git
Computed https://github.com/Nef10/SwiftBeanCountTax.git at 0.0.4 (0.37s)
Computing version for https://github.com/Nef10/SwiftBeanCountParser.git
Computed https://github.com/Nef10/SwiftBeanCountParser.git at 0.1.8 (0.38s)
Computing version for https://github.com/Nef10/SwiftBeanCountModel.git
Computed https://github.com/Nef10/SwiftBeanCountModel.git at 0.1.6 (0.48s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.1
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/scottrhoyt/SwiftyTextTable.git
Working copy of https://github.com/scottrhoyt/SwiftyTextTable.git resolved at 0.9.0
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/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.2.0
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 GenerateDoccReference
[2/2] Compiling plugin GenerateManual
Building for debugging...
[2/21] Write sources
[10/21] Write swift-version-24593BA9C3E375BF.txt
[12/58] Emitting module Rainbow
[13/59] Compiling Rainbow StringGenerator.swift
[14/59] Compiling Rainbow Style.swift
[15/59] Emitting module ArgumentParserToolInfo
[16/59] Compiling ArgumentParserToolInfo ToolInfo.swift
[17/60] Wrapping AST for ArgumentParserToolInfo for debugging
[19/104] Compiling ArgumentParser NameSpecification.swift
[20/104] Compiling ArgumentParser Option.swift
[21/104] Compiling ArgumentParser ZshCompletionsGenerator.swift
[22/104] Compiling ArgumentParser Argument.swift
[23/104] Compiling ArgumentParser ArgumentDiscussion.swift
[24/104] Compiling ArgumentParser ArgumentHelp.swift
[25/104] Compiling ArgumentParser ArgumentVisibility.swift
[26/104] Compiling ArgumentParser CompletionKind.swift
[27/104] Compiling ArgumentParser SplitArguments.swift
[28/104] Compiling ArgumentParser DumpHelpGenerator.swift
[29/104] Emitting module SwiftBeanCountModel
[30/104] Compiling ArgumentParser Errors.swift
[31/104] Compiling ArgumentParser Flag.swift
[32/104] Compiling ArgumentParser BashCompletionsGenerator.swift
[33/104] Compiling ArgumentParser CompletionsGenerator.swift
[34/104] Compiling ArgumentParser FishCompletionsGenerator.swift
[43/106] Compiling ArgumentParser HelpCommand.swift
[44/106] Compiling ArgumentParser HelpGenerator.swift
[49/106] Emitting module SwiftyTextTable
[50/106] Compiling SwiftyTextTable TextTable.swift
[51/107] Compiling Rainbow StyledStringBuilder.swift
[53/108] Compiling ArgumentParser OptionGroup.swift
[54/108] Compiling ArgumentParser AsyncParsableCommand.swift
[55/108] Compiling ArgumentParser CommandConfiguration.swift
[56/108] Compiling ArgumentParser CommandGroup.swift
[57/108] Compiling ArgumentParser EnumerableFlag.swift
[58/108] Compiling ArgumentParser ExpressibleByArgument.swift
[59/108] Compiling ArgumentParser CollectionExtensions.swift
[60/108] Compiling ArgumentParser Mutex.swift
[61/108] Compiling ArgumentParser Platform.swift
[62/108] Compiling ArgumentParser SequenceExtensions.swift
[63/108] Compiling ArgumentParser StringExtensions.swift
[64/108] Compiling ArgumentParser SwiftExtensions.swift
[66/114] Compiling SwiftBeanCountModel TransactionPosting.swift
[67/114] Compiling SwiftBeanCountModel ValidationResult.swift
[68/115] Wrapping AST for SwiftyTextTable for debugging
[69/116] Wrapping AST for SwiftBeanCountModel for debugging
[70/116] Wrapping AST for Rainbow for debugging
[72/136] Compiling SwiftBeanCountParser Collection.swift
[73/136] Compiling SwiftBeanCountParser String.swift
[74/136] Compiling SwiftBeanCountParser Parser.swift
[75/136] Compiling SwiftBeanCountParser ParserUtils.swift
[76/136] Compiling SwiftBeanCountParser MetaDataParser.swift
[77/136] Compiling SwiftBeanCountParser OptionParser.swift
[78/136] Compiling SwiftBeanCountParser AccountParser.swift
[79/136] Compiling SwiftBeanCountParser BalanceParser.swift
[80/136] Compiling SwiftBeanCountParser CommodityParser.swift
[81/136] Compiling SwiftBeanCountParser CostParser.swift
[82/136] Compiling SwiftBeanCountParser CustomsParser.swift
[83/136] Compiling SwiftBeanCountParser DateParser.swift
[84/136] Compiling SwiftBeanCountParser EventParser.swift
[89/138] Emitting module SwiftBeanCountParser
[93/138] Compiling SwiftBeanCountParser PluginParser.swift
[94/138] Compiling SwiftBeanCountParser PostingParser.swift
[95/138] Compiling ArgumentParser Tree.swift
[96/138] Compiling ArgumentParser CodingKeyValidator.swift
[97/138] Compiling ArgumentParser NonsenseFlagsValidator.swift
[98/138] Compiling ArgumentParser ParsableArgumentsValidation.swift
[99/138] Compiling ArgumentParser PositionalArgumentsValidator.swift
[100/138] Compiling ArgumentParser UniqueNamesValidator.swift
[101/138] Compiling SwiftBeanCountParser PriceParser.swift
[102/138] Compiling SwiftBeanCountParser TransactionMetaDataParser.swift
[105/138] Compiling SwiftBeanCountTax TaxErrors.swift
[106/138] Compiling SwiftBeanCountTax TaxSlip.swift
[112/139] Compiling SwiftBeanCountTax Sale.swift
[113/139] Emitting module SwiftBeanCountTax
[114/139] Compiling SwiftBeanCountTax TaxCalculator.swift
[115/140] Compiling ArgumentParser InputKey.swift
[116/140] Compiling ArgumentParser InputOrigin.swift
[117/140] Compiling ArgumentParser Name.swift
[118/140] Compiling ArgumentParser Parsed.swift
[119/140] Compiling ArgumentParser ParsedValues.swift
[120/140] Compiling ArgumentParser ParserError.swift
[127/140] Wrapping AST for SwiftBeanCountParser for debugging
[128/140] Wrapping AST for SwiftBeanCountTax for debugging
[130/140] Emitting module ArgumentParser
[131/140] Compiling ArgumentParser ParsableArguments.swift
[132/140] Compiling ArgumentParser ParsableCommand.swift
[133/140] Compiling ArgumentParser ArgumentDecoder.swift
[134/140] Compiling ArgumentParser ArgumentDefinition.swift
[135/140] Compiling ArgumentParser ArgumentSet.swift
[136/140] Compiling ArgumentParser CommandParser.swift
[137/141] Wrapping AST for ArgumentParser for debugging
[139/150] Compiling SwiftBeanCountCLI Check.swift
[140/151] Compiling SwiftBeanCountCLI FormattableLedgerCommand.swift
[141/151] Emitting module SwiftBeanCountCLI
[142/151] Compiling SwiftBeanCountCLI Stats.swift
[143/151] Compiling SwiftBeanCountCLI TaxSlips.swift
[144/151] Compiling SwiftBeanCountCLI SwiftBeanCountCLI.swift
[145/151] Compiling SwiftBeanCountCLI ColorizedCommand.swift
[146/151] Compiling SwiftBeanCountCLI FormattableCommand.swift
[147/151] Compiling SwiftBeanCountCLI LedgerCommand.swift
[148/151] 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