Build Information
Failed to build swift-format, reference 0.50800.0 (e725e5), with Swift 6.1 for Android on 29 May 2025 01:41:33 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
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: add '@MainActor' to make static property 'onlyOneVariableDeclaration' part of global actor 'MainActor'
| `- 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 | }
[663/698] Compiling SwiftFormatRules NoAccessLevelOnExtensionDeclaration.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: add '@MainActor' to make static property 'moveAssignmentToOwnStatement' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: add '@MainActor' to make static property 'avoidBlockComment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | "replace block comment with line comments"
34 | }
[664/698] Compiling SwiftFormatRules NoAssignmentInExpressions.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: add '@MainActor' to make static property 'moveAssignmentToOwnStatement' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: add '@MainActor' to make static property 'avoidBlockComment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | "replace block comment with line comments"
34 | }
[665/698] Compiling SwiftFormatRules NoBlockComments.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: add '@MainActor' to make static property 'moveAssignmentToOwnStatement' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: add '@MainActor' to make static property 'avoidBlockComment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | "replace block comment with line comments"
34 | }
[666/698] Compiling SwiftFormatRules NoCasesWithOnlyFallthrough.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: add '@MainActor' to make static property 'moveAssignmentToOwnStatement' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: add '@MainActor' to make static property 'avoidBlockComment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | "replace block comment with line comments"
34 | }
[667/698] Compiling SwiftFormatRules NoEmptyTrailingClosureParentheses.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: add '@MainActor' to make static property 'moveAssignmentToOwnStatement' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: add '@MainActor' to make static property 'avoidBlockComment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | "replace block comment with line comments"
34 | }
[668/698] 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: add '@MainActor' to make static property 'moveAssignmentToOwnStatement' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: add '@MainActor' to make static property 'avoidBlockComment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | "replace block comment with line comments"
34 | }
[669/698] 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: add '@MainActor' to make static property '_forcesFallbackModeForTesting' part of global actor 'MainActor'
| `- 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
[670/698] 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: add '@MainActor' to make static property '_forcesFallbackModeForTesting' part of global actor 'MainActor'
| `- 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
[671/698] 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: add '@MainActor' to make static property '_forcesFallbackModeForTesting' part of global actor 'MainActor'
| `- 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
[672/698] 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: add '@MainActor' to make static property '_forcesFallbackModeForTesting' part of global actor 'MainActor'
| `- 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
[673/698] 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: add '@MainActor' to make static property '_forcesFallbackModeForTesting' part of global actor 'MainActor'
| `- 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
[674/698] 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: add '@MainActor' to make static property '_forcesFallbackModeForTesting' part of global actor 'MainActor'
| `- 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
[674/698] Wrapping AST for SwiftFormatWhitespaceLinter for debugging
[676/698] 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: add '@MainActor' to make static property 'removeRedundantInitializer' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'avoidDocBlockComment' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'useWhereInsteadOfIf' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'useWhereInsteadOfGuard' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'useSingularParameter' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'usePluralParameters' part of global actor 'MainActor'
| `- 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 | {
[677/698] 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: add '@MainActor' to make static property 'removeRedundantInitializer' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'avoidDocBlockComment' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'useWhereInsteadOfIf' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'useWhereInsteadOfGuard' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'useSingularParameter' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'usePluralParameters' part of global actor 'MainActor'
| `- 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 | {
[678/698] 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: add '@MainActor' to make static property 'removeRedundantInitializer' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'avoidDocBlockComment' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'useWhereInsteadOfIf' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'useWhereInsteadOfGuard' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'useSingularParameter' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'usePluralParameters' part of global actor 'MainActor'
| `- 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 | {
[679/698] 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: add '@MainActor' to make static property 'removeRedundantInitializer' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'avoidDocBlockComment' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'useWhereInsteadOfIf' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'useWhereInsteadOfGuard' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'useSingularParameter' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'usePluralParameters' part of global actor 'MainActor'
| `- 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 | {
[680/698] 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: add '@MainActor' to make static property 'removeRedundantInitializer' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'avoidDocBlockComment' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'useWhereInsteadOfIf' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'useWhereInsteadOfGuard' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'useSingularParameter' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'usePluralParameters' part of global actor 'MainActor'
| `- 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 | {
[682/699] Compiling SwiftFormat Parsing.swift
[683/699] Compiling SwiftFormat LintPipeline.swift
[684/699] Compiling SwiftFormat Pipelines+Generated.swift
[684/700] Wrapping AST for SwiftFormatRules for debugging
[687/700] Compiling SwiftFormatPrettyPrint Token.swift
[688/700] Emitting module SwiftFormatPrettyPrint
/host/spi-builder-workspace/Sources/SwiftFormatPrettyPrint/PrettyPrint.swift:783:21: warning: static property 'moveEndOfLineComment' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
781 |
782 | extension Finding.Message {
783 | public static let moveEndOfLineComment: Finding.Message =
| `- warning: static property 'moveEndOfLineComment' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
784 | "move end-of-line comment that exceeds the line length"
785 |
/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/SwiftFormatPrettyPrint/PrettyPrint.swift:14:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
12 |
13 | import SwiftFormatConfiguration
14 | import SwiftFormatCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
15 | import SwiftSyntax
16 |
:
781 |
782 | extension Finding.Message {
783 | public static let moveEndOfLineComment: Finding.Message =
| |- note: add '@MainActor' to make static property 'moveEndOfLineComment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
784 | "move end-of-line comment that exceeds the line length"
785 |
/host/spi-builder-workspace/Sources/SwiftFormatPrettyPrint/PrettyPrint.swift:786:21: warning: static property 'addTrailingComma' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
784 | "move end-of-line comment that exceeds the line length"
785 |
786 | public static let addTrailingComma: Finding.Message =
| |- warning: static property 'addTrailingComma' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'addTrailingComma' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
787 | "add trailing comma to the last element in multiline collection literal"
788 |
/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/SwiftFormatPrettyPrint/PrettyPrint.swift:789:21: warning: static property 'removeTrailingComma' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
787 | "add trailing comma to the last element in multiline collection literal"
788 |
789 | public static let removeTrailingComma: Finding.Message =
| |- warning: static property 'removeTrailingComma' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'removeTrailingComma' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
790 | "remove trailing comma from the last element in single line collection literal"
791 | }
/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 | {
[689/700] Compiling SwiftFormatPrettyPrint PrettyPrintFindingCategory.swift
[690/700] Compiling SwiftFormatPrettyPrint PrettyPrint.swift
/host/spi-builder-workspace/Sources/SwiftFormatPrettyPrint/PrettyPrint.swift:783:21: warning: static property 'moveEndOfLineComment' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
781 |
782 | extension Finding.Message {
783 | public static let moveEndOfLineComment: Finding.Message =
| `- warning: static property 'moveEndOfLineComment' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
784 | "move end-of-line comment that exceeds the line length"
785 |
/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/SwiftFormatPrettyPrint/PrettyPrint.swift:14:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
12 |
13 | import SwiftFormatConfiguration
14 | import SwiftFormatCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftFormatCore'
15 | import SwiftSyntax
16 |
:
781 |
782 | extension Finding.Message {
783 | public static let moveEndOfLineComment: Finding.Message =
| |- note: add '@MainActor' to make static property 'moveEndOfLineComment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
784 | "move end-of-line comment that exceeds the line length"
785 |
/host/spi-builder-workspace/Sources/SwiftFormatPrettyPrint/PrettyPrint.swift:786:21: warning: static property 'addTrailingComma' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
784 | "move end-of-line comment that exceeds the line length"
785 |
786 | public static let addTrailingComma: Finding.Message =
| |- warning: static property 'addTrailingComma' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'addTrailingComma' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
787 | "add trailing comma to the last element in multiline collection literal"
788 |
/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/SwiftFormatPrettyPrint/PrettyPrint.swift:789:21: warning: static property 'removeTrailingComma' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
787 | "add trailing comma to the last element in multiline collection literal"
788 |
789 | public static let removeTrailingComma: Finding.Message =
| |- warning: static property 'removeTrailingComma' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'removeTrailingComma' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
790 | "remove trailing comma from the last element in single line collection literal"
791 | }
/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 | {
[691/700] Compiling SwiftFormatPrettyPrint TokenStreamCreator.swift
[692/708] Wrapping AST for SwiftFormat for debugging
[693/716] Wrapping AST for SwiftFormatPrettyPrint for debugging
[695/725] Compiling SwiftFormat SwiftFormatError.swift
[696/726] Compiling SwiftFormat FormatPipeline.swift
[697/726] 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: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | 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: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | abstract: "Dump the 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: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | abstract: "Format Swift source code",
20 | discussion: "When no files are specified, it expects the source from standard input.")
/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: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | abstract: "Diagnose style issues in Swift source code",
20 | discussion: "When no files are specified, it expects the source from standard input.")
/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
[698/727] 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: add '@MainActor' to make static property 'disablePrettyPrint' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'dumpTokenStream' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | public let rawValue: Int
[699/727] 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: add '@MainActor' to make static property 'disablePrettyPrint' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'dumpTokenStream' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | public let rawValue: Int
[700/727] Compiling SwiftFormat SwiftFormatter.swift
[701/727] Compiling swift_format FileHandleTextOutputStream.swift
[702/727] Compiling swift_format FileIterator.swift
[703/727] 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
[704/727] 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
[705/727] 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:847:12: note: var declared here
845 |
846 | /// Public stderr stream instance.
847 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
848 | filePointer: TSCLibc.stderr,
849 | closeOnDeinit: false))
[706/727] 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:847:12: note: var declared here
845 |
846 | /// Public stderr stream instance.
847 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
848 | filePointer: TSCLibc.stderr,
849 | closeOnDeinit: false))
[709/727] 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 {
[710/727] 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 {
[711/727] 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: add '@MainActor' to make static property 'disablePrettyPrint' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'dumpTokenStream' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | public let rawValue: Int
[712/727] 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: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | abstract: "Dump the 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: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | abstract: "Format Swift source code",
20 | discussion: "When no files are specified, it expects the source from standard input.")
[713/727] 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: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | abstract: "Dump the 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: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | abstract: "Format Swift source code",
20 | discussion: "When no files are specified, it expects the source from standard input.")
[714/727] 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: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | abstract: "Diagnose style issues in Swift source code",
20 | discussion: "When no files are specified, it expects the source from standard input.")
[715/727] 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: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | abstract: "Diagnose style issues in Swift source code",
20 | discussion: "When no files are specified, it expects the source from standard input.")
[716/727] Compiling SwiftFormat SwiftLinter.swift
[717/727] 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: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | commandName: "swift-format",
20 | abstract: "Format or lint Swift source code",
[718/728] Wrapping AST for swift-format for debugging
[719/728] Write Objects.LinkFileList
error: link command failed with exit code 1 (use -v to see invocation)
ld.lld: error: undefined symbol: posix_spawnattr_destroy
>>> referenced by Process.swift:634 (/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:634)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/TSCBasic.build/Process.swift.o:($s8TSCBasic7ProcessC6launchAA18WritableByteStream_pyKF6$deferL_yyF)
ld.lld: error: undefined symbol: posix_spawn_file_actions_destroy
>>> referenced by Process.swift:679 (/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:679)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/TSCBasic.build/Process.swift.o:($s8TSCBasic7ProcessC6launchAA18WritableByteStream_pyKF6$deferL0_yyF)
ld.lld: error: undefined symbol: posix_spawnattr_init
>>> referenced by Process.swift:633 (/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:633)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/TSCBasic.build/Process.swift.o:($s8TSCBasic7ProcessC6launchAA18WritableByteStream_pyKF)
ld.lld: error: undefined symbol: posix_spawnattr_setsigmask
>>> referenced by Process.swift:639 (/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:639)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/TSCBasic.build/Process.swift.o:($s8TSCBasic7ProcessC6launchAA18WritableByteStream_pyKF)
ld.lld: error: undefined symbol: posix_spawnattr_setsigdefault
>>> referenced by Process.swift:659 (/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:659)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/TSCBasic.build/Process.swift.o:($s8TSCBasic7ProcessC6launchAA18WritableByteStream_pyKF)
ld.lld: error: undefined symbol: posix_spawnattr_setpgroup
>>> referenced by Process.swift:667 (/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:667)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/TSCBasic.build/Process.swift.o:($s8TSCBasic7ProcessC6launchAA18WritableByteStream_pyKF)
ld.lld: error: undefined symbol: posix_spawnattr_setflags
>>> referenced by Process.swift:670 (/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:670)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/TSCBasic.build/Process.swift.o:($s8TSCBasic7ProcessC6launchAA18WritableByteStream_pyKF)
ld.lld: error: undefined symbol: posix_spawn_file_actions_init
>>> referenced by Process.swift:678 (/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:678)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/TSCBasic.build/Process.swift.o:($s8TSCBasic7ProcessC6launchAA18WritableByteStream_pyKF)
ld.lld: error: undefined symbol: posix_spawn_file_actions_adddup2
>>> referenced by Process.swift:711 (/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:711)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/TSCBasic.build/Process.swift.o:($s8TSCBasic7ProcessC6launchAA18WritableByteStream_pyKF)
>>> referenced by Process.swift:724 (/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:724)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/TSCBasic.build/Process.swift.o:($s8TSCBasic7ProcessC6launchAA18WritableByteStream_pyKF)
>>> referenced by Process.swift:732 (/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:732)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/TSCBasic.build/Process.swift.o:($s8TSCBasic7ProcessC6launchAA18WritableByteStream_pyKF)
>>> referenced 3 more times
ld.lld: error: undefined symbol: posix_spawn_file_actions_addclose
>>> referenced by Process.swift:714 (/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:714)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/TSCBasic.build/Process.swift.o:($s8TSCBasic7ProcessC6launchAA18WritableByteStream_pyKF)
>>> referenced by Process.swift:715 (/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:715)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/TSCBasic.build/Process.swift.o:($s8TSCBasic7ProcessC6launchAA18WritableByteStream_pyKF)
>>> referenced by Process.swift:727 (/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:727)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/TSCBasic.build/Process.swift.o:($s8TSCBasic7ProcessC6launchAA18WritableByteStream_pyKF)
>>> referenced 3 more times
ld.lld: error: undefined symbol: posix_spawnp
>>> referenced by Process.swift:753 (/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:753)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/TSCBasic.build/Process.swift.o:($s8TSCBasic7ProcessC6launchAA18WritableByteStream_pyKF)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
[720/728] Linking swift-format
[721/728] Compiling SwiftFormat LintPipeline.swift
[722/728] Compiling SwiftFormat Parsing.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin Lint Source Code
[2/2] Compiling plugin Format Source Code
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/53] Write swift-version-24593BA9C3E375BF.txt
[5/67] Compiling TSCLibc libc.swift
[6/67] Emitting module TSCLibc
[8/69] Compiling SwiftFormatConfiguration Indent.swift
[9/69] Compiling SwiftFormatConfiguration RuleRegistry+Generated.swift
[10/69] Emitting module TSCLibc
[11/69] Compiling TSCLibc libc.swift
[12/69] Emitting module ArgumentParserToolInfo
[13/77] Compiling SwiftFormatConfiguration RuleRegistry+Generated.swift
[14/137] Compiling SwiftFormatConfiguration Indent.swift
[16/185] Emitting module ArgumentParserToolInfo
[17/185] Compiling ArgumentParserToolInfo ToolInfo.swift
[18/186] Emitting module SwiftFormatConfiguration
[19/186] Compiling SwiftFormatConfiguration Configuration.swift
[22/225] Emitting module SwiftFormatConfiguration
[23/225] Compiling SwiftFormatConfiguration Configuration.swift
[25/225] Compiling ArgumentParserToolInfo ToolInfo.swift
[27/263] Compiling ArgumentParser HelpGenerator.swift
[28/263] Compiling ArgumentParser MessageInfo.swift
[29/263] Compiling ArgumentParser UsageGenerator.swift
[30/263] Compiling TSCBasic SynchronizedQueue.swift
[31/263] Compiling TSCBasic TemporaryFile.swift
[32/306] Emitting module TSCBasic
[34/311] Compiling ArgumentParser HelpGenerator.swift
[35/311] Compiling ArgumentParser MessageInfo.swift
[36/311] Compiling ArgumentParser UsageGenerator.swift
[39/311] Compiling ArgumentParser OptionGroup.swift
[40/311] Compiling ArgumentParser AsyncParsableCommand.swift
[41/311] Compiling ArgumentParser CommandConfiguration.swift
[42/311] Compiling ArgumentParser CommandGroup.swift
[43/311] Compiling ArgumentParser EnumerableFlag.swift
[44/316] Emitting module ArgumentParser
[50/316] Compiling ArgumentParser ArgumentDefinition.swift
[51/316] Compiling ArgumentParser ParsableArgumentsValidation.swift
[52/316] Compiling ArgumentParser ParsableCommand.swift
[53/316] Compiling ArgumentParser ArgumentDecoder.swift
[54/316] Compiling ArgumentParser BashCompletionsGenerator.swift
[55/316] Compiling ArgumentParser CompletionsGenerator.swift
[56/316] Compiling ArgumentParser FishCompletionsGenerator.swift
[57/316] Compiling ArgumentParser ArgumentSet.swift
[58/316] Compiling ArgumentParser CommandParser.swift
[59/316] Compiling ArgumentParser InputKey.swift
[60/316] Compiling ArgumentParser InputOrigin.swift
[61/316] Compiling ArgumentParser ExpressibleByArgument.swift
[62/316] Compiling ArgumentParser ParsableArguments.swift
[63/316] Compiling ArgumentParser CollectionExtensions.swift
[64/316] Compiling ArgumentParser Platform.swift
[65/316] Compiling ArgumentParser SequenceExtensions.swift
[66/316] Compiling ArgumentParser StringExtensions.swift
[67/316] Compiling ArgumentParser Tree.swift
[68/316] Compiling ArgumentParser ParsedValues.swift
[69/316] Compiling ArgumentParser ParserError.swift
[70/316] Compiling ArgumentParser SplitArguments.swift
[71/316] Compiling ArgumentParser DumpHelpGenerator.swift
[72/316] Compiling ArgumentParser HelpCommand.swift
[73/316] Compiling ArgumentParser Errors.swift
[74/316] Compiling ArgumentParser Flag.swift
[75/316] Compiling ArgumentParser NameSpecification.swift
[76/316] Compiling ArgumentParser Option.swift
[77/316] Compiling ArgumentParser Name.swift
[78/316] Compiling ArgumentParser Parsed.swift
[79/316] Compiling ArgumentParser ZshCompletionsGenerator.swift
[80/316] Compiling ArgumentParser Argument.swift
[81/316] Compiling ArgumentParser ArgumentHelp.swift
[82/316] Compiling ArgumentParser ArgumentVisibility.swift
[83/316] Compiling ArgumentParser CompletionKind.swift
[84/316] Emitting module ArgumentParser
[136/326] Compiling SwiftSyntax SyntaxPatternNodes.swift
[137/326] Compiling SwiftSyntax SyntaxStmtNodes.swift
[138/326] Compiling SwiftSyntax SyntaxTypeNodes.swift
[139/326] Compiling TSCBasic WritableByteStream.swift
[140/326] Compiling TSCBasic misc.swift
[161/328] Wrapping AST for TSCBasic for debugging
[165/328] Compiling SwiftSyntax SyntaxExprNodes.swift
[166/328] Compiling SwiftSyntax SyntaxNodes.swift
[235/333] Emitting module SwiftSyntax
[264/333] Compiling SwiftSyntax SyntaxExprNodes.swift
[265/333] Compiling SwiftSyntax SyntaxNodes.swift
[266/333] Compiling SwiftSyntax SyntaxPatternNodes.swift
[267/333] Compiling SwiftSyntax SyntaxStmtNodes.swift
[268/333] Compiling SwiftSyntax SyntaxTypeNodes.swift
[285/334] Write Objects.LinkFileList
[286/334] Archiving libSwiftSyntax-tool.a
[288/344] Emitting module SwiftBasicFormat
[289/344] Compiling SwiftDiagnostics Message.swift
[290/344] Emitting module SwiftDiagnostics
[291/344] Compiling SwiftDiagnostics Note.swift
[292/344] Compiling SwiftDiagnostics FixIt.swift
[293/344] Compiling SwiftDiagnostics Diagnostic.swift
[294/344] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[296/345] Compiling SwiftBasicFormat Trivia+Indented.swift
[297/345] Compiling SwiftBasicFormat BasicFormat.swift
[298/345] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[310/372] Write Objects.LinkFileList
[312/372] Compiling SwiftParser Lookahead.swift
[313/372] Compiling SwiftParser LoopProgressCondition.swift
[314/372] Compiling SwiftParser Modifiers.swift
[315/372] Compiling SwiftParser Names.swift
[315/375] Archiving libSwiftSyntax.a
[317/385] Compiling SwiftParser Recovery.swift
[318/385] Compiling SwiftParser Statements.swift
[319/385] Compiling SwiftParser SyntaxUtils.swift
[320/385] Compiling SwiftParser TriviaParser.swift
[321/385] Compiling SwiftParser Types.swift
[322/385] Compiling SwiftParser DeclarationAttribute.swift
[323/385] Compiling SwiftParser TokenConsumer.swift
[324/385] Compiling SwiftParser TokenPrecedence.swift
[325/385] Compiling SwiftParser TopLevel.swift
[326/385] Compiling SwiftParser DeclarationModifier.swift
[327/385] Compiling SwiftParser Parser+Entry.swift
[328/385] Compiling SwiftParser TypeAttribute.swift
[329/385] Emitting module SwiftDiagnostics
[330/385] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[331/385] Compiling SwiftDiagnostics Message.swift
[332/385] Compiling SwiftDiagnostics FixIt.swift
[333/385] Compiling SwiftDiagnostics Note.swift
[334/385] Compiling SwiftDiagnostics Diagnostic.swift
[335/385] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[336/386] Compiling SwiftParser Attributes.swift
[337/386] Compiling SwiftParser Availability.swift
[338/386] Compiling SwiftParser CharacterInfo.swift
[339/386] Compiling SwiftParser Declarations.swift
[341/386] Emitting module SwiftBasicFormat
[342/386] Compiling SwiftBasicFormat BasicFormat.swift
[343/386] Compiling SwiftBasicFormat Trivia+Indented.swift
[344/386] Emitting module SwiftParser
[345/386] Compiling SwiftParser Nominals.swift
[346/386] Compiling SwiftParser Parser.swift
[347/386] Compiling SwiftParser Patterns.swift
[348/386] Compiling SwiftParser RawTokenKindSubset.swift
[350/412] Emitting module SwiftParser
[351/415] Compiling SwiftParser TokenConsumer.swift
[352/415] Compiling SwiftParser TokenPrecedence.swift
[353/415] Compiling SwiftParser TopLevel.swift
[354/415] Compiling SwiftParser TriviaParser.swift
[355/415] Compiling SwiftParser Types.swift
[356/415] Compiling SwiftParser DeclarationAttribute.swift
[357/415] Compiling SwiftParser Recovery.swift
[358/415] Compiling SwiftParser Statements.swift
[359/415] Compiling SwiftParser SyntaxUtils.swift
[360/415] Compiling SwiftParser DeclarationModifier.swift
[361/415] Compiling SwiftParser Parser+Entry.swift
[362/415] Compiling SwiftParser TypeAttribute.swift
[363/415] Compiling SwiftParser Nominals.swift
[364/415] Compiling SwiftParser Parser.swift
[365/415] Compiling SwiftParser Patterns.swift
[366/415] Compiling SwiftParser RawTokenKindSubset.swift
[369/415] Compiling SwiftParser Lookahead.swift
[370/415] Compiling SwiftParser LoopProgressCondition.swift
[372/416] Compiling SwiftParser Attributes.swift
[373/416] Compiling SwiftParser Availability.swift
[374/416] Compiling SwiftParser CharacterInfo.swift
[375/416] Compiling SwiftParser Declarations.swift
[375/417] Wrapping AST for SwiftParser for debugging
[376/417] Write Objects.LinkFileList
[377/417] Archiving libSwiftParser-tool.a
[379/435] Compiling SwiftParserDiagnostics Utils.swift
[380/435] Compiling SwiftOperators PrecedenceGroup.swift
[381/436] Emitting module SwiftOperators
[382/436] Compiling SwiftOperators SyntaxSynthesis.swift
[383/436] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[384/436] Compiling SwiftOperators OperatorTable.swift
[385/436] Compiling SwiftOperators PrecedenceGraph.swift
[386/436] Compiling SwiftOperators OperatorTable+Folding.swift
[387/436] Compiling SwiftOperators OperatorError.swift
[388/436] Compiling SwiftOperators OperatorTable+Defaults.swift
[389/436] Compiling SwiftOperators Operator.swift
[390/436] Compiling SwiftOperators OperatorError+Diagnostics.swift
[391/436] Compiling SwiftOperators OperatorTable+Semantics.swift
[393/437] Compiling SwiftParserDiagnostics PresenceUtils.swift
[394/437] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[397/437] Compiling SwiftParser Modifiers.swift
[398/437] Compiling SwiftParser Names.swift
[399/437] Compiling SwiftParser Directives.swift
[400/437] Compiling SwiftParser Expressions.swift
[401/437] Compiling SwiftParser Lexer.swift
[402/437] Compiling SwiftParser LexerDiagnosticMessages.swift
[403/439] Wrapping AST for SwiftOperators for debugging
[404/439] Write Objects.LinkFileList
[405/454] Wrapping AST for SwiftParser for debugging
[406/454] Write Objects.LinkFileList
[407/455] Archiving libSwiftOperators-tool.a
[409/472] Compiling SwiftParserDiagnostics MissingNodesError.swift
[410/472] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[411/472] Emitting module SwiftParserDiagnostics
[412/472] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[414/473] Compiling SwiftOperators Operator.swift
[415/473] Compiling SwiftOperators OperatorError+Diagnostics.swift
[415/474] Archiving libSwiftParser.a
[417/474] Emitting module SwiftOperators
[418/474] Compiling SwiftOperators SyntaxSynthesis.swift
[419/474] Compiling SwiftOperators PrecedenceGroup.swift
[420/474] Compiling SwiftParserDiagnostics Utils.swift
[421/474] Compiling SwiftOperators PrecedenceGraph.swift
[422/474] Compiling SwiftFormatCore SyntaxProtocol+Convenience.swift
[423/475] Emitting module SwiftFormatCore
[426/475] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[427/475] Compiling SwiftOperators OperatorTable.swift
[428/475] Compiling SwiftParserDiagnostics PresenceUtils.swift
[429/475] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[429/475] Wrapping AST for SwiftParserDiagnostics for debugging
[430/475] Write Objects.LinkFileList
[432/475] Compiling SwiftOperators OperatorError.swift
[433/475] Compiling SwiftOperators OperatorTable+Defaults.swift
[434/475] Compiling SwiftFormatCore SyntaxFormatRule.swift
[435/475] Compiling SwiftFormatCore SyntaxLintRule.swift
[436/475] Compiling SwiftFormatCore Trivia+Convenience.swift
[437/475] Compiling SwiftFormatCore FindingEmitter.swift
[438/475] Compiling SwiftFormatCore LegacyTriviaBehavior.swift
[441/475] Compiling SwiftFormatCore Rule.swift
[442/475] Compiling SwiftFormatCore RuleBasedFindingCategory.swift
[443/475] Compiling SwiftFormatCore RuleMask.swift
[444/475] Compiling SwiftFormatCore RuleState.swift
[446/476] Compiling SwiftOperators OperatorTable+Semantics.swift
[447/476] Compiling SwiftOperators OperatorTable+Folding.swift
[448/476] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[449/476] Emitting module SwiftParserDiagnostics
[449/477] Archiving libSwiftParserDiagnostics-tool.a
[452/476] Compiling SwiftParserDiagnostics MissingNodesError.swift
[453/476] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[454/478] Wrapping AST for SwiftOperators for debugging
[455/478] Write Objects.LinkFileList
[456/541] Wrapping AST for SwiftParserDiagnostics for debugging
[457/541] Write Objects.LinkFileList
[458/547] Archiving libSwiftOperators.a
[460/547] Compiling SwiftFormatWhitespaceLinter RememberingIterator.swift
[461/547] Emitting module SwiftFormatWhitespaceLinter
[462/547] Compiling SwiftFormatWhitespaceLinter LazySplitSequence.swift
[463/547] Compiling SwiftFormatWhitespaceLinter WhitespaceLinter.swift
[464/547] Compiling SwiftFormatWhitespaceLinter WhitespaceFindingCategory.swift
[465/547] Compiling SwiftFormatPrettyPrint Verbatim.swift
[465/548] Archiving libSwiftParserDiagnostics.a
[467/548] Emitting module SwiftFormatPrettyPrint
[468/548] Emitting module SwiftFormatCore
[470/549] Compiling SwiftFormatCore SyntaxProtocol+Convenience.swift
[471/549] Compiling SwiftFormatRules AddModifierRewriter.swift
[472/549] Compiling SwiftFormatRules AllPublicDeclarationsHaveDocumentation.swift
[473/549] Compiling SwiftFormatRules AlwaysUseLowerCamelCase.swift
[474/549] Compiling SwiftFormatRules AmbiguousTrailingClosureOverload.swift
[475/549] Compiling SwiftFormatRules BeginDocumentationCommentWithOneLineSummary.swift
[476/549] Compiling SwiftFormatRules DeclSyntaxProtocol+Comments.swift
[477/549] Compiling SwiftFormatCore Trivia+Convenience.swift
[478/549] Compiling SwiftFormatRules IdentifiersMustBeASCII.swift
[479/549] Compiling SwiftFormatRules ImportsXCTestVisitor.swift
[480/549] Compiling SwiftFormatRules ModifierListSyntax+Convenience.swift
[481/549] Compiling SwiftFormatRules NeverForceUnwrap.swift
[482/549] Compiling SwiftFormatRules NeverUseForceTry.swift
[483/549] Compiling SwiftFormatRules NeverUseImplicitlyUnwrappedOptionals.swift
[483/549] Wrapping AST for SwiftFormatWhitespaceLinter for debugging
[487/554] Compiling SwiftFormatRules TokenSyntax+Convenience.swift
[488/554] Compiling SwiftFormatRules UseEarlyExits.swift
[489/554] Compiling SwiftFormatRules UseLetInEveryBoundCaseVariable.swift
[490/554] Compiling SwiftFormatRules UseShorthandTypeNames.swift
[491/554] Compiling SwiftFormatRules UseSingleLinePropertyGetter.swift
[492/554] Compiling SwiftFormatRules NoAccessLevelOnExtensionDeclaration.swift
[493/554] Compiling SwiftFormatRules NoAssignmentInExpressions.swift
[494/554] Compiling SwiftFormatRules NoBlockComments.swift
[495/554] Compiling SwiftFormatRules NoCasesWithOnlyFallthrough.swift
[496/554] Compiling SwiftFormatRules NoEmptyTrailingClosureParentheses.swift
[497/554] Compiling SwiftFormatRules NoLabelsInCasePatterns.swift
[498/554] Compiling SwiftFormatRules NoLeadingUnderscores.swift
[499/554] Compiling SwiftFormatRules NoParensAroundConditions.swift
[500/554] Compiling SwiftFormatRules NoPlaygroundLiterals.swift
[501/554] Compiling SwiftFormatRules NoVoidReturnOnFunctionSignature.swift
[502/554] Compiling SwiftFormatRules OneCasePerLine.swift
[503/554] Compiling SwiftFormatRules OneVariableDeclarationPerLine.swift
[504/554] Compiling SwiftFormatRules OnlyOneTrailingClosureArgument.swift
[505/554] Compiling SwiftFormatRules OrderedImports.swift
[506/554] Compiling SwiftFormatRules ReplaceTrivia.swift
[507/554] Compiling SwiftFormatRules ReturnVoidInsteadOfEmptyTuple.swift
[508/554] Compiling SwiftFormatRules RuleNameCache+Generated.swift
[509/554] Compiling SwiftFormatRules SemicolonSyntaxProtocol.swift
[515/555] Emitting module SwiftFormatRules
[522/555] Compiling SwiftFormatRules DoNotUseSemicolons.swift
[523/555] Compiling SwiftFormatRules DontRepeatTypeInStaticProperties.swift
[524/555] Compiling SwiftFormatRules FileScopedDeclarationPrivacy.swift
[525/555] Compiling SwiftFormatRules FullyIndirectEnum.swift
[526/555] Compiling SwiftFormatRules FunctionDeclSyntax+Convenience.swift
[527/555] Compiling SwiftFormatRules GroupNumericLiterals.swift
[528/609] Compiling SwiftFormatPrettyPrint Token.swift
[529/609] Compiling SwiftFormatPrettyPrint Comment.swift
[530/609] Compiling SwiftFormatPrettyPrint PrettyPrintFindingCategory.swift
[531/609] Compiling SwiftFormatPrettyPrint Indent+Length.swift
[532/609] Compiling SwiftFormatWhitespaceLinter RememberingIterator.swift
[533/609] Compiling SwiftFormatWhitespaceLinter LazySplitSequence.swift
[534/609] Emitting module SwiftFormatWhitespaceLinter
[535/609] Compiling SwiftFormatRules UseSynthesizedInitializer.swift
[536/609] Compiling SwiftFormatRules UseTripleSlashForDocumentationComments.swift
[537/609] Compiling SwiftFormatRules UseWhereClausesInForLoops.swift
[538/609] Compiling SwiftFormatRules ValidateDocumentationComments.swift
[539/609] Compiling SwiftFormatRules VarDeclSyntax+Convenience.swift
[540/609] Compiling SwiftFormatPrettyPrint Verbatim.swift
[541/609] Compiling SwiftFormatWhitespaceLinter WhitespaceFindingCategory.swift
[542/609] Compiling SwiftFormatWhitespaceLinter WhitespaceLinter.swift
[545/611] Compiling SwiftFormatPrettyPrint PrettyPrint.swift
[545/611] Wrapping AST for SwiftFormatWhitespaceLinter for debugging
[546/611] Wrapping AST for SwiftFormatRules for debugging
[548/611] Emitting module SwiftFormatPrettyPrint
[549/611] Emitting module SwiftFormatRules
[550/616] Compiling SwiftFormatRules NoAccessLevelOnExtensionDeclaration.swift
[551/616] Compiling SwiftFormatRules NoAssignmentInExpressions.swift
[552/616] Compiling SwiftFormatRules NoBlockComments.swift
[553/616] Compiling SwiftFormatRules NoCasesWithOnlyFallthrough.swift
[554/616] Compiling SwiftFormatRules NoEmptyTrailingClosureParentheses.swift
[555/616] Compiling SwiftFormatRules NoLabelsInCasePatterns.swift
[556/616] Compiling SwiftFormatRules IdentifiersMustBeASCII.swift
[557/616] Compiling SwiftFormatRules ImportsXCTestVisitor.swift
[558/616] Compiling SwiftFormatRules ModifierListSyntax+Convenience.swift
[559/616] Compiling SwiftFormatRules NeverForceUnwrap.swift
[560/616] Compiling SwiftFormatRules NeverUseForceTry.swift
[561/616] Compiling SwiftFormatRules NeverUseImplicitlyUnwrappedOptionals.swift
[562/616] Compiling SwiftFormatRules TokenSyntax+Convenience.swift
[563/616] Compiling SwiftFormatRules UseEarlyExits.swift
[564/616] Compiling SwiftFormatRules UseLetInEveryBoundCaseVariable.swift
[565/616] Compiling SwiftFormatRules UseShorthandTypeNames.swift
[566/616] Compiling SwiftFormatRules UseSingleLinePropertyGetter.swift
[567/616] Compiling SwiftFormatRules DoNotUseSemicolons.swift
[568/616] Compiling SwiftFormatRules DontRepeatTypeInStaticProperties.swift
[569/616] Compiling SwiftFormatRules FileScopedDeclarationPrivacy.swift
[570/616] Compiling SwiftFormatRules FullyIndirectEnum.swift
[571/616] Compiling SwiftFormatRules FunctionDeclSyntax+Convenience.swift
[572/616] Compiling SwiftFormatRules GroupNumericLiterals.swift
[573/616] Compiling SwiftFormatRules NoLeadingUnderscores.swift
[574/616] Compiling SwiftFormatRules NoParensAroundConditions.swift
[575/616] Compiling SwiftFormatRules NoPlaygroundLiterals.swift
[576/616] Compiling SwiftFormatRules NoVoidReturnOnFunctionSignature.swift
[577/616] Compiling SwiftFormatRules OneCasePerLine.swift
[578/616] Compiling SwiftFormatRules OneVariableDeclarationPerLine.swift
[579/616] Compiling SwiftFormatRules OnlyOneTrailingClosureArgument.swift
[580/616] Compiling SwiftFormatRules OrderedImports.swift
[581/616] Compiling SwiftFormatRules ReplaceTrivia.swift
[582/616] Compiling SwiftFormatRules ReturnVoidInsteadOfEmptyTuple.swift
[583/616] Compiling SwiftFormatRules RuleNameCache+Generated.swift
[584/616] Compiling SwiftFormatRules SemicolonSyntaxProtocol.swift
[585/616] Compiling SwiftFormatPrettyPrint Token.swift
[586/616] Compiling SwiftFormatPrettyPrint PrettyPrintFindingCategory.swift
[587/616] Compiling SwiftFormatPrettyPrint PrettyPrint.swift
[588/616] Compiling SwiftFormatPrettyPrint Indent+Length.swift
[589/616] Compiling SwiftFormatPrettyPrint TokenStreamCreator.swift
[590/616] Compiling SwiftFormatPrettyPrint Comment.swift
[592/617] Compiling SwiftFormatRules AddModifierRewriter.swift
[593/617] Compiling SwiftFormatRules AllPublicDeclarationsHaveDocumentation.swift
[594/617] Compiling SwiftFormatRules AlwaysUseLowerCamelCase.swift
[595/617] Compiling SwiftFormatRules AmbiguousTrailingClosureOverload.swift
[596/617] Compiling SwiftFormatRules BeginDocumentationCommentWithOneLineSummary.swift
[597/617] Compiling SwiftFormatRules DeclSyntaxProtocol+Comments.swift
[598/617] Compiling SwiftFormatRules UseSynthesizedInitializer.swift
[599/617] Compiling SwiftFormatRules UseTripleSlashForDocumentationComments.swift
[600/617] Compiling SwiftFormatRules UseWhereClausesInForLoops.swift
[601/617] Compiling SwiftFormatRules ValidateDocumentationComments.swift
[602/617] Compiling SwiftFormatRules VarDeclSyntax+Convenience.swift
[603/617] Wrapping AST for SwiftFormatRules for debugging
[605/617] Compiling SwiftFormatPrettyPrint TokenStreamCreator.swift
[607/638] 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) {
[608/638] Compiling generate_pipeline Syntax+Convenience.swift
[609/638] Compiling generate_pipeline main.swift
[610/638] Compiling SwiftFormat SwiftFormatter.swift
[611/638] Compiling SwiftFormat SwiftFormatError.swift
[612/639] Compiling SwiftFormatTestSupport DiagnosingTestCase.swift
[613/639] Compiling SwiftFormatTestSupport TestingFindingConsumer.swift
[614/639] Emitting module SwiftFormatTestSupport
[615/639] Compiling SwiftFormat DebugOptions.swift
[616/639] Compiling SwiftFormat Exports.swift
[617/639] Compiling generate_pipeline RuleRegistryGenerator.swift
[618/639] Compiling generate_pipeline RuleNameCacheGenerator.swift
[619/639] Compiling generate_pipeline RuleCollector.swift
[620/639] 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() }
[621/639] Compiling generate_pipeline PipelineGenerator.swift
[622/641] Emitting module SwiftFormat
[625/641] Compiling SwiftFormat SwiftLinter.swift
[625/649] Wrapping AST for generate-pipeline for debugging
[626/649] Write Objects.LinkFileList
[628/649] Compiling SwiftFormat SwiftFormatter.swift
[629/649] Compiling SwiftFormat SwiftFormatError.swift
[630/650] Compiling SwiftFormat SwiftLinter.swift
[631/650] Emitting module SwiftFormat
[631/650] Linking generate-pipeline
[633/650] Compiling SwiftFormat FormatPipeline.swift
[634/650] Compiling SwiftFormat LintPipeline.swift
[635/650] Compiling SwiftFormat Parsing.swift
[636/650] Compiling SwiftFormat Pipelines+Generated.swift
[637/651] Wrapping AST for SwiftFormat for debugging
[639/666] Compiling SwiftFormat Parsing.swift
[640/666] Compiling SwiftFormat LintPipeline.swift
[641/666] Compiling SwiftFormat Pipelines+Generated.swift
[642/666] Compiling SwiftFormat FormatPipeline.swift
[643/666] Compiling swift_format ConfigurationLoader.swift
[644/666] Compiling swift_format FormatFrontend.swift
[646/667] Compiling swift_format FormatError.swift
[647/667] Compiling swift_format StderrDiagnosticPrinter.swift
[648/667] 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
[649/667] 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
[650/668] Compiling swift_format FileHandleTextOutputStream.swift
[651/668] Compiling swift_format FileIterator.swift
[652/668] Emitting module swift_format
/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
[654/668] Wrapping AST for SwiftFormat for debugging
[656/668] Compiling swift_format DumpConfiguration.swift
[657/668] Compiling swift_format Format.swift
[658/668] Compiling swift_format Frontend.swift
[659/668] Compiling swift_format LintFrontend.swift
[660/668] Compiling swift_format Lint.swift
[661/668] Compiling swift_format LintFormatOptions.swift
[662/668] Compiling swift_format main.swift
[663/684] Wrapping AST for swift-format for debugging
[664/684] Write Objects.LinkFileList
[666/684] Compiling swift_format Lint.swift
[667/684] Compiling swift_format LintFormatOptions.swift
[668/684] Compiling swift_format FileHandleTextOutputStream.swift
[669/684] Compiling swift_format FileIterator.swift
[670/685] Compiling swift_format Frontend.swift
[671/685] Compiling swift_format LintFrontend.swift
[672/685] Emitting module swift_format
/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
[673/685] Compiling swift_format ConfigurationLoader.swift
[674/685] Compiling swift_format FormatFrontend.swift
[675/685] Compiling swift_format DumpConfiguration.swift
[676/685] Compiling swift_format Format.swift
[677/685] Compiling swift_format FormatError.swift
[678/685] Compiling swift_format StderrDiagnosticPrinter.swift
[679/685] 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
[680/685] 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
[681/685] Compiling swift_format main.swift
[682/686] Wrapping AST for swift-format for debugging
[683/686] Write Objects.LinkFileList
[684/686] Linking swift-format-tool
error: link command failed with exit code 1 (use -v to see invocation)
ld.lld: error: undefined symbol: posix_spawnattr_destroy
>>> referenced by Process.swift:634 (/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:634)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/TSCBasic.build/Process.swift.o:($s8TSCBasic7ProcessC6launchAA18WritableByteStream_pyKF6$deferL_yyF)
ld.lld: error: undefined symbol: posix_spawn_file_actions_destroy
>>> referenced by Process.swift:679 (/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:679)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/TSCBasic.build/Process.swift.o:($s8TSCBasic7ProcessC6launchAA18WritableByteStream_pyKF6$deferL0_yyF)
ld.lld: error: undefined symbol: posix_spawnattr_init
>>> referenced by Process.swift:633 (/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:633)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/TSCBasic.build/Process.swift.o:($s8TSCBasic7ProcessC6launchAA18WritableByteStream_pyKF)
ld.lld: error: undefined symbol: posix_spawnattr_setsigmask
>>> referenced by Process.swift:639 (/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:639)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/TSCBasic.build/Process.swift.o:($s8TSCBasic7ProcessC6launchAA18WritableByteStream_pyKF)
ld.lld: error: undefined symbol: posix_spawnattr_setsigdefault
>>> referenced by Process.swift:659 (/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:659)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/TSCBasic.build/Process.swift.o:($s8TSCBasic7ProcessC6launchAA18WritableByteStream_pyKF)
ld.lld: error: undefined symbol: posix_spawnattr_setpgroup
>>> referenced by Process.swift:667 (/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:667)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/TSCBasic.build/Process.swift.o:($s8TSCBasic7ProcessC6launchAA18WritableByteStream_pyKF)
ld.lld: error: undefined symbol: posix_spawnattr_setflags
>>> referenced by Process.swift:670 (/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:670)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/TSCBasic.build/Process.swift.o:($s8TSCBasic7ProcessC6launchAA18WritableByteStream_pyKF)
ld.lld: error: undefined symbol: posix_spawn_file_actions_init
>>> referenced by Process.swift:678 (/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:678)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/TSCBasic.build/Process.swift.o:($s8TSCBasic7ProcessC6launchAA18WritableByteStream_pyKF)
ld.lld: error: undefined symbol: posix_spawn_file_actions_adddup2
>>> referenced by Process.swift:711 (/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:711)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/TSCBasic.build/Process.swift.o:($s8TSCBasic7ProcessC6launchAA18WritableByteStream_pyKF)
>>> referenced by Process.swift:724 (/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:724)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/TSCBasic.build/Process.swift.o:($s8TSCBasic7ProcessC6launchAA18WritableByteStream_pyKF)
>>> referenced by Process.swift:732 (/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:732)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/TSCBasic.build/Process.swift.o:($s8TSCBasic7ProcessC6launchAA18WritableByteStream_pyKF)
>>> referenced 3 more times
ld.lld: error: undefined symbol: posix_spawn_file_actions_addclose
>>> referenced by Process.swift:714 (/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:714)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/TSCBasic.build/Process.swift.o:($s8TSCBasic7ProcessC6launchAA18WritableByteStream_pyKF)
>>> referenced by Process.swift:715 (/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:715)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/TSCBasic.build/Process.swift.o:($s8TSCBasic7ProcessC6launchAA18WritableByteStream_pyKF)
>>> referenced by Process.swift:727 (/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:727)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/TSCBasic.build/Process.swift.o:($s8TSCBasic7ProcessC6launchAA18WritableByteStream_pyKF)
>>> referenced 3 more times
ld.lld: error: undefined symbol: posix_spawnp
>>> referenced by Process.swift:753 (/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process/Process.swift:753)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/TSCBasic.build/Process.swift.o:($s8TSCBasic7ProcessC6launchAA18WritableByteStream_pyKF)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
[685/686] Linking swift-format
BUILD FAILURE 6.1 android