Build Information
Successful build of SwiftBeanCountCLI, reference main (cc990a
), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 11:57:37 UTC.
Swift 6 data race errors: 5
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Nef10/SwiftBeanCountCLI.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/Nef10/SwiftBeanCountTax.git
Fetching https://github.com/Nef10/SwiftBeanCountModel.git
Fetching https://github.com/Nef10/SwiftBeanCountParser.git
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
Fetching https://github.com/apple/swift-argument-parser from cache
[11/519] Fetching swiftbeancounttax
[69/2699] Fetching swiftbeancounttax, swiftbeancountparser
[527/3628] Fetching swiftbeancounttax, swiftbeancountparser, swiftytexttable
[625/4824] Fetching swiftbeancounttax, swiftbeancountparser, swiftytexttable, rainbow
[1262/8172] Fetching swiftbeancounttax, swiftbeancountparser, swiftytexttable, rainbow, swiftbeancountmodel
Fetched https://github.com/Nef10/SwiftBeanCountTax.git from cache (1.18s)
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (1.19s)
Fetched https://github.com/Nef10/SwiftBeanCountModel.git from cache (1.19s)
Fetched https://github.com/onevcat/Rainbow from cache (1.19s)
Fetched https://github.com/Nef10/SwiftBeanCountParser.git from cache (1.19s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.19s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.1.0 (1.92s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (0.60s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.53s)
Computing version for https://github.com/Nef10/SwiftBeanCountTax.git
Computed https://github.com/Nef10/SwiftBeanCountTax.git at 0.0.4 (0.60s)
Computing version for https://github.com/Nef10/SwiftBeanCountParser.git
Computed https://github.com/Nef10/SwiftBeanCountParser.git at 0.1.8 (0.60s)
Computing version for https://github.com/Nef10/SwiftBeanCountModel.git
Computed https://github.com/Nef10/SwiftBeanCountModel.git at 0.1.6 (0.58s)
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/SwiftBeanCountModel.git
Working copy of https://github.com/Nef10/SwiftBeanCountModel.git resolved at 0.1.6
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/SwiftBeanCountParser.git
Working copy of https://github.com/Nef10/SwiftBeanCountParser.git resolved at 0.1.8
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/scottrhoyt/SwiftyTextTable.git
Working copy of https://github.com/scottrhoyt/SwiftyTextTable.git resolved at 0.9.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "swiftbeancountcli",
"name": "SwiftBeanCountCLI",
"url": "https://github.com/Nef10/SwiftBeanCountCLI.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftBeanCountCLI",
"dependencies": [
{
"identity": "swiftbeancountmodel",
"name": "SwiftBeanCountModel",
"url": "https://github.com/Nef10/SwiftBeanCountModel.git",
"version": "0.1.6",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftBeanCountModel",
"dependencies": [
]
},
{
"identity": "swiftbeancountparser",
"name": "SwiftBeanCountParser",
"url": "https://github.com/Nef10/SwiftBeanCountParser.git",
"version": "0.1.8",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftBeanCountParser",
"dependencies": [
{
"identity": "swiftbeancountmodel",
"name": "SwiftBeanCountModel",
"url": "https://github.com/Nef10/SwiftBeanCountModel.git",
"version": "0.1.6",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftBeanCountModel",
"dependencies": [
]
}
]
},
{
"identity": "swiftbeancounttax",
"name": "SwiftBeanCountTax",
"url": "https://github.com/Nef10/SwiftBeanCountTax.git",
"version": "0.0.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftBeanCountTax",
"dependencies": [
{
"identity": "swiftbeancountmodel",
"name": "SwiftBeanCountModel",
"url": "https://github.com/Nef10/SwiftBeanCountModel.git",
"version": "0.1.6",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftBeanCountModel",
"dependencies": [
]
}
]
},
{
"identity": "swift-argument-parser",
"name": "swift-argument-parser",
"url": "https://github.com/apple/swift-argument-parser",
"version": "1.5.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
"dependencies": [
]
},
{
"identity": "swiftytexttable",
"name": "SwiftyTextTable",
"url": "https://github.com/scottrhoyt/SwiftyTextTable.git",
"version": "0.9.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftyTextTable",
"dependencies": [
]
},
{
"identity": "rainbow",
"name": "Rainbow",
"url": "https://github.com/onevcat/Rainbow",
"version": "4.1.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Rainbow",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/Nef10/SwiftBeanCountCLI.git
[1/1706] Fetching swiftbeancountcli
Fetched https://github.com/Nef10/SwiftBeanCountCLI.git from cache (0.90s)
Fetching https://github.com/onevcat/Rainbow from cache
Fetching https://github.com/apple/swift-argument-parser from cache
Fetching https://github.com/Nef10/SwiftBeanCountParser.git from cache
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git from cache
Fetching https://github.com/Nef10/SwiftBeanCountModel.git from cache
Fetching https://github.com/Nef10/SwiftBeanCountTax.git from cache
Fetched https://github.com/Nef10/SwiftBeanCountTax.git from cache (0.52s)
Fetched https://github.com/Nef10/SwiftBeanCountParser.git from cache (0.58s)
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (0.58s)
Fetched https://github.com/Nef10/SwiftBeanCountModel.git from cache (0.58s)
Fetched https://github.com/onevcat/Rainbow from cache (0.58s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.58s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.1.0 (0.64s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (0.03s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.04s)
Computing version for https://github.com/Nef10/SwiftBeanCountTax.git
Computed https://github.com/Nef10/SwiftBeanCountTax.git at 0.0.4 (0.03s)
Computing version for https://github.com/Nef10/SwiftBeanCountParser.git
Computed https://github.com/Nef10/SwiftBeanCountParser.git at 0.1.8 (0.03s)
Computing version for https://github.com/Nef10/SwiftBeanCountModel.git
Computed https://github.com/Nef10/SwiftBeanCountModel.git at 0.1.6 (0.03s)
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/scottrhoyt/SwiftyTextTable.git
Working copy of https://github.com/scottrhoyt/SwiftyTextTable.git resolved at 0.9.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.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/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.1.0
Creating working copy for https://github.com/Nef10/SwiftBeanCountCLI.git
Working copy of https://github.com/Nef10/SwiftBeanCountCLI.git resolved at main (cc990af)
Creating working copy for https://github.com/Nef10/SwiftBeanCountParser.git
Working copy of https://github.com/Nef10/SwiftBeanCountParser.git resolved at 0.1.8
Found 6 product dependencies
- SwiftBeanCountModel
- SwiftBeanCountParser
- SwiftBeanCountTax
- swift-argument-parser
- SwiftyTextTable
- Rainbow
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/Nef10/SwiftBeanCountCLI.git
https://github.com/Nef10/SwiftBeanCountCLI.git
{
"dependencies" : [
{
"identity" : "swiftbeancountmodel",
"requirement" : {
"exact" : [
"0.1.6"
]
},
"type" : "sourceControl",
"url" : "https://github.com/Nef10/SwiftBeanCountModel.git"
},
{
"identity" : "swiftbeancountparser",
"requirement" : {
"exact" : [
"0.1.8"
]
},
"type" : "sourceControl",
"url" : "https://github.com/Nef10/SwiftBeanCountParser.git"
},
{
"identity" : "swiftbeancounttax",
"requirement" : {
"exact" : [
"0.0.4"
]
},
"type" : "sourceControl",
"url" : "https://github.com/Nef10/SwiftBeanCountTax.git"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.5.0",
"upper_bound" : "1.6.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "swiftytexttable",
"requirement" : {
"range" : [
{
"lower_bound" : "0.9.0",
"upper_bound" : "0.10.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/scottrhoyt/SwiftyTextTable.git"
},
{
"identity" : "rainbow",
"requirement" : {
"range" : [
{
"lower_bound" : "4.1.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/onevcat/Rainbow"
}
],
"manifest_display_name" : "SwiftBeanCountCLI",
"name" : "SwiftBeanCountCLI",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "swiftbeancount",
"targets" : [
"SwiftBeanCountCLI"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "SwiftBeanCountCLITests",
"module_type" : "SwiftTarget",
"name" : "SwiftBeanCountCLITests",
"path" : "Tests/SwiftBeanCountCLITests",
"sources" : [
"ColorizedCommandTests.swift",
"FormattableCommandTests.swift",
"HelpTests.swift",
"SubCommands/AccountsTests.swift",
"SubCommands/CheckTests.swift",
"SubCommands/StatsTests.swift",
"SubCommands/TaxSlipTests.swift",
"XCTest+Execution.swift",
"XCTestCase+File.swift"
],
"target_dependencies" : [
"SwiftBeanCountCLI"
],
"type" : "test"
},
{
"c99name" : "SwiftBeanCountCLI",
"module_type" : "SwiftTarget",
"name" : "SwiftBeanCountCLI",
"path" : "Sources/SwiftBeanCountCLI",
"product_dependencies" : [
"SwiftBeanCountModel",
"SwiftBeanCountParser",
"SwiftBeanCountTax",
"ArgumentParser",
"SwiftyTextTable",
"Rainbow"
],
"product_memberships" : [
"swiftbeancount"
],
"sources" : [
"ColorizedCommand.swift",
"FormattableCommand.swift",
"FormattableLedgerCommand.swift",
"LedgerCommand.swift",
"SubCommands/Accounts.swift",
"SubCommands/Check.swift",
"SubCommands/Stats.swift",
"SubCommands/TaxSlips.swift",
"SwiftBeanCountCLI.swift"
],
"type" : "executable"
}
],
"tools_version" : "5.5"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/14] Write sources
[6/14] Write swiftbeancount-entitlement.plist
[10/14] Write swift-version-2F0A5646E1D333AE.txt
[12/48] Emitting module ArgumentParserToolInfo
[13/48] Compiling ArgumentParserToolInfo ToolInfo.swift
[14/87] Compiling ArgumentParser ArgumentHelp.swift
[15/87] Compiling ArgumentParser ArgumentVisibility.swift
[16/87] Compiling ArgumentParser CompletionKind.swift
[17/87] Compiling ArgumentParser Errors.swift
[18/87] Compiling ArgumentParser Flag.swift
[19/91] Compiling Rainbow StringGenerator.swift
[20/92] Compiling Rainbow Style.swift
[21/92] Compiling ArgumentParser InputOrigin.swift
[22/92] Compiling ArgumentParser Name.swift
[23/92] Compiling ArgumentParser Parsed.swift
[24/92] Compiling ArgumentParser ParsedValues.swift
[25/92] Compiling ArgumentParser NameSpecification.swift
[26/92] Compiling ArgumentParser Option.swift
[27/92] Compiling ArgumentParser OptionGroup.swift
[28/92] Compiling ArgumentParser AsyncParsableCommand.swift
[29/92] Emitting module ArgumentParser
[30/92] Compiling ArgumentParser BashCompletionsGenerator.swift
[31/92] Compiling ArgumentParser CompletionsGenerator.swift
[32/92] Compiling ArgumentParser FishCompletionsGenerator.swift
[33/92] Compiling ArgumentParser ZshCompletionsGenerator.swift
[34/92] Compiling ArgumentParser Argument.swift
[35/92] Compiling ArgumentParser Platform.swift
[36/92] Compiling ArgumentParser SequenceExtensions.swift
[37/92] Compiling ArgumentParser StringExtensions.swift
[38/92] Compiling ArgumentParser Tree.swift
[39/92] Compiling ArgumentParser ArgumentDefinition.swift
[40/92] Compiling ArgumentParser ArgumentSet.swift
[41/92] Compiling ArgumentParser CommandParser.swift
[42/92] Compiling ArgumentParser InputKey.swift
[51/93] Compiling ArgumentParser CommandConfiguration.swift
[52/93] Compiling ArgumentParser CommandGroup.swift
[53/93] Compiling ArgumentParser EnumerableFlag.swift
[54/93] Compiling ArgumentParser ExpressibleByArgument.swift
[55/93] Compiling ArgumentParser HelpGenerator.swift
[56/93] Compiling ArgumentParser MessageInfo.swift
[57/93] Compiling ArgumentParser UsageGenerator.swift
[58/93] Compiling ArgumentParser CollectionExtensions.swift
[63/93] Compiling Rainbow String+Rainbow.swift
[64/93] Emitting module Rainbow
[67/93] Compiling Rainbow Color.swift
[68/93] Compiling Rainbow OutputTarget.swift
[69/93] Compiling Rainbow ColorApproximation.swift
[70/93] Compiling Rainbow ControlCode.swift
[71/93] Compiling Rainbow Rainbow.swift
[72/93] Compiling Rainbow ModesExtractor.swift
[73/93] Compiling ArgumentParser ParserError.swift
[74/93] Compiling ArgumentParser SplitArguments.swift
[75/93] Compiling ArgumentParser DumpHelpGenerator.swift
[76/93] Compiling ArgumentParser HelpCommand.swift
[77/93] Compiling ArgumentParser ParsableArguments.swift
[78/93] Compiling ArgumentParser ParsableArgumentsValidation.swift
[79/93] Compiling ArgumentParser ParsableCommand.swift
[80/93] Compiling ArgumentParser ArgumentDecoder.swift
[81/93] Compiling SwiftyTextTable TextTable.swift
[82/93] Emitting module SwiftyTextTable
[83/93] Emitting module SwiftBeanCountModel
[90/93] Compiling SwiftBeanCountModel ValidationResult.swift
[91/115] Emitting module SwiftBeanCountParser
[92/116] Compiling SwiftBeanCountParser PriceParser.swift
[93/116] Compiling SwiftBeanCountTax TaxErrors.swift
[94/116] Compiling SwiftBeanCountTax TaxSlip.swift
[95/116] Compiling SwiftBeanCountTax Sale.swift
[96/116] Compiling SwiftBeanCountTax TaxCalculator.swift
[97/116] Emitting module SwiftBeanCountTax
[98/116] Compiling SwiftBeanCountParser PostingParser.swift
[99/116] Compiling SwiftBeanCountParser ParserUtils.swift
[100/116] Compiling SwiftBeanCountParser PluginParser.swift
[101/116] Compiling SwiftBeanCountParser EventParser.swift
[102/116] Compiling SwiftBeanCountParser Collection.swift
[103/116] Compiling SwiftBeanCountParser String.swift
[104/116] Compiling SwiftBeanCountParser MetaDataParser.swift
[105/116] Compiling SwiftBeanCountParser CommodityParser.swift
[106/116] Compiling SwiftBeanCountParser CostParser.swift
[107/116] Compiling SwiftBeanCountParser CustomsParser.swift
[108/116] Compiling SwiftBeanCountParser DateParser.swift
[109/116] Compiling SwiftBeanCountParser AccountParser.swift
[110/116] Compiling SwiftBeanCountParser BalanceParser.swift
[111/116] Compiling SwiftBeanCountParser OptionParser.swift
[112/116] Compiling SwiftBeanCountParser Parser.swift
[113/116] Compiling SwiftBeanCountParser TransactionMetaDataParser.swift
[114/126] Compiling SwiftBeanCountCLI Check.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBeanCountCLI/SubCommands/Check.swift:8:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 | struct Check: LedgerCommand, ColorizedCommand {
7 |
8 | static var configuration = CommandConfiguration(abstract: "Parses a ledger and prints any errors it finds")
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | @OptionGroup()
[115/126] Compiling SwiftBeanCountCLI Stats.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBeanCountCLI/SubCommands/Stats.swift:6:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | struct Stats: FormattableLedgerCommand {
5 |
6 | static var configuration = CommandConfiguration(abstract: "Statistics of a ledger (e.g. # of transactions)")
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | @OptionGroup()
[116/126] Compiling SwiftBeanCountCLI SwiftBeanCountCLI.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBeanCountCLI/SwiftBeanCountCLI.swift:6:23: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | public struct SwiftBeanCountCLI: ParsableCommand {
5 |
6 | public static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "swiftbeancount",
8 | abstract: "A CLI tool for SwiftBeanCount",
[117/126] Compiling SwiftBeanCountCLI TaxSlips.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBeanCountCLI/SubCommands/TaxSlips.swift:8:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 | struct TaxSlips: FormattableLedgerCommand {
7 |
8 | static var configuration = CommandConfiguration(abstract: "Generate expected tax slips")
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | @OptionGroup()
[118/126] Compiling SwiftBeanCountCLI LedgerCommand.swift
[119/126] Compiling SwiftBeanCountCLI FormattableCommand.swift
[120/126] Compiling SwiftBeanCountCLI Accounts.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBeanCountCLI/SubCommands/Accounts.swift:7:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 | struct Accounts: FormattableLedgerCommand {
6 |
7 | static var configuration = CommandConfiguration(abstract: "Print all accounts")
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | private static let dateFormatter: DateFormatter = {
[121/126] Emitting module SwiftBeanCountCLI
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBeanCountCLI/SubCommands/Accounts.swift:7:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 | struct Accounts: FormattableLedgerCommand {
6 |
7 | static var configuration = CommandConfiguration(abstract: "Print all accounts")
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | private static let dateFormatter: DateFormatter = {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBeanCountCLI/SubCommands/Check.swift:8:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 | struct Check: LedgerCommand, ColorizedCommand {
7 |
8 | static var configuration = CommandConfiguration(abstract: "Parses a ledger and prints any errors it finds")
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | @OptionGroup()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBeanCountCLI/SubCommands/Stats.swift:6:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | struct Stats: FormattableLedgerCommand {
5 |
6 | static var configuration = CommandConfiguration(abstract: "Statistics of a ledger (e.g. # of transactions)")
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | @OptionGroup()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBeanCountCLI/SubCommands/TaxSlips.swift:8:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 | struct TaxSlips: FormattableLedgerCommand {
7 |
8 | static var configuration = CommandConfiguration(abstract: "Generate expected tax slips")
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | @OptionGroup()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBeanCountCLI/SwiftBeanCountCLI.swift:6:23: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | public struct SwiftBeanCountCLI: ParsableCommand {
5 |
6 | public static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "swiftbeancount",
8 | abstract: "A CLI tool for SwiftBeanCount",
[122/126] Compiling SwiftBeanCountCLI FormattableLedgerCommand.swift
[123/126] Compiling SwiftBeanCountCLI ColorizedCommand.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBeanCountCLI/ColorizedCommand.swift:19:21: warning: reference to static property 'enabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
17 | func adjustColorization() {
18 | if colorOptions.noColor || ProcessInfo.processInfo.environment["NO_COLOR"] != nil {
19 | Rainbow.enabled = false
| `- warning: reference to static property 'enabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
20 | }
21 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Rainbow/Sources/Rainbow.swift:121:23: note: static property declared here
119 | /// set and `FORCE_COLOR` not set to a valid value ("0" or empty value is treated as "unset". `FORCE_COLOR` has
120 | /// higher priority than `NO_COLOR` if set).
121 | public static var enabled = environmentAvailable
| `- note: static property declared here
122 |
123 | public static func extractEntry(for string: String) -> Entry {
[123/126] Write Objects.LinkFileList
[124/126] Linking swiftbeancount
[125/126] Applying swiftbeancount
Build complete! (13.84s)
Build complete.
{
"dependencies" : [
{
"identity" : "swiftbeancountmodel",
"requirement" : {
"exact" : [
"0.1.6"
]
},
"type" : "sourceControl",
"url" : "https://github.com/Nef10/SwiftBeanCountModel.git"
},
{
"identity" : "swiftbeancountparser",
"requirement" : {
"exact" : [
"0.1.8"
]
},
"type" : "sourceControl",
"url" : "https://github.com/Nef10/SwiftBeanCountParser.git"
},
{
"identity" : "swiftbeancounttax",
"requirement" : {
"exact" : [
"0.0.4"
]
},
"type" : "sourceControl",
"url" : "https://github.com/Nef10/SwiftBeanCountTax.git"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.5.0",
"upper_bound" : "1.6.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "swiftytexttable",
"requirement" : {
"range" : [
{
"lower_bound" : "0.9.0",
"upper_bound" : "0.10.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/scottrhoyt/SwiftyTextTable.git"
},
{
"identity" : "rainbow",
"requirement" : {
"range" : [
{
"lower_bound" : "4.1.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/onevcat/Rainbow"
}
],
"manifest_display_name" : "SwiftBeanCountCLI",
"name" : "SwiftBeanCountCLI",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "swiftbeancount",
"targets" : [
"SwiftBeanCountCLI"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "SwiftBeanCountCLITests",
"module_type" : "SwiftTarget",
"name" : "SwiftBeanCountCLITests",
"path" : "Tests/SwiftBeanCountCLITests",
"sources" : [
"ColorizedCommandTests.swift",
"FormattableCommandTests.swift",
"HelpTests.swift",
"SubCommands/AccountsTests.swift",
"SubCommands/CheckTests.swift",
"SubCommands/StatsTests.swift",
"SubCommands/TaxSlipTests.swift",
"XCTest+Execution.swift",
"XCTestCase+File.swift"
],
"target_dependencies" : [
"SwiftBeanCountCLI"
],
"type" : "test"
},
{
"c99name" : "SwiftBeanCountCLI",
"module_type" : "SwiftTarget",
"name" : "SwiftBeanCountCLI",
"path" : "Sources/SwiftBeanCountCLI",
"product_dependencies" : [
"SwiftBeanCountModel",
"SwiftBeanCountParser",
"SwiftBeanCountTax",
"ArgumentParser",
"SwiftyTextTable",
"Rainbow"
],
"product_memberships" : [
"swiftbeancount"
],
"sources" : [
"ColorizedCommand.swift",
"FormattableCommand.swift",
"FormattableLedgerCommand.swift",
"LedgerCommand.swift",
"SubCommands/Accounts.swift",
"SubCommands/Check.swift",
"SubCommands/Stats.swift",
"SubCommands/TaxSlips.swift",
"SwiftBeanCountCLI.swift"
],
"type" : "executable"
}
],
"tools_version" : "5.5"
}
Done.