Build Information
Successful build of swift-format with Swift 6.0 (beta) for macOS (SPM) (7996ac) on 28 Jun 2024 05:54:21 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Beta.2.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/UseTripleSlashForDocumentationComments.swift:113: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
111 | extension Finding.Message {
112 | @_spi(Rules)
113 | 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
| |- note: annotate 'avoidDocBlockComment' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
114 | "replace documentation block comments with documentation line comments"
115 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/UseWhereClausesInForLoops.swift:126: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
124 | extension Finding.Message {
125 | @_spi(Rules)
126 | 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
| |- note: annotate 'useWhereInsteadOfIf' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
127 | "replace this 'if' statement with a 'where' clause"
128 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/UseWhereClausesInForLoops.swift:130: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
128 |
129 | @_spi(Rules)
130 | public static let useWhereInsteadOfGuard: Finding.Message =
| |- warning: static property 'useWhereInsteadOfGuard' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'useWhereInsteadOfGuard' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 | "replace this 'guard' statement with a 'where' clause"
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/ValidateDocumentationComments.swift:186: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
184 |
185 | @_spi(Rules)
186 | 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
| |- note: annotate 'useSingularParameter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
187 | "replace the plural 'Parameters:' section with a singular inline 'Parameter' section"
188 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/ValidateDocumentationComments.swift:190: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
188 |
189 | @_spi(Rules)
190 | public static let usePluralParameters: Finding.Message =
| |- warning: static property 'usePluralParameters' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'usePluralParameters' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
191 | """
192 | replace the singular inline 'Parameter' section with a plural 'Parameters:' section \
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
[378/412] Compiling SwiftFormat UseTripleSlashForDocumentationComments.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/UseEarlyExits.swift:111:21: warning: static property 'useGuardStatement' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
109 | extension Finding.Message {
110 | @_spi(Rules)
111 | public static let useGuardStatement: Finding.Message =
| |- warning: static property 'useGuardStatement' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'useGuardStatement' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 | "replace this 'if/else' block with a 'guard' statement containing the early exit"
113 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/UseLetInEveryBoundCaseVariable.swift:70:21: warning: static property 'useLetInBoundCaseVariables' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
68 | extension Finding.Message {
69 | @_spi(Rules)
70 | public static let useLetInBoundCaseVariables: Finding.Message =
| |- warning: static property 'useLetInBoundCaseVariables' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'useLetInBoundCaseVariables' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | "move this 'let' keyword inside the 'case' pattern, before each of the bound variables"
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/UseSingleLinePropertyGetter.swift:45:21: warning: static property 'removeExtraneousGetBlock' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
43 | extension Finding.Message {
44 | @_spi(Rules)
45 | public static let removeExtraneousGetBlock: Finding.Message =
| |- warning: static property 'removeExtraneousGetBlock' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'removeExtraneousGetBlock' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | "remove 'get {...}' around the accessor and move its body directly into the computed property"
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/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 | extension Finding.Message {
188 | @_spi(Rules)
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
| |- note: annotate 'removeRedundantInitializer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
190 | "remove this explicit initializer, which is identical to the compiler-synthesized initializer"
191 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/UseTripleSlashForDocumentationComments.swift:113: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
111 | extension Finding.Message {
112 | @_spi(Rules)
113 | 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
| |- note: annotate 'avoidDocBlockComment' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
114 | "replace documentation block comments with documentation line comments"
115 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/UseWhereClausesInForLoops.swift:126: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
124 | extension Finding.Message {
125 | @_spi(Rules)
126 | 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
| |- note: annotate 'useWhereInsteadOfIf' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
127 | "replace this 'if' statement with a 'where' clause"
128 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/UseWhereClausesInForLoops.swift:130: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
128 |
129 | @_spi(Rules)
130 | public static let useWhereInsteadOfGuard: Finding.Message =
| |- warning: static property 'useWhereInsteadOfGuard' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'useWhereInsteadOfGuard' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 | "replace this 'guard' statement with a 'where' clause"
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/ValidateDocumentationComments.swift:186: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
184 |
185 | @_spi(Rules)
186 | 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
| |- note: annotate 'useSingularParameter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
187 | "replace the plural 'Parameters:' section with a singular inline 'Parameter' section"
188 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/ValidateDocumentationComments.swift:190: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
188 |
189 | @_spi(Rules)
190 | public static let usePluralParameters: Finding.Message =
| |- warning: static property 'usePluralParameters' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'usePluralParameters' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
191 | """
192 | replace the singular inline 'Parameter' section with a plural 'Parameters:' section \
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
[379/412] Compiling SwiftFormat UseWhereClausesInForLoops.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/UseEarlyExits.swift:111:21: warning: static property 'useGuardStatement' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
109 | extension Finding.Message {
110 | @_spi(Rules)
111 | public static let useGuardStatement: Finding.Message =
| |- warning: static property 'useGuardStatement' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'useGuardStatement' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 | "replace this 'if/else' block with a 'guard' statement containing the early exit"
113 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/UseLetInEveryBoundCaseVariable.swift:70:21: warning: static property 'useLetInBoundCaseVariables' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
68 | extension Finding.Message {
69 | @_spi(Rules)
70 | public static let useLetInBoundCaseVariables: Finding.Message =
| |- warning: static property 'useLetInBoundCaseVariables' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'useLetInBoundCaseVariables' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | "move this 'let' keyword inside the 'case' pattern, before each of the bound variables"
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/UseSingleLinePropertyGetter.swift:45:21: warning: static property 'removeExtraneousGetBlock' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
43 | extension Finding.Message {
44 | @_spi(Rules)
45 | public static let removeExtraneousGetBlock: Finding.Message =
| |- warning: static property 'removeExtraneousGetBlock' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'removeExtraneousGetBlock' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | "remove 'get {...}' around the accessor and move its body directly into the computed property"
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/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 | extension Finding.Message {
188 | @_spi(Rules)
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
| |- note: annotate 'removeRedundantInitializer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
190 | "remove this explicit initializer, which is identical to the compiler-synthesized initializer"
191 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/UseTripleSlashForDocumentationComments.swift:113: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
111 | extension Finding.Message {
112 | @_spi(Rules)
113 | 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
| |- note: annotate 'avoidDocBlockComment' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
114 | "replace documentation block comments with documentation line comments"
115 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/UseWhereClausesInForLoops.swift:126: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
124 | extension Finding.Message {
125 | @_spi(Rules)
126 | 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
| |- note: annotate 'useWhereInsteadOfIf' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
127 | "replace this 'if' statement with a 'where' clause"
128 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/UseWhereClausesInForLoops.swift:130: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
128 |
129 | @_spi(Rules)
130 | public static let useWhereInsteadOfGuard: Finding.Message =
| |- warning: static property 'useWhereInsteadOfGuard' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'useWhereInsteadOfGuard' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 | "replace this 'guard' statement with a 'where' clause"
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/ValidateDocumentationComments.swift:186: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
184 |
185 | @_spi(Rules)
186 | 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
| |- note: annotate 'useSingularParameter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
187 | "replace the plural 'Parameters:' section with a singular inline 'Parameter' section"
188 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/ValidateDocumentationComments.swift:190: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
188 |
189 | @_spi(Rules)
190 | public static let usePluralParameters: Finding.Message =
| |- warning: static property 'usePluralParameters' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'usePluralParameters' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
191 | """
192 | replace the singular inline 'Parameter' section with a plural 'Parameters:' section \
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
[380/412] Compiling SwiftFormat ValidateDocumentationComments.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/UseEarlyExits.swift:111:21: warning: static property 'useGuardStatement' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
109 | extension Finding.Message {
110 | @_spi(Rules)
111 | public static let useGuardStatement: Finding.Message =
| |- warning: static property 'useGuardStatement' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'useGuardStatement' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 | "replace this 'if/else' block with a 'guard' statement containing the early exit"
113 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/UseLetInEveryBoundCaseVariable.swift:70:21: warning: static property 'useLetInBoundCaseVariables' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
68 | extension Finding.Message {
69 | @_spi(Rules)
70 | public static let useLetInBoundCaseVariables: Finding.Message =
| |- warning: static property 'useLetInBoundCaseVariables' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'useLetInBoundCaseVariables' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | "move this 'let' keyword inside the 'case' pattern, before each of the bound variables"
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/UseSingleLinePropertyGetter.swift:45:21: warning: static property 'removeExtraneousGetBlock' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
43 | extension Finding.Message {
44 | @_spi(Rules)
45 | public static let removeExtraneousGetBlock: Finding.Message =
| |- warning: static property 'removeExtraneousGetBlock' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'removeExtraneousGetBlock' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | "remove 'get {...}' around the accessor and move its body directly into the computed property"
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/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 | extension Finding.Message {
188 | @_spi(Rules)
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
| |- note: annotate 'removeRedundantInitializer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
190 | "remove this explicit initializer, which is identical to the compiler-synthesized initializer"
191 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/UseTripleSlashForDocumentationComments.swift:113: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
111 | extension Finding.Message {
112 | @_spi(Rules)
113 | 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
| |- note: annotate 'avoidDocBlockComment' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
114 | "replace documentation block comments with documentation line comments"
115 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/UseWhereClausesInForLoops.swift:126: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
124 | extension Finding.Message {
125 | @_spi(Rules)
126 | 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
| |- note: annotate 'useWhereInsteadOfIf' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
127 | "replace this 'if' statement with a 'where' clause"
128 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/UseWhereClausesInForLoops.swift:130: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
128 |
129 | @_spi(Rules)
130 | public static let useWhereInsteadOfGuard: Finding.Message =
| |- warning: static property 'useWhereInsteadOfGuard' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'useWhereInsteadOfGuard' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 | "replace this 'guard' statement with a 'where' clause"
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/ValidateDocumentationComments.swift:186: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
184 |
185 | @_spi(Rules)
186 | 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
| |- note: annotate 'useSingularParameter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
187 | "replace the plural 'Parameters:' section with a singular inline 'Parameter' section"
188 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/ValidateDocumentationComments.swift:190: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
188 |
189 | @_spi(Rules)
190 | public static let usePluralParameters: Finding.Message =
| |- warning: static property 'usePluralParameters' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'usePluralParameters' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
191 | """
192 | replace the singular inline 'Parameter' section with a plural 'Parameters:' section \
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
[381/412] Compiling SwiftFormat LegacyTriviaBehavior.swift
[382/412] Compiling SwiftFormat LintPipeline.swift
[383/412] Compiling SwiftFormat ModifierListSyntax+Convenience.swift
[384/412] Compiling SwiftFormat Parsing.swift
[385/412] Compiling SwiftFormat Pipelines+Generated.swift
[386/412] Compiling SwiftFormat RememberingIterator.swift
[387/412] Compiling SwiftFormat Rule.swift
[388/412] Compiling SwiftFormat RuleBasedFindingCategory.swift
[389/412] Compiling SwiftFormat RuleMask.swift
[390/412] Compiling SwiftFormat RuleNameCache+Generated.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/SourceLength.swift:30:21: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'SourceLength' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// The length a syntax node spans in the source code. From any AbsolutePosition
14 | /// you reach a node's end location by adding its UTF-8 length.
15 | public struct SourceLength: Comparable {
| `- note: consider making struct 'SourceLength' conform to the 'Sendable' protocol
16 | /// The length in bytes when the text is represented as UTF-8.
17 | public let utf8Length: Int
:
28 |
29 | /// A zero-length source length
30 | public static let zero: SourceLength =
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'SourceLength' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | SourceLength(utf8Length: 0)
32 |
[391/412] Compiling SwiftFormat RuleRegistry+Generated.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/SourceLength.swift:30:21: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'SourceLength' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// The length a syntax node spans in the source code. From any AbsolutePosition
14 | /// you reach a node's end location by adding its UTF-8 length.
15 | public struct SourceLength: Comparable {
| `- note: consider making struct 'SourceLength' conform to the 'Sendable' protocol
16 | /// The length in bytes when the text is represented as UTF-8.
17 | public let utf8Length: Int
:
28 |
29 | /// A zero-length source length
30 | public static let zero: SourceLength =
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'SourceLength' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | SourceLength(utf8Length: 0)
32 |
[392/412] Compiling SwiftFormat RuleState.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/SourceLength.swift:30:21: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'SourceLength' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// The length a syntax node spans in the source code. From any AbsolutePosition
14 | /// you reach a node's end location by adding its UTF-8 length.
15 | public struct SourceLength: Comparable {
| `- note: consider making struct 'SourceLength' conform to the 'Sendable' protocol
16 | /// The length in bytes when the text is represented as UTF-8.
17 | public let utf8Length: Int
:
28 |
29 | /// A zero-length source length
30 | public static let zero: SourceLength =
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'SourceLength' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | SourceLength(utf8Length: 0)
32 |
[393/412] Compiling SwiftFormat SyntaxFormatRule.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/SourceLength.swift:30:21: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'SourceLength' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// The length a syntax node spans in the source code. From any AbsolutePosition
14 | /// you reach a node's end location by adding its UTF-8 length.
15 | public struct SourceLength: Comparable {
| `- note: consider making struct 'SourceLength' conform to the 'Sendable' protocol
16 | /// The length in bytes when the text is represented as UTF-8.
17 | public let utf8Length: Int
:
28 |
29 | /// A zero-length source length
30 | public static let zero: SourceLength =
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'SourceLength' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | SourceLength(utf8Length: 0)
32 |
[394/412] Compiling SwiftFormat SyntaxLintRule.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/SourceLength.swift:30:21: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'SourceLength' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// The length a syntax node spans in the source code. From any AbsolutePosition
14 | /// you reach a node's end location by adding its UTF-8 length.
15 | public struct SourceLength: Comparable {
| `- note: consider making struct 'SourceLength' conform to the 'Sendable' protocol
16 | /// The length in bytes when the text is represented as UTF-8.
17 | public let utf8Length: Int
:
28 |
29 | /// A zero-length source length
30 | public static let zero: SourceLength =
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'SourceLength' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | SourceLength(utf8Length: 0)
32 |
[395/412] Compiling SwiftFormat SyntaxProtocol+Convenience.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/SourceLength.swift:30:21: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'SourceLength' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// The length a syntax node spans in the source code. From any AbsolutePosition
14 | /// you reach a node's end location by adding its UTF-8 length.
15 | public struct SourceLength: Comparable {
| `- note: consider making struct 'SourceLength' conform to the 'Sendable' protocol
16 | /// The length in bytes when the text is represented as UTF-8.
17 | public let utf8Length: Int
:
28 |
29 | /// A zero-length source length
30 | public static let zero: SourceLength =
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'SourceLength' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | SourceLength(utf8Length: 0)
32 |
[396/412] Compiling SwiftFormat Trivia+Convenience.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/SourceLength.swift:30:21: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'SourceLength' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// The length a syntax node spans in the source code. From any AbsolutePosition
14 | /// you reach a node's end location by adding its UTF-8 length.
15 | public struct SourceLength: Comparable {
| `- note: consider making struct 'SourceLength' conform to the 'Sendable' protocol
16 | /// The length in bytes when the text is represented as UTF-8.
17 | public let utf8Length: Int
:
28 |
29 | /// A zero-length source length
30 | public static let zero: SourceLength =
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'SourceLength' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | SourceLength(utf8Length: 0)
32 |
[397/412] Compiling SwiftFormat WithSemicolonSyntax.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/SourceLength.swift:30:21: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'SourceLength' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// The length a syntax node spans in the source code. From any AbsolutePosition
14 | /// you reach a node's end location by adding its UTF-8 length.
15 | public struct SourceLength: Comparable {
| `- note: consider making struct 'SourceLength' conform to the 'Sendable' protocol
16 | /// The length in bytes when the text is represented as UTF-8.
17 | public let utf8Length: Int
:
28 |
29 | /// A zero-length source length
30 | public static let zero: SourceLength =
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'SourceLength' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | SourceLength(utf8Length: 0)
32 |
[398/412] Compiling SwiftFormat Comment.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/SourceLength.swift:30:21: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'SourceLength' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// The length a syntax node spans in the source code. From any AbsolutePosition
14 | /// you reach a node's end location by adding its UTF-8 length.
15 | public struct SourceLength: Comparable {
| `- note: consider making struct 'SourceLength' conform to the 'Sendable' protocol
16 | /// The length in bytes when the text is represented as UTF-8.
17 | public let utf8Length: Int
:
28 |
29 | /// A zero-length source length
30 | public static let zero: SourceLength =
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'SourceLength' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | SourceLength(utf8Length: 0)
32 |
[399/412] Compiling SwiftFormat Indent+Length.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/PrettyPrint.swift:793: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
791 |
792 | extension Finding.Message {
793 | 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
| |- note: annotate 'moveEndOfLineComment' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
794 | "move end-of-line comment that exceeds the line length"
795 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/PrettyPrint.swift:796: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
794 | "move end-of-line comment that exceeds the line length"
795 |
796 | 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: annotate 'addTrailingComma' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
797 | "add trailing comma to the last element in multiline collection literal"
798 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/PrettyPrint.swift:799: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
797 | "add trailing comma to the last element in multiline collection literal"
798 |
799 | 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: annotate 'removeTrailingComma' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
800 | "remove trailing comma from the last element in single line collection literal"
801 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/WhitespaceLinter.swift:435:21: warning: static property 'trailingWhitespaceError' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
433 |
434 | extension Finding.Message {
435 | public static let trailingWhitespaceError: Finding.Message = "remove trailing whitespace"
| |- warning: static property 'trailingWhitespaceError' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'trailingWhitespaceError' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
436 |
437 | public static func indentationError(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/WhitespaceLinter.swift:479:21: warning: static property 'spacingCharError' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
477 | }
478 |
479 | public static let spacingCharError: Finding.Message = "use spaces for spacing"
| |- warning: static property 'spacingCharError' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'spacingCharError' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
480 |
481 | public static let removeLineError: Finding.Message = "remove line break"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/WhitespaceLinter.swift:481:21: warning: static property 'removeLineError' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
479 | public static let spacingCharError: Finding.Message = "use spaces for spacing"
480 |
481 | public static let removeLineError: Finding.Message = "remove line break"
| |- warning: static property 'removeLineError' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'removeLineError' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
482 |
483 | public static func addLinesError(_ lines: Int) -> Finding.Message {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/WhitespaceLinter.swift:488:21: warning: static property 'lineLengthError' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
486 | }
487 |
488 | public static let lineLengthError: Finding.Message = "line is too long"
| |- warning: static property 'lineLengthError' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lineLengthError' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
489 | }
490 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
[400/412] Compiling SwiftFormat PrettyPrint.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/PrettyPrint.swift:793: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
791 |
792 | extension Finding.Message {
793 | 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
| |- note: annotate 'moveEndOfLineComment' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
794 | "move end-of-line comment that exceeds the line length"
795 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/PrettyPrint.swift:796: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
794 | "move end-of-line comment that exceeds the line length"
795 |
796 | 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: annotate 'addTrailingComma' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
797 | "add trailing comma to the last element in multiline collection literal"
798 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/PrettyPrint.swift:799: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
797 | "add trailing comma to the last element in multiline collection literal"
798 |
799 | 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: annotate 'removeTrailingComma' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
800 | "remove trailing comma from the last element in single line collection literal"
801 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/WhitespaceLinter.swift:435:21: warning: static property 'trailingWhitespaceError' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
433 |
434 | extension Finding.Message {
435 | public static let trailingWhitespaceError: Finding.Message = "remove trailing whitespace"
| |- warning: static property 'trailingWhitespaceError' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'trailingWhitespaceError' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
436 |
437 | public static func indentationError(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/WhitespaceLinter.swift:479:21: warning: static property 'spacingCharError' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
477 | }
478 |
479 | public static let spacingCharError: Finding.Message = "use spaces for spacing"
| |- warning: static property 'spacingCharError' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'spacingCharError' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
480 |
481 | public static let removeLineError: Finding.Message = "remove line break"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/WhitespaceLinter.swift:481:21: warning: static property 'removeLineError' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
479 | public static let spacingCharError: Finding.Message = "use spaces for spacing"
480 |
481 | public static let removeLineError: Finding.Message = "remove line break"
| |- warning: static property 'removeLineError' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'removeLineError' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
482 |
483 | public static func addLinesError(_ lines: Int) -> Finding.Message {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/WhitespaceLinter.swift:488:21: warning: static property 'lineLengthError' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
486 | }
487 |
488 | public static let lineLengthError: Finding.Message = "line is too long"
| |- warning: static property 'lineLengthError' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lineLengthError' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
489 | }
490 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
[401/412] Compiling SwiftFormat PrettyPrintFindingCategory.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/PrettyPrint.swift:793: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
791 |
792 | extension Finding.Message {
793 | 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
| |- note: annotate 'moveEndOfLineComment' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
794 | "move end-of-line comment that exceeds the line length"
795 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/PrettyPrint.swift:796: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
794 | "move end-of-line comment that exceeds the line length"
795 |
796 | 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: annotate 'addTrailingComma' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
797 | "add trailing comma to the last element in multiline collection literal"
798 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/PrettyPrint.swift:799: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
797 | "add trailing comma to the last element in multiline collection literal"
798 |
799 | 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: annotate 'removeTrailingComma' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
800 | "remove trailing comma from the last element in single line collection literal"
801 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/WhitespaceLinter.swift:435:21: warning: static property 'trailingWhitespaceError' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
433 |
434 | extension Finding.Message {
435 | public static let trailingWhitespaceError: Finding.Message = "remove trailing whitespace"
| |- warning: static property 'trailingWhitespaceError' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'trailingWhitespaceError' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
436 |
437 | public static func indentationError(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/WhitespaceLinter.swift:479:21: warning: static property 'spacingCharError' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
477 | }
478 |
479 | public static let spacingCharError: Finding.Message = "use spaces for spacing"
| |- warning: static property 'spacingCharError' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'spacingCharError' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
480 |
481 | public static let removeLineError: Finding.Message = "remove line break"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/WhitespaceLinter.swift:481:21: warning: static property 'removeLineError' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
479 | public static let spacingCharError: Finding.Message = "use spaces for spacing"
480 |
481 | public static let removeLineError: Finding.Message = "remove line break"
| |- warning: static property 'removeLineError' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'removeLineError' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
482 |
483 | public static func addLinesError(_ lines: Int) -> Finding.Message {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/WhitespaceLinter.swift:488:21: warning: static property 'lineLengthError' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
486 | }
487 |
488 | public static let lineLengthError: Finding.Message = "line is too long"
| |- warning: static property 'lineLengthError' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lineLengthError' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
489 | }
490 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
[402/412] Compiling SwiftFormat Token.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/PrettyPrint.swift:793: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
791 |
792 | extension Finding.Message {
793 | 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
| |- note: annotate 'moveEndOfLineComment' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
794 | "move end-of-line comment that exceeds the line length"
795 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/PrettyPrint.swift:796: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
794 | "move end-of-line comment that exceeds the line length"
795 |
796 | 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: annotate 'addTrailingComma' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
797 | "add trailing comma to the last element in multiline collection literal"
798 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/PrettyPrint.swift:799: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
797 | "add trailing comma to the last element in multiline collection literal"
798 |
799 | 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: annotate 'removeTrailingComma' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
800 | "remove trailing comma from the last element in single line collection literal"
801 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/WhitespaceLinter.swift:435:21: warning: static property 'trailingWhitespaceError' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
433 |
434 | extension Finding.Message {
435 | public static let trailingWhitespaceError: Finding.Message = "remove trailing whitespace"
| |- warning: static property 'trailingWhitespaceError' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'trailingWhitespaceError' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
436 |
437 | public static func indentationError(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/WhitespaceLinter.swift:479:21: warning: static property 'spacingCharError' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
477 | }
478 |
479 | public static let spacingCharError: Finding.Message = "use spaces for spacing"
| |- warning: static property 'spacingCharError' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'spacingCharError' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
480 |
481 | public static let removeLineError: Finding.Message = "remove line break"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/WhitespaceLinter.swift:481:21: warning: static property 'removeLineError' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
479 | public static let spacingCharError: Finding.Message = "use spaces for spacing"
480 |
481 | public static let removeLineError: Finding.Message = "remove line break"
| |- warning: static property 'removeLineError' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'removeLineError' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
482 |
483 | public static func addLinesError(_ lines: Int) -> Finding.Message {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/WhitespaceLinter.swift:488:21: warning: static property 'lineLengthError' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
486 | }
487 |
488 | public static let lineLengthError: Finding.Message = "line is too long"
| |- warning: static property 'lineLengthError' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lineLengthError' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
489 | }
490 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
[403/412] Compiling SwiftFormat TokenStreamCreator.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/PrettyPrint.swift:793: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
791 |
792 | extension Finding.Message {
793 | 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
| |- note: annotate 'moveEndOfLineComment' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
794 | "move end-of-line comment that exceeds the line length"
795 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/PrettyPrint.swift:796: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
794 | "move end-of-line comment that exceeds the line length"
795 |
796 | 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: annotate 'addTrailingComma' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
797 | "add trailing comma to the last element in multiline collection literal"
798 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/PrettyPrint.swift:799: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
797 | "add trailing comma to the last element in multiline collection literal"
798 |
799 | 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: annotate 'removeTrailingComma' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
800 | "remove trailing comma from the last element in single line collection literal"
801 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/WhitespaceLinter.swift:435:21: warning: static property 'trailingWhitespaceError' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
433 |
434 | extension Finding.Message {
435 | public static let trailingWhitespaceError: Finding.Message = "remove trailing whitespace"
| |- warning: static property 'trailingWhitespaceError' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'trailingWhitespaceError' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
436 |
437 | public static func indentationError(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/WhitespaceLinter.swift:479:21: warning: static property 'spacingCharError' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
477 | }
478 |
479 | public static let spacingCharError: Finding.Message = "use spaces for spacing"
| |- warning: static property 'spacingCharError' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'spacingCharError' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
480 |
481 | public static let removeLineError: Finding.Message = "remove line break"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/WhitespaceLinter.swift:481:21: warning: static property 'removeLineError' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
479 | public static let spacingCharError: Finding.Message = "use spaces for spacing"
480 |
481 | public static let removeLineError: Finding.Message = "remove line break"
| |- warning: static property 'removeLineError' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'removeLineError' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
482 |
483 | public static func addLinesError(_ lines: Int) -> Finding.Message {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/WhitespaceLinter.swift:488:21: warning: static property 'lineLengthError' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
486 | }
487 |
488 | public static let lineLengthError: Finding.Message = "line is too long"
| |- warning: static property 'lineLengthError' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lineLengthError' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
489 | }
490 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
[404/412] Compiling SwiftFormat Verbatim.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/PrettyPrint.swift:793: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
791 |
792 | extension Finding.Message {
793 | 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
| |- note: annotate 'moveEndOfLineComment' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
794 | "move end-of-line comment that exceeds the line length"
795 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/PrettyPrint.swift:796: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
794 | "move end-of-line comment that exceeds the line length"
795 |
796 | 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: annotate 'addTrailingComma' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
797 | "add trailing comma to the last element in multiline collection literal"
798 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/PrettyPrint.swift:799: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
797 | "add trailing comma to the last element in multiline collection literal"
798 |
799 | 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: annotate 'removeTrailingComma' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
800 | "remove trailing comma from the last element in single line collection literal"
801 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/WhitespaceLinter.swift:435:21: warning: static property 'trailingWhitespaceError' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
433 |
434 | extension Finding.Message {
435 | public static let trailingWhitespaceError: Finding.Message = "remove trailing whitespace"
| |- warning: static property 'trailingWhitespaceError' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'trailingWhitespaceError' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
436 |
437 | public static func indentationError(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/WhitespaceLinter.swift:479:21: warning: static property 'spacingCharError' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
477 | }
478 |
479 | public static let spacingCharError: Finding.Message = "use spaces for spacing"
| |- warning: static property 'spacingCharError' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'spacingCharError' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
480 |
481 | public static let removeLineError: Finding.Message = "remove line break"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/WhitespaceLinter.swift:481:21: warning: static property 'removeLineError' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
479 | public static let spacingCharError: Finding.Message = "use spaces for spacing"
480 |
481 | public static let removeLineError: Finding.Message = "remove line break"
| |- warning: static property 'removeLineError' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'removeLineError' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
482 |
483 | public static func addLinesError(_ lines: Int) -> Finding.Message {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/WhitespaceLinter.swift:488:21: warning: static property 'lineLengthError' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
486 | }
487 |
488 | public static let lineLengthError: Finding.Message = "line is too long"
| |- warning: static property 'lineLengthError' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lineLengthError' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
489 | }
490 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
[405/412] Compiling SwiftFormat WhitespaceFindingCategory.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/PrettyPrint.swift:793: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
791 |
792 | extension Finding.Message {
793 | 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
| |- note: annotate 'moveEndOfLineComment' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
794 | "move end-of-line comment that exceeds the line length"
795 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/PrettyPrint.swift:796: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
794 | "move end-of-line comment that exceeds the line length"
795 |
796 | 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: annotate 'addTrailingComma' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
797 | "add trailing comma to the last element in multiline collection literal"
798 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/PrettyPrint.swift:799: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
797 | "add trailing comma to the last element in multiline collection literal"
798 |
799 | 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: annotate 'removeTrailingComma' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
800 | "remove trailing comma from the last element in single line collection literal"
801 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/WhitespaceLinter.swift:435:21: warning: static property 'trailingWhitespaceError' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
433 |
434 | extension Finding.Message {
435 | public static let trailingWhitespaceError: Finding.Message = "remove trailing whitespace"
| |- warning: static property 'trailingWhitespaceError' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'trailingWhitespaceError' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
436 |
437 | public static func indentationError(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/WhitespaceLinter.swift:479:21: warning: static property 'spacingCharError' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
477 | }
478 |
479 | public static let spacingCharError: Finding.Message = "use spaces for spacing"
| |- warning: static property 'spacingCharError' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'spacingCharError' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
480 |
481 | public static let removeLineError: Finding.Message = "remove line break"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/WhitespaceLinter.swift:481:21: warning: static property 'removeLineError' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
479 | public static let spacingCharError: Finding.Message = "use spaces for spacing"
480 |
481 | public static let removeLineError: Finding.Message = "remove line break"
| |- warning: static property 'removeLineError' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'removeLineError' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
482 |
483 | public static func addLinesError(_ lines: Int) -> Finding.Message {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/WhitespaceLinter.swift:488:21: warning: static property 'lineLengthError' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
486 | }
487 |
488 | public static let lineLengthError: Finding.Message = "line is too long"
| |- warning: static property 'lineLengthError' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lineLengthError' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
489 | }
490 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
[406/412] Compiling SwiftFormat WhitespaceLinter.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/PrettyPrint.swift:793: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
791 |
792 | extension Finding.Message {
793 | 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
| |- note: annotate 'moveEndOfLineComment' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
794 | "move end-of-line comment that exceeds the line length"
795 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/PrettyPrint.swift:796: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
794 | "move end-of-line comment that exceeds the line length"
795 |
796 | 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: annotate 'addTrailingComma' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
797 | "add trailing comma to the last element in multiline collection literal"
798 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/PrettyPrint.swift:799: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
797 | "add trailing comma to the last element in multiline collection literal"
798 |
799 | 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: annotate 'removeTrailingComma' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
800 | "remove trailing comma from the last element in single line collection literal"
801 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/WhitespaceLinter.swift:435:21: warning: static property 'trailingWhitespaceError' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
433 |
434 | extension Finding.Message {
435 | public static let trailingWhitespaceError: Finding.Message = "remove trailing whitespace"
| |- warning: static property 'trailingWhitespaceError' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'trailingWhitespaceError' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
436 |
437 | public static func indentationError(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/WhitespaceLinter.swift:479:21: warning: static property 'spacingCharError' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
477 | }
478 |
479 | public static let spacingCharError: Finding.Message = "use spaces for spacing"
| |- warning: static property 'spacingCharError' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'spacingCharError' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
480 |
481 | public static let removeLineError: Finding.Message = "remove line break"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/WhitespaceLinter.swift:481:21: warning: static property 'removeLineError' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
479 | public static let spacingCharError: Finding.Message = "use spaces for spacing"
480 |
481 | public static let removeLineError: Finding.Message = "remove line break"
| |- warning: static property 'removeLineError' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'removeLineError' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
482 |
483 | public static func addLinesError(_ lines: Int) -> Finding.Message {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/WhitespaceLinter.swift:488:21: warning: static property 'lineLengthError' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
486 | }
487 |
488 | public static let lineLengthError: Finding.Message = "line is too long"
| |- warning: static property 'lineLengthError' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lineLengthError' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
489 | }
490 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/Finding.swift:48:17: note: consider making struct 'Message' conform to the 'Sendable' protocol
46 | /// an `extension` of the `Finding.Message` type and add `static` properties or functions of type
47 | /// `Finding.Message`; these can be initialized using string literals or string interpolations.
48 | public struct Message:
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
49 | CustomStringConvertible, ExpressibleByStringLiteral, ExpressibleByStringInterpolation
50 | {
[407/445] Emitting module SwiftFormatConfiguration
[408/445] Compiling SwiftFormatConfiguration Compatibility.swift
[409/445] Compiling generate_pipeline main.swift
[410/445] Compiling generate_pipeline Syntax+Convenience.swift
[411/445] Compiling generate_pipeline RuleDocumentationGenerator.swift
[412/445] Compiling generate_pipeline RuleNameCacheGenerator.swift
[413/445] Compiling generate_pipeline RuleRegistryGenerator.swift
[414/445] Compiling swift_format TTY.swift
[415/445] Compiling swift_format VersionOptions.swift
[416/446] Compiling swift_format FormatError.swift
[417/446] Compiling swift_format StderrDiagnosticPrinter.swift
[418/446] Emitting module generate_pipeline
/Users/admin/builder/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) {
[419/446] Compiling generate_pipeline PipelineGenerator.swift
[420/446] Compiling generate_pipeline RuleCollector.swift
[421/446] Compiling generate_pipeline FileGenerator.swift
/Users/admin/builder/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) {
[421/446] Write Objects.LinkFileList
[423/446] Emitting module swift_format
/Users/admin/builder/spi-builder-workspace/Sources/swift-format/main.swift:18:14: warning: static property 'configuration' is not concurrency-safe because it is non-isolated 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 non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | commandName: "swift-format",
20 | abstract: "Format or lint Swift source code",
/Users/admin/builder/spi-builder-workspace/Sources/swift-format/Subcommands/DumpConfiguration.swift:20:16: warning: static property 'configuration' is not concurrency-safe because it is non-isolated 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 non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | abstract: "Dump the default configuration in JSON format to standard output")
22 |
/Users/admin/builder/spi-builder-workspace/Sources/swift-format/Subcommands/Format.swift:18:16: warning: static property 'configuration' is not concurrency-safe because it is non-isolated 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 non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | abstract: "Format Swift source code",
20 | discussion: "When no files are specified, it expects the source from standard input.")
/Users/admin/builder/spi-builder-workspace/Sources/swift-format/Subcommands/Lint.swift:18:16: warning: static property 'configuration' is not concurrency-safe because it is non-isolated 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 non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | abstract: "Diagnose style issues in Swift source code",
20 | discussion: "When no files are specified, it expects the source from standard input.")
[424/446] Compiling swift_format FileHandleTextOutputStream.swift
[425/446] Compiling swift_format FileIterator.swift
[426/446] Compiling swift_format Diagnostic.swift
[427/446] Compiling swift_format DiagnosticsEngine.swift
[428/446] Compiling swift_format ConfigurationLoader.swift
[429/446] Compiling swift_format FormatFrontend.swift
[430/446] Compiling swift_format Frontend.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/DebugOptions.swift:19:21: warning: static property 'disablePrettyPrint' is not concurrency-safe because non-'Sendable' type 'DebugOptions' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// Advanced options that are useful when debugging and developing the formatter, but are otherwise
14 | /// not meant for general use.
15 | public struct DebugOptions: OptionSet {
| `- note: consider making struct 'DebugOptions' conform to the 'Sendable' protocol
16 |
17 | /// Disables the pretty-printer pass entirely, executing only the syntax-transforming rules in the
18 | /// pipeline.
19 | public static let disablePrettyPrint = DebugOptions(rawValue: 1 << 0)
| |- warning: static property 'disablePrettyPrint' is not concurrency-safe because non-'Sendable' type 'DebugOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'disablePrettyPrint' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | /// Dumps a verbose representation of the raw pretty-printer token stream.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/DebugOptions.swift:22:21: warning: static property 'dumpTokenStream' is not concurrency-safe because non-'Sendable' type 'DebugOptions' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// Advanced options that are useful when debugging and developing the formatter, but are otherwise
14 | /// not meant for general use.
15 | public struct DebugOptions: OptionSet {
| `- note: consider making struct 'DebugOptions' conform to the 'Sendable' protocol
16 |
17 | /// Disables the pretty-printer pass entirely, executing only the syntax-transforming rules in the
:
20 |
21 | /// Dumps a verbose representation of the raw pretty-printer token stream.
22 | public static let dumpTokenStream = DebugOptions(rawValue: 1 << 1)
| |- warning: static property 'dumpTokenStream' is not concurrency-safe because non-'Sendable' type 'DebugOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dumpTokenStream' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | public let rawValue: Int
/Users/admin/builder/spi-builder-workspace/Sources/swift-format/Frontend/Frontend.swift:135:9: warning: capture of 'self' with non-sendable type 'Frontend' in a `@Sendable` closure; this is an error in the Swift 6 language mode
16 | import SwiftParser
17 |
18 | class Frontend {
| `- note: class 'Frontend' does not conform to the 'Sendable' protocol
19 | /// Represents a file to be processed by the frontend and any file-specific options associated
20 | /// with it.
:
133 | let filesToProcess = FileIterator(urls: urls).compactMap(openAndPrepareFile)
134 | DispatchQueue.concurrentPerform(iterations: filesToProcess.count) { index in
135 | 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
136 | }
137 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/swift-format/Frontend/Frontend.swift:135: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
19 | /// Represents a file to be processed by the frontend and any file-specific options associated
20 | /// with it.
21 | final class FileToProcess {
| `- note: class 'FileToProcess' does not conform to the 'Sendable' protocol
22 | /// An open file handle to the source code of the file.
23 | private let fileHandle: FileHandle
:
133 | let filesToProcess = FileIterator(urls: urls).compactMap(openAndPrepareFile)
134 | DispatchQueue.concurrentPerform(iterations: filesToProcess.count) { index in
135 | 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
136 | }
137 | } else {
[431/446] Compiling swift_format LintFrontend.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/DebugOptions.swift:19:21: warning: static property 'disablePrettyPrint' is not concurrency-safe because non-'Sendable' type 'DebugOptions' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// Advanced options that are useful when debugging and developing the formatter, but are otherwise
14 | /// not meant for general use.
15 | public struct DebugOptions: OptionSet {
| `- note: consider making struct 'DebugOptions' conform to the 'Sendable' protocol
16 |
17 | /// Disables the pretty-printer pass entirely, executing only the syntax-transforming rules in the
18 | /// pipeline.
19 | public static let disablePrettyPrint = DebugOptions(rawValue: 1 << 0)
| |- warning: static property 'disablePrettyPrint' is not concurrency-safe because non-'Sendable' type 'DebugOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'disablePrettyPrint' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | /// Dumps a verbose representation of the raw pretty-printer token stream.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/API/DebugOptions.swift:22:21: warning: static property 'dumpTokenStream' is not concurrency-safe because non-'Sendable' type 'DebugOptions' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// Advanced options that are useful when debugging and developing the formatter, but are otherwise
14 | /// not meant for general use.
15 | public struct DebugOptions: OptionSet {
| `- note: consider making struct 'DebugOptions' conform to the 'Sendable' protocol
16 |
17 | /// Disables the pretty-printer pass entirely, executing only the syntax-transforming rules in the
:
20 |
21 | /// Dumps a verbose representation of the raw pretty-printer token stream.
22 | public static let dumpTokenStream = DebugOptions(rawValue: 1 << 1)
| |- warning: static property 'dumpTokenStream' is not concurrency-safe because non-'Sendable' type 'DebugOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dumpTokenStream' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | public let rawValue: Int
/Users/admin/builder/spi-builder-workspace/Sources/swift-format/Frontend/Frontend.swift:135:9: warning: capture of 'self' with non-sendable type 'Frontend' in a `@Sendable` closure; this is an error in the Swift 6 language mode
16 | import SwiftParser
17 |
18 | class Frontend {
| `- note: class 'Frontend' does not conform to the 'Sendable' protocol
19 | /// Represents a file to be processed by the frontend and any file-specific options associated
20 | /// with it.
:
133 | let filesToProcess = FileIterator(urls: urls).compactMap(openAndPrepareFile)
134 | DispatchQueue.concurrentPerform(iterations: filesToProcess.count) { index in
135 | 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
136 | }
137 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/swift-format/Frontend/Frontend.swift:135: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
19 | /// Represents a file to be processed by the frontend and any file-specific options associated
20 | /// with it.
21 | final class FileToProcess {
| `- note: class 'FileToProcess' does not conform to the 'Sendable' protocol
22 | /// An open file handle to the source code of the file.
23 | private let fileHandle: FileHandle
:
133 | let filesToProcess = FileIterator(urls: urls).compactMap(openAndPrepareFile)
134 | DispatchQueue.concurrentPerform(iterations: filesToProcess.count) { index in
135 | 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
136 | }
137 | } else {
[432/446] Compiling swift_format DumpConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-format/Subcommands/DumpConfiguration.swift:20:16: warning: static property 'configuration' is not concurrency-safe because it is non-isolated 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 non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | abstract: "Dump the default configuration in JSON format to standard output")
22 |
/Users/admin/builder/spi-builder-workspace/Sources/swift-format/Subcommands/Format.swift:18:16: warning: static property 'configuration' is not concurrency-safe because it is non-isolated 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 non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | abstract: "Format Swift source code",
20 | discussion: "When no files are specified, it expects the source from standard input.")
[433/446] Compiling swift_format Format.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-format/Subcommands/DumpConfiguration.swift:20:16: warning: static property 'configuration' is not concurrency-safe because it is non-isolated 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 non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | abstract: "Dump the default configuration in JSON format to standard output")
22 |
/Users/admin/builder/spi-builder-workspace/Sources/swift-format/Subcommands/Format.swift:18:16: warning: static property 'configuration' is not concurrency-safe because it is non-isolated 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 non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | abstract: "Format Swift source code",
20 | discussion: "When no files are specified, it expects the source from standard input.")
[434/446] Compiling swift_format Lint.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-format/Subcommands/Lint.swift:18:16: warning: static property 'configuration' is not concurrency-safe because it is non-isolated 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 non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | abstract: "Diagnose style issues in Swift source code",
20 | discussion: "When no files are specified, it expects the source from standard input.")
[435/446] Compiling swift_format LintFormatOptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-format/Subcommands/Lint.swift:18:16: warning: static property 'configuration' is not concurrency-safe because it is non-isolated 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 non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | abstract: "Diagnose style issues in Swift source code",
20 | discussion: "When no files are specified, it expects the source from standard input.")
[436/446] Compiling swift_format main.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-format/main.swift:18:14: warning: static property 'configuration' is not concurrency-safe because it is non-isolated 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 non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | commandName: "swift-format",
20 | abstract: "Format or lint Swift source code",
[436/446] Write Objects.LinkFileList
[437/446] Linking generate-pipeline
[438/446] Applying generate-pipeline
[439/446] Linking swift-format
[440/446] Applying swift-format
[442/446] Compiling _SwiftFormatTestSupport MarkedText.swift
[443/446] Compiling _SwiftFormatTestSupport Configuration+Testing.swift
[444/446] Compiling _SwiftFormatTestSupport FindingSpec.swift
[445/446] Compiling _SwiftFormatTestSupport DiagnosingTestCase.swift
[446/446] Emitting module _SwiftFormatTestSupport
Build complete! (66.71s)
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-markdown.git
[1/12010] Fetching swift-argument-parser
[2/17987] Fetching swift-argument-parser, swift-markdown
[17988/79635] Fetching swift-argument-parser, swift-markdown, swift-syntax
Fetched https://github.com/apple/swift-markdown.git from cache (3.24s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (3.24s)
Fetched https://github.com/apple/swift-syntax.git from cache (3.24s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 510.0.2 (0.75s)
Computing version for https://github.com/apple/swift-markdown.git
Computed https://github.com/apple/swift-markdown.git at 0.4.0 (0.67s)
Fetching https://github.com/apple/swift-cmark.git
[1/17765] Fetching swift-cmark
Fetched https://github.com/apple/swift-cmark.git from cache (1.93s)
Computing version for https://github.com/apple/swift-cmark.git
Computed https://github.com/apple/swift-cmark.git at 0.4.0 (0.64s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.4.0 (0.54s)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-markdown.git
Working copy of https://github.com/apple/swift-markdown.git resolved at 0.4.0
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 510.0.2
Creating working copy for https://github.com/apple/swift-cmark.git
Working copy of https://github.com/apple/swift-cmark.git resolved at 0.4.0
Build complete.
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
},
{
"identity" : "swift-markdown",
"requirement" : {
"range" : [
{
"lower_bound" : "0.2.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-markdown.git"
},
{
"identity" : "swift-syntax",
"requirement" : {
"range" : [
{
"lower_bound" : "510.0.0",
"upper_bound" : "511.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-syntax.git"
}
],
"manifest_display_name" : "swift-format",
"name" : "swift-format",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "swift-format",
"targets" : [
"swift-format"
],
"type" : {
"executable" : null
}
},
{
"name" : "SwiftFormat",
"targets" : [
"SwiftFormat",
"SwiftFormatConfiguration"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftFormatConfiguration",
"targets" : [
"SwiftFormatConfiguration"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "FormatPlugin",
"targets" : [
"Format Source Code"
],
"type" : {
"plugin" : null
}
},
{
"name" : "LintPlugin",
"targets" : [
"Lint Source Code"
],
"type" : {
"plugin" : null
}
},
{
"name" : "generate-pipeline",
"targets" : [
"generate-pipeline"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "swift_format",
"module_type" : "SwiftTarget",
"name" : "swift-format",
"path" : "Sources/swift-format",
"product_dependencies" : [
"ArgumentParser",
"SwiftSyntax",
"SwiftParser"
],
"product_memberships" : [
"swift-format",
"FormatPlugin",
"LintPlugin"
],
"sources" : [
"Frontend/ConfigurationLoader.swift",
"Frontend/FormatFrontend.swift",
"Frontend/Frontend.swift",
"Frontend/LintFrontend.swift",
"Subcommands/DumpConfiguration.swift",
"Subcommands/Format.swift",
"Subcommands/Lint.swift",
"Subcommands/LintFormatOptions.swift",
"Utilities/Diagnostic.swift",
"Utilities/DiagnosticsEngine.swift",
"Utilities/FileHandleTextOutputStream.swift",
"Utilities/FileIterator.swift",
"Utilities/FormatError.swift",
"Utilities/StderrDiagnosticPrinter.swift",
"Utilities/TTY.swift",
"VersionOptions.swift",
"main.swift"
],
"target_dependencies" : [
"SwiftFormat"
],
"type" : "executable"
},
{
"c99name" : "generate_pipeline",
"module_type" : "SwiftTarget",
"name" : "generate-pipeline",
"path" : "Sources/generate-pipeline",
"product_dependencies" : [
"SwiftSyntax",
"SwiftParser"
],
"product_memberships" : [
"generate-pipeline"
],
"sources" : [
"FileGenerator.swift",
"PipelineGenerator.swift",
"RuleCollector.swift",
"RuleDocumentationGenerator.swift",
"RuleNameCacheGenerator.swift",
"RuleRegistryGenerator.swift",
"Syntax+Convenience.swift",
"main.swift"
],
"target_dependencies" : [
"SwiftFormat"
],
"type" : "executable"
},
{
"c99name" : "_SwiftFormatTestSupport",
"module_type" : "SwiftTarget",
"name" : "_SwiftFormatTestSupport",
"path" : "Sources/_SwiftFormatTestSupport",
"product_dependencies" : [
"SwiftOperators"
],
"sources" : [
"Configuration+Testing.swift",
"DiagnosingTestCase.swift",
"FindingSpec.swift",
"MarkedText.swift"
],
"target_dependencies" : [
"SwiftFormat"
],
"type" : "library"
},
{
"c99name" : "SwiftFormatTests",
"module_type" : "SwiftTarget",
"name" : "SwiftFormatTests",
"path" : "Tests/SwiftFormatTests",
"product_dependencies" : [
"Markdown",
"SwiftOperators",
"SwiftParser",
"SwiftSyntax",
"SwiftSyntaxBuilder"
],
"sources" : [
"API/ConfigurationTests.swift",
"Core/DocumentationCommentTests.swift",
"Core/DocumentationCommentTextTests.swift",
"Core/RuleMaskTests.swift",
"PrettyPrint/AccessorTests.swift",
"PrettyPrint/ArrayDeclTests.swift",
"PrettyPrint/AsExprTests.swift",
"PrettyPrint/AssignmentExprTests.swift",
"PrettyPrint/AttributeTests.swift",
"PrettyPrint/AvailabilityConditionTests.swift",
"PrettyPrint/AwaitExprTests.swift",
"PrettyPrint/BackDeployAttributeTests.swift",
"PrettyPrint/BacktickTests.swift",
"PrettyPrint/BinaryOperatorExprTests.swift",
"PrettyPrint/ClassDeclTests.swift",
"PrettyPrint/ClosureExprTests.swift",
"PrettyPrint/CommaTests.swift",
"PrettyPrint/CommentTests.swift",
"PrettyPrint/ConstrainedSugarTypeTests.swift",
"PrettyPrint/ConsumeExprTests.swift",
"PrettyPrint/CopyExprSyntax.swift",
"PrettyPrint/DeclNameArgumentTests.swift",
"PrettyPrint/DeinitializerDeclTests.swift",
"PrettyPrint/DictionaryDeclTests.swift",
"PrettyPrint/DifferentiationAttributeTests.swift",
"PrettyPrint/DiscardStmtTests.swift",
"PrettyPrint/DoStmtTests.swift",
"PrettyPrint/EnumDeclTests.swift",
"PrettyPrint/ExtensionDeclTests.swift",
"PrettyPrint/ForInStmtTests.swift",
"PrettyPrint/FunctionCallTests.swift",
"PrettyPrint/FunctionDeclTests.swift",
"PrettyPrint/FunctionTypeTests.swift",
"PrettyPrint/GarbageTextTests.swift",
"PrettyPrint/GuardStmtTests.swift",
"PrettyPrint/IfConfigTests.swift",
"PrettyPrint/IfStmtTests.swift",
"PrettyPrint/IgnoreNodeTests.swift",
"PrettyPrint/ImportTests.swift",
"PrettyPrint/InitializerDeclTests.swift",
"PrettyPrint/KeyPathExprTests.swift",
"PrettyPrint/MacroCallTests.swift",
"PrettyPrint/MacroDeclTests.swift",
"PrettyPrint/MemberAccessExprTests.swift",
"PrettyPrint/MemberTypeIdentifierTests.swift",
"PrettyPrint/NewlineTests.swift",
"PrettyPrint/ObjectLiteralExprTests.swift",
"PrettyPrint/OperatorDeclTests.swift",
"PrettyPrint/ParameterPackTests.swift",
"PrettyPrint/ParenthesizedExprTests.swift",
"PrettyPrint/PatternBindingTests.swift",
"PrettyPrint/PrettyPrintTestCase.swift",
"PrettyPrint/ProtocolDeclTests.swift",
"PrettyPrint/RepeatStmtTests.swift",
"PrettyPrint/RespectsExistingLineBreaksTests.swift",
"PrettyPrint/SemicolonTests.swift",
"PrettyPrint/StringTests.swift",
"PrettyPrint/StructDeclTests.swift",
"PrettyPrint/SubscriptDeclTests.swift",
"PrettyPrint/SubscriptExprTests.swift",
"PrettyPrint/SwitchCaseIndentConfigTests.swift",
"PrettyPrint/SwitchStmtTests.swift",
"PrettyPrint/TernaryExprTests.swift",
"PrettyPrint/TryCatchTests.swift",
"PrettyPrint/TupleDeclTests.swift",
"PrettyPrint/TypeAliasTests.swift",
"PrettyPrint/VariableDeclTests.swift",
"PrettyPrint/WhileStmtTests.swift",
"PrettyPrint/WhitespaceLintTests.swift",
"PrettyPrint/WhitespaceTestCase.swift",
"PrettyPrint/YieldStmtTests.swift",
"Rules/AllPublicDeclarationsHaveDocumentationTests.swift",
"Rules/AlwaysUseLiteralForEmptyCollectionInitTests.swift",
"Rules/AlwaysUseLowerCamelCaseTests.swift",
"Rules/AmbiguousTrailingClosureOverloadTests.swift",
"Rules/BeginDocumentationCommentWithOneLineSummaryTests.swift",
"Rules/DoNotUseSemicolonsTests.swift",
"Rules/DontRepeatTypeInStaticPropertiesTests.swift",
"Rules/FileScopedDeclarationPrivacyTests.swift",
"Rules/FullyIndirectEnumTests.swift",
"Rules/GroupNumericLiteralsTests.swift",
"Rules/IdentifiersMustBeASCIITests.swift",
"Rules/ImportsXCTestVisitorTests.swift",
"Rules/LintOrFormatRuleTestCase.swift",
"Rules/NeverForceUnwrapTests.swift",
"Rules/NeverUseForceTryTests.swift",
"Rules/NeverUseImplicitlyUnwrappedOptionalsTests.swift",
"Rules/NoAccessLevelOnExtensionDeclarationTests.swift",
"Rules/NoAssignmentInExpressionsTests.swift",
"Rules/NoBlockCommentsTests.swift",
"Rules/NoCasesWithOnlyFallthroughTests.swift",
"Rules/NoEmptyTrailingClosureParenthesesTests.swift",
"Rules/NoLabelsInCasePatternsTests.swift",
"Rules/NoLeadingUnderscoresTests.swift",
"Rules/NoParensAroundConditionsTests.swift",
"Rules/NoPlaygroundLiteralsTests.swift",
"Rules/NoVoidReturnOnFunctionSignatureTests.swift",
"Rules/OmitReturnsTests.swift",
"Rules/OneCasePerLineTests.swift",
"Rules/OneVariableDeclarationPerLineTests.swift",
"Rules/OnlyOneTrailingClosureArgumentTests.swift",
"Rules/OrderedImportsTests.swift",
"Rules/ReplaceForEachWithForLoopTests.swift",
"Rules/ReturnVoidInsteadOfEmptyTupleTests.swift",
"Rules/TypeNamesShouldBeCapitalizedTests.swift",
"Rules/UseEarlyExitsTests.swift",
"Rules/UseLetInEveryBoundCaseVariableTests.swift",
"Rules/UseShorthandTypeNamesTests.swift",
"Rules/UseSingleLinePropertyGetterTests.swift",
"Rules/UseSynthesizedInitializerTests.swift",
"Rules/UseTripleSlashForDocumentationCommentsTests.swift",
"Rules/UseWhereClausesInForLoopsTests.swift",
"Rules/ValidateDocumentationCommentsTests.swift"
],
"target_dependencies" : [
"SwiftFormat",
"_SwiftFormatTestSupport"
],
"type" : "test"
},
{
"c99name" : "SwiftFormatPerformanceTests",
"module_type" : "SwiftTarget",
"name" : "SwiftFormatPerformanceTests",
"path" : "Tests/SwiftFormatPerformanceTests",
"product_dependencies" : [
"SwiftSyntax",
"SwiftParser"
],
"sources" : [
"WhitespaceLinterPerformanceTests.swift"
],
"target_dependencies" : [
"SwiftFormat",
"_SwiftFormatTestSupport"
],
"type" : "test"
},
{
"c99name" : "SwiftFormatConfiguration",
"module_type" : "SwiftTarget",
"name" : "SwiftFormatConfiguration",
"path" : "Sources/SwiftFormatConfiguration",
"product_memberships" : [
"SwiftFormat",
"SwiftFormatConfiguration"
],
"sources" : [
"Compatibility.swift"
],
"target_dependencies" : [
"SwiftFormat"
],
"type" : "library"
},
{
"c99name" : "SwiftFormat",
"module_type" : "SwiftTarget",
"name" : "SwiftFormat",
"path" : "Sources/SwiftFormat",
"product_dependencies" : [
"Markdown",
"SwiftSyntax",
"SwiftOperators",
"SwiftParser",
"SwiftParserDiagnostics"
],
"product_memberships" : [
"swift-format",
"SwiftFormat",
"SwiftFormatConfiguration",
"FormatPlugin",
"LintPlugin",
"generate-pipeline"
],
"sources" : [
"API/Configuration+Default.swift",
"API/Configuration.swift",
"API/DebugOptions.swift",
"API/Finding.swift",
"API/FindingCategorizing.swift",
"API/Indent.swift",
"API/SwiftFormatError.swift",
"API/SwiftFormatter.swift",
"API/SwiftLinter.swift",
"Core/Context.swift",
"Core/DocumentationComment.swift",
"Core/DocumentationCommentText.swift",
"Core/Finding+Convenience.swift",
"Core/FindingEmitter.swift",
"Core/FormatPipeline.swift",
"Core/FunctionDeclSyntax+Convenience.swift",
"Core/ImportsXCTestVisitor.swift",
"Core/LazySplitSequence.swift",
"Core/LegacyTriviaBehavior.swift",
"Core/LintPipeline.swift",
"Core/ModifierListSyntax+Convenience.swift",
"Core/Parsing.swift",
"Core/Pipelines+Generated.swift",
"Core/RememberingIterator.swift",
"Core/Rule.swift",
"Core/RuleBasedFindingCategory.swift",
"Core/RuleMask.swift",
"Core/RuleNameCache+Generated.swift",
"Core/RuleRegistry+Generated.swift",
"Core/RuleState.swift",
"Core/SyntaxFormatRule.swift",
"Core/SyntaxLintRule.swift",
"Core/SyntaxProtocol+Convenience.swift",
"Core/Trivia+Convenience.swift",
"Core/WithSemicolonSyntax.swift",
"PrettyPrint/Comment.swift",
"PrettyPrint/Indent+Length.swift",
"PrettyPrint/PrettyPrint.swift",
"PrettyPrint/PrettyPrintFindingCategory.swift",
"PrettyPrint/Token.swift",
"PrettyPrint/TokenStreamCreator.swift",
"PrettyPrint/Verbatim.swift",
"PrettyPrint/WhitespaceFindingCategory.swift",
"PrettyPrint/WhitespaceLinter.swift",
"Rules/AllPublicDeclarationsHaveDocumentation.swift",
"Rules/AlwaysUseLiteralForEmptyCollectionInit.swift",
"Rules/AlwaysUseLowerCamelCase.swift",
"Rules/AmbiguousTrailingClosureOverload.swift",
"Rules/BeginDocumentationCommentWithOneLineSummary.swift",
"Rules/DoNotUseSemicolons.swift",
"Rules/DontRepeatTypeInStaticProperties.swift",
"Rules/FileScopedDeclarationPrivacy.swift",
"Rules/FullyIndirectEnum.swift",
"Rules/GroupNumericLiterals.swift",
"Rules/IdentifiersMustBeASCII.swift",
"Rules/NeverForceUnwrap.swift",
"Rules/NeverUseForceTry.swift",
"Rules/NeverUseImplicitlyUnwrappedOptionals.swift",
"Rules/NoAccessLevelOnExtensionDeclaration.swift",
"Rules/NoAssignmentInExpressions.swift",
"Rules/NoBlockComments.swift",
"Rules/NoCasesWithOnlyFallthrough.swift",
"Rules/NoEmptyTrailingClosureParentheses.swift",
"Rules/NoLabelsInCasePatterns.swift",
"Rules/NoLeadingUnderscores.swift",
"Rules/NoParensAroundConditions.swift",
"Rules/NoPlaygroundLiterals.swift",
"Rules/NoVoidReturnOnFunctionSignature.swift",
"Rules/OmitExplicitReturns.swift",
"Rules/OneCasePerLine.swift",
"Rules/OneVariableDeclarationPerLine.swift",
"Rules/OnlyOneTrailingClosureArgument.swift",
"Rules/OrderedImports.swift",
"Rules/ReplaceForEachWithForLoop.swift",
"Rules/ReturnVoidInsteadOfEmptyTuple.swift",
"Rules/TypeNamesShouldBeCapitalized.swift",
"Rules/UseEarlyExits.swift",
"Rules/UseLetInEveryBoundCaseVariable.swift",
"Rules/UseShorthandTypeNames.swift",
"Rules/UseSingleLinePropertyGetter.swift",
"Rules/UseSynthesizedInitializer.swift",
"Rules/UseTripleSlashForDocumentationComments.swift",
"Rules/UseWhereClausesInForLoops.swift",
"Rules/ValidateDocumentationComments.swift"
],
"type" : "library"
},
{
"c99name" : "Lint_Source_Code",
"module_type" : "PluginTarget",
"name" : "Lint Source Code",
"path" : "Plugins/LintPlugin",
"plugin_capability" : {
"intent" : {
"description" : "Lint source code for a specified target.",
"type" : "custom",
"verb" : "lint-source-code"
},
"permissions" : [
],
"type" : "command"
},
"product_memberships" : [
"LintPlugin"
],
"sources" : [
"plugin.swift"
],
"target_dependencies" : [
"swift-format"
],
"type" : "plugin"
},
{
"c99name" : "Format_Source_Code",
"module_type" : "PluginTarget",
"name" : "Format Source Code",
"path" : "Plugins/FormatPlugin",
"plugin_capability" : {
"intent" : {
"type" : "sourceCodeFormatting"
},
"permissions" : [
{
"network_scope" : {
"none" : {
}
},
"reason" : "This command formats the Swift source files",
"type" : "writeToPackageDirectory"
}
],
"type" : "command"
},
"product_memberships" : [
"FormatPlugin"
],
"sources" : [
"plugin.swift"
],
"target_dependencies" : [
"swift-format"
],
"type" : "plugin"
}
],
"tools_version" : "5.6"
}
Done.