The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build SwiftBeanCountCLI, reference main (cc990a), with Swift 5.9 for Linux on 16 Apr 2025 06:14:30 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.60.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 cc990af Bump swift-actions/setup-swift from 2.2.0 to 2.3.0 (#251)
Cloned https://github.com/Nef10/SwiftBeanCountCLI.git
Revision (git rev-parse @):
cc990af5402b7317bcc465c6a9799f6669673228
SUCCESS checkout https://github.com/Nef10/SwiftBeanCountCLI.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $PWD
https://github.com/Nef10/SwiftBeanCountCLI.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:93fe18f778ec94e026baa8cc68b2ae87de241b204c49ca7a3a12cf55897227aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
Fetching https://github.com/apple/swift-argument-parser
[1/929] Fetching swiftytexttable
[930/2125] Fetching swiftytexttable, rainbow
Fetching https://github.com/Nef10/SwiftBeanCountTax.git
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git (0.28s)
Fetched https://github.com/onevcat/Rainbow (0.28s)
Fetching https://github.com/Nef10/SwiftBeanCountParser.git
[1/14842] Fetching swift-argument-parser
[1931/15361] Fetching swift-argument-parser, swiftbeancounttax
[7496/17541] Fetching swift-argument-parser, swiftbeancounttax, swiftbeancountparser
Fetched https://github.com/Nef10/SwiftBeanCountTax.git (0.32s)
Fetching https://github.com/Nef10/SwiftBeanCountModel.git
[14054/17022] Fetching swift-argument-parser, swiftbeancountparser
Fetched https://github.com/Nef10/SwiftBeanCountParser.git (0.38s)
[14546/14842] Fetching swift-argument-parser
[14843/18190] Fetching swift-argument-parser, swiftbeancountmodel
Fetched https://github.com/apple/swift-argument-parser (0.98s)
[1306/3348] Fetching swiftbeancountmodel
Fetched https://github.com/Nef10/SwiftBeanCountModel.git (0.70s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.1.0 (1.67s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (0.68s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.64s)
Computing version for https://github.com/Nef10/SwiftBeanCountTax.git
Computed https://github.com/Nef10/SwiftBeanCountTax.git at 0.0.4 (0.70s)
Computing version for https://github.com/Nef10/SwiftBeanCountParser.git
Computed https://github.com/Nef10/SwiftBeanCountParser.git at 0.1.8 (0.62s)
Computing version for https://github.com/Nef10/SwiftBeanCountModel.git
Computed https://github.com/Nef10/SwiftBeanCountModel.git at 0.1.6 (0.67s)
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/Nef10/SwiftBeanCountModel.git
Working copy of https://github.com/Nef10/SwiftBeanCountModel.git resolved at 0.1.6
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/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.0
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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[2/43] Compiling Rainbow StringGenerator.swift
[3/44] Compiling Rainbow Style.swift
[4/44] Emitting module ArgumentParserToolInfo
[5/44] Compiling ArgumentParserToolInfo ToolInfo.swift
[6/45] Compiling Rainbow String+Rainbow.swift
[8/46] Wrapping AST for ArgumentParserToolInfo for debugging
[10/84] Emitting module ArgumentParser
[11/89] Emitting module Rainbow
[12/89] Compiling ArgumentParser FishCompletionsGenerator.swift
[13/89] Compiling ArgumentParser ZshCompletionsGenerator.swift
[14/89] Compiling ArgumentParser BashCompletionsGenerator.swift
[15/89] Compiling ArgumentParser CompletionsGenerator.swift
[16/89] Compiling ArgumentParser ParsableArguments.swift
[17/89] Compiling ArgumentParser ParsableArgumentsValidation.swift
[18/89] Compiling ArgumentParser Flag.swift
[19/89] Compiling ArgumentParser NameSpecification.swift
[20/91] Compiling ArgumentParser ArgumentVisibility.swift
[21/91] Compiling ArgumentParser CompletionKind.swift
[22/91] Compiling ArgumentParser Errors.swift
[24/91] Compiling ArgumentParser Argument.swift
[25/91] Compiling ArgumentParser ArgumentHelp.swift
[26/91] Compiling Rainbow Rainbow.swift
[27/91] Emitting module SwiftyTextTable
[28/91] Compiling SwiftyTextTable TextTable.swift
[29/91] Compiling ArgumentParser Option.swift
[30/91] Compiling ArgumentParser ExpressibleByArgument.swift
[31/91] Compiling ArgumentParser ParsableCommand.swift
[32/91] Compiling ArgumentParser ArgumentDecoder.swift
[35/91] Compiling Rainbow OutputTarget.swift
[36/93] Emitting module SwiftBeanCountModel
[42/95] Compiling SwiftBeanCountModel TransactionPosting.swift
[43/95] Compiling SwiftBeanCountModel ValidationResult.swift
[53/97] Wrapping AST for Rainbow for debugging
[54/97] Wrapping AST for SwiftyTextTable for debugging
[56/97] Compiling ArgumentParser CollectionExtensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:20:17: remark: '@preconcurrency' attribute on module 'Glibc' is unused
@preconcurrency import Glibc
~~~~~~~~~~~~~~~~^
[57/97] Compiling ArgumentParser Platform.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:20:17: remark: '@preconcurrency' attribute on module 'Glibc' is unused
@preconcurrency import Glibc
~~~~~~~~~~~~~~~~^
[58/97] Compiling ArgumentParser SequenceExtensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:20:17: remark: '@preconcurrency' attribute on module 'Glibc' is unused
@preconcurrency import Glibc
~~~~~~~~~~~~~~~~^
[59/97] Compiling ArgumentParser StringExtensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:20:17: remark: '@preconcurrency' attribute on module 'Glibc' is unused
@preconcurrency import Glibc
~~~~~~~~~~~~~~~~^
[60/97] Compiling ArgumentParser Tree.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:20:17: remark: '@preconcurrency' attribute on module 'Glibc' is unused
@preconcurrency import Glibc
~~~~~~~~~~~~~~~~^
[60/97] Wrapping AST for SwiftBeanCountModel for debugging
[62/118] Emitting module SwiftBeanCountParser
[63/120] Emitting module SwiftBeanCountTax
[64/120] Compiling SwiftBeanCountParser PriceParser.swift
[65/120] Compiling SwiftBeanCountParser TransactionMetaDataParser.swift
[66/120] Compiling ArgumentParser DumpHelpGenerator.swift
[67/120] Compiling ArgumentParser HelpCommand.swift
[68/120] Compiling ArgumentParser HelpGenerator.swift
[69/120] Compiling ArgumentParser MessageInfo.swift
[70/120] Compiling ArgumentParser UsageGenerator.swift
[71/120] Compiling SwiftBeanCountParser CostParser.swift
[72/120] Compiling SwiftBeanCountParser CustomsParser.swift
[73/120] Compiling SwiftBeanCountParser AccountParser.swift
[74/120] Compiling SwiftBeanCountParser BalanceParser.swift
[75/120] Compiling SwiftBeanCountParser CommodityParser.swift
[76/120] Compiling SwiftBeanCountParser PluginParser.swift
[77/120] Compiling SwiftBeanCountParser PostingParser.swift
[78/120] Compiling SwiftBeanCountParser DateParser.swift
[79/120] Compiling SwiftBeanCountParser EventParser.swift
[82/120] Compiling ArgumentParser CommandConfiguration.swift
[83/120] Compiling ArgumentParser CommandGroup.swift
[84/120] Compiling ArgumentParser EnumerableFlag.swift
[85/120] Compiling ArgumentParser Name.swift
[86/120] Compiling ArgumentParser Parsed.swift
[87/120] Compiling ArgumentParser ParsedValues.swift
[88/120] Compiling ArgumentParser ParserError.swift
[89/120] Compiling ArgumentParser SplitArguments.swift
[90/120] Compiling ArgumentParser ArgumentDefinition.swift
[91/120] Compiling ArgumentParser ArgumentSet.swift
[92/120] Compiling ArgumentParser CommandParser.swift
[93/120] Compiling ArgumentParser InputKey.swift
[94/120] Compiling ArgumentParser InputOrigin.swift
[96/120] Compiling SwiftBeanCountParser Collection.swift
[97/120] Compiling SwiftBeanCountParser String.swift
[98/120] Compiling SwiftBeanCountParser MetaDataParser.swift
[99/120] Compiling SwiftBeanCountParser OptionParser.swift
[100/120] Compiling SwiftBeanCountParser Parser.swift
[101/120] Compiling SwiftBeanCountParser ParserUtils.swift
[107/122] Compiling SwiftBeanCountTax TaxErrors.swift
[108/122] Compiling SwiftBeanCountTax TaxSlip.swift
[109/122] Wrapping AST for ArgumentParser for debugging
[118/124] Wrapping AST for SwiftBeanCountParser for debugging
[120/124] Compiling SwiftBeanCountTax Sale.swift
[121/124] Compiling SwiftBeanCountTax TaxCalculator.swift
[123/126] Wrapping AST for SwiftBeanCountTax for debugging
[125/135] Compiling SwiftBeanCountCLI LedgerCommand.swift
[126/136] Compiling SwiftBeanCountCLI FormattableLedgerCommand.swift
[127/136] Compiling SwiftBeanCountCLI SwiftBeanCountCLI.swift
[128/136] Emitting module SwiftBeanCountCLI
[129/136] Compiling SwiftBeanCountCLI ColorizedCommand.swift
[130/136] Compiling SwiftBeanCountCLI FormattableCommand.swift
[131/136] Compiling SwiftBeanCountCLI Check.swift
[132/136] Compiling SwiftBeanCountCLI Stats.swift
[133/136] Compiling SwiftBeanCountCLI TaxSlips.swift
[134/136] 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.9 linux