Build Information
Successful build of SwiftFormat, reference main (a5fa7a), with Swift 6.1 for macOS (SPM) on 27 Apr 2026 23:29:06 UTC.
Swift 6 data race errors: 348
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 InferSendableFromCapturesBuild Log
| |- note: add '@MainActor' to make static property 'emptyBraces' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove whitespace inside empty braces.",
15 | options: ["empty-braces"],
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/EmptyExtensions.swift:13:16: warning: static property 'emptyExtensions' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Remove empty, non-conforming, extensions.
13 | static let emptyExtensions = FormatRule(
| |- warning: static property 'emptyExtensions' 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 'emptyExtensions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove empty, non-protocol-conforming extensions.",
15 | orderAfter: [.unusedPrivateDeclarations]
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/EnumNamespaces.swift:13:16: warning: static property 'enumNamespaces' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Converts types used for hosting only static members into enums to avoid instantiation.
13 | static let enumNamespaces = FormatRule(
| |- warning: static property 'enumNamespaces' 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 'enumNamespaces' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: """
15 | Convert types used for hosting only static members into enums (an empty enum is
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/EnvironmentEntry.swift:8:16: warning: static property 'environmentEntry' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
6 | public extension FormatRule {
7 | /// Removes types conforming `EnvironmentKey` and replaces them with the @Entry macro
8 | static let environmentEntry = FormatRule(
| |- warning: static property 'environmentEntry' 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 'environmentEntry' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | help: "Updates SwiftUI `EnvironmentValues` definitions to use the @Entry macro."
10 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/ExtensionAccessControl.swift:12:16: warning: static property 'extensionAccessControl' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let extensionAccessControl = FormatRule(
| |- warning: static property 'extensionAccessControl' 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 'extensionAccessControl' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Configure the placement of an extension's access control keyword.",
14 | options: ["extension-acl"]
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/FileHeader.swift:13:16: warning: static property 'fileHeader' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Strip header comments from the file
13 | static let fileHeader = FormatRule(
| |- warning: static property 'fileHeader' 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 'fileHeader' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Use specified source file header template for all files.",
15 | runOnceOnly: true,
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/FileMacro.swift:12:16: warning: static property 'fileMacro' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let fileMacro = FormatRule(
| |- warning: static property 'fileMacro' 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 'fileMacro' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Prefer either #file or #fileID, which have the same behavior in Swift 6 and later.",
14 | options: ["file-macro"]
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/GenericExtensions.swift:12:16: warning: static property 'genericExtensions' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let genericExtensions = FormatRule(
| |- warning: static property 'genericExtensions' 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 'genericExtensions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: """
14 | Use angle brackets (`extension Array<Foo>`) for generic type extensions
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/HeaderFileName.swift:13:16: warning: static property 'headerFileName' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Ensure file name reference in header matches actual file name
13 | static let headerFileName = FormatRule(
| |- warning: static property 'headerFileName' 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 'headerFileName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Ensure file name in header comment matches the actual file name.",
15 | runOnceOnly: true,
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/ConditionalAssignment.swift:12:16: warning: static property 'conditionalAssignment' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let conditionalAssignment = FormatRule(
| |- warning: static property 'conditionalAssignment' 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 'conditionalAssignment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Assign properties using if / switch expressions.",
14 | orderAfter: [.redundantReturn],
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/ConsecutiveBlankLines.swift:13:16: warning: static property 'consecutiveBlankLines' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Collapse all consecutive blank lines into a single blank line
13 | static let consecutiveBlankLines = FormatRule(
| |- warning: static property 'consecutiveBlankLines' 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 'consecutiveBlankLines' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Replace consecutive blank lines with a single blank line."
15 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/ConsecutiveSpaces.swift:15:16: warning: static property 'consecutiveSpaces' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// the start of a line or inside a comment or string, as these have no semantic
14 | /// meaning and lead to noise in commits.
15 | static let consecutiveSpaces = FormatRule(
| |- warning: static property 'consecutiveSpaces' 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 'consecutiveSpaces' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | help: "Replace consecutive spaces with a single space."
17 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/ConsistentSwitchCaseSpacing.swift:12:16: warning: static property 'consistentSwitchCaseSpacing' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let consistentSwitchCaseSpacing = FormatRule(
| |- warning: static property 'consistentSwitchCaseSpacing' 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 'consistentSwitchCaseSpacing' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Ensures consistent spacing among all of the cases in a switch statement.",
14 | orderAfter: [.blankLineAfterSwitchCase]
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/DocComments.swift:12:16: warning: static property 'docComments' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let docComments = FormatRule(
| |- warning: static property 'docComments' 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 'docComments' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Use doc comments for API declarations, otherwise use regular comments.",
14 | orderAfter: [.fileHeader],
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/DocCommentsBeforeModifiers.swift:12:16: warning: static property 'docCommentsBeforeModifiers' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let docCommentsBeforeModifiers = FormatRule(
| |- warning: static property 'docCommentsBeforeModifiers' 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 'docCommentsBeforeModifiers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Place doc comments before any declaration modifiers or attributes.",
14 | orderAfter: [.docComments]
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/DuplicateImports.swift:13:16: warning: static property 'duplicateImports' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Remove duplicate import statements
13 | static let duplicateImports = FormatRule(
| |- warning: static property 'duplicateImports' 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 'duplicateImports' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove duplicate import statements."
15 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/ElseOnSameLine.swift:15:16: warning: static property 'elseOnSameLine' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// as the closing brace. This has no effect on the `else` part of a `guard` statement.
14 | /// Also applies to `catch` after `try` and `while` after `repeat`.
15 | static let elseOnSameLine = FormatRule(
| |- warning: static property 'elseOnSameLine' 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 'elseOnSameLine' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | help: """
17 | Place `else`, `catch` or `while` keyword in accordance with current style (same or
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/EmptyBraces.swift:13:16: warning: static property 'emptyBraces' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Remove white-space between empty braces
13 | static let emptyBraces = FormatRule(
| |- warning: static property 'emptyBraces' 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 'emptyBraces' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove whitespace inside empty braces.",
15 | options: ["empty-braces"],
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/EmptyExtensions.swift:13:16: warning: static property 'emptyExtensions' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Remove empty, non-conforming, extensions.
13 | static let emptyExtensions = FormatRule(
| |- warning: static property 'emptyExtensions' 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 'emptyExtensions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove empty, non-protocol-conforming extensions.",
15 | orderAfter: [.unusedPrivateDeclarations]
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/EnumNamespaces.swift:13:16: warning: static property 'enumNamespaces' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Converts types used for hosting only static members into enums to avoid instantiation.
13 | static let enumNamespaces = FormatRule(
| |- warning: static property 'enumNamespaces' 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 'enumNamespaces' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: """
15 | Convert types used for hosting only static members into enums (an empty enum is
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/EnvironmentEntry.swift:8:16: warning: static property 'environmentEntry' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
6 | public extension FormatRule {
7 | /// Removes types conforming `EnvironmentKey` and replaces them with the @Entry macro
8 | static let environmentEntry = FormatRule(
| |- warning: static property 'environmentEntry' 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 'environmentEntry' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | help: "Updates SwiftUI `EnvironmentValues` definitions to use the @Entry macro."
10 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/ExtensionAccessControl.swift:12:16: warning: static property 'extensionAccessControl' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let extensionAccessControl = FormatRule(
| |- warning: static property 'extensionAccessControl' 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 'extensionAccessControl' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Configure the placement of an extension's access control keyword.",
14 | options: ["extension-acl"]
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/FileHeader.swift:13:16: warning: static property 'fileHeader' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Strip header comments from the file
13 | static let fileHeader = FormatRule(
| |- warning: static property 'fileHeader' 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 'fileHeader' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Use specified source file header template for all files.",
15 | runOnceOnly: true,
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/FileMacro.swift:12:16: warning: static property 'fileMacro' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let fileMacro = FormatRule(
| |- warning: static property 'fileMacro' 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 'fileMacro' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Prefer either #file or #fileID, which have the same behavior in Swift 6 and later.",
14 | options: ["file-macro"]
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/GenericExtensions.swift:12:16: warning: static property 'genericExtensions' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let genericExtensions = FormatRule(
| |- warning: static property 'genericExtensions' 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 'genericExtensions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: """
14 | Use angle brackets (`extension Array<Foo>`) for generic type extensions
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/HeaderFileName.swift:13:16: warning: static property 'headerFileName' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Ensure file name reference in header matches actual file name
13 | static let headerFileName = FormatRule(
| |- warning: static property 'headerFileName' 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 'headerFileName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Ensure file name in header comment matches the actual file name.",
15 | runOnceOnly: true,
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/ConditionalAssignment.swift:12:16: warning: static property 'conditionalAssignment' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let conditionalAssignment = FormatRule(
| |- warning: static property 'conditionalAssignment' 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 'conditionalAssignment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Assign properties using if / switch expressions.",
14 | orderAfter: [.redundantReturn],
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/ConsecutiveBlankLines.swift:13:16: warning: static property 'consecutiveBlankLines' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Collapse all consecutive blank lines into a single blank line
13 | static let consecutiveBlankLines = FormatRule(
| |- warning: static property 'consecutiveBlankLines' 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 'consecutiveBlankLines' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Replace consecutive blank lines with a single blank line."
15 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/ConsecutiveSpaces.swift:15:16: warning: static property 'consecutiveSpaces' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// the start of a line or inside a comment or string, as these have no semantic
14 | /// meaning and lead to noise in commits.
15 | static let consecutiveSpaces = FormatRule(
| |- warning: static property 'consecutiveSpaces' 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 'consecutiveSpaces' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | help: "Replace consecutive spaces with a single space."
17 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/ConsistentSwitchCaseSpacing.swift:12:16: warning: static property 'consistentSwitchCaseSpacing' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let consistentSwitchCaseSpacing = FormatRule(
| |- warning: static property 'consistentSwitchCaseSpacing' 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 'consistentSwitchCaseSpacing' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Ensures consistent spacing among all of the cases in a switch statement.",
14 | orderAfter: [.blankLineAfterSwitchCase]
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/DocComments.swift:12:16: warning: static property 'docComments' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let docComments = FormatRule(
| |- warning: static property 'docComments' 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 'docComments' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Use doc comments for API declarations, otherwise use regular comments.",
14 | orderAfter: [.fileHeader],
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/DocCommentsBeforeModifiers.swift:12:16: warning: static property 'docCommentsBeforeModifiers' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let docCommentsBeforeModifiers = FormatRule(
| |- warning: static property 'docCommentsBeforeModifiers' 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 'docCommentsBeforeModifiers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Place doc comments before any declaration modifiers or attributes.",
14 | orderAfter: [.docComments]
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/DuplicateImports.swift:13:16: warning: static property 'duplicateImports' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Remove duplicate import statements
13 | static let duplicateImports = FormatRule(
| |- warning: static property 'duplicateImports' 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 'duplicateImports' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove duplicate import statements."
15 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/ElseOnSameLine.swift:15:16: warning: static property 'elseOnSameLine' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// as the closing brace. This has no effect on the `else` part of a `guard` statement.
14 | /// Also applies to `catch` after `try` and `while` after `repeat`.
15 | static let elseOnSameLine = FormatRule(
| |- warning: static property 'elseOnSameLine' 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 'elseOnSameLine' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | help: """
17 | Place `else`, `catch` or `while` keyword in accordance with current style (same or
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/EmptyBraces.swift:13:16: warning: static property 'emptyBraces' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Remove white-space between empty braces
13 | static let emptyBraces = FormatRule(
| |- warning: static property 'emptyBraces' 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 'emptyBraces' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove whitespace inside empty braces.",
15 | options: ["empty-braces"],
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/EmptyExtensions.swift:13:16: warning: static property 'emptyExtensions' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Remove empty, non-conforming, extensions.
13 | static let emptyExtensions = FormatRule(
| |- warning: static property 'emptyExtensions' 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 'emptyExtensions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove empty, non-protocol-conforming extensions.",
15 | orderAfter: [.unusedPrivateDeclarations]
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/EnumNamespaces.swift:13:16: warning: static property 'enumNamespaces' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Converts types used for hosting only static members into enums to avoid instantiation.
13 | static let enumNamespaces = FormatRule(
| |- warning: static property 'enumNamespaces' 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 'enumNamespaces' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: """
15 | Convert types used for hosting only static members into enums (an empty enum is
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/EnvironmentEntry.swift:8:16: warning: static property 'environmentEntry' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
6 | public extension FormatRule {
7 | /// Removes types conforming `EnvironmentKey` and replaces them with the @Entry macro
8 | static let environmentEntry = FormatRule(
| |- warning: static property 'environmentEntry' 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 'environmentEntry' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | help: "Updates SwiftUI `EnvironmentValues` definitions to use the @Entry macro."
10 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/ExtensionAccessControl.swift:12:16: warning: static property 'extensionAccessControl' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let extensionAccessControl = FormatRule(
| |- warning: static property 'extensionAccessControl' 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 'extensionAccessControl' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Configure the placement of an extension's access control keyword.",
14 | options: ["extension-acl"]
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/FileHeader.swift:13:16: warning: static property 'fileHeader' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Strip header comments from the file
13 | static let fileHeader = FormatRule(
| |- warning: static property 'fileHeader' 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 'fileHeader' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Use specified source file header template for all files.",
15 | runOnceOnly: true,
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/FileMacro.swift:12:16: warning: static property 'fileMacro' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let fileMacro = FormatRule(
| |- warning: static property 'fileMacro' 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 'fileMacro' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Prefer either #file or #fileID, which have the same behavior in Swift 6 and later.",
14 | options: ["file-macro"]
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/GenericExtensions.swift:12:16: warning: static property 'genericExtensions' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let genericExtensions = FormatRule(
| |- warning: static property 'genericExtensions' 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 'genericExtensions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: """
14 | Use angle brackets (`extension Array<Foo>`) for generic type extensions
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/HeaderFileName.swift:13:16: warning: static property 'headerFileName' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Ensure file name reference in header matches actual file name
13 | static let headerFileName = FormatRule(
| |- warning: static property 'headerFileName' 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 'headerFileName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Ensure file name in header comment matches the actual file name.",
15 | runOnceOnly: true,
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/ConditionalAssignment.swift:12:16: warning: static property 'conditionalAssignment' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let conditionalAssignment = FormatRule(
| |- warning: static property 'conditionalAssignment' 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 'conditionalAssignment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Assign properties using if / switch expressions.",
14 | orderAfter: [.redundantReturn],
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/ConsecutiveBlankLines.swift:13:16: warning: static property 'consecutiveBlankLines' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Collapse all consecutive blank lines into a single blank line
13 | static let consecutiveBlankLines = FormatRule(
| |- warning: static property 'consecutiveBlankLines' 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 'consecutiveBlankLines' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Replace consecutive blank lines with a single blank line."
15 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/ConsecutiveSpaces.swift:15:16: warning: static property 'consecutiveSpaces' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// the start of a line or inside a comment or string, as these have no semantic
14 | /// meaning and lead to noise in commits.
15 | static let consecutiveSpaces = FormatRule(
| |- warning: static property 'consecutiveSpaces' 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 'consecutiveSpaces' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | help: "Replace consecutive spaces with a single space."
17 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/ConsistentSwitchCaseSpacing.swift:12:16: warning: static property 'consistentSwitchCaseSpacing' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let consistentSwitchCaseSpacing = FormatRule(
| |- warning: static property 'consistentSwitchCaseSpacing' 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 'consistentSwitchCaseSpacing' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Ensures consistent spacing among all of the cases in a switch statement.",
14 | orderAfter: [.blankLineAfterSwitchCase]
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/DocComments.swift:12:16: warning: static property 'docComments' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let docComments = FormatRule(
| |- warning: static property 'docComments' 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 'docComments' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Use doc comments for API declarations, otherwise use regular comments.",
14 | orderAfter: [.fileHeader],
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/DocCommentsBeforeModifiers.swift:12:16: warning: static property 'docCommentsBeforeModifiers' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let docCommentsBeforeModifiers = FormatRule(
| |- warning: static property 'docCommentsBeforeModifiers' 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 'docCommentsBeforeModifiers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Place doc comments before any declaration modifiers or attributes.",
14 | orderAfter: [.docComments]
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/DuplicateImports.swift:13:16: warning: static property 'duplicateImports' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Remove duplicate import statements
13 | static let duplicateImports = FormatRule(
| |- warning: static property 'duplicateImports' 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 'duplicateImports' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove duplicate import statements."
15 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/ElseOnSameLine.swift:15:16: warning: static property 'elseOnSameLine' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// as the closing brace. This has no effect on the `else` part of a `guard` statement.
14 | /// Also applies to `catch` after `try` and `while` after `repeat`.
15 | static let elseOnSameLine = FormatRule(
| |- warning: static property 'elseOnSameLine' 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 'elseOnSameLine' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | help: """
17 | Place `else`, `catch` or `while` keyword in accordance with current style (same or
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/EmptyBraces.swift:13:16: warning: static property 'emptyBraces' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Remove white-space between empty braces
13 | static let emptyBraces = FormatRule(
| |- warning: static property 'emptyBraces' 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 'emptyBraces' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove whitespace inside empty braces.",
15 | options: ["empty-braces"],
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/EmptyExtensions.swift:13:16: warning: static property 'emptyExtensions' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Remove empty, non-conforming, extensions.
13 | static let emptyExtensions = FormatRule(
| |- warning: static property 'emptyExtensions' 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 'emptyExtensions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove empty, non-protocol-conforming extensions.",
15 | orderAfter: [.unusedPrivateDeclarations]
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/EnumNamespaces.swift:13:16: warning: static property 'enumNamespaces' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Converts types used for hosting only static members into enums to avoid instantiation.
13 | static let enumNamespaces = FormatRule(
| |- warning: static property 'enumNamespaces' 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 'enumNamespaces' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: """
15 | Convert types used for hosting only static members into enums (an empty enum is
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/EnvironmentEntry.swift:8:16: warning: static property 'environmentEntry' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
6 | public extension FormatRule {
7 | /// Removes types conforming `EnvironmentKey` and replaces them with the @Entry macro
8 | static let environmentEntry = FormatRule(
| |- warning: static property 'environmentEntry' 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 'environmentEntry' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | help: "Updates SwiftUI `EnvironmentValues` definitions to use the @Entry macro."
10 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/ExtensionAccessControl.swift:12:16: warning: static property 'extensionAccessControl' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let extensionAccessControl = FormatRule(
| |- warning: static property 'extensionAccessControl' 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 'extensionAccessControl' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Configure the placement of an extension's access control keyword.",
14 | options: ["extension-acl"]
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/FileHeader.swift:13:16: warning: static property 'fileHeader' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Strip header comments from the file
13 | static let fileHeader = FormatRule(
| |- warning: static property 'fileHeader' 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 'fileHeader' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Use specified source file header template for all files.",
15 | runOnceOnly: true,
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/FileMacro.swift:12:16: warning: static property 'fileMacro' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let fileMacro = FormatRule(
| |- warning: static property 'fileMacro' 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 'fileMacro' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Prefer either #file or #fileID, which have the same behavior in Swift 6 and later.",
14 | options: ["file-macro"]
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/GenericExtensions.swift:12:16: warning: static property 'genericExtensions' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let genericExtensions = FormatRule(
| |- warning: static property 'genericExtensions' 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 'genericExtensions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: """
14 | Use angle brackets (`extension Array<Foo>`) for generic type extensions
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/HeaderFileName.swift:13:16: warning: static property 'headerFileName' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Ensure file name reference in header matches actual file name
13 | static let headerFileName = FormatRule(
| |- warning: static property 'headerFileName' 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 'headerFileName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Ensure file name in header comment matches the actual file name.",
15 | runOnceOnly: true,
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/ConditionalAssignment.swift:12:16: warning: static property 'conditionalAssignment' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let conditionalAssignment = FormatRule(
| |- warning: static property 'conditionalAssignment' 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 'conditionalAssignment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Assign properties using if / switch expressions.",
14 | orderAfter: [.redundantReturn],
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/ConsecutiveBlankLines.swift:13:16: warning: static property 'consecutiveBlankLines' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Collapse all consecutive blank lines into a single blank line
13 | static let consecutiveBlankLines = FormatRule(
| |- warning: static property 'consecutiveBlankLines' 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 'consecutiveBlankLines' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Replace consecutive blank lines with a single blank line."
15 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/ConsecutiveSpaces.swift:15:16: warning: static property 'consecutiveSpaces' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// the start of a line or inside a comment or string, as these have no semantic
14 | /// meaning and lead to noise in commits.
15 | static let consecutiveSpaces = FormatRule(
| |- warning: static property 'consecutiveSpaces' 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 'consecutiveSpaces' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | help: "Replace consecutive spaces with a single space."
17 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/ConsistentSwitchCaseSpacing.swift:12:16: warning: static property 'consistentSwitchCaseSpacing' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let consistentSwitchCaseSpacing = FormatRule(
| |- warning: static property 'consistentSwitchCaseSpacing' 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 'consistentSwitchCaseSpacing' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Ensures consistent spacing among all of the cases in a switch statement.",
14 | orderAfter: [.blankLineAfterSwitchCase]
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/DocComments.swift:12:16: warning: static property 'docComments' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let docComments = FormatRule(
| |- warning: static property 'docComments' 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 'docComments' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Use doc comments for API declarations, otherwise use regular comments.",
14 | orderAfter: [.fileHeader],
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/DocCommentsBeforeModifiers.swift:12:16: warning: static property 'docCommentsBeforeModifiers' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let docCommentsBeforeModifiers = FormatRule(
| |- warning: static property 'docCommentsBeforeModifiers' 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 'docCommentsBeforeModifiers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Place doc comments before any declaration modifiers or attributes.",
14 | orderAfter: [.docComments]
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/DuplicateImports.swift:13:16: warning: static property 'duplicateImports' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Remove duplicate import statements
13 | static let duplicateImports = FormatRule(
| |- warning: static property 'duplicateImports' 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 'duplicateImports' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove duplicate import statements."
15 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/ElseOnSameLine.swift:15:16: warning: static property 'elseOnSameLine' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// as the closing brace. This has no effect on the `else` part of a `guard` statement.
14 | /// Also applies to `catch` after `try` and `while` after `repeat`.
15 | static let elseOnSameLine = FormatRule(
| |- warning: static property 'elseOnSameLine' 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 'elseOnSameLine' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | help: """
17 | Place `else`, `catch` or `while` keyword in accordance with current style (same or
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/EmptyBraces.swift:13:16: warning: static property 'emptyBraces' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Remove white-space between empty braces
13 | static let emptyBraces = FormatRule(
| |- warning: static property 'emptyBraces' 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 'emptyBraces' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove whitespace inside empty braces.",
15 | options: ["empty-braces"],
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/EmptyExtensions.swift:13:16: warning: static property 'emptyExtensions' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Remove empty, non-conforming, extensions.
13 | static let emptyExtensions = FormatRule(
| |- warning: static property 'emptyExtensions' 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 'emptyExtensions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove empty, non-protocol-conforming extensions.",
15 | orderAfter: [.unusedPrivateDeclarations]
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/EnumNamespaces.swift:13:16: warning: static property 'enumNamespaces' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Converts types used for hosting only static members into enums to avoid instantiation.
13 | static let enumNamespaces = FormatRule(
| |- warning: static property 'enumNamespaces' 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 'enumNamespaces' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: """
15 | Convert types used for hosting only static members into enums (an empty enum is
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/EnvironmentEntry.swift:8:16: warning: static property 'environmentEntry' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
6 | public extension FormatRule {
7 | /// Removes types conforming `EnvironmentKey` and replaces them with the @Entry macro
8 | static let environmentEntry = FormatRule(
| |- warning: static property 'environmentEntry' 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 'environmentEntry' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | help: "Updates SwiftUI `EnvironmentValues` definitions to use the @Entry macro."
10 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/ExtensionAccessControl.swift:12:16: warning: static property 'extensionAccessControl' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let extensionAccessControl = FormatRule(
| |- warning: static property 'extensionAccessControl' 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 'extensionAccessControl' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Configure the placement of an extension's access control keyword.",
14 | options: ["extension-acl"]
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/FileHeader.swift:13:16: warning: static property 'fileHeader' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Strip header comments from the file
13 | static let fileHeader = FormatRule(
| |- warning: static property 'fileHeader' 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 'fileHeader' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Use specified source file header template for all files.",
15 | runOnceOnly: true,
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/FileMacro.swift:12:16: warning: static property 'fileMacro' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let fileMacro = FormatRule(
| |- warning: static property 'fileMacro' 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 'fileMacro' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Prefer either #file or #fileID, which have the same behavior in Swift 6 and later.",
14 | options: ["file-macro"]
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/GenericExtensions.swift:12:16: warning: static property 'genericExtensions' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let genericExtensions = FormatRule(
| |- warning: static property 'genericExtensions' 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 'genericExtensions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: """
14 | Use angle brackets (`extension Array<Foo>`) for generic type extensions
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/HeaderFileName.swift:13:16: warning: static property 'headerFileName' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Ensure file name reference in header matches actual file name
13 | static let headerFileName = FormatRule(
| |- warning: static property 'headerFileName' 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 'headerFileName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Ensure file name in header comment matches the actual file name.",
15 | runOnceOnly: true,
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/ConditionalAssignment.swift:12:16: warning: static property 'conditionalAssignment' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let conditionalAssignment = FormatRule(
| |- warning: static property 'conditionalAssignment' 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 'conditionalAssignment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Assign properties using if / switch expressions.",
14 | orderAfter: [.redundantReturn],
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/ConsecutiveBlankLines.swift:13:16: warning: static property 'consecutiveBlankLines' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Collapse all consecutive blank lines into a single blank line
13 | static let consecutiveBlankLines = FormatRule(
| |- warning: static property 'consecutiveBlankLines' 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 'consecutiveBlankLines' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Replace consecutive blank lines with a single blank line."
15 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/ConsecutiveSpaces.swift:15:16: warning: static property 'consecutiveSpaces' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// the start of a line or inside a comment or string, as these have no semantic
14 | /// meaning and lead to noise in commits.
15 | static let consecutiveSpaces = FormatRule(
| |- warning: static property 'consecutiveSpaces' 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 'consecutiveSpaces' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | help: "Replace consecutive spaces with a single space."
17 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/ConsistentSwitchCaseSpacing.swift:12:16: warning: static property 'consistentSwitchCaseSpacing' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let consistentSwitchCaseSpacing = FormatRule(
| |- warning: static property 'consistentSwitchCaseSpacing' 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 'consistentSwitchCaseSpacing' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Ensures consistent spacing among all of the cases in a switch statement.",
14 | orderAfter: [.blankLineAfterSwitchCase]
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/DocComments.swift:12:16: warning: static property 'docComments' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let docComments = FormatRule(
| |- warning: static property 'docComments' 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 'docComments' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Use doc comments for API declarations, otherwise use regular comments.",
14 | orderAfter: [.fileHeader],
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/DocCommentsBeforeModifiers.swift:12:16: warning: static property 'docCommentsBeforeModifiers' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let docCommentsBeforeModifiers = FormatRule(
| |- warning: static property 'docCommentsBeforeModifiers' 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 'docCommentsBeforeModifiers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Place doc comments before any declaration modifiers or attributes.",
14 | orderAfter: [.docComments]
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/DuplicateImports.swift:13:16: warning: static property 'duplicateImports' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Remove duplicate import statements
13 | static let duplicateImports = FormatRule(
| |- warning: static property 'duplicateImports' 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 'duplicateImports' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove duplicate import statements."
15 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/ElseOnSameLine.swift:15:16: warning: static property 'elseOnSameLine' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// as the closing brace. This has no effect on the `else` part of a `guard` statement.
14 | /// Also applies to `catch` after `try` and `while` after `repeat`.
15 | static let elseOnSameLine = FormatRule(
| |- warning: static property 'elseOnSameLine' 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 'elseOnSameLine' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | help: """
17 | Place `else`, `catch` or `while` keyword in accordance with current style (same or
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/EmptyBraces.swift:13:16: warning: static property 'emptyBraces' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Remove white-space between empty braces
13 | static let emptyBraces = FormatRule(
| |- warning: static property 'emptyBraces' 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 'emptyBraces' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove whitespace inside empty braces.",
15 | options: ["empty-braces"],
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/EmptyExtensions.swift:13:16: warning: static property 'emptyExtensions' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Remove empty, non-conforming, extensions.
13 | static let emptyExtensions = FormatRule(
| |- warning: static property 'emptyExtensions' 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 'emptyExtensions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove empty, non-protocol-conforming extensions.",
15 | orderAfter: [.unusedPrivateDeclarations]
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/EnumNamespaces.swift:13:16: warning: static property 'enumNamespaces' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Converts types used for hosting only static members into enums to avoid instantiation.
13 | static let enumNamespaces = FormatRule(
| |- warning: static property 'enumNamespaces' 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 'enumNamespaces' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: """
15 | Convert types used for hosting only static members into enums (an empty enum is
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/EnvironmentEntry.swift:8:16: warning: static property 'environmentEntry' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
6 | public extension FormatRule {
7 | /// Removes types conforming `EnvironmentKey` and replaces them with the @Entry macro
8 | static let environmentEntry = FormatRule(
| |- warning: static property 'environmentEntry' 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 'environmentEntry' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | help: "Updates SwiftUI `EnvironmentValues` definitions to use the @Entry macro."
10 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/ExtensionAccessControl.swift:12:16: warning: static property 'extensionAccessControl' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let extensionAccessControl = FormatRule(
| |- warning: static property 'extensionAccessControl' 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 'extensionAccessControl' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Configure the placement of an extension's access control keyword.",
14 | options: ["extension-acl"]
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/FileHeader.swift:13:16: warning: static property 'fileHeader' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Strip header comments from the file
13 | static let fileHeader = FormatRule(
| |- warning: static property 'fileHeader' 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 'fileHeader' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Use specified source file header template for all files.",
15 | runOnceOnly: true,
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/FileMacro.swift:12:16: warning: static property 'fileMacro' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let fileMacro = FormatRule(
| |- warning: static property 'fileMacro' 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 'fileMacro' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Prefer either #file or #fileID, which have the same behavior in Swift 6 and later.",
14 | options: ["file-macro"]
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/GenericExtensions.swift:12:16: warning: static property 'genericExtensions' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let genericExtensions = FormatRule(
| |- warning: static property 'genericExtensions' 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 'genericExtensions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: """
14 | Use angle brackets (`extension Array<Foo>`) for generic type extensions
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/HeaderFileName.swift:13:16: warning: static property 'headerFileName' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Ensure file name reference in header matches actual file name
13 | static let headerFileName = FormatRule(
| |- warning: static property 'headerFileName' 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 'headerFileName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Ensure file name in header comment matches the actual file name.",
15 | runOnceOnly: true,
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/ConditionalAssignment.swift:12:16: warning: static property 'conditionalAssignment' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let conditionalAssignment = FormatRule(
| |- warning: static property 'conditionalAssignment' 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 'conditionalAssignment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Assign properties using if / switch expressions.",
14 | orderAfter: [.redundantReturn],
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/ConsecutiveBlankLines.swift:13:16: warning: static property 'consecutiveBlankLines' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Collapse all consecutive blank lines into a single blank line
13 | static let consecutiveBlankLines = FormatRule(
| |- warning: static property 'consecutiveBlankLines' 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 'consecutiveBlankLines' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Replace consecutive blank lines with a single blank line."
15 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/ConsecutiveSpaces.swift:15:16: warning: static property 'consecutiveSpaces' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// the start of a line or inside a comment or string, as these have no semantic
14 | /// meaning and lead to noise in commits.
15 | static let consecutiveSpaces = FormatRule(
| |- warning: static property 'consecutiveSpaces' 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 'consecutiveSpaces' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | help: "Replace consecutive spaces with a single space."
17 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/ConsistentSwitchCaseSpacing.swift:12:16: warning: static property 'consistentSwitchCaseSpacing' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let consistentSwitchCaseSpacing = FormatRule(
| |- warning: static property 'consistentSwitchCaseSpacing' 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 'consistentSwitchCaseSpacing' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Ensures consistent spacing among all of the cases in a switch statement.",
14 | orderAfter: [.blankLineAfterSwitchCase]
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/DocComments.swift:12:16: warning: static property 'docComments' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let docComments = FormatRule(
| |- warning: static property 'docComments' 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 'docComments' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Use doc comments for API declarations, otherwise use regular comments.",
14 | orderAfter: [.fileHeader],
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/DocCommentsBeforeModifiers.swift:12:16: warning: static property 'docCommentsBeforeModifiers' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let docCommentsBeforeModifiers = FormatRule(
| |- warning: static property 'docCommentsBeforeModifiers' 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 'docCommentsBeforeModifiers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Place doc comments before any declaration modifiers or attributes.",
14 | orderAfter: [.docComments]
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/DuplicateImports.swift:13:16: warning: static property 'duplicateImports' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Remove duplicate import statements
13 | static let duplicateImports = FormatRule(
| |- warning: static property 'duplicateImports' 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 'duplicateImports' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove duplicate import statements."
15 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/ElseOnSameLine.swift:15:16: warning: static property 'elseOnSameLine' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// as the closing brace. This has no effect on the `else` part of a `guard` statement.
14 | /// Also applies to `catch` after `try` and `while` after `repeat`.
15 | static let elseOnSameLine = FormatRule(
| |- warning: static property 'elseOnSameLine' 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 'elseOnSameLine' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | help: """
17 | Place `else`, `catch` or `while` keyword in accordance with current style (same or
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/EmptyBraces.swift:13:16: warning: static property 'emptyBraces' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Remove white-space between empty braces
13 | static let emptyBraces = FormatRule(
| |- warning: static property 'emptyBraces' 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 'emptyBraces' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove whitespace inside empty braces.",
15 | options: ["empty-braces"],
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/EmptyExtensions.swift:13:16: warning: static property 'emptyExtensions' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Remove empty, non-conforming, extensions.
13 | static let emptyExtensions = FormatRule(
| |- warning: static property 'emptyExtensions' 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 'emptyExtensions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove empty, non-protocol-conforming extensions.",
15 | orderAfter: [.unusedPrivateDeclarations]
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/EnumNamespaces.swift:13:16: warning: static property 'enumNamespaces' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Converts types used for hosting only static members into enums to avoid instantiation.
13 | static let enumNamespaces = FormatRule(
| |- warning: static property 'enumNamespaces' 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 'enumNamespaces' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: """
15 | Convert types used for hosting only static members into enums (an empty enum is
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/EnvironmentEntry.swift:8:16: warning: static property 'environmentEntry' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
6 | public extension FormatRule {
7 | /// Removes types conforming `EnvironmentKey` and replaces them with the @Entry macro
8 | static let environmentEntry = FormatRule(
| |- warning: static property 'environmentEntry' 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 'environmentEntry' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | help: "Updates SwiftUI `EnvironmentValues` definitions to use the @Entry macro."
10 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/ExtensionAccessControl.swift:12:16: warning: static property 'extensionAccessControl' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let extensionAccessControl = FormatRule(
| |- warning: static property 'extensionAccessControl' 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 'extensionAccessControl' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Configure the placement of an extension's access control keyword.",
14 | options: ["extension-acl"]
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/FileHeader.swift:13:16: warning: static property 'fileHeader' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Strip header comments from the file
13 | static let fileHeader = FormatRule(
| |- warning: static property 'fileHeader' 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 'fileHeader' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Use specified source file header template for all files.",
15 | runOnceOnly: true,
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/FileMacro.swift:12:16: warning: static property 'fileMacro' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let fileMacro = FormatRule(
| |- warning: static property 'fileMacro' 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 'fileMacro' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Prefer either #file or #fileID, which have the same behavior in Swift 6 and later.",
14 | options: ["file-macro"]
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/GenericExtensions.swift:12:16: warning: static property 'genericExtensions' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let genericExtensions = FormatRule(
| |- warning: static property 'genericExtensions' 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 'genericExtensions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: """
14 | Use angle brackets (`extension Array<Foo>`) for generic type extensions
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/HeaderFileName.swift:13:16: warning: static property 'headerFileName' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Ensure file name reference in header matches actual file name
13 | static let headerFileName = FormatRule(
| |- warning: static property 'headerFileName' 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 'headerFileName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Ensure file name in header comment matches the actual file name.",
15 | runOnceOnly: true,
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/ConditionalAssignment.swift:12:16: warning: static property 'conditionalAssignment' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let conditionalAssignment = FormatRule(
| |- warning: static property 'conditionalAssignment' 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 'conditionalAssignment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Assign properties using if / switch expressions.",
14 | orderAfter: [.redundantReturn],
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/ConsecutiveBlankLines.swift:13:16: warning: static property 'consecutiveBlankLines' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Collapse all consecutive blank lines into a single blank line
13 | static let consecutiveBlankLines = FormatRule(
| |- warning: static property 'consecutiveBlankLines' 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 'consecutiveBlankLines' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Replace consecutive blank lines with a single blank line."
15 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/ConsecutiveSpaces.swift:15:16: warning: static property 'consecutiveSpaces' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// the start of a line or inside a comment or string, as these have no semantic
14 | /// meaning and lead to noise in commits.
15 | static let consecutiveSpaces = FormatRule(
| |- warning: static property 'consecutiveSpaces' 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 'consecutiveSpaces' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | help: "Replace consecutive spaces with a single space."
17 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/ConsistentSwitchCaseSpacing.swift:12:16: warning: static property 'consistentSwitchCaseSpacing' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let consistentSwitchCaseSpacing = FormatRule(
| |- warning: static property 'consistentSwitchCaseSpacing' 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 'consistentSwitchCaseSpacing' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Ensures consistent spacing among all of the cases in a switch statement.",
14 | orderAfter: [.blankLineAfterSwitchCase]
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/DocComments.swift:12:16: warning: static property 'docComments' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let docComments = FormatRule(
| |- warning: static property 'docComments' 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 'docComments' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Use doc comments for API declarations, otherwise use regular comments.",
14 | orderAfter: [.fileHeader],
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/DocCommentsBeforeModifiers.swift:12:16: warning: static property 'docCommentsBeforeModifiers' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let docCommentsBeforeModifiers = FormatRule(
| |- warning: static property 'docCommentsBeforeModifiers' 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 'docCommentsBeforeModifiers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Place doc comments before any declaration modifiers or attributes.",
14 | orderAfter: [.docComments]
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/DuplicateImports.swift:13:16: warning: static property 'duplicateImports' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Remove duplicate import statements
13 | static let duplicateImports = FormatRule(
| |- warning: static property 'duplicateImports' 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 'duplicateImports' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove duplicate import statements."
15 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/ElseOnSameLine.swift:15:16: warning: static property 'elseOnSameLine' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// as the closing brace. This has no effect on the `else` part of a `guard` statement.
14 | /// Also applies to `catch` after `try` and `while` after `repeat`.
15 | static let elseOnSameLine = FormatRule(
| |- warning: static property 'elseOnSameLine' 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 'elseOnSameLine' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | help: """
17 | Place `else`, `catch` or `while` keyword in accordance with current style (same or
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/EmptyBraces.swift:13:16: warning: static property 'emptyBraces' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Remove white-space between empty braces
13 | static let emptyBraces = FormatRule(
| |- warning: static property 'emptyBraces' 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 'emptyBraces' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove whitespace inside empty braces.",
15 | options: ["empty-braces"],
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/EmptyExtensions.swift:13:16: warning: static property 'emptyExtensions' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Remove empty, non-conforming, extensions.
13 | static let emptyExtensions = FormatRule(
| |- warning: static property 'emptyExtensions' 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 'emptyExtensions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove empty, non-protocol-conforming extensions.",
15 | orderAfter: [.unusedPrivateDeclarations]
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/EnumNamespaces.swift:13:16: warning: static property 'enumNamespaces' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Converts types used for hosting only static members into enums to avoid instantiation.
13 | static let enumNamespaces = FormatRule(
| |- warning: static property 'enumNamespaces' 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 'enumNamespaces' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: """
15 | Convert types used for hosting only static members into enums (an empty enum is
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/EnvironmentEntry.swift:8:16: warning: static property 'environmentEntry' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
6 | public extension FormatRule {
7 | /// Removes types conforming `EnvironmentKey` and replaces them with the @Entry macro
8 | static let environmentEntry = FormatRule(
| |- warning: static property 'environmentEntry' 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 'environmentEntry' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | help: "Updates SwiftUI `EnvironmentValues` definitions to use the @Entry macro."
10 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/ExtensionAccessControl.swift:12:16: warning: static property 'extensionAccessControl' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let extensionAccessControl = FormatRule(
| |- warning: static property 'extensionAccessControl' 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 'extensionAccessControl' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Configure the placement of an extension's access control keyword.",
14 | options: ["extension-acl"]
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/FileHeader.swift:13:16: warning: static property 'fileHeader' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Strip header comments from the file
13 | static let fileHeader = FormatRule(
| |- warning: static property 'fileHeader' 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 'fileHeader' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Use specified source file header template for all files.",
15 | runOnceOnly: true,
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/FileMacro.swift:12:16: warning: static property 'fileMacro' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let fileMacro = FormatRule(
| |- warning: static property 'fileMacro' 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 'fileMacro' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Prefer either #file or #fileID, which have the same behavior in Swift 6 and later.",
14 | options: ["file-macro"]
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/GenericExtensions.swift:12:16: warning: static property 'genericExtensions' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let genericExtensions = FormatRule(
| |- warning: static property 'genericExtensions' 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 'genericExtensions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: """
14 | Use angle brackets (`extension Array<Foo>`) for generic type extensions
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/HeaderFileName.swift:13:16: warning: static property 'headerFileName' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Ensure file name reference in header matches actual file name
13 | static let headerFileName = FormatRule(
| |- warning: static property 'headerFileName' 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 'headerFileName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Ensure file name in header comment matches the actual file name.",
15 | runOnceOnly: true,
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
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 |
[348/352] Compiling CommandLineTool main.swift
/Users/admin/builder/spi-builder-workspace/CommandLineTool/main.swift:80: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
78 | private let printQueue = DispatchQueue(label: "swiftformat.print")
79 |
80 | 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
81 | printQueue.sync {
82 | 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 | }
[349/352] Emitting module CommandLineTool
/Users/admin/builder/spi-builder-workspace/CommandLineTool/main.swift:80: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
78 | private let printQueue = DispatchQueue(label: "swiftformat.print")
79 |
80 | 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
81 | printQueue.sync {
82 | 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 | }
[349/352] Write Objects.LinkFileList
[351/354] Emitting module CommandLineTool
/Users/admin/builder/spi-builder-workspace/CommandLineTool/main.swift:80: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
78 | private let printQueue = DispatchQueue(label: "swiftformat.print")
79 |
80 | 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
81 | printQueue.sync {
82 | 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 | }
[352/354] Compiling CommandLineTool main.swift
/Users/admin/builder/spi-builder-workspace/CommandLineTool/main.swift:80: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
78 | private let printQueue = DispatchQueue(label: "swiftformat.print")
79 |
80 | 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
81 | printQueue.sync {
82 | 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 | }
[352/354] Linking swiftformat
[353/354] Applying swiftformat
Build complete! (16.16s)
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/PreferExplicitFalseTests.swift",
"Rules/PreferFinalClassesTests.swift",
"Rules/PreferForLoopTests.swift",
"Rules/PreferKeyPathTests.swift",
"Rules/PreferSwiftStringAPITests.swift",
"Rules/PreferSwiftTestingTests.swift",
"Rules/PrivateStateVariablesTests.swift",
"Rules/PropertyTypesTests.swift",
"Rules/RedundantAsyncTests.swift",
"Rules/RedundantBackticksTests.swift",
"Rules/RedundantBreakTests.swift",
"Rules/RedundantClosureTests.swift",
"Rules/RedundantEmptyViewTests.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/RedundantPublicTests.swift",
"Rules/RedundantRawValuesTests.swift",
"Rules/RedundantReturnTests.swift",
"Rules/RedundantSelfTests.swift",
"Rules/RedundantSendableTests.swift",
"Rules/RedundantStaticSelfTests.swift",
"Rules/RedundantSwiftTestingSuiteTests.swift",
"Rules/RedundantThrowsTests.swift",
"Rules/RedundantTypeTests.swift",
"Rules/RedundantTypedThrowsTests.swift",
"Rules/RedundantVariableTests.swift",
"Rules/RedundantViewBuilderTests.swift",
"Rules/RedundantVoidReturnTypeTests.swift",
"Rules/SemicolonsTests.swift",
"Rules/SimplifyGenericConstraintsTests.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/TestSuiteAccessControlTests.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/ValidateTestCasesTests.swift",
"Rules/VoidTests.swift",
"Rules/WrapArgumentsTests.swift",
"Rules/WrapAttributesTests.swift",
"Rules/WrapCaseBodiesTests.swift",
"Rules/WrapConditionalBodiesTests.swift",
"Rules/WrapEnumCasesTests.swift",
"Rules/WrapFunctionBodiesTests.swift",
"Rules/WrapLoopBodiesTests.swift",
"Rules/WrapMultilineConditionalAssignmentTests.swift",
"Rules/WrapMultilineFunctionChainsTests.swift",
"Rules/WrapMultilineStatementBracesTests.swift",
"Rules/WrapPropertyBodiesTests.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/PreferExplicitFalse.swift",
"Rules/PreferFinalClasses.swift",
"Rules/PreferForLoop.swift",
"Rules/PreferKeyPath.swift",
"Rules/PreferSwiftStringAPI.swift",
"Rules/PreferSwiftTesting.swift",
"Rules/PrivateStateVariables.swift",
"Rules/PropertyTypes.swift",
"Rules/RedundantAsync.swift",
"Rules/RedundantBackticks.swift",
"Rules/RedundantBreak.swift",
"Rules/RedundantClosure.swift",
"Rules/RedundantEmptyView.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/RedundantSendable.swift",
"Rules/RedundantStaticSelf.swift",
"Rules/RedundantSwiftTestingSuite.swift",
"Rules/RedundantThrows.swift",
"Rules/RedundantType.swift",
"Rules/RedundantTypedThrows.swift",
"Rules/RedundantVariable.swift",
"Rules/RedundantViewBuilder.swift",
"Rules/RedundantVoidReturnType.swift",
"Rules/Semicolons.swift",
"Rules/SimplifyGenericConstraints.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/TestSuiteAccessControl.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/ValidateTestCases.swift",
"Rules/Void.swift",
"Rules/Wrap.swift",
"Rules/WrapArguments.swift",
"Rules/WrapAttributes.swift",
"Rules/WrapCaseBodies.swift",
"Rules/WrapConditionalBodies.swift",
"Rules/WrapEnumCases.swift",
"Rules/WrapFunctionBodies.swift",
"Rules/WrapLoopBodies.swift",
"Rules/WrapMultilineConditionalAssignment.swift",
"Rules/WrapMultilineFunctionChains.swift",
"Rules/WrapMultilineStatementBraces.swift",
"Rules/WrapPropertyBodies.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.