The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of SwiftFormat, reference main (8a397e), with Swift 6.1 for macOS (SPM) on 5 Dec 2025 08:01:31 UTC.

Swift 6 data race errors: 322

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

1216 |     public var fileOptions: FileOptions?
1217 |     public var formatOptions: FormatOptions?
     :
1221 |     public var filterOptions: [Glob: [String: String]]
1222 |
1223 |     public static let `default` = Options(
     |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Options' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1224 |         fileOptions: .default,
1225 |         formatOptions: .default,
/Users/admin/builder/spi-builder-workspace/Sources/CommandLine.swift:49:16: warning: static property 'print' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  47 |
  48 |     /// Output handler - override this to intercept output from the CLI
  49 |     static var print: (String, OutputType) -> Void = { _, _ in
     |                |- warning: static property 'print' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'print' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: add '@MainActor' to make static property 'print' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  50 |         fatalError("No print hook set.")
  51 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CommandLine.swift:55:16: warning: static property 'readLine' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  53 |     /// Input handler - override this to inject input into the CLI
  54 |     /// Injected lines should include the terminating newline character
  55 |     static var readLine: () -> String? = {
     |                |- warning: static property 'readLine' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'readLine' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: add '@MainActor' to make static property 'readLine' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  56 |         Swift.readLine(strippingNewline: false)
  57 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CommandLine.swift:70:13: warning: var 'quietMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  68 | }
  69 |
  70 | private var quietMode = false
     |             |- warning: var 'quietMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |             |- note: convert 'quietMode' to a 'let' constant to make 'Sendable' shared state immutable
     |             |- note: add '@MainActor' to make var 'quietMode' part of global actor 'MainActor'
     |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  71 | private func print(_ message: String, as type: CLI.OutputType = .info) {
  72 |     if !quietMode || [.raw, .content, .error].contains(type) {
/Users/admin/builder/spi-builder-workspace/Sources/CommandLine.swift:866:17: warning: capture of 'processFromStdin()' with non-sendable type '() -> ()' in a '@Sendable' closure
 864 |             // If no input file, try stdin
 865 |             DispatchQueue.global(qos: .userInitiated).async {
 866 |                 processFromStdin()
     |                 |- warning: capture of 'processFromStdin()' with non-sendable type '() -> ()' in a '@Sendable' closure
     |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 867 |             }
 868 |             // Wait for input
/Users/admin/builder/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'
 768 |         var input: String?
 769 |         var status = Status.idle
 770 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'
 771 |             status = .started
 772 |             while let line = CLI.readLine() {
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:50:16: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | import Foundation
 33 |
 34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
    |                    `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
 35 |     static let unnamedRule = "[unnamed rule]"
 36 |
    :
 48 |
 49 |     /// Null rule, used for testing
 50 |     static let none: FormatRule = .init(help: "") { _ in } examples: { nil }
    |                |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 51 |
 52 |     var isDeprecated: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:100:12: warning: let 'FormatRules' is not concurrency-safe because non-'Sendable' type '_FormatRules' may have shared mutable state; this is an error in the Swift 6 language mode
 98 | }
 99 |
100 | public let FormatRules = _FormatRules()
    |            |- warning: let 'FormatRules' is not concurrency-safe because non-'Sendable' type '_FormatRules' may have shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: add '@MainActor' to make let 'FormatRules' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 |
102 | private let rulesByName: [String: FormatRule] = {
    :
187 | }
188 |
189 | public struct _FormatRules {
    |               `- note: consider making struct '_FormatRules' conform to the 'Sendable' protocol
190 |     fileprivate init() {}
191 | }
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:102:13: warning: let 'rulesByName' is not concurrency-safe because non-'Sendable' type '[String : FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | import Foundation
 33 |
 34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
    |                    `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
 35 |     static let unnamedRule = "[unnamed rule]"
 36 |
    :
100 | public let FormatRules = _FormatRules()
101 |
102 | private let rulesByName: [String: FormatRule] = {
    |             |- warning: let 'rulesByName' is not concurrency-safe because non-'Sendable' type '[String : FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'rulesByName' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
103 |     var rules = [String: FormatRule]()
104 |     for (name, rule) in ruleRegistry {
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:134:13: warning: let '_allRules' is not concurrency-safe because non-'Sendable' type '[FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | import Foundation
 33 |
 34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
    |                    `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
 35 |     static let unnamedRule = "[unnamed rule]"
 36 |
    :
132 | }
133 |
134 | private let _allRules = rulesByName.sorted(by: { $0.key < $1.key }).map(\.value)
    |             |- warning: let '_allRules' is not concurrency-safe because non-'Sendable' type '[FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let '_allRules' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 | private let _deprecatedRules = _allRules.filter(\.isDeprecated)
136 | private let _disabledByDefault = _allRules.filter(\.disabledByDefault)
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:135:13: warning: let '_deprecatedRules' is not concurrency-safe because non-'Sendable' type '[FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | import Foundation
 33 |
 34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
    |                    `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
 35 |     static let unnamedRule = "[unnamed rule]"
 36 |
    :
133 |
134 | private let _allRules = rulesByName.sorted(by: { $0.key < $1.key }).map(\.value)
135 | private let _deprecatedRules = _allRules.filter(\.isDeprecated)
    |             |- warning: let '_deprecatedRules' is not concurrency-safe because non-'Sendable' type '[FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let '_deprecatedRules' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
136 | private let _disabledByDefault = _allRules.filter(\.disabledByDefault)
137 | private let _defaultRules = allRules(except: _disabledByDefault)
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:136:13: warning: let '_disabledByDefault' is not concurrency-safe because non-'Sendable' type '[FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | import Foundation
 33 |
 34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
    |                    `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
 35 |     static let unnamedRule = "[unnamed rule]"
 36 |
    :
134 | private let _allRules = rulesByName.sorted(by: { $0.key < $1.key }).map(\.value)
135 | private let _deprecatedRules = _allRules.filter(\.isDeprecated)
136 | private let _disabledByDefault = _allRules.filter(\.disabledByDefault)
    |             |- warning: let '_disabledByDefault' is not concurrency-safe because non-'Sendable' type '[FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let '_disabledByDefault' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
137 | private let _defaultRules = allRules(except: _disabledByDefault)
138 |
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:137:13: warning: let '_defaultRules' is not concurrency-safe because non-'Sendable' type '[FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | import Foundation
 33 |
 34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
    |                    `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
 35 |     static let unnamedRule = "[unnamed rule]"
 36 |
    :
135 | private let _deprecatedRules = _allRules.filter(\.isDeprecated)
136 | private let _disabledByDefault = _allRules.filter(\.disabledByDefault)
137 | private let _defaultRules = allRules(except: _disabledByDefault)
    |             |- warning: let '_defaultRules' is not concurrency-safe because non-'Sendable' type '[FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let '_defaultRules' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
138 |
139 | public extension _FormatRules {
/Users/admin/builder/spi-builder-workspace/Sources/FormattingHelpers.swift:3052:16: warning: static property 'yearFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3050 |
3051 | extension Date {
3052 |     static var yearFormatter: (Date) -> String = {
     |                |- warning: static property 'yearFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'yearFormatter' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: add '@MainActor' to make static property 'yearFormatter' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3053 |         let formatter = DateFormatter()
3054 |         formatter.dateFormat = "yyyy"
/Users/admin/builder/spi-builder-workspace/Sources/FormattingHelpers.swift:3058:16: warning: static property 'currentYear' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3056 |     }()
3057 |
3058 |     static var currentYear = yearFormatter(Date())
     |                |- warning: static property 'currentYear' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'currentYear' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: add '@MainActor' to make static property 'currentYear' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3059 |
3060 |     var yearString: String {
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/GitFileInfo.swift:100:13: warning: let 'getGitRoot' is not concurrency-safe because non-'Sendable' type '(URL) -> URL?' may have shared mutable state; this is an error in the Swift 6 language mode
 98 | }
 99 |
100 | private let getGitRoot: (URL) -> URL? = memoize({ $0.relativePath }) { url in
    |             |- warning: let 'getGitRoot' is not concurrency-safe because non-'Sendable' type '(URL) -> URL?' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'getGitRoot' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 |     let dir = "git rev-parse --show-toplevel".shellOutput(cwd: url)
102 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/GitFileInfo.swift:111:13: warning: let 'getDefaultGitInfo' is not concurrency-safe because non-'Sendable' type '(URL) -> GitFileInfo' may have shared mutable state; this is an error in the Swift 6 language mode
109 |
110 | /// If a file has never been committed, default to the local git user for the repository
111 | private let getDefaultGitInfo: (URL) -> GitFileInfo = memoize({ $0.relativePath }) { url in
    |             |- warning: let 'getDefaultGitInfo' is not concurrency-safe because non-'Sendable' type '(URL) -> GitFileInfo' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'getDefaultGitInfo' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 |     let name = "git config user.name".shellOutput(cwd: url)
113 |     let email = "git config user.email".shellOutput(cwd: url)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/GitFileInfo.swift:117:13: warning: let 'getMovedFiles' is not concurrency-safe because non-'Sendable' type '(URL) -> [(from: URL, to: URL)]' may have shared mutable state; this is an error in the Swift 6 language mode
115 | }
116 |
117 | private let getMovedFiles: (URL) -> [(from: URL, to: URL)] = memoize({ $0.relativePath }) { root in
    |             |- warning: let 'getMovedFiles' is not concurrency-safe because non-'Sendable' type '(URL) -> [(from: URL, to: URL)]' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'getMovedFiles' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
118 |     let command = "git diff --diff-filter=R --staged --name-status"
119 |     guard let output = command.shellOutput(cwd: root) else { return [] }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/GitFileInfo.swift:146:13: warning: let 'getCommitInfo' is not concurrency-safe because non-'Sendable' type '((String?, URL)) -> GitFileInfo?' may have shared mutable state; this is an error in the Swift 6 language mode
144 | }
145 |
146 | private let getCommitInfo: ((String?, URL)) -> GitFileInfo? = memoize(
    |             |- warning: let 'getCommitInfo' is not concurrency-safe because non-'Sendable' type '((String?, URL)) -> GitFileInfo?' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'getCommitInfo' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 |     { hash, root in (hash ?? "none") + root.relativePath },
148 |     { hash, root in
/Users/admin/builder/spi-builder-workspace/Sources/Inference.swift:1515:16: warning: static property 'byName' is not concurrency-safe because non-'Sendable' type '[String : OptionInferrer]' may have shared mutable state; this is an error in the Swift 6 language mode
  46 | }
  47 |
  48 | private struct OptionInferrer {
     |                `- note: consider making struct 'OptionInferrer' conform to the 'Sendable' protocol
  49 |     let fn: (Formatter, inout FormatOptions) -> Void
  50 |
     :
1513 |     }()
1514 |
1515 |     static let byName: [String: OptionInferrer] = {
     |                |- warning: static property 'byName' is not concurrency-safe because non-'Sendable' type '[String : OptionInferrer]' may have shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: add '@MainActor' to make static property 'byName' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1516 |         var inferrers = [String: OptionInferrer]()
1517 |         for (label, value) in Mirror(reflecting: Inference()).children {
/Users/admin/builder/spi-builder-workspace/Sources/OptionDescriptor.swift:507:5: warning: let 'Descriptors' is not concurrency-safe because non-'Sendable' type '_Descriptors' may have shared mutable state; this is an error in the Swift 6 language mode
 505 | }
 506 |
 507 | let Descriptors = _Descriptors()
     |     |- warning: let 'Descriptors' is not concurrency-safe because non-'Sendable' type '_Descriptors' may have shared mutable state; this is an error in the Swift 6 language mode
     |     |- note: add '@MainActor' to make let 'Descriptors' part of global actor 'MainActor'
     |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 508 |
 509 | private var _allDescriptors: [OptionDescriptor] = {
     :
 566 | }
 567 |
 568 | struct _Descriptors {
     |        `- note: consider making struct '_Descriptors' conform to the 'Sendable' protocol
 569 |     let lineAfterMarks = OptionDescriptor(
 570 |         argumentName: "line-after-marks",
/Users/admin/builder/spi-builder-workspace/Sources/OptionDescriptor.swift:509:13: warning: var '_allDescriptors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 507 | let Descriptors = _Descriptors()
 508 |
 509 | private var _allDescriptors: [OptionDescriptor] = {
     |             |- warning: var '_allDescriptors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |             |- note: convert '_allDescriptors' to a 'let' constant to make 'Sendable' shared state immutable
     |             |- note: add '@MainActor' to make var '_allDescriptors' part of global actor 'MainActor'
     |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 510 |     var descriptors = [OptionDescriptor]()
 511 |     for (label, value) in Mirror(reflecting: Descriptors).children {
/Users/admin/builder/spi-builder-workspace/Sources/OptionDescriptor.swift:530:13: warning: var '_descriptorsByName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 528 | }()
 529 |
 530 | private var _descriptorsByName: [String: OptionDescriptor] = Dictionary(uniqueKeysWithValues: _allDescriptors.map { ($0.argumentName, $0) })
     |             |- warning: var '_descriptorsByName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |             |- note: convert '_descriptorsByName' to a 'let' constant to make 'Sendable' shared state immutable
     |             |- note: add '@MainActor' to make var '_descriptorsByName' part of global actor 'MainActor'
     |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 531 |
 532 | private let _formattingDescriptors: [OptionDescriptor] = {
/Users/admin/builder/spi-builder-workspace/Sources/OptionDescriptor.swift:532:13: warning: let '_formattingDescriptors' is not concurrency-safe because non-'Sendable' type '[OptionDescriptor]' may have shared mutable state; this is an error in the Swift 6 language mode
  32 | import Foundation
  33 |
  34 | final class OptionDescriptor {
     |             `- note: class 'OptionDescriptor' does not conform to the 'Sendable' protocol
  35 |     enum ArgumentType: EnumAssociable {
  36 |         case binary(true: String, false: String)
     :
 530 | private var _descriptorsByName: [String: OptionDescriptor] = Dictionary(uniqueKeysWithValues: _allDescriptors.map { ($0.argumentName, $0) })
 531 |
 532 | private let _formattingDescriptors: [OptionDescriptor] = {
     |             |- warning: let '_formattingDescriptors' is not concurrency-safe because non-'Sendable' type '[OptionDescriptor]' may have shared mutable state; this is an error in the Swift 6 language mode
     |             |- note: add '@MainActor' to make let '_formattingDescriptors' part of global actor 'MainActor'
     |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 533 |     let internalDescriptors = Descriptors.internal.map(\.argumentName)
 534 |     return _allDescriptors.filter { !internalDescriptors.contains($0.argumentName) }
/Users/admin/builder/spi-builder-workspace/Sources/Options.swift:205:23: warning: static property 'undefined' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
 200 |
 201 | /// Version number wrapper
 202 | public struct Version: RawRepresentable, Comparable, ExpressibleByStringLiteral, CustomStringConvertible {
     |               `- note: consider making struct 'Version' conform to the 'Sendable' protocol
 203 |     public let rawValue: String
 204 |
 205 |     public static let undefined = Version(rawValue: "0")!
     |                       |- warning: static property 'undefined' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: add '@MainActor' to make static property 'undefined' part of global actor 'MainActor'
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 206 |
 207 |     public init(stringLiteral value: String) {
/Users/admin/builder/spi-builder-workspace/Sources/Options.swift:357:16: warning: static property 'defaultReplacements' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 355 | /// File info, used for constructing header comments
 356 | public struct FileInfo: Equatable, CustomStringConvertible {
 357 |     static var defaultReplacements: [ReplacementKey: ReplacementType] = [
     |                |- warning: static property 'defaultReplacements' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'defaultReplacements' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: add '@MainActor' to make static property 'defaultReplacements' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 358 |         .createdDate: .dynamic { info, options in
 359 |             info.creationDate?.format(with: options.dateFormat,
/Users/admin/builder/spi-builder-workspace/Sources/Options.swift:852:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FormatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 708 | /// Configuration options for formatting. These aren't actually used by the
 709 | /// Formatter class itself, but it makes them available to the format rules.
 710 | public struct FormatOptions: CustomStringConvertible {
     |               `- note: consider making struct 'FormatOptions' conform to the 'Sendable' protocol
 711 |     public var lineAfterMarks: Bool
 712 |     public var indent: String
     :
 850 |     var enabledRules: Set<String> = []
 851 |
 852 |     public static let `default` = FormatOptions()
     |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FormatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 853 |
 854 |     public init(lineAfterMarks: Bool = true,
/Users/admin/builder/spi-builder-workspace/Sources/Options.swift:1182:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FileOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1173 |
1174 | /// File enumeration options
1175 | public struct FileOptions {
     |               `- note: consider making struct 'FileOptions' conform to the 'Sendable' protocol
1176 |     public var followSymlinks: Bool
1177 |     public var supportedFileExtensions: [String]
     :
1180 |     public var minVersion: Version
1181 |
1182 |     public static let `default` = FileOptions()
     |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FileOptions' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1183 |
1184 |     public init(followSymlinks: Bool = false,
/Users/admin/builder/spi-builder-workspace/Sources/Options.swift:1223:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Options' may have shared mutable state; this is an error in the Swift 6 language mode
1213 |
1214 | /// All options
1215 | public struct Options {
     |               `- note: consider making struct 'Options' conform to the 'Sendable' protocol
1216 |     public var fileOptions: FileOptions?
1217 |     public var formatOptions: FormatOptions?
     :
1221 |     public var filterOptions: [Glob: [String: String]]
1222 |
1223 |     public static let `default` = Options(
     |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Options' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1224 |         fileOptions: .default,
1225 |         formatOptions: .default,
/Users/admin/builder/spi-builder-workspace/Sources/CommandLine.swift:49:16: warning: static property 'print' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  47 |
  48 |     /// Output handler - override this to intercept output from the CLI
  49 |     static var print: (String, OutputType) -> Void = { _, _ in
     |                |- warning: static property 'print' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'print' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: add '@MainActor' to make static property 'print' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  50 |         fatalError("No print hook set.")
  51 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CommandLine.swift:55:16: warning: static property 'readLine' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  53 |     /// Input handler - override this to inject input into the CLI
  54 |     /// Injected lines should include the terminating newline character
  55 |     static var readLine: () -> String? = {
     |                |- warning: static property 'readLine' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'readLine' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: add '@MainActor' to make static property 'readLine' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  56 |         Swift.readLine(strippingNewline: false)
  57 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CommandLine.swift:70:13: warning: var 'quietMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  68 | }
  69 |
  70 | private var quietMode = false
     |             |- warning: var 'quietMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |             |- note: convert 'quietMode' to a 'let' constant to make 'Sendable' shared state immutable
     |             |- note: add '@MainActor' to make var 'quietMode' part of global actor 'MainActor'
     |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  71 | private func print(_ message: String, as type: CLI.OutputType = .info) {
  72 |     if !quietMode || [.raw, .content, .error].contains(type) {
/Users/admin/builder/spi-builder-workspace/Sources/CommandLine.swift:866:17: warning: capture of 'processFromStdin()' with non-sendable type '() -> ()' in a '@Sendable' closure
 864 |             // If no input file, try stdin
 865 |             DispatchQueue.global(qos: .userInitiated).async {
 866 |                 processFromStdin()
     |                 |- warning: capture of 'processFromStdin()' with non-sendable type '() -> ()' in a '@Sendable' closure
     |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 867 |             }
 868 |             // Wait for input
/Users/admin/builder/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'
 768 |         var input: String?
 769 |         var status = Status.idle
 770 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'
 771 |             status = .started
 772 |             while let line = CLI.readLine() {
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:50:16: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | import Foundation
 33 |
 34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
    |                    `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
 35 |     static let unnamedRule = "[unnamed rule]"
 36 |
    :
 48 |
 49 |     /// Null rule, used for testing
 50 |     static let none: FormatRule = .init(help: "") { _ in } examples: { nil }
    |                |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 51 |
 52 |     var isDeprecated: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:100:12: warning: let 'FormatRules' is not concurrency-safe because non-'Sendable' type '_FormatRules' may have shared mutable state; this is an error in the Swift 6 language mode
 98 | }
 99 |
100 | public let FormatRules = _FormatRules()
    |            |- warning: let 'FormatRules' is not concurrency-safe because non-'Sendable' type '_FormatRules' may have shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: add '@MainActor' to make let 'FormatRules' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 |
102 | private let rulesByName: [String: FormatRule] = {
    :
187 | }
188 |
189 | public struct _FormatRules {
    |               `- note: consider making struct '_FormatRules' conform to the 'Sendable' protocol
190 |     fileprivate init() {}
191 | }
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:102:13: warning: let 'rulesByName' is not concurrency-safe because non-'Sendable' type '[String : FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | import Foundation
 33 |
 34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
    |                    `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
 35 |     static let unnamedRule = "[unnamed rule]"
 36 |
    :
100 | public let FormatRules = _FormatRules()
101 |
102 | private let rulesByName: [String: FormatRule] = {
    |             |- warning: let 'rulesByName' is not concurrency-safe because non-'Sendable' type '[String : FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'rulesByName' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
103 |     var rules = [String: FormatRule]()
104 |     for (name, rule) in ruleRegistry {
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:134:13: warning: let '_allRules' is not concurrency-safe because non-'Sendable' type '[FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | import Foundation
 33 |
 34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
    |                    `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
 35 |     static let unnamedRule = "[unnamed rule]"
 36 |
    :
132 | }
133 |
134 | private let _allRules = rulesByName.sorted(by: { $0.key < $1.key }).map(\.value)
    |             |- warning: let '_allRules' is not concurrency-safe because non-'Sendable' type '[FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let '_allRules' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 | private let _deprecatedRules = _allRules.filter(\.isDeprecated)
136 | private let _disabledByDefault = _allRules.filter(\.disabledByDefault)
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:135:13: warning: let '_deprecatedRules' is not concurrency-safe because non-'Sendable' type '[FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | import Foundation
 33 |
 34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
    |                    `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
 35 |     static let unnamedRule = "[unnamed rule]"
 36 |
    :
133 |
134 | private let _allRules = rulesByName.sorted(by: { $0.key < $1.key }).map(\.value)
135 | private let _deprecatedRules = _allRules.filter(\.isDeprecated)
    |             |- warning: let '_deprecatedRules' is not concurrency-safe because non-'Sendable' type '[FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let '_deprecatedRules' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
136 | private let _disabledByDefault = _allRules.filter(\.disabledByDefault)
137 | private let _defaultRules = allRules(except: _disabledByDefault)
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:136:13: warning: let '_disabledByDefault' is not concurrency-safe because non-'Sendable' type '[FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | import Foundation
 33 |
 34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
    |                    `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
 35 |     static let unnamedRule = "[unnamed rule]"
 36 |
    :
134 | private let _allRules = rulesByName.sorted(by: { $0.key < $1.key }).map(\.value)
135 | private let _deprecatedRules = _allRules.filter(\.isDeprecated)
136 | private let _disabledByDefault = _allRules.filter(\.disabledByDefault)
    |             |- warning: let '_disabledByDefault' is not concurrency-safe because non-'Sendable' type '[FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let '_disabledByDefault' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
137 | private let _defaultRules = allRules(except: _disabledByDefault)
138 |
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:137:13: warning: let '_defaultRules' is not concurrency-safe because non-'Sendable' type '[FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | import Foundation
 33 |
 34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
    |                    `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
 35 |     static let unnamedRule = "[unnamed rule]"
 36 |
    :
135 | private let _deprecatedRules = _allRules.filter(\.isDeprecated)
136 | private let _disabledByDefault = _allRules.filter(\.disabledByDefault)
137 | private let _defaultRules = allRules(except: _disabledByDefault)
    |             |- warning: let '_defaultRules' is not concurrency-safe because non-'Sendable' type '[FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let '_defaultRules' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
138 |
139 | public extension _FormatRules {
/Users/admin/builder/spi-builder-workspace/Sources/FormattingHelpers.swift:3052:16: warning: static property 'yearFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3050 |
3051 | extension Date {
3052 |     static var yearFormatter: (Date) -> String = {
     |                |- warning: static property 'yearFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'yearFormatter' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: add '@MainActor' to make static property 'yearFormatter' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3053 |         let formatter = DateFormatter()
3054 |         formatter.dateFormat = "yyyy"
/Users/admin/builder/spi-builder-workspace/Sources/FormattingHelpers.swift:3058:16: warning: static property 'currentYear' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3056 |     }()
3057 |
3058 |     static var currentYear = yearFormatter(Date())
     |                |- warning: static property 'currentYear' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'currentYear' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: add '@MainActor' to make static property 'currentYear' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3059 |
3060 |     var yearString: String {
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/GitFileInfo.swift:100:13: warning: let 'getGitRoot' is not concurrency-safe because non-'Sendable' type '(URL) -> URL?' may have shared mutable state; this is an error in the Swift 6 language mode
 98 | }
 99 |
100 | private let getGitRoot: (URL) -> URL? = memoize({ $0.relativePath }) { url in
    |             |- warning: let 'getGitRoot' is not concurrency-safe because non-'Sendable' type '(URL) -> URL?' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'getGitRoot' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 |     let dir = "git rev-parse --show-toplevel".shellOutput(cwd: url)
102 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/GitFileInfo.swift:111:13: warning: let 'getDefaultGitInfo' is not concurrency-safe because non-'Sendable' type '(URL) -> GitFileInfo' may have shared mutable state; this is an error in the Swift 6 language mode
109 |
110 | /// If a file has never been committed, default to the local git user for the repository
111 | private let getDefaultGitInfo: (URL) -> GitFileInfo = memoize({ $0.relativePath }) { url in
    |             |- warning: let 'getDefaultGitInfo' is not concurrency-safe because non-'Sendable' type '(URL) -> GitFileInfo' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'getDefaultGitInfo' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 |     let name = "git config user.name".shellOutput(cwd: url)
113 |     let email = "git config user.email".shellOutput(cwd: url)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/GitFileInfo.swift:117:13: warning: let 'getMovedFiles' is not concurrency-safe because non-'Sendable' type '(URL) -> [(from: URL, to: URL)]' may have shared mutable state; this is an error in the Swift 6 language mode
115 | }
116 |
117 | private let getMovedFiles: (URL) -> [(from: URL, to: URL)] = memoize({ $0.relativePath }) { root in
    |             |- warning: let 'getMovedFiles' is not concurrency-safe because non-'Sendable' type '(URL) -> [(from: URL, to: URL)]' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'getMovedFiles' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
118 |     let command = "git diff --diff-filter=R --staged --name-status"
119 |     guard let output = command.shellOutput(cwd: root) else { return [] }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/GitFileInfo.swift:146:13: warning: let 'getCommitInfo' is not concurrency-safe because non-'Sendable' type '((String?, URL)) -> GitFileInfo?' may have shared mutable state; this is an error in the Swift 6 language mode
144 | }
145 |
146 | private let getCommitInfo: ((String?, URL)) -> GitFileInfo? = memoize(
    |             |- warning: let 'getCommitInfo' is not concurrency-safe because non-'Sendable' type '((String?, URL)) -> GitFileInfo?' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'getCommitInfo' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 |     { hash, root in (hash ?? "none") + root.relativePath },
148 |     { hash, root in
/Users/admin/builder/spi-builder-workspace/Sources/Inference.swift:1515:16: warning: static property 'byName' is not concurrency-safe because non-'Sendable' type '[String : OptionInferrer]' may have shared mutable state; this is an error in the Swift 6 language mode
  46 | }
  47 |
  48 | private struct OptionInferrer {
     |                `- note: consider making struct 'OptionInferrer' conform to the 'Sendable' protocol
  49 |     let fn: (Formatter, inout FormatOptions) -> Void
  50 |
     :
1513 |     }()
1514 |
1515 |     static let byName: [String: OptionInferrer] = {
     |                |- warning: static property 'byName' is not concurrency-safe because non-'Sendable' type '[String : OptionInferrer]' may have shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: add '@MainActor' to make static property 'byName' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1516 |         var inferrers = [String: OptionInferrer]()
1517 |         for (label, value) in Mirror(reflecting: Inference()).children {
/Users/admin/builder/spi-builder-workspace/Sources/OptionDescriptor.swift:507:5: warning: let 'Descriptors' is not concurrency-safe because non-'Sendable' type '_Descriptors' may have shared mutable state; this is an error in the Swift 6 language mode
 505 | }
 506 |
 507 | let Descriptors = _Descriptors()
     |     |- warning: let 'Descriptors' is not concurrency-safe because non-'Sendable' type '_Descriptors' may have shared mutable state; this is an error in the Swift 6 language mode
     |     |- note: add '@MainActor' to make let 'Descriptors' part of global actor 'MainActor'
     |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 508 |
 509 | private var _allDescriptors: [OptionDescriptor] = {
     :
 566 | }
 567 |
 568 | struct _Descriptors {
     |        `- note: consider making struct '_Descriptors' conform to the 'Sendable' protocol
 569 |     let lineAfterMarks = OptionDescriptor(
 570 |         argumentName: "line-after-marks",
/Users/admin/builder/spi-builder-workspace/Sources/OptionDescriptor.swift:509:13: warning: var '_allDescriptors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 507 | let Descriptors = _Descriptors()
 508 |
 509 | private var _allDescriptors: [OptionDescriptor] = {
     |             |- warning: var '_allDescriptors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |             |- note: convert '_allDescriptors' to a 'let' constant to make 'Sendable' shared state immutable
     |             |- note: add '@MainActor' to make var '_allDescriptors' part of global actor 'MainActor'
     |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 510 |     var descriptors = [OptionDescriptor]()
 511 |     for (label, value) in Mirror(reflecting: Descriptors).children {
/Users/admin/builder/spi-builder-workspace/Sources/OptionDescriptor.swift:530:13: warning: var '_descriptorsByName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 528 | }()
 529 |
 530 | private var _descriptorsByName: [String: OptionDescriptor] = Dictionary(uniqueKeysWithValues: _allDescriptors.map { ($0.argumentName, $0) })
     |             |- warning: var '_descriptorsByName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |             |- note: convert '_descriptorsByName' to a 'let' constant to make 'Sendable' shared state immutable
     |             |- note: add '@MainActor' to make var '_descriptorsByName' part of global actor 'MainActor'
     |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 531 |
 532 | private let _formattingDescriptors: [OptionDescriptor] = {
/Users/admin/builder/spi-builder-workspace/Sources/OptionDescriptor.swift:532:13: warning: let '_formattingDescriptors' is not concurrency-safe because non-'Sendable' type '[OptionDescriptor]' may have shared mutable state; this is an error in the Swift 6 language mode
  32 | import Foundation
  33 |
  34 | final class OptionDescriptor {
     |             `- note: class 'OptionDescriptor' does not conform to the 'Sendable' protocol
  35 |     enum ArgumentType: EnumAssociable {
  36 |         case binary(true: String, false: String)
     :
 530 | private var _descriptorsByName: [String: OptionDescriptor] = Dictionary(uniqueKeysWithValues: _allDescriptors.map { ($0.argumentName, $0) })
 531 |
 532 | private let _formattingDescriptors: [OptionDescriptor] = {
     |             |- warning: let '_formattingDescriptors' is not concurrency-safe because non-'Sendable' type '[OptionDescriptor]' may have shared mutable state; this is an error in the Swift 6 language mode
     |             |- note: add '@MainActor' to make let '_formattingDescriptors' part of global actor 'MainActor'
     |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 533 |     let internalDescriptors = Descriptors.internal.map(\.argumentName)
 534 |     return _allDescriptors.filter { !internalDescriptors.contains($0.argumentName) }
/Users/admin/builder/spi-builder-workspace/Sources/Options.swift:205:23: warning: static property 'undefined' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
 200 |
 201 | /// Version number wrapper
 202 | public struct Version: RawRepresentable, Comparable, ExpressibleByStringLiteral, CustomStringConvertible {
     |               `- note: consider making struct 'Version' conform to the 'Sendable' protocol
 203 |     public let rawValue: String
 204 |
 205 |     public static let undefined = Version(rawValue: "0")!
     |                       |- warning: static property 'undefined' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: add '@MainActor' to make static property 'undefined' part of global actor 'MainActor'
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 206 |
 207 |     public init(stringLiteral value: String) {
/Users/admin/builder/spi-builder-workspace/Sources/Options.swift:357:16: warning: static property 'defaultReplacements' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 355 | /// File info, used for constructing header comments
 356 | public struct FileInfo: Equatable, CustomStringConvertible {
 357 |     static var defaultReplacements: [ReplacementKey: ReplacementType] = [
     |                |- warning: static property 'defaultReplacements' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'defaultReplacements' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: add '@MainActor' to make static property 'defaultReplacements' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 358 |         .createdDate: .dynamic { info, options in
 359 |             info.creationDate?.format(with: options.dateFormat,
/Users/admin/builder/spi-builder-workspace/Sources/Options.swift:852:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FormatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 708 | /// Configuration options for formatting. These aren't actually used by the
 709 | /// Formatter class itself, but it makes them available to the format rules.
 710 | public struct FormatOptions: CustomStringConvertible {
     |               `- note: consider making struct 'FormatOptions' conform to the 'Sendable' protocol
 711 |     public var lineAfterMarks: Bool
 712 |     public var indent: String
     :
 850 |     var enabledRules: Set<String> = []
 851 |
 852 |     public static let `default` = FormatOptions()
     |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FormatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 853 |
 854 |     public init(lineAfterMarks: Bool = true,
/Users/admin/builder/spi-builder-workspace/Sources/Options.swift:1182:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FileOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1173 |
1174 | /// File enumeration options
1175 | public struct FileOptions {
     |               `- note: consider making struct 'FileOptions' conform to the 'Sendable' protocol
1176 |     public var followSymlinks: Bool
1177 |     public var supportedFileExtensions: [String]
     :
1180 |     public var minVersion: Version
1181 |
1182 |     public static let `default` = FileOptions()
     |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FileOptions' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1183 |
1184 |     public init(followSymlinks: Bool = false,
/Users/admin/builder/spi-builder-workspace/Sources/Options.swift:1223:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Options' may have shared mutable state; this is an error in the Swift 6 language mode
1213 |
1214 | /// All options
1215 | public struct Options {
     |               `- note: consider making struct 'Options' conform to the 'Sendable' protocol
1216 |     public var fileOptions: FileOptions?
1217 |     public var formatOptions: FormatOptions?
     :
1221 |     public var filterOptions: [Glob: [String: String]]
1222 |
1223 |     public static let `default` = Options(
     |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Options' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1224 |         fileOptions: .default,
1225 |         formatOptions: .default,
/Users/admin/builder/spi-builder-workspace/Sources/CommandLine.swift:49:16: warning: static property 'print' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  47 |
  48 |     /// Output handler - override this to intercept output from the CLI
  49 |     static var print: (String, OutputType) -> Void = { _, _ in
     |                |- warning: static property 'print' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'print' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: add '@MainActor' to make static property 'print' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  50 |         fatalError("No print hook set.")
  51 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CommandLine.swift:55:16: warning: static property 'readLine' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  53 |     /// Input handler - override this to inject input into the CLI
  54 |     /// Injected lines should include the terminating newline character
  55 |     static var readLine: () -> String? = {
     |                |- warning: static property 'readLine' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'readLine' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: add '@MainActor' to make static property 'readLine' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  56 |         Swift.readLine(strippingNewline: false)
  57 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CommandLine.swift:70:13: warning: var 'quietMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  68 | }
  69 |
  70 | private var quietMode = false
     |             |- warning: var 'quietMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |             |- note: convert 'quietMode' to a 'let' constant to make 'Sendable' shared state immutable
     |             |- note: add '@MainActor' to make var 'quietMode' part of global actor 'MainActor'
     |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  71 | private func print(_ message: String, as type: CLI.OutputType = .info) {
  72 |     if !quietMode || [.raw, .content, .error].contains(type) {
/Users/admin/builder/spi-builder-workspace/Sources/CommandLine.swift:866:17: warning: capture of 'processFromStdin()' with non-sendable type '() -> ()' in a '@Sendable' closure
 864 |             // If no input file, try stdin
 865 |             DispatchQueue.global(qos: .userInitiated).async {
 866 |                 processFromStdin()
     |                 |- warning: capture of 'processFromStdin()' with non-sendable type '() -> ()' in a '@Sendable' closure
     |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 867 |             }
 868 |             // Wait for input
/Users/admin/builder/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'
 768 |         var input: String?
 769 |         var status = Status.idle
 770 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'
 771 |             status = .started
 772 |             while let line = CLI.readLine() {
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:50:16: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | import Foundation
 33 |
 34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
    |                    `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
 35 |     static let unnamedRule = "[unnamed rule]"
 36 |
    :
 48 |
 49 |     /// Null rule, used for testing
 50 |     static let none: FormatRule = .init(help: "") { _ in } examples: { nil }
    |                |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 51 |
 52 |     var isDeprecated: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:100:12: warning: let 'FormatRules' is not concurrency-safe because non-'Sendable' type '_FormatRules' may have shared mutable state; this is an error in the Swift 6 language mode
 98 | }
 99 |
100 | public let FormatRules = _FormatRules()
    |            |- warning: let 'FormatRules' is not concurrency-safe because non-'Sendable' type '_FormatRules' may have shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: add '@MainActor' to make let 'FormatRules' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 |
102 | private let rulesByName: [String: FormatRule] = {
    :
187 | }
188 |
189 | public struct _FormatRules {
    |               `- note: consider making struct '_FormatRules' conform to the 'Sendable' protocol
190 |     fileprivate init() {}
191 | }
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:102:13: warning: let 'rulesByName' is not concurrency-safe because non-'Sendable' type '[String : FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | import Foundation
 33 |
 34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
    |                    `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
 35 |     static let unnamedRule = "[unnamed rule]"
 36 |
    :
100 | public let FormatRules = _FormatRules()
101 |
102 | private let rulesByName: [String: FormatRule] = {
    |             |- warning: let 'rulesByName' is not concurrency-safe because non-'Sendable' type '[String : FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'rulesByName' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
103 |     var rules = [String: FormatRule]()
104 |     for (name, rule) in ruleRegistry {
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:134:13: warning: let '_allRules' is not concurrency-safe because non-'Sendable' type '[FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | import Foundation
 33 |
 34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
    |                    `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
 35 |     static let unnamedRule = "[unnamed rule]"
 36 |
    :
132 | }
133 |
134 | private let _allRules = rulesByName.sorted(by: { $0.key < $1.key }).map(\.value)
    |             |- warning: let '_allRules' is not concurrency-safe because non-'Sendable' type '[FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let '_allRules' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 | private let _deprecatedRules = _allRules.filter(\.isDeprecated)
136 | private let _disabledByDefault = _allRules.filter(\.disabledByDefault)
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:135:13: warning: let '_deprecatedRules' is not concurrency-safe because non-'Sendable' type '[FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | import Foundation
 33 |
 34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
    |                    `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
 35 |     static let unnamedRule = "[unnamed rule]"
 36 |
    :
133 |
134 | private let _allRules = rulesByName.sorted(by: { $0.key < $1.key }).map(\.value)
135 | private let _deprecatedRules = _allRules.filter(\.isDeprecated)
    |             |- warning: let '_deprecatedRules' is not concurrency-safe because non-'Sendable' type '[FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let '_deprecatedRules' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
136 | private let _disabledByDefault = _allRules.filter(\.disabledByDefault)
137 | private let _defaultRules = allRules(except: _disabledByDefault)
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:136:13: warning: let '_disabledByDefault' is not concurrency-safe because non-'Sendable' type '[FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | import Foundation
 33 |
 34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
    |                    `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
 35 |     static let unnamedRule = "[unnamed rule]"
 36 |
    :
134 | private let _allRules = rulesByName.sorted(by: { $0.key < $1.key }).map(\.value)
135 | private let _deprecatedRules = _allRules.filter(\.isDeprecated)
136 | private let _disabledByDefault = _allRules.filter(\.disabledByDefault)
    |             |- warning: let '_disabledByDefault' is not concurrency-safe because non-'Sendable' type '[FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let '_disabledByDefault' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
137 | private let _defaultRules = allRules(except: _disabledByDefault)
138 |
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:137:13: warning: let '_defaultRules' is not concurrency-safe because non-'Sendable' type '[FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | import Foundation
 33 |
 34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
    |                    `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
 35 |     static let unnamedRule = "[unnamed rule]"
 36 |
    :
135 | private let _deprecatedRules = _allRules.filter(\.isDeprecated)
136 | private let _disabledByDefault = _allRules.filter(\.disabledByDefault)
137 | private let _defaultRules = allRules(except: _disabledByDefault)
    |             |- warning: let '_defaultRules' is not concurrency-safe because non-'Sendable' type '[FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let '_defaultRules' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
138 |
139 | public extension _FormatRules {
/Users/admin/builder/spi-builder-workspace/Sources/FormattingHelpers.swift:3052:16: warning: static property 'yearFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3050 |
3051 | extension Date {
3052 |     static var yearFormatter: (Date) -> String = {
     |                |- warning: static property 'yearFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'yearFormatter' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: add '@MainActor' to make static property 'yearFormatter' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3053 |         let formatter = DateFormatter()
3054 |         formatter.dateFormat = "yyyy"
/Users/admin/builder/spi-builder-workspace/Sources/FormattingHelpers.swift:3058:16: warning: static property 'currentYear' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3056 |     }()
3057 |
3058 |     static var currentYear = yearFormatter(Date())
     |                |- warning: static property 'currentYear' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'currentYear' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: add '@MainActor' to make static property 'currentYear' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3059 |
3060 |     var yearString: String {
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/GitFileInfo.swift:100:13: warning: let 'getGitRoot' is not concurrency-safe because non-'Sendable' type '(URL) -> URL?' may have shared mutable state; this is an error in the Swift 6 language mode
 98 | }
 99 |
100 | private let getGitRoot: (URL) -> URL? = memoize({ $0.relativePath }) { url in
    |             |- warning: let 'getGitRoot' is not concurrency-safe because non-'Sendable' type '(URL) -> URL?' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'getGitRoot' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 |     let dir = "git rev-parse --show-toplevel".shellOutput(cwd: url)
102 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/GitFileInfo.swift:111:13: warning: let 'getDefaultGitInfo' is not concurrency-safe because non-'Sendable' type '(URL) -> GitFileInfo' may have shared mutable state; this is an error in the Swift 6 language mode
109 |
110 | /// If a file has never been committed, default to the local git user for the repository
111 | private let getDefaultGitInfo: (URL) -> GitFileInfo = memoize({ $0.relativePath }) { url in
    |             |- warning: let 'getDefaultGitInfo' is not concurrency-safe because non-'Sendable' type '(URL) -> GitFileInfo' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'getDefaultGitInfo' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 |     let name = "git config user.name".shellOutput(cwd: url)
113 |     let email = "git config user.email".shellOutput(cwd: url)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/GitFileInfo.swift:117:13: warning: let 'getMovedFiles' is not concurrency-safe because non-'Sendable' type '(URL) -> [(from: URL, to: URL)]' may have shared mutable state; this is an error in the Swift 6 language mode
115 | }
116 |
117 | private let getMovedFiles: (URL) -> [(from: URL, to: URL)] = memoize({ $0.relativePath }) { root in
    |             |- warning: let 'getMovedFiles' is not concurrency-safe because non-'Sendable' type '(URL) -> [(from: URL, to: URL)]' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'getMovedFiles' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
118 |     let command = "git diff --diff-filter=R --staged --name-status"
119 |     guard let output = command.shellOutput(cwd: root) else { return [] }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/GitFileInfo.swift:146:13: warning: let 'getCommitInfo' is not concurrency-safe because non-'Sendable' type '((String?, URL)) -> GitFileInfo?' may have shared mutable state; this is an error in the Swift 6 language mode
144 | }
145 |
146 | private let getCommitInfo: ((String?, URL)) -> GitFileInfo? = memoize(
    |             |- warning: let 'getCommitInfo' is not concurrency-safe because non-'Sendable' type '((String?, URL)) -> GitFileInfo?' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'getCommitInfo' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 |     { hash, root in (hash ?? "none") + root.relativePath },
148 |     { hash, root in
/Users/admin/builder/spi-builder-workspace/Sources/Inference.swift:1515:16: warning: static property 'byName' is not concurrency-safe because non-'Sendable' type '[String : OptionInferrer]' may have shared mutable state; this is an error in the Swift 6 language mode
  46 | }
  47 |
  48 | private struct OptionInferrer {
     |                `- note: consider making struct 'OptionInferrer' conform to the 'Sendable' protocol
  49 |     let fn: (Formatter, inout FormatOptions) -> Void
  50 |
     :
1513 |     }()
1514 |
1515 |     static let byName: [String: OptionInferrer] = {
     |                |- warning: static property 'byName' is not concurrency-safe because non-'Sendable' type '[String : OptionInferrer]' may have shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: add '@MainActor' to make static property 'byName' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1516 |         var inferrers = [String: OptionInferrer]()
1517 |         for (label, value) in Mirror(reflecting: Inference()).children {
/Users/admin/builder/spi-builder-workspace/Sources/OptionDescriptor.swift:507:5: warning: let 'Descriptors' is not concurrency-safe because non-'Sendable' type '_Descriptors' may have shared mutable state; this is an error in the Swift 6 language mode
 505 | }
 506 |
 507 | let Descriptors = _Descriptors()
     |     |- warning: let 'Descriptors' is not concurrency-safe because non-'Sendable' type '_Descriptors' may have shared mutable state; this is an error in the Swift 6 language mode
     |     |- note: add '@MainActor' to make let 'Descriptors' part of global actor 'MainActor'
     |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 508 |
 509 | private var _allDescriptors: [OptionDescriptor] = {
     :
 566 | }
 567 |
 568 | struct _Descriptors {
     |        `- note: consider making struct '_Descriptors' conform to the 'Sendable' protocol
 569 |     let lineAfterMarks = OptionDescriptor(
 570 |         argumentName: "line-after-marks",
/Users/admin/builder/spi-builder-workspace/Sources/OptionDescriptor.swift:509:13: warning: var '_allDescriptors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 507 | let Descriptors = _Descriptors()
 508 |
 509 | private var _allDescriptors: [OptionDescriptor] = {
     |             |- warning: var '_allDescriptors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |             |- note: convert '_allDescriptors' to a 'let' constant to make 'Sendable' shared state immutable
     |             |- note: add '@MainActor' to make var '_allDescriptors' part of global actor 'MainActor'
     |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 510 |     var descriptors = [OptionDescriptor]()
 511 |     for (label, value) in Mirror(reflecting: Descriptors).children {
/Users/admin/builder/spi-builder-workspace/Sources/OptionDescriptor.swift:530:13: warning: var '_descriptorsByName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 528 | }()
 529 |
 530 | private var _descriptorsByName: [String: OptionDescriptor] = Dictionary(uniqueKeysWithValues: _allDescriptors.map { ($0.argumentName, $0) })
     |             |- warning: var '_descriptorsByName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |             |- note: convert '_descriptorsByName' to a 'let' constant to make 'Sendable' shared state immutable
     |             |- note: add '@MainActor' to make var '_descriptorsByName' part of global actor 'MainActor'
     |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 531 |
 532 | private let _formattingDescriptors: [OptionDescriptor] = {
/Users/admin/builder/spi-builder-workspace/Sources/OptionDescriptor.swift:532:13: warning: let '_formattingDescriptors' is not concurrency-safe because non-'Sendable' type '[OptionDescriptor]' may have shared mutable state; this is an error in the Swift 6 language mode
  32 | import Foundation
  33 |
  34 | final class OptionDescriptor {
     |             `- note: class 'OptionDescriptor' does not conform to the 'Sendable' protocol
  35 |     enum ArgumentType: EnumAssociable {
  36 |         case binary(true: String, false: String)
     :
 530 | private var _descriptorsByName: [String: OptionDescriptor] = Dictionary(uniqueKeysWithValues: _allDescriptors.map { ($0.argumentName, $0) })
 531 |
 532 | private let _formattingDescriptors: [OptionDescriptor] = {
     |             |- warning: let '_formattingDescriptors' is not concurrency-safe because non-'Sendable' type '[OptionDescriptor]' may have shared mutable state; this is an error in the Swift 6 language mode
     |             |- note: add '@MainActor' to make let '_formattingDescriptors' part of global actor 'MainActor'
     |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 533 |     let internalDescriptors = Descriptors.internal.map(\.argumentName)
 534 |     return _allDescriptors.filter { !internalDescriptors.contains($0.argumentName) }
/Users/admin/builder/spi-builder-workspace/Sources/Options.swift:205:23: warning: static property 'undefined' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
 200 |
 201 | /// Version number wrapper
 202 | public struct Version: RawRepresentable, Comparable, ExpressibleByStringLiteral, CustomStringConvertible {
     |               `- note: consider making struct 'Version' conform to the 'Sendable' protocol
 203 |     public let rawValue: String
 204 |
 205 |     public static let undefined = Version(rawValue: "0")!
     |                       |- warning: static property 'undefined' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: add '@MainActor' to make static property 'undefined' part of global actor 'MainActor'
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 206 |
 207 |     public init(stringLiteral value: String) {
/Users/admin/builder/spi-builder-workspace/Sources/Options.swift:357:16: warning: static property 'defaultReplacements' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 355 | /// File info, used for constructing header comments
 356 | public struct FileInfo: Equatable, CustomStringConvertible {
 357 |     static var defaultReplacements: [ReplacementKey: ReplacementType] = [
     |                |- warning: static property 'defaultReplacements' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'defaultReplacements' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: add '@MainActor' to make static property 'defaultReplacements' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 358 |         .createdDate: .dynamic { info, options in
 359 |             info.creationDate?.format(with: options.dateFormat,
/Users/admin/builder/spi-builder-workspace/Sources/Options.swift:852:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FormatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 708 | /// Configuration options for formatting. These aren't actually used by the
 709 | /// Formatter class itself, but it makes them available to the format rules.
 710 | public struct FormatOptions: CustomStringConvertible {
     |               `- note: consider making struct 'FormatOptions' conform to the 'Sendable' protocol
 711 |     public var lineAfterMarks: Bool
 712 |     public var indent: String
     :
 850 |     var enabledRules: Set<String> = []
 851 |
 852 |     public static let `default` = FormatOptions()
     |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FormatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 853 |
 854 |     public init(lineAfterMarks: Bool = true,
/Users/admin/builder/spi-builder-workspace/Sources/Options.swift:1182:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FileOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1173 |
1174 | /// File enumeration options
1175 | public struct FileOptions {
     |               `- note: consider making struct 'FileOptions' conform to the 'Sendable' protocol
1176 |     public var followSymlinks: Bool
1177 |     public var supportedFileExtensions: [String]
     :
1180 |     public var minVersion: Version
1181 |
1182 |     public static let `default` = FileOptions()
     |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FileOptions' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1183 |
1184 |     public init(followSymlinks: Bool = false,
/Users/admin/builder/spi-builder-workspace/Sources/Options.swift:1223:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Options' may have shared mutable state; this is an error in the Swift 6 language mode
1213 |
1214 | /// All options
1215 | public struct Options {
     |               `- note: consider making struct 'Options' conform to the 'Sendable' protocol
1216 |     public var fileOptions: FileOptions?
1217 |     public var formatOptions: FormatOptions?
     :
1221 |     public var filterOptions: [Glob: [String: String]]
1222 |
1223 |     public static let `default` = Options(
     |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Options' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1224 |         fileOptions: .default,
1225 |         formatOptions: .default,
/Users/admin/builder/spi-builder-workspace/Sources/CommandLine.swift:49:16: warning: static property 'print' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  47 |
  48 |     /// Output handler - override this to intercept output from the CLI
  49 |     static var print: (String, OutputType) -> Void = { _, _ in
     |                |- warning: static property 'print' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'print' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: add '@MainActor' to make static property 'print' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  50 |         fatalError("No print hook set.")
  51 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CommandLine.swift:55:16: warning: static property 'readLine' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  53 |     /// Input handler - override this to inject input into the CLI
  54 |     /// Injected lines should include the terminating newline character
  55 |     static var readLine: () -> String? = {
     |                |- warning: static property 'readLine' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'readLine' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: add '@MainActor' to make static property 'readLine' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  56 |         Swift.readLine(strippingNewline: false)
  57 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CommandLine.swift:70:13: warning: var 'quietMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  68 | }
  69 |
  70 | private var quietMode = false
     |             |- warning: var 'quietMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |             |- note: convert 'quietMode' to a 'let' constant to make 'Sendable' shared state immutable
     |             |- note: add '@MainActor' to make var 'quietMode' part of global actor 'MainActor'
     |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  71 | private func print(_ message: String, as type: CLI.OutputType = .info) {
  72 |     if !quietMode || [.raw, .content, .error].contains(type) {
/Users/admin/builder/spi-builder-workspace/Sources/CommandLine.swift:866:17: warning: capture of 'processFromStdin()' with non-sendable type '() -> ()' in a '@Sendable' closure
 864 |             // If no input file, try stdin
 865 |             DispatchQueue.global(qos: .userInitiated).async {
 866 |                 processFromStdin()
     |                 |- warning: capture of 'processFromStdin()' with non-sendable type '() -> ()' in a '@Sendable' closure
     |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 867 |             }
 868 |             // Wait for input
/Users/admin/builder/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'
 768 |         var input: String?
 769 |         var status = Status.idle
 770 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'
 771 |             status = .started
 772 |             while let line = CLI.readLine() {
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:50:16: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | import Foundation
 33 |
 34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
    |                    `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
 35 |     static let unnamedRule = "[unnamed rule]"
 36 |
    :
 48 |
 49 |     /// Null rule, used for testing
 50 |     static let none: FormatRule = .init(help: "") { _ in } examples: { nil }
    |                |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 51 |
 52 |     var isDeprecated: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:100:12: warning: let 'FormatRules' is not concurrency-safe because non-'Sendable' type '_FormatRules' may have shared mutable state; this is an error in the Swift 6 language mode
 98 | }
 99 |
100 | public let FormatRules = _FormatRules()
    |            |- warning: let 'FormatRules' is not concurrency-safe because non-'Sendable' type '_FormatRules' may have shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: add '@MainActor' to make let 'FormatRules' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 |
102 | private let rulesByName: [String: FormatRule] = {
    :
187 | }
188 |
189 | public struct _FormatRules {
    |               `- note: consider making struct '_FormatRules' conform to the 'Sendable' protocol
190 |     fileprivate init() {}
191 | }
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:102:13: warning: let 'rulesByName' is not concurrency-safe because non-'Sendable' type '[String : FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | import Foundation
 33 |
 34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
    |                    `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
 35 |     static let unnamedRule = "[unnamed rule]"
 36 |
    :
100 | public let FormatRules = _FormatRules()
101 |
102 | private let rulesByName: [String: FormatRule] = {
    |             |- warning: let 'rulesByName' is not concurrency-safe because non-'Sendable' type '[String : FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'rulesByName' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
103 |     var rules = [String: FormatRule]()
104 |     for (name, rule) in ruleRegistry {
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:134:13: warning: let '_allRules' is not concurrency-safe because non-'Sendable' type '[FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | import Foundation
 33 |
 34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
    |                    `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
 35 |     static let unnamedRule = "[unnamed rule]"
 36 |
    :
132 | }
133 |
134 | private let _allRules = rulesByName.sorted(by: { $0.key < $1.key }).map(\.value)
    |             |- warning: let '_allRules' is not concurrency-safe because non-'Sendable' type '[FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let '_allRules' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 | private let _deprecatedRules = _allRules.filter(\.isDeprecated)
136 | private let _disabledByDefault = _allRules.filter(\.disabledByDefault)
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:135:13: warning: let '_deprecatedRules' is not concurrency-safe because non-'Sendable' type '[FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | import Foundation
 33 |
 34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
    |                    `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
 35 |     static let unnamedRule = "[unnamed rule]"
 36 |
    :
133 |
134 | private let _allRules = rulesByName.sorted(by: { $0.key < $1.key }).map(\.value)
135 | private let _deprecatedRules = _allRules.filter(\.isDeprecated)
    |             |- warning: let '_deprecatedRules' is not concurrency-safe because non-'Sendable' type '[FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let '_deprecatedRules' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
136 | private let _disabledByDefault = _allRules.filter(\.disabledByDefault)
137 | private let _defaultRules = allRules(except: _disabledByDefault)
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:136:13: warning: let '_disabledByDefault' is not concurrency-safe because non-'Sendable' type '[FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | import Foundation
 33 |
 34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
    |                    `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
 35 |     static let unnamedRule = "[unnamed rule]"
 36 |
    :
134 | private let _allRules = rulesByName.sorted(by: { $0.key < $1.key }).map(\.value)
135 | private let _deprecatedRules = _allRules.filter(\.isDeprecated)
136 | private let _disabledByDefault = _allRules.filter(\.disabledByDefault)
    |             |- warning: let '_disabledByDefault' is not concurrency-safe because non-'Sendable' type '[FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let '_disabledByDefault' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
137 | private let _defaultRules = allRules(except: _disabledByDefault)
138 |
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:137:13: warning: let '_defaultRules' is not concurrency-safe because non-'Sendable' type '[FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | import Foundation
 33 |
 34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
    |                    `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
 35 |     static let unnamedRule = "[unnamed rule]"
 36 |
    :
135 | private let _deprecatedRules = _allRules.filter(\.isDeprecated)
136 | private let _disabledByDefault = _allRules.filter(\.disabledByDefault)
137 | private let _defaultRules = allRules(except: _disabledByDefault)
    |             |- warning: let '_defaultRules' is not concurrency-safe because non-'Sendable' type '[FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let '_defaultRules' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
138 |
139 | public extension _FormatRules {
/Users/admin/builder/spi-builder-workspace/Sources/FormattingHelpers.swift:3052:16: warning: static property 'yearFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3050 |
3051 | extension Date {
3052 |     static var yearFormatter: (Date) -> String = {
     |                |- warning: static property 'yearFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'yearFormatter' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: add '@MainActor' to make static property 'yearFormatter' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3053 |         let formatter = DateFormatter()
3054 |         formatter.dateFormat = "yyyy"
/Users/admin/builder/spi-builder-workspace/Sources/FormattingHelpers.swift:3058:16: warning: static property 'currentYear' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3056 |     }()
3057 |
3058 |     static var currentYear = yearFormatter(Date())
     |                |- warning: static property 'currentYear' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'currentYear' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: add '@MainActor' to make static property 'currentYear' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3059 |
3060 |     var yearString: String {
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/GitFileInfo.swift:100:13: warning: let 'getGitRoot' is not concurrency-safe because non-'Sendable' type '(URL) -> URL?' may have shared mutable state; this is an error in the Swift 6 language mode
 98 | }
 99 |
100 | private let getGitRoot: (URL) -> URL? = memoize({ $0.relativePath }) { url in
    |             |- warning: let 'getGitRoot' is not concurrency-safe because non-'Sendable' type '(URL) -> URL?' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'getGitRoot' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 |     let dir = "git rev-parse --show-toplevel".shellOutput(cwd: url)
102 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/GitFileInfo.swift:111:13: warning: let 'getDefaultGitInfo' is not concurrency-safe because non-'Sendable' type '(URL) -> GitFileInfo' may have shared mutable state; this is an error in the Swift 6 language mode
109 |
110 | /// If a file has never been committed, default to the local git user for the repository
111 | private let getDefaultGitInfo: (URL) -> GitFileInfo = memoize({ $0.relativePath }) { url in
    |             |- warning: let 'getDefaultGitInfo' is not concurrency-safe because non-'Sendable' type '(URL) -> GitFileInfo' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'getDefaultGitInfo' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 |     let name = "git config user.name".shellOutput(cwd: url)
113 |     let email = "git config user.email".shellOutput(cwd: url)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/GitFileInfo.swift:117:13: warning: let 'getMovedFiles' is not concurrency-safe because non-'Sendable' type '(URL) -> [(from: URL, to: URL)]' may have shared mutable state; this is an error in the Swift 6 language mode
115 | }
116 |
117 | private let getMovedFiles: (URL) -> [(from: URL, to: URL)] = memoize({ $0.relativePath }) { root in
    |             |- warning: let 'getMovedFiles' is not concurrency-safe because non-'Sendable' type '(URL) -> [(from: URL, to: URL)]' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'getMovedFiles' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
118 |     let command = "git diff --diff-filter=R --staged --name-status"
119 |     guard let output = command.shellOutput(cwd: root) else { return [] }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/GitFileInfo.swift:146:13: warning: let 'getCommitInfo' is not concurrency-safe because non-'Sendable' type '((String?, URL)) -> GitFileInfo?' may have shared mutable state; this is an error in the Swift 6 language mode
144 | }
145 |
146 | private let getCommitInfo: ((String?, URL)) -> GitFileInfo? = memoize(
    |             |- warning: let 'getCommitInfo' is not concurrency-safe because non-'Sendable' type '((String?, URL)) -> GitFileInfo?' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'getCommitInfo' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 |     { hash, root in (hash ?? "none") + root.relativePath },
148 |     { hash, root in
/Users/admin/builder/spi-builder-workspace/Sources/Inference.swift:1515:16: warning: static property 'byName' is not concurrency-safe because non-'Sendable' type '[String : OptionInferrer]' may have shared mutable state; this is an error in the Swift 6 language mode
  46 | }
  47 |
  48 | private struct OptionInferrer {
     |                `- note: consider making struct 'OptionInferrer' conform to the 'Sendable' protocol
  49 |     let fn: (Formatter, inout FormatOptions) -> Void
  50 |
     :
1513 |     }()
1514 |
1515 |     static let byName: [String: OptionInferrer] = {
     |                |- warning: static property 'byName' is not concurrency-safe because non-'Sendable' type '[String : OptionInferrer]' may have shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: add '@MainActor' to make static property 'byName' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1516 |         var inferrers = [String: OptionInferrer]()
1517 |         for (label, value) in Mirror(reflecting: Inference()).children {
/Users/admin/builder/spi-builder-workspace/Sources/OptionDescriptor.swift:507:5: warning: let 'Descriptors' is not concurrency-safe because non-'Sendable' type '_Descriptors' may have shared mutable state; this is an error in the Swift 6 language mode
 505 | }
 506 |
 507 | let Descriptors = _Descriptors()
     |     |- warning: let 'Descriptors' is not concurrency-safe because non-'Sendable' type '_Descriptors' may have shared mutable state; this is an error in the Swift 6 language mode
     |     |- note: add '@MainActor' to make let 'Descriptors' part of global actor 'MainActor'
     |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 508 |
 509 | private var _allDescriptors: [OptionDescriptor] = {
     :
 566 | }
 567 |
 568 | struct _Descriptors {
     |        `- note: consider making struct '_Descriptors' conform to the 'Sendable' protocol
 569 |     let lineAfterMarks = OptionDescriptor(
 570 |         argumentName: "line-after-marks",
/Users/admin/builder/spi-builder-workspace/Sources/OptionDescriptor.swift:509:13: warning: var '_allDescriptors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 507 | let Descriptors = _Descriptors()
 508 |
 509 | private var _allDescriptors: [OptionDescriptor] = {
     |             |- warning: var '_allDescriptors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |             |- note: convert '_allDescriptors' to a 'let' constant to make 'Sendable' shared state immutable
     |             |- note: add '@MainActor' to make var '_allDescriptors' part of global actor 'MainActor'
     |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 510 |     var descriptors = [OptionDescriptor]()
 511 |     for (label, value) in Mirror(reflecting: Descriptors).children {
/Users/admin/builder/spi-builder-workspace/Sources/OptionDescriptor.swift:530:13: warning: var '_descriptorsByName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 528 | }()
 529 |
 530 | private var _descriptorsByName: [String: OptionDescriptor] = Dictionary(uniqueKeysWithValues: _allDescriptors.map { ($0.argumentName, $0) })
     |             |- warning: var '_descriptorsByName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |             |- note: convert '_descriptorsByName' to a 'let' constant to make 'Sendable' shared state immutable
     |             |- note: add '@MainActor' to make var '_descriptorsByName' part of global actor 'MainActor'
     |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 531 |
 532 | private let _formattingDescriptors: [OptionDescriptor] = {
/Users/admin/builder/spi-builder-workspace/Sources/OptionDescriptor.swift:532:13: warning: let '_formattingDescriptors' is not concurrency-safe because non-'Sendable' type '[OptionDescriptor]' may have shared mutable state; this is an error in the Swift 6 language mode
  32 | import Foundation
  33 |
  34 | final class OptionDescriptor {
     |             `- note: class 'OptionDescriptor' does not conform to the 'Sendable' protocol
  35 |     enum ArgumentType: EnumAssociable {
  36 |         case binary(true: String, false: String)
     :
 530 | private var _descriptorsByName: [String: OptionDescriptor] = Dictionary(uniqueKeysWithValues: _allDescriptors.map { ($0.argumentName, $0) })
 531 |
 532 | private let _formattingDescriptors: [OptionDescriptor] = {
     |             |- warning: let '_formattingDescriptors' is not concurrency-safe because non-'Sendable' type '[OptionDescriptor]' may have shared mutable state; this is an error in the Swift 6 language mode
     |             |- note: add '@MainActor' to make let '_formattingDescriptors' part of global actor 'MainActor'
     |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 533 |     let internalDescriptors = Descriptors.internal.map(\.argumentName)
 534 |     return _allDescriptors.filter { !internalDescriptors.contains($0.argumentName) }
/Users/admin/builder/spi-builder-workspace/Sources/Options.swift:205:23: warning: static property 'undefined' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
 200 |
 201 | /// Version number wrapper
 202 | public struct Version: RawRepresentable, Comparable, ExpressibleByStringLiteral, CustomStringConvertible {
     |               `- note: consider making struct 'Version' conform to the 'Sendable' protocol
 203 |     public let rawValue: String
 204 |
 205 |     public static let undefined = Version(rawValue: "0")!
     |                       |- warning: static property 'undefined' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: add '@MainActor' to make static property 'undefined' part of global actor 'MainActor'
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 206 |
 207 |     public init(stringLiteral value: String) {
/Users/admin/builder/spi-builder-workspace/Sources/Options.swift:357:16: warning: static property 'defaultReplacements' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 355 | /// File info, used for constructing header comments
 356 | public struct FileInfo: Equatable, CustomStringConvertible {
 357 |     static var defaultReplacements: [ReplacementKey: ReplacementType] = [
     |                |- warning: static property 'defaultReplacements' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'defaultReplacements' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: add '@MainActor' to make static property 'defaultReplacements' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 358 |         .createdDate: .dynamic { info, options in
 359 |             info.creationDate?.format(with: options.dateFormat,
/Users/admin/builder/spi-builder-workspace/Sources/Options.swift:852:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FormatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 708 | /// Configuration options for formatting. These aren't actually used by the
 709 | /// Formatter class itself, but it makes them available to the format rules.
 710 | public struct FormatOptions: CustomStringConvertible {
     |               `- note: consider making struct 'FormatOptions' conform to the 'Sendable' protocol
 711 |     public var lineAfterMarks: Bool
 712 |     public var indent: String
     :
 850 |     var enabledRules: Set<String> = []
 851 |
 852 |     public static let `default` = FormatOptions()
     |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FormatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 853 |
 854 |     public init(lineAfterMarks: Bool = true,
/Users/admin/builder/spi-builder-workspace/Sources/Options.swift:1182:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FileOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1173 |
1174 | /// File enumeration options
1175 | public struct FileOptions {
     |               `- note: consider making struct 'FileOptions' conform to the 'Sendable' protocol
1176 |     public var followSymlinks: Bool
1177 |     public var supportedFileExtensions: [String]
     :
1180 |     public var minVersion: Version
1181 |
1182 |     public static let `default` = FileOptions()
     |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FileOptions' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1183 |
1184 |     public init(followSymlinks: Bool = false,
/Users/admin/builder/spi-builder-workspace/Sources/Options.swift:1223:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Options' may have shared mutable state; this is an error in the Swift 6 language mode
1213 |
1214 | /// All options
1215 | public struct Options {
     |               `- note: consider making struct 'Options' conform to the 'Sendable' protocol
1216 |     public var fileOptions: FileOptions?
1217 |     public var formatOptions: FormatOptions?
     :
1221 |     public var filterOptions: [Glob: [String: String]]
1222 |
1223 |     public static let `default` = Options(
     |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Options' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1224 |         fileOptions: .default,
1225 |         formatOptions: .default,
/Users/admin/builder/spi-builder-workspace/Sources/CommandLine.swift:49:16: warning: static property 'print' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  47 |
  48 |     /// Output handler - override this to intercept output from the CLI
  49 |     static var print: (String, OutputType) -> Void = { _, _ in
     |                |- warning: static property 'print' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'print' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: add '@MainActor' to make static property 'print' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  50 |         fatalError("No print hook set.")
  51 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CommandLine.swift:55:16: warning: static property 'readLine' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  53 |     /// Input handler - override this to inject input into the CLI
  54 |     /// Injected lines should include the terminating newline character
  55 |     static var readLine: () -> String? = {
     |                |- warning: static property 'readLine' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'readLine' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: add '@MainActor' to make static property 'readLine' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  56 |         Swift.readLine(strippingNewline: false)
  57 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CommandLine.swift:70:13: warning: var 'quietMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  68 | }
  69 |
  70 | private var quietMode = false
     |             |- warning: var 'quietMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |             |- note: convert 'quietMode' to a 'let' constant to make 'Sendable' shared state immutable
     |             |- note: add '@MainActor' to make var 'quietMode' part of global actor 'MainActor'
     |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  71 | private func print(_ message: String, as type: CLI.OutputType = .info) {
  72 |     if !quietMode || [.raw, .content, .error].contains(type) {
/Users/admin/builder/spi-builder-workspace/Sources/CommandLine.swift:866:17: warning: capture of 'processFromStdin()' with non-sendable type '() -> ()' in a '@Sendable' closure
 864 |             // If no input file, try stdin
 865 |             DispatchQueue.global(qos: .userInitiated).async {
 866 |                 processFromStdin()
     |                 |- warning: capture of 'processFromStdin()' with non-sendable type '() -> ()' in a '@Sendable' closure
     |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 867 |             }
 868 |             // Wait for input
/Users/admin/builder/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'
 768 |         var input: String?
 769 |         var status = Status.idle
 770 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'
 771 |             status = .started
 772 |             while let line = CLI.readLine() {
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:50:16: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | import Foundation
 33 |
 34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
    |                    `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
 35 |     static let unnamedRule = "[unnamed rule]"
 36 |
    :
 48 |
 49 |     /// Null rule, used for testing
 50 |     static let none: FormatRule = .init(help: "") { _ in } examples: { nil }
    |                |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 51 |
 52 |     var isDeprecated: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:100:12: warning: let 'FormatRules' is not concurrency-safe because non-'Sendable' type '_FormatRules' may have shared mutable state; this is an error in the Swift 6 language mode
 98 | }
 99 |
100 | public let FormatRules = _FormatRules()
    |            |- warning: let 'FormatRules' is not concurrency-safe because non-'Sendable' type '_FormatRules' may have shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: add '@MainActor' to make let 'FormatRules' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 |
102 | private let rulesByName: [String: FormatRule] = {
    :
187 | }
188 |
189 | public struct _FormatRules {
    |               `- note: consider making struct '_FormatRules' conform to the 'Sendable' protocol
190 |     fileprivate init() {}
191 | }
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:102:13: warning: let 'rulesByName' is not concurrency-safe because non-'Sendable' type '[String : FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | import Foundation
 33 |
 34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
    |                    `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
 35 |     static let unnamedRule = "[unnamed rule]"
 36 |
    :
100 | public let FormatRules = _FormatRules()
101 |
102 | private let rulesByName: [String: FormatRule] = {
    |             |- warning: let 'rulesByName' is not concurrency-safe because non-'Sendable' type '[String : FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'rulesByName' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
103 |     var rules = [String: FormatRule]()
104 |     for (name, rule) in ruleRegistry {
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:134:13: warning: let '_allRules' is not concurrency-safe because non-'Sendable' type '[FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | import Foundation
 33 |
 34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
    |                    `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
 35 |     static let unnamedRule = "[unnamed rule]"
 36 |
    :
132 | }
133 |
134 | private let _allRules = rulesByName.sorted(by: { $0.key < $1.key }).map(\.value)
    |             |- warning: let '_allRules' is not concurrency-safe because non-'Sendable' type '[FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let '_allRules' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 | private let _deprecatedRules = _allRules.filter(\.isDeprecated)
136 | private let _disabledByDefault = _allRules.filter(\.disabledByDefault)
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:135:13: warning: let '_deprecatedRules' is not concurrency-safe because non-'Sendable' type '[FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | import Foundation
 33 |
 34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
    |                    `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
 35 |     static let unnamedRule = "[unnamed rule]"
 36 |
    :
133 |
134 | private let _allRules = rulesByName.sorted(by: { $0.key < $1.key }).map(\.value)
135 | private let _deprecatedRules = _allRules.filter(\.isDeprecated)
    |             |- warning: let '_deprecatedRules' is not concurrency-safe because non-'Sendable' type '[FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let '_deprecatedRules' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
136 | private let _disabledByDefault = _allRules.filter(\.disabledByDefault)
137 | private let _defaultRules = allRules(except: _disabledByDefault)
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:136:13: warning: let '_disabledByDefault' is not concurrency-safe because non-'Sendable' type '[FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | import Foundation
 33 |
 34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
    |                    `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
 35 |     static let unnamedRule = "[unnamed rule]"
 36 |
    :
134 | private let _allRules = rulesByName.sorted(by: { $0.key < $1.key }).map(\.value)
135 | private let _deprecatedRules = _allRules.filter(\.isDeprecated)
136 | private let _disabledByDefault = _allRules.filter(\.disabledByDefault)
    |             |- warning: let '_disabledByDefault' is not concurrency-safe because non-'Sendable' type '[FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let '_disabledByDefault' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
137 | private let _defaultRules = allRules(except: _disabledByDefault)
138 |
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:137:13: warning: let '_defaultRules' is not concurrency-safe because non-'Sendable' type '[FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | import Foundation
 33 |
 34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
    |                    `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
 35 |     static let unnamedRule = "[unnamed rule]"
 36 |
    :
135 | private let _deprecatedRules = _allRules.filter(\.isDeprecated)
136 | private let _disabledByDefault = _allRules.filter(\.disabledByDefault)
137 | private let _defaultRules = allRules(except: _disabledByDefault)
    |             |- warning: let '_defaultRules' is not concurrency-safe because non-'Sendable' type '[FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let '_defaultRules' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
138 |
139 | public extension _FormatRules {
/Users/admin/builder/spi-builder-workspace/Sources/FormattingHelpers.swift:3052:16: warning: static property 'yearFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3050 |
3051 | extension Date {
3052 |     static var yearFormatter: (Date) -> String = {
     |                |- warning: static property 'yearFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'yearFormatter' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: add '@MainActor' to make static property 'yearFormatter' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3053 |         let formatter = DateFormatter()
3054 |         formatter.dateFormat = "yyyy"
/Users/admin/builder/spi-builder-workspace/Sources/FormattingHelpers.swift:3058:16: warning: static property 'currentYear' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3056 |     }()
3057 |
3058 |     static var currentYear = yearFormatter(Date())
     |                |- warning: static property 'currentYear' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'currentYear' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: add '@MainActor' to make static property 'currentYear' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3059 |
3060 |     var yearString: String {
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/GitFileInfo.swift:100:13: warning: let 'getGitRoot' is not concurrency-safe because non-'Sendable' type '(URL) -> URL?' may have shared mutable state; this is an error in the Swift 6 language mode
 98 | }
 99 |
100 | private let getGitRoot: (URL) -> URL? = memoize({ $0.relativePath }) { url in
    |             |- warning: let 'getGitRoot' is not concurrency-safe because non-'Sendable' type '(URL) -> URL?' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'getGitRoot' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 |     let dir = "git rev-parse --show-toplevel".shellOutput(cwd: url)
102 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/GitFileInfo.swift:111:13: warning: let 'getDefaultGitInfo' is not concurrency-safe because non-'Sendable' type '(URL) -> GitFileInfo' may have shared mutable state; this is an error in the Swift 6 language mode
109 |
110 | /// If a file has never been committed, default to the local git user for the repository
111 | private let getDefaultGitInfo: (URL) -> GitFileInfo = memoize({ $0.relativePath }) { url in
    |             |- warning: let 'getDefaultGitInfo' is not concurrency-safe because non-'Sendable' type '(URL) -> GitFileInfo' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'getDefaultGitInfo' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 |     let name = "git config user.name".shellOutput(cwd: url)
113 |     let email = "git config user.email".shellOutput(cwd: url)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/GitFileInfo.swift:117:13: warning: let 'getMovedFiles' is not concurrency-safe because non-'Sendable' type '(URL) -> [(from: URL, to: URL)]' may have shared mutable state; this is an error in the Swift 6 language mode
115 | }
116 |
117 | private let getMovedFiles: (URL) -> [(from: URL, to: URL)] = memoize({ $0.relativePath }) { root in
    |             |- warning: let 'getMovedFiles' is not concurrency-safe because non-'Sendable' type '(URL) -> [(from: URL, to: URL)]' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'getMovedFiles' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
118 |     let command = "git diff --diff-filter=R --staged --name-status"
119 |     guard let output = command.shellOutput(cwd: root) else { return [] }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/GitFileInfo.swift:146:13: warning: let 'getCommitInfo' is not concurrency-safe because non-'Sendable' type '((String?, URL)) -> GitFileInfo?' may have shared mutable state; this is an error in the Swift 6 language mode
144 | }
145 |
146 | private let getCommitInfo: ((String?, URL)) -> GitFileInfo? = memoize(
    |             |- warning: let 'getCommitInfo' is not concurrency-safe because non-'Sendable' type '((String?, URL)) -> GitFileInfo?' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'getCommitInfo' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 |     { hash, root in (hash ?? "none") + root.relativePath },
148 |     { hash, root in
/Users/admin/builder/spi-builder-workspace/Sources/Inference.swift:1515:16: warning: static property 'byName' is not concurrency-safe because non-'Sendable' type '[String : OptionInferrer]' may have shared mutable state; this is an error in the Swift 6 language mode
  46 | }
  47 |
  48 | private struct OptionInferrer {
     |                `- note: consider making struct 'OptionInferrer' conform to the 'Sendable' protocol
  49 |     let fn: (Formatter, inout FormatOptions) -> Void
  50 |
     :
1513 |     }()
1514 |
1515 |     static let byName: [String: OptionInferrer] = {
     |                |- warning: static property 'byName' is not concurrency-safe because non-'Sendable' type '[String : OptionInferrer]' may have shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: add '@MainActor' to make static property 'byName' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1516 |         var inferrers = [String: OptionInferrer]()
1517 |         for (label, value) in Mirror(reflecting: Inference()).children {
/Users/admin/builder/spi-builder-workspace/Sources/OptionDescriptor.swift:507:5: warning: let 'Descriptors' is not concurrency-safe because non-'Sendable' type '_Descriptors' may have shared mutable state; this is an error in the Swift 6 language mode
 505 | }
 506 |
 507 | let Descriptors = _Descriptors()
     |     |- warning: let 'Descriptors' is not concurrency-safe because non-'Sendable' type '_Descriptors' may have shared mutable state; this is an error in the Swift 6 language mode
     |     |- note: add '@MainActor' to make let 'Descriptors' part of global actor 'MainActor'
     |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 508 |
 509 | private var _allDescriptors: [OptionDescriptor] = {
     :
 566 | }
 567 |
 568 | struct _Descriptors {
     |        `- note: consider making struct '_Descriptors' conform to the 'Sendable' protocol
 569 |     let lineAfterMarks = OptionDescriptor(
 570 |         argumentName: "line-after-marks",
/Users/admin/builder/spi-builder-workspace/Sources/OptionDescriptor.swift:509:13: warning: var '_allDescriptors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 507 | let Descriptors = _Descriptors()
 508 |
 509 | private var _allDescriptors: [OptionDescriptor] = {
     |             |- warning: var '_allDescriptors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |             |- note: convert '_allDescriptors' to a 'let' constant to make 'Sendable' shared state immutable
     |             |- note: add '@MainActor' to make var '_allDescriptors' part of global actor 'MainActor'
     |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 510 |     var descriptors = [OptionDescriptor]()
 511 |     for (label, value) in Mirror(reflecting: Descriptors).children {
/Users/admin/builder/spi-builder-workspace/Sources/OptionDescriptor.swift:530:13: warning: var '_descriptorsByName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 528 | }()
 529 |
 530 | private var _descriptorsByName: [String: OptionDescriptor] = Dictionary(uniqueKeysWithValues: _allDescriptors.map { ($0.argumentName, $0) })
     |             |- warning: var '_descriptorsByName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |             |- note: convert '_descriptorsByName' to a 'let' constant to make 'Sendable' shared state immutable
     |             |- note: add '@MainActor' to make var '_descriptorsByName' part of global actor 'MainActor'
     |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 531 |
 532 | private let _formattingDescriptors: [OptionDescriptor] = {
/Users/admin/builder/spi-builder-workspace/Sources/OptionDescriptor.swift:532:13: warning: let '_formattingDescriptors' is not concurrency-safe because non-'Sendable' type '[OptionDescriptor]' may have shared mutable state; this is an error in the Swift 6 language mode
  32 | import Foundation
  33 |
  34 | final class OptionDescriptor {
     |             `- note: class 'OptionDescriptor' does not conform to the 'Sendable' protocol
  35 |     enum ArgumentType: EnumAssociable {
  36 |         case binary(true: String, false: String)
     :
 530 | private var _descriptorsByName: [String: OptionDescriptor] = Dictionary(uniqueKeysWithValues: _allDescriptors.map { ($0.argumentName, $0) })
 531 |
 532 | private let _formattingDescriptors: [OptionDescriptor] = {
     |             |- warning: let '_formattingDescriptors' is not concurrency-safe because non-'Sendable' type '[OptionDescriptor]' may have shared mutable state; this is an error in the Swift 6 language mode
     |             |- note: add '@MainActor' to make let '_formattingDescriptors' part of global actor 'MainActor'
     |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 533 |     let internalDescriptors = Descriptors.internal.map(\.argumentName)
 534 |     return _allDescriptors.filter { !internalDescriptors.contains($0.argumentName) }
/Users/admin/builder/spi-builder-workspace/Sources/Options.swift:205:23: warning: static property 'undefined' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
 200 |
 201 | /// Version number wrapper
 202 | public struct Version: RawRepresentable, Comparable, ExpressibleByStringLiteral, CustomStringConvertible {
     |               `- note: consider making struct 'Version' conform to the 'Sendable' protocol
 203 |     public let rawValue: String
 204 |
 205 |     public static let undefined = Version(rawValue: "0")!
     |                       |- warning: static property 'undefined' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: add '@MainActor' to make static property 'undefined' part of global actor 'MainActor'
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 206 |
 207 |     public init(stringLiteral value: String) {
/Users/admin/builder/spi-builder-workspace/Sources/Options.swift:357:16: warning: static property 'defaultReplacements' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 355 | /// File info, used for constructing header comments
 356 | public struct FileInfo: Equatable, CustomStringConvertible {
 357 |     static var defaultReplacements: [ReplacementKey: ReplacementType] = [
     |                |- warning: static property 'defaultReplacements' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'defaultReplacements' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: add '@MainActor' to make static property 'defaultReplacements' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 358 |         .createdDate: .dynamic { info, options in
 359 |             info.creationDate?.format(with: options.dateFormat,
/Users/admin/builder/spi-builder-workspace/Sources/Options.swift:852:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FormatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 708 | /// Configuration options for formatting. These aren't actually used by the
 709 | /// Formatter class itself, but it makes them available to the format rules.
 710 | public struct FormatOptions: CustomStringConvertible {
     |               `- note: consider making struct 'FormatOptions' conform to the 'Sendable' protocol
 711 |     public var lineAfterMarks: Bool
 712 |     public var indent: String
     :
 850 |     var enabledRules: Set<String> = []
 851 |
 852 |     public static let `default` = FormatOptions()
     |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FormatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 853 |
 854 |     public init(lineAfterMarks: Bool = true,
/Users/admin/builder/spi-builder-workspace/Sources/Options.swift:1182:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FileOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1173 |
1174 | /// File enumeration options
1175 | public struct FileOptions {
     |               `- note: consider making struct 'FileOptions' conform to the 'Sendable' protocol
1176 |     public var followSymlinks: Bool
1177 |     public var supportedFileExtensions: [String]
     :
1180 |     public var minVersion: Version
1181 |
1182 |     public static let `default` = FileOptions()
     |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FileOptions' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1183 |
1184 |     public init(followSymlinks: Bool = false,
/Users/admin/builder/spi-builder-workspace/Sources/Options.swift:1223:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Options' may have shared mutable state; this is an error in the Swift 6 language mode
1213 |
1214 | /// All options
1215 | public struct Options {
     |               `- note: consider making struct 'Options' conform to the 'Sendable' protocol
1216 |     public var fileOptions: FileOptions?
1217 |     public var formatOptions: FormatOptions?
     :
1221 |     public var filterOptions: [Glob: [String: String]]
1222 |
1223 |     public static let `default` = Options(
     |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Options' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1224 |         fileOptions: .default,
1225 |         formatOptions: .default,
/Users/admin/builder/spi-builder-workspace/Sources/CommandLine.swift:49:16: warning: static property 'print' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  47 |
  48 |     /// Output handler - override this to intercept output from the CLI
  49 |     static var print: (String, OutputType) -> Void = { _, _ in
     |                |- warning: static property 'print' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'print' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: add '@MainActor' to make static property 'print' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  50 |         fatalError("No print hook set.")
  51 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CommandLine.swift:55:16: warning: static property 'readLine' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  53 |     /// Input handler - override this to inject input into the CLI
  54 |     /// Injected lines should include the terminating newline character
  55 |     static var readLine: () -> String? = {
     |                |- warning: static property 'readLine' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'readLine' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: add '@MainActor' to make static property 'readLine' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  56 |         Swift.readLine(strippingNewline: false)
  57 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CommandLine.swift:70:13: warning: var 'quietMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  68 | }
  69 |
  70 | private var quietMode = false
     |             |- warning: var 'quietMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |             |- note: convert 'quietMode' to a 'let' constant to make 'Sendable' shared state immutable
     |             |- note: add '@MainActor' to make var 'quietMode' part of global actor 'MainActor'
     |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  71 | private func print(_ message: String, as type: CLI.OutputType = .info) {
  72 |     if !quietMode || [.raw, .content, .error].contains(type) {
/Users/admin/builder/spi-builder-workspace/Sources/CommandLine.swift:866:17: warning: capture of 'processFromStdin()' with non-sendable type '() -> ()' in a '@Sendable' closure
 864 |             // If no input file, try stdin
 865 |             DispatchQueue.global(qos: .userInitiated).async {
 866 |                 processFromStdin()
     |                 |- warning: capture of 'processFromStdin()' with non-sendable type '() -> ()' in a '@Sendable' closure
     |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 867 |             }
 868 |             // Wait for input
/Users/admin/builder/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'
 768 |         var input: String?
 769 |         var status = Status.idle
 770 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'
 771 |             status = .started
 772 |             while let line = CLI.readLine() {
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:50:16: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | import Foundation
 33 |
 34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
    |                    `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
 35 |     static let unnamedRule = "[unnamed rule]"
 36 |
    :
 48 |
 49 |     /// Null rule, used for testing
 50 |     static let none: FormatRule = .init(help: "") { _ in } examples: { nil }
    |                |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 51 |
 52 |     var isDeprecated: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:100:12: warning: let 'FormatRules' is not concurrency-safe because non-'Sendable' type '_FormatRules' may have shared mutable state; this is an error in the Swift 6 language mode
 98 | }
 99 |
100 | public let FormatRules = _FormatRules()
    |            |- warning: let 'FormatRules' is not concurrency-safe because non-'Sendable' type '_FormatRules' may have shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: add '@MainActor' to make let 'FormatRules' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 |
102 | private let rulesByName: [String: FormatRule] = {
    :
187 | }
188 |
189 | public struct _FormatRules {
    |               `- note: consider making struct '_FormatRules' conform to the 'Sendable' protocol
190 |     fileprivate init() {}
191 | }
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:102:13: warning: let 'rulesByName' is not concurrency-safe because non-'Sendable' type '[String : FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | import Foundation
 33 |
 34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
    |                    `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
 35 |     static let unnamedRule = "[unnamed rule]"
 36 |
    :
100 | public let FormatRules = _FormatRules()
101 |
102 | private let rulesByName: [String: FormatRule] = {
    |             |- warning: let 'rulesByName' is not concurrency-safe because non-'Sendable' type '[String : FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'rulesByName' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
103 |     var rules = [String: FormatRule]()
104 |     for (name, rule) in ruleRegistry {
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:134:13: warning: let '_allRules' is not concurrency-safe because non-'Sendable' type '[FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | import Foundation
 33 |
 34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
    |                    `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
 35 |     static let unnamedRule = "[unnamed rule]"
 36 |
    :
132 | }
133 |
134 | private let _allRules = rulesByName.sorted(by: { $0.key < $1.key }).map(\.value)
    |             |- warning: let '_allRules' is not concurrency-safe because non-'Sendable' type '[FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let '_allRules' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 | private let _deprecatedRules = _allRules.filter(\.isDeprecated)
136 | private let _disabledByDefault = _allRules.filter(\.disabledByDefault)
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:135:13: warning: let '_deprecatedRules' is not concurrency-safe because non-'Sendable' type '[FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | import Foundation
 33 |
 34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
    |                    `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
 35 |     static let unnamedRule = "[unnamed rule]"
 36 |
    :
133 |
134 | private let _allRules = rulesByName.sorted(by: { $0.key < $1.key }).map(\.value)
135 | private let _deprecatedRules = _allRules.filter(\.isDeprecated)
    |             |- warning: let '_deprecatedRules' is not concurrency-safe because non-'Sendable' type '[FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let '_deprecatedRules' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
136 | private let _disabledByDefault = _allRules.filter(\.disabledByDefault)
137 | private let _defaultRules = allRules(except: _disabledByDefault)
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:136:13: warning: let '_disabledByDefault' is not concurrency-safe because non-'Sendable' type '[FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | import Foundation
 33 |
 34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
    |                    `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
 35 |     static let unnamedRule = "[unnamed rule]"
 36 |
    :
134 | private let _allRules = rulesByName.sorted(by: { $0.key < $1.key }).map(\.value)
135 | private let _deprecatedRules = _allRules.filter(\.isDeprecated)
136 | private let _disabledByDefault = _allRules.filter(\.disabledByDefault)
    |             |- warning: let '_disabledByDefault' is not concurrency-safe because non-'Sendable' type '[FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let '_disabledByDefault' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
137 | private let _defaultRules = allRules(except: _disabledByDefault)
138 |
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:137:13: warning: let '_defaultRules' is not concurrency-safe because non-'Sendable' type '[FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | import Foundation
 33 |
 34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
    |                    `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
 35 |     static let unnamedRule = "[unnamed rule]"
 36 |
    :
135 | private let _deprecatedRules = _allRules.filter(\.isDeprecated)
136 | private let _disabledByDefault = _allRules.filter(\.disabledByDefault)
137 | private let _defaultRules = allRules(except: _disabledByDefault)
    |             |- warning: let '_defaultRules' is not concurrency-safe because non-'Sendable' type '[FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let '_defaultRules' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
138 |
139 | public extension _FormatRules {
/Users/admin/builder/spi-builder-workspace/Sources/FormattingHelpers.swift:3052:16: warning: static property 'yearFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3050 |
3051 | extension Date {
3052 |     static var yearFormatter: (Date) -> String = {
     |                |- warning: static property 'yearFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'yearFormatter' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: add '@MainActor' to make static property 'yearFormatter' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3053 |         let formatter = DateFormatter()
3054 |         formatter.dateFormat = "yyyy"
/Users/admin/builder/spi-builder-workspace/Sources/FormattingHelpers.swift:3058:16: warning: static property 'currentYear' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3056 |     }()
3057 |
3058 |     static var currentYear = yearFormatter(Date())
     |                |- warning: static property 'currentYear' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'currentYear' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: add '@MainActor' to make static property 'currentYear' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3059 |
3060 |     var yearString: String {
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/GitFileInfo.swift:100:13: warning: let 'getGitRoot' is not concurrency-safe because non-'Sendable' type '(URL) -> URL?' may have shared mutable state; this is an error in the Swift 6 language mode
 98 | }
 99 |
100 | private let getGitRoot: (URL) -> URL? = memoize({ $0.relativePath }) { url in
    |             |- warning: let 'getGitRoot' is not concurrency-safe because non-'Sendable' type '(URL) -> URL?' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'getGitRoot' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 |     let dir = "git rev-parse --show-toplevel".shellOutput(cwd: url)
102 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/GitFileInfo.swift:111:13: warning: let 'getDefaultGitInfo' is not concurrency-safe because non-'Sendable' type '(URL) -> GitFileInfo' may have shared mutable state; this is an error in the Swift 6 language mode
109 |
110 | /// If a file has never been committed, default to the local git user for the repository
111 | private let getDefaultGitInfo: (URL) -> GitFileInfo = memoize({ $0.relativePath }) { url in
    |             |- warning: let 'getDefaultGitInfo' is not concurrency-safe because non-'Sendable' type '(URL) -> GitFileInfo' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'getDefaultGitInfo' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 |     let name = "git config user.name".shellOutput(cwd: url)
113 |     let email = "git config user.email".shellOutput(cwd: url)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/GitFileInfo.swift:117:13: warning: let 'getMovedFiles' is not concurrency-safe because non-'Sendable' type '(URL) -> [(from: URL, to: URL)]' may have shared mutable state; this is an error in the Swift 6 language mode
115 | }
116 |
117 | private let getMovedFiles: (URL) -> [(from: URL, to: URL)] = memoize({ $0.relativePath }) { root in
    |             |- warning: let 'getMovedFiles' is not concurrency-safe because non-'Sendable' type '(URL) -> [(from: URL, to: URL)]' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'getMovedFiles' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
118 |     let command = "git diff --diff-filter=R --staged --name-status"
119 |     guard let output = command.shellOutput(cwd: root) else { return [] }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/GitFileInfo.swift:146:13: warning: let 'getCommitInfo' is not concurrency-safe because non-'Sendable' type '((String?, URL)) -> GitFileInfo?' may have shared mutable state; this is an error in the Swift 6 language mode
144 | }
145 |
146 | private let getCommitInfo: ((String?, URL)) -> GitFileInfo? = memoize(
    |             |- warning: let 'getCommitInfo' is not concurrency-safe because non-'Sendable' type '((String?, URL)) -> GitFileInfo?' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'getCommitInfo' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 |     { hash, root in (hash ?? "none") + root.relativePath },
148 |     { hash, root in
/Users/admin/builder/spi-builder-workspace/Sources/Inference.swift:1515:16: warning: static property 'byName' is not concurrency-safe because non-'Sendable' type '[String : OptionInferrer]' may have shared mutable state; this is an error in the Swift 6 language mode
  46 | }
  47 |
  48 | private struct OptionInferrer {
     |                `- note: consider making struct 'OptionInferrer' conform to the 'Sendable' protocol
  49 |     let fn: (Formatter, inout FormatOptions) -> Void
  50 |
     :
1513 |     }()
1514 |
1515 |     static let byName: [String: OptionInferrer] = {
     |                |- warning: static property 'byName' is not concurrency-safe because non-'Sendable' type '[String : OptionInferrer]' may have shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: add '@MainActor' to make static property 'byName' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1516 |         var inferrers = [String: OptionInferrer]()
1517 |         for (label, value) in Mirror(reflecting: Inference()).children {
/Users/admin/builder/spi-builder-workspace/Sources/OptionDescriptor.swift:507:5: warning: let 'Descriptors' is not concurrency-safe because non-'Sendable' type '_Descriptors' may have shared mutable state; this is an error in the Swift 6 language mode
 505 | }
 506 |
 507 | let Descriptors = _Descriptors()
     |     |- warning: let 'Descriptors' is not concurrency-safe because non-'Sendable' type '_Descriptors' may have shared mutable state; this is an error in the Swift 6 language mode
     |     |- note: add '@MainActor' to make let 'Descriptors' part of global actor 'MainActor'
     |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 508 |
 509 | private var _allDescriptors: [OptionDescriptor] = {
     :
 566 | }
 567 |
 568 | struct _Descriptors {
     |        `- note: consider making struct '_Descriptors' conform to the 'Sendable' protocol
 569 |     let lineAfterMarks = OptionDescriptor(
 570 |         argumentName: "line-after-marks",
/Users/admin/builder/spi-builder-workspace/Sources/OptionDescriptor.swift:509:13: warning: var '_allDescriptors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 507 | let Descriptors = _Descriptors()
 508 |
 509 | private var _allDescriptors: [OptionDescriptor] = {
     |             |- warning: var '_allDescriptors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |             |- note: convert '_allDescriptors' to a 'let' constant to make 'Sendable' shared state immutable
     |             |- note: add '@MainActor' to make var '_allDescriptors' part of global actor 'MainActor'
     |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 510 |     var descriptors = [OptionDescriptor]()
 511 |     for (label, value) in Mirror(reflecting: Descriptors).children {
/Users/admin/builder/spi-builder-workspace/Sources/OptionDescriptor.swift:530:13: warning: var '_descriptorsByName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 528 | }()
 529 |
 530 | private var _descriptorsByName: [String: OptionDescriptor] = Dictionary(uniqueKeysWithValues: _allDescriptors.map { ($0.argumentName, $0) })
     |             |- warning: var '_descriptorsByName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |             |- note: convert '_descriptorsByName' to a 'let' constant to make 'Sendable' shared state immutable
     |             |- note: add '@MainActor' to make var '_descriptorsByName' part of global actor 'MainActor'
     |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 531 |
 532 | private let _formattingDescriptors: [OptionDescriptor] = {
/Users/admin/builder/spi-builder-workspace/Sources/OptionDescriptor.swift:532:13: warning: let '_formattingDescriptors' is not concurrency-safe because non-'Sendable' type '[OptionDescriptor]' may have shared mutable state; this is an error in the Swift 6 language mode
  32 | import Foundation
  33 |
  34 | final class OptionDescriptor {
     |             `- note: class 'OptionDescriptor' does not conform to the 'Sendable' protocol
  35 |     enum ArgumentType: EnumAssociable {
  36 |         case binary(true: String, false: String)
     :
 530 | private var _descriptorsByName: [String: OptionDescriptor] = Dictionary(uniqueKeysWithValues: _allDescriptors.map { ($0.argumentName, $0) })
 531 |
 532 | private let _formattingDescriptors: [OptionDescriptor] = {
     |             |- warning: let '_formattingDescriptors' is not concurrency-safe because non-'Sendable' type '[OptionDescriptor]' may have shared mutable state; this is an error in the Swift 6 language mode
     |             |- note: add '@MainActor' to make let '_formattingDescriptors' part of global actor 'MainActor'
     |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 533 |     let internalDescriptors = Descriptors.internal.map(\.argumentName)
 534 |     return _allDescriptors.filter { !internalDescriptors.contains($0.argumentName) }
/Users/admin/builder/spi-builder-workspace/Sources/Options.swift:205:23: warning: static property 'undefined' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
 200 |
 201 | /// Version number wrapper
 202 | public struct Version: RawRepresentable, Comparable, ExpressibleByStringLiteral, CustomStringConvertible {
     |               `- note: consider making struct 'Version' conform to the 'Sendable' protocol
 203 |     public let rawValue: String
 204 |
 205 |     public static let undefined = Version(rawValue: "0")!
     |                       |- warning: static property 'undefined' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: add '@MainActor' to make static property 'undefined' part of global actor 'MainActor'
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 206 |
 207 |     public init(stringLiteral value: String) {
/Users/admin/builder/spi-builder-workspace/Sources/Options.swift:357:16: warning: static property 'defaultReplacements' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 355 | /// File info, used for constructing header comments
 356 | public struct FileInfo: Equatable, CustomStringConvertible {
 357 |     static var defaultReplacements: [ReplacementKey: ReplacementType] = [
     |                |- warning: static property 'defaultReplacements' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'defaultReplacements' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: add '@MainActor' to make static property 'defaultReplacements' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 358 |         .createdDate: .dynamic { info, options in
 359 |             info.creationDate?.format(with: options.dateFormat,
/Users/admin/builder/spi-builder-workspace/Sources/Options.swift:852:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FormatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 708 | /// Configuration options for formatting. These aren't actually used by the
 709 | /// Formatter class itself, but it makes them available to the format rules.
 710 | public struct FormatOptions: CustomStringConvertible {
     |               `- note: consider making struct 'FormatOptions' conform to the 'Sendable' protocol
 711 |     public var lineAfterMarks: Bool
 712 |     public var indent: String
     :
 850 |     var enabledRules: Set<String> = []
 851 |
 852 |     public static let `default` = FormatOptions()
     |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FormatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 853 |
 854 |     public init(lineAfterMarks: Bool = true,
/Users/admin/builder/spi-builder-workspace/Sources/Options.swift:1182:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FileOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1173 |
1174 | /// File enumeration options
1175 | public struct FileOptions {
     |               `- note: consider making struct 'FileOptions' conform to the 'Sendable' protocol
1176 |     public var followSymlinks: Bool
1177 |     public var supportedFileExtensions: [String]
     :
1180 |     public var minVersion: Version
1181 |
1182 |     public static let `default` = FileOptions()
     |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FileOptions' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1183 |
1184 |     public init(followSymlinks: Bool = false,
/Users/admin/builder/spi-builder-workspace/Sources/Options.swift:1223:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Options' may have shared mutable state; this is an error in the Swift 6 language mode
1213 |
1214 | /// All options
1215 | public struct Options {
     |               `- note: consider making struct 'Options' conform to the 'Sendable' protocol
1216 |     public var fileOptions: FileOptions?
1217 |     public var formatOptions: FormatOptions?
     :
1221 |     public var filterOptions: [Glob: [String: String]]
1222 |
1223 |     public static let `default` = Options(
     |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Options' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1224 |         fileOptions: .default,
1225 |         formatOptions: .default,
[322/328] Compiling CommandLineTool main.swift
/Users/admin/builder/spi-builder-workspace/CommandLineTool/main.swift:69:5: warning: reference to static property 'print' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
67 | private let printQueue = DispatchQueue(label: "swiftformat.print")
68 |
69 | CLI.print = { message, type in
   |     `- warning: reference to static property 'print' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
70 |     printQueue.sync {
71 |         switch type {
/Users/admin/builder/spi-builder-workspace/Sources/CommandLine.swift:49:16: note: static property declared here
  47 |
  48 |     /// Output handler - override this to intercept output from the CLI
  49 |     static var print: (String, OutputType) -> Void = { _, _ in
     |                `- note: static property declared here
  50 |         fatalError("No print hook set.")
  51 |     }
[323/328] Emitting module CommandLineTool
/Users/admin/builder/spi-builder-workspace/CommandLineTool/main.swift:69:5: warning: reference to static property 'print' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
67 | private let printQueue = DispatchQueue(label: "swiftformat.print")
68 |
69 | CLI.print = { message, type in
   |     `- warning: reference to static property 'print' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
70 |     printQueue.sync {
71 |         switch type {
/Users/admin/builder/spi-builder-workspace/Sources/CommandLine.swift:49:16: note: static property declared here
  47 |
  48 |     /// Output handler - override this to intercept output from the CLI
  49 |     static var print: (String, OutputType) -> Void = { _, _ in
     |                `- note: static property declared here
  50 |         fatalError("No print hook set.")
  51 |     }
/Users/admin/builder/spi-builder-workspace/CommandLineTool/main.swift:69:5: warning: reference to static property 'print' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
67 | private let printQueue = DispatchQueue(label: "swiftformat.print")
68 |
69 | CLI.print = { message, type in
   |     `- warning: reference to static property 'print' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
70 |     printQueue.sync {
71 |         switch type {
/Users/admin/builder/spi-builder-workspace/Sources/CommandLine.swift:49:16: note: static property declared here
  47 |
  48 |     /// Output handler - override this to intercept output from the CLI
  49 |     static var print: (String, OutputType) -> Void = { _, _ in
     |                `- note: static property declared here
  50 |         fatalError("No print hook set.")
  51 |     }
[325/328] Compiling CommandLineTool main.swift
/Users/admin/builder/spi-builder-workspace/CommandLineTool/main.swift:69:5: warning: reference to static property 'print' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
67 | private let printQueue = DispatchQueue(label: "swiftformat.print")
68 |
69 | CLI.print = { message, type in
   |     `- warning: reference to static property 'print' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
70 |     printQueue.sync {
71 |         switch type {
/Users/admin/builder/spi-builder-workspace/Sources/CommandLine.swift:49:16: note: static property declared here
  47 |
  48 |     /// Output handler - override this to intercept output from the CLI
  49 |     static var print: (String, OutputType) -> Void = { _, _ in
     |                `- note: static property declared here
  50 |         fatalError("No print hook set.")
  51 |     }
[325/328] Write Objects.LinkFileList
[326/328] Linking swiftformat
[327/328] Applying swiftformat
Build complete! (16.00s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftFormat",
  "name" : "SwiftFormat",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "swiftformat",
      "targets" : [
        "CommandLineTool"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "SwiftFormat",
      "targets" : [
        "SwiftFormat"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SwiftFormatPlugin",
      "targets" : [
        "SwiftFormatPlugin"
      ],
      "type" : {
        "plugin" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftFormatTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftFormatTests",
      "path" : "Tests",
      "sources" : [
        "ArgumentsTests.swift",
        "BadConfig/Test.swift",
        "CodeOrganizationTests.swift",
        "CommandLineTests.swift",
        "DeclarationV2Tests.swift",
        "EnumAssociableTests.swift",
        "FormatterTests.swift",
        "GlobsTests.swift",
        "InferenceTests.swift",
        "MetadataTests.swift",
        "OptionDescriptorTests.swift",
        "ParsingHelpersTests.swift",
        "ProjectFilePaths.swift",
        "Rules/AcronymsTests.swift",
        "Rules/AndOperatorTests.swift",
        "Rules/AnyObjectProtocolTests.swift",
        "Rules/ApplicationMainTests.swift",
        "Rules/AssertionFailuresTests.swift",
        "Rules/BlankLineAfterImportsTests.swift",
        "Rules/BlankLineAfterSwitchCaseTests.swift",
        "Rules/BlankLinesAfterGuardStatementsTests.swift",
        "Rules/BlankLinesAroundMarkTests.swift",
        "Rules/BlankLinesAtEndOfScopeTests.swift",
        "Rules/BlankLinesAtStartOfScopeTests.swift",
        "Rules/BlankLinesBetweenChainedFunctionsTests.swift",
        "Rules/BlankLinesBetweenImportsTests.swift",
        "Rules/BlankLinesBetweenScopesTests.swift",
        "Rules/BlockCommentsTests.swift",
        "Rules/BracesTests.swift",
        "Rules/ConditionalAssignmentTests.swift",
        "Rules/ConsecutiveBlankLinesTests.swift",
        "Rules/ConsecutiveSpacesTests.swift",
        "Rules/ConsistentSwitchCaseSpacingTests.swift",
        "Rules/DocCommentsBeforeModifiersTests.swift",
        "Rules/DocCommentsTests.swift",
        "Rules/DuplicateImportsTests.swift",
        "Rules/ElseOnSameLineTests.swift",
        "Rules/EmptyBracesTests.swift",
        "Rules/EmptyExtensionsTests.swift",
        "Rules/EnumNamespacesTests.swift",
        "Rules/EnvironmentEntryTests.swift",
        "Rules/ExtensionAccessControlTests.swift",
        "Rules/FileHeaderTests.swift",
        "Rules/FileMacroTests.swift",
        "Rules/GenericExtensionsTests.swift",
        "Rules/HeaderFileNameTests.swift",
        "Rules/HoistAwaitTests.swift",
        "Rules/HoistPatternLetTests.swift",
        "Rules/HoistTryTests.swift",
        "Rules/IndentTests.swift",
        "Rules/InitCoderUnavailableTests.swift",
        "Rules/IsEmptyTests.swift",
        "Rules/LeadingDelimitersTests.swift",
        "Rules/LinebreakAtEndOfFileTests.swift",
        "Rules/LinebreaksTests.swift",
        "Rules/MarkTypesTests.swift",
        "Rules/ModifierOrderTests.swift",
        "Rules/ModifiersOnSameLineTests.swift",
        "Rules/NoExplicitOwnershipTests.swift",
        "Rules/NoForceTryInTestsTests.swift",
        "Rules/NoForceUnwrapInTestsTests.swift",
        "Rules/NoGuardInTestsTests.swift",
        "Rules/NumberFormattingTests.swift",
        "Rules/OpaqueGenericParametersTests.swift",
        "Rules/OrganizeDeclarationsTests.swift",
        "Rules/PreferCountWhereTests.swift",
        "Rules/PreferFinalClassesTests.swift",
        "Rules/PreferForLoopTests.swift",
        "Rules/PreferKeyPathTests.swift",
        "Rules/PreferSwiftTestingTests.swift",
        "Rules/PrivateStateVariablesTests.swift",
        "Rules/PropertyTypesTests.swift",
        "Rules/RedundantAsyncTests.swift",
        "Rules/RedundantBackticksTests.swift",
        "Rules/RedundantBreakTests.swift",
        "Rules/RedundantClosureTests.swift",
        "Rules/RedundantEquatableTests.swift",
        "Rules/RedundantExtensionACLTests.swift",
        "Rules/RedundantFileprivateTests.swift",
        "Rules/RedundantGetTests.swift",
        "Rules/RedundantInitTests.swift",
        "Rules/RedundantInternalTests.swift",
        "Rules/RedundantLetErrorTests.swift",
        "Rules/RedundantLetTests.swift",
        "Rules/RedundantMemberwiseInitTests.swift",
        "Rules/RedundantNilInitTests.swift",
        "Rules/RedundantObjcTests.swift",
        "Rules/RedundantOptionalBindingTests.swift",
        "Rules/RedundantParensTests.swift",
        "Rules/RedundantPatternTests.swift",
        "Rules/RedundantPropertyTests.swift",
        "Rules/RedundantPublicTests.swift",
        "Rules/RedundantRawValuesTests.swift",
        "Rules/RedundantReturnTests.swift",
        "Rules/RedundantSelfTests.swift",
        "Rules/RedundantStaticSelfTests.swift",
        "Rules/RedundantThrowsTests.swift",
        "Rules/RedundantTypeTests.swift",
        "Rules/RedundantTypedThrowsTests.swift",
        "Rules/RedundantVoidReturnTypeTests.swift",
        "Rules/SemicolonsTests.swift",
        "Rules/SinglePropertyPerLineTests.swift",
        "Rules/SortDeclarationsTests.swift",
        "Rules/SortImportsTests.swift",
        "Rules/SortSwitchCasesTests.swift",
        "Rules/SortTypealiasesTests.swift",
        "Rules/SpaceAroundBracesTests.swift",
        "Rules/SpaceAroundBracketsTests.swift",
        "Rules/SpaceAroundCommentsTests.swift",
        "Rules/SpaceAroundGenericsTests.swift",
        "Rules/SpaceAroundOperatorsTests.swift",
        "Rules/SpaceAroundParensTests.swift",
        "Rules/SpaceInsideBracesTests.swift",
        "Rules/SpaceInsideBracketsTests.swift",
        "Rules/SpaceInsideCommentsTests.swift",
        "Rules/SpaceInsideGenericsTests.swift",
        "Rules/SpaceInsideParensTests.swift",
        "Rules/StrongOutletsTests.swift",
        "Rules/StrongifiedSelfTests.swift",
        "Rules/SwiftTestingTestCaseNamesTests.swift",
        "Rules/TodosTests.swift",
        "Rules/TrailingClosuresTests.swift",
        "Rules/TrailingCommasTests.swift",
        "Rules/TrailingSpaceTests.swift",
        "Rules/TypeSugarTests.swift",
        "Rules/URLMacroTests.swift",
        "Rules/UnusedArgumentsTests.swift",
        "Rules/UnusedPrivateDeclarationsTests.swift",
        "Rules/VoidTests.swift",
        "Rules/WrapArgumentsTests.swift",
        "Rules/WrapAttributesTests.swift",
        "Rules/WrapConditionalBodiesTests.swift",
        "Rules/WrapEnumCasesTests.swift",
        "Rules/WrapLoopBodiesTests.swift",
        "Rules/WrapMultilineConditionalAssignmentTests.swift",
        "Rules/WrapMultilineFunctionChainsTests.swift",
        "Rules/WrapMultilineStatementBracesTests.swift",
        "Rules/WrapSingleLineCommentsTests.swift",
        "Rules/WrapSwitchCasesTests.swift",
        "Rules/WrapTests.swift",
        "Rules/YodaConditionsTests.swift",
        "SingularizeTests.swift",
        "SwiftFormatTests.swift",
        "TokenizerTests.swift",
        "VersionTests.swift",
        "XCTestCase+testFormatting.swift"
      ],
      "target_dependencies" : [
        "SwiftFormat"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftFormatPlugin",
      "module_type" : "PluginTarget",
      "name" : "SwiftFormatPlugin",
      "path" : "Plugins/SwiftFormatPlugin",
      "plugin_capability" : {
        "intent" : {
          "description" : "Formats Swift source files using SwiftFormat",
          "type" : "custom",
          "verb" : "swiftformat"
        },
        "permissions" : [
          {
            "network_scope" : {
              "none" : {
              }
            },
            "reason" : "This command reformats source files",
            "type" : "writeToPackageDirectory"
          }
        ],
        "type" : "command"
      },
      "product_memberships" : [
        "SwiftFormatPlugin"
      ],
      "sources" : [
        "Shared/CommandPlugin+Extension.swift",
        "Shared/PluginToolProviding.swift",
        "SwiftFormatPlugin.swift",
        "SwiftFormatPluginXcode.swift"
      ],
      "target_dependencies" : [
        "CommandLineTool"
      ],
      "type" : "plugin"
    },
    {
      "c99name" : "SwiftFormat",
      "module_type" : "SwiftTarget",
      "name" : "SwiftFormat",
      "path" : "Sources",
      "product_memberships" : [
        "swiftformat",
        "SwiftFormat",
        "SwiftFormatPlugin"
      ],
      "sources" : [
        "Arguments.swift",
        "CommandLine.swift",
        "Declaration.swift",
        "DeclarationType.swift",
        "EnumAssociable.swift",
        "FormatRule.swift",
        "Formatter.swift",
        "FormattingHelpers.swift",
        "GitFileInfo.swift",
        "GithubActionsLogReporter.swift",
        "Globs.swift",
        "Inference.swift",
        "JSONReporter.swift",
        "OptionDescriptor.swift",
        "Options.swift",
        "ParsingHelpers.swift",
        "Reporter.swift",
        "RuleRegistry.generated.swift",
        "Rules/Acronyms.swift",
        "Rules/AndOperator.swift",
        "Rules/AnyObjectProtocol.swift",
        "Rules/ApplicationMain.swift",
        "Rules/AssertionFailures.swift",
        "Rules/BlankLineAfterImports.swift",
        "Rules/BlankLineAfterSwitchCase.swift",
        "Rules/BlankLinesAfterGuardStatements.swift",
        "Rules/BlankLinesAroundMark.swift",
        "Rules/BlankLinesAtEndOfScope.swift",
        "Rules/BlankLinesAtStartOfScope.swift",
        "Rules/BlankLinesBetweenChainedFunctions.swift",
        "Rules/BlankLinesBetweenImports.swift",
        "Rules/BlankLinesBetweenScopes.swift",
        "Rules/BlockComments.swift",
        "Rules/Braces.swift",
        "Rules/ConditionalAssignment.swift",
        "Rules/ConsecutiveBlankLines.swift",
        "Rules/ConsecutiveSpaces.swift",
        "Rules/ConsistentSwitchCaseSpacing.swift",
        "Rules/DocComments.swift",
        "Rules/DocCommentsBeforeModifiers.swift",
        "Rules/DuplicateImports.swift",
        "Rules/ElseOnSameLine.swift",
        "Rules/EmptyBraces.swift",
        "Rules/EmptyExtensions.swift",
        "Rules/EnumNamespaces.swift",
        "Rules/EnvironmentEntry.swift",
        "Rules/ExtensionAccessControl.swift",
        "Rules/FileHeader.swift",
        "Rules/FileMacro.swift",
        "Rules/GenericExtensions.swift",
        "Rules/HeaderFileName.swift",
        "Rules/HoistAwait.swift",
        "Rules/HoistPatternLet.swift",
        "Rules/HoistTry.swift",
        "Rules/Indent.swift",
        "Rules/InitCoderUnavailable.swift",
        "Rules/IsEmpty.swift",
        "Rules/LeadingDelimiters.swift",
        "Rules/LinebreakAtEndOfFile.swift",
        "Rules/Linebreaks.swift",
        "Rules/MarkTypes.swift",
        "Rules/ModifierOrder.swift",
        "Rules/ModifiersOnSameLine.swift",
        "Rules/NoExplicitOwnership.swift",
        "Rules/NoForceTryInTests.swift",
        "Rules/NoForceUnwrapInTests.swift",
        "Rules/NoGuardInTests.swift",
        "Rules/NumberFormatting.swift",
        "Rules/OpaqueGenericParameters.swift",
        "Rules/OrganizeDeclarations.swift",
        "Rules/PreferCountWhere.swift",
        "Rules/PreferFinalClasses.swift",
        "Rules/PreferForLoop.swift",
        "Rules/PreferKeyPath.swift",
        "Rules/PreferSwiftTesting.swift",
        "Rules/PrivateStateVariables.swift",
        "Rules/PropertyTypes.swift",
        "Rules/RedundantAsync.swift",
        "Rules/RedundantBackticks.swift",
        "Rules/RedundantBreak.swift",
        "Rules/RedundantClosure.swift",
        "Rules/RedundantEquatable.swift",
        "Rules/RedundantExtensionACL.swift",
        "Rules/RedundantFileprivate.swift",
        "Rules/RedundantGet.swift",
        "Rules/RedundantInit.swift",
        "Rules/RedundantInternal.swift",
        "Rules/RedundantLet.swift",
        "Rules/RedundantLetError.swift",
        "Rules/RedundantMemberwiseInit.swift",
        "Rules/RedundantNilInit.swift",
        "Rules/RedundantObjc.swift",
        "Rules/RedundantOptionalBinding.swift",
        "Rules/RedundantParens.swift",
        "Rules/RedundantPattern.swift",
        "Rules/RedundantProperty.swift",
        "Rules/RedundantPublic.swift",
        "Rules/RedundantRawValues.swift",
        "Rules/RedundantReturn.swift",
        "Rules/RedundantSelf.swift",
        "Rules/RedundantStaticSelf.swift",
        "Rules/RedundantThrows.swift",
        "Rules/RedundantType.swift",
        "Rules/RedundantTypedThrows.swift",
        "Rules/RedundantVoidReturnType.swift",
        "Rules/Semicolons.swift",
        "Rules/SinglePropertyPerLine.swift",
        "Rules/SortDeclarations.swift",
        "Rules/SortImports.swift",
        "Rules/SortSwitchCases.swift",
        "Rules/SortTypealiases.swift",
        "Rules/SortedImports.swift",
        "Rules/SortedSwitchCases.swift",
        "Rules/SpaceAroundBraces.swift",
        "Rules/SpaceAroundBrackets.swift",
        "Rules/SpaceAroundComments.swift",
        "Rules/SpaceAroundGenerics.swift",
        "Rules/SpaceAroundOperators.swift",
        "Rules/SpaceAroundParens.swift",
        "Rules/SpaceInsideBraces.swift",
        "Rules/SpaceInsideBrackets.swift",
        "Rules/SpaceInsideComments.swift",
        "Rules/SpaceInsideGenerics.swift",
        "Rules/SpaceInsideParens.swift",
        "Rules/Specifiers.swift",
        "Rules/StrongOutlets.swift",
        "Rules/StrongifiedSelf.swift",
        "Rules/SwiftTestingTestCaseNames.swift",
        "Rules/ThrowingTests.swift",
        "Rules/Todos.swift",
        "Rules/TrailingClosures.swift",
        "Rules/TrailingCommas.swift",
        "Rules/TrailingSpace.swift",
        "Rules/TypeSugar.swift",
        "Rules/URLMacro.swift",
        "Rules/UnusedArguments.swift",
        "Rules/UnusedPrivateDeclarations.swift",
        "Rules/Void.swift",
        "Rules/Wrap.swift",
        "Rules/WrapArguments.swift",
        "Rules/WrapAttributes.swift",
        "Rules/WrapConditionalBodies.swift",
        "Rules/WrapEnumCases.swift",
        "Rules/WrapLoopBodies.swift",
        "Rules/WrapMultilineConditionalAssignment.swift",
        "Rules/WrapMultilineFunctionChains.swift",
        "Rules/WrapMultilineStatementBraces.swift",
        "Rules/WrapSingleLineComments.swift",
        "Rules/WrapSwitchCases.swift",
        "Rules/YodaConditions.swift",
        "SARIFReporter.swift",
        "Singularize.swift",
        "SwiftFormat.swift",
        "Tokenizer.swift",
        "TypeName.swift",
        "XMLReporter.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CommandLineTool",
      "module_type" : "SwiftTarget",
      "name" : "CommandLineTool",
      "path" : "CommandLineTool",
      "product_memberships" : [
        "swiftformat",
        "SwiftFormatPlugin"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "SwiftFormat"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.7"
}
Done.