Build Information
Successful build of swift-format, reference main (e3cca1), with Swift 6.1 for macOS (SPM) on 12 Dec 2025 00:31:17 UTC.
Swift 6 data race errors: 88
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCapturesBuild Log
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 | "move this assignment expression into its own statement"
165 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/NoBlockComments.swift:38:26: warning: static property 'avoidBlockComment' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | extension Finding.Message {
38 | fileprivate static let avoidBlockComment: Finding.Message =
| |- warning: static property 'avoidBlockComment' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'avoidBlockComment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | "replace this block comment with line comments"
40 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/FullyIndirectEnum.swift:142:26: warning: static property 'removeIndirect' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
140 | }
141 |
142 | fileprivate static let removeIndirect: Finding.Message = "remove 'indirect' here"
| |- warning: static property 'removeIndirect' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'removeIndirect' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
143 | }
144 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/NeverUseForceTry.swift:50:26: warning: static property 'doNotForceTry' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | extension Finding.Message {
50 | fileprivate static let doNotForceTry: Finding.Message = "do not use force try"
| |- warning: static property 'doNotForceTry' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'doNotForceTry' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | }
52 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/NoAccessLevelOnExtensionDeclaration.swift:219:26: warning: static property 'removeRedundantAccessKeyword' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
217 |
218 | extension Finding.Message {
219 | fileprivate static let removeRedundantAccessKeyword: Finding.Message =
| |- warning: static property 'removeRedundantAccessKeyword' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'removeRedundantAccessKeyword' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
220 | "remove this redundant 'internal' access modifier from this extension"
221 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/NoAssignmentInExpressions.swift:163:26: warning: static property 'moveAssignmentToOwnStatement' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
161 |
162 | extension Finding.Message {
163 | fileprivate static let moveAssignmentToOwnStatement: Finding.Message =
| |- warning: static property 'moveAssignmentToOwnStatement' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'moveAssignmentToOwnStatement' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 | "move this assignment expression into its own statement"
165 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/NoBlockComments.swift:38:26: warning: static property 'avoidBlockComment' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | extension Finding.Message {
38 | fileprivate static let avoidBlockComment: Finding.Message =
| |- warning: static property 'avoidBlockComment' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'avoidBlockComment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | "replace this block comment with line comments"
40 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Core/RuleMask.swift:146:22: warning: static property 'ignoreRegex' is not concurrency-safe because non-'Sendable' type 'IgnoreDirective.RegexExpression' (aka 'Regex<(Substring, ruleNames: Optional<Substring>)>') may have shared mutable state; this is an error in the Swift 6 language mode
144 |
145 | /// Cached regex object for ignoring rules at the node.
146 | private static let ignoreRegex: IgnoreDirective.RegexExpression = IgnoreDirective.node.makeRegex()
| |- warning: static property 'ignoreRegex' is not concurrency-safe because non-'Sendable' type 'IgnoreDirective.RegexExpression' (aka 'Regex<(Substring, ruleNames: Optional<Substring>)>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ignoreRegex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 |
148 | /// Cached regex object for ignoring rules at the file.
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Core/RuleMask.swift:149:22: warning: static property 'ignoreFileRegex' is not concurrency-safe because non-'Sendable' type 'IgnoreDirective.RegexExpression' (aka 'Regex<(Substring, ruleNames: Optional<Substring>)>') may have shared mutable state; this is an error in the Swift 6 language mode
147 |
148 | /// Cached regex object for ignoring rules at the file.
149 | private static let ignoreFileRegex: IgnoreDirective.RegexExpression = IgnoreDirective.file.makeRegex()
| |- warning: static property 'ignoreFileRegex' is not concurrency-safe because non-'Sendable' type 'IgnoreDirective.RegexExpression' (aka 'Regex<(Substring, ruleNames: Optional<Substring>)>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ignoreFileRegex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 |
151 | /// Computes source locations and ranges for syntax nodes in a source file.
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Core/RuleMask.swift:146:22: warning: static property 'ignoreRegex' is not concurrency-safe because non-'Sendable' type 'IgnoreDirective.RegexExpression' (aka 'Regex<(Substring, ruleNames: Optional<Substring>)>') may have shared mutable state; this is an error in the Swift 6 language mode
144 |
145 | /// Cached regex object for ignoring rules at the node.
146 | private static let ignoreRegex: IgnoreDirective.RegexExpression = IgnoreDirective.node.makeRegex()
| |- warning: static property 'ignoreRegex' is not concurrency-safe because non-'Sendable' type 'IgnoreDirective.RegexExpression' (aka 'Regex<(Substring, ruleNames: Optional<Substring>)>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ignoreRegex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 |
148 | /// Cached regex object for ignoring rules at the file.
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Core/RuleMask.swift:149:22: warning: static property 'ignoreFileRegex' is not concurrency-safe because non-'Sendable' type 'IgnoreDirective.RegexExpression' (aka 'Regex<(Substring, ruleNames: Optional<Substring>)>') may have shared mutable state; this is an error in the Swift 6 language mode
147 |
148 | /// Cached regex object for ignoring rules at the file.
149 | private static let ignoreFileRegex: IgnoreDirective.RegexExpression = IgnoreDirective.file.makeRegex()
| |- warning: static property 'ignoreFileRegex' is not concurrency-safe because non-'Sendable' type 'IgnoreDirective.RegexExpression' (aka 'Regex<(Substring, ruleNames: Optional<Substring>)>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ignoreFileRegex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 |
151 | /// Computes source locations and ranges for syntax nodes in a source file.
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Core/RuleMask.swift:146:22: warning: static property 'ignoreRegex' is not concurrency-safe because non-'Sendable' type 'IgnoreDirective.RegexExpression' (aka 'Regex<(Substring, ruleNames: Optional<Substring>)>') may have shared mutable state; this is an error in the Swift 6 language mode
144 |
145 | /// Cached regex object for ignoring rules at the node.
146 | private static let ignoreRegex: IgnoreDirective.RegexExpression = IgnoreDirective.node.makeRegex()
| |- warning: static property 'ignoreRegex' is not concurrency-safe because non-'Sendable' type 'IgnoreDirective.RegexExpression' (aka 'Regex<(Substring, ruleNames: Optional<Substring>)>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ignoreRegex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 |
148 | /// Cached regex object for ignoring rules at the file.
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Core/RuleMask.swift:149:22: warning: static property 'ignoreFileRegex' is not concurrency-safe because non-'Sendable' type 'IgnoreDirective.RegexExpression' (aka 'Regex<(Substring, ruleNames: Optional<Substring>)>') may have shared mutable state; this is an error in the Swift 6 language mode
147 |
148 | /// Cached regex object for ignoring rules at the file.
149 | private static let ignoreFileRegex: IgnoreDirective.RegexExpression = IgnoreDirective.file.makeRegex()
| |- warning: static property 'ignoreFileRegex' is not concurrency-safe because non-'Sendable' type 'IgnoreDirective.RegexExpression' (aka 'Regex<(Substring, ruleNames: Optional<Substring>)>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ignoreFileRegex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 |
151 | /// Computes source locations and ranges for syntax nodes in a source file.
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Core/RuleMask.swift:146:22: warning: static property 'ignoreRegex' is not concurrency-safe because non-'Sendable' type 'IgnoreDirective.RegexExpression' (aka 'Regex<(Substring, ruleNames: Optional<Substring>)>') may have shared mutable state; this is an error in the Swift 6 language mode
144 |
145 | /// Cached regex object for ignoring rules at the node.
146 | private static let ignoreRegex: IgnoreDirective.RegexExpression = IgnoreDirective.node.makeRegex()
| |- warning: static property 'ignoreRegex' is not concurrency-safe because non-'Sendable' type 'IgnoreDirective.RegexExpression' (aka 'Regex<(Substring, ruleNames: Optional<Substring>)>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ignoreRegex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 |
148 | /// Cached regex object for ignoring rules at the file.
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Core/RuleMask.swift:149:22: warning: static property 'ignoreFileRegex' is not concurrency-safe because non-'Sendable' type 'IgnoreDirective.RegexExpression' (aka 'Regex<(Substring, ruleNames: Optional<Substring>)>') may have shared mutable state; this is an error in the Swift 6 language mode
147 |
148 | /// Cached regex object for ignoring rules at the file.
149 | private static let ignoreFileRegex: IgnoreDirective.RegexExpression = IgnoreDirective.file.makeRegex()
| |- warning: static property 'ignoreFileRegex' is not concurrency-safe because non-'Sendable' type 'IgnoreDirective.RegexExpression' (aka 'Regex<(Substring, ruleNames: Optional<Substring>)>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ignoreFileRegex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 |
151 | /// Computes source locations and ranges for syntax nodes in a source file.
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Core/RuleMask.swift:146:22: warning: static property 'ignoreRegex' is not concurrency-safe because non-'Sendable' type 'IgnoreDirective.RegexExpression' (aka 'Regex<(Substring, ruleNames: Optional<Substring>)>') may have shared mutable state; this is an error in the Swift 6 language mode
144 |
145 | /// Cached regex object for ignoring rules at the node.
146 | private static let ignoreRegex: IgnoreDirective.RegexExpression = IgnoreDirective.node.makeRegex()
| |- warning: static property 'ignoreRegex' is not concurrency-safe because non-'Sendable' type 'IgnoreDirective.RegexExpression' (aka 'Regex<(Substring, ruleNames: Optional<Substring>)>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ignoreRegex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 |
148 | /// Cached regex object for ignoring rules at the file.
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Core/RuleMask.swift:149:22: warning: static property 'ignoreFileRegex' is not concurrency-safe because non-'Sendable' type 'IgnoreDirective.RegexExpression' (aka 'Regex<(Substring, ruleNames: Optional<Substring>)>') may have shared mutable state; this is an error in the Swift 6 language mode
147 |
148 | /// Cached regex object for ignoring rules at the file.
149 | private static let ignoreFileRegex: IgnoreDirective.RegexExpression = IgnoreDirective.file.makeRegex()
| |- warning: static property 'ignoreFileRegex' is not concurrency-safe because non-'Sendable' type 'IgnoreDirective.RegexExpression' (aka 'Regex<(Substring, ruleNames: Optional<Substring>)>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ignoreFileRegex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 |
151 | /// Computes source locations and ranges for syntax nodes in a source file.
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Core/RuleMask.swift:146:22: warning: static property 'ignoreRegex' is not concurrency-safe because non-'Sendable' type 'IgnoreDirective.RegexExpression' (aka 'Regex<(Substring, ruleNames: Optional<Substring>)>') may have shared mutable state; this is an error in the Swift 6 language mode
144 |
145 | /// Cached regex object for ignoring rules at the node.
146 | private static let ignoreRegex: IgnoreDirective.RegexExpression = IgnoreDirective.node.makeRegex()
| |- warning: static property 'ignoreRegex' is not concurrency-safe because non-'Sendable' type 'IgnoreDirective.RegexExpression' (aka 'Regex<(Substring, ruleNames: Optional<Substring>)>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ignoreRegex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 |
148 | /// Cached regex object for ignoring rules at the file.
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Core/RuleMask.swift:149:22: warning: static property 'ignoreFileRegex' is not concurrency-safe because non-'Sendable' type 'IgnoreDirective.RegexExpression' (aka 'Regex<(Substring, ruleNames: Optional<Substring>)>') may have shared mutable state; this is an error in the Swift 6 language mode
147 |
148 | /// Cached regex object for ignoring rules at the file.
149 | private static let ignoreFileRegex: IgnoreDirective.RegexExpression = IgnoreDirective.file.makeRegex()
| |- warning: static property 'ignoreFileRegex' is not concurrency-safe because non-'Sendable' type 'IgnoreDirective.RegexExpression' (aka 'Regex<(Substring, ruleNames: Optional<Substring>)>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ignoreFileRegex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 |
151 | /// Computes source locations and ranges for syntax nodes in a source file.
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Core/RuleMask.swift:146:22: warning: static property 'ignoreRegex' is not concurrency-safe because non-'Sendable' type 'IgnoreDirective.RegexExpression' (aka 'Regex<(Substring, ruleNames: Optional<Substring>)>') may have shared mutable state; this is an error in the Swift 6 language mode
144 |
145 | /// Cached regex object for ignoring rules at the node.
146 | private static let ignoreRegex: IgnoreDirective.RegexExpression = IgnoreDirective.node.makeRegex()
| |- warning: static property 'ignoreRegex' is not concurrency-safe because non-'Sendable' type 'IgnoreDirective.RegexExpression' (aka 'Regex<(Substring, ruleNames: Optional<Substring>)>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ignoreRegex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 |
148 | /// Cached regex object for ignoring rules at the file.
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Core/RuleMask.swift:149:22: warning: static property 'ignoreFileRegex' is not concurrency-safe because non-'Sendable' type 'IgnoreDirective.RegexExpression' (aka 'Regex<(Substring, ruleNames: Optional<Substring>)>') may have shared mutable state; this is an error in the Swift 6 language mode
147 |
148 | /// Cached regex object for ignoring rules at the file.
149 | private static let ignoreFileRegex: IgnoreDirective.RegexExpression = IgnoreDirective.file.makeRegex()
| |- warning: static property 'ignoreFileRegex' is not concurrency-safe because non-'Sendable' type 'IgnoreDirective.RegexExpression' (aka 'Regex<(Substring, ruleNames: Optional<Substring>)>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ignoreFileRegex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 |
151 | /// Computes source locations and ranges for syntax nodes in a source file.
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Core/RuleMask.swift:146:22: warning: static property 'ignoreRegex' is not concurrency-safe because non-'Sendable' type 'IgnoreDirective.RegexExpression' (aka 'Regex<(Substring, ruleNames: Optional<Substring>)>') may have shared mutable state; this is an error in the Swift 6 language mode
144 |
145 | /// Cached regex object for ignoring rules at the node.
146 | private static let ignoreRegex: IgnoreDirective.RegexExpression = IgnoreDirective.node.makeRegex()
| |- warning: static property 'ignoreRegex' is not concurrency-safe because non-'Sendable' type 'IgnoreDirective.RegexExpression' (aka 'Regex<(Substring, ruleNames: Optional<Substring>)>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ignoreRegex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 |
148 | /// Cached regex object for ignoring rules at the file.
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Core/RuleMask.swift:149:22: warning: static property 'ignoreFileRegex' is not concurrency-safe because non-'Sendable' type 'IgnoreDirective.RegexExpression' (aka 'Regex<(Substring, ruleNames: Optional<Substring>)>') may have shared mutable state; this is an error in the Swift 6 language mode
147 |
148 | /// Cached regex object for ignoring rules at the file.
149 | private static let ignoreFileRegex: IgnoreDirective.RegexExpression = IgnoreDirective.file.makeRegex()
| |- warning: static property 'ignoreFileRegex' is not concurrency-safe because non-'Sendable' type 'IgnoreDirective.RegexExpression' (aka 'Regex<(Substring, ruleNames: Optional<Substring>)>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ignoreFileRegex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 |
151 | /// Computes source locations and ranges for syntax nodes in a source file.
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Core/RuleMask.swift:146:22: warning: static property 'ignoreRegex' is not concurrency-safe because non-'Sendable' type 'IgnoreDirective.RegexExpression' (aka 'Regex<(Substring, ruleNames: Optional<Substring>)>') may have shared mutable state; this is an error in the Swift 6 language mode
144 |
145 | /// Cached regex object for ignoring rules at the node.
146 | private static let ignoreRegex: IgnoreDirective.RegexExpression = IgnoreDirective.node.makeRegex()
| |- warning: static property 'ignoreRegex' is not concurrency-safe because non-'Sendable' type 'IgnoreDirective.RegexExpression' (aka 'Regex<(Substring, ruleNames: Optional<Substring>)>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ignoreRegex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 |
148 | /// Cached regex object for ignoring rules at the file.
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Core/RuleMask.swift:149:22: warning: static property 'ignoreFileRegex' is not concurrency-safe because non-'Sendable' type 'IgnoreDirective.RegexExpression' (aka 'Regex<(Substring, ruleNames: Optional<Substring>)>') may have shared mutable state; this is an error in the Swift 6 language mode
147 |
148 | /// Cached regex object for ignoring rules at the file.
149 | private static let ignoreFileRegex: IgnoreDirective.RegexExpression = IgnoreDirective.file.makeRegex()
| |- warning: static property 'ignoreFileRegex' is not concurrency-safe because non-'Sendable' type 'IgnoreDirective.RegexExpression' (aka 'Regex<(Substring, ruleNames: Optional<Substring>)>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ignoreFileRegex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 |
151 | /// Computes source locations and ranges for syntax nodes in a source file.
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Core/RuleMask.swift:146:22: warning: static property 'ignoreRegex' is not concurrency-safe because non-'Sendable' type 'IgnoreDirective.RegexExpression' (aka 'Regex<(Substring, ruleNames: Optional<Substring>)>') may have shared mutable state; this is an error in the Swift 6 language mode
144 |
145 | /// Cached regex object for ignoring rules at the node.
146 | private static let ignoreRegex: IgnoreDirective.RegexExpression = IgnoreDirective.node.makeRegex()
| |- warning: static property 'ignoreRegex' is not concurrency-safe because non-'Sendable' type 'IgnoreDirective.RegexExpression' (aka 'Regex<(Substring, ruleNames: Optional<Substring>)>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ignoreRegex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 |
148 | /// Cached regex object for ignoring rules at the file.
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Core/RuleMask.swift:149:22: warning: static property 'ignoreFileRegex' is not concurrency-safe because non-'Sendable' type 'IgnoreDirective.RegexExpression' (aka 'Regex<(Substring, ruleNames: Optional<Substring>)>') may have shared mutable state; this is an error in the Swift 6 language mode
147 |
148 | /// Cached regex object for ignoring rules at the file.
149 | private static let ignoreFileRegex: IgnoreDirective.RegexExpression = IgnoreDirective.file.makeRegex()
| |- warning: static property 'ignoreFileRegex' is not concurrency-safe because non-'Sendable' type 'IgnoreDirective.RegexExpression' (aka 'Regex<(Substring, ruleNames: Optional<Substring>)>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ignoreFileRegex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 |
151 | /// Computes source locations and ranges for syntax nodes in a source file.
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/OnlyOneTrailingClosureArgument.swift:33:26: warning: static property 'removeTrailingClosure' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | extension Finding.Message {
33 | fileprivate static let removeTrailingClosure: Finding.Message =
| |- warning: static property 'removeTrailingClosure' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'removeTrailingClosure' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | "revise this function call to avoid using both closure arguments and a trailing closure"
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/OrderedImports.swift:656:26: warning: static property 'placeAtTopOfFile' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
654 |
655 | extension Finding.Message {
656 | fileprivate static let placeAtTopOfFile: Finding.Message = "place imports at the top of the file"
| |- warning: static property 'placeAtTopOfFile' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'placeAtTopOfFile' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
657 |
658 | fileprivate static func groupImports(before: LineType, after: LineType) -> Finding.Message {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/OrderedImports.swift:662:26: warning: static property 'removeDuplicateImport' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
660 | }
661 |
662 | fileprivate static let removeDuplicateImport: Finding.Message = "remove this duplicate import"
| |- warning: static property 'removeDuplicateImport' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'removeDuplicateImport' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
663 |
664 | fileprivate static let sortImports: Finding.Message = "sort import statements lexicographically"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/OrderedImports.swift:664:26: warning: static property 'sortImports' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
662 | fileprivate static let removeDuplicateImport: Finding.Message = "remove this duplicate import"
663 |
664 | fileprivate static let sortImports: Finding.Message = "sort import statements lexicographically"
| |- warning: static property 'sortImports' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sortImports' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
665 | }
666 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/ReturnVoidInsteadOfEmptyTuple.swift:125:26: warning: static property 'returnVoid' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
123 |
124 | extension Finding.Message {
125 | fileprivate static let returnVoid: Finding.Message = "replace '()' with 'Void'"
| |- warning: static property 'returnVoid' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'returnVoid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
126 | }
127 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/UseEarlyExits.swift:112:26: warning: static property 'useGuardStatement' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
110 |
111 | extension Finding.Message {
112 | fileprivate static let useGuardStatement: Finding.Message =
| |- warning: static property 'useGuardStatement' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useGuardStatement' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 | "replace this 'if/else' block with a 'guard' statement containing the early exit"
114 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/UseExplicitNilCheckInConditions.swift:128:26: warning: static property 'useExplicitNilComparison' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
126 |
127 | extension Finding.Message {
128 | fileprivate static let useExplicitNilComparison: Finding.Message =
| |- warning: static property 'useExplicitNilComparison' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useExplicitNilComparison' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 | "compare this value using `!= nil` instead of binding and discarding it"
130 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/OnlyOneTrailingClosureArgument.swift:33:26: warning: static property 'removeTrailingClosure' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | extension Finding.Message {
33 | fileprivate static let removeTrailingClosure: Finding.Message =
| |- warning: static property 'removeTrailingClosure' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'removeTrailingClosure' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | "revise this function call to avoid using both closure arguments and a trailing closure"
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/OrderedImports.swift:656:26: warning: static property 'placeAtTopOfFile' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
654 |
655 | extension Finding.Message {
656 | fileprivate static let placeAtTopOfFile: Finding.Message = "place imports at the top of the file"
| |- warning: static property 'placeAtTopOfFile' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'placeAtTopOfFile' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
657 |
658 | fileprivate static func groupImports(before: LineType, after: LineType) -> Finding.Message {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/OrderedImports.swift:662:26: warning: static property 'removeDuplicateImport' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
660 | }
661 |
662 | fileprivate static let removeDuplicateImport: Finding.Message = "remove this duplicate import"
| |- warning: static property 'removeDuplicateImport' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'removeDuplicateImport' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
663 |
664 | fileprivate static let sortImports: Finding.Message = "sort import statements lexicographically"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/OrderedImports.swift:664:26: warning: static property 'sortImports' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
662 | fileprivate static let removeDuplicateImport: Finding.Message = "remove this duplicate import"
663 |
664 | fileprivate static let sortImports: Finding.Message = "sort import statements lexicographically"
| |- warning: static property 'sortImports' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sortImports' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
665 | }
666 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/ReturnVoidInsteadOfEmptyTuple.swift:125:26: warning: static property 'returnVoid' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
123 |
124 | extension Finding.Message {
125 | fileprivate static let returnVoid: Finding.Message = "replace '()' with 'Void'"
| |- warning: static property 'returnVoid' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'returnVoid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
126 | }
127 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/UseEarlyExits.swift:112:26: warning: static property 'useGuardStatement' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
110 |
111 | extension Finding.Message {
112 | fileprivate static let useGuardStatement: Finding.Message =
| |- warning: static property 'useGuardStatement' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useGuardStatement' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 | "replace this 'if/else' block with a 'guard' statement containing the early exit"
114 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/UseExplicitNilCheckInConditions.swift:128:26: warning: static property 'useExplicitNilComparison' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
126 |
127 | extension Finding.Message {
128 | fileprivate static let useExplicitNilComparison: Finding.Message =
| |- warning: static property 'useExplicitNilComparison' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useExplicitNilComparison' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 | "compare this value using `!= nil` instead of binding and discarding it"
130 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/OnlyOneTrailingClosureArgument.swift:33:26: warning: static property 'removeTrailingClosure' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | extension Finding.Message {
33 | fileprivate static let removeTrailingClosure: Finding.Message =
| |- warning: static property 'removeTrailingClosure' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'removeTrailingClosure' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | "revise this function call to avoid using both closure arguments and a trailing closure"
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/OrderedImports.swift:656:26: warning: static property 'placeAtTopOfFile' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
654 |
655 | extension Finding.Message {
656 | fileprivate static let placeAtTopOfFile: Finding.Message = "place imports at the top of the file"
| |- warning: static property 'placeAtTopOfFile' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'placeAtTopOfFile' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
657 |
658 | fileprivate static func groupImports(before: LineType, after: LineType) -> Finding.Message {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/OrderedImports.swift:662:26: warning: static property 'removeDuplicateImport' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
660 | }
661 |
662 | fileprivate static let removeDuplicateImport: Finding.Message = "remove this duplicate import"
| |- warning: static property 'removeDuplicateImport' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'removeDuplicateImport' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
663 |
664 | fileprivate static let sortImports: Finding.Message = "sort import statements lexicographically"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/OrderedImports.swift:664:26: warning: static property 'sortImports' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
662 | fileprivate static let removeDuplicateImport: Finding.Message = "remove this duplicate import"
663 |
664 | fileprivate static let sortImports: Finding.Message = "sort import statements lexicographically"
| |- warning: static property 'sortImports' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sortImports' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
665 | }
666 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/ReturnVoidInsteadOfEmptyTuple.swift:125:26: warning: static property 'returnVoid' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
123 |
124 | extension Finding.Message {
125 | fileprivate static let returnVoid: Finding.Message = "replace '()' with 'Void'"
| |- warning: static property 'returnVoid' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'returnVoid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
126 | }
127 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/UseEarlyExits.swift:112:26: warning: static property 'useGuardStatement' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
110 |
111 | extension Finding.Message {
112 | fileprivate static let useGuardStatement: Finding.Message =
| |- warning: static property 'useGuardStatement' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useGuardStatement' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 | "replace this 'if/else' block with a 'guard' statement containing the early exit"
114 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/UseExplicitNilCheckInConditions.swift:128:26: warning: static property 'useExplicitNilComparison' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
126 |
127 | extension Finding.Message {
128 | fileprivate static let useExplicitNilComparison: Finding.Message =
| |- warning: static property 'useExplicitNilComparison' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useExplicitNilComparison' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 | "compare this value using `!= nil` instead of binding and discarding it"
130 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/OnlyOneTrailingClosureArgument.swift:33:26: warning: static property 'removeTrailingClosure' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | extension Finding.Message {
33 | fileprivate static let removeTrailingClosure: Finding.Message =
| |- warning: static property 'removeTrailingClosure' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'removeTrailingClosure' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | "revise this function call to avoid using both closure arguments and a trailing closure"
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/OrderedImports.swift:656:26: warning: static property 'placeAtTopOfFile' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
654 |
655 | extension Finding.Message {
656 | fileprivate static let placeAtTopOfFile: Finding.Message = "place imports at the top of the file"
| |- warning: static property 'placeAtTopOfFile' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'placeAtTopOfFile' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
657 |
658 | fileprivate static func groupImports(before: LineType, after: LineType) -> Finding.Message {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/OrderedImports.swift:662:26: warning: static property 'removeDuplicateImport' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
660 | }
661 |
662 | fileprivate static let removeDuplicateImport: Finding.Message = "remove this duplicate import"
| |- warning: static property 'removeDuplicateImport' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'removeDuplicateImport' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
663 |
664 | fileprivate static let sortImports: Finding.Message = "sort import statements lexicographically"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/OrderedImports.swift:664:26: warning: static property 'sortImports' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
662 | fileprivate static let removeDuplicateImport: Finding.Message = "remove this duplicate import"
663 |
664 | fileprivate static let sortImports: Finding.Message = "sort import statements lexicographically"
| |- warning: static property 'sortImports' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sortImports' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
665 | }
666 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/ReturnVoidInsteadOfEmptyTuple.swift:125:26: warning: static property 'returnVoid' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
123 |
124 | extension Finding.Message {
125 | fileprivate static let returnVoid: Finding.Message = "replace '()' with 'Void'"
| |- warning: static property 'returnVoid' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'returnVoid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
126 | }
127 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/UseEarlyExits.swift:112:26: warning: static property 'useGuardStatement' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
110 |
111 | extension Finding.Message {
112 | fileprivate static let useGuardStatement: Finding.Message =
| |- warning: static property 'useGuardStatement' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useGuardStatement' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 | "replace this 'if/else' block with a 'guard' statement containing the early exit"
114 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/UseExplicitNilCheckInConditions.swift:128:26: warning: static property 'useExplicitNilComparison' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
126 |
127 | extension Finding.Message {
128 | fileprivate static let useExplicitNilComparison: Finding.Message =
| |- warning: static property 'useExplicitNilComparison' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useExplicitNilComparison' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 | "compare this value using `!= nil` instead of binding and discarding it"
130 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/OnlyOneTrailingClosureArgument.swift:33:26: warning: static property 'removeTrailingClosure' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | extension Finding.Message {
33 | fileprivate static let removeTrailingClosure: Finding.Message =
| |- warning: static property 'removeTrailingClosure' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'removeTrailingClosure' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | "revise this function call to avoid using both closure arguments and a trailing closure"
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/OrderedImports.swift:656:26: warning: static property 'placeAtTopOfFile' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
654 |
655 | extension Finding.Message {
656 | fileprivate static let placeAtTopOfFile: Finding.Message = "place imports at the top of the file"
| |- warning: static property 'placeAtTopOfFile' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'placeAtTopOfFile' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
657 |
658 | fileprivate static func groupImports(before: LineType, after: LineType) -> Finding.Message {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/OrderedImports.swift:662:26: warning: static property 'removeDuplicateImport' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
660 | }
661 |
662 | fileprivate static let removeDuplicateImport: Finding.Message = "remove this duplicate import"
| |- warning: static property 'removeDuplicateImport' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'removeDuplicateImport' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
663 |
664 | fileprivate static let sortImports: Finding.Message = "sort import statements lexicographically"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/OrderedImports.swift:664:26: warning: static property 'sortImports' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
662 | fileprivate static let removeDuplicateImport: Finding.Message = "remove this duplicate import"
663 |
664 | fileprivate static let sortImports: Finding.Message = "sort import statements lexicographically"
| |- warning: static property 'sortImports' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sortImports' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
665 | }
666 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/ReturnVoidInsteadOfEmptyTuple.swift:125:26: warning: static property 'returnVoid' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
123 |
124 | extension Finding.Message {
125 | fileprivate static let returnVoid: Finding.Message = "replace '()' with 'Void'"
| |- warning: static property 'returnVoid' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'returnVoid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
126 | }
127 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/UseEarlyExits.swift:112:26: warning: static property 'useGuardStatement' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
110 |
111 | extension Finding.Message {
112 | fileprivate static let useGuardStatement: Finding.Message =
| |- warning: static property 'useGuardStatement' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useGuardStatement' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 | "replace this 'if/else' block with a 'guard' statement containing the early exit"
114 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/UseExplicitNilCheckInConditions.swift:128:26: warning: static property 'useExplicitNilComparison' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
126 |
127 | extension Finding.Message {
128 | fileprivate static let useExplicitNilComparison: Finding.Message =
| |- warning: static property 'useExplicitNilComparison' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useExplicitNilComparison' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 | "compare this value using `!= nil` instead of binding and discarding it"
130 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/OnlyOneTrailingClosureArgument.swift:33:26: warning: static property 'removeTrailingClosure' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | extension Finding.Message {
33 | fileprivate static let removeTrailingClosure: Finding.Message =
| |- warning: static property 'removeTrailingClosure' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'removeTrailingClosure' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | "revise this function call to avoid using both closure arguments and a trailing closure"
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/OrderedImports.swift:656:26: warning: static property 'placeAtTopOfFile' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
654 |
655 | extension Finding.Message {
656 | fileprivate static let placeAtTopOfFile: Finding.Message = "place imports at the top of the file"
| |- warning: static property 'placeAtTopOfFile' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'placeAtTopOfFile' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
657 |
658 | fileprivate static func groupImports(before: LineType, after: LineType) -> Finding.Message {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/OrderedImports.swift:662:26: warning: static property 'removeDuplicateImport' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
660 | }
661 |
662 | fileprivate static let removeDuplicateImport: Finding.Message = "remove this duplicate import"
| |- warning: static property 'removeDuplicateImport' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'removeDuplicateImport' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
663 |
664 | fileprivate static let sortImports: Finding.Message = "sort import statements lexicographically"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/OrderedImports.swift:664:26: warning: static property 'sortImports' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
662 | fileprivate static let removeDuplicateImport: Finding.Message = "remove this duplicate import"
663 |
664 | fileprivate static let sortImports: Finding.Message = "sort import statements lexicographically"
| |- warning: static property 'sortImports' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sortImports' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
665 | }
666 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/ReturnVoidInsteadOfEmptyTuple.swift:125:26: warning: static property 'returnVoid' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
123 |
124 | extension Finding.Message {
125 | fileprivate static let returnVoid: Finding.Message = "replace '()' with 'Void'"
| |- warning: static property 'returnVoid' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'returnVoid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
126 | }
127 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/UseEarlyExits.swift:112:26: warning: static property 'useGuardStatement' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
110 |
111 | extension Finding.Message {
112 | fileprivate static let useGuardStatement: Finding.Message =
| |- warning: static property 'useGuardStatement' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useGuardStatement' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 | "replace this 'if/else' block with a 'guard' statement containing the early exit"
114 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/UseExplicitNilCheckInConditions.swift:128:26: warning: static property 'useExplicitNilComparison' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
126 |
127 | extension Finding.Message {
128 | fileprivate static let useExplicitNilComparison: Finding.Message =
| |- warning: static property 'useExplicitNilComparison' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useExplicitNilComparison' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 | "compare this value using `!= nil` instead of binding and discarding it"
130 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/OnlyOneTrailingClosureArgument.swift:33:26: warning: static property 'removeTrailingClosure' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | extension Finding.Message {
33 | fileprivate static let removeTrailingClosure: Finding.Message =
| |- warning: static property 'removeTrailingClosure' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'removeTrailingClosure' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | "revise this function call to avoid using both closure arguments and a trailing closure"
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/OrderedImports.swift:656:26: warning: static property 'placeAtTopOfFile' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
654 |
655 | extension Finding.Message {
656 | fileprivate static let placeAtTopOfFile: Finding.Message = "place imports at the top of the file"
| |- warning: static property 'placeAtTopOfFile' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'placeAtTopOfFile' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
657 |
658 | fileprivate static func groupImports(before: LineType, after: LineType) -> Finding.Message {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/OrderedImports.swift:662:26: warning: static property 'removeDuplicateImport' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
660 | }
661 |
662 | fileprivate static let removeDuplicateImport: Finding.Message = "remove this duplicate import"
| |- warning: static property 'removeDuplicateImport' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'removeDuplicateImport' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
663 |
664 | fileprivate static let sortImports: Finding.Message = "sort import statements lexicographically"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/OrderedImports.swift:664:26: warning: static property 'sortImports' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
662 | fileprivate static let removeDuplicateImport: Finding.Message = "remove this duplicate import"
663 |
664 | fileprivate static let sortImports: Finding.Message = "sort import statements lexicographically"
| |- warning: static property 'sortImports' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sortImports' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
665 | }
666 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/ReturnVoidInsteadOfEmptyTuple.swift:125:26: warning: static property 'returnVoid' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
123 |
124 | extension Finding.Message {
125 | fileprivate static let returnVoid: Finding.Message = "replace '()' with 'Void'"
| |- warning: static property 'returnVoid' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'returnVoid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
126 | }
127 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/UseEarlyExits.swift:112:26: warning: static property 'useGuardStatement' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
110 |
111 | extension Finding.Message {
112 | fileprivate static let useGuardStatement: Finding.Message =
| |- warning: static property 'useGuardStatement' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useGuardStatement' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 | "replace this 'if/else' block with a 'guard' statement containing the early exit"
114 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/UseExplicitNilCheckInConditions.swift:128:26: warning: static property 'useExplicitNilComparison' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
126 |
127 | extension Finding.Message {
128 | fileprivate static let useExplicitNilComparison: Finding.Message =
| |- warning: static property 'useExplicitNilComparison' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useExplicitNilComparison' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 | "compare this value using `!= nil` instead of binding and discarding it"
130 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/OnlyOneTrailingClosureArgument.swift:33:26: warning: static property 'removeTrailingClosure' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | extension Finding.Message {
33 | fileprivate static let removeTrailingClosure: Finding.Message =
| |- warning: static property 'removeTrailingClosure' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'removeTrailingClosure' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | "revise this function call to avoid using both closure arguments and a trailing closure"
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/OrderedImports.swift:656:26: warning: static property 'placeAtTopOfFile' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
654 |
655 | extension Finding.Message {
656 | fileprivate static let placeAtTopOfFile: Finding.Message = "place imports at the top of the file"
| |- warning: static property 'placeAtTopOfFile' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'placeAtTopOfFile' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
657 |
658 | fileprivate static func groupImports(before: LineType, after: LineType) -> Finding.Message {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/OrderedImports.swift:662:26: warning: static property 'removeDuplicateImport' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
660 | }
661 |
662 | fileprivate static let removeDuplicateImport: Finding.Message = "remove this duplicate import"
| |- warning: static property 'removeDuplicateImport' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'removeDuplicateImport' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
663 |
664 | fileprivate static let sortImports: Finding.Message = "sort import statements lexicographically"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/OrderedImports.swift:664:26: warning: static property 'sortImports' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
662 | fileprivate static let removeDuplicateImport: Finding.Message = "remove this duplicate import"
663 |
664 | fileprivate static let sortImports: Finding.Message = "sort import statements lexicographically"
| |- warning: static property 'sortImports' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sortImports' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
665 | }
666 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/ReturnVoidInsteadOfEmptyTuple.swift:125:26: warning: static property 'returnVoid' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
123 |
124 | extension Finding.Message {
125 | fileprivate static let returnVoid: Finding.Message = "replace '()' with 'Void'"
| |- warning: static property 'returnVoid' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'returnVoid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
126 | }
127 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/UseEarlyExits.swift:112:26: warning: static property 'useGuardStatement' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
110 |
111 | extension Finding.Message {
112 | fileprivate static let useGuardStatement: Finding.Message =
| |- warning: static property 'useGuardStatement' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useGuardStatement' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 | "replace this 'if/else' block with a 'guard' statement containing the early exit"
114 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/UseExplicitNilCheckInConditions.swift:128:26: warning: static property 'useExplicitNilComparison' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
126 |
127 | extension Finding.Message {
128 | fileprivate static let useExplicitNilComparison: Finding.Message =
| |- warning: static property 'useExplicitNilComparison' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useExplicitNilComparison' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 | "compare this value using `!= nil` instead of binding and discarding it"
130 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/OnlyOneTrailingClosureArgument.swift:33:26: warning: static property 'removeTrailingClosure' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | extension Finding.Message {
33 | fileprivate static let removeTrailingClosure: Finding.Message =
| |- warning: static property 'removeTrailingClosure' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'removeTrailingClosure' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | "revise this function call to avoid using both closure arguments and a trailing closure"
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/OrderedImports.swift:656:26: warning: static property 'placeAtTopOfFile' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
654 |
655 | extension Finding.Message {
656 | fileprivate static let placeAtTopOfFile: Finding.Message = "place imports at the top of the file"
| |- warning: static property 'placeAtTopOfFile' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'placeAtTopOfFile' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
657 |
658 | fileprivate static func groupImports(before: LineType, after: LineType) -> Finding.Message {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/OrderedImports.swift:662:26: warning: static property 'removeDuplicateImport' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
660 | }
661 |
662 | fileprivate static let removeDuplicateImport: Finding.Message = "remove this duplicate import"
| |- warning: static property 'removeDuplicateImport' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'removeDuplicateImport' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
663 |
664 | fileprivate static let sortImports: Finding.Message = "sort import statements lexicographically"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/OrderedImports.swift:664:26: warning: static property 'sortImports' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
662 | fileprivate static let removeDuplicateImport: Finding.Message = "remove this duplicate import"
663 |
664 | fileprivate static let sortImports: Finding.Message = "sort import statements lexicographically"
| |- warning: static property 'sortImports' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sortImports' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
665 | }
666 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/ReturnVoidInsteadOfEmptyTuple.swift:125:26: warning: static property 'returnVoid' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
123 |
124 | extension Finding.Message {
125 | fileprivate static let returnVoid: Finding.Message = "replace '()' with 'Void'"
| |- warning: static property 'returnVoid' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'returnVoid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
126 | }
127 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/UseEarlyExits.swift:112:26: warning: static property 'useGuardStatement' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
110 |
111 | extension Finding.Message {
112 | fileprivate static let useGuardStatement: Finding.Message =
| |- warning: static property 'useGuardStatement' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useGuardStatement' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 | "replace this 'if/else' block with a 'guard' statement containing the early exit"
114 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/UseExplicitNilCheckInConditions.swift:128:26: warning: static property 'useExplicitNilComparison' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
126 |
127 | extension Finding.Message {
128 | fileprivate static let useExplicitNilComparison: Finding.Message =
| |- warning: static property 'useExplicitNilComparison' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useExplicitNilComparison' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 | "compare this value using `!= nil` instead of binding and discarding it"
130 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:41:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
39 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
40 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
41 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
42 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
43 | {
[934/993] Compiling _GenerateSwiftFormat Syntax+Convenience.swift
[935/993] Emitting module _GenerateSwiftFormat
[936/993] Compiling _GenerateSwiftFormat RuleDocumentationGenerator.swift
[937/993] Compiling _GenerateSwiftFormat RuleNameCacheGenerator.swift
[938/993] Compiling _GenerateSwiftFormat RuleRegistryGenerator.swift
[939/993] Compiling swift_format TTY.swift
[941/995] Compiling _GenerateSwiftFormat GenerateSwiftFormatPaths.swift
[942/995] Compiling _GenerateSwiftFormat FileGenerator.swift
[943/995] Compiling _GenerateSwiftFormat PipelineGenerator.swift
[944/995] Compiling _GenerateSwiftFormat RuleCollector.swift
[945/995] Compiling swift_format Diagnostic.swift
[946/995] Compiling swift_format DiagnosticsEngine.swift
[947/995] Compiling swift_format FileHandleTextOutputStream.swift
[948/995] Compiling swift_format StderrDiagnosticPrinter.swift
[949/995] Emitting module swift_format
/Users/admin/builder/spi-builder-workspace/Sources/swift-format/Subcommands/DumpConfiguration.swift:20:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 | /// Dumps the tool's configuration in JSON format to standard output.
19 | struct DumpConfiguration: ParsableCommand {
20 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | abstract: "Dump the configuration in JSON format to standard output",
22 | discussion: """
/Users/admin/builder/spi-builder-workspace/Sources/swift-format/Subcommands/Format.swift:18:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | /// Formats one or more files containing Swift code.
17 | struct Format: ParsableCommand {
18 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | abstract: "Format Swift source code",
20 | discussion: "When no files are specified, it expects the source from standard input."
/Users/admin/builder/spi-builder-workspace/Sources/swift-format/Subcommands/Lint.swift:18:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | /// Emits style diagnostics for one or more files containing Swift code.
17 | struct Lint: ParsableCommand {
18 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | abstract: "Diagnose style issues in Swift source code",
20 | discussion: "When no files are specified, it expects the source from standard input."
/Users/admin/builder/spi-builder-workspace/Sources/swift-format/SwiftFormatCommand.swift:19:14: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | @main
18 | struct SwiftFormatCommand: ParsableCommand {
19 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | commandName: "swift-format",
21 | abstract: "Format or lint Swift source code",
[954/995] Compiling swift_format PrintVersion.swift
[955/995] Compiling swift_format ConfigurationOptions.swift
[956/997] Compiling swift_format ConfigurationLoader.swift
[957/997] Compiling swift_format FormatFrontend.swift
[958/997] Compiling swift_format Frontend.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-format/Frontend/Frontend.swift:294:9: warning: capture of 'self' with non-sendable type 'Frontend' in a '@Sendable' closure
16 | import SwiftSyntax
17 |
18 | class Frontend {
| `- note: class 'Frontend' does not conform to the 'Sendable' protocol
19 | /// Provides formatter configurations for given `.swift` source files, configuration files or configuration strings.
20 | struct ConfigurationProvider {
:
292 | .compactMap(openAndPrepareFile)
293 | DispatchQueue.concurrentPerform(iterations: filesToProcess.count) { index in
294 | processFile(filesToProcess[index])
| `- warning: capture of 'self' with non-sendable type 'Frontend' in a '@Sendable' closure
295 | }
296 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/swift-format/Frontend/Frontend.swift:294:21: warning: capture of 'filesToProcess' with non-sendable type '[Frontend.FileToProcess]' in a '@Sendable' closure
131 | /// Represents a file to be processed by the frontend and any file-specific options associated
132 | /// with it.
133 | final class FileToProcess {
| `- note: class 'FileToProcess' does not conform to the 'Sendable' protocol
134 | /// An open file handle to the source code of the file.
135 | private let fileHandle: FileHandle
:
292 | .compactMap(openAndPrepareFile)
293 | DispatchQueue.concurrentPerform(iterations: filesToProcess.count) { index in
294 | processFile(filesToProcess[index])
| `- warning: capture of 'filesToProcess' with non-sendable type '[Frontend.FileToProcess]' in a '@Sendable' closure
295 | }
296 | } else {
[959/997] Compiling swift_format LintFrontend.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-format/Frontend/Frontend.swift:294:9: warning: capture of 'self' with non-sendable type 'Frontend' in a '@Sendable' closure
16 | import SwiftSyntax
17 |
18 | class Frontend {
| `- note: class 'Frontend' does not conform to the 'Sendable' protocol
19 | /// Provides formatter configurations for given `.swift` source files, configuration files or configuration strings.
20 | struct ConfigurationProvider {
:
292 | .compactMap(openAndPrepareFile)
293 | DispatchQueue.concurrentPerform(iterations: filesToProcess.count) { index in
294 | processFile(filesToProcess[index])
| `- warning: capture of 'self' with non-sendable type 'Frontend' in a '@Sendable' closure
295 | }
296 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/swift-format/Frontend/Frontend.swift:294:21: warning: capture of 'filesToProcess' with non-sendable type '[Frontend.FileToProcess]' in a '@Sendable' closure
131 | /// Represents a file to be processed by the frontend and any file-specific options associated
132 | /// with it.
133 | final class FileToProcess {
| `- note: class 'FileToProcess' does not conform to the 'Sendable' protocol
134 | /// An open file handle to the source code of the file.
135 | private let fileHandle: FileHandle
:
292 | .compactMap(openAndPrepareFile)
293 | DispatchQueue.concurrentPerform(iterations: filesToProcess.count) { index in
294 | processFile(filesToProcess[index])
| `- warning: capture of 'filesToProcess' with non-sendable type '[Frontend.FileToProcess]' in a '@Sendable' closure
295 | }
296 | } else {
[960/997] Emitting module swift_format
/Users/admin/builder/spi-builder-workspace/Sources/swift-format/Subcommands/DumpConfiguration.swift:20:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 | /// Dumps the tool's configuration in JSON format to standard output.
19 | struct DumpConfiguration: ParsableCommand {
20 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | abstract: "Dump the configuration in JSON format to standard output",
22 | discussion: """
/Users/admin/builder/spi-builder-workspace/Sources/swift-format/Subcommands/Format.swift:18:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | /// Formats one or more files containing Swift code.
17 | struct Format: ParsableCommand {
18 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | abstract: "Format Swift source code",
20 | discussion: "When no files are specified, it expects the source from standard input."
/Users/admin/builder/spi-builder-workspace/Sources/swift-format/Subcommands/Lint.swift:18:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | /// Emits style diagnostics for one or more files containing Swift code.
17 | struct Lint: ParsableCommand {
18 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | abstract: "Diagnose style issues in Swift source code",
20 | discussion: "When no files are specified, it expects the source from standard input."
/Users/admin/builder/spi-builder-workspace/Sources/swift-format/SwiftFormatCommand.swift:19:14: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | @main
18 | struct SwiftFormatCommand: ParsableCommand {
19 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | commandName: "swift-format",
21 | abstract: "Format or lint Swift source code",
[961/997] Compiling swift_format PerformanceMeasurement.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-format/SwiftFormatCommand.swift:19:14: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | @main
18 | struct SwiftFormatCommand: ParsableCommand {
19 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | commandName: "swift-format",
21 | abstract: "Format or lint Swift source code",
[962/997] Compiling swift_format SwiftFormatCommand.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-format/SwiftFormatCommand.swift:19:14: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | @main
18 | struct SwiftFormatCommand: ParsableCommand {
19 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | commandName: "swift-format",
21 | abstract: "Format or lint Swift source code",
[963/997] Compiling swift_format VersionOptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-format/SwiftFormatCommand.swift:19:14: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | @main
18 | struct SwiftFormatCommand: ParsableCommand {
19 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | commandName: "swift-format",
21 | abstract: "Format or lint Swift source code",
/Users/admin/builder/spi-builder-workspace/Sources/swift-format/SwiftFormatCommand.swift:19:14: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | @main
18 | struct SwiftFormatCommand: ParsableCommand {
19 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | commandName: "swift-format",
21 | abstract: "Format or lint Swift source code",
/Users/admin/builder/spi-builder-workspace/Sources/swift-format/Frontend/Frontend.swift:294:9: warning: capture of 'self' with non-sendable type 'Frontend' in a '@Sendable' closure
16 | import SwiftSyntax
17 |
18 | class Frontend {
| `- note: class 'Frontend' does not conform to the 'Sendable' protocol
19 | /// Provides formatter configurations for given `.swift` source files, configuration files or configuration strings.
20 | struct ConfigurationProvider {
:
292 | .compactMap(openAndPrepareFile)
293 | DispatchQueue.concurrentPerform(iterations: filesToProcess.count) { index in
294 | processFile(filesToProcess[index])
| `- warning: capture of 'self' with non-sendable type 'Frontend' in a '@Sendable' closure
295 | }
296 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/swift-format/Frontend/Frontend.swift:294:21: warning: capture of 'filesToProcess' with non-sendable type '[Frontend.FileToProcess]' in a '@Sendable' closure
131 | /// Represents a file to be processed by the frontend and any file-specific options associated
132 | /// with it.
133 | final class FileToProcess {
| `- note: class 'FileToProcess' does not conform to the 'Sendable' protocol
134 | /// An open file handle to the source code of the file.
135 | private let fileHandle: FileHandle
:
292 | .compactMap(openAndPrepareFile)
293 | DispatchQueue.concurrentPerform(iterations: filesToProcess.count) { index in
294 | processFile(filesToProcess[index])
| `- warning: capture of 'filesToProcess' with non-sendable type '[Frontend.FileToProcess]' in a '@Sendable' closure
295 | }
296 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/swift-format/Frontend/Frontend.swift:294:9: warning: capture of 'self' with non-sendable type 'Frontend' in a '@Sendable' closure
16 | import SwiftSyntax
17 |
18 | class Frontend {
| `- note: class 'Frontend' does not conform to the 'Sendable' protocol
19 | /// Provides formatter configurations for given `.swift` source files, configuration files or configuration strings.
20 | struct ConfigurationProvider {
:
292 | .compactMap(openAndPrepareFile)
293 | DispatchQueue.concurrentPerform(iterations: filesToProcess.count) { index in
294 | processFile(filesToProcess[index])
| `- warning: capture of 'self' with non-sendable type 'Frontend' in a '@Sendable' closure
295 | }
296 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/swift-format/Frontend/Frontend.swift:294:21: warning: capture of 'filesToProcess' with non-sendable type '[Frontend.FileToProcess]' in a '@Sendable' closure
131 | /// Represents a file to be processed by the frontend and any file-specific options associated
132 | /// with it.
133 | final class FileToProcess {
| `- note: class 'FileToProcess' does not conform to the 'Sendable' protocol
134 | /// An open file handle to the source code of the file.
135 | private let fileHandle: FileHandle
:
292 | .compactMap(openAndPrepareFile)
293 | DispatchQueue.concurrentPerform(iterations: filesToProcess.count) { index in
294 | processFile(filesToProcess[index])
| `- warning: capture of 'filesToProcess' with non-sendable type '[Frontend.FileToProcess]' in a '@Sendable' closure
295 | }
296 | } else {
[973/997] Compiling swift_format Lint.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-format/Subcommands/Lint.swift:18:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | /// Emits style diagnostics for one or more files containing Swift code.
17 | struct Lint: ParsableCommand {
18 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | abstract: "Diagnose style issues in Swift source code",
20 | discussion: "When no files are specified, it expects the source from standard input."
[974/997] Compiling swift_format LintFormatOptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-format/Subcommands/Lint.swift:18:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | /// Emits style diagnostics for one or more files containing Swift code.
17 | struct Lint: ParsableCommand {
18 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | abstract: "Diagnose style issues in Swift source code",
20 | discussion: "When no files are specified, it expects the source from standard input."
[975/997] Compiling swift_format DumpConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-format/Subcommands/DumpConfiguration.swift:20:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 | /// Dumps the tool's configuration in JSON format to standard output.
19 | struct DumpConfiguration: ParsableCommand {
20 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | abstract: "Dump the configuration in JSON format to standard output",
22 | discussion: """
/Users/admin/builder/spi-builder-workspace/Sources/swift-format/Subcommands/Format.swift:18:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | /// Formats one or more files containing Swift code.
17 | struct Format: ParsableCommand {
18 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | abstract: "Format Swift source code",
20 | discussion: "When no files are specified, it expects the source from standard input."
[976/997] Compiling swift_format Format.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-format/Subcommands/DumpConfiguration.swift:20:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 | /// Dumps the tool's configuration in JSON format to standard output.
19 | struct DumpConfiguration: ParsableCommand {
20 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | abstract: "Dump the configuration in JSON format to standard output",
22 | discussion: """
/Users/admin/builder/spi-builder-workspace/Sources/swift-format/Subcommands/Format.swift:18:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | /// Formats one or more files containing Swift code.
17 | struct Format: ParsableCommand {
18 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | abstract: "Format Swift source code",
20 | discussion: "When no files are specified, it expects the source from standard input."
[976/997] Write Objects.LinkFileList
/Users/admin/builder/spi-builder-workspace/Sources/swift-format/Subcommands/DumpConfiguration.swift:20:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 | /// Dumps the tool's configuration in JSON format to standard output.
19 | struct DumpConfiguration: ParsableCommand {
20 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | abstract: "Dump the configuration in JSON format to standard output",
22 | discussion: """
/Users/admin/builder/spi-builder-workspace/Sources/swift-format/Subcommands/Format.swift:18:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | /// Formats one or more files containing Swift code.
17 | struct Format: ParsableCommand {
18 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | abstract: "Format Swift source code",
20 | discussion: "When no files are specified, it expects the source from standard input."
/Users/admin/builder/spi-builder-workspace/Sources/swift-format/Subcommands/DumpConfiguration.swift:20:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 | /// Dumps the tool's configuration in JSON format to standard output.
19 | struct DumpConfiguration: ParsableCommand {
20 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | abstract: "Dump the configuration in JSON format to standard output",
22 | discussion: """
/Users/admin/builder/spi-builder-workspace/Sources/swift-format/Subcommands/Format.swift:18:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | /// Formats one or more files containing Swift code.
17 | struct Format: ParsableCommand {
18 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | abstract: "Format Swift source code",
20 | discussion: "When no files are specified, it expects the source from standard input."
/Users/admin/builder/spi-builder-workspace/Sources/swift-format/Subcommands/Lint.swift:18:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | /// Emits style diagnostics for one or more files containing Swift code.
17 | struct Lint: ParsableCommand {
18 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | abstract: "Diagnose style issues in Swift source code",
20 | discussion: "When no files are specified, it expects the source from standard input."
/Users/admin/builder/spi-builder-workspace/Sources/swift-format/Subcommands/Lint.swift:18:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | /// Emits style diagnostics for one or more files containing Swift code.
17 | struct Lint: ParsableCommand {
18 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | abstract: "Diagnose style issues in Swift source code",
20 | discussion: "When no files are specified, it expects the source from standard input."
[983/997] Compiling generate_swift_format main.swift
[984/997] Emitting module generate_swift_format
[984/997] Write Objects.LinkFileList
[985/997] Linking swift-format
[986/997] Linking generate-swift-format
[987/997] Linking swift-format-tool
[988/997] Applying generate-swift-format
[989/997] Applying swift-format
[990/997] Applying swift-format-tool
[992/997] Compiling _SwiftFormatTestSupport Parsing.swift
[993/997] Compiling _SwiftFormatTestSupport MarkedText.swift
[994/997] Compiling _SwiftFormatTestSupport Configuration+Testing.swift
[995/997] Emitting module _SwiftFormatTestSupport
[996/997] Compiling _SwiftFormatTestSupport FindingSpec.swift
[997/997] Compiling _SwiftFormatTestSupport DiagnosingTestCase.swift
Build complete! (54.93s)
Fetching https://github.com/swiftlang/swift-syntax.git from cache
Fetched https://github.com/swiftlang/swift-syntax.git from cache (1.79s)
Fetching https://github.com/swiftlang/swift-markdown.git
Fetching https://github.com/apple/swift-argument-parser.git from cache
[1/7029] Fetching swift-markdown
Fetched https://github.com/swiftlang/swift-markdown.git from cache (1.31s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.32s)
Computing version for https://github.com/swiftlang/swift-markdown.git
Computed https://github.com/swiftlang/swift-markdown.git at 0.7.3 (1.99s)
Fetching https://github.com/swiftlang/swift-cmark.git
[1/18257] Fetching swift-cmark
Fetched https://github.com/swiftlang/swift-cmark.git from cache (1.75s)
Computing version for https://github.com/swiftlang/swift-cmark.git
Computed https://github.com/swiftlang/swift-cmark.git at 0.7.1 (2.40s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.2 (0.57s)
Creating working copy for https://github.com/swiftlang/swift-cmark.git
Working copy of https://github.com/swiftlang/swift-cmark.git resolved at 0.7.1
Creating working copy for https://github.com/swiftlang/swift-markdown.git
Working copy of https://github.com/swiftlang/swift-markdown.git resolved at 0.7.3
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.6.2
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at main (ca0480b)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
},
{
"identity" : "swift-markdown",
"requirement" : {
"range" : [
{
"lower_bound" : "0.2.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-markdown.git"
},
{
"identity" : "swift-syntax",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-syntax.git"
}
],
"manifest_display_name" : "swift-format",
"name" : "swift-format",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "ios",
"version" : "16.0"
}
],
"products" : [
{
"name" : "swift-format",
"targets" : [
"swift-format"
],
"type" : {
"executable" : null
}
},
{
"name" : "SwiftFormat",
"targets" : [
"SwiftFormat"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "FormatPlugin",
"targets" : [
"Format Source Code"
],
"type" : {
"plugin" : null
}
},
{
"name" : "LintPlugin",
"targets" : [
"Lint Source Code"
],
"type" : {
"plugin" : null
}
},
{
"name" : "generate-swift-format",
"targets" : [
"generate-swift-format"
],
"type" : {
"executable" : null
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "swift_format",
"module_type" : "SwiftTarget",
"name" : "swift-format",
"path" : "Sources/swift-format",
"product_dependencies" : [
"ArgumentParser",
"SwiftDiagnostics",
"SwiftParser",
"SwiftSyntax"
],
"product_memberships" : [
"swift-format",
"FormatPlugin",
"LintPlugin"
],
"sources" : [
"Frontend/ConfigurationLoader.swift",
"Frontend/FormatFrontend.swift",
"Frontend/Frontend.swift",
"Frontend/LintFrontend.swift",
"PrintVersion.swift",
"Subcommands/ConfigurationOptions.swift",
"Subcommands/DumpConfiguration.swift",
"Subcommands/Format.swift",
"Subcommands/Lint.swift",
"Subcommands/LintFormatOptions.swift",
"Subcommands/PerformanceMeasurement.swift",
"SwiftFormatCommand.swift",
"Utilities/Diagnostic.swift",
"Utilities/DiagnosticsEngine.swift",
"Utilities/FileHandleTextOutputStream.swift",
"Utilities/StderrDiagnosticPrinter.swift",
"Utilities/TTY.swift",
"VersionOptions.swift"
],
"target_dependencies" : [
"_SwiftFormatInstructionCounter",
"SwiftFormat"
],
"type" : "executable"
},
{
"c99name" : "generate_swift_format",
"module_type" : "SwiftTarget",
"name" : "generate-swift-format",
"path" : "Sources/generate-swift-format",
"product_memberships" : [
"generate-swift-format"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"_GenerateSwiftFormat"
],
"type" : "executable"
},
{
"c99name" : "_SwiftFormatTestSupport",
"module_type" : "SwiftTarget",
"name" : "_SwiftFormatTestSupport",
"path" : "Sources/_SwiftFormatTestSupport",
"product_dependencies" : [
"SwiftOperators",
"SwiftParser",
"SwiftParserDiagnostics",
"SwiftSyntax",
"SwiftSyntaxBuilder"
],
"sources" : [
"Configuration+Testing.swift",
"DiagnosingTestCase.swift",
"FindingSpec.swift",
"MarkedText.swift",
"Parsing.swift"
],
"target_dependencies" : [
"SwiftFormat"
],
"type" : "library"
},
{
"c99name" : "_SwiftFormatInstructionCounter",
"module_type" : "ClangTarget",
"name" : "_SwiftFormatInstructionCounter",
"path" : "Sources/_SwiftFormatInstructionCounter",
"product_memberships" : [
"swift-format",
"FormatPlugin",
"LintPlugin"
],
"sources" : [
"src/InstructionsExecuted.c"
],
"type" : "library"
},
{
"c99name" : "_GenerateSwiftFormat",
"module_type" : "SwiftTarget",
"name" : "_GenerateSwiftFormat",
"path" : "Sources/_GenerateSwiftFormat",
"product_memberships" : [
"generate-swift-format"
],
"sources" : [
"FileGenerator.swift",
"GenerateSwiftFormatPaths.swift",
"PipelineGenerator.swift",
"RuleCollector.swift",
"RuleDocumentationGenerator.swift",
"RuleNameCacheGenerator.swift",
"RuleRegistryGenerator.swift",
"Syntax+Convenience.swift"
],
"target_dependencies" : [
"SwiftFormat"
],
"type" : "library"
},
{
"c99name" : "SwiftFormatTests",
"module_type" : "SwiftTarget",
"name" : "SwiftFormatTests",
"path" : "Tests/SwiftFormatTests",
"product_dependencies" : [
"Markdown",
"SwiftOperators",
"SwiftParser",
"SwiftSyntax",
"SwiftSyntaxBuilder"
],
"sources" : [
"API/ConfigurationTests.swift",
"Core/DocumentationCommentTests.swift",
"Core/DocumentationCommentTextTests.swift",
"Core/RuleMaskTests.swift",
"PrettyPrint/AccessorTests.swift",
"PrettyPrint/ArrayDeclTests.swift",
"PrettyPrint/AsExprTests.swift",
"PrettyPrint/AssignmentExprTests.swift",
"PrettyPrint/AttributeTests.swift",
"PrettyPrint/AvailabilityConditionTests.swift",
"PrettyPrint/BackDeployAttributeTests.swift",
"PrettyPrint/BacktickTests.swift",
"PrettyPrint/BinaryOperatorExprTests.swift",
"PrettyPrint/BorrowExprTests.swift",
"PrettyPrint/ClassDeclTests.swift",
"PrettyPrint/ClosureExprTests.swift",
"PrettyPrint/CommaTests.swift",
"PrettyPrint/CommentTests.swift",
"PrettyPrint/ConstrainedSugarTypeTests.swift",
"PrettyPrint/ConsumeExprTests.swift",
"PrettyPrint/CopyExprSyntax.swift",
"PrettyPrint/DeclNameArgumentTests.swift",
"PrettyPrint/DeinitializerDeclTests.swift",
"PrettyPrint/DictionaryDeclTests.swift",
"PrettyPrint/DifferentiationAttributeTests.swift",
"PrettyPrint/DiscardStmtTests.swift",
"PrettyPrint/DoStmtTests.swift",
"PrettyPrint/EnumDeclTests.swift",
"PrettyPrint/ExpressionModifierTests.swift",
"PrettyPrint/ExtensionDeclTests.swift",
"PrettyPrint/ForInStmtTests.swift",
"PrettyPrint/FunctionCallTests.swift",
"PrettyPrint/FunctionDeclTests.swift",
"PrettyPrint/FunctionTypeTests.swift",
"PrettyPrint/GarbageTextTests.swift",
"PrettyPrint/GuardStmtTests.swift",
"PrettyPrint/IfConfigTests.swift",
"PrettyPrint/IfStmtTests.swift",
"PrettyPrint/IgnoreNodeTests.swift",
"PrettyPrint/ImportTests.swift",
"PrettyPrint/IndentBlankLinesTests.swift",
"PrettyPrint/InitializerDeclTests.swift",
"PrettyPrint/KeyPathExprTests.swift",
"PrettyPrint/LineNumbersTests.swift",
"PrettyPrint/MacroCallTests.swift",
"PrettyPrint/MacroDeclTests.swift",
"PrettyPrint/MemberAccessExprTests.swift",
"PrettyPrint/MemberTypeIdentifierTests.swift",
"PrettyPrint/NewlineTests.swift",
"PrettyPrint/ObjectLiteralExprTests.swift",
"PrettyPrint/OperatorDeclTests.swift",
"PrettyPrint/ParameterPackTests.swift",
"PrettyPrint/ParenthesizedExprTests.swift",
"PrettyPrint/PatternBindingTests.swift",
"PrettyPrint/PrettyPrintTestCase.swift",
"PrettyPrint/ProtocolDeclTests.swift",
"PrettyPrint/RepeatStmtTests.swift",
"PrettyPrint/RespectsExistingLineBreaksTests.swift",
"PrettyPrint/SelectionTests.swift",
"PrettyPrint/SemicolonTests.swift",
"PrettyPrint/StringTests.swift",
"PrettyPrint/StructDeclTests.swift",
"PrettyPrint/SubscriptDeclTests.swift",
"PrettyPrint/SubscriptExprTests.swift",
"PrettyPrint/SwitchCaseIndentConfigTests.swift",
"PrettyPrint/SwitchStmtTests.swift",
"PrettyPrint/TernaryExprTests.swift",
"PrettyPrint/TupleDeclTests.swift",
"PrettyPrint/TypeAliasTests.swift",
"PrettyPrint/ValueGenericsTests.swift",
"PrettyPrint/VariableDeclTests.swift",
"PrettyPrint/WhileStmtTests.swift",
"PrettyPrint/WhitespaceLintTests.swift",
"PrettyPrint/WhitespaceTestCase.swift",
"PrettyPrint/YieldStmtTests.swift",
"Rules/AllPublicDeclarationsHaveDocumentationTests.swift",
"Rules/AlwaysUseLiteralForEmptyCollectionInitTests.swift",
"Rules/AlwaysUseLowerCamelCaseTests.swift",
"Rules/AmbiguousTrailingClosureOverloadTests.swift",
"Rules/AvoidRetroactiveConformancesTests.swift",
"Rules/BeginDocumentationCommentWithOneLineSummaryTests.swift",
"Rules/DoNotUseSemicolonsTests.swift",
"Rules/DontRepeatTypeInStaticPropertiesTests.swift",
"Rules/FileScopedDeclarationPrivacyTests.swift",
"Rules/FullyIndirectEnumTests.swift",
"Rules/GroupNumericLiteralsTests.swift",
"Rules/IdentifiersMustBeASCIITests.swift",
"Rules/ImportsXCTestVisitorTests.swift",
"Rules/LintOrFormatRuleTestCase.swift",
"Rules/NeverForceUnwrapTests.swift",
"Rules/NeverUseForceTryTests.swift",
"Rules/NeverUseImplicitlyUnwrappedOptionalsTests.swift",
"Rules/NoAccessLevelOnExtensionDeclarationTests.swift",
"Rules/NoAssignmentInExpressionsTests.swift",
"Rules/NoBlockCommentsTests.swift",
"Rules/NoCasesWithOnlyFallthroughTests.swift",
"Rules/NoEmptyLinesOpeningClosingBracesTests.swift",
"Rules/NoEmptyTrailingClosureParenthesesTests.swift",
"Rules/NoLabelsInCasePatternsTests.swift",
"Rules/NoLeadingUnderscoresTests.swift",
"Rules/NoParensAroundConditionsTests.swift",
"Rules/NoPlaygroundLiteralsTests.swift",
"Rules/NoVoidReturnOnFunctionSignatureTests.swift",
"Rules/OmitReturnsTests.swift",
"Rules/OneCasePerLineTests.swift",
"Rules/OneVariableDeclarationPerLineTests.swift",
"Rules/OnlyOneTrailingClosureArgumentTests.swift",
"Rules/OrderedImportsTests.swift",
"Rules/ReplaceForEachWithForLoopTests.swift",
"Rules/ReturnVoidInsteadOfEmptyTupleTests.swift",
"Rules/TypeNamesShouldBeCapitalizedTests.swift",
"Rules/UseEarlyExitsTests.swift",
"Rules/UseExplicitNilCheckInConditionsTests.swift",
"Rules/UseLetInEveryBoundCaseVariableTests.swift",
"Rules/UseShorthandTypeNamesTests.swift",
"Rules/UseSingleLinePropertyGetterTests.swift",
"Rules/UseSynthesizedInitializerTests.swift",
"Rules/UseTripleSlashForDocumentationCommentsTests.swift",
"Rules/UseWhereClausesInForLoopsTests.swift",
"Rules/ValidateDocumentationCommentsTests.swift",
"Utilities/FileIteratorTests.swift",
"Utilities/GeneratedFilesValidityTests.swift"
],
"target_dependencies" : [
"SwiftFormat",
"_SwiftFormatTestSupport",
"_GenerateSwiftFormat"
],
"type" : "test"
},
{
"c99name" : "SwiftFormatPerformanceTests",
"module_type" : "SwiftTarget",
"name" : "SwiftFormatPerformanceTests",
"path" : "Tests/SwiftFormatPerformanceTests",
"product_dependencies" : [
"SwiftParser",
"SwiftSyntax"
],
"sources" : [
"WhitespaceLinterPerformanceTests.swift"
],
"target_dependencies" : [
"SwiftFormat",
"_SwiftFormatTestSupport"
],
"type" : "test"
},
{
"c99name" : "SwiftFormat",
"module_type" : "SwiftTarget",
"name" : "SwiftFormat",
"path" : "Sources/SwiftFormat",
"product_dependencies" : [
"Markdown",
"SwiftOperators",
"SwiftParser",
"SwiftParserDiagnostics",
"SwiftSyntax",
"SwiftSyntaxBuilder"
],
"product_memberships" : [
"swift-format",
"SwiftFormat",
"FormatPlugin",
"LintPlugin",
"generate-swift-format"
],
"sources" : [
"API/Configuration+Default.swift",
"API/Configuration+Dump.swift",
"API/Configuration.swift",
"API/DebugOptions.swift",
"API/Finding.swift",
"API/FindingCategorizing.swift",
"API/Indent.swift",
"API/Selection.swift",
"API/SwiftFormatError.swift",
"API/SwiftFormatter.swift",
"API/SwiftLinter.swift",
"Core/Context.swift",
"Core/DocumentationComment.swift",
"Core/DocumentationCommentText.swift",
"Core/Finding+Convenience.swift",
"Core/FindingEmitter.swift",
"Core/FormatPipeline.swift",
"Core/FunctionDeclSyntax+Convenience.swift",
"Core/ImportsXCTestVisitor.swift",
"Core/LazySplitSequence.swift",
"Core/LintPipeline.swift",
"Core/ModifierListSyntax+Convenience.swift",
"Core/Parsing.swift",
"Core/Pipelines+Generated.swift",
"Core/RememberingIterator.swift",
"Core/Rule.swift",
"Core/RuleBasedFindingCategory.swift",
"Core/RuleMask.swift",
"Core/RuleNameCache+Generated.swift",
"Core/RuleRegistry+Generated.swift",
"Core/RuleState.swift",
"Core/SyntaxFormatRule.swift",
"Core/SyntaxLintRule.swift",
"Core/SyntaxProtocol+Convenience.swift",
"Core/SyntaxTraits.swift",
"Core/Trivia+Convenience.swift",
"Core/WithAttributesSyntax+Convenience.swift",
"Core/WithSemicolonSyntax.swift",
"PrettyPrint/Comment.swift",
"PrettyPrint/Indent+Length.swift",
"PrettyPrint/PrettyPrint.swift",
"PrettyPrint/PrettyPrintBuffer.swift",
"PrettyPrint/PrettyPrintFindingCategory.swift",
"PrettyPrint/Token.swift",
"PrettyPrint/TokenStreamCreator.swift",
"PrettyPrint/Verbatim.swift",
"PrettyPrint/WhitespaceFindingCategory.swift",
"PrettyPrint/WhitespaceLinter.swift",
"Rules/AllPublicDeclarationsHaveDocumentation.swift",
"Rules/AlwaysUseLiteralForEmptyCollectionInit.swift",
"Rules/AlwaysUseLowerCamelCase.swift",
"Rules/AmbiguousTrailingClosureOverload.swift",
"Rules/AvoidRetroactiveConformances.swift",
"Rules/BeginDocumentationCommentWithOneLineSummary.swift",
"Rules/DoNotUseSemicolons.swift",
"Rules/DontRepeatTypeInStaticProperties.swift",
"Rules/FileScopedDeclarationPrivacy.swift",
"Rules/FullyIndirectEnum.swift",
"Rules/GroupNumericLiterals.swift",
"Rules/IdentifiersMustBeASCII.swift",
"Rules/NeverForceUnwrap.swift",
"Rules/NeverUseForceTry.swift",
"Rules/NeverUseImplicitlyUnwrappedOptionals.swift",
"Rules/NoAccessLevelOnExtensionDeclaration.swift",
"Rules/NoAssignmentInExpressions.swift",
"Rules/NoBlockComments.swift",
"Rules/NoCasesWithOnlyFallthrough.swift",
"Rules/NoEmptyLineOpeningClosingBraces.swift",
"Rules/NoEmptyTrailingClosureParentheses.swift",
"Rules/NoLabelsInCasePatterns.swift",
"Rules/NoLeadingUnderscores.swift",
"Rules/NoParensAroundConditions.swift",
"Rules/NoPlaygroundLiterals.swift",
"Rules/NoVoidReturnOnFunctionSignature.swift",
"Rules/OmitExplicitReturns.swift",
"Rules/OneCasePerLine.swift",
"Rules/OneVariableDeclarationPerLine.swift",
"Rules/OnlyOneTrailingClosureArgument.swift",
"Rules/OrderedImports.swift",
"Rules/ReplaceForEachWithForLoop.swift",
"Rules/ReturnVoidInsteadOfEmptyTuple.swift",
"Rules/TypeNamesShouldBeCapitalized.swift",
"Rules/UseEarlyExits.swift",
"Rules/UseExplicitNilCheckInConditions.swift",
"Rules/UseLetInEveryBoundCaseVariable.swift",
"Rules/UseShorthandTypeNames.swift",
"Rules/UseSingleLinePropertyGetter.swift",
"Rules/UseSynthesizedInitializer.swift",
"Rules/UseTripleSlashForDocumentationComments.swift",
"Rules/UseWhereClausesInForLoops.swift",
"Rules/ValidateDocumentationComments.swift",
"Utilities/FileIterator.swift",
"Utilities/URL+isRoot.swift"
],
"type" : "library"
},
{
"c99name" : "Lint_Source_Code",
"module_type" : "PluginTarget",
"name" : "Lint Source Code",
"path" : "Plugins/LintPlugin",
"plugin_capability" : {
"intent" : {
"description" : "Lint source code for a specified target.",
"type" : "custom",
"verb" : "lint-source-code"
},
"permissions" : [
],
"type" : "command"
},
"product_memberships" : [
"LintPlugin"
],
"sources" : [
"plugin.swift"
],
"target_dependencies" : [
"swift-format"
],
"type" : "plugin"
},
{
"c99name" : "Format_Source_Code",
"module_type" : "PluginTarget",
"name" : "Format Source Code",
"path" : "Plugins/FormatPlugin",
"plugin_capability" : {
"intent" : {
"type" : "sourceCodeFormatting"
},
"permissions" : [
{
"network_scope" : {
"none" : {
}
},
"reason" : "This command formats the Swift source files",
"type" : "writeToPackageDirectory"
}
],
"type" : "command"
},
"product_memberships" : [
"FormatPlugin"
],
"sources" : [
"plugin.swift"
],
"target_dependencies" : [
"swift-format"
],
"type" : "plugin"
}
],
"tools_version" : "6.0"
}
Done.