Build Information
Successful build of SwiftFormat, reference 0.64.7 (d5ca3e), with Swift 6.1 for Linux on 18 Nov 2026 13:24:55 UTC.
Swift 6 data race errors: 402
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:linux-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1Build Log
36 |
/host/spi-builder-workspace/Sources/Rules/SpaceAroundBraces.swift:14:16: warning: static property 'spaceAroundBraces' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// Ensure that there is space between an opening brace and the preceding
13 | /// identifier, and between a closing brace and the following identifier.
14 | static let spaceAroundBraces = FormatRule(
| |- warning: static property 'spaceAroundBraces' 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 'spaceAroundBraces' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | help: "Add or remove space around curly braces."
16 | ) { formatter in
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SpaceAroundBrackets.swift:19:16: warning: static property 'spaceAroundBrackets' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
17 | /// * There is space between a closing bracket and following identifier
18 | /// * There is space between a closing bracket and following opening brace
19 | static let spaceAroundBrackets = FormatRule(
| |- warning: static property 'spaceAroundBrackets' 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 'spaceAroundBrackets' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | help: "Add or remove space around square brackets."
21 | ) { formatter in
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SpaceAroundComments.swift:13:16: warning: static property 'spaceAroundComments' 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 | /// Add space around comments, except at the start or end of a line
13 | static let spaceAroundComments = FormatRule(
| |- warning: static property 'spaceAroundComments' 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 'spaceAroundComments' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Add space before and/or after comments."
15 | ) { formatter in
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SpaceAroundGenerics.swift:13:16: warning: static property 'spaceAroundGenerics' 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 there is no space between an opening chevron and the preceding identifier
13 | static let spaceAroundGenerics = FormatRule(
| |- warning: static property 'spaceAroundGenerics' 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 'spaceAroundGenerics' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove space around angle brackets."
15 | ) { formatter in
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SpaceAroundOperators.swift:18:16: warning: static property 'spaceAroundOperators' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
16 | /// single space, unless it appears at the end of a line, and is not
17 | /// preceded by a space, unless it appears at the beginning of a line.
18 | static let spaceAroundOperators = FormatRule(
| |- warning: static property 'spaceAroundOperators' 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 'spaceAroundOperators' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | help: "Add or remove space around operators or delimiters.",
20 | options: ["operator-func", "no-space-operators", "ranges", "type-delimiter"]
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SpaceAroundParens.swift:20:16: warning: static property 'spaceAroundParens' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// * There is space between a closing paren and following opening brace
19 | /// * There is no space between a closing paren and following opening square bracket
20 | static let spaceAroundParens = FormatRule(
| |- warning: static property 'spaceAroundParens' 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 'spaceAroundParens' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | help: "Add or remove space around parentheses."
22 | ) { formatter in
/host/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 |
/host/spi-builder-workspace/Sources/Rules/RedundantSwiftTestingSuite.swift:12:16: warning: static property 'redundantSwiftTestingSuite' 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 redundantSwiftTestingSuite = FormatRule(
| |- warning: static property 'redundantSwiftTestingSuite' 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 'redundantSwiftTestingSuite' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Remove redundant @Suite attribute with no arguments.",
14 | orderAfter: [.swiftTestingTestCaseNames]
/host/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 |
/host/spi-builder-workspace/Sources/Rules/RedundantSwiftUIGroup.swift:13:16: warning: static property 'redundantSwiftUIGroup' 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 redundant SwiftUI Group wrapper views in favor of @ViewBuilder
13 | static let redundantSwiftUIGroup = FormatRule(
| |- warning: static property 'redundantSwiftUIGroup' 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 'redundantSwiftUIGroup' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove redundant SwiftUI Group wrapper views in favor of @ViewBuilder.",
15 | sharedOptions: ["linebreaks", "prefer-content-builder"]
/host/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 |
/host/spi-builder-workspace/Sources/Rules/RedundantThrows.swift:12:16: warning: static property 'redundantThrows' 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 redundantThrows = FormatRule(
| |- warning: static property 'redundantThrows' 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 'redundantThrows' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Remove redundant `throws` keyword from function declarations that don't throw any errors.",
14 | orderAfter: [.noForceUnwrapInTests, .noForceTryInTests, .noGuardInTests, .throwingTests],
/host/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 |
/host/spi-builder-workspace/Sources/Rules/RedundantType.swift:13:16: warning: static property 'redundantType' 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 | /// Removes explicit type declarations from initialization declarations
13 | static let redundantType = FormatRule(
| |- warning: static property 'redundantType' 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 'redundantType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove redundant type from variable declarations.",
15 | options: ["property-types"]
/host/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 |
/host/spi-builder-workspace/Sources/Rules/RedundantTypedThrows.swift:12:16: warning: static property 'redundantTypedThrows' 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 redundantTypedThrows = FormatRule(
| |- warning: static property 'redundantTypedThrows' 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 'redundantTypedThrows' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: """
14 | Converts `throws(any Error)` to `throws`, and converts `throws(Never)` to non-throwing.
/host/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 |
/host/spi-builder-workspace/Sources/Rules/RedundantVariable.swift:12:16: warning: static property 'redundantVariable' 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 redundantVariable = FormatRule(
| |- warning: static property 'redundantVariable' 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 'redundantVariable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Simplifies redundant variable definitions that are immediately returned.",
14 | orderAfter: [.propertyTypes]
/host/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 |
/host/spi-builder-workspace/Sources/Rules/RedundantViewBuilder.swift:13:16: warning: static property 'redundantViewBuilder' 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 | /// Deprecated
13 | static let redundantViewBuilder = FormatRule(
| |- warning: static property 'redundantViewBuilder' 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 'redundantViewBuilder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove redundant @ViewBuilder attribute when it's not needed.",
15 | deprecationMessage: "Use contentBuilder with `--content-builder implicit` instead."
/host/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 |
/host/spi-builder-workspace/Sources/Rules/RedundantVoidReturnType.swift:13:16: warning: static property 'redundantVoidReturnType' 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 redundant void return values for function and closure declarations
13 | static let redundantVoidReturnType = FormatRule(
| |- warning: static property 'redundantVoidReturnType' 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 'redundantVoidReturnType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove explicit `Void` return type.",
15 | options: ["closure-void"]
/host/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 |
/host/spi-builder-workspace/Sources/Rules/RepeatedGuard.swift:13:16: warning: static property 'repeatedGuard' 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 | /// Merge consecutive guard statements that have identical bodies.
13 | static let repeatedGuard = FormatRule(
| |- warning: static property 'repeatedGuard' 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 'repeatedGuard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Merge consecutive guard statements that have identical bodies.",
15 | sharedOptions: ["linebreaks", "indent", "tab-width", "smart-tabs"]
/host/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 |
/host/spi-builder-workspace/Sources/Rules/Semicolons.swift:13:16: warning: static property 'semicolons' 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 semicolons, except where doing so would change the meaning of the code
13 | static let semicolons = FormatRule(
| |- warning: static property 'semicolons' 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 'semicolons' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove semicolons.",
15 | options: ["semicolons"],
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SimplifyGenericConstraints.swift:12:16: warning: static property 'simplifyGenericConstraints' 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 simplifyGenericConstraints = FormatRule(
| |- warning: static property 'simplifyGenericConstraints' 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 'simplifyGenericConstraints' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: """
14 | Use inline generic constraints (`<T: Foo>`) instead of where clauses
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SinglePropertyPerLine.swift:12:16: warning: static property 'singlePropertyPerLine' 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 singlePropertyPerLine = FormatRule(
| |- warning: static property 'singlePropertyPerLine' 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 'singlePropertyPerLine' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Use a separate let/var declaration on its own line for every property definition.",
14 | disabledByDefault: true,
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SortDeclarations.swift:12:16: warning: static property 'sortDeclarations' 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 sortDeclarations = FormatRule(
| |- warning: static property 'sortDeclarations' 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 'sortDeclarations' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: """
14 | Sorts the body of declarations with // swiftformat:sort
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SortImports.swift:13:16: warning: static property 'sortImports' 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 | /// Sort import statements
13 | static let sortImports = FormatRule(
| |- warning: static property 'sortImports' 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 'sortImports' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Sort and group import statements.",
15 | options: ["import-grouping", "hoist-imports"],
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SortSwitchCases.swift:13:16: warning: static property 'sortSwitchCases' 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 | /// Sorts switch cases alphabetically
13 | static let sortSwitchCases = FormatRule(
| |- warning: static property 'sortSwitchCases' 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 'sortSwitchCases' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Sort switch cases alphabetically.",
15 | disabledByDefault: true,
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SortTypealiases.swift:12:16: warning: static property 'sortTypealiases' 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 sortTypealiases = FormatRule(
| |- warning: static property 'sortTypealiases' 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 'sortTypealiases' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Sort protocol composition typealiases alphabetically.",
14 | sharedOptions: ["linebreaks"]
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SortedImports.swift:13:16: warning: static property 'sortedImports' 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 | /// Deprecated
13 | static let sortedImports = FormatRule(
| |- warning: static property 'sortedImports' 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 'sortedImports' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Sort import statements alphabetically.",
15 | renamedTo: .sortImports,
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SortedSwitchCases.swift:13:16: warning: static property 'sortedSwitchCases' 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 | /// Deprecated
13 | static let sortedSwitchCases = FormatRule(
| |- warning: static property 'sortedSwitchCases' 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 'sortedSwitchCases' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Sort switch cases alphabetically.",
15 | renamedTo: .sortSwitchCases
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SpaceAroundBraces.swift:14:16: warning: static property 'spaceAroundBraces' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// Ensure that there is space between an opening brace and the preceding
13 | /// identifier, and between a closing brace and the following identifier.
14 | static let spaceAroundBraces = FormatRule(
| |- warning: static property 'spaceAroundBraces' 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 'spaceAroundBraces' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | help: "Add or remove space around curly braces."
16 | ) { formatter in
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SpaceAroundBrackets.swift:19:16: warning: static property 'spaceAroundBrackets' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
17 | /// * There is space between a closing bracket and following identifier
18 | /// * There is space between a closing bracket and following opening brace
19 | static let spaceAroundBrackets = FormatRule(
| |- warning: static property 'spaceAroundBrackets' 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 'spaceAroundBrackets' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | help: "Add or remove space around square brackets."
21 | ) { formatter in
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SpaceAroundComments.swift:13:16: warning: static property 'spaceAroundComments' 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 | /// Add space around comments, except at the start or end of a line
13 | static let spaceAroundComments = FormatRule(
| |- warning: static property 'spaceAroundComments' 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 'spaceAroundComments' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Add space before and/or after comments."
15 | ) { formatter in
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SpaceAroundGenerics.swift:13:16: warning: static property 'spaceAroundGenerics' 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 there is no space between an opening chevron and the preceding identifier
13 | static let spaceAroundGenerics = FormatRule(
| |- warning: static property 'spaceAroundGenerics' 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 'spaceAroundGenerics' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove space around angle brackets."
15 | ) { formatter in
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SpaceAroundOperators.swift:18:16: warning: static property 'spaceAroundOperators' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
16 | /// single space, unless it appears at the end of a line, and is not
17 | /// preceded by a space, unless it appears at the beginning of a line.
18 | static let spaceAroundOperators = FormatRule(
| |- warning: static property 'spaceAroundOperators' 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 'spaceAroundOperators' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | help: "Add or remove space around operators or delimiters.",
20 | options: ["operator-func", "no-space-operators", "ranges", "type-delimiter"]
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SpaceAroundParens.swift:20:16: warning: static property 'spaceAroundParens' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// * There is space between a closing paren and following opening brace
19 | /// * There is no space between a closing paren and following opening square bracket
20 | static let spaceAroundParens = FormatRule(
| |- warning: static property 'spaceAroundParens' 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 'spaceAroundParens' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | help: "Add or remove space around parentheses."
22 | ) { formatter in
/host/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 |
/host/spi-builder-workspace/Sources/Rules/RedundantSwiftTestingSuite.swift:12:16: warning: static property 'redundantSwiftTestingSuite' 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 redundantSwiftTestingSuite = FormatRule(
| |- warning: static property 'redundantSwiftTestingSuite' 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 'redundantSwiftTestingSuite' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Remove redundant @Suite attribute with no arguments.",
14 | orderAfter: [.swiftTestingTestCaseNames]
/host/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 |
/host/spi-builder-workspace/Sources/Rules/RedundantSwiftUIGroup.swift:13:16: warning: static property 'redundantSwiftUIGroup' 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 redundant SwiftUI Group wrapper views in favor of @ViewBuilder
13 | static let redundantSwiftUIGroup = FormatRule(
| |- warning: static property 'redundantSwiftUIGroup' 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 'redundantSwiftUIGroup' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove redundant SwiftUI Group wrapper views in favor of @ViewBuilder.",
15 | sharedOptions: ["linebreaks", "prefer-content-builder"]
/host/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 |
/host/spi-builder-workspace/Sources/Rules/RedundantThrows.swift:12:16: warning: static property 'redundantThrows' 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 redundantThrows = FormatRule(
| |- warning: static property 'redundantThrows' 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 'redundantThrows' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Remove redundant `throws` keyword from function declarations that don't throw any errors.",
14 | orderAfter: [.noForceUnwrapInTests, .noForceTryInTests, .noGuardInTests, .throwingTests],
/host/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 |
/host/spi-builder-workspace/Sources/Rules/RedundantType.swift:13:16: warning: static property 'redundantType' 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 | /// Removes explicit type declarations from initialization declarations
13 | static let redundantType = FormatRule(
| |- warning: static property 'redundantType' 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 'redundantType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove redundant type from variable declarations.",
15 | options: ["property-types"]
/host/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 |
/host/spi-builder-workspace/Sources/Rules/RedundantTypedThrows.swift:12:16: warning: static property 'redundantTypedThrows' 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 redundantTypedThrows = FormatRule(
| |- warning: static property 'redundantTypedThrows' 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 'redundantTypedThrows' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: """
14 | Converts `throws(any Error)` to `throws`, and converts `throws(Never)` to non-throwing.
/host/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 |
/host/spi-builder-workspace/Sources/Rules/RedundantVariable.swift:12:16: warning: static property 'redundantVariable' 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 redundantVariable = FormatRule(
| |- warning: static property 'redundantVariable' 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 'redundantVariable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Simplifies redundant variable definitions that are immediately returned.",
14 | orderAfter: [.propertyTypes]
/host/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 |
/host/spi-builder-workspace/Sources/Rules/RedundantViewBuilder.swift:13:16: warning: static property 'redundantViewBuilder' 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 | /// Deprecated
13 | static let redundantViewBuilder = FormatRule(
| |- warning: static property 'redundantViewBuilder' 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 'redundantViewBuilder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove redundant @ViewBuilder attribute when it's not needed.",
15 | deprecationMessage: "Use contentBuilder with `--content-builder implicit` instead."
/host/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 |
/host/spi-builder-workspace/Sources/Rules/RedundantVoidReturnType.swift:13:16: warning: static property 'redundantVoidReturnType' 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 redundant void return values for function and closure declarations
13 | static let redundantVoidReturnType = FormatRule(
| |- warning: static property 'redundantVoidReturnType' 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 'redundantVoidReturnType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove explicit `Void` return type.",
15 | options: ["closure-void"]
/host/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 |
/host/spi-builder-workspace/Sources/Rules/RepeatedGuard.swift:13:16: warning: static property 'repeatedGuard' 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 | /// Merge consecutive guard statements that have identical bodies.
13 | static let repeatedGuard = FormatRule(
| |- warning: static property 'repeatedGuard' 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 'repeatedGuard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Merge consecutive guard statements that have identical bodies.",
15 | sharedOptions: ["linebreaks", "indent", "tab-width", "smart-tabs"]
/host/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 |
/host/spi-builder-workspace/Sources/Rules/Semicolons.swift:13:16: warning: static property 'semicolons' 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 semicolons, except where doing so would change the meaning of the code
13 | static let semicolons = FormatRule(
| |- warning: static property 'semicolons' 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 'semicolons' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove semicolons.",
15 | options: ["semicolons"],
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SimplifyGenericConstraints.swift:12:16: warning: static property 'simplifyGenericConstraints' 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 simplifyGenericConstraints = FormatRule(
| |- warning: static property 'simplifyGenericConstraints' 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 'simplifyGenericConstraints' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: """
14 | Use inline generic constraints (`<T: Foo>`) instead of where clauses
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SinglePropertyPerLine.swift:12:16: warning: static property 'singlePropertyPerLine' 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 singlePropertyPerLine = FormatRule(
| |- warning: static property 'singlePropertyPerLine' 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 'singlePropertyPerLine' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Use a separate let/var declaration on its own line for every property definition.",
14 | disabledByDefault: true,
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SortDeclarations.swift:12:16: warning: static property 'sortDeclarations' 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 sortDeclarations = FormatRule(
| |- warning: static property 'sortDeclarations' 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 'sortDeclarations' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: """
14 | Sorts the body of declarations with // swiftformat:sort
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SortImports.swift:13:16: warning: static property 'sortImports' 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 | /// Sort import statements
13 | static let sortImports = FormatRule(
| |- warning: static property 'sortImports' 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 'sortImports' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Sort and group import statements.",
15 | options: ["import-grouping", "hoist-imports"],
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SortSwitchCases.swift:13:16: warning: static property 'sortSwitchCases' 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 | /// Sorts switch cases alphabetically
13 | static let sortSwitchCases = FormatRule(
| |- warning: static property 'sortSwitchCases' 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 'sortSwitchCases' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Sort switch cases alphabetically.",
15 | disabledByDefault: true,
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SortTypealiases.swift:12:16: warning: static property 'sortTypealiases' 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 sortTypealiases = FormatRule(
| |- warning: static property 'sortTypealiases' 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 'sortTypealiases' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Sort protocol composition typealiases alphabetically.",
14 | sharedOptions: ["linebreaks"]
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SortedImports.swift:13:16: warning: static property 'sortedImports' 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 | /// Deprecated
13 | static let sortedImports = FormatRule(
| |- warning: static property 'sortedImports' 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 'sortedImports' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Sort import statements alphabetically.",
15 | renamedTo: .sortImports,
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SortedSwitchCases.swift:13:16: warning: static property 'sortedSwitchCases' 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 | /// Deprecated
13 | static let sortedSwitchCases = FormatRule(
| |- warning: static property 'sortedSwitchCases' 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 'sortedSwitchCases' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Sort switch cases alphabetically.",
15 | renamedTo: .sortSwitchCases
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SpaceAroundBraces.swift:14:16: warning: static property 'spaceAroundBraces' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// Ensure that there is space between an opening brace and the preceding
13 | /// identifier, and between a closing brace and the following identifier.
14 | static let spaceAroundBraces = FormatRule(
| |- warning: static property 'spaceAroundBraces' 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 'spaceAroundBraces' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | help: "Add or remove space around curly braces."
16 | ) { formatter in
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SpaceAroundBrackets.swift:19:16: warning: static property 'spaceAroundBrackets' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
17 | /// * There is space between a closing bracket and following identifier
18 | /// * There is space between a closing bracket and following opening brace
19 | static let spaceAroundBrackets = FormatRule(
| |- warning: static property 'spaceAroundBrackets' 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 'spaceAroundBrackets' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | help: "Add or remove space around square brackets."
21 | ) { formatter in
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SpaceAroundComments.swift:13:16: warning: static property 'spaceAroundComments' 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 | /// Add space around comments, except at the start or end of a line
13 | static let spaceAroundComments = FormatRule(
| |- warning: static property 'spaceAroundComments' 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 'spaceAroundComments' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Add space before and/or after comments."
15 | ) { formatter in
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SpaceAroundGenerics.swift:13:16: warning: static property 'spaceAroundGenerics' 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 there is no space between an opening chevron and the preceding identifier
13 | static let spaceAroundGenerics = FormatRule(
| |- warning: static property 'spaceAroundGenerics' 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 'spaceAroundGenerics' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove space around angle brackets."
15 | ) { formatter in
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SpaceAroundOperators.swift:18:16: warning: static property 'spaceAroundOperators' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
16 | /// single space, unless it appears at the end of a line, and is not
17 | /// preceded by a space, unless it appears at the beginning of a line.
18 | static let spaceAroundOperators = FormatRule(
| |- warning: static property 'spaceAroundOperators' 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 'spaceAroundOperators' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | help: "Add or remove space around operators or delimiters.",
20 | options: ["operator-func", "no-space-operators", "ranges", "type-delimiter"]
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SpaceAroundParens.swift:20:16: warning: static property 'spaceAroundParens' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// * There is space between a closing paren and following opening brace
19 | /// * There is no space between a closing paren and following opening square bracket
20 | static let spaceAroundParens = FormatRule(
| |- warning: static property 'spaceAroundParens' 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 'spaceAroundParens' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | help: "Add or remove space around parentheses."
22 | ) { formatter in
/host/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 |
/host/spi-builder-workspace/Sources/Rules/RedundantSwiftTestingSuite.swift:12:16: warning: static property 'redundantSwiftTestingSuite' 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 redundantSwiftTestingSuite = FormatRule(
| |- warning: static property 'redundantSwiftTestingSuite' 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 'redundantSwiftTestingSuite' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Remove redundant @Suite attribute with no arguments.",
14 | orderAfter: [.swiftTestingTestCaseNames]
/host/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 |
/host/spi-builder-workspace/Sources/Rules/RedundantSwiftUIGroup.swift:13:16: warning: static property 'redundantSwiftUIGroup' 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 redundant SwiftUI Group wrapper views in favor of @ViewBuilder
13 | static let redundantSwiftUIGroup = FormatRule(
| |- warning: static property 'redundantSwiftUIGroup' 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 'redundantSwiftUIGroup' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove redundant SwiftUI Group wrapper views in favor of @ViewBuilder.",
15 | sharedOptions: ["linebreaks", "prefer-content-builder"]
/host/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 |
/host/spi-builder-workspace/Sources/Rules/RedundantThrows.swift:12:16: warning: static property 'redundantThrows' 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 redundantThrows = FormatRule(
| |- warning: static property 'redundantThrows' 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 'redundantThrows' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Remove redundant `throws` keyword from function declarations that don't throw any errors.",
14 | orderAfter: [.noForceUnwrapInTests, .noForceTryInTests, .noGuardInTests, .throwingTests],
/host/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 |
/host/spi-builder-workspace/Sources/Rules/RedundantType.swift:13:16: warning: static property 'redundantType' 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 | /// Removes explicit type declarations from initialization declarations
13 | static let redundantType = FormatRule(
| |- warning: static property 'redundantType' 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 'redundantType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove redundant type from variable declarations.",
15 | options: ["property-types"]
/host/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 |
/host/spi-builder-workspace/Sources/Rules/RedundantTypedThrows.swift:12:16: warning: static property 'redundantTypedThrows' 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 redundantTypedThrows = FormatRule(
| |- warning: static property 'redundantTypedThrows' 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 'redundantTypedThrows' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: """
14 | Converts `throws(any Error)` to `throws`, and converts `throws(Never)` to non-throwing.
/host/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 |
/host/spi-builder-workspace/Sources/Rules/RedundantVariable.swift:12:16: warning: static property 'redundantVariable' 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 redundantVariable = FormatRule(
| |- warning: static property 'redundantVariable' 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 'redundantVariable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Simplifies redundant variable definitions that are immediately returned.",
14 | orderAfter: [.propertyTypes]
/host/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 |
/host/spi-builder-workspace/Sources/Rules/RedundantViewBuilder.swift:13:16: warning: static property 'redundantViewBuilder' 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 | /// Deprecated
13 | static let redundantViewBuilder = FormatRule(
| |- warning: static property 'redundantViewBuilder' 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 'redundantViewBuilder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove redundant @ViewBuilder attribute when it's not needed.",
15 | deprecationMessage: "Use contentBuilder with `--content-builder implicit` instead."
/host/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 |
/host/spi-builder-workspace/Sources/Rules/RedundantVoidReturnType.swift:13:16: warning: static property 'redundantVoidReturnType' 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 redundant void return values for function and closure declarations
13 | static let redundantVoidReturnType = FormatRule(
| |- warning: static property 'redundantVoidReturnType' 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 'redundantVoidReturnType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove explicit `Void` return type.",
15 | options: ["closure-void"]
/host/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 |
/host/spi-builder-workspace/Sources/Rules/RepeatedGuard.swift:13:16: warning: static property 'repeatedGuard' 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 | /// Merge consecutive guard statements that have identical bodies.
13 | static let repeatedGuard = FormatRule(
| |- warning: static property 'repeatedGuard' 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 'repeatedGuard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Merge consecutive guard statements that have identical bodies.",
15 | sharedOptions: ["linebreaks", "indent", "tab-width", "smart-tabs"]
/host/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 |
/host/spi-builder-workspace/Sources/Rules/Semicolons.swift:13:16: warning: static property 'semicolons' 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 semicolons, except where doing so would change the meaning of the code
13 | static let semicolons = FormatRule(
| |- warning: static property 'semicolons' 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 'semicolons' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove semicolons.",
15 | options: ["semicolons"],
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SimplifyGenericConstraints.swift:12:16: warning: static property 'simplifyGenericConstraints' 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 simplifyGenericConstraints = FormatRule(
| |- warning: static property 'simplifyGenericConstraints' 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 'simplifyGenericConstraints' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: """
14 | Use inline generic constraints (`<T: Foo>`) instead of where clauses
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SinglePropertyPerLine.swift:12:16: warning: static property 'singlePropertyPerLine' 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 singlePropertyPerLine = FormatRule(
| |- warning: static property 'singlePropertyPerLine' 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 'singlePropertyPerLine' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Use a separate let/var declaration on its own line for every property definition.",
14 | disabledByDefault: true,
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SortDeclarations.swift:12:16: warning: static property 'sortDeclarations' 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 sortDeclarations = FormatRule(
| |- warning: static property 'sortDeclarations' 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 'sortDeclarations' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: """
14 | Sorts the body of declarations with // swiftformat:sort
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SortImports.swift:13:16: warning: static property 'sortImports' 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 | /// Sort import statements
13 | static let sortImports = FormatRule(
| |- warning: static property 'sortImports' 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 'sortImports' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Sort and group import statements.",
15 | options: ["import-grouping", "hoist-imports"],
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SortSwitchCases.swift:13:16: warning: static property 'sortSwitchCases' 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 | /// Sorts switch cases alphabetically
13 | static let sortSwitchCases = FormatRule(
| |- warning: static property 'sortSwitchCases' 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 'sortSwitchCases' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Sort switch cases alphabetically.",
15 | disabledByDefault: true,
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SortTypealiases.swift:12:16: warning: static property 'sortTypealiases' 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 sortTypealiases = FormatRule(
| |- warning: static property 'sortTypealiases' 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 'sortTypealiases' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Sort protocol composition typealiases alphabetically.",
14 | sharedOptions: ["linebreaks"]
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SortedImports.swift:13:16: warning: static property 'sortedImports' 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 | /// Deprecated
13 | static let sortedImports = FormatRule(
| |- warning: static property 'sortedImports' 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 'sortedImports' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Sort import statements alphabetically.",
15 | renamedTo: .sortImports,
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SortedSwitchCases.swift:13:16: warning: static property 'sortedSwitchCases' 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 | /// Deprecated
13 | static let sortedSwitchCases = FormatRule(
| |- warning: static property 'sortedSwitchCases' 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 'sortedSwitchCases' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Sort switch cases alphabetically.",
15 | renamedTo: .sortSwitchCases
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SpaceAroundBraces.swift:14:16: warning: static property 'spaceAroundBraces' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// Ensure that there is space between an opening brace and the preceding
13 | /// identifier, and between a closing brace and the following identifier.
14 | static let spaceAroundBraces = FormatRule(
| |- warning: static property 'spaceAroundBraces' 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 'spaceAroundBraces' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | help: "Add or remove space around curly braces."
16 | ) { formatter in
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SpaceAroundBrackets.swift:19:16: warning: static property 'spaceAroundBrackets' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
17 | /// * There is space between a closing bracket and following identifier
18 | /// * There is space between a closing bracket and following opening brace
19 | static let spaceAroundBrackets = FormatRule(
| |- warning: static property 'spaceAroundBrackets' 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 'spaceAroundBrackets' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | help: "Add or remove space around square brackets."
21 | ) { formatter in
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SpaceAroundComments.swift:13:16: warning: static property 'spaceAroundComments' 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 | /// Add space around comments, except at the start or end of a line
13 | static let spaceAroundComments = FormatRule(
| |- warning: static property 'spaceAroundComments' 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 'spaceAroundComments' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Add space before and/or after comments."
15 | ) { formatter in
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SpaceAroundGenerics.swift:13:16: warning: static property 'spaceAroundGenerics' 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 there is no space between an opening chevron and the preceding identifier
13 | static let spaceAroundGenerics = FormatRule(
| |- warning: static property 'spaceAroundGenerics' 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 'spaceAroundGenerics' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove space around angle brackets."
15 | ) { formatter in
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SpaceAroundOperators.swift:18:16: warning: static property 'spaceAroundOperators' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
16 | /// single space, unless it appears at the end of a line, and is not
17 | /// preceded by a space, unless it appears at the beginning of a line.
18 | static let spaceAroundOperators = FormatRule(
| |- warning: static property 'spaceAroundOperators' 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 'spaceAroundOperators' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | help: "Add or remove space around operators or delimiters.",
20 | options: ["operator-func", "no-space-operators", "ranges", "type-delimiter"]
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SpaceAroundParens.swift:20:16: warning: static property 'spaceAroundParens' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// * There is space between a closing paren and following opening brace
19 | /// * There is no space between a closing paren and following opening square bracket
20 | static let spaceAroundParens = FormatRule(
| |- warning: static property 'spaceAroundParens' 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 'spaceAroundParens' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | help: "Add or remove space around parentheses."
22 | ) { formatter in
/host/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 |
/host/spi-builder-workspace/Sources/Rules/RedundantSwiftTestingSuite.swift:12:16: warning: static property 'redundantSwiftTestingSuite' 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 redundantSwiftTestingSuite = FormatRule(
| |- warning: static property 'redundantSwiftTestingSuite' 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 'redundantSwiftTestingSuite' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Remove redundant @Suite attribute with no arguments.",
14 | orderAfter: [.swiftTestingTestCaseNames]
/host/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 |
/host/spi-builder-workspace/Sources/Rules/RedundantSwiftUIGroup.swift:13:16: warning: static property 'redundantSwiftUIGroup' 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 redundant SwiftUI Group wrapper views in favor of @ViewBuilder
13 | static let redundantSwiftUIGroup = FormatRule(
| |- warning: static property 'redundantSwiftUIGroup' 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 'redundantSwiftUIGroup' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove redundant SwiftUI Group wrapper views in favor of @ViewBuilder.",
15 | sharedOptions: ["linebreaks", "prefer-content-builder"]
/host/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 |
/host/spi-builder-workspace/Sources/Rules/RedundantThrows.swift:12:16: warning: static property 'redundantThrows' 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 redundantThrows = FormatRule(
| |- warning: static property 'redundantThrows' 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 'redundantThrows' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Remove redundant `throws` keyword from function declarations that don't throw any errors.",
14 | orderAfter: [.noForceUnwrapInTests, .noForceTryInTests, .noGuardInTests, .throwingTests],
/host/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 |
/host/spi-builder-workspace/Sources/Rules/RedundantType.swift:13:16: warning: static property 'redundantType' 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 | /// Removes explicit type declarations from initialization declarations
13 | static let redundantType = FormatRule(
| |- warning: static property 'redundantType' 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 'redundantType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove redundant type from variable declarations.",
15 | options: ["property-types"]
/host/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 |
/host/spi-builder-workspace/Sources/Rules/RedundantTypedThrows.swift:12:16: warning: static property 'redundantTypedThrows' 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 redundantTypedThrows = FormatRule(
| |- warning: static property 'redundantTypedThrows' 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 'redundantTypedThrows' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: """
14 | Converts `throws(any Error)` to `throws`, and converts `throws(Never)` to non-throwing.
/host/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 |
/host/spi-builder-workspace/Sources/Rules/RedundantVariable.swift:12:16: warning: static property 'redundantVariable' 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 redundantVariable = FormatRule(
| |- warning: static property 'redundantVariable' 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 'redundantVariable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Simplifies redundant variable definitions that are immediately returned.",
14 | orderAfter: [.propertyTypes]
/host/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 |
/host/spi-builder-workspace/Sources/Rules/RedundantViewBuilder.swift:13:16: warning: static property 'redundantViewBuilder' 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 | /// Deprecated
13 | static let redundantViewBuilder = FormatRule(
| |- warning: static property 'redundantViewBuilder' 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 'redundantViewBuilder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove redundant @ViewBuilder attribute when it's not needed.",
15 | deprecationMessage: "Use contentBuilder with `--content-builder implicit` instead."
/host/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 |
/host/spi-builder-workspace/Sources/Rules/RedundantVoidReturnType.swift:13:16: warning: static property 'redundantVoidReturnType' 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 redundant void return values for function and closure declarations
13 | static let redundantVoidReturnType = FormatRule(
| |- warning: static property 'redundantVoidReturnType' 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 'redundantVoidReturnType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove explicit `Void` return type.",
15 | options: ["closure-void"]
/host/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 |
/host/spi-builder-workspace/Sources/Rules/RepeatedGuard.swift:13:16: warning: static property 'repeatedGuard' 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 | /// Merge consecutive guard statements that have identical bodies.
13 | static let repeatedGuard = FormatRule(
| |- warning: static property 'repeatedGuard' 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 'repeatedGuard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Merge consecutive guard statements that have identical bodies.",
15 | sharedOptions: ["linebreaks", "indent", "tab-width", "smart-tabs"]
/host/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 |
/host/spi-builder-workspace/Sources/Rules/Semicolons.swift:13:16: warning: static property 'semicolons' 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 semicolons, except where doing so would change the meaning of the code
13 | static let semicolons = FormatRule(
| |- warning: static property 'semicolons' 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 'semicolons' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove semicolons.",
15 | options: ["semicolons"],
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SimplifyGenericConstraints.swift:12:16: warning: static property 'simplifyGenericConstraints' 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 simplifyGenericConstraints = FormatRule(
| |- warning: static property 'simplifyGenericConstraints' 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 'simplifyGenericConstraints' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: """
14 | Use inline generic constraints (`<T: Foo>`) instead of where clauses
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SinglePropertyPerLine.swift:12:16: warning: static property 'singlePropertyPerLine' 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 singlePropertyPerLine = FormatRule(
| |- warning: static property 'singlePropertyPerLine' 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 'singlePropertyPerLine' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Use a separate let/var declaration on its own line for every property definition.",
14 | disabledByDefault: true,
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SortDeclarations.swift:12:16: warning: static property 'sortDeclarations' 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 sortDeclarations = FormatRule(
| |- warning: static property 'sortDeclarations' 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 'sortDeclarations' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: """
14 | Sorts the body of declarations with // swiftformat:sort
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SortImports.swift:13:16: warning: static property 'sortImports' 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 | /// Sort import statements
13 | static let sortImports = FormatRule(
| |- warning: static property 'sortImports' 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 'sortImports' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Sort and group import statements.",
15 | options: ["import-grouping", "hoist-imports"],
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SortSwitchCases.swift:13:16: warning: static property 'sortSwitchCases' 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 | /// Sorts switch cases alphabetically
13 | static let sortSwitchCases = FormatRule(
| |- warning: static property 'sortSwitchCases' 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 'sortSwitchCases' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Sort switch cases alphabetically.",
15 | disabledByDefault: true,
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SortTypealiases.swift:12:16: warning: static property 'sortTypealiases' 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 sortTypealiases = FormatRule(
| |- warning: static property 'sortTypealiases' 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 'sortTypealiases' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Sort protocol composition typealiases alphabetically.",
14 | sharedOptions: ["linebreaks"]
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SortedImports.swift:13:16: warning: static property 'sortedImports' 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 | /// Deprecated
13 | static let sortedImports = FormatRule(
| |- warning: static property 'sortedImports' 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 'sortedImports' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Sort import statements alphabetically.",
15 | renamedTo: .sortImports,
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SortedSwitchCases.swift:13:16: warning: static property 'sortedSwitchCases' 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 | /// Deprecated
13 | static let sortedSwitchCases = FormatRule(
| |- warning: static property 'sortedSwitchCases' 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 'sortedSwitchCases' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Sort switch cases alphabetically.",
15 | renamedTo: .sortSwitchCases
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SpaceAroundBraces.swift:14:16: warning: static property 'spaceAroundBraces' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// Ensure that there is space between an opening brace and the preceding
13 | /// identifier, and between a closing brace and the following identifier.
14 | static let spaceAroundBraces = FormatRule(
| |- warning: static property 'spaceAroundBraces' 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 'spaceAroundBraces' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | help: "Add or remove space around curly braces."
16 | ) { formatter in
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SpaceAroundBrackets.swift:19:16: warning: static property 'spaceAroundBrackets' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
17 | /// * There is space between a closing bracket and following identifier
18 | /// * There is space between a closing bracket and following opening brace
19 | static let spaceAroundBrackets = FormatRule(
| |- warning: static property 'spaceAroundBrackets' 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 'spaceAroundBrackets' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | help: "Add or remove space around square brackets."
21 | ) { formatter in
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SpaceAroundComments.swift:13:16: warning: static property 'spaceAroundComments' 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 | /// Add space around comments, except at the start or end of a line
13 | static let spaceAroundComments = FormatRule(
| |- warning: static property 'spaceAroundComments' 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 'spaceAroundComments' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Add space before and/or after comments."
15 | ) { formatter in
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SpaceAroundGenerics.swift:13:16: warning: static property 'spaceAroundGenerics' 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 there is no space between an opening chevron and the preceding identifier
13 | static let spaceAroundGenerics = FormatRule(
| |- warning: static property 'spaceAroundGenerics' 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 'spaceAroundGenerics' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove space around angle brackets."
15 | ) { formatter in
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SpaceAroundOperators.swift:18:16: warning: static property 'spaceAroundOperators' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
16 | /// single space, unless it appears at the end of a line, and is not
17 | /// preceded by a space, unless it appears at the beginning of a line.
18 | static let spaceAroundOperators = FormatRule(
| |- warning: static property 'spaceAroundOperators' 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 'spaceAroundOperators' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | help: "Add or remove space around operators or delimiters.",
20 | options: ["operator-func", "no-space-operators", "ranges", "type-delimiter"]
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SpaceAroundParens.swift:20:16: warning: static property 'spaceAroundParens' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// * There is space between a closing paren and following opening brace
19 | /// * There is no space between a closing paren and following opening square bracket
20 | static let spaceAroundParens = FormatRule(
| |- warning: static property 'spaceAroundParens' 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 'spaceAroundParens' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | help: "Add or remove space around parentheses."
22 | ) { formatter in
/host/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 |
/host/spi-builder-workspace/Sources/Rules/RedundantSwiftTestingSuite.swift:12:16: warning: static property 'redundantSwiftTestingSuite' 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 redundantSwiftTestingSuite = FormatRule(
| |- warning: static property 'redundantSwiftTestingSuite' 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 'redundantSwiftTestingSuite' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Remove redundant @Suite attribute with no arguments.",
14 | orderAfter: [.swiftTestingTestCaseNames]
/host/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 |
/host/spi-builder-workspace/Sources/Rules/RedundantSwiftUIGroup.swift:13:16: warning: static property 'redundantSwiftUIGroup' 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 redundant SwiftUI Group wrapper views in favor of @ViewBuilder
13 | static let redundantSwiftUIGroup = FormatRule(
| |- warning: static property 'redundantSwiftUIGroup' 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 'redundantSwiftUIGroup' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove redundant SwiftUI Group wrapper views in favor of @ViewBuilder.",
15 | sharedOptions: ["linebreaks", "prefer-content-builder"]
/host/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 |
/host/spi-builder-workspace/Sources/Rules/RedundantThrows.swift:12:16: warning: static property 'redundantThrows' 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 redundantThrows = FormatRule(
| |- warning: static property 'redundantThrows' 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 'redundantThrows' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Remove redundant `throws` keyword from function declarations that don't throw any errors.",
14 | orderAfter: [.noForceUnwrapInTests, .noForceTryInTests, .noGuardInTests, .throwingTests],
/host/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 |
/host/spi-builder-workspace/Sources/Rules/RedundantType.swift:13:16: warning: static property 'redundantType' 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 | /// Removes explicit type declarations from initialization declarations
13 | static let redundantType = FormatRule(
| |- warning: static property 'redundantType' 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 'redundantType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove redundant type from variable declarations.",
15 | options: ["property-types"]
/host/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 |
/host/spi-builder-workspace/Sources/Rules/RedundantTypedThrows.swift:12:16: warning: static property 'redundantTypedThrows' 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 redundantTypedThrows = FormatRule(
| |- warning: static property 'redundantTypedThrows' 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 'redundantTypedThrows' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: """
14 | Converts `throws(any Error)` to `throws`, and converts `throws(Never)` to non-throwing.
/host/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 |
/host/spi-builder-workspace/Sources/Rules/RedundantVariable.swift:12:16: warning: static property 'redundantVariable' 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 redundantVariable = FormatRule(
| |- warning: static property 'redundantVariable' 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 'redundantVariable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Simplifies redundant variable definitions that are immediately returned.",
14 | orderAfter: [.propertyTypes]
/host/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 |
/host/spi-builder-workspace/Sources/Rules/RedundantViewBuilder.swift:13:16: warning: static property 'redundantViewBuilder' 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 | /// Deprecated
13 | static let redundantViewBuilder = FormatRule(
| |- warning: static property 'redundantViewBuilder' 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 'redundantViewBuilder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove redundant @ViewBuilder attribute when it's not needed.",
15 | deprecationMessage: "Use contentBuilder with `--content-builder implicit` instead."
/host/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 |
/host/spi-builder-workspace/Sources/Rules/RedundantVoidReturnType.swift:13:16: warning: static property 'redundantVoidReturnType' 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 redundant void return values for function and closure declarations
13 | static let redundantVoidReturnType = FormatRule(
| |- warning: static property 'redundantVoidReturnType' 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 'redundantVoidReturnType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove explicit `Void` return type.",
15 | options: ["closure-void"]
/host/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 |
/host/spi-builder-workspace/Sources/Rules/RepeatedGuard.swift:13:16: warning: static property 'repeatedGuard' 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 | /// Merge consecutive guard statements that have identical bodies.
13 | static let repeatedGuard = FormatRule(
| |- warning: static property 'repeatedGuard' 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 'repeatedGuard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Merge consecutive guard statements that have identical bodies.",
15 | sharedOptions: ["linebreaks", "indent", "tab-width", "smart-tabs"]
/host/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 |
/host/spi-builder-workspace/Sources/Rules/Semicolons.swift:13:16: warning: static property 'semicolons' 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 semicolons, except where doing so would change the meaning of the code
13 | static let semicolons = FormatRule(
| |- warning: static property 'semicolons' 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 'semicolons' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove semicolons.",
15 | options: ["semicolons"],
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SimplifyGenericConstraints.swift:12:16: warning: static property 'simplifyGenericConstraints' 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 simplifyGenericConstraints = FormatRule(
| |- warning: static property 'simplifyGenericConstraints' 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 'simplifyGenericConstraints' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: """
14 | Use inline generic constraints (`<T: Foo>`) instead of where clauses
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SinglePropertyPerLine.swift:12:16: warning: static property 'singlePropertyPerLine' 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 singlePropertyPerLine = FormatRule(
| |- warning: static property 'singlePropertyPerLine' 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 'singlePropertyPerLine' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Use a separate let/var declaration on its own line for every property definition.",
14 | disabledByDefault: true,
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SortDeclarations.swift:12:16: warning: static property 'sortDeclarations' 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 sortDeclarations = FormatRule(
| |- warning: static property 'sortDeclarations' 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 'sortDeclarations' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: """
14 | Sorts the body of declarations with // swiftformat:sort
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SortImports.swift:13:16: warning: static property 'sortImports' 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 | /// Sort import statements
13 | static let sortImports = FormatRule(
| |- warning: static property 'sortImports' 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 'sortImports' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Sort and group import statements.",
15 | options: ["import-grouping", "hoist-imports"],
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SortSwitchCases.swift:13:16: warning: static property 'sortSwitchCases' 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 | /// Sorts switch cases alphabetically
13 | static let sortSwitchCases = FormatRule(
| |- warning: static property 'sortSwitchCases' 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 'sortSwitchCases' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Sort switch cases alphabetically.",
15 | disabledByDefault: true,
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SortTypealiases.swift:12:16: warning: static property 'sortTypealiases' 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 sortTypealiases = FormatRule(
| |- warning: static property 'sortTypealiases' 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 'sortTypealiases' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Sort protocol composition typealiases alphabetically.",
14 | sharedOptions: ["linebreaks"]
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SortedImports.swift:13:16: warning: static property 'sortedImports' 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 | /// Deprecated
13 | static let sortedImports = FormatRule(
| |- warning: static property 'sortedImports' 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 'sortedImports' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Sort import statements alphabetically.",
15 | renamedTo: .sortImports,
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SortedSwitchCases.swift:13:16: warning: static property 'sortedSwitchCases' 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 | /// Deprecated
13 | static let sortedSwitchCases = FormatRule(
| |- warning: static property 'sortedSwitchCases' 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 'sortedSwitchCases' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Sort switch cases alphabetically.",
15 | renamedTo: .sortSwitchCases
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SpaceAroundBraces.swift:14:16: warning: static property 'spaceAroundBraces' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// Ensure that there is space between an opening brace and the preceding
13 | /// identifier, and between a closing brace and the following identifier.
14 | static let spaceAroundBraces = FormatRule(
| |- warning: static property 'spaceAroundBraces' 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 'spaceAroundBraces' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | help: "Add or remove space around curly braces."
16 | ) { formatter in
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SpaceAroundBrackets.swift:19:16: warning: static property 'spaceAroundBrackets' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
17 | /// * There is space between a closing bracket and following identifier
18 | /// * There is space between a closing bracket and following opening brace
19 | static let spaceAroundBrackets = FormatRule(
| |- warning: static property 'spaceAroundBrackets' 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 'spaceAroundBrackets' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | help: "Add or remove space around square brackets."
21 | ) { formatter in
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SpaceAroundComments.swift:13:16: warning: static property 'spaceAroundComments' 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 | /// Add space around comments, except at the start or end of a line
13 | static let spaceAroundComments = FormatRule(
| |- warning: static property 'spaceAroundComments' 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 'spaceAroundComments' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Add space before and/or after comments."
15 | ) { formatter in
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SpaceAroundGenerics.swift:13:16: warning: static property 'spaceAroundGenerics' 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 there is no space between an opening chevron and the preceding identifier
13 | static let spaceAroundGenerics = FormatRule(
| |- warning: static property 'spaceAroundGenerics' 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 'spaceAroundGenerics' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove space around angle brackets."
15 | ) { formatter in
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SpaceAroundOperators.swift:18:16: warning: static property 'spaceAroundOperators' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
16 | /// single space, unless it appears at the end of a line, and is not
17 | /// preceded by a space, unless it appears at the beginning of a line.
18 | static let spaceAroundOperators = FormatRule(
| |- warning: static property 'spaceAroundOperators' 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 'spaceAroundOperators' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | help: "Add or remove space around operators or delimiters.",
20 | options: ["operator-func", "no-space-operators", "ranges", "type-delimiter"]
/host/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 |
/host/spi-builder-workspace/Sources/Rules/SpaceAroundParens.swift:20:16: warning: static property 'spaceAroundParens' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// * There is space between a closing paren and following opening brace
19 | /// * There is no space between a closing paren and following opening square bracket
20 | static let spaceAroundParens = FormatRule(
| |- warning: static property 'spaceAroundParens' 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 'spaceAroundParens' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | help: "Add or remove space around parentheses."
22 | ) { formatter in
/host/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 |
[396/402] Wrapping AST for SwiftFormat for debugging
[398/404] Emitting module CommandLineTool
/host/spi-builder-workspace/CommandLineTool/main.swift:91: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
89 | private let printQueue = DispatchQueue(label: "swiftformat.print")
90 |
91 | 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
92 | printQueue.sync {
93 | switch type {
/host/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 | }
[399/404] Compiling CommandLineTool main.swift
/host/spi-builder-workspace/CommandLineTool/main.swift:91: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
89 | private let printQueue = DispatchQueue(label: "swiftformat.print")
90 |
91 | 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
92 | printQueue.sync {
93 | switch type {
/host/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 | }
/host/spi-builder-workspace/CommandLineTool/main.swift:79:16: warning: reference to static property 'colorMode' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
77 |
78 | private var useColor: Bool {
79 | switch CLI.colorMode {
| `- warning: reference to static property 'colorMode' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
80 | case .auto:
81 | return stderrIsTTY
/host/spi-builder-workspace/Sources/CommandLine.swift:70:30: note: static property declared here
68 |
69 | /// The `--color` mode of the current run
70 | internal(set) static var colorMode = ColorMode.auto
| `- note: static property declared here
71 |
72 | /// Run the CLI with the specified input arguments
[400/405] Emitting module CommandLineTool
/host/spi-builder-workspace/CommandLineTool/main.swift:91: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
89 | private let printQueue = DispatchQueue(label: "swiftformat.print")
90 |
91 | 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
92 | printQueue.sync {
93 | switch type {
/host/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 | }
[401/405] Compiling CommandLineTool main.swift
/host/spi-builder-workspace/CommandLineTool/main.swift:91: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
89 | private let printQueue = DispatchQueue(label: "swiftformat.print")
90 |
91 | 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
92 | printQueue.sync {
93 | switch type {
/host/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 | }
/host/spi-builder-workspace/CommandLineTool/main.swift:79:16: warning: reference to static property 'colorMode' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
77 |
78 | private var useColor: Bool {
79 | switch CLI.colorMode {
| `- warning: reference to static property 'colorMode' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
80 | case .auto:
81 | return stderrIsTTY
/host/spi-builder-workspace/Sources/CommandLine.swift:70:30: note: static property declared here
68 |
69 | /// The `--color` mode of the current run
70 | internal(set) static var colorMode = ColorMode.auto
| `- note: static property declared here
71 |
72 | /// Run the CLI with the specified input arguments
[403/406] Wrapping AST for CommandLineTool for debugging
[404/406] Write Objects.LinkFileList
[405/406] Linking swiftformat
Build complete! (40.86s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SwiftFormat",
"name" : "SwiftFormat",
"path" : "/host/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/CommonTyposTests.swift",
"Rules/ConditionalAssignmentTests.swift",
"Rules/ConsecutiveBlankLinesTests.swift",
"Rules/ConsecutiveSpacesTests.swift",
"Rules/ConsistentSwitchCaseSpacingTests.swift",
"Rules/ContentBuilderTests.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/ExtensionAttributesTests.swift",
"Rules/FileHeaderTests.swift",
"Rules/FileMacroTests.swift",
"Rules/ForWhereTests.swift",
"Rules/GenericExtensionsTests.swift",
"Rules/HeaderFileNameTests.swift",
"Rules/HoistAwaitTests.swift",
"Rules/HoistPatternLetTests.swift",
"Rules/HoistTryTests.swift",
"Rules/IfExpressionsTests.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/NestedIfTests.swift",
"Rules/NoExplicitOwnershipTests.swift",
"Rules/NoForceTryInTestsTests.swift",
"Rules/NoForceUnwrapInTestsTests.swift",
"Rules/NoGuardInTestsTests.swift",
"Rules/NumberFormattingTests.swift",
"Rules/OpaqueGenericParametersTests.swift",
"Rules/OrganizeDeclarationsTests.swift",
"Rules/PreferContainsTests.swift",
"Rules/PreferCountWhereTests.swift",
"Rules/PreferExplicitFalseTests.swift",
"Rules/PreferFinalClassesTests.swift",
"Rules/PreferFirstWhereTests.swift",
"Rules/PreferFlatMapTests.swift",
"Rules/PreferForLoopTests.swift",
"Rules/PreferKeyPathTests.swift",
"Rules/PreferLazyMapTests.swift",
"Rules/PreferMinOverSortedTests.swift",
"Rules/PreferStructSwiftTestingSuitesTests.swift",
"Rules/PreferSwiftStringAPITests.swift",
"Rules/PreferSwiftTestingTests.swift",
"Rules/PrivateSwiftUIDynamicPropertiesTests.swift",
"Rules/PropertyTypesTests.swift",
"Rules/RedundantAsyncTests.swift",
"Rules/RedundantBackticksTests.swift",
"Rules/RedundantBreakTests.swift",
"Rules/RedundantClosureTests.swift",
"Rules/RedundantEmptyViewTests.swift",
"Rules/RedundantEnumeratedTests.swift",
"Rules/RedundantEquatableTests.swift",
"Rules/RedundantExtendedLifetimeTests.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/RedundantOverloadTests.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/RedundantSwiftUIGroupTests.swift",
"Rules/RedundantThrowsTests.swift",
"Rules/RedundantTypeTests.swift",
"Rules/RedundantTypedThrowsTests.swift",
"Rules/RedundantVariableTests.swift",
"Rules/RedundantVoidReturnTypeTests.swift",
"Rules/RepeatedGuardTests.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/WrapClosureBodiesTests.swift",
"Rules/WrapConditionalBodiesTests.swift",
"Rules/WrapDoBodiesTests.swift",
"Rules/WrapEnumCasesTests.swift",
"Rules/WrapFunctionBodiesTests.swift",
"Rules/WrapGuardStatementBodiesTests.swift",
"Rules/WrapIfExpressionBodiesTests.swift",
"Rules/WrapIfStatementBodiesTests.swift",
"Rules/WrapLoopBodiesTests.swift",
"Rules/WrapMultilineConditionalAssignmentTests.swift",
"Rules/WrapMultilineFunctionChainsTests.swift",
"Rules/WrapMultilineStatementBracesTests.swift",
"Rules/WrapPropertyBodiesTests.swift",
"Rules/WrapSingleLineCommentsTests.swift",
"Rules/WrapSingleLineStringsTests.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/CommonTypos.swift",
"Rules/ConditionalAssignment.swift",
"Rules/ConsecutiveBlankLines.swift",
"Rules/ConsecutiveSpaces.swift",
"Rules/ConsistentSwitchCaseSpacing.swift",
"Rules/ContentBuilder.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/ExtensionAttributes.swift",
"Rules/FileHeader.swift",
"Rules/FileMacro.swift",
"Rules/ForWhere.swift",
"Rules/GenericExtensions.swift",
"Rules/HeaderFileName.swift",
"Rules/HoistAwait.swift",
"Rules/HoistPatternLet.swift",
"Rules/HoistTry.swift",
"Rules/IfExpressions.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/NestedIf.swift",
"Rules/NoExplicitOwnership.swift",
"Rules/NoForceTryInTests.swift",
"Rules/NoForceUnwrapInTests.swift",
"Rules/NoGuardInTests.swift",
"Rules/NumberFormatting.swift",
"Rules/OpaqueGenericParameters.swift",
"Rules/OrganizeDeclarations.swift",
"Rules/PreferContains.swift",
"Rules/PreferCountWhere.swift",
"Rules/PreferExplicitFalse.swift",
"Rules/PreferFinalClasses.swift",
"Rules/PreferFirstWhere.swift",
"Rules/PreferFlatMap.swift",
"Rules/PreferForLoop.swift",
"Rules/PreferKeyPath.swift",
"Rules/PreferLazyMap.swift",
"Rules/PreferMinOverSorted.swift",
"Rules/PreferStructSwiftTestingSuites.swift",
"Rules/PreferSwiftStringAPI.swift",
"Rules/PreferSwiftTesting.swift",
"Rules/PrivateStateVariables.swift",
"Rules/PrivateSwiftUIDynamicProperties.swift",
"Rules/PropertyTypes.swift",
"Rules/RedundantAsync.swift",
"Rules/RedundantBackticks.swift",
"Rules/RedundantBreak.swift",
"Rules/RedundantClosure.swift",
"Rules/RedundantEmptyView.swift",
"Rules/RedundantEnumerated.swift",
"Rules/RedundantEquatable.swift",
"Rules/RedundantExtendedLifetime.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/RedundantOverload.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/RedundantSwiftUIGroup.swift",
"Rules/RedundantThrows.swift",
"Rules/RedundantType.swift",
"Rules/RedundantTypedThrows.swift",
"Rules/RedundantVariable.swift",
"Rules/RedundantViewBuilder.swift",
"Rules/RedundantVoidReturnType.swift",
"Rules/RepeatedGuard.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/WrapClosureBodies.swift",
"Rules/WrapConditionalBodies.swift",
"Rules/WrapDoBodies.swift",
"Rules/WrapEnumCases.swift",
"Rules/WrapFunctionBodies.swift",
"Rules/WrapGuardStatementBodies.swift",
"Rules/WrapIfExpressionBodies.swift",
"Rules/WrapIfStatementBodies.swift",
"Rules/WrapLoopBodies.swift",
"Rules/WrapMultilineConditionalAssignment.swift",
"Rules/WrapMultilineFunctionChains.swift",
"Rules/WrapMultilineStatementBraces.swift",
"Rules/WrapPropertyBodies.swift",
"Rules/WrapSingleLineComments.swift",
"Rules/WrapSingleLineStrings.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"
}
linux-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:7d3901f429179dbcdf211e3b1483da850ea4f8eb21d9382c50c6a18afc5ab319
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.1-latest
Done.