Build Information
Successful build of SwiftBeanCountCLI, reference main (b3af12
), with Swift 6.1 for macOS (SPM) on 8 Sep 2025 09:43:35 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.67.1
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 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
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/Nef10/SwiftBeanCountTax.git
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
Fetching https://github.com/Nef10/SwiftBeanCountModel.git
Fetching https://github.com/Nef10/SwiftBeanCountParser.git
Fetching https://github.com/apple/swift-argument-parser from cache
[1/2326] Fetching swiftbeancountparser
[443/3255] Fetching swiftbeancountparser, swiftytexttable
[536/3837] Fetching swiftbeancountparser, swiftytexttable, swiftbeancounttax
[577/5172] Fetching swiftbeancountparser, swiftytexttable, swiftbeancounttax, rainbow
[785/8832] Fetching swiftbeancountparser, swiftytexttable, swiftbeancounttax, rainbow, swiftbeancountmodel
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (0.96s)
[5143/7903] Fetching swiftbeancountparser, swiftbeancounttax, rainbow, swiftbeancountmodel
Fetched https://github.com/onevcat/Rainbow from cache (2.37s)
Fetched https://github.com/Nef10/SwiftBeanCountParser.git from cache (2.37s)
[3510/4242] Fetching swiftbeancounttax, swiftbeancountmodel
Fetched https://github.com/Nef10/SwiftBeanCountTax.git from cache (2.43s)
Fetched https://github.com/Nef10/SwiftBeanCountModel.git from cache (2.43s)
Fetched https://github.com/apple/swift-argument-parser from cache (2.44s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.2.0 (5.06s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (0.63s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.1 (0.57s)
Computing version for https://github.com/Nef10/SwiftBeanCountTax.git
Computed https://github.com/Nef10/SwiftBeanCountTax.git at 0.0.4 (0.61s)
Computing version for https://github.com/Nef10/SwiftBeanCountParser.git
Computed https://github.com/Nef10/SwiftBeanCountParser.git at 0.1.8 (0.61s)
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/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
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/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.6.1
========================================
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.6.1",
"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.2.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Rainbow",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/Nef10/SwiftBeanCountCLI.git
[1/1786] Fetching swiftbeancountcli
Fetched https://github.com/Nef10/SwiftBeanCountCLI.git from cache (0.94s)
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git from cache
Fetching https://github.com/onevcat/Rainbow from cache
Fetching https://github.com/Nef10/SwiftBeanCountModel.git 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/Nef10/SwiftBeanCountTax.git from cache
Fetched https://github.com/onevcat/Rainbow from cache (0.51s)
Fetched https://github.com/Nef10/SwiftBeanCountParser.git from cache (0.55s)
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (0.55s)
Fetched https://github.com/Nef10/SwiftBeanCountTax.git from cache (0.55s)
Fetched https://github.com/Nef10/SwiftBeanCountModel.git from cache (0.55s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.56s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.2.0 (0.62s)
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.6.1 (0.04s)
Computing version for https://github.com/Nef10/SwiftBeanCountTax.git
Computed https://github.com/Nef10/SwiftBeanCountTax.git at 0.0.4 (0.02s)
Computing version for https://github.com/Nef10/SwiftBeanCountParser.git
Computed https://github.com/Nef10/SwiftBeanCountParser.git at 0.1.8 (0.02s)
Computing version for https://github.com/Nef10/SwiftBeanCountModel.git
Computed https://github.com/Nef10/SwiftBeanCountModel.git at 0.1.6 (0.02s)
Creating working copy for https://github.com/Nef10/SwiftBeanCountCLI.git
Working copy of https://github.com/Nef10/SwiftBeanCountCLI.git resolved at main (b3af126)
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/SwiftBeanCountModel.git
Working copy of https://github.com/Nef10/SwiftBeanCountModel.git resolved at 0.1.6
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/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.2.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
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.6.1",
"upper_bound" : "1.7.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.2.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
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/15] Write sources
[4/15] Write swiftbeancount-entitlement.plist
[5/15] Write sources
[11/15] Write swift-version-2F0A5646E1D333AE.txt
[13/53] Compiling ArgumentParserToolInfo ToolInfo.swift
[14/53] Emitting module ArgumentParserToolInfo
[15/99] Compiling Rainbow Style.swift
[16/100] Compiling Rainbow String+Rainbow.swift
[17/100] Compiling Rainbow String+ConditionalStyling.swift
[18/100] Compiling Rainbow StringGenerator.swift
[19/100] Compiling ArgumentParser ArgumentDiscussion.swift
[20/100] Compiling ArgumentParser ArgumentHelp.swift
[21/100] Compiling ArgumentParser ArgumentVisibility.swift
[22/100] Compiling ArgumentParser CompletionKind.swift
[23/100] Compiling ArgumentParser Errors.swift
[24/104] Compiling ArgumentParser Tree.swift
[25/104] Compiling ArgumentParser CodingKeyValidator.swift
[26/104] Emitting module ArgumentParser
[27/104] Compiling ArgumentParser NonsenseFlagsValidator.swift
[28/104] Compiling ArgumentParser ParsableArgumentsValidation.swift
[29/104] Compiling ArgumentParser PositionalArgumentsValidator.swift
[30/104] Compiling ArgumentParser UniqueNamesValidator.swift
[31/104] Compiling ArgumentParser BashCompletionsGenerator.swift
[32/104] Compiling ArgumentParser CompletionsGenerator.swift
[33/104] Compiling ArgumentParser FishCompletionsGenerator.swift
[34/104] Compiling ArgumentParser ZshCompletionsGenerator.swift
[35/104] Compiling ArgumentParser Argument.swift
[36/104] Compiling ArgumentParser CommandConfiguration.swift
[37/104] Compiling ArgumentParser CommandGroup.swift
[38/104] Compiling ArgumentParser EnumerableFlag.swift
[39/104] Compiling ArgumentParser ExpressibleByArgument.swift
[40/104] Compiling ArgumentParser ParsableArguments.swift
[41/104] Compiling ArgumentParser Flag.swift
[42/104] Compiling ArgumentParser NameSpecification.swift
[43/104] Compiling ArgumentParser Option.swift
[44/104] Compiling ArgumentParser OptionGroup.swift
[45/104] Compiling ArgumentParser AsyncParsableCommand.swift
[46/104] Emitting module SwiftyTextTable
[47/104] Compiling SwiftyTextTable TextTable.swift
[50/105] Emitting module SwiftBeanCountModel
[53/105] Compiling ArgumentParser StringExtensions.swift
[54/105] Compiling ArgumentParser SwiftExtensions.swift
[59/105] Emitting module Rainbow
[61/105] Compiling ArgumentParser SequenceExtensions.swift
[62/105] Compiling Rainbow StyledStringBuilder.swift
[68/105] Compiling ArgumentParser ParsableCommand.swift
[69/105] Compiling ArgumentParser ArgumentDecoder.swift
[70/105] Compiling ArgumentParser ArgumentDefinition.swift
[71/105] Compiling ArgumentParser ArgumentSet.swift
[72/105] Compiling ArgumentParser CommandParser.swift
[82/105] Compiling ArgumentParser MessageInfo.swift
[85/105] Compiling ArgumentParser UsageGenerator.swift
[86/105] Compiling ArgumentParser CollectionExtensions.swift
[87/105] Compiling ArgumentParser InputKey.swift
[88/105] Compiling ArgumentParser InputOrigin.swift
[89/105] Compiling ArgumentParser Name.swift
[90/105] Compiling ArgumentParser Parsed.swift
[91/105] Compiling ArgumentParser ParsedValues.swift
[92/105] Compiling ArgumentParser ParserError.swift
[93/105] Compiling ArgumentParser SplitArguments.swift
[94/105] Compiling ArgumentParser DumpHelpGenerator.swift
[95/105] Compiling ArgumentParser HelpCommand.swift
[96/105] Compiling ArgumentParser HelpGenerator.swift
[100/105] Compiling ArgumentParser Mutex.swift
[101/105] Compiling ArgumentParser Platform.swift
[102/105] Compiling SwiftBeanCountModel ValidationResult.swift
[103/127] Compiling SwiftBeanCountParser PriceParser.swift
[104/127] Compiling SwiftBeanCountParser PostingParser.swift
[105/128] Emitting module SwiftBeanCountParser
[106/128] Compiling SwiftBeanCountParser AccountParser.swift
[107/128] Compiling SwiftBeanCountParser BalanceParser.swift
[108/128] Compiling SwiftBeanCountTax TaxSlip.swift
[109/128] Compiling SwiftBeanCountTax TaxErrors.swift
[110/128] Compiling SwiftBeanCountParser String.swift
[111/128] Compiling SwiftBeanCountParser MetaDataParser.swift
[112/128] Compiling SwiftBeanCountParser CommodityParser.swift
[113/128] Compiling SwiftBeanCountParser CostParser.swift
[114/128] Compiling SwiftBeanCountParser OptionParser.swift
[115/128] Compiling SwiftBeanCountParser Parser.swift
[116/128] Compiling SwiftBeanCountParser CustomsParser.swift
[117/128] Compiling SwiftBeanCountParser DateParser.swift
[118/128] Compiling SwiftBeanCountParser ParserUtils.swift
[119/128] Compiling SwiftBeanCountParser PluginParser.swift
[120/128] Compiling SwiftBeanCountParser EventParser.swift
[121/128] Compiling SwiftBeanCountParser Collection.swift
[122/128] Compiling SwiftBeanCountParser TransactionMetaDataParser.swift
[123/128] Emitting module SwiftBeanCountTax
[124/128] Compiling SwiftBeanCountTax TaxCalculator.swift
[125/128] Compiling SwiftBeanCountTax Sale.swift
[126/138] 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",
[127/138] 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()
[128/138] 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()
[129/138] 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()
[130/138] Compiling SwiftBeanCountCLI LedgerCommand.swift
[131/138] Compiling SwiftBeanCountCLI FormattableLedgerCommand.swift
[132/138] Compiling SwiftBeanCountCLI FormattableCommand.swift
[133/138] 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",
[134/138] 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 {
[135/138] 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 = {
[135/138] Write Objects.LinkFileList
[136/138] Linking swiftbeancount
[137/138] Applying swiftbeancount
Build complete! (12.41s)
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.6.1",
"upper_bound" : "1.7.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.2.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.