Build Information
Successful build of SwiftBeanCountCLI, reference v0.1.0 (6699a0
), with Swift 6.0 for macOS (SPM) on 29 Nov 2024 09:40:53 UTC.
Swift 6 data race errors: 5
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.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.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Nef10/SwiftBeanCountCLI.git
Reference: v0.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Nef10/SwiftBeanCountCLI
* tag v0.1.0 -> FETCH_HEAD
HEAD is now at 6699a08 Bump version and update readme
Cloned https://github.com/Nef10/SwiftBeanCountCLI.git
Revision (git rev-parse @):
6699a081e1b9a371de0363ab593b5b50ca434cd9
SUCCESS checkout https://github.com/Nef10/SwiftBeanCountCLI.git at v0.1.0
Fetching https://github.com/Nef10/SwiftBeanCountTax.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/Nef10/SwiftBeanCountModel.git
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/Nef10/SwiftBeanCountParser.git
[1/386] Fetching swiftbeancounttax
[59/1512] Fetching swiftbeancounttax, rainbow
[217/2441] Fetching swiftbeancounttax, rainbow, swiftytexttable
[264/4555] Fetching swiftbeancounttax, rainbow, swiftytexttable, swiftbeancountparser
[736/7822] Fetching swiftbeancounttax, rainbow, swiftytexttable, swiftbeancountparser, swiftbeancountmodel
Fetched https://github.com/Nef10/SwiftBeanCountTax.git from cache (0.95s)
[3884/7436] Fetching rainbow, swiftytexttable, swiftbeancountparser, swiftbeancountmodel
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (0.97s)
[3607/18902] Fetching rainbow, swiftbeancountparser, swiftbeancountmodel, swift-argument-parser
Fetched https://github.com/Nef10/SwiftBeanCountParser.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)
[868/12395] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.66s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.0.1 (2.41s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (0.54s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.2.2 (0.60s)
Computing version for https://github.com/Nef10/SwiftBeanCountTax.git
Computed https://github.com/Nef10/SwiftBeanCountTax.git at 0.0.2 (0.53s)
Computing version for https://github.com/Nef10/SwiftBeanCountParser.git
Computed https://github.com/Nef10/SwiftBeanCountParser.git at 0.1.8 (0.53s)
Computing version for https://github.com/Nef10/SwiftBeanCountModel.git
Computed https://github.com/Nef10/SwiftBeanCountModel.git at 0.1.6 (0.55s)
Creating working copy for https://github.com/Nef10/SwiftBeanCountTax.git
Working copy of https://github.com/Nef10/SwiftBeanCountTax.git resolved at 0.0.2
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.0.1
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.2.2
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/SwiftBeanCountParser.git
Working copy of https://github.com/Nef10/SwiftBeanCountParser.git resolved at 0.1.8
========================================
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.2",
"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.2.3",
"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.0.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Rainbow",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/Nef10/SwiftBeanCountCLI.git
[1/1606] Fetching swiftbeancountcli
Fetched https://github.com/Nef10/SwiftBeanCountCLI.git from cache (0.84s)
Fetching https://github.com/onevcat/Rainbow from cache
Fetching https://github.com/apple/swift-argument-parser from cache
Fetching https://github.com/Nef10/SwiftBeanCountModel.git from cache
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git from cache
Fetching https://github.com/Nef10/SwiftBeanCountTax.git from cache
Fetching https://github.com/Nef10/SwiftBeanCountParser.git from cache
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (0.44s)
Fetched https://github.com/onevcat/Rainbow from cache (0.47s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.60s)
Fetched https://github.com/Nef10/SwiftBeanCountModel.git from cache (0.60s)
Fetched https://github.com/Nef10/SwiftBeanCountTax.git from cache (0.60s)
Fetched https://github.com/Nef10/SwiftBeanCountParser.git from cache (0.60s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (0.02s)
Computing version for https://github.com/Nef10/SwiftBeanCountTax.git
Computed https://github.com/Nef10/SwiftBeanCountTax.git at 0.0.2 (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)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.0.1 (0.02s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.2.3 (0.03s)
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.0.1
Creating working copy for https://github.com/Nef10/SwiftBeanCountCLI.git
Working copy of https://github.com/Nef10/SwiftBeanCountCLI.git resolved at v0.1.0 (6699a08)
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/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.2
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.2.3
Found 6 product dependencies
- SwiftBeanCountModel
- SwiftBeanCountParser
- SwiftBeanCountTax
- swift-argument-parser
- SwiftyTextTable
- Rainbow
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
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.2"
]
},
"type" : "sourceControl",
"url" : "https://github.com/Nef10/SwiftBeanCountTax.git"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "1.3.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.0.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.1.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
[4/14] Write swiftbeancount-entitlement.plist
[4/14] Write sources
[10/14] Write swift-version--7754E27361AE5C74.txt
[12/48] Compiling ArgumentParserToolInfo ToolInfo.swift
[13/48] Emitting module ArgumentParserToolInfo
[14/86] Emitting module SwiftyTextTable
[15/86] Compiling Rainbow StringGenerator.swift
[16/86] Compiling Rainbow String+Rainbow.swift
[17/87] Compiling Rainbow Style.swift
[18/87] Compiling ArgumentParser InputOrigin.swift
[19/87] Compiling ArgumentParser Name.swift
[20/87] Compiling ArgumentParser Parsed.swift
[21/87] Compiling ArgumentParser ParsedValues.swift
[22/91] Compiling ArgumentParser Flag.swift
[23/91] Compiling ArgumentParser NameSpecification.swift
[24/91] Compiling ArgumentParser Option.swift
[25/91] Compiling ArgumentParser OptionGroup.swift
[26/91] Compiling ArgumentParser ArgumentHelp.swift
[27/91] Compiling ArgumentParser ArgumentVisibility.swift
[28/91] Compiling ArgumentParser CompletionKind.swift
[29/91] Compiling ArgumentParser Errors.swift
[30/91] Compiling ArgumentParser BashCompletionsGenerator.swift
[31/91] Compiling ArgumentParser CompletionsGenerator.swift
[32/91] Compiling ArgumentParser FishCompletionsGenerator.swift
[33/91] Compiling ArgumentParser ZshCompletionsGenerator.swift
[34/91] Compiling ArgumentParser Argument.swift
[35/91] Compiling ArgumentParser Platform.swift
[36/91] Compiling ArgumentParser SequenceExtensions.swift
[37/91] Compiling ArgumentParser StringExtensions.swift
[38/91] Compiling ArgumentParser Tree.swift
[39/91] Emitting module ArgumentParser
[40/91] Compiling Rainbow Rainbow.swift
[43/91] Emitting module Rainbow
[44/91] Compiling Rainbow ModesExtractor.swift
[45/91] Compiling Rainbow ControlCode.swift
[46/91] Compiling Rainbow Color.swift
[47/91] Compiling Rainbow OutputTarget.swift
[48/91] Compiling Rainbow ColorApproximation.swift
[51/91] Compiling ArgumentParser AsyncParsableCommand.swift
[52/91] Compiling ArgumentParser CommandConfiguration.swift
[53/91] Compiling ArgumentParser EnumerableFlag.swift
[54/91] Compiling ArgumentParser ExpressibleByArgument.swift
[55/91] Compiling ArgumentParser ParsableArguments.swift
[56/91] Compiling ArgumentParser ParsableArgumentsValidation.swift
[57/91] Compiling ArgumentParser ParsableCommand.swift
[58/91] Compiling ArgumentParser ArgumentDecoder.swift
[59/91] Compiling ArgumentParser ParserError.swift
[60/91] Compiling ArgumentParser SplitArguments.swift
[61/91] Compiling ArgumentParser DumpHelpGenerator.swift
[62/92] Compiling ArgumentParser HelpCommand.swift
[63/92] Compiling SwiftyTextTable TextTable.swift
[72/92] Emitting module SwiftBeanCountModel
[76/92] Compiling ArgumentParser ArgumentDefinition.swift
[81/92] Compiling ArgumentParser HelpGenerator.swift
[82/92] Compiling ArgumentParser MessageInfo.swift
[83/92] Compiling ArgumentParser UsageGenerator.swift
[84/92] Compiling ArgumentParser CollectionExtensions.swift
[86/92] Compiling ArgumentParser ArgumentSet.swift
[87/92] Compiling ArgumentParser CommandParser.swift
[88/92] Compiling ArgumentParser InputKey.swift
[89/92] Compiling SwiftBeanCountModel ValidationResult.swift
[90/113] Emitting module SwiftBeanCountParser
[91/114] Compiling SwiftBeanCountParser PostingParser.swift
[92/114] Compiling SwiftBeanCountParser ParserUtils.swift
[93/114] Compiling SwiftBeanCountParser PluginParser.swift
[94/114] Compiling SwiftBeanCountParser PriceParser.swift
[95/114] Compiling SwiftBeanCountParser AccountParser.swift
[96/114] Compiling SwiftBeanCountParser BalanceParser.swift
[97/114] Compiling SwiftBeanCountTax TaxErrors.swift
[98/114] Compiling SwiftBeanCountTax TaxSlip.swift
[99/114] Compiling SwiftBeanCountParser TransactionMetaDataParser.swift
[100/114] Compiling SwiftBeanCountParser EventParser.swift
[101/114] Compiling SwiftBeanCountParser Collection.swift
[102/114] Compiling SwiftBeanCountParser CustomsParser.swift
[103/114] Compiling SwiftBeanCountParser DateParser.swift
[104/114] Compiling SwiftBeanCountParser CommodityParser.swift
[105/114] Compiling SwiftBeanCountParser CostParser.swift
[106/114] Compiling SwiftBeanCountParser String.swift
[107/114] Compiling SwiftBeanCountParser MetaDataParser.swift
[108/114] Compiling SwiftBeanCountParser OptionParser.swift
[109/114] Compiling SwiftBeanCountParser Parser.swift
[110/114] Emitting module SwiftBeanCountTax
[111/114] Compiling SwiftBeanCountTax TaxCalculator.swift
[112/124] 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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | @OptionGroup()
[113/124] 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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "swiftbeancount",
8 | abstract: "A CLI tool for SwiftBeanCount",
[114/124] 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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | @OptionGroup()
[115/124] Compiling SwiftBeanCountCLI FormattableLedgerCommand.swift
[116/124] 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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | @OptionGroup()
[117/124] 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:101:23: note: static property declared here
99 |
100 | /// Enable `Rainbow` to colorize string or not. Default is `true`, unless the `NO_COLOR` environment variable is set.
101 | public static var enabled = ProcessInfo.processInfo.environment["NO_COLOR"] == nil
| `- note: static property declared here
102 |
103 | public static func extractEntry(for string: String) -> Entry {
[118/124] 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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "swiftbeancount",
8 | abstract: "A CLI tool for SwiftBeanCount",
[119/124] Compiling SwiftBeanCountCLI LedgerCommand.swift
[120/124] 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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | private static let dateFormatter: DateFormatter = {
[121/124] Compiling SwiftBeanCountCLI FormattableCommand.swift
[121/124] Write Objects.LinkFileList
[122/124] Linking swiftbeancount
[123/124] Applying swiftbeancount
Build complete! (23.47s)
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.2"
]
},
"type" : "sourceControl",
"url" : "https://github.com/Nef10/SwiftBeanCountTax.git"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "1.3.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.0.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.