Build Information
Successful build of swift-format, reference 0.50800.0 (e725e5
), with Swift 6.0 for Linux on 4 Nov 2024 01:53:05 UTC.
Swift 6 data race errors: 33
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
114 | public static let moveAssignmentToOwnStatement: Finding.Message =
| |- note: annotate 'moveAssignmentToOwnStatement' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
115 | "move assignment expression into its own statement"
116 | }
/host/spi-builder-workspace/Sources/SwiftFormatRules/NoBlockComments.swift:32:21: 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
30 |
31 | extension Finding.Message {
32 | public 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
33 | "replace block comment with line comments"
34 | }
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding.swift:46:17: note: struct 'Message' does not conform to the 'Sendable' protocol
44 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
45 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
46 | public struct Message:
| `- note: struct 'Message' does not conform to the 'Sendable' protocol
47 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
48 | {
/host/spi-builder-workspace/Sources/SwiftFormatRules/NoBlockComments.swift:13:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import SwiftFormatCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
14 | import SwiftSyntax
15 |
:
30 |
31 | extension Finding.Message {
32 | public static let avoidBlockComment: Finding.Message =
| |- note: annotate 'avoidBlockComment' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | "replace block comment with line comments"
34 | }
[438/467] Compiling SwiftFormatRules NoLabelsInCasePatterns.swift
/host/spi-builder-workspace/Sources/SwiftFormatRules/NoAssignmentInExpressions.swift:114:21: 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
112 |
113 | extension Finding.Message {
114 | public 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
115 | "move assignment expression into its own statement"
116 | }
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding.swift:46:17: note: struct 'Message' does not conform to the 'Sendable' protocol
44 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
45 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
46 | public struct Message:
| `- note: struct 'Message' does not conform to the 'Sendable' protocol
47 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
48 | {
/host/spi-builder-workspace/Sources/SwiftFormatRules/NoAssignmentInExpressions.swift:13:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import SwiftFormatCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
14 | import SwiftSyntax
15 |
:
112 |
113 | extension Finding.Message {
114 | public static let moveAssignmentToOwnStatement: Finding.Message =
| |- note: annotate 'moveAssignmentToOwnStatement' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
115 | "move assignment expression into its own statement"
116 | }
/host/spi-builder-workspace/Sources/SwiftFormatRules/NoBlockComments.swift:32:21: 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
30 |
31 | extension Finding.Message {
32 | public 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
33 | "replace block comment with line comments"
34 | }
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding.swift:46:17: note: struct 'Message' does not conform to the 'Sendable' protocol
44 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
45 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
46 | public struct Message:
| `- note: struct 'Message' does not conform to the 'Sendable' protocol
47 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
48 | {
/host/spi-builder-workspace/Sources/SwiftFormatRules/NoBlockComments.swift:13:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import SwiftFormatCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
14 | import SwiftSyntax
15 |
:
30 |
31 | extension Finding.Message {
32 | public static let avoidBlockComment: Finding.Message =
| |- note: annotate 'avoidBlockComment' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | "replace block comment with line comments"
34 | }
[439/467] Compiling SwiftFormatRules IdentifiersMustBeASCII.swift
/host/spi-builder-workspace/Sources/SwiftFormatRules/NeverUseForceTry.swift:47:21: 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
45 |
46 | extension Finding.Message {
47 | public 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
48 | }
49 |
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding.swift:46:17: note: struct 'Message' does not conform to the 'Sendable' protocol
44 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
45 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
46 | public struct Message:
| `- note: struct 'Message' does not conform to the 'Sendable' protocol
47 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
48 | {
/host/spi-builder-workspace/Sources/SwiftFormatRules/NeverUseForceTry.swift:13:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import SwiftFormatCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
14 | import SwiftSyntax
15 |
:
45 |
46 | extension Finding.Message {
47 | public static let doNotForceTry: Finding.Message = "do not use force try"
| |- note: annotate 'doNotForceTry' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | }
49 |
[440/467] Compiling SwiftFormatRules ImportsXCTestVisitor.swift
/host/spi-builder-workspace/Sources/SwiftFormatRules/NeverUseForceTry.swift:47:21: 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
45 |
46 | extension Finding.Message {
47 | public 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
48 | }
49 |
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding.swift:46:17: note: struct 'Message' does not conform to the 'Sendable' protocol
44 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
45 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
46 | public struct Message:
| `- note: struct 'Message' does not conform to the 'Sendable' protocol
47 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
48 | {
/host/spi-builder-workspace/Sources/SwiftFormatRules/NeverUseForceTry.swift:13:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import SwiftFormatCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
14 | import SwiftSyntax
15 |
:
45 |
46 | extension Finding.Message {
47 | public static let doNotForceTry: Finding.Message = "do not use force try"
| |- note: annotate 'doNotForceTry' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | }
49 |
[441/467] Compiling SwiftFormatRules ModifierListSyntax+Convenience.swift
/host/spi-builder-workspace/Sources/SwiftFormatRules/NeverUseForceTry.swift:47:21: 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
45 |
46 | extension Finding.Message {
47 | public 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
48 | }
49 |
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding.swift:46:17: note: struct 'Message' does not conform to the 'Sendable' protocol
44 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
45 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
46 | public struct Message:
| `- note: struct 'Message' does not conform to the 'Sendable' protocol
47 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
48 | {
/host/spi-builder-workspace/Sources/SwiftFormatRules/NeverUseForceTry.swift:13:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import SwiftFormatCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
14 | import SwiftSyntax
15 |
:
45 |
46 | extension Finding.Message {
47 | public static let doNotForceTry: Finding.Message = "do not use force try"
| |- note: annotate 'doNotForceTry' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | }
49 |
[442/467] Compiling SwiftFormatRules NeverForceUnwrap.swift
/host/spi-builder-workspace/Sources/SwiftFormatRules/NeverUseForceTry.swift:47:21: 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
45 |
46 | extension Finding.Message {
47 | public 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
48 | }
49 |
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding.swift:46:17: note: struct 'Message' does not conform to the 'Sendable' protocol
44 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
45 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
46 | public struct Message:
| `- note: struct 'Message' does not conform to the 'Sendable' protocol
47 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
48 | {
/host/spi-builder-workspace/Sources/SwiftFormatRules/NeverUseForceTry.swift:13:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import SwiftFormatCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
14 | import SwiftSyntax
15 |
:
45 |
46 | extension Finding.Message {
47 | public static let doNotForceTry: Finding.Message = "do not use force try"
| |- note: annotate 'doNotForceTry' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | }
49 |
[443/467] Compiling SwiftFormatRules NeverUseForceTry.swift
/host/spi-builder-workspace/Sources/SwiftFormatRules/NeverUseForceTry.swift:47:21: 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
45 |
46 | extension Finding.Message {
47 | public 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
48 | }
49 |
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding.swift:46:17: note: struct 'Message' does not conform to the 'Sendable' protocol
44 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
45 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
46 | public struct Message:
| `- note: struct 'Message' does not conform to the 'Sendable' protocol
47 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
48 | {
/host/spi-builder-workspace/Sources/SwiftFormatRules/NeverUseForceTry.swift:13:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import SwiftFormatCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
14 | import SwiftSyntax
15 |
:
45 |
46 | extension Finding.Message {
47 | public static let doNotForceTry: Finding.Message = "do not use force try"
| |- note: annotate 'doNotForceTry' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | }
49 |
[444/467] Compiling SwiftFormatRules NeverUseImplicitlyUnwrappedOptionals.swift
/host/spi-builder-workspace/Sources/SwiftFormatRules/NeverUseForceTry.swift:47:21: 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
45 |
46 | extension Finding.Message {
47 | public 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
48 | }
49 |
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding.swift:46:17: note: struct 'Message' does not conform to the 'Sendable' protocol
44 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
45 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
46 | public struct Message:
| `- note: struct 'Message' does not conform to the 'Sendable' protocol
47 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
48 | {
/host/spi-builder-workspace/Sources/SwiftFormatRules/NeverUseForceTry.swift:13:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import SwiftFormatCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
14 | import SwiftSyntax
15 |
:
45 |
46 | extension Finding.Message {
47 | public static let doNotForceTry: Finding.Message = "do not use force try"
| |- note: annotate 'doNotForceTry' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | }
49 |
[445/467] Emitting module SwiftFormatRules
/host/spi-builder-workspace/Sources/SwiftFormatRules/BeginDocumentationCommentWithOneLineSummary.swift:27:21: warning: static property '_forcesFallbackModeForTesting' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | ///
26 | /// This allows test runs on those platforms to test both implementations.
27 | public static var _forcesFallbackModeForTesting = false
| |- warning: static property '_forcesFallbackModeForTesting' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_forcesFallbackModeForTesting' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_forcesFallbackModeForTesting' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /// Identifies this rule as being opt-in. Well written docs on declarations are important, but
/host/spi-builder-workspace/Sources/SwiftFormatRules/DoNotUseSemicolons.swift:111:21: warning: static property 'removeSemicolon' 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
109 |
110 | extension Finding.Message {
111 | public static let removeSemicolon: Finding.Message = "remove ';'"
| `- warning: static property 'removeSemicolon' 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
112 |
113 | public static let removeSemicolonAndMove: Finding.Message =
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding.swift:46:17: note: struct 'Message' does not conform to the 'Sendable' protocol
44 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
45 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
46 | public struct Message:
| `- note: struct 'Message' does not conform to the 'Sendable' protocol
47 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
48 | {
/host/spi-builder-workspace/Sources/SwiftFormatRules/DoNotUseSemicolons.swift:13:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import SwiftFormatCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
14 | import SwiftSyntax
15 |
:
109 |
110 | extension Finding.Message {
111 | public static let removeSemicolon: Finding.Message = "remove ';'"
| |- note: annotate 'removeSemicolon' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 |
113 | public static let removeSemicolonAndMove: Finding.Message =
/host/spi-builder-workspace/Sources/SwiftFormatRules/DoNotUseSemicolons.swift:113:21: warning: static property 'removeSemicolonAndMove' 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
111 | public static let removeSemicolon: Finding.Message = "remove ';'"
112 |
113 | public static let removeSemicolonAndMove: Finding.Message =
| |- warning: static property 'removeSemicolonAndMove' 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: annotate 'removeSemicolonAndMove' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
114 | "remove ';' and move the next statement to a new line"
115 | }
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding.swift:46:17: note: struct 'Message' does not conform to the 'Sendable' protocol
44 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
45 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
46 | public struct Message:
| `- note: struct 'Message' does not conform to the 'Sendable' protocol
47 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
48 | {
/host/spi-builder-workspace/Sources/SwiftFormatRules/FileScopedDeclarationPrivacy.swift:173:21: warning: static property 'replacePrivateWithFileprivate' 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
171 |
172 | extension Finding.Message {
173 | public static let replacePrivateWithFileprivate: Finding.Message =
| `- warning: static property 'replacePrivateWithFileprivate' 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
174 | "replace 'private' with 'fileprivate' on file-scoped declarations"
175 |
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding.swift:46:17: note: struct 'Message' does not conform to the 'Sendable' protocol
44 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
45 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
46 | public struct Message:
| `- note: struct 'Message' does not conform to the 'Sendable' protocol
47 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
48 | {
/host/spi-builder-workspace/Sources/SwiftFormatRules/FileScopedDeclarationPrivacy.swift:13:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import SwiftFormatCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
14 | import SwiftSyntax
15 |
:
171 |
172 | extension Finding.Message {
173 | public static let replacePrivateWithFileprivate: Finding.Message =
| |- note: annotate 'replacePrivateWithFileprivate' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 | "replace 'private' with 'fileprivate' on file-scoped declarations"
175 |
/host/spi-builder-workspace/Sources/SwiftFormatRules/FileScopedDeclarationPrivacy.swift:176:21: warning: static property 'replaceFileprivateWithPrivate' 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
174 | "replace 'private' with 'fileprivate' on file-scoped declarations"
175 |
176 | public static let replaceFileprivateWithPrivate: Finding.Message =
| |- warning: static property 'replaceFileprivateWithPrivate' 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: annotate 'replaceFileprivateWithPrivate' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
177 | "replace 'fileprivate' with 'private' on file-scoped declarations"
178 | }
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding.swift:46:17: note: struct 'Message' does not conform to the 'Sendable' protocol
44 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
45 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
46 | public struct Message:
| `- note: struct 'Message' does not conform to the 'Sendable' protocol
47 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
48 | {
/host/spi-builder-workspace/Sources/SwiftFormatRules/NeverUseForceTry.swift:47:21: 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
45 |
46 | extension Finding.Message {
47 | public 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
48 | }
49 |
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding.swift:46:17: note: struct 'Message' does not conform to the 'Sendable' protocol
44 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
45 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
46 | public struct Message:
| `- note: struct 'Message' does not conform to the 'Sendable' protocol
47 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
48 | {
/host/spi-builder-workspace/Sources/SwiftFormatRules/NeverUseForceTry.swift:13:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import SwiftFormatCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
14 | import SwiftSyntax
15 |
:
45 |
46 | extension Finding.Message {
47 | public static let doNotForceTry: Finding.Message = "do not use force try"
| |- note: annotate 'doNotForceTry' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | }
49 |
/host/spi-builder-workspace/Sources/SwiftFormatRules/NoAssignmentInExpressions.swift:114:21: 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
112 |
113 | extension Finding.Message {
114 | public 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
115 | "move assignment expression into its own statement"
116 | }
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding.swift:46:17: note: struct 'Message' does not conform to the 'Sendable' protocol
44 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
45 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
46 | public struct Message:
| `- note: struct 'Message' does not conform to the 'Sendable' protocol
47 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
48 | {
/host/spi-builder-workspace/Sources/SwiftFormatRules/NoAssignmentInExpressions.swift:13:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import SwiftFormatCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
14 | import SwiftSyntax
15 |
:
112 |
113 | extension Finding.Message {
114 | public static let moveAssignmentToOwnStatement: Finding.Message =
| |- note: annotate 'moveAssignmentToOwnStatement' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
115 | "move assignment expression into its own statement"
116 | }
/host/spi-builder-workspace/Sources/SwiftFormatRules/NoBlockComments.swift:32:21: 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
30 |
31 | extension Finding.Message {
32 | public 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
33 | "replace block comment with line comments"
34 | }
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding.swift:46:17: note: struct 'Message' does not conform to the 'Sendable' protocol
44 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
45 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
46 | public struct Message:
| `- note: struct 'Message' does not conform to the 'Sendable' protocol
47 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
48 | {
/host/spi-builder-workspace/Sources/SwiftFormatRules/NoBlockComments.swift:13:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import SwiftFormatCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
14 | import SwiftSyntax
15 |
:
30 |
31 | extension Finding.Message {
32 | public static let avoidBlockComment: Finding.Message =
| |- note: annotate 'avoidBlockComment' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | "replace block comment with line comments"
34 | }
/host/spi-builder-workspace/Sources/SwiftFormatRules/NoParensAroundConditions.swift:100:21: warning: static property 'removeParensAroundExpression' 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
98 |
99 | extension Finding.Message {
100 | public static let removeParensAroundExpression: Finding.Message =
| `- warning: static property 'removeParensAroundExpression' 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
101 | "remove parentheses around this expression"
102 | }
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding.swift:46:17: note: struct 'Message' does not conform to the 'Sendable' protocol
44 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
45 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
46 | public struct Message:
| `- note: struct 'Message' does not conform to the 'Sendable' protocol
47 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
48 | {
/host/spi-builder-workspace/Sources/SwiftFormatRules/NoParensAroundConditions.swift:13:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import SwiftFormatCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
14 | import SwiftSyntax
15 |
:
98 |
99 | extension Finding.Message {
100 | public static let removeParensAroundExpression: Finding.Message =
| |- note: annotate 'removeParensAroundExpression' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 | "remove parentheses around this expression"
102 | }
/host/spi-builder-workspace/Sources/SwiftFormatRules/OneVariableDeclarationPerLine.swift:78:21: warning: static property 'onlyOneVariableDeclaration' 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
76 |
77 | extension Finding.Message {
78 | public static let onlyOneVariableDeclaration: Finding.Message =
| `- warning: static property 'onlyOneVariableDeclaration' 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
79 | "split this variable declaration to have one variable per declaration"
80 | }
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding.swift:46:17: note: struct 'Message' does not conform to the 'Sendable' protocol
44 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
45 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
46 | public struct Message:
| `- note: struct 'Message' does not conform to the 'Sendable' protocol
47 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
48 | {
/host/spi-builder-workspace/Sources/SwiftFormatRules/OneVariableDeclarationPerLine.swift:13:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import SwiftFormatCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
14 | import SwiftSyntax
15 |
:
76 |
77 | extension Finding.Message {
78 | public static let onlyOneVariableDeclaration: Finding.Message =
| |- note: annotate 'onlyOneVariableDeclaration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 | "split this variable declaration to have one variable per declaration"
80 | }
/host/spi-builder-workspace/Sources/SwiftFormatRules/OnlyOneTrailingClosureArgument.swift:33:21: 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 | public 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
34 | "revise function call to avoid using both closure arguments and a trailing closure"
35 | }
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding.swift:46:17: note: struct 'Message' does not conform to the 'Sendable' protocol
44 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
45 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
46 | public struct Message:
| `- note: struct 'Message' does not conform to the 'Sendable' protocol
47 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
48 | {
/host/spi-builder-workspace/Sources/SwiftFormatRules/OnlyOneTrailingClosureArgument.swift:13:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import SwiftFormatCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
14 | import SwiftSyntax
15 |
:
31 |
32 | extension Finding.Message {
33 | public static let removeTrailingClosure: Finding.Message =
| |- note: annotate 'removeTrailingClosure' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | "revise function call to avoid using both closure arguments and a trailing closure"
35 | }
/host/spi-builder-workspace/Sources/SwiftFormatRules/OrderedImports.swift:579:21: 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
577 |
578 | extension Finding.Message {
579 | public 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
580 |
581 | public static func groupImports(before: LineType, after: LineType) -> Finding.Message {
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding.swift:46:17: note: struct 'Message' does not conform to the 'Sendable' protocol
44 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
45 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
46 | public struct Message:
| `- note: struct 'Message' does not conform to the 'Sendable' protocol
47 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
48 | {
/host/spi-builder-workspace/Sources/SwiftFormatRules/OrderedImports.swift:13:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import SwiftFormatCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
14 | import SwiftSyntax
15 |
:
577 |
578 | extension Finding.Message {
579 | public static let placeAtTopOfFile: Finding.Message = "place imports at the top of the file"
| |- note: annotate 'placeAtTopOfFile' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
580 |
581 | public static func groupImports(before: LineType, after: LineType) -> Finding.Message {
/host/spi-builder-workspace/Sources/SwiftFormatRules/OrderedImports.swift:585:21: 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
583 | }
584 |
585 | public static let removeDuplicateImport: Finding.Message = "remove 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: annotate 'removeDuplicateImport' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
586 |
587 | public static let sortImports: Finding.Message = "sort import statements lexicographically"
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding.swift:46:17: note: struct 'Message' does not conform to the 'Sendable' protocol
44 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
45 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
46 | public struct Message:
| `- note: struct 'Message' does not conform to the 'Sendable' protocol
47 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
48 | {
/host/spi-builder-workspace/Sources/SwiftFormatRules/OrderedImports.swift:587:21: 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
585 | public static let removeDuplicateImport: Finding.Message = "remove duplicate import"
586 |
587 | public 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: annotate 'sortImports' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
588 | }
589 |
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding.swift:46:17: note: struct 'Message' does not conform to the 'Sendable' protocol
44 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
45 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
46 | public struct Message:
| `- note: struct 'Message' does not conform to the 'Sendable' protocol
47 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
48 | {
/host/spi-builder-workspace/Sources/SwiftFormatRules/ReturnVoidInsteadOfEmptyTuple.swift:112:21: 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
110 |
111 | extension Finding.Message {
112 | public 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
113 | }
114 |
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding.swift:46:17: note: struct 'Message' does not conform to the 'Sendable' protocol
44 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
45 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
46 | public struct Message:
| `- note: struct 'Message' does not conform to the 'Sendable' protocol
47 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
48 | {
/host/spi-builder-workspace/Sources/SwiftFormatRules/ReturnVoidInsteadOfEmptyTuple.swift:13:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import SwiftFormatCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
14 | import SwiftSyntax
15 |
:
110 |
111 | extension Finding.Message {
112 | public static let returnVoid: Finding.Message = "replace '()' with 'Void'"
| |- note: annotate 'returnVoid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 | }
114 |
/host/spi-builder-workspace/Sources/SwiftFormatRules/UseEarlyExits.swift:109:21: 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
107 |
108 | extension Finding.Message {
109 | public 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
110 | "replace the `if/else` block with a `guard` statement containing the early exit"
111 | }
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding.swift:46:17: note: struct 'Message' does not conform to the 'Sendable' protocol
44 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
45 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
46 | public struct Message:
| `- note: struct 'Message' does not conform to the 'Sendable' protocol
47 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
48 | {
/host/spi-builder-workspace/Sources/SwiftFormatRules/UseEarlyExits.swift:13:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import SwiftFormatCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
14 | import SwiftSyntax
15 |
:
107 |
108 | extension Finding.Message {
109 | public static let useGuardStatement: Finding.Message =
| |- note: annotate 'useGuardStatement' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 | "replace the `if/else` block with a `guard` statement containing the early exit"
111 | }
/host/spi-builder-workspace/Sources/SwiftFormatRules/UseLetInEveryBoundCaseVariable.swift:69:21: warning: static property 'useLetInBoundCaseVariables' 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
67 |
68 | extension Finding.Message {
69 | public static let useLetInBoundCaseVariables: Finding.Message =
| `- warning: static property 'useLetInBoundCaseVariables' 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
70 | "move 'let' keyword to precede each variable bound in the `case` pattern"
71 | }
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding.swift:46:17: note: struct 'Message' does not conform to the 'Sendable' protocol
44 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
45 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
46 | public struct Message:
| `- note: struct 'Message' does not conform to the 'Sendable' protocol
47 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
48 | {
/host/spi-builder-workspace/Sources/SwiftFormatRules/UseLetInEveryBoundCaseVariable.swift:13:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import SwiftFormatCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
14 | import SwiftSyntax
15 |
:
67 |
68 | extension Finding.Message {
69 | public static let useLetInBoundCaseVariables: Finding.Message =
| |- note: annotate 'useLetInBoundCaseVariables' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | "move 'let' keyword to precede each variable bound in the `case` pattern"
71 | }
/host/spi-builder-workspace/Sources/SwiftFormatRules/UseSingleLinePropertyGetter.swift:46:21: warning: static property 'removeExtraneousGetBlock' 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
44 |
45 | extension Finding.Message {
46 | public static let removeExtraneousGetBlock: Finding.Message =
| `- warning: static property 'removeExtraneousGetBlock' 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
47 | "remove extraneous 'get {}' block"
48 | }
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding.swift:46:17: note: struct 'Message' does not conform to the 'Sendable' protocol
44 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
45 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
46 | public struct Message:
| `- note: struct 'Message' does not conform to the 'Sendable' protocol
47 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
48 | {
/host/spi-builder-workspace/Sources/SwiftFormatRules/UseSingleLinePropertyGetter.swift:13:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import SwiftFormatCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
14 | import SwiftSyntax
15 |
:
44 |
45 | extension Finding.Message {
46 | public static let removeExtraneousGetBlock: Finding.Message =
| |- note: annotate 'removeExtraneousGetBlock' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | "remove extraneous 'get {}' block"
48 | }
/host/spi-builder-workspace/Sources/SwiftFormatRules/UseSynthesizedInitializer.swift:189:21: warning: static property 'removeRedundantInitializer' 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
187 |
188 | extension Finding.Message {
189 | public static let removeRedundantInitializer: Finding.Message =
| `- warning: static property 'removeRedundantInitializer' 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
190 | "remove initializer and use the synthesized initializer"
191 | }
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding.swift:46:17: note: struct 'Message' does not conform to the 'Sendable' protocol
44 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
45 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
46 | public struct Message:
| `- note: struct 'Message' does not conform to the 'Sendable' protocol
47 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
48 | {
/host/spi-builder-workspace/Sources/SwiftFormatRules/UseSynthesizedInitializer.swift:14:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
12 |
13 | import Foundation
14 | import SwiftFormatCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
15 | import SwiftSyntax
16 |
:
187 |
188 | extension Finding.Message {
189 | public static let removeRedundantInitializer: Finding.Message =
| |- note: annotate 'removeRedundantInitializer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
190 | "remove initializer and use the synthesized initializer"
191 | }
/host/spi-builder-workspace/Sources/SwiftFormatRules/UseTripleSlashForDocumentationComments.swift:129:21: warning: static property 'avoidDocBlockComment' 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
127 |
128 | extension Finding.Message {
129 | public static let avoidDocBlockComment: Finding.Message =
| `- warning: static property 'avoidDocBlockComment' 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
130 | "replace documentation block comments with documentation line comments"
131 | }
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding.swift:46:17: note: struct 'Message' does not conform to the 'Sendable' protocol
44 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
45 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
46 | public struct Message:
| `- note: struct 'Message' does not conform to the 'Sendable' protocol
47 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
48 | {
/host/spi-builder-workspace/Sources/SwiftFormatRules/UseTripleSlashForDocumentationComments.swift:14:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
12 |
13 | import Foundation
14 | import SwiftFormatCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
15 | import SwiftSyntax
16 |
:
127 |
128 | extension Finding.Message {
129 | public static let avoidDocBlockComment: Finding.Message =
| |- note: annotate 'avoidDocBlockComment' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
130 | "replace documentation block comments with documentation line comments"
131 | }
/host/spi-builder-workspace/Sources/SwiftFormatRules/UseWhereClausesInForLoops.swift:119:21: warning: static property 'useWhereInsteadOfIf' 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
117 |
118 | extension Finding.Message {
119 | public static let useWhereInsteadOfIf: Finding.Message =
| `- warning: static property 'useWhereInsteadOfIf' 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
120 | "replace this 'if' statement with a 'where' clause"
121 |
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding.swift:46:17: note: struct 'Message' does not conform to the 'Sendable' protocol
44 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
45 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
46 | public struct Message:
| `- note: struct 'Message' does not conform to the 'Sendable' protocol
47 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
48 | {
/host/spi-builder-workspace/Sources/SwiftFormatRules/UseWhereClausesInForLoops.swift:13:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import SwiftFormatCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
14 | import SwiftSyntax
15 |
:
117 |
118 | extension Finding.Message {
119 | public static let useWhereInsteadOfIf: Finding.Message =
| |- note: annotate 'useWhereInsteadOfIf' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 | "replace this 'if' statement with a 'where' clause"
121 |
/host/spi-builder-workspace/Sources/SwiftFormatRules/UseWhereClausesInForLoops.swift:122:21: warning: static property 'useWhereInsteadOfGuard' 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
120 | "replace this 'if' statement with a 'where' clause"
121 |
122 | public static let useWhereInsteadOfGuard: Finding.Message =
| |- warning: static property 'useWhereInsteadOfGuard' 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: annotate 'useWhereInsteadOfGuard' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 | "replace this 'guard' statement with a 'where' clause"
124 | }
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding.swift:46:17: note: struct 'Message' does not conform to the 'Sendable' protocol
44 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
45 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
46 | public struct Message:
| `- note: struct 'Message' does not conform to the 'Sendable' protocol
47 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
48 | {
/host/spi-builder-workspace/Sources/SwiftFormatRules/ValidateDocumentationComments.swift:174:21: warning: static property 'useSingularParameter' 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
172 | }
173 |
174 | public static let useSingularParameter: Finding.Message =
| `- warning: static property 'useSingularParameter' 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
175 | "replace the plural form of 'Parameters' with a singular inline form of the 'Parameter' tag"
176 |
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding.swift:46:17: note: struct 'Message' does not conform to the 'Sendable' protocol
44 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
45 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
46 | public struct Message:
| `- note: struct 'Message' does not conform to the 'Sendable' protocol
47 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
48 | {
/host/spi-builder-workspace/Sources/SwiftFormatRules/ValidateDocumentationComments.swift:14:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
12 |
13 | import Foundation
14 | import SwiftFormatCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
15 | import SwiftSyntax
16 |
:
172 | }
173 |
174 | public static let useSingularParameter: Finding.Message =
| |- note: annotate 'useSingularParameter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
175 | "replace the plural form of 'Parameters' with a singular inline form of the 'Parameter' tag"
176 |
/host/spi-builder-workspace/Sources/SwiftFormatRules/ValidateDocumentationComments.swift:177:21: warning: static property 'usePluralParameters' 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
175 | "replace the plural form of 'Parameters' with a singular inline form of the 'Parameter' tag"
176 |
177 | public static let usePluralParameters: Finding.Message =
| |- warning: static property 'usePluralParameters' 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: annotate 'usePluralParameters' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
178 | """
179 | replace the singular inline form of 'Parameter' tag with a plural 'Parameters' tag \
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding.swift:46:17: note: struct 'Message' does not conform to the 'Sendable' protocol
44 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
45 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
46 | public struct Message:
| `- note: struct 'Message' does not conform to the 'Sendable' protocol
47 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
48 | {
[446/467] Compiling SwiftFormatRules AddModifierRewriter.swift
/host/spi-builder-workspace/Sources/SwiftFormatRules/BeginDocumentationCommentWithOneLineSummary.swift:27:21: warning: static property '_forcesFallbackModeForTesting' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | ///
26 | /// This allows test runs on those platforms to test both implementations.
27 | public static var _forcesFallbackModeForTesting = false
| |- warning: static property '_forcesFallbackModeForTesting' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_forcesFallbackModeForTesting' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_forcesFallbackModeForTesting' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /// Identifies this rule as being opt-in. Well written docs on declarations are important, but
[447/467] Compiling SwiftFormatRules AllPublicDeclarationsHaveDocumentation.swift
/host/spi-builder-workspace/Sources/SwiftFormatRules/BeginDocumentationCommentWithOneLineSummary.swift:27:21: warning: static property '_forcesFallbackModeForTesting' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | ///
26 | /// This allows test runs on those platforms to test both implementations.
27 | public static var _forcesFallbackModeForTesting = false
| |- warning: static property '_forcesFallbackModeForTesting' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_forcesFallbackModeForTesting' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_forcesFallbackModeForTesting' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /// Identifies this rule as being opt-in. Well written docs on declarations are important, but
[448/467] Compiling SwiftFormatRules AlwaysUseLowerCamelCase.swift
/host/spi-builder-workspace/Sources/SwiftFormatRules/BeginDocumentationCommentWithOneLineSummary.swift:27:21: warning: static property '_forcesFallbackModeForTesting' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | ///
26 | /// This allows test runs on those platforms to test both implementations.
27 | public static var _forcesFallbackModeForTesting = false
| |- warning: static property '_forcesFallbackModeForTesting' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_forcesFallbackModeForTesting' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_forcesFallbackModeForTesting' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /// Identifies this rule as being opt-in. Well written docs on declarations are important, but
[449/467] Compiling SwiftFormatRules AmbiguousTrailingClosureOverload.swift
/host/spi-builder-workspace/Sources/SwiftFormatRules/BeginDocumentationCommentWithOneLineSummary.swift:27:21: warning: static property '_forcesFallbackModeForTesting' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | ///
26 | /// This allows test runs on those platforms to test both implementations.
27 | public static var _forcesFallbackModeForTesting = false
| |- warning: static property '_forcesFallbackModeForTesting' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_forcesFallbackModeForTesting' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_forcesFallbackModeForTesting' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /// Identifies this rule as being opt-in. Well written docs on declarations are important, but
[450/467] Compiling SwiftFormatRules BeginDocumentationCommentWithOneLineSummary.swift
/host/spi-builder-workspace/Sources/SwiftFormatRules/BeginDocumentationCommentWithOneLineSummary.swift:27:21: warning: static property '_forcesFallbackModeForTesting' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | ///
26 | /// This allows test runs on those platforms to test both implementations.
27 | public static var _forcesFallbackModeForTesting = false
| |- warning: static property '_forcesFallbackModeForTesting' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_forcesFallbackModeForTesting' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_forcesFallbackModeForTesting' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /// Identifies this rule as being opt-in. Well written docs on declarations are important, but
[451/467] Compiling SwiftFormatRules DeclSyntaxProtocol+Comments.swift
/host/spi-builder-workspace/Sources/SwiftFormatRules/BeginDocumentationCommentWithOneLineSummary.swift:27:21: warning: static property '_forcesFallbackModeForTesting' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | ///
26 | /// This allows test runs on those platforms to test both implementations.
27 | public static var _forcesFallbackModeForTesting = false
| |- warning: static property '_forcesFallbackModeForTesting' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_forcesFallbackModeForTesting' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_forcesFallbackModeForTesting' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /// Identifies this rule as being opt-in. Well written docs on declarations are important, but
[452/467] Compiling SwiftFormatRules UseSynthesizedInitializer.swift
/host/spi-builder-workspace/Sources/SwiftFormatRules/UseSynthesizedInitializer.swift:189:21: warning: static property 'removeRedundantInitializer' 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
187 |
188 | extension Finding.Message {
189 | public static let removeRedundantInitializer: Finding.Message =
| `- warning: static property 'removeRedundantInitializer' 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
190 | "remove initializer and use the synthesized initializer"
191 | }
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding.swift:46:17: note: struct 'Message' does not conform to the 'Sendable' protocol
44 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
45 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
46 | public struct Message:
| `- note: struct 'Message' does not conform to the 'Sendable' protocol
47 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
48 | {
/host/spi-builder-workspace/Sources/SwiftFormatRules/UseSynthesizedInitializer.swift:14:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
12 |
13 | import Foundation
14 | import SwiftFormatCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
15 | import SwiftSyntax
16 |
:
187 |
188 | extension Finding.Message {
189 | public static let removeRedundantInitializer: Finding.Message =
| |- note: annotate 'removeRedundantInitializer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
190 | "remove initializer and use the synthesized initializer"
191 | }
/host/spi-builder-workspace/Sources/SwiftFormatRules/UseTripleSlashForDocumentationComments.swift:129:21: warning: static property 'avoidDocBlockComment' 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
127 |
128 | extension Finding.Message {
129 | public static let avoidDocBlockComment: Finding.Message =
| `- warning: static property 'avoidDocBlockComment' 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
130 | "replace documentation block comments with documentation line comments"
131 | }
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding.swift:46:17: note: struct 'Message' does not conform to the 'Sendable' protocol
44 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
45 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
46 | public struct Message:
| `- note: struct 'Message' does not conform to the 'Sendable' protocol
47 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
48 | {
/host/spi-builder-workspace/Sources/SwiftFormatRules/UseTripleSlashForDocumentationComments.swift:14:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
12 |
13 | import Foundation
14 | import SwiftFormatCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
15 | import SwiftSyntax
16 |
:
127 |
128 | extension Finding.Message {
129 | public static let avoidDocBlockComment: Finding.Message =
| |- note: annotate 'avoidDocBlockComment' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
130 | "replace documentation block comments with documentation line comments"
131 | }
/host/spi-builder-workspace/Sources/SwiftFormatRules/UseWhereClausesInForLoops.swift:119:21: warning: static property 'useWhereInsteadOfIf' 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
117 |
118 | extension Finding.Message {
119 | public static let useWhereInsteadOfIf: Finding.Message =
| `- warning: static property 'useWhereInsteadOfIf' 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
120 | "replace this 'if' statement with a 'where' clause"
121 |
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding.swift:46:17: note: struct 'Message' does not conform to the 'Sendable' protocol
44 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
45 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
46 | public struct Message:
| `- note: struct 'Message' does not conform to the 'Sendable' protocol
47 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
48 | {
/host/spi-builder-workspace/Sources/SwiftFormatRules/UseWhereClausesInForLoops.swift:13:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import SwiftFormatCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
14 | import SwiftSyntax
15 |
:
117 |
118 | extension Finding.Message {
119 | public static let useWhereInsteadOfIf: Finding.Message =
| |- note: annotate 'useWhereInsteadOfIf' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 | "replace this 'if' statement with a 'where' clause"
121 |
/host/spi-builder-workspace/Sources/SwiftFormatRules/UseWhereClausesInForLoops.swift:122:21: warning: static property 'useWhereInsteadOfGuard' 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
120 | "replace this 'if' statement with a 'where' clause"
121 |
122 | public static let useWhereInsteadOfGuard: Finding.Message =
| |- warning: static property 'useWhereInsteadOfGuard' 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: annotate 'useWhereInsteadOfGuard' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 | "replace this 'guard' statement with a 'where' clause"
124 | }
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding.swift:46:17: note: struct 'Message' does not conform to the 'Sendable' protocol
44 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
45 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
46 | public struct Message:
| `- note: struct 'Message' does not conform to the 'Sendable' protocol
47 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
48 | {
/host/spi-builder-workspace/Sources/SwiftFormatRules/ValidateDocumentationComments.swift:174:21: warning: static property 'useSingularParameter' 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
172 | }
173 |
174 | public static let useSingularParameter: Finding.Message =
| `- warning: static property 'useSingularParameter' 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
175 | "replace the plural form of 'Parameters' with a singular inline form of the 'Parameter' tag"
176 |
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding.swift:46:17: note: struct 'Message' does not conform to the 'Sendable' protocol
44 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
45 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
46 | public struct Message:
| `- note: struct 'Message' does not conform to the 'Sendable' protocol
47 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
48 | {
/host/spi-builder-workspace/Sources/SwiftFormatRules/ValidateDocumentationComments.swift:14:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
12 |
13 | import Foundation
14 | import SwiftFormatCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
15 | import SwiftSyntax
16 |
:
172 | }
173 |
174 | public static let useSingularParameter: Finding.Message =
| |- note: annotate 'useSingularParameter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
175 | "replace the plural form of 'Parameters' with a singular inline form of the 'Parameter' tag"
176 |
/host/spi-builder-workspace/Sources/SwiftFormatRules/ValidateDocumentationComments.swift:177:21: warning: static property 'usePluralParameters' 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
175 | "replace the plural form of 'Parameters' with a singular inline form of the 'Parameter' tag"
176 |
177 | public static let usePluralParameters: Finding.Message =
| |- warning: static property 'usePluralParameters' 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: annotate 'usePluralParameters' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
178 | """
179 | replace the singular inline form of 'Parameter' tag with a plural 'Parameters' tag \
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding.swift:46:17: note: struct 'Message' does not conform to the 'Sendable' protocol
44 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
45 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
46 | public struct Message:
| `- note: struct 'Message' does not conform to the 'Sendable' protocol
47 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
48 | {
[453/467] Compiling SwiftFormatRules UseTripleSlashForDocumentationComments.swift
/host/spi-builder-workspace/Sources/SwiftFormatRules/UseSynthesizedInitializer.swift:189:21: warning: static property 'removeRedundantInitializer' 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
187 |
188 | extension Finding.Message {
189 | public static let removeRedundantInitializer: Finding.Message =
| `- warning: static property 'removeRedundantInitializer' 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
190 | "remove initializer and use the synthesized initializer"
191 | }
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding.swift:46:17: note: struct 'Message' does not conform to the 'Sendable' protocol
44 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
45 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
46 | public struct Message:
| `- note: struct 'Message' does not conform to the 'Sendable' protocol
47 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
48 | {
/host/spi-builder-workspace/Sources/SwiftFormatRules/UseSynthesizedInitializer.swift:14:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
12 |
13 | import Foundation
14 | import SwiftFormatCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
15 | import SwiftSyntax
16 |
:
187 |
188 | extension Finding.Message {
189 | public static let removeRedundantInitializer: Finding.Message =
| |- note: annotate 'removeRedundantInitializer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
190 | "remove initializer and use the synthesized initializer"
191 | }
/host/spi-builder-workspace/Sources/SwiftFormatRules/UseTripleSlashForDocumentationComments.swift:129:21: warning: static property 'avoidDocBlockComment' 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
127 |
128 | extension Finding.Message {
129 | public static let avoidDocBlockComment: Finding.Message =
| `- warning: static property 'avoidDocBlockComment' 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
130 | "replace documentation block comments with documentation line comments"
131 | }
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding.swift:46:17: note: struct 'Message' does not conform to the 'Sendable' protocol
44 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
45 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
46 | public struct Message:
| `- note: struct 'Message' does not conform to the 'Sendable' protocol
47 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
48 | {
/host/spi-builder-workspace/Sources/SwiftFormatRules/UseTripleSlashForDocumentationComments.swift:14:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
12 |
13 | import Foundation
14 | import SwiftFormatCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
15 | import SwiftSyntax
16 |
:
127 |
128 | extension Finding.Message {
129 | public static let avoidDocBlockComment: Finding.Message =
| |- note: annotate 'avoidDocBlockComment' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
130 | "replace documentation block comments with documentation line comments"
131 | }
/host/spi-builder-workspace/Sources/SwiftFormatRules/UseWhereClausesInForLoops.swift:119:21: warning: static property 'useWhereInsteadOfIf' 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
117 |
118 | extension Finding.Message {
119 | public static let useWhereInsteadOfIf: Finding.Message =
| `- warning: static property 'useWhereInsteadOfIf' 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
120 | "replace this 'if' statement with a 'where' clause"
121 |
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding.swift:46:17: note: struct 'Message' does not conform to the 'Sendable' protocol
44 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
45 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
46 | public struct Message:
| `- note: struct 'Message' does not conform to the 'Sendable' protocol
47 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
48 | {
/host/spi-builder-workspace/Sources/SwiftFormatRules/UseWhereClausesInForLoops.swift:13:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import SwiftFormatCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
14 | import SwiftSyntax
15 |
:
117 |
118 | extension Finding.Message {
119 | public static let useWhereInsteadOfIf: Finding.Message =
| |- note: annotate 'useWhereInsteadOfIf' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 | "replace this 'if' statement with a 'where' clause"
121 |
/host/spi-builder-workspace/Sources/SwiftFormatRules/UseWhereClausesInForLoops.swift:122:21: warning: static property 'useWhereInsteadOfGuard' 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
120 | "replace this 'if' statement with a 'where' clause"
121 |
122 | public static let useWhereInsteadOfGuard: Finding.Message =
| |- warning: static property 'useWhereInsteadOfGuard' 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: annotate 'useWhereInsteadOfGuard' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 | "replace this 'guard' statement with a 'where' clause"
124 | }
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding.swift:46:17: note: struct 'Message' does not conform to the 'Sendable' protocol
44 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
45 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
46 | public struct Message:
| `- note: struct 'Message' does not conform to the 'Sendable' protocol
47 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
48 | {
/host/spi-builder-workspace/Sources/SwiftFormatRules/ValidateDocumentationComments.swift:174:21: warning: static property 'useSingularParameter' 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
172 | }
173 |
174 | public static let useSingularParameter: Finding.Message =
| `- warning: static property 'useSingularParameter' 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
175 | "replace the plural form of 'Parameters' with a singular inline form of the 'Parameter' tag"
176 |
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding.swift:46:17: note: struct 'Message' does not conform to the 'Sendable' protocol
44 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
45 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
46 | public struct Message:
| `- note: struct 'Message' does not conform to the 'Sendable' protocol
47 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
48 | {
/host/spi-builder-workspace/Sources/SwiftFormatRules/ValidateDocumentationComments.swift:14:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
12 |
13 | import Foundation
14 | import SwiftFormatCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
15 | import SwiftSyntax
16 |
:
172 | }
173 |
174 | public static let useSingularParameter: Finding.Message =
| |- note: annotate 'useSingularParameter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
175 | "replace the plural form of 'Parameters' with a singular inline form of the 'Parameter' tag"
176 |
/host/spi-builder-workspace/Sources/SwiftFormatRules/ValidateDocumentationComments.swift:177:21: warning: static property 'usePluralParameters' 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
175 | "replace the plural form of 'Parameters' with a singular inline form of the 'Parameter' tag"
176 |
177 | public static let usePluralParameters: Finding.Message =
| |- warning: static property 'usePluralParameters' 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: annotate 'usePluralParameters' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
178 | """
179 | replace the singular inline form of 'Parameter' tag with a plural 'Parameters' tag \
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding.swift:46:17: note: struct 'Message' does not conform to the 'Sendable' protocol
44 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
45 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
46 | public struct Message:
| `- note: struct 'Message' does not conform to the 'Sendable' protocol
47 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
48 | {
[454/467] Compiling SwiftFormatRules UseWhereClausesInForLoops.swift
/host/spi-builder-workspace/Sources/SwiftFormatRules/UseSynthesizedInitializer.swift:189:21: warning: static property 'removeRedundantInitializer' 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
187 |
188 | extension Finding.Message {
189 | public static let removeRedundantInitializer: Finding.Message =
| `- warning: static property 'removeRedundantInitializer' 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
190 | "remove initializer and use the synthesized initializer"
191 | }
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding.swift:46:17: note: struct 'Message' does not conform to the 'Sendable' protocol
44 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
45 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
46 | public struct Message:
| `- note: struct 'Message' does not conform to the 'Sendable' protocol
47 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
48 | {
/host/spi-builder-workspace/Sources/SwiftFormatRules/UseSynthesizedInitializer.swift:14:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
12 |
13 | import Foundation
14 | import SwiftFormatCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
15 | import SwiftSyntax
16 |
:
187 |
188 | extension Finding.Message {
189 | public static let removeRedundantInitializer: Finding.Message =
| |- note: annotate 'removeRedundantInitializer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
190 | "remove initializer and use the synthesized initializer"
191 | }
/host/spi-builder-workspace/Sources/SwiftFormatRules/UseTripleSlashForDocumentationComments.swift:129:21: warning: static property 'avoidDocBlockComment' 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
127 |
128 | extension Finding.Message {
129 | public static let avoidDocBlockComment: Finding.Message =
| `- warning: static property 'avoidDocBlockComment' 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
130 | "replace documentation block comments with documentation line comments"
131 | }
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding.swift:46:17: note: struct 'Message' does not conform to the 'Sendable' protocol
44 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
45 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
46 | public struct Message:
| `- note: struct 'Message' does not conform to the 'Sendable' protocol
47 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
48 | {
/host/spi-builder-workspace/Sources/SwiftFormatRules/UseTripleSlashForDocumentationComments.swift:14:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
12 |
13 | import Foundation
14 | import SwiftFormatCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
15 | import SwiftSyntax
16 |
:
127 |
128 | extension Finding.Message {
129 | public static let avoidDocBlockComment: Finding.Message =
| |- note: annotate 'avoidDocBlockComment' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
130 | "replace documentation block comments with documentation line comments"
131 | }
/host/spi-builder-workspace/Sources/SwiftFormatRules/UseWhereClausesInForLoops.swift:119:21: warning: static property 'useWhereInsteadOfIf' 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
117 |
118 | extension Finding.Message {
119 | public static let useWhereInsteadOfIf: Finding.Message =
| `- warning: static property 'useWhereInsteadOfIf' 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
120 | "replace this 'if' statement with a 'where' clause"
121 |
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding.swift:46:17: note: struct 'Message' does not conform to the 'Sendable' protocol
44 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
45 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
46 | public struct Message:
| `- note: struct 'Message' does not conform to the 'Sendable' protocol
47 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
48 | {
/host/spi-builder-workspace/Sources/SwiftFormatRules/UseWhereClausesInForLoops.swift:13:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import SwiftFormatCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
14 | import SwiftSyntax
15 |
:
117 |
118 | extension Finding.Message {
119 | public static let useWhereInsteadOfIf: Finding.Message =
| |- note: annotate 'useWhereInsteadOfIf' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 | "replace this 'if' statement with a 'where' clause"
121 |
/host/spi-builder-workspace/Sources/SwiftFormatRules/UseWhereClausesInForLoops.swift:122:21: warning: static property 'useWhereInsteadOfGuard' 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
120 | "replace this 'if' statement with a 'where' clause"
121 |
122 | public static let useWhereInsteadOfGuard: Finding.Message =
| |- warning: static property 'useWhereInsteadOfGuard' 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: annotate 'useWhereInsteadOfGuard' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 | "replace this 'guard' statement with a 'where' clause"
124 | }
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding.swift:46:17: note: struct 'Message' does not conform to the 'Sendable' protocol
44 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
45 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
46 | public struct Message:
| `- note: struct 'Message' does not conform to the 'Sendable' protocol
47 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
48 | {
/host/spi-builder-workspace/Sources/SwiftFormatRules/ValidateDocumentationComments.swift:174:21: warning: static property 'useSingularParameter' 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
172 | }
173 |
174 | public static let useSingularParameter: Finding.Message =
| `- warning: static property 'useSingularParameter' 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
175 | "replace the plural form of 'Parameters' with a singular inline form of the 'Parameter' tag"
176 |
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding.swift:46:17: note: struct 'Message' does not conform to the 'Sendable' protocol
44 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
45 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
46 | public struct Message:
| `- note: struct 'Message' does not conform to the 'Sendable' protocol
47 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
48 | {
/host/spi-builder-workspace/Sources/SwiftFormatRules/ValidateDocumentationComments.swift:14:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
12 |
13 | import Foundation
14 | import SwiftFormatCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
15 | import SwiftSyntax
16 |
:
172 | }
173 |
174 | public static let useSingularParameter: Finding.Message =
| |- note: annotate 'useSingularParameter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
175 | "replace the plural form of 'Parameters' with a singular inline form of the 'Parameter' tag"
176 |
/host/spi-builder-workspace/Sources/SwiftFormatRules/ValidateDocumentationComments.swift:177:21: warning: static property 'usePluralParameters' 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
175 | "replace the plural form of 'Parameters' with a singular inline form of the 'Parameter' tag"
176 |
177 | public static let usePluralParameters: Finding.Message =
| |- warning: static property 'usePluralParameters' 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: annotate 'usePluralParameters' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
178 | """
179 | replace the singular inline form of 'Parameter' tag with a plural 'Parameters' tag \
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding.swift:46:17: note: struct 'Message' does not conform to the 'Sendable' protocol
44 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
45 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
46 | public struct Message:
| `- note: struct 'Message' does not conform to the 'Sendable' protocol
47 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
48 | {
[455/467] Compiling SwiftFormatRules ValidateDocumentationComments.swift
/host/spi-builder-workspace/Sources/SwiftFormatRules/UseSynthesizedInitializer.swift:189:21: warning: static property 'removeRedundantInitializer' 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
187 |
188 | extension Finding.Message {
189 | public static let removeRedundantInitializer: Finding.Message =
| `- warning: static property 'removeRedundantInitializer' 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
190 | "remove initializer and use the synthesized initializer"
191 | }
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding.swift:46:17: note: struct 'Message' does not conform to the 'Sendable' protocol
44 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
45 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
46 | public struct Message:
| `- note: struct 'Message' does not conform to the 'Sendable' protocol
47 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
48 | {
/host/spi-builder-workspace/Sources/SwiftFormatRules/UseSynthesizedInitializer.swift:14:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
12 |
13 | import Foundation
14 | import SwiftFormatCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
15 | import SwiftSyntax
16 |
:
187 |
188 | extension Finding.Message {
189 | public static let removeRedundantInitializer: Finding.Message =
| |- note: annotate 'removeRedundantInitializer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
190 | "remove initializer and use the synthesized initializer"
191 | }
/host/spi-builder-workspace/Sources/SwiftFormatRules/UseTripleSlashForDocumentationComments.swift:129:21: warning: static property 'avoidDocBlockComment' 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
127 |
128 | extension Finding.Message {
129 | public static let avoidDocBlockComment: Finding.Message =
| `- warning: static property 'avoidDocBlockComment' 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
130 | "replace documentation block comments with documentation line comments"
131 | }
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding.swift:46:17: note: struct 'Message' does not conform to the 'Sendable' protocol
44 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
45 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
46 | public struct Message:
| `- note: struct 'Message' does not conform to the 'Sendable' protocol
47 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
48 | {
/host/spi-builder-workspace/Sources/SwiftFormatRules/UseTripleSlashForDocumentationComments.swift:14:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
12 |
13 | import Foundation
14 | import SwiftFormatCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
15 | import SwiftSyntax
16 |
:
127 |
128 | extension Finding.Message {
129 | public static let avoidDocBlockComment: Finding.Message =
| |- note: annotate 'avoidDocBlockComment' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
130 | "replace documentation block comments with documentation line comments"
131 | }
/host/spi-builder-workspace/Sources/SwiftFormatRules/UseWhereClausesInForLoops.swift:119:21: warning: static property 'useWhereInsteadOfIf' 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
117 |
118 | extension Finding.Message {
119 | public static let useWhereInsteadOfIf: Finding.Message =
| `- warning: static property 'useWhereInsteadOfIf' 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
120 | "replace this 'if' statement with a 'where' clause"
121 |
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding.swift:46:17: note: struct 'Message' does not conform to the 'Sendable' protocol
44 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
45 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
46 | public struct Message:
| `- note: struct 'Message' does not conform to the 'Sendable' protocol
47 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
48 | {
/host/spi-builder-workspace/Sources/SwiftFormatRules/UseWhereClausesInForLoops.swift:13:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import SwiftFormatCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
14 | import SwiftSyntax
15 |
:
117 |
118 | extension Finding.Message {
119 | public static let useWhereInsteadOfIf: Finding.Message =
| |- note: annotate 'useWhereInsteadOfIf' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 | "replace this 'if' statement with a 'where' clause"
121 |
/host/spi-builder-workspace/Sources/SwiftFormatRules/UseWhereClausesInForLoops.swift:122:21: warning: static property 'useWhereInsteadOfGuard' 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
120 | "replace this 'if' statement with a 'where' clause"
121 |
122 | public static let useWhereInsteadOfGuard: Finding.Message =
| |- warning: static property 'useWhereInsteadOfGuard' 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: annotate 'useWhereInsteadOfGuard' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 | "replace this 'guard' statement with a 'where' clause"
124 | }
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding.swift:46:17: note: struct 'Message' does not conform to the 'Sendable' protocol
44 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
45 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
46 | public struct Message:
| `- note: struct 'Message' does not conform to the 'Sendable' protocol
47 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
48 | {
/host/spi-builder-workspace/Sources/SwiftFormatRules/ValidateDocumentationComments.swift:174:21: warning: static property 'useSingularParameter' 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
172 | }
173 |
174 | public static let useSingularParameter: Finding.Message =
| `- warning: static property 'useSingularParameter' 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
175 | "replace the plural form of 'Parameters' with a singular inline form of the 'Parameter' tag"
176 |
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding.swift:46:17: note: struct 'Message' does not conform to the 'Sendable' protocol
44 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
45 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
46 | public struct Message:
| `- note: struct 'Message' does not conform to the 'Sendable' protocol
47 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
48 | {
/host/spi-builder-workspace/Sources/SwiftFormatRules/ValidateDocumentationComments.swift:14:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
12 |
13 | import Foundation
14 | import SwiftFormatCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
15 | import SwiftSyntax
16 |
:
172 | }
173 |
174 | public static let useSingularParameter: Finding.Message =
| |- note: annotate 'useSingularParameter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
175 | "replace the plural form of 'Parameters' with a singular inline form of the 'Parameter' tag"
176 |
/host/spi-builder-workspace/Sources/SwiftFormatRules/ValidateDocumentationComments.swift:177:21: warning: static property 'usePluralParameters' 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
175 | "replace the plural form of 'Parameters' with a singular inline form of the 'Parameter' tag"
176 |
177 | public static let usePluralParameters: Finding.Message =
| |- warning: static property 'usePluralParameters' 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: annotate 'usePluralParameters' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
178 | """
179 | replace the singular inline form of 'Parameter' tag with a plural 'Parameters' tag \
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding.swift:46:17: note: struct 'Message' does not conform to the 'Sendable' protocol
44 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
45 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
46 | public struct Message:
| `- note: struct 'Message' does not conform to the 'Sendable' protocol
47 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
48 | {
[456/467] Compiling SwiftFormatRules VarDeclSyntax+Convenience.swift
/host/spi-builder-workspace/Sources/SwiftFormatRules/UseSynthesizedInitializer.swift:189:21: warning: static property 'removeRedundantInitializer' 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
187 |
188 | extension Finding.Message {
189 | public static let removeRedundantInitializer: Finding.Message =
| `- warning: static property 'removeRedundantInitializer' 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
190 | "remove initializer and use the synthesized initializer"
191 | }
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding.swift:46:17: note: struct 'Message' does not conform to the 'Sendable' protocol
44 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
45 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
46 | public struct Message:
| `- note: struct 'Message' does not conform to the 'Sendable' protocol
47 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
48 | {
/host/spi-builder-workspace/Sources/SwiftFormatRules/UseSynthesizedInitializer.swift:14:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
12 |
13 | import Foundation
14 | import SwiftFormatCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
15 | import SwiftSyntax
16 |
:
187 |
188 | extension Finding.Message {
189 | public static let removeRedundantInitializer: Finding.Message =
| |- note: annotate 'removeRedundantInitializer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
190 | "remove initializer and use the synthesized initializer"
191 | }
/host/spi-builder-workspace/Sources/SwiftFormatRules/UseTripleSlashForDocumentationComments.swift:129:21: warning: static property 'avoidDocBlockComment' 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
127 |
128 | extension Finding.Message {
129 | public static let avoidDocBlockComment: Finding.Message =
| `- warning: static property 'avoidDocBlockComment' 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
130 | "replace documentation block comments with documentation line comments"
131 | }
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding.swift:46:17: note: struct 'Message' does not conform to the 'Sendable' protocol
44 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
45 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
46 | public struct Message:
| `- note: struct 'Message' does not conform to the 'Sendable' protocol
47 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
48 | {
/host/spi-builder-workspace/Sources/SwiftFormatRules/UseTripleSlashForDocumentationComments.swift:14:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
12 |
13 | import Foundation
14 | import SwiftFormatCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
15 | import SwiftSyntax
16 |
:
127 |
128 | extension Finding.Message {
129 | public static let avoidDocBlockComment: Finding.Message =
| |- note: annotate 'avoidDocBlockComment' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
130 | "replace documentation block comments with documentation line comments"
131 | }
/host/spi-builder-workspace/Sources/SwiftFormatRules/UseWhereClausesInForLoops.swift:119:21: warning: static property 'useWhereInsteadOfIf' 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
117 |
118 | extension Finding.Message {
119 | public static let useWhereInsteadOfIf: Finding.Message =
| `- warning: static property 'useWhereInsteadOfIf' 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
120 | "replace this 'if' statement with a 'where' clause"
121 |
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding.swift:46:17: note: struct 'Message' does not conform to the 'Sendable' protocol
44 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
45 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
46 | public struct Message:
| `- note: struct 'Message' does not conform to the 'Sendable' protocol
47 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
48 | {
/host/spi-builder-workspace/Sources/SwiftFormatRules/UseWhereClausesInForLoops.swift:13:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import SwiftFormatCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
14 | import SwiftSyntax
15 |
:
117 |
118 | extension Finding.Message {
119 | public static let useWhereInsteadOfIf: Finding.Message =
| |- note: annotate 'useWhereInsteadOfIf' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 | "replace this 'if' statement with a 'where' clause"
121 |
/host/spi-builder-workspace/Sources/SwiftFormatRules/UseWhereClausesInForLoops.swift:122:21: warning: static property 'useWhereInsteadOfGuard' 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
120 | "replace this 'if' statement with a 'where' clause"
121 |
122 | public static let useWhereInsteadOfGuard: Finding.Message =
| |- warning: static property 'useWhereInsteadOfGuard' 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: annotate 'useWhereInsteadOfGuard' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 | "replace this 'guard' statement with a 'where' clause"
124 | }
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding.swift:46:17: note: struct 'Message' does not conform to the 'Sendable' protocol
44 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
45 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
46 | public struct Message:
| `- note: struct 'Message' does not conform to the 'Sendable' protocol
47 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
48 | {
/host/spi-builder-workspace/Sources/SwiftFormatRules/ValidateDocumentationComments.swift:174:21: warning: static property 'useSingularParameter' 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
172 | }
173 |
174 | public static let useSingularParameter: Finding.Message =
| `- warning: static property 'useSingularParameter' 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
175 | "replace the plural form of 'Parameters' with a singular inline form of the 'Parameter' tag"
176 |
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding.swift:46:17: note: struct 'Message' does not conform to the 'Sendable' protocol
44 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
45 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
46 | public struct Message:
| `- note: struct 'Message' does not conform to the 'Sendable' protocol
47 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
48 | {
/host/spi-builder-workspace/Sources/SwiftFormatRules/ValidateDocumentationComments.swift:14:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
12 |
13 | import Foundation
14 | import SwiftFormatCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
15 | import SwiftSyntax
16 |
:
172 | }
173 |
174 | public static let useSingularParameter: Finding.Message =
| |- note: annotate 'useSingularParameter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
175 | "replace the plural form of 'Parameters' with a singular inline form of the 'Parameter' tag"
176 |
/host/spi-builder-workspace/Sources/SwiftFormatRules/ValidateDocumentationComments.swift:177:21: warning: static property 'usePluralParameters' 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
175 | "replace the plural form of 'Parameters' with a singular inline form of the 'Parameter' tag"
176 |
177 | public static let usePluralParameters: Finding.Message =
| |- warning: static property 'usePluralParameters' 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: annotate 'usePluralParameters' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
178 | """
179 | replace the singular inline form of 'Parameter' tag with a plural 'Parameters' tag \
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding.swift:46:17: note: struct 'Message' does not conform to the 'Sendable' protocol
44 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
45 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
46 | public struct Message:
| `- note: struct 'Message' does not conform to the 'Sendable' protocol
47 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
48 | {
[457/475] Wrapping AST for SwiftFormatRules for debugging
[459/479] Compiling generate_pipeline main.swift
[460/479] Compiling generate_pipeline Syntax+Convenience.swift
[461/479] Compiling SwiftFormatTestSupport TestingFindingConsumer.swift
[462/479] Compiling generate_pipeline RuleRegistryGenerator.swift
[463/479] Compiling generate_pipeline RuleNameCacheGenerator.swift
[464/479] Compiling generate_pipeline FileGenerator.swift
/host/spi-builder-workspace/Sources/generate-pipeline/FileGenerator.swift:38:1: warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
36 | }
37 |
38 | extension FileHandle: TextOutputStream {
| |- warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
39 | /// Writes the provided string as data to a file output stream.
40 | public func write(_ string: String) {
/host/spi-builder-workspace/Sources/generate-pipeline/FileGenerator.swift:30:8: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
28 | }
29 |
30 | fm.createFile(atPath: url.path, contents: nil, attributes: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
31 | let handle = try FileHandle(forWritingTo: url)
32 | defer { handle.closeFile() }
[465/479] Emitting module generate_pipeline
/host/spi-builder-workspace/Sources/generate-pipeline/FileGenerator.swift:38:1: warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
36 | }
37 |
38 | extension FileHandle: TextOutputStream {
| |- warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
39 | /// Writes the provided string as data to a file output stream.
40 | public func write(_ string: String) {
[466/479] Compiling SwiftFormatTestSupport DiagnosingTestCase.swift
[467/479] Emitting module SwiftFormatTestSupport
[468/480] Compiling generate_pipeline PipelineGenerator.swift
[469/480] Compiling generate_pipeline RuleCollector.swift
[471/481] Compiling SwiftFormatPrettyPrint Token.swift
[472/481] Compiling SwiftFormatPrettyPrint TokenStreamCreator.swift
[474/482] Wrapping AST for generate-pipeline for debugging
[475/482] Write Objects.LinkFileList
[476/482] Wrapping AST for SwiftFormatPrettyPrint for debugging
[478/491] Compiling SwiftFormat FormatPipeline.swift
[479/492] Emitting module SwiftFormat
/host/spi-builder-workspace/Sources/SwiftFormat/DebugOptions.swift:19:21: warning: static property 'disablePrettyPrint' is not concurrency-safe because non-'Sendable' type 'DebugOptions' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// Advanced options that are useful when debugging and developing the formatter, but are otherwise
14 | /// not meant for general use.
15 | public struct DebugOptions: OptionSet {
| `- note: consider making struct 'DebugOptions' conform to the 'Sendable' protocol
16 |
17 | /// Disables the pretty-printer pass entirely, executing only the syntax-transforming rules in the
18 | /// pipeline.
19 | public static let disablePrettyPrint = DebugOptions(rawValue: 1 << 0)
| |- warning: static property 'disablePrettyPrint' is not concurrency-safe because non-'Sendable' type 'DebugOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'disablePrettyPrint' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | /// Dumps a verbose representation of the raw pretty-printer token stream.
/host/spi-builder-workspace/Sources/SwiftFormat/DebugOptions.swift:22:21: warning: static property 'dumpTokenStream' is not concurrency-safe because non-'Sendable' type 'DebugOptions' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// Advanced options that are useful when debugging and developing the formatter, but are otherwise
14 | /// not meant for general use.
15 | public struct DebugOptions: OptionSet {
| `- note: consider making struct 'DebugOptions' conform to the 'Sendable' protocol
16 |
17 | /// Disables the pretty-printer pass entirely, executing only the syntax-transforming rules in the
:
20 |
21 | /// Dumps a verbose representation of the raw pretty-printer token stream.
22 | public static let dumpTokenStream = DebugOptions(rawValue: 1 << 1)
| |- warning: static property 'dumpTokenStream' is not concurrency-safe because non-'Sendable' type 'DebugOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dumpTokenStream' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | public let rawValue: Int
[480/492] Compiling SwiftFormat SwiftFormatError.swift
[481/492] Compiling SwiftFormat SwiftFormatter.swift
/host/spi-builder-workspace/Sources/SwiftFormat/DebugOptions.swift:19:21: warning: static property 'disablePrettyPrint' is not concurrency-safe because non-'Sendable' type 'DebugOptions' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// Advanced options that are useful when debugging and developing the formatter, but are otherwise
14 | /// not meant for general use.
15 | public struct DebugOptions: OptionSet {
| `- note: consider making struct 'DebugOptions' conform to the 'Sendable' protocol
16 |
17 | /// Disables the pretty-printer pass entirely, executing only the syntax-transforming rules in the
18 | /// pipeline.
19 | public static let disablePrettyPrint = DebugOptions(rawValue: 1 << 0)
| |- warning: static property 'disablePrettyPrint' is not concurrency-safe because non-'Sendable' type 'DebugOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'disablePrettyPrint' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | /// Dumps a verbose representation of the raw pretty-printer token stream.
/host/spi-builder-workspace/Sources/SwiftFormat/DebugOptions.swift:22:21: warning: static property 'dumpTokenStream' is not concurrency-safe because non-'Sendable' type 'DebugOptions' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// Advanced options that are useful when debugging and developing the formatter, but are otherwise
14 | /// not meant for general use.
15 | public struct DebugOptions: OptionSet {
| `- note: consider making struct 'DebugOptions' conform to the 'Sendable' protocol
16 |
17 | /// Disables the pretty-printer pass entirely, executing only the syntax-transforming rules in the
:
20 |
21 | /// Dumps a verbose representation of the raw pretty-printer token stream.
22 | public static let dumpTokenStream = DebugOptions(rawValue: 1 << 1)
| |- warning: static property 'dumpTokenStream' is not concurrency-safe because non-'Sendable' type 'DebugOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dumpTokenStream' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | public let rawValue: Int
[482/492] Compiling SwiftFormat SwiftLinter.swift
/host/spi-builder-workspace/Sources/SwiftFormat/DebugOptions.swift:19:21: warning: static property 'disablePrettyPrint' is not concurrency-safe because non-'Sendable' type 'DebugOptions' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// Advanced options that are useful when debugging and developing the formatter, but are otherwise
14 | /// not meant for general use.
15 | public struct DebugOptions: OptionSet {
| `- note: consider making struct 'DebugOptions' conform to the 'Sendable' protocol
16 |
17 | /// Disables the pretty-printer pass entirely, executing only the syntax-transforming rules in the
18 | /// pipeline.
19 | public static let disablePrettyPrint = DebugOptions(rawValue: 1 << 0)
| |- warning: static property 'disablePrettyPrint' is not concurrency-safe because non-'Sendable' type 'DebugOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'disablePrettyPrint' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | /// Dumps a verbose representation of the raw pretty-printer token stream.
/host/spi-builder-workspace/Sources/SwiftFormat/DebugOptions.swift:22:21: warning: static property 'dumpTokenStream' is not concurrency-safe because non-'Sendable' type 'DebugOptions' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// Advanced options that are useful when debugging and developing the formatter, but are otherwise
14 | /// not meant for general use.
15 | public struct DebugOptions: OptionSet {
| `- note: consider making struct 'DebugOptions' conform to the 'Sendable' protocol
16 |
17 | /// Disables the pretty-printer pass entirely, executing only the syntax-transforming rules in the
:
20 |
21 | /// Dumps a verbose representation of the raw pretty-printer token stream.
22 | public static let dumpTokenStream = DebugOptions(rawValue: 1 << 1)
| |- warning: static property 'dumpTokenStream' is not concurrency-safe because non-'Sendable' type 'DebugOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dumpTokenStream' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | public let rawValue: Int
[482/492] Linking generate-pipeline
[484/492] Compiling SwiftFormat Parsing.swift
[485/492] Compiling SwiftFormat LintPipeline.swift
[486/492] Compiling SwiftFormat DebugOptions.swift
/host/spi-builder-workspace/Sources/SwiftFormat/DebugOptions.swift:19:21: warning: static property 'disablePrettyPrint' is not concurrency-safe because non-'Sendable' type 'DebugOptions' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// Advanced options that are useful when debugging and developing the formatter, but are otherwise
14 | /// not meant for general use.
15 | public struct DebugOptions: OptionSet {
| `- note: consider making struct 'DebugOptions' conform to the 'Sendable' protocol
16 |
17 | /// Disables the pretty-printer pass entirely, executing only the syntax-transforming rules in the
18 | /// pipeline.
19 | public static let disablePrettyPrint = DebugOptions(rawValue: 1 << 0)
| |- warning: static property 'disablePrettyPrint' is not concurrency-safe because non-'Sendable' type 'DebugOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'disablePrettyPrint' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | /// Dumps a verbose representation of the raw pretty-printer token stream.
/host/spi-builder-workspace/Sources/SwiftFormat/DebugOptions.swift:22:21: warning: static property 'dumpTokenStream' is not concurrency-safe because non-'Sendable' type 'DebugOptions' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// Advanced options that are useful when debugging and developing the formatter, but are otherwise
14 | /// not meant for general use.
15 | public struct DebugOptions: OptionSet {
| `- note: consider making struct 'DebugOptions' conform to the 'Sendable' protocol
16 |
17 | /// Disables the pretty-printer pass entirely, executing only the syntax-transforming rules in the
:
20 |
21 | /// Dumps a verbose representation of the raw pretty-printer token stream.
22 | public static let dumpTokenStream = DebugOptions(rawValue: 1 << 1)
| |- warning: static property 'dumpTokenStream' is not concurrency-safe because non-'Sendable' type 'DebugOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dumpTokenStream' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | public let rawValue: Int
[487/492] Compiling SwiftFormat Exports.swift
/host/spi-builder-workspace/Sources/SwiftFormat/DebugOptions.swift:19:21: warning: static property 'disablePrettyPrint' is not concurrency-safe because non-'Sendable' type 'DebugOptions' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// Advanced options that are useful when debugging and developing the formatter, but are otherwise
14 | /// not meant for general use.
15 | public struct DebugOptions: OptionSet {
| `- note: consider making struct 'DebugOptions' conform to the 'Sendable' protocol
16 |
17 | /// Disables the pretty-printer pass entirely, executing only the syntax-transforming rules in the
18 | /// pipeline.
19 | public static let disablePrettyPrint = DebugOptions(rawValue: 1 << 0)
| |- warning: static property 'disablePrettyPrint' is not concurrency-safe because non-'Sendable' type 'DebugOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'disablePrettyPrint' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | /// Dumps a verbose representation of the raw pretty-printer token stream.
/host/spi-builder-workspace/Sources/SwiftFormat/DebugOptions.swift:22:21: warning: static property 'dumpTokenStream' is not concurrency-safe because non-'Sendable' type 'DebugOptions' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// Advanced options that are useful when debugging and developing the formatter, but are otherwise
14 | /// not meant for general use.
15 | public struct DebugOptions: OptionSet {
| `- note: consider making struct 'DebugOptions' conform to the 'Sendable' protocol
16 |
17 | /// Disables the pretty-printer pass entirely, executing only the syntax-transforming rules in the
:
20 |
21 | /// Dumps a verbose representation of the raw pretty-printer token stream.
22 | public static let dumpTokenStream = DebugOptions(rawValue: 1 << 1)
| |- warning: static property 'dumpTokenStream' is not concurrency-safe because non-'Sendable' type 'DebugOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dumpTokenStream' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | public let rawValue: Int
[488/492] Compiling SwiftFormat Pipelines+Generated.swift
[489/493] Wrapping AST for SwiftFormat for debugging
[491/508] Compiling swift_format UnifiedDiagnosticsEngine.swift
/host/spi-builder-workspace/Sources/swift-format/Utilities/UnifiedDiagnosticsEngine.swift:50:10: warning: associated value 'parserLocation' of 'Sendable'-conforming enum 'UnifiedLocation' has non-sendable type 'SourceLocation'; this is an error in the Swift 6 language mode
48 | private enum UnifiedLocation: DiagnosticLocation {
49 | /// A location received from the swift parser.
50 | case parserLocation(SourceLocation)
| `- warning: associated value 'parserLocation' of 'Sendable'-conforming enum 'UnifiedLocation' has non-sendable type 'SourceLocation'; this is an error in the Swift 6 language mode
51 |
52 | /// A location received from the linter.
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/SourceLocation.swift:46:15: note: struct 'SourceLocation' does not conform to the 'Sendable' protocol
44 |
45 | /// Represents a source location in a Swift file.
46 | public struct SourceLocation: Hashable, Codable, CustomDebugStringConvertible {
| `- note: struct 'SourceLocation' does not conform to the 'Sendable' protocol
47 |
48 | /// Line and column that can be computed on demand.
/host/spi-builder-workspace/Sources/swift-format/Utilities/UnifiedDiagnosticsEngine.swift:14:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftSyntax'
12 |
13 | import SwiftFormatCore
14 | import SwiftSyntax
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftSyntax'
15 | import SwiftDiagnostics
16 | import TSCBasic
/host/spi-builder-workspace/Sources/swift-format/Utilities/UnifiedDiagnosticsEngine.swift:53:10: warning: associated value 'findingLocation' of 'Sendable'-conforming enum 'UnifiedLocation' has non-sendable type 'Finding.Location'; this is an error in the Swift 6 language mode
51 |
52 | /// A location received from the linter.
53 | case findingLocation(Finding.Location)
| `- warning: associated value 'findingLocation' of 'Sendable'-conforming enum 'UnifiedLocation' has non-sendable type 'Finding.Location'; this is an error in the Swift 6 language mode
54 |
55 | var description: String {
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding.swift:22:17: note: struct 'Location' does not conform to the 'Sendable' protocol
20 |
21 | /// The file path and location in that file where a finding was encountered.
22 | public struct Location {
| `- note: struct 'Location' does not conform to the 'Sendable' protocol
23 | /// The file path of the finding.
24 | public var file: String
/host/spi-builder-workspace/Sources/swift-format/Utilities/UnifiedDiagnosticsEngine.swift:13:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import SwiftFormatCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
14 | import SwiftSyntax
15 | import SwiftDiagnostics
[492/508] Compiling swift_format VersionOptions.swift
/host/spi-builder-workspace/Sources/swift-format/Utilities/UnifiedDiagnosticsEngine.swift:50:10: warning: associated value 'parserLocation' of 'Sendable'-conforming enum 'UnifiedLocation' has non-sendable type 'SourceLocation'; this is an error in the Swift 6 language mode
48 | private enum UnifiedLocation: DiagnosticLocation {
49 | /// A location received from the swift parser.
50 | case parserLocation(SourceLocation)
| `- warning: associated value 'parserLocation' of 'Sendable'-conforming enum 'UnifiedLocation' has non-sendable type 'SourceLocation'; this is an error in the Swift 6 language mode
51 |
52 | /// A location received from the linter.
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/SourceLocation.swift:46:15: note: struct 'SourceLocation' does not conform to the 'Sendable' protocol
44 |
45 | /// Represents a source location in a Swift file.
46 | public struct SourceLocation: Hashable, Codable, CustomDebugStringConvertible {
| `- note: struct 'SourceLocation' does not conform to the 'Sendable' protocol
47 |
48 | /// Line and column that can be computed on demand.
/host/spi-builder-workspace/Sources/swift-format/Utilities/UnifiedDiagnosticsEngine.swift:14:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftSyntax'
12 |
13 | import SwiftFormatCore
14 | import SwiftSyntax
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftSyntax'
15 | import SwiftDiagnostics
16 | import TSCBasic
/host/spi-builder-workspace/Sources/swift-format/Utilities/UnifiedDiagnosticsEngine.swift:53:10: warning: associated value 'findingLocation' of 'Sendable'-conforming enum 'UnifiedLocation' has non-sendable type 'Finding.Location'; this is an error in the Swift 6 language mode
51 |
52 | /// A location received from the linter.
53 | case findingLocation(Finding.Location)
| `- warning: associated value 'findingLocation' of 'Sendable'-conforming enum 'UnifiedLocation' has non-sendable type 'Finding.Location'; this is an error in the Swift 6 language mode
54 |
55 | var description: String {
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding.swift:22:17: note: struct 'Location' does not conform to the 'Sendable' protocol
20 |
21 | /// The file path and location in that file where a finding was encountered.
22 | public struct Location {
| `- note: struct 'Location' does not conform to the 'Sendable' protocol
23 | /// The file path of the finding.
24 | public var file: String
/host/spi-builder-workspace/Sources/swift-format/Utilities/UnifiedDiagnosticsEngine.swift:13:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import SwiftFormatCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
14 | import SwiftSyntax
15 | import SwiftDiagnostics
[493/508] Compiling swift_format FormatError.swift
/host/spi-builder-workspace/Sources/swift-format/Utilities/StderrDiagnosticPrinter.swift:52:23: warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
50 | switch colorMode {
51 | case .auto:
52 | if let stream = stderrStream.stream as? LocalFileOutputByteStream {
| `- warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
53 | useColors = TerminalController.isTTY(stream)
54 | } else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:828:12: note: var declared here
826 |
827 | /// Public stderr stream instance.
828 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
829 | filePointer: TSCLibc.stderr,
830 | closeOnDeinit: false))
[494/508] Compiling swift_format StderrDiagnosticPrinter.swift
/host/spi-builder-workspace/Sources/swift-format/Utilities/StderrDiagnosticPrinter.swift:52:23: warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
50 | switch colorMode {
51 | case .auto:
52 | if let stream = stderrStream.stream as? LocalFileOutputByteStream {
| `- warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
53 | useColors = TerminalController.isTTY(stream)
54 | } else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:828:12: note: var declared here
826 |
827 | /// Public stderr stream instance.
828 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
829 | filePointer: TSCLibc.stderr,
830 | closeOnDeinit: false))
[495/508] Compiling swift_format FileHandleTextOutputStream.swift
[496/508] Compiling swift_format FileIterator.swift
[497/509] Compiling swift_format ConfigurationLoader.swift
[498/509] Compiling swift_format FormatFrontend.swift
[499/509] Compiling swift_format DumpConfiguration.swift
/host/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 default 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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | abstract: "Dump the default configuration in JSON format to standard output")
22 |
/host/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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- 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.")
[500/509] Compiling swift_format Format.swift
/host/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 default 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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | abstract: "Dump the default configuration in JSON format to standard output")
22 |
/host/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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- 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.")
[501/509] Compiling swift_format Frontend.swift
/host/spi-builder-workspace/Sources/swift-format/Frontend/Frontend.swift:136:9: warning: capture of 'self' with non-sendable type 'Frontend' in a `@Sendable` closure; this is an error in the Swift 6 language mode
17 | import SwiftParser
18 |
19 | class Frontend {
| `- note: class 'Frontend' does not conform to the 'Sendable' protocol
20 | /// Represents a file to be processed by the frontend and any file-specific options associated
21 | /// with it.
:
134 | let filesToProcess = FileIterator(urls: urls).compactMap(openAndPrepareFile)
135 | DispatchQueue.concurrentPerform(iterations: filesToProcess.count) { index in
136 | processFile(filesToProcess[index])
| `- warning: capture of 'self' with non-sendable type 'Frontend' in a `@Sendable` closure; this is an error in the Swift 6 language mode
137 | }
138 | } else {
/host/spi-builder-workspace/Sources/swift-format/Frontend/Frontend.swift:136:21: warning: capture of 'filesToProcess' with non-sendable type '[Frontend.FileToProcess]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 | /// Represents a file to be processed by the frontend and any file-specific options associated
21 | /// with it.
22 | final class FileToProcess {
| `- note: class 'FileToProcess' does not conform to the 'Sendable' protocol
23 | /// An open file handle to the source code of the file.
24 | private let fileHandle: FileHandle
:
134 | let filesToProcess = FileIterator(urls: urls).compactMap(openAndPrepareFile)
135 | DispatchQueue.concurrentPerform(iterations: filesToProcess.count) { index in
136 | processFile(filesToProcess[index])
| `- warning: capture of 'filesToProcess' with non-sendable type '[Frontend.FileToProcess]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
137 | }
138 | } else {
[502/509] Compiling swift_format LintFrontend.swift
/host/spi-builder-workspace/Sources/swift-format/Frontend/Frontend.swift:136:9: warning: capture of 'self' with non-sendable type 'Frontend' in a `@Sendable` closure; this is an error in the Swift 6 language mode
17 | import SwiftParser
18 |
19 | class Frontend {
| `- note: class 'Frontend' does not conform to the 'Sendable' protocol
20 | /// Represents a file to be processed by the frontend and any file-specific options associated
21 | /// with it.
:
134 | let filesToProcess = FileIterator(urls: urls).compactMap(openAndPrepareFile)
135 | DispatchQueue.concurrentPerform(iterations: filesToProcess.count) { index in
136 | processFile(filesToProcess[index])
| `- warning: capture of 'self' with non-sendable type 'Frontend' in a `@Sendable` closure; this is an error in the Swift 6 language mode
137 | }
138 | } else {
/host/spi-builder-workspace/Sources/swift-format/Frontend/Frontend.swift:136:21: warning: capture of 'filesToProcess' with non-sendable type '[Frontend.FileToProcess]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 | /// Represents a file to be processed by the frontend and any file-specific options associated
21 | /// with it.
22 | final class FileToProcess {
| `- note: class 'FileToProcess' does not conform to the 'Sendable' protocol
23 | /// An open file handle to the source code of the file.
24 | private let fileHandle: FileHandle
:
134 | let filesToProcess = FileIterator(urls: urls).compactMap(openAndPrepareFile)
135 | DispatchQueue.concurrentPerform(iterations: filesToProcess.count) { index in
136 | processFile(filesToProcess[index])
| `- warning: capture of 'filesToProcess' with non-sendable type '[Frontend.FileToProcess]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
137 | }
138 | } else {
[503/509] Emitting module swift_format
/host/spi-builder-workspace/Sources/swift-format/main.swift:18: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
16 | /// appropriate subcommand.
17 | struct SwiftFormatCommand: 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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | commandName: "swift-format",
20 | abstract: "Format or lint Swift source code",
/host/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 default 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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | abstract: "Dump the default configuration in JSON format to standard output")
22 |
/host/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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- 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.")
/host/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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- 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.")
/host/spi-builder-workspace/Sources/swift-format/Utilities/UnifiedDiagnosticsEngine.swift:50:10: warning: associated value 'parserLocation' of 'Sendable'-conforming enum 'UnifiedLocation' has non-sendable type 'SourceLocation'; this is an error in the Swift 6 language mode
48 | private enum UnifiedLocation: DiagnosticLocation {
49 | /// A location received from the swift parser.
50 | case parserLocation(SourceLocation)
| `- warning: associated value 'parserLocation' of 'Sendable'-conforming enum 'UnifiedLocation' has non-sendable type 'SourceLocation'; this is an error in the Swift 6 language mode
51 |
52 | /// A location received from the linter.
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/SourceLocation.swift:46:15: note: struct 'SourceLocation' does not conform to the 'Sendable' protocol
44 |
45 | /// Represents a source location in a Swift file.
46 | public struct SourceLocation: Hashable, Codable, CustomDebugStringConvertible {
| `- note: struct 'SourceLocation' does not conform to the 'Sendable' protocol
47 |
48 | /// Line and column that can be computed on demand.
/host/spi-builder-workspace/Sources/swift-format/Utilities/UnifiedDiagnosticsEngine.swift:14:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftSyntax'
12 |
13 | import SwiftFormatCore
14 | import SwiftSyntax
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftSyntax'
15 | import SwiftDiagnostics
16 | import TSCBasic
/host/spi-builder-workspace/Sources/swift-format/Utilities/UnifiedDiagnosticsEngine.swift:53:10: warning: associated value 'findingLocation' of 'Sendable'-conforming enum 'UnifiedLocation' has non-sendable type 'Finding.Location'; this is an error in the Swift 6 language mode
51 |
52 | /// A location received from the linter.
53 | case findingLocation(Finding.Location)
| `- warning: associated value 'findingLocation' of 'Sendable'-conforming enum 'UnifiedLocation' has non-sendable type 'Finding.Location'; this is an error in the Swift 6 language mode
54 |
55 | var description: String {
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding.swift:22:17: note: struct 'Location' does not conform to the 'Sendable' protocol
20 |
21 | /// The file path and location in that file where a finding was encountered.
22 | public struct Location {
| `- note: struct 'Location' does not conform to the 'Sendable' protocol
23 | /// The file path of the finding.
24 | public var file: String
/host/spi-builder-workspace/Sources/swift-format/Utilities/UnifiedDiagnosticsEngine.swift:13:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import SwiftFormatCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
14 | import SwiftSyntax
15 | import SwiftDiagnostics
[504/509] Compiling swift_format Lint.swift
/host/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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- 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.")
[505/509] Compiling swift_format LintFormatOptions.swift
/host/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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- 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.")
[506/509] Compiling swift_format main.swift
/host/spi-builder-workspace/Sources/swift-format/main.swift:18: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
16 | /// appropriate subcommand.
17 | struct SwiftFormatCommand: 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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | commandName: "swift-format",
20 | abstract: "Format or lint Swift source code",
[507/510] Wrapping AST for swift-format for debugging
[508/510] Write Objects.LinkFileList
[509/510] Linking swift-format
Build complete! (244.27s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
},
{
"identity" : "swift-syntax",
"requirement" : {
"range" : [
{
"lower_bound" : "0.50800.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/SDGGiesbrecht/swift-syntax"
},
{
"identity" : "swift-tools-support-core",
"requirement" : {
"range" : [
{
"lower_bound" : "0.5.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-tools-support-core.git"
}
],
"manifest_display_name" : "swift-format",
"name" : "swift-format",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "swift-format",
"targets" : [
"swift-format"
],
"type" : {
"executable" : null
}
},
{
"name" : "SwiftFormat",
"targets" : [
"SwiftFormat",
"SwiftFormatConfiguration"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftFormatConfiguration",
"targets" : [
"SwiftFormatConfiguration"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "FormatPlugin",
"targets" : [
"Format Source Code"
],
"type" : {
"plugin" : null
}
},
{
"name" : "LintPlugin",
"targets" : [
"Lint Source Code"
],
"type" : {
"plugin" : null
}
},
{
"name" : "generate-pipeline",
"targets" : [
"generate-pipeline"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "swift_format",
"module_type" : "SwiftTarget",
"name" : "swift-format",
"path" : "Sources/swift-format",
"product_dependencies" : [
"ArgumentParser",
"SwiftSyntax",
"SwiftParser",
"TSCBasic"
],
"product_memberships" : [
"swift-format",
"FormatPlugin",
"LintPlugin"
],
"sources" : [
"Frontend/ConfigurationLoader.swift",
"Frontend/FormatFrontend.swift",
"Frontend/Frontend.swift",
"Frontend/LintFrontend.swift",
"Subcommands/DumpConfiguration.swift",
"Subcommands/Format.swift",
"Subcommands/Lint.swift",
"Subcommands/LintFormatOptions.swift",
"Utilities/FileHandleTextOutputStream.swift",
"Utilities/FileIterator.swift",
"Utilities/FormatError.swift",
"Utilities/StderrDiagnosticPrinter.swift",
"Utilities/UnifiedDiagnosticsEngine.swift",
"VersionOptions.swift",
"main.swift"
],
"target_dependencies" : [
"SwiftFormat",
"SwiftFormatConfiguration",
"SwiftFormatCore"
],
"type" : "executable"
},
{
"c99name" : "generate_pipeline",
"module_type" : "SwiftTarget",
"name" : "generate-pipeline",
"path" : "Sources/generate-pipeline",
"product_dependencies" : [
"SwiftSyntax",
"SwiftParser"
],
"product_memberships" : [
"generate-pipeline"
],
"sources" : [
"FileGenerator.swift",
"PipelineGenerator.swift",
"RuleCollector.swift",
"RuleNameCacheGenerator.swift",
"RuleRegistryGenerator.swift",
"Syntax+Convenience.swift",
"main.swift"
],
"target_dependencies" : [
"SwiftFormatCore",
"SwiftFormatRules"
],
"type" : "executable"
},
{
"c99name" : "SwiftFormatWhitespaceLinterTests",
"module_type" : "SwiftTarget",
"name" : "SwiftFormatWhitespaceLinterTests",
"path" : "Tests/SwiftFormatWhitespaceLinterTests",
"product_dependencies" : [
"SwiftSyntax",
"SwiftParser"
],
"sources" : [
"WhitespaceLintTests.swift",
"WhitespaceTestCase.swift"
],
"target_dependencies" : [
"SwiftFormatConfiguration",
"SwiftFormatCore",
"SwiftFormatTestSupport",
"SwiftFormatWhitespaceLinter"
],
"type" : "test"
},
{
"c99name" : "SwiftFormatWhitespaceLinter",
"module_type" : "SwiftTarget",
"name" : "SwiftFormatWhitespaceLinter",
"path" : "Sources/SwiftFormatWhitespaceLinter",
"product_dependencies" : [
"SwiftSyntax"
],
"product_memberships" : [
"swift-format",
"SwiftFormat",
"FormatPlugin",
"LintPlugin"
],
"sources" : [
"LazySplitSequence.swift",
"RememberingIterator.swift",
"WhitespaceFindingCategory.swift",
"WhitespaceLinter.swift"
],
"target_dependencies" : [
"SwiftFormatCore"
],
"type" : "library"
},
{
"c99name" : "SwiftFormatTestSupport",
"module_type" : "SwiftTarget",
"name" : "SwiftFormatTestSupport",
"path" : "Sources/SwiftFormatTestSupport",
"product_dependencies" : [
"SwiftOperators"
],
"sources" : [
"DiagnosingTestCase.swift",
"TestingFindingConsumer.swift"
],
"target_dependencies" : [
"SwiftFormatCore",
"SwiftFormatRules",
"SwiftFormatConfiguration"
],
"type" : "library"
},
{
"c99name" : "SwiftFormatRulesTests",
"module_type" : "SwiftTarget",
"name" : "SwiftFormatRulesTests",
"path" : "Tests/SwiftFormatRulesTests",
"product_dependencies" : [
"SwiftSyntax",
"SwiftParser"
],
"sources" : [
"AllPublicDeclarationsHaveDocumentationTests.swift",
"AlwaysUseLowerCamelCaseTests.swift",
"AmbiguousTrailingClosureOverloadTests.swift",
"BeginDocumentationCommentWithOneLineSummaryTests.swift",
"DoNotUseSemicolonsTests.swift",
"DontRepeatTypeInStaticPropertiesTests.swift",
"FileScopedDeclarationPrivacyTests.swift",
"FullyIndirectEnumTests.swift",
"GroupNumericLiteralsTests.swift",
"IdentifiersMustBeASCIITests.swift",
"ImportsXCTestVisitorTests.swift",
"LintOrFormatRuleTestCase.swift",
"NeverForceUnwrapTests.swift",
"NeverUseForceTryTests.swift",
"NeverUseImplicitlyUnwrappedOptionalsTests.swift",
"NoAccessLevelOnExtensionDeclarationTests.swift",
"NoAssignmentInExpressionsTests.swift",
"NoBlockCommentsTests.swift",
"NoCasesWithOnlyFallthroughTests.swift",
"NoEmptyTrailingClosureParenthesesTests.swift",
"NoLabelsInCasePatternsTests.swift",
"NoLeadingUnderscoresTests.swift",
"NoParensAroundConditionsTests.swift",
"NoVoidReturnOnFunctionSignatureTests.swift",
"OneCasePerLineTests.swift",
"OneVariableDeclarationPerLineTests.swift",
"OnlyOneTrailingClosureArgumentTests.swift",
"OrderedImportsTests.swift",
"ReturnVoidInsteadOfEmptyTupleTests.swift",
"UseEarlyExitsTests.swift",
"UseLetInEveryBoundCaseVariableTests.swift",
"UseShorthandTypeNamesTests.swift",
"UseSingleLinePropertyGetterTests.swift",
"UseSynthesizedInitializerTests.swift",
"UseTripleSlashForDocumentationCommentsTests.swift",
"UseWhereClausesInForLoopsTests.swift",
"ValidateDocumentationCommentsTests.swift"
],
"target_dependencies" : [
"SwiftFormatConfiguration",
"SwiftFormatCore",
"SwiftFormatPrettyPrint",
"SwiftFormatRules",
"SwiftFormatTestSupport"
],
"type" : "test"
},
{
"c99name" : "SwiftFormatRules",
"module_type" : "SwiftTarget",
"name" : "SwiftFormatRules",
"path" : "Sources/SwiftFormatRules",
"product_memberships" : [
"swift-format",
"SwiftFormat",
"FormatPlugin",
"LintPlugin",
"generate-pipeline"
],
"sources" : [
"AddModifierRewriter.swift",
"AllPublicDeclarationsHaveDocumentation.swift",
"AlwaysUseLowerCamelCase.swift",
"AmbiguousTrailingClosureOverload.swift",
"BeginDocumentationCommentWithOneLineSummary.swift",
"DeclSyntaxProtocol+Comments.swift",
"DoNotUseSemicolons.swift",
"DontRepeatTypeInStaticProperties.swift",
"FileScopedDeclarationPrivacy.swift",
"FullyIndirectEnum.swift",
"FunctionDeclSyntax+Convenience.swift",
"GroupNumericLiterals.swift",
"IdentifiersMustBeASCII.swift",
"ImportsXCTestVisitor.swift",
"ModifierListSyntax+Convenience.swift",
"NeverForceUnwrap.swift",
"NeverUseForceTry.swift",
"NeverUseImplicitlyUnwrappedOptionals.swift",
"NoAccessLevelOnExtensionDeclaration.swift",
"NoAssignmentInExpressions.swift",
"NoBlockComments.swift",
"NoCasesWithOnlyFallthrough.swift",
"NoEmptyTrailingClosureParentheses.swift",
"NoLabelsInCasePatterns.swift",
"NoLeadingUnderscores.swift",
"NoParensAroundConditions.swift",
"NoPlaygroundLiterals.swift",
"NoVoidReturnOnFunctionSignature.swift",
"OneCasePerLine.swift",
"OneVariableDeclarationPerLine.swift",
"OnlyOneTrailingClosureArgument.swift",
"OrderedImports.swift",
"ReplaceTrivia.swift",
"ReturnVoidInsteadOfEmptyTuple.swift",
"RuleNameCache+Generated.swift",
"SemicolonSyntaxProtocol.swift",
"TokenSyntax+Convenience.swift",
"UseEarlyExits.swift",
"UseLetInEveryBoundCaseVariable.swift",
"UseShorthandTypeNames.swift",
"UseSingleLinePropertyGetter.swift",
"UseSynthesizedInitializer.swift",
"UseTripleSlashForDocumentationComments.swift",
"UseWhereClausesInForLoops.swift",
"ValidateDocumentationComments.swift",
"VarDeclSyntax+Convenience.swift"
],
"target_dependencies" : [
"SwiftFormatCore",
"SwiftFormatConfiguration"
],
"type" : "library"
},
{
"c99name" : "SwiftFormatPrettyPrintTests",
"module_type" : "SwiftTarget",
"name" : "SwiftFormatPrettyPrintTests",
"path" : "Tests/SwiftFormatPrettyPrintTests",
"product_dependencies" : [
"SwiftSyntax",
"SwiftOperators",
"SwiftParser"
],
"sources" : [
"AccessorTests.swift",
"ArrayDeclTests.swift",
"AsExprTests.swift",
"AssignmentExprTests.swift",
"AttributeTests.swift",
"AvailabilityConditionTests.swift",
"AwaitExprTests.swift",
"BacktickTests.swift",
"BinaryOperatorExprTests.swift",
"ClassDeclTests.swift",
"ClosureExprTests.swift",
"CommentTests.swift",
"ConstrainedSugarTypeTests.swift",
"DeclNameArgumentTests.swift",
"DeinitializerDeclTests.swift",
"DictionaryDeclTests.swift",
"DifferentiationAttributeTests.swift",
"DoStmtTests.swift",
"EnumDeclTests.swift",
"ExtensionDeclTests.swift",
"ForInStmtTests.swift",
"FunctionCallTests.swift",
"FunctionDeclTests.swift",
"FunctionTypeTests.swift",
"GarbageTextTests.swift",
"GuardStmtTests.swift",
"IfConfigTests.swift",
"IfStmtTests.swift",
"IgnoreNodeTests.swift",
"ImportTests.swift",
"InitializerDeclTests.swift",
"KeyPathExprTests.swift",
"MemberAccessExprTests.swift",
"MemberTypeIdentifierTests.swift",
"NewlineTests.swift",
"ObjectLiteralExprTests.swift",
"OperatorDeclTests.swift",
"ParenthesizedExprTests.swift",
"PatternBindingTests.swift",
"PrettyPrintTestCase.swift",
"ProtocolDeclTests.swift",
"RepeatStmtTests.swift",
"RespectsExistingLineBreaksTests.swift",
"SemicolonTests.swift",
"StringTests.swift",
"StructDeclTests.swift",
"SubscriptDeclTests.swift",
"SubscriptExprTests.swift",
"SwitchCaseIndentConfigTests.swift",
"SwitchStmtTests.swift",
"TernaryExprTests.swift",
"TryCatchTests.swift",
"TupleDeclTests.swift",
"TypeAliasTests.swift",
"UnknownNodeTests.swift",
"VariableDeclTests.swift",
"WhileStmtTests.swift",
"YieldStmtTests.swift"
],
"target_dependencies" : [
"SwiftFormatConfiguration",
"SwiftFormatCore",
"SwiftFormatPrettyPrint",
"SwiftFormatRules",
"SwiftFormatTestSupport"
],
"type" : "test"
},
{
"c99name" : "SwiftFormatPrettyPrint",
"module_type" : "SwiftTarget",
"name" : "SwiftFormatPrettyPrint",
"path" : "Sources/SwiftFormatPrettyPrint",
"product_dependencies" : [
"SwiftOperators"
],
"product_memberships" : [
"swift-format",
"SwiftFormat",
"FormatPlugin",
"LintPlugin"
],
"sources" : [
"Comment.swift",
"Indent+Length.swift",
"PrettyPrint.swift",
"PrettyPrintFindingCategory.swift",
"Token.swift",
"TokenStreamCreator.swift",
"Verbatim.swift"
],
"target_dependencies" : [
"SwiftFormatCore",
"SwiftFormatConfiguration"
],
"type" : "library"
},
{
"c99name" : "SwiftFormatPerformanceTests",
"module_type" : "SwiftTarget",
"name" : "SwiftFormatPerformanceTests",
"path" : "Tests/SwiftFormatPerformanceTests",
"product_dependencies" : [
"SwiftSyntax",
"SwiftParser"
],
"sources" : [
"WhitespaceLinterPerformanceTests.swift"
],
"target_dependencies" : [
"SwiftFormatTestSupport",
"SwiftFormatWhitespaceLinter"
],
"type" : "test"
},
{
"c99name" : "SwiftFormatCoreTests",
"module_type" : "SwiftTarget",
"name" : "SwiftFormatCoreTests",
"path" : "Tests/SwiftFormatCoreTests",
"product_dependencies" : [
"SwiftSyntax",
"SwiftParser"
],
"sources" : [
"RuleMaskTests.swift"
],
"target_dependencies" : [
"SwiftFormatConfiguration",
"SwiftFormatCore"
],
"type" : "test"
},
{
"c99name" : "SwiftFormatCore",
"module_type" : "SwiftTarget",
"name" : "SwiftFormatCore",
"path" : "Sources/SwiftFormatCore",
"product_dependencies" : [
"SwiftOperators",
"SwiftSyntax"
],
"product_memberships" : [
"swift-format",
"SwiftFormat",
"FormatPlugin",
"LintPlugin",
"generate-pipeline"
],
"sources" : [
"Context.swift",
"Finding+Convenience.swift",
"Finding.swift",
"FindingCategorizing.swift",
"FindingEmitter.swift",
"LegacyTriviaBehavior.swift",
"Rule.swift",
"RuleBasedFindingCategory.swift",
"RuleMask.swift",
"RuleState.swift",
"SyntaxFormatRule.swift",
"SyntaxLintRule.swift",
"SyntaxProtocol+Convenience.swift",
"Trivia+Convenience.swift"
],
"target_dependencies" : [
"SwiftFormatConfiguration"
],
"type" : "library"
},
{
"c99name" : "SwiftFormatConfigurationTests",
"module_type" : "SwiftTarget",
"name" : "SwiftFormatConfigurationTests",
"path" : "Tests/SwiftFormatConfigurationTests",
"sources" : [
"ConfigurationTests.swift"
],
"target_dependencies" : [
"SwiftFormatConfiguration"
],
"type" : "test"
},
{
"c99name" : "SwiftFormatConfiguration",
"module_type" : "SwiftTarget",
"name" : "SwiftFormatConfiguration",
"path" : "Sources/SwiftFormatConfiguration",
"product_memberships" : [
"swift-format",
"SwiftFormat",
"SwiftFormatConfiguration",
"FormatPlugin",
"LintPlugin",
"generate-pipeline"
],
"sources" : [
"Configuration.swift",
"Indent.swift",
"RuleRegistry+Generated.swift"
],
"type" : "library"
},
{
"c99name" : "SwiftFormat",
"module_type" : "SwiftTarget",
"name" : "SwiftFormat",
"path" : "Sources/SwiftFormat",
"product_dependencies" : [
"SwiftSyntax",
"SwiftOperators",
"SwiftParser",
"SwiftParserDiagnostics"
],
"product_memberships" : [
"swift-format",
"SwiftFormat",
"FormatPlugin",
"LintPlugin"
],
"sources" : [
"DebugOptions.swift",
"Exports.swift",
"FormatPipeline.swift",
"LintPipeline.swift",
"Parsing.swift",
"Pipelines+Generated.swift",
"SwiftFormatError.swift",
"SwiftFormatter.swift",
"SwiftLinter.swift"
],
"target_dependencies" : [
"SwiftFormatConfiguration",
"SwiftFormatCore",
"SwiftFormatPrettyPrint",
"SwiftFormatRules",
"SwiftFormatWhitespaceLinter"
],
"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" : "5.6"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.