Build Information
Successful build of SwiftFormat, reference main (d5ca3e), with Swift 6.1 for macOS (SPM) on 18 Nov 2026 13:50:25 UTC.
Swift 6 data race errors: 398
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCapturesBuild Log
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantMemberwiseInit.swift:13:16: warning: static property 'redundantMemberwiseInit' 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 explicit memberwise initializers from structs
13 | static let redundantMemberwiseInit = FormatRule(
| |- warning: static property 'redundantMemberwiseInit' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantMemberwiseInit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove explicit internal memberwise initializers that are redundant.",
15 | orderAfter: [.redundantInit],
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantNilInit.swift:13:16: warning: static property 'redundantNilInit' 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 or insert redundant `= nil` initialization for Optional properties
13 | static let redundantNilInit = FormatRule(
| |- warning: static property 'redundantNilInit' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantNilInit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove/insert redundant `nil` default value (Optional vars are nil by default).",
15 | options: ["nil-init"]
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantObjc.swift:13:16: warning: static property 'redundantObjc' 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 @objc annotation
13 | static let redundantObjc = FormatRule(
| |- warning: static property 'redundantObjc' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantObjc' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove redundant `@objc` annotations."
15 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantOptionalBinding.swift:12:16: warning: static property 'redundantOptionalBinding' 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 redundantOptionalBinding = FormatRule(
| |- warning: static property 'redundantOptionalBinding' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantOptionalBinding' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Remove redundant identifiers in optional binding conditions.",
14 | // We can convert `if let foo = self.foo` to just `if let foo`,
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantOverload.swift:13:16: warning: static property 'redundantOverload' 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 | /// Replaces forwarding overloads with default arguments on the original declaration
13 | static let redundantOverload = FormatRule(
| |- warning: static property 'redundantOverload' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantOverload' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Replace forwarding overloads with default arguments.",
15 | disabledByDefault: true
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantParens.swift:13:16: warning: static property 'redundantParens' 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 parens around the arguments for loops, if statements, closures, etc.
13 | static let redundantParens = FormatRule(
| |- warning: static property 'redundantParens' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantParens' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove redundant parentheses."
15 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantPattern.swift:13:16: warning: static property 'redundantPattern' 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 pattern in case statements
13 | static let redundantPattern = FormatRule(
| |- warning: static property 'redundantPattern' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantPattern' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove redundant pattern matching parameter syntax."
15 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantProperty.swift:13:16: warning: static property 'redundantProperty' 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 redundantProperty = FormatRule(
| |- warning: static property 'redundantProperty' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantProperty' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Simplifies redundant variable definitions that are immediately returned.",
15 | renamedTo: .redundantVariable
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantPublic.swift:12:16: warning: static property 'redundantPublic' 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 redundantPublic = FormatRule(
| |- warning: static property 'redundantPublic' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantPublic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Remove redundant public access control from declarations in internal or private types."
14 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantRawValues.swift:13:16: warning: static property 'redundantRawValues' 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 raw string values for case statements
13 | static let redundantRawValues = FormatRule(
| |- warning: static property 'redundantRawValues' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantRawValues' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove redundant raw string values for enum cases."
15 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantEquatable.swift:5:16: warning: static property 'redundantEquatable' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | public extension FormatRule {
5 | static let redundantEquatable = FormatRule(
| |- warning: static property 'redundantEquatable' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantEquatable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | help: "Omit a hand-written Equatable implementation when the compiler-synthesized conformance would be equivalent.",
7 | options: ["equatable-macro"]
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantExtendedLifetime.swift:13:16: warning: static property 'redundantExtendedLifetime' 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 `withExtendedLifetime` calls and `_ = value` statements in test cases
13 | static let redundantExtendedLifetime = FormatRule(
| |- warning: static property 'redundantExtendedLifetime' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantExtendedLifetime' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove redundant `withExtendedLifetime` calls and `_ = value` statements in tests.",
15 | disabledByDefault: true
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantExtensionACL.swift:13:16: warning: static property 'redundantExtensionACL' 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 access control level modifiers in extensions
13 | static let redundantExtensionACL = FormatRule(
| |- warning: static property 'redundantExtensionACL' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantExtensionACL' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove redundant access control modifiers."
15 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantFileprivate.swift:13:16: warning: static property 'redundantFileprivate' 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 | /// Replace `fileprivate` with `private` where possible
13 | static let redundantFileprivate = FormatRule(
| |- warning: static property 'redundantFileprivate' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantFileprivate' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Prefer `private` over `fileprivate` where equivalent."
15 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantGet.swift:13:16: warning: static property 'redundantGet' 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 `get {}` clause inside read-only computed property
13 | static let redundantGet = FormatRule(
| |- warning: static property 'redundantGet' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantGet' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove unneeded `get` clause inside computed properties."
15 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantInit.swift:13:16: warning: static property 'redundantInit' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Strip redundant `.init` from type instantiations
13 | static let redundantInit = FormatRule(
| |- warning: static property 'redundantInit' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantInit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove explicit `init` if not required.",
15 | orderAfter: [.propertyTypes]
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantInternal.swift:12:16: warning: static property 'redundantInternal' 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 redundantInternal = FormatRule(
| |- warning: static property 'redundantInternal' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantInternal' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Remove redundant internal access control."
14 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantLet.swift:13:16: warning: static property 'redundantLet' 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 let/var for unnamed variables
13 | static let redundantLet = FormatRule(
| |- warning: static property 'redundantLet' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantLet' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove redundant `let`/`var` from ignored variables."
15 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantLetError.swift:13:16: warning: static property 'redundantLetError' 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 `let error` from `catch` statements
13 | static let redundantLetError = FormatRule(
| |- warning: static property 'redundantLetError' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantLetError' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove redundant `let error` from `catch` clause."
15 |
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantMemberwiseInit.swift:13:16: warning: static property 'redundantMemberwiseInit' 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 explicit memberwise initializers from structs
13 | static let redundantMemberwiseInit = FormatRule(
| |- warning: static property 'redundantMemberwiseInit' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantMemberwiseInit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove explicit internal memberwise initializers that are redundant.",
15 | orderAfter: [.redundantInit],
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantNilInit.swift:13:16: warning: static property 'redundantNilInit' 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 or insert redundant `= nil` initialization for Optional properties
13 | static let redundantNilInit = FormatRule(
| |- warning: static property 'redundantNilInit' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantNilInit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove/insert redundant `nil` default value (Optional vars are nil by default).",
15 | options: ["nil-init"]
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantObjc.swift:13:16: warning: static property 'redundantObjc' 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 @objc annotation
13 | static let redundantObjc = FormatRule(
| |- warning: static property 'redundantObjc' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantObjc' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove redundant `@objc` annotations."
15 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantOptionalBinding.swift:12:16: warning: static property 'redundantOptionalBinding' 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 redundantOptionalBinding = FormatRule(
| |- warning: static property 'redundantOptionalBinding' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantOptionalBinding' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Remove redundant identifiers in optional binding conditions.",
14 | // We can convert `if let foo = self.foo` to just `if let foo`,
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantOverload.swift:13:16: warning: static property 'redundantOverload' 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 | /// Replaces forwarding overloads with default arguments on the original declaration
13 | static let redundantOverload = FormatRule(
| |- warning: static property 'redundantOverload' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantOverload' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Replace forwarding overloads with default arguments.",
15 | disabledByDefault: true
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantParens.swift:13:16: warning: static property 'redundantParens' 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 parens around the arguments for loops, if statements, closures, etc.
13 | static let redundantParens = FormatRule(
| |- warning: static property 'redundantParens' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantParens' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove redundant parentheses."
15 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantPattern.swift:13:16: warning: static property 'redundantPattern' 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 pattern in case statements
13 | static let redundantPattern = FormatRule(
| |- warning: static property 'redundantPattern' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantPattern' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove redundant pattern matching parameter syntax."
15 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantProperty.swift:13:16: warning: static property 'redundantProperty' 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 redundantProperty = FormatRule(
| |- warning: static property 'redundantProperty' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantProperty' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Simplifies redundant variable definitions that are immediately returned.",
15 | renamedTo: .redundantVariable
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantPublic.swift:12:16: warning: static property 'redundantPublic' 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 redundantPublic = FormatRule(
| |- warning: static property 'redundantPublic' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantPublic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Remove redundant public access control from declarations in internal or private types."
14 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantRawValues.swift:13:16: warning: static property 'redundantRawValues' 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 raw string values for case statements
13 | static let redundantRawValues = FormatRule(
| |- warning: static property 'redundantRawValues' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantRawValues' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove redundant raw string values for enum cases."
15 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantEquatable.swift:5:16: warning: static property 'redundantEquatable' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | public extension FormatRule {
5 | static let redundantEquatable = FormatRule(
| |- warning: static property 'redundantEquatable' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantEquatable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | help: "Omit a hand-written Equatable implementation when the compiler-synthesized conformance would be equivalent.",
7 | options: ["equatable-macro"]
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantExtendedLifetime.swift:13:16: warning: static property 'redundantExtendedLifetime' 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 `withExtendedLifetime` calls and `_ = value` statements in test cases
13 | static let redundantExtendedLifetime = FormatRule(
| |- warning: static property 'redundantExtendedLifetime' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantExtendedLifetime' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove redundant `withExtendedLifetime` calls and `_ = value` statements in tests.",
15 | disabledByDefault: true
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantExtensionACL.swift:13:16: warning: static property 'redundantExtensionACL' 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 access control level modifiers in extensions
13 | static let redundantExtensionACL = FormatRule(
| |- warning: static property 'redundantExtensionACL' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantExtensionACL' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove redundant access control modifiers."
15 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantFileprivate.swift:13:16: warning: static property 'redundantFileprivate' 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 | /// Replace `fileprivate` with `private` where possible
13 | static let redundantFileprivate = FormatRule(
| |- warning: static property 'redundantFileprivate' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantFileprivate' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Prefer `private` over `fileprivate` where equivalent."
15 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantGet.swift:13:16: warning: static property 'redundantGet' 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 `get {}` clause inside read-only computed property
13 | static let redundantGet = FormatRule(
| |- warning: static property 'redundantGet' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantGet' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove unneeded `get` clause inside computed properties."
15 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantInit.swift:13:16: warning: static property 'redundantInit' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Strip redundant `.init` from type instantiations
13 | static let redundantInit = FormatRule(
| |- warning: static property 'redundantInit' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantInit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove explicit `init` if not required.",
15 | orderAfter: [.propertyTypes]
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantInternal.swift:12:16: warning: static property 'redundantInternal' 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 redundantInternal = FormatRule(
| |- warning: static property 'redundantInternal' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantInternal' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Remove redundant internal access control."
14 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantLet.swift:13:16: warning: static property 'redundantLet' 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 let/var for unnamed variables
13 | static let redundantLet = FormatRule(
| |- warning: static property 'redundantLet' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantLet' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove redundant `let`/`var` from ignored variables."
15 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantLetError.swift:13:16: warning: static property 'redundantLetError' 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 `let error` from `catch` statements
13 | static let redundantLetError = FormatRule(
| |- warning: static property 'redundantLetError' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantLetError' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove redundant `let error` from `catch` clause."
15 |
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantMemberwiseInit.swift:13:16: warning: static property 'redundantMemberwiseInit' 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 explicit memberwise initializers from structs
13 | static let redundantMemberwiseInit = FormatRule(
| |- warning: static property 'redundantMemberwiseInit' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantMemberwiseInit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove explicit internal memberwise initializers that are redundant.",
15 | orderAfter: [.redundantInit],
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantNilInit.swift:13:16: warning: static property 'redundantNilInit' 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 or insert redundant `= nil` initialization for Optional properties
13 | static let redundantNilInit = FormatRule(
| |- warning: static property 'redundantNilInit' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantNilInit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove/insert redundant `nil` default value (Optional vars are nil by default).",
15 | options: ["nil-init"]
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantObjc.swift:13:16: warning: static property 'redundantObjc' 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 @objc annotation
13 | static let redundantObjc = FormatRule(
| |- warning: static property 'redundantObjc' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantObjc' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove redundant `@objc` annotations."
15 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantOptionalBinding.swift:12:16: warning: static property 'redundantOptionalBinding' 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 redundantOptionalBinding = FormatRule(
| |- warning: static property 'redundantOptionalBinding' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantOptionalBinding' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Remove redundant identifiers in optional binding conditions.",
14 | // We can convert `if let foo = self.foo` to just `if let foo`,
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantOverload.swift:13:16: warning: static property 'redundantOverload' 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 | /// Replaces forwarding overloads with default arguments on the original declaration
13 | static let redundantOverload = FormatRule(
| |- warning: static property 'redundantOverload' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantOverload' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Replace forwarding overloads with default arguments.",
15 | disabledByDefault: true
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantParens.swift:13:16: warning: static property 'redundantParens' 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 parens around the arguments for loops, if statements, closures, etc.
13 | static let redundantParens = FormatRule(
| |- warning: static property 'redundantParens' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantParens' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove redundant parentheses."
15 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantPattern.swift:13:16: warning: static property 'redundantPattern' 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 pattern in case statements
13 | static let redundantPattern = FormatRule(
| |- warning: static property 'redundantPattern' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantPattern' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove redundant pattern matching parameter syntax."
15 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantProperty.swift:13:16: warning: static property 'redundantProperty' 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 redundantProperty = FormatRule(
| |- warning: static property 'redundantProperty' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantProperty' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Simplifies redundant variable definitions that are immediately returned.",
15 | renamedTo: .redundantVariable
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantPublic.swift:12:16: warning: static property 'redundantPublic' 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 redundantPublic = FormatRule(
| |- warning: static property 'redundantPublic' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantPublic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Remove redundant public access control from declarations in internal or private types."
14 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantRawValues.swift:13:16: warning: static property 'redundantRawValues' 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 raw string values for case statements
13 | static let redundantRawValues = FormatRule(
| |- warning: static property 'redundantRawValues' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantRawValues' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove redundant raw string values for enum cases."
15 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantEquatable.swift:5:16: warning: static property 'redundantEquatable' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | public extension FormatRule {
5 | static let redundantEquatable = FormatRule(
| |- warning: static property 'redundantEquatable' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantEquatable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | help: "Omit a hand-written Equatable implementation when the compiler-synthesized conformance would be equivalent.",
7 | options: ["equatable-macro"]
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantExtendedLifetime.swift:13:16: warning: static property 'redundantExtendedLifetime' 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 `withExtendedLifetime` calls and `_ = value` statements in test cases
13 | static let redundantExtendedLifetime = FormatRule(
| |- warning: static property 'redundantExtendedLifetime' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantExtendedLifetime' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove redundant `withExtendedLifetime` calls and `_ = value` statements in tests.",
15 | disabledByDefault: true
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantExtensionACL.swift:13:16: warning: static property 'redundantExtensionACL' 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 access control level modifiers in extensions
13 | static let redundantExtensionACL = FormatRule(
| |- warning: static property 'redundantExtensionACL' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantExtensionACL' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove redundant access control modifiers."
15 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantFileprivate.swift:13:16: warning: static property 'redundantFileprivate' 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 | /// Replace `fileprivate` with `private` where possible
13 | static let redundantFileprivate = FormatRule(
| |- warning: static property 'redundantFileprivate' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantFileprivate' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Prefer `private` over `fileprivate` where equivalent."
15 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantGet.swift:13:16: warning: static property 'redundantGet' 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 `get {}` clause inside read-only computed property
13 | static let redundantGet = FormatRule(
| |- warning: static property 'redundantGet' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantGet' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove unneeded `get` clause inside computed properties."
15 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantInit.swift:13:16: warning: static property 'redundantInit' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Strip redundant `.init` from type instantiations
13 | static let redundantInit = FormatRule(
| |- warning: static property 'redundantInit' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantInit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove explicit `init` if not required.",
15 | orderAfter: [.propertyTypes]
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantInternal.swift:12:16: warning: static property 'redundantInternal' 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 redundantInternal = FormatRule(
| |- warning: static property 'redundantInternal' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantInternal' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Remove redundant internal access control."
14 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantLet.swift:13:16: warning: static property 'redundantLet' 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 let/var for unnamed variables
13 | static let redundantLet = FormatRule(
| |- warning: static property 'redundantLet' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantLet' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove redundant `let`/`var` from ignored variables."
15 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantLetError.swift:13:16: warning: static property 'redundantLetError' 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 `let error` from `catch` statements
13 | static let redundantLetError = FormatRule(
| |- warning: static property 'redundantLetError' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantLetError' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove redundant `let error` from `catch` clause."
15 |
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantMemberwiseInit.swift:13:16: warning: static property 'redundantMemberwiseInit' 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 explicit memberwise initializers from structs
13 | static let redundantMemberwiseInit = FormatRule(
| |- warning: static property 'redundantMemberwiseInit' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantMemberwiseInit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove explicit internal memberwise initializers that are redundant.",
15 | orderAfter: [.redundantInit],
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantNilInit.swift:13:16: warning: static property 'redundantNilInit' 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 or insert redundant `= nil` initialization for Optional properties
13 | static let redundantNilInit = FormatRule(
| |- warning: static property 'redundantNilInit' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantNilInit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove/insert redundant `nil` default value (Optional vars are nil by default).",
15 | options: ["nil-init"]
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantObjc.swift:13:16: warning: static property 'redundantObjc' 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 @objc annotation
13 | static let redundantObjc = FormatRule(
| |- warning: static property 'redundantObjc' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantObjc' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove redundant `@objc` annotations."
15 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantOptionalBinding.swift:12:16: warning: static property 'redundantOptionalBinding' 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 redundantOptionalBinding = FormatRule(
| |- warning: static property 'redundantOptionalBinding' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantOptionalBinding' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Remove redundant identifiers in optional binding conditions.",
14 | // We can convert `if let foo = self.foo` to just `if let foo`,
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantOverload.swift:13:16: warning: static property 'redundantOverload' 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 | /// Replaces forwarding overloads with default arguments on the original declaration
13 | static let redundantOverload = FormatRule(
| |- warning: static property 'redundantOverload' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantOverload' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Replace forwarding overloads with default arguments.",
15 | disabledByDefault: true
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantParens.swift:13:16: warning: static property 'redundantParens' 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 parens around the arguments for loops, if statements, closures, etc.
13 | static let redundantParens = FormatRule(
| |- warning: static property 'redundantParens' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantParens' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove redundant parentheses."
15 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantPattern.swift:13:16: warning: static property 'redundantPattern' 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 pattern in case statements
13 | static let redundantPattern = FormatRule(
| |- warning: static property 'redundantPattern' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantPattern' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove redundant pattern matching parameter syntax."
15 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantProperty.swift:13:16: warning: static property 'redundantProperty' 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 redundantProperty = FormatRule(
| |- warning: static property 'redundantProperty' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantProperty' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Simplifies redundant variable definitions that are immediately returned.",
15 | renamedTo: .redundantVariable
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantPublic.swift:12:16: warning: static property 'redundantPublic' 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 redundantPublic = FormatRule(
| |- warning: static property 'redundantPublic' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantPublic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Remove redundant public access control from declarations in internal or private types."
14 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantRawValues.swift:13:16: warning: static property 'redundantRawValues' 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 raw string values for case statements
13 | static let redundantRawValues = FormatRule(
| |- warning: static property 'redundantRawValues' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantRawValues' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove redundant raw string values for enum cases."
15 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantEquatable.swift:5:16: warning: static property 'redundantEquatable' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | public extension FormatRule {
5 | static let redundantEquatable = FormatRule(
| |- warning: static property 'redundantEquatable' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantEquatable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | help: "Omit a hand-written Equatable implementation when the compiler-synthesized conformance would be equivalent.",
7 | options: ["equatable-macro"]
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantExtendedLifetime.swift:13:16: warning: static property 'redundantExtendedLifetime' 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 `withExtendedLifetime` calls and `_ = value` statements in test cases
13 | static let redundantExtendedLifetime = FormatRule(
| |- warning: static property 'redundantExtendedLifetime' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantExtendedLifetime' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove redundant `withExtendedLifetime` calls and `_ = value` statements in tests.",
15 | disabledByDefault: true
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantExtensionACL.swift:13:16: warning: static property 'redundantExtensionACL' 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 access control level modifiers in extensions
13 | static let redundantExtensionACL = FormatRule(
| |- warning: static property 'redundantExtensionACL' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantExtensionACL' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove redundant access control modifiers."
15 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantFileprivate.swift:13:16: warning: static property 'redundantFileprivate' 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 | /// Replace `fileprivate` with `private` where possible
13 | static let redundantFileprivate = FormatRule(
| |- warning: static property 'redundantFileprivate' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantFileprivate' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Prefer `private` over `fileprivate` where equivalent."
15 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantGet.swift:13:16: warning: static property 'redundantGet' 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 `get {}` clause inside read-only computed property
13 | static let redundantGet = FormatRule(
| |- warning: static property 'redundantGet' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantGet' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove unneeded `get` clause inside computed properties."
15 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantInit.swift:13:16: warning: static property 'redundantInit' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Strip redundant `.init` from type instantiations
13 | static let redundantInit = FormatRule(
| |- warning: static property 'redundantInit' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantInit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove explicit `init` if not required.",
15 | orderAfter: [.propertyTypes]
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantInternal.swift:12:16: warning: static property 'redundantInternal' 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 redundantInternal = FormatRule(
| |- warning: static property 'redundantInternal' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantInternal' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Remove redundant internal access control."
14 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantLet.swift:13:16: warning: static property 'redundantLet' 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 let/var for unnamed variables
13 | static let redundantLet = FormatRule(
| |- warning: static property 'redundantLet' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantLet' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove redundant `let`/`var` from ignored variables."
15 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantLetError.swift:13:16: warning: static property 'redundantLetError' 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 `let error` from `catch` statements
13 | static let redundantLetError = FormatRule(
| |- warning: static property 'redundantLetError' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantLetError' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove redundant `let error` from `catch` clause."
15 |
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantMemberwiseInit.swift:13:16: warning: static property 'redundantMemberwiseInit' 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 explicit memberwise initializers from structs
13 | static let redundantMemberwiseInit = FormatRule(
| |- warning: static property 'redundantMemberwiseInit' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantMemberwiseInit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove explicit internal memberwise initializers that are redundant.",
15 | orderAfter: [.redundantInit],
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantNilInit.swift:13:16: warning: static property 'redundantNilInit' 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 or insert redundant `= nil` initialization for Optional properties
13 | static let redundantNilInit = FormatRule(
| |- warning: static property 'redundantNilInit' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantNilInit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove/insert redundant `nil` default value (Optional vars are nil by default).",
15 | options: ["nil-init"]
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantObjc.swift:13:16: warning: static property 'redundantObjc' 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 @objc annotation
13 | static let redundantObjc = FormatRule(
| |- warning: static property 'redundantObjc' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantObjc' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove redundant `@objc` annotations."
15 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantOptionalBinding.swift:12:16: warning: static property 'redundantOptionalBinding' 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 redundantOptionalBinding = FormatRule(
| |- warning: static property 'redundantOptionalBinding' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantOptionalBinding' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Remove redundant identifiers in optional binding conditions.",
14 | // We can convert `if let foo = self.foo` to just `if let foo`,
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantOverload.swift:13:16: warning: static property 'redundantOverload' 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 | /// Replaces forwarding overloads with default arguments on the original declaration
13 | static let redundantOverload = FormatRule(
| |- warning: static property 'redundantOverload' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantOverload' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Replace forwarding overloads with default arguments.",
15 | disabledByDefault: true
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantParens.swift:13:16: warning: static property 'redundantParens' 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 parens around the arguments for loops, if statements, closures, etc.
13 | static let redundantParens = FormatRule(
| |- warning: static property 'redundantParens' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantParens' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove redundant parentheses."
15 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantPattern.swift:13:16: warning: static property 'redundantPattern' 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 pattern in case statements
13 | static let redundantPattern = FormatRule(
| |- warning: static property 'redundantPattern' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantPattern' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove redundant pattern matching parameter syntax."
15 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantProperty.swift:13:16: warning: static property 'redundantProperty' 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 redundantProperty = FormatRule(
| |- warning: static property 'redundantProperty' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantProperty' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Simplifies redundant variable definitions that are immediately returned.",
15 | renamedTo: .redundantVariable
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantPublic.swift:12:16: warning: static property 'redundantPublic' 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 redundantPublic = FormatRule(
| |- warning: static property 'redundantPublic' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantPublic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Remove redundant public access control from declarations in internal or private types."
14 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantRawValues.swift:13:16: warning: static property 'redundantRawValues' 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 raw string values for case statements
13 | static let redundantRawValues = FormatRule(
| |- warning: static property 'redundantRawValues' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantRawValues' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove redundant raw string values for enum cases."
15 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantEquatable.swift:5:16: warning: static property 'redundantEquatable' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | public extension FormatRule {
5 | static let redundantEquatable = FormatRule(
| |- warning: static property 'redundantEquatable' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantEquatable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | help: "Omit a hand-written Equatable implementation when the compiler-synthesized conformance would be equivalent.",
7 | options: ["equatable-macro"]
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantExtendedLifetime.swift:13:16: warning: static property 'redundantExtendedLifetime' 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 `withExtendedLifetime` calls and `_ = value` statements in test cases
13 | static let redundantExtendedLifetime = FormatRule(
| |- warning: static property 'redundantExtendedLifetime' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantExtendedLifetime' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove redundant `withExtendedLifetime` calls and `_ = value` statements in tests.",
15 | disabledByDefault: true
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantExtensionACL.swift:13:16: warning: static property 'redundantExtensionACL' 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 access control level modifiers in extensions
13 | static let redundantExtensionACL = FormatRule(
| |- warning: static property 'redundantExtensionACL' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantExtensionACL' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove redundant access control modifiers."
15 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantFileprivate.swift:13:16: warning: static property 'redundantFileprivate' 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 | /// Replace `fileprivate` with `private` where possible
13 | static let redundantFileprivate = FormatRule(
| |- warning: static property 'redundantFileprivate' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantFileprivate' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Prefer `private` over `fileprivate` where equivalent."
15 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantGet.swift:13:16: warning: static property 'redundantGet' 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 `get {}` clause inside read-only computed property
13 | static let redundantGet = FormatRule(
| |- warning: static property 'redundantGet' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantGet' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove unneeded `get` clause inside computed properties."
15 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantInit.swift:13:16: warning: static property 'redundantInit' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Strip redundant `.init` from type instantiations
13 | static let redundantInit = FormatRule(
| |- warning: static property 'redundantInit' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantInit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove explicit `init` if not required.",
15 | orderAfter: [.propertyTypes]
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantInternal.swift:12:16: warning: static property 'redundantInternal' 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 redundantInternal = FormatRule(
| |- warning: static property 'redundantInternal' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantInternal' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Remove redundant internal access control."
14 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantLet.swift:13:16: warning: static property 'redundantLet' 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 let/var for unnamed variables
13 | static let redundantLet = FormatRule(
| |- warning: static property 'redundantLet' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantLet' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove redundant `let`/`var` from ignored variables."
15 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantLetError.swift:13:16: warning: static property 'redundantLetError' 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 `let error` from `catch` statements
13 | static let redundantLetError = FormatRule(
| |- warning: static property 'redundantLetError' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantLetError' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove redundant `let error` from `catch` clause."
15 |
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantMemberwiseInit.swift:13:16: warning: static property 'redundantMemberwiseInit' 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 explicit memberwise initializers from structs
13 | static let redundantMemberwiseInit = FormatRule(
| |- warning: static property 'redundantMemberwiseInit' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantMemberwiseInit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove explicit internal memberwise initializers that are redundant.",
15 | orderAfter: [.redundantInit],
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantNilInit.swift:13:16: warning: static property 'redundantNilInit' 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 or insert redundant `= nil` initialization for Optional properties
13 | static let redundantNilInit = FormatRule(
| |- warning: static property 'redundantNilInit' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantNilInit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove/insert redundant `nil` default value (Optional vars are nil by default).",
15 | options: ["nil-init"]
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantObjc.swift:13:16: warning: static property 'redundantObjc' 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 @objc annotation
13 | static let redundantObjc = FormatRule(
| |- warning: static property 'redundantObjc' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantObjc' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove redundant `@objc` annotations."
15 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantOptionalBinding.swift:12:16: warning: static property 'redundantOptionalBinding' 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 redundantOptionalBinding = FormatRule(
| |- warning: static property 'redundantOptionalBinding' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantOptionalBinding' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Remove redundant identifiers in optional binding conditions.",
14 | // We can convert `if let foo = self.foo` to just `if let foo`,
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantOverload.swift:13:16: warning: static property 'redundantOverload' 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 | /// Replaces forwarding overloads with default arguments on the original declaration
13 | static let redundantOverload = FormatRule(
| |- warning: static property 'redundantOverload' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantOverload' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Replace forwarding overloads with default arguments.",
15 | disabledByDefault: true
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantParens.swift:13:16: warning: static property 'redundantParens' 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 parens around the arguments for loops, if statements, closures, etc.
13 | static let redundantParens = FormatRule(
| |- warning: static property 'redundantParens' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantParens' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove redundant parentheses."
15 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantPattern.swift:13:16: warning: static property 'redundantPattern' 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 pattern in case statements
13 | static let redundantPattern = FormatRule(
| |- warning: static property 'redundantPattern' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantPattern' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove redundant pattern matching parameter syntax."
15 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantProperty.swift:13:16: warning: static property 'redundantProperty' 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 redundantProperty = FormatRule(
| |- warning: static property 'redundantProperty' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantProperty' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Simplifies redundant variable definitions that are immediately returned.",
15 | renamedTo: .redundantVariable
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantPublic.swift:12:16: warning: static property 'redundantPublic' 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 redundantPublic = FormatRule(
| |- warning: static property 'redundantPublic' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantPublic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Remove redundant public access control from declarations in internal or private types."
14 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantRawValues.swift:13:16: warning: static property 'redundantRawValues' 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 raw string values for case statements
13 | static let redundantRawValues = FormatRule(
| |- warning: static property 'redundantRawValues' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantRawValues' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove redundant raw string values for enum cases."
15 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantEquatable.swift:5:16: warning: static property 'redundantEquatable' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | public extension FormatRule {
5 | static let redundantEquatable = FormatRule(
| |- warning: static property 'redundantEquatable' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantEquatable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | help: "Omit a hand-written Equatable implementation when the compiler-synthesized conformance would be equivalent.",
7 | options: ["equatable-macro"]
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantExtendedLifetime.swift:13:16: warning: static property 'redundantExtendedLifetime' 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 `withExtendedLifetime` calls and `_ = value` statements in test cases
13 | static let redundantExtendedLifetime = FormatRule(
| |- warning: static property 'redundantExtendedLifetime' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantExtendedLifetime' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove redundant `withExtendedLifetime` calls and `_ = value` statements in tests.",
15 | disabledByDefault: true
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantExtensionACL.swift:13:16: warning: static property 'redundantExtensionACL' 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 access control level modifiers in extensions
13 | static let redundantExtensionACL = FormatRule(
| |- warning: static property 'redundantExtensionACL' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantExtensionACL' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove redundant access control modifiers."
15 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantFileprivate.swift:13:16: warning: static property 'redundantFileprivate' 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 | /// Replace `fileprivate` with `private` where possible
13 | static let redundantFileprivate = FormatRule(
| |- warning: static property 'redundantFileprivate' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantFileprivate' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Prefer `private` over `fileprivate` where equivalent."
15 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantGet.swift:13:16: warning: static property 'redundantGet' 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 `get {}` clause inside read-only computed property
13 | static let redundantGet = FormatRule(
| |- warning: static property 'redundantGet' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantGet' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove unneeded `get` clause inside computed properties."
15 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantInit.swift:13:16: warning: static property 'redundantInit' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Strip redundant `.init` from type instantiations
13 | static let redundantInit = FormatRule(
| |- warning: static property 'redundantInit' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantInit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove explicit `init` if not required.",
15 | orderAfter: [.propertyTypes]
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantInternal.swift:12:16: warning: static property 'redundantInternal' 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 redundantInternal = FormatRule(
| |- warning: static property 'redundantInternal' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantInternal' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Remove redundant internal access control."
14 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantLet.swift:13:16: warning: static property 'redundantLet' 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 let/var for unnamed variables
13 | static let redundantLet = FormatRule(
| |- warning: static property 'redundantLet' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantLet' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove redundant `let`/`var` from ignored variables."
15 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantLetError.swift:13:16: warning: static property 'redundantLetError' 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 `let error` from `catch` statements
13 | static let redundantLetError = FormatRule(
| |- warning: static property 'redundantLetError' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantLetError' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove redundant `let error` from `catch` clause."
15 |
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantMemberwiseInit.swift:13:16: warning: static property 'redundantMemberwiseInit' 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 explicit memberwise initializers from structs
13 | static let redundantMemberwiseInit = FormatRule(
| |- warning: static property 'redundantMemberwiseInit' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantMemberwiseInit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove explicit internal memberwise initializers that are redundant.",
15 | orderAfter: [.redundantInit],
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantNilInit.swift:13:16: warning: static property 'redundantNilInit' 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 or insert redundant `= nil` initialization for Optional properties
13 | static let redundantNilInit = FormatRule(
| |- warning: static property 'redundantNilInit' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantNilInit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove/insert redundant `nil` default value (Optional vars are nil by default).",
15 | options: ["nil-init"]
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantObjc.swift:13:16: warning: static property 'redundantObjc' 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 @objc annotation
13 | static let redundantObjc = FormatRule(
| |- warning: static property 'redundantObjc' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantObjc' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove redundant `@objc` annotations."
15 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantOptionalBinding.swift:12:16: warning: static property 'redundantOptionalBinding' 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 redundantOptionalBinding = FormatRule(
| |- warning: static property 'redundantOptionalBinding' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantOptionalBinding' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Remove redundant identifiers in optional binding conditions.",
14 | // We can convert `if let foo = self.foo` to just `if let foo`,
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantOverload.swift:13:16: warning: static property 'redundantOverload' 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 | /// Replaces forwarding overloads with default arguments on the original declaration
13 | static let redundantOverload = FormatRule(
| |- warning: static property 'redundantOverload' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantOverload' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Replace forwarding overloads with default arguments.",
15 | disabledByDefault: true
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantParens.swift:13:16: warning: static property 'redundantParens' 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 parens around the arguments for loops, if statements, closures, etc.
13 | static let redundantParens = FormatRule(
| |- warning: static property 'redundantParens' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantParens' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove redundant parentheses."
15 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantPattern.swift:13:16: warning: static property 'redundantPattern' 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 pattern in case statements
13 | static let redundantPattern = FormatRule(
| |- warning: static property 'redundantPattern' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantPattern' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove redundant pattern matching parameter syntax."
15 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantProperty.swift:13:16: warning: static property 'redundantProperty' 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 redundantProperty = FormatRule(
| |- warning: static property 'redundantProperty' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantProperty' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Simplifies redundant variable definitions that are immediately returned.",
15 | renamedTo: .redundantVariable
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantPublic.swift:12:16: warning: static property 'redundantPublic' 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 redundantPublic = FormatRule(
| |- warning: static property 'redundantPublic' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantPublic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Remove redundant public access control from declarations in internal or private types."
14 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Rules/RedundantRawValues.swift:13:16: warning: static property 'redundantRawValues' 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 raw string values for case statements
13 | static let redundantRawValues = FormatRule(
| |- warning: static property 'redundantRawValues' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redundantRawValues' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Remove redundant raw string values for enum cases."
15 | ) { formatter in
/Users/admin/builder/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
[396/402] Emitting module CommandLineTool
/Users/admin/builder/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 {
/Users/admin/builder/spi-builder-workspace/Sources/CommandLine.swift:49:16: note: static property declared here
47 |
48 | /// Output handler - override this to intercept output from the CLI
49 | static var print: (String, OutputType) -> Void = { _, _ in
| `- note: static property declared here
50 | fatalError("No print hook set.")
51 | }
[397/402] Compiling CommandLineTool main.swift
/Users/admin/builder/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 {
/Users/admin/builder/spi-builder-workspace/Sources/CommandLine.swift:49:16: note: static property declared here
47 |
48 | /// Output handler - override this to intercept output from the CLI
49 | static var print: (String, OutputType) -> Void = { _, _ in
| `- note: static property declared here
50 | fatalError("No print hook set.")
51 | }
/Users/admin/builder/spi-builder-workspace/CommandLineTool/main.swift: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
/Users/admin/builder/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
[397/402] Write Objects.LinkFileList
[399/402] Emitting module CommandLineTool
/Users/admin/builder/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 {
/Users/admin/builder/spi-builder-workspace/Sources/CommandLine.swift:49:16: note: static property declared here
47 |
48 | /// Output handler - override this to intercept output from the CLI
49 | static var print: (String, OutputType) -> Void = { _, _ in
| `- note: static property declared here
50 | fatalError("No print hook set.")
51 | }
[400/402] Compiling CommandLineTool main.swift
/Users/admin/builder/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 {
/Users/admin/builder/spi-builder-workspace/Sources/CommandLine.swift:49:16: note: static property declared here
47 |
48 | /// Output handler - override this to intercept output from the CLI
49 | static var print: (String, OutputType) -> Void = { _, _ in
| `- note: static property declared here
50 | fatalError("No print hook set.")
51 | }
/Users/admin/builder/spi-builder-workspace/CommandLineTool/main.swift: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
/Users/admin/builder/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/402] Linking swiftformat
[401/402] Applying swiftformat
Build complete! (23.32s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SwiftFormat",
"name" : "SwiftFormat",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "swiftformat",
"targets" : [
"CommandLineTool"
],
"type" : {
"executable" : null
}
},
{
"name" : "SwiftFormat",
"targets" : [
"SwiftFormat"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftFormatPlugin",
"targets" : [
"SwiftFormatPlugin"
],
"type" : {
"plugin" : null
}
}
],
"targets" : [
{
"c99name" : "SwiftFormatTests",
"module_type" : "SwiftTarget",
"name" : "SwiftFormatTests",
"path" : "Tests",
"sources" : [
"ArgumentsTests.swift",
"BadConfig/Test.swift",
"CodeOrganizationTests.swift",
"CommandLineTests.swift",
"DeclarationV2Tests.swift",
"EnumAssociableTests.swift",
"FormatterTests.swift",
"GlobsTests.swift",
"InferenceTests.swift",
"MetadataTests.swift",
"OptionDescriptorTests.swift",
"ParsingHelpersTests.swift",
"ProjectFilePaths.swift",
"Rules/AcronymsTests.swift",
"Rules/AndOperatorTests.swift",
"Rules/AnyObjectProtocolTests.swift",
"Rules/ApplicationMainTests.swift",
"Rules/AssertionFailuresTests.swift",
"Rules/BlankLineAfterImportsTests.swift",
"Rules/BlankLineAfterSwitchCaseTests.swift",
"Rules/BlankLinesAfterGuardStatementsTests.swift",
"Rules/BlankLinesAroundMarkTests.swift",
"Rules/BlankLinesAtEndOfScopeTests.swift",
"Rules/BlankLinesAtStartOfScopeTests.swift",
"Rules/BlankLinesBetweenChainedFunctionsTests.swift",
"Rules/BlankLinesBetweenImportsTests.swift",
"Rules/BlankLinesBetweenScopesTests.swift",
"Rules/BlockCommentsTests.swift",
"Rules/BracesTests.swift",
"Rules/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"
}
Done.