Build Information
Successful build of swift-format, reference 601.0.0-prerelease-2024-10-15 (6e18a9
), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 00:53:14 UTC.
Swift 6 data race errors: 43
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
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/NoPlaygroundLiterals.swift:80:26: warning: static property 'replaceColorLiteral' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
78 |
79 | extension Finding.Message {
80 | fileprivate static let replaceColorLiteral: Finding.Message =
| |- warning: static property 'replaceColorLiteral' is 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 'replaceColorLiteral' 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
81 | "replace '#colorLiteral' with a call to an initializer on 'NSColor' or 'UIColor'"
82 |
/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/NoPlaygroundLiterals.swift:83:26: warning: static property 'replaceFileLiteral' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
81 | "replace '#colorLiteral' with a call to an initializer on 'NSColor' or 'UIColor'"
82 |
83 | fileprivate static let replaceFileLiteral: Finding.Message =
| |- warning: static property 'replaceFileLiteral' is 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 'replaceFileLiteral' 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
84 | "replace '#fileLiteral' with a call to a method such as 'Bundle.url(forResource:withExtension:)'"
85 |
/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/NoPlaygroundLiterals.swift:86:26: warning: static property 'replaceImageLiteral' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
84 | "replace '#fileLiteral' with a call to a method such as 'Bundle.url(forResource:withExtension:)'"
85 |
86 | fileprivate static let replaceImageLiteral: Finding.Message =
| |- warning: static property 'replaceImageLiteral' is 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 'replaceImageLiteral' 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
87 | "replace '#imageLiteral' with a call to an initializer on 'NSImage' or 'UIImage'"
88 | }
/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/455] Compiling SwiftFormat NoEmptyLineOpeningClosingBraces.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/NoBlockComments.swift:38:26: warning: static property 'avoidBlockComment' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | extension Finding.Message {
38 | fileprivate static let avoidBlockComment: Finding.Message =
| |- warning: static property 'avoidBlockComment' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'avoidBlockComment' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | "replace this block comment with line comments"
40 | }
/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/NoParensAroundConditions.swift:129:26: warning: static property 'removeParensAroundExpression' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
127 |
128 | extension Finding.Message {
129 | fileprivate static let removeParensAroundExpression: Finding.Message =
| |- warning: static property 'removeParensAroundExpression' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'removeParensAroundExpression' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
130 | "remove the parentheses around this expression"
131 | }
/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/NoPlaygroundLiterals.swift:80:26: warning: static property 'replaceColorLiteral' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
78 |
79 | extension Finding.Message {
80 | fileprivate static let replaceColorLiteral: Finding.Message =
| |- warning: static property 'replaceColorLiteral' is 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 'replaceColorLiteral' 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
81 | "replace '#colorLiteral' with a call to an initializer on 'NSColor' or 'UIColor'"
82 |
/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/NoPlaygroundLiterals.swift:83:26: warning: static property 'replaceFileLiteral' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
81 | "replace '#colorLiteral' with a call to an initializer on 'NSColor' or 'UIColor'"
82 |
83 | fileprivate static let replaceFileLiteral: Finding.Message =
| |- warning: static property 'replaceFileLiteral' is 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 'replaceFileLiteral' 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
84 | "replace '#fileLiteral' with a call to a method such as 'Bundle.url(forResource:withExtension:)'"
85 |
/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/NoPlaygroundLiterals.swift:86:26: warning: static property 'replaceImageLiteral' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
84 | "replace '#fileLiteral' with a call to a method such as 'Bundle.url(forResource:withExtension:)'"
85 |
86 | fileprivate static let replaceImageLiteral: Finding.Message =
| |- warning: static property 'replaceImageLiteral' is 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 'replaceImageLiteral' 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
87 | "replace '#imageLiteral' with a call to an initializer on 'NSImage' or 'UIImage'"
88 | }
/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 | {
[408/455] Compiling SwiftFormat NoEmptyTrailingClosureParentheses.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/NoBlockComments.swift:38:26: warning: static property 'avoidBlockComment' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | extension Finding.Message {
38 | fileprivate static let avoidBlockComment: Finding.Message =
| |- warning: static property 'avoidBlockComment' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'avoidBlockComment' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | "replace this block comment with line comments"
40 | }
/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/NoParensAroundConditions.swift:129:26: warning: static property 'removeParensAroundExpression' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
127 |
128 | extension Finding.Message {
129 | fileprivate static let removeParensAroundExpression: Finding.Message =
| |- warning: static property 'removeParensAroundExpression' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'removeParensAroundExpression' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
130 | "remove the parentheses around this expression"
131 | }
/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/NoPlaygroundLiterals.swift:80:26: warning: static property 'replaceColorLiteral' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
78 |
79 | extension Finding.Message {
80 | fileprivate static let replaceColorLiteral: Finding.Message =
| |- warning: static property 'replaceColorLiteral' is 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 'replaceColorLiteral' 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
81 | "replace '#colorLiteral' with a call to an initializer on 'NSColor' or 'UIColor'"
82 |
/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/NoPlaygroundLiterals.swift:83:26: warning: static property 'replaceFileLiteral' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
81 | "replace '#colorLiteral' with a call to an initializer on 'NSColor' or 'UIColor'"
82 |
83 | fileprivate static let replaceFileLiteral: Finding.Message =
| |- warning: static property 'replaceFileLiteral' is 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 'replaceFileLiteral' 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
84 | "replace '#fileLiteral' with a call to a method such as 'Bundle.url(forResource:withExtension:)'"
85 |
/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/NoPlaygroundLiterals.swift:86:26: warning: static property 'replaceImageLiteral' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
84 | "replace '#fileLiteral' with a call to a method such as 'Bundle.url(forResource:withExtension:)'"
85 |
86 | fileprivate static let replaceImageLiteral: Finding.Message =
| |- warning: static property 'replaceImageLiteral' is 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 'replaceImageLiteral' 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
87 | "replace '#imageLiteral' with a call to an initializer on 'NSImage' or 'UIImage'"
88 | }
/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 | {
[409/455] Compiling SwiftFormat NoLabelsInCasePatterns.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/NoBlockComments.swift:38:26: warning: static property 'avoidBlockComment' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | extension Finding.Message {
38 | fileprivate static let avoidBlockComment: Finding.Message =
| |- warning: static property 'avoidBlockComment' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'avoidBlockComment' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | "replace this block comment with line comments"
40 | }
/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/NoParensAroundConditions.swift:129:26: warning: static property 'removeParensAroundExpression' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
127 |
128 | extension Finding.Message {
129 | fileprivate static let removeParensAroundExpression: Finding.Message =
| |- warning: static property 'removeParensAroundExpression' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'removeParensAroundExpression' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
130 | "remove the parentheses around this expression"
131 | }
/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/NoPlaygroundLiterals.swift:80:26: warning: static property 'replaceColorLiteral' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
78 |
79 | extension Finding.Message {
80 | fileprivate static let replaceColorLiteral: Finding.Message =
| |- warning: static property 'replaceColorLiteral' is 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 'replaceColorLiteral' 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
81 | "replace '#colorLiteral' with a call to an initializer on 'NSColor' or 'UIColor'"
82 |
/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/NoPlaygroundLiterals.swift:83:26: warning: static property 'replaceFileLiteral' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
81 | "replace '#colorLiteral' with a call to an initializer on 'NSColor' or 'UIColor'"
82 |
83 | fileprivate static let replaceFileLiteral: Finding.Message =
| |- warning: static property 'replaceFileLiteral' is 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 'replaceFileLiteral' 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
84 | "replace '#fileLiteral' with a call to a method such as 'Bundle.url(forResource:withExtension:)'"
85 |
/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/NoPlaygroundLiterals.swift:86:26: warning: static property 'replaceImageLiteral' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
84 | "replace '#fileLiteral' with a call to a method such as 'Bundle.url(forResource:withExtension:)'"
85 |
86 | fileprivate static let replaceImageLiteral: Finding.Message =
| |- warning: static property 'replaceImageLiteral' is 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 'replaceImageLiteral' 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
87 | "replace '#imageLiteral' with a call to an initializer on 'NSImage' or 'UIImage'"
88 | }
/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 | {
[410/455] Compiling SwiftFormat NoLeadingUnderscores.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/NoBlockComments.swift:38:26: warning: static property 'avoidBlockComment' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | extension Finding.Message {
38 | fileprivate static let avoidBlockComment: Finding.Message =
| |- warning: static property 'avoidBlockComment' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'avoidBlockComment' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | "replace this block comment with line comments"
40 | }
/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/NoParensAroundConditions.swift:129:26: warning: static property 'removeParensAroundExpression' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
127 |
128 | extension Finding.Message {
129 | fileprivate static let removeParensAroundExpression: Finding.Message =
| |- warning: static property 'removeParensAroundExpression' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'removeParensAroundExpression' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
130 | "remove the parentheses around this expression"
131 | }
/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/NoPlaygroundLiterals.swift:80:26: warning: static property 'replaceColorLiteral' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
78 |
79 | extension Finding.Message {
80 | fileprivate static let replaceColorLiteral: Finding.Message =
| |- warning: static property 'replaceColorLiteral' is 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 'replaceColorLiteral' 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
81 | "replace '#colorLiteral' with a call to an initializer on 'NSColor' or 'UIColor'"
82 |
/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/NoPlaygroundLiterals.swift:83:26: warning: static property 'replaceFileLiteral' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
81 | "replace '#colorLiteral' with a call to an initializer on 'NSColor' or 'UIColor'"
82 |
83 | fileprivate static let replaceFileLiteral: Finding.Message =
| |- warning: static property 'replaceFileLiteral' is 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 'replaceFileLiteral' 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
84 | "replace '#fileLiteral' with a call to a method such as 'Bundle.url(forResource:withExtension:)'"
85 |
/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/NoPlaygroundLiterals.swift:86:26: warning: static property 'replaceImageLiteral' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
84 | "replace '#fileLiteral' with a call to a method such as 'Bundle.url(forResource:withExtension:)'"
85 |
86 | fileprivate static let replaceImageLiteral: Finding.Message =
| |- warning: static property 'replaceImageLiteral' is 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 'replaceImageLiteral' 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
87 | "replace '#imageLiteral' with a call to an initializer on 'NSImage' or 'UIImage'"
88 | }
/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 | {
[411/455] Compiling SwiftFormat NoParensAroundConditions.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/NoBlockComments.swift:38:26: warning: static property 'avoidBlockComment' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | extension Finding.Message {
38 | fileprivate static let avoidBlockComment: Finding.Message =
| |- warning: static property 'avoidBlockComment' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'avoidBlockComment' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | "replace this block comment with line comments"
40 | }
/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/NoParensAroundConditions.swift:129:26: warning: static property 'removeParensAroundExpression' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
127 |
128 | extension Finding.Message {
129 | fileprivate static let removeParensAroundExpression: Finding.Message =
| |- warning: static property 'removeParensAroundExpression' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'removeParensAroundExpression' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
130 | "remove the parentheses around this expression"
131 | }
/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/NoPlaygroundLiterals.swift:80:26: warning: static property 'replaceColorLiteral' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
78 |
79 | extension Finding.Message {
80 | fileprivate static let replaceColorLiteral: Finding.Message =
| |- warning: static property 'replaceColorLiteral' is 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 'replaceColorLiteral' 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
81 | "replace '#colorLiteral' with a call to an initializer on 'NSColor' or 'UIColor'"
82 |
/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/NoPlaygroundLiterals.swift:83:26: warning: static property 'replaceFileLiteral' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
81 | "replace '#colorLiteral' with a call to an initializer on 'NSColor' or 'UIColor'"
82 |
83 | fileprivate static let replaceFileLiteral: Finding.Message =
| |- warning: static property 'replaceFileLiteral' is 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 'replaceFileLiteral' 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
84 | "replace '#fileLiteral' with a call to a method such as 'Bundle.url(forResource:withExtension:)'"
85 |
/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/NoPlaygroundLiterals.swift:86:26: warning: static property 'replaceImageLiteral' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
84 | "replace '#fileLiteral' with a call to a method such as 'Bundle.url(forResource:withExtension:)'"
85 |
86 | fileprivate static let replaceImageLiteral: Finding.Message =
| |- warning: static property 'replaceImageLiteral' is 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 'replaceImageLiteral' 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
87 | "replace '#imageLiteral' with a call to an initializer on 'NSImage' or 'UIImage'"
88 | }
/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 | {
[412/455] Compiling SwiftFormat NoPlaygroundLiterals.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/NoBlockComments.swift:38:26: warning: static property 'avoidBlockComment' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | extension Finding.Message {
38 | fileprivate static let avoidBlockComment: Finding.Message =
| |- warning: static property 'avoidBlockComment' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'avoidBlockComment' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | "replace this block comment with line comments"
40 | }
/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/NoParensAroundConditions.swift:129:26: warning: static property 'removeParensAroundExpression' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
127 |
128 | extension Finding.Message {
129 | fileprivate static let removeParensAroundExpression: Finding.Message =
| |- warning: static property 'removeParensAroundExpression' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'removeParensAroundExpression' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
130 | "remove the parentheses around this expression"
131 | }
/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/NoPlaygroundLiterals.swift:80:26: warning: static property 'replaceColorLiteral' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
78 |
79 | extension Finding.Message {
80 | fileprivate static let replaceColorLiteral: Finding.Message =
| |- warning: static property 'replaceColorLiteral' is 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 'replaceColorLiteral' 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
81 | "replace '#colorLiteral' with a call to an initializer on 'NSColor' or 'UIColor'"
82 |
/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/NoPlaygroundLiterals.swift:83:26: warning: static property 'replaceFileLiteral' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
81 | "replace '#colorLiteral' with a call to an initializer on 'NSColor' or 'UIColor'"
82 |
83 | fileprivate static let replaceFileLiteral: Finding.Message =
| |- warning: static property 'replaceFileLiteral' is 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 'replaceFileLiteral' 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
84 | "replace '#fileLiteral' with a call to a method such as 'Bundle.url(forResource:withExtension:)'"
85 |
/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/NoPlaygroundLiterals.swift:86:26: warning: static property 'replaceImageLiteral' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
84 | "replace '#fileLiteral' with a call to a method such as 'Bundle.url(forResource:withExtension:)'"
85 |
86 | fileprivate static let replaceImageLiteral: Finding.Message =
| |- warning: static property 'replaceImageLiteral' is 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 'replaceImageLiteral' 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
87 | "replace '#imageLiteral' with a call to an initializer on 'NSImage' or 'UIImage'"
88 | }
/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 | {
[413/455] Compiling SwiftFormat NoVoidReturnOnFunctionSignature.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/Rules/NoBlockComments.swift:38:26: warning: static property 'avoidBlockComment' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | extension Finding.Message {
38 | fileprivate static let avoidBlockComment: Finding.Message =
| |- warning: static property 'avoidBlockComment' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'avoidBlockComment' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | "replace this block comment with line comments"
40 | }
/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/NoParensAroundConditions.swift:129:26: warning: static property 'removeParensAroundExpression' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
127 |
128 | extension Finding.Message {
129 | fileprivate static let removeParensAroundExpression: Finding.Message =
| |- warning: static property 'removeParensAroundExpression' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'removeParensAroundExpression' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
130 | "remove the parentheses around this expression"
131 | }
/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/NoPlaygroundLiterals.swift:80:26: warning: static property 'replaceColorLiteral' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
78 |
79 | extension Finding.Message {
80 | fileprivate static let replaceColorLiteral: Finding.Message =
| |- warning: static property 'replaceColorLiteral' is 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 'replaceColorLiteral' 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
81 | "replace '#colorLiteral' with a call to an initializer on 'NSColor' or 'UIColor'"
82 |
/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/NoPlaygroundLiterals.swift:83:26: warning: static property 'replaceFileLiteral' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
81 | "replace '#colorLiteral' with a call to an initializer on 'NSColor' or 'UIColor'"
82 |
83 | fileprivate static let replaceFileLiteral: Finding.Message =
| |- warning: static property 'replaceFileLiteral' is 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 'replaceFileLiteral' 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
84 | "replace '#fileLiteral' with a call to a method such as 'Bundle.url(forResource:withExtension:)'"
85 |
/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/NoPlaygroundLiterals.swift:86:26: warning: static property 'replaceImageLiteral' is not concurrency-safe because non-'Sendable' type 'Finding.Message' may have shared mutable state; this is an error in the Swift 6 language mode
84 | "replace '#fileLiteral' with a call to a method such as 'Bundle.url(forResource:withExtension:)'"
85 |
86 | fileprivate static let replaceImageLiteral: Finding.Message =
| |- warning: static property 'replaceImageLiteral' is 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 'replaceImageLiteral' 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
87 | "replace '#imageLiteral' with a call to an initializer on 'NSImage' or 'UIImage'"
88 | }
/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 | {
[414/455] Compiling SwiftFormat SwiftLinter.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
[415/455] Compiling SwiftFormat Context.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
[416/455] Compiling SwiftFormat DocumentationComment.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
[417/455] Compiling SwiftFormat DocumentationCommentText.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
[418/455] Compiling SwiftFormat Finding+Convenience.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
[419/455] Compiling SwiftFormat FindingEmitter.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
[420/455] Compiling SwiftFormat FormatPipeline.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
[421/455] Compiling SwiftFormat FunctionDeclSyntax+Convenience.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
[422/455] Compiling SwiftFormat ImportsXCTestVisitor.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
[423/455] Compiling SwiftFormat LazySplitSequence.swift
[424/455] Compiling SwiftFormat LintPipeline.swift
[425/455] Compiling SwiftFormat ModifierListSyntax+Convenience.swift
[426/455] Compiling SwiftFormat Parsing.swift
[427/455] Compiling SwiftFormat Pipelines+Generated.swift
[428/455] Compiling SwiftFormat RememberingIterator.swift
[429/455] Compiling SwiftFormat Rule.swift
[430/455] Compiling SwiftFormat RuleBasedFindingCategory.swift
[431/455] Compiling SwiftFormat RuleMask.swift
[432/455] Compiling SwiftFormat RuleNameCache+Generated.swift
[433/455] Compiling SwiftFormat RuleRegistry+Generated.swift
[434/455] Compiling SwiftFormat RuleState.swift
[435/455] Compiling SwiftFormat SyntaxFormatRule.swift
[436/455] Compiling SwiftFormat SyntaxLintRule.swift
[437/455] Compiling SwiftFormat SyntaxProtocol+Convenience.swift
[438/455] Compiling SwiftFormat Trivia+Convenience.swift
[439/455] Compiling SwiftFormat WithAttributesSyntax+Convenience.swift
[440/455] Compiling SwiftFormat WithSemicolonSyntax.swift
[441/455] Compiling SwiftFormat Comment.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/PrettyPrint.swift:824:26: 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
822 |
823 | extension Finding.Message {
824 | fileprivate 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
825 | "move end-of-line comment that exceeds the line length"
826 |
/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:827:26: 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
825 | "move end-of-line comment that exceeds the line length"
826 |
827 | fileprivate 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
828 | "add trailing comma to the last element in multiline collection literal"
829 |
/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:830:26: 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
828 | "add trailing comma to the last element in multiline collection literal"
829 |
830 | fileprivate 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
831 | "remove trailing comma from the last element in single line collection literal"
832 | }
/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/Token.swift:213:14: warning: static property 'open' is not concurrency-safe because non-'Sendable' type 'Token' may have shared mutable state; this is an error in the Swift 6 language mode
179 | }
180 |
181 | enum Token {
| `- note: consider making enum 'Token' conform to the 'Sendable' protocol
182 | case syntax(String)
183 | case open(GroupBreakStyle)
:
211 |
212 | // Convenience overloads for the enum types
213 | static let open = Token.open(.inconsistent, 0)
| |- warning: static property 'open' is not concurrency-safe because non-'Sendable' type 'Token' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'open' 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
214 |
215 | static func open(_ breakStyle: GroupBreakStyle, _ offset: Int) -> Token {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/Token.swift:219:14: warning: static property 'space' is not concurrency-safe because non-'Sendable' type 'Token' may have shared mutable state; this is an error in the Swift 6 language mode
179 | }
180 |
181 | enum Token {
| `- note: consider making enum 'Token' conform to the 'Sendable' protocol
182 | case syntax(String)
183 | case open(GroupBreakStyle)
:
217 | }
218 |
219 | static let space = Token.space(size: 1, flexible: false)
| |- warning: static property 'space' is not concurrency-safe because non-'Sendable' type 'Token' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'space' 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
220 |
221 | static func space(size: Int) -> Token {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/Token.swift:225:14: warning: static property 'break' is not concurrency-safe because non-'Sendable' type 'Token' may have shared mutable state; this is an error in the Swift 6 language mode
179 | }
180 |
181 | enum Token {
| `- note: consider making enum 'Token' conform to the 'Sendable' protocol
182 | case syntax(String)
183 | case open(GroupBreakStyle)
:
223 | }
224 |
225 | static let `break` = Token.break(.continue, size: 1, newlines: .elective)
| |- warning: static property 'break' is not concurrency-safe because non-'Sendable' type 'Token' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'break' 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
226 |
227 | static func `break`(_ kind: BreakKind, size: Int = 1) -> Token {
[442/455] Compiling SwiftFormat Indent+Length.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/PrettyPrint.swift:824:26: 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
822 |
823 | extension Finding.Message {
824 | fileprivate 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
825 | "move end-of-line comment that exceeds the line length"
826 |
/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:827:26: 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
825 | "move end-of-line comment that exceeds the line length"
826 |
827 | fileprivate 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
828 | "add trailing comma to the last element in multiline collection literal"
829 |
/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:830:26: 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
828 | "add trailing comma to the last element in multiline collection literal"
829 |
830 | fileprivate 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
831 | "remove trailing comma from the last element in single line collection literal"
832 | }
/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/Token.swift:213:14: warning: static property 'open' is not concurrency-safe because non-'Sendable' type 'Token' may have shared mutable state; this is an error in the Swift 6 language mode
179 | }
180 |
181 | enum Token {
| `- note: consider making enum 'Token' conform to the 'Sendable' protocol
182 | case syntax(String)
183 | case open(GroupBreakStyle)
:
211 |
212 | // Convenience overloads for the enum types
213 | static let open = Token.open(.inconsistent, 0)
| |- warning: static property 'open' is not concurrency-safe because non-'Sendable' type 'Token' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'open' 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
214 |
215 | static func open(_ breakStyle: GroupBreakStyle, _ offset: Int) -> Token {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/Token.swift:219:14: warning: static property 'space' is not concurrency-safe because non-'Sendable' type 'Token' may have shared mutable state; this is an error in the Swift 6 language mode
179 | }
180 |
181 | enum Token {
| `- note: consider making enum 'Token' conform to the 'Sendable' protocol
182 | case syntax(String)
183 | case open(GroupBreakStyle)
:
217 | }
218 |
219 | static let space = Token.space(size: 1, flexible: false)
| |- warning: static property 'space' is not concurrency-safe because non-'Sendable' type 'Token' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'space' 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
220 |
221 | static func space(size: Int) -> Token {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/Token.swift:225:14: warning: static property 'break' is not concurrency-safe because non-'Sendable' type 'Token' may have shared mutable state; this is an error in the Swift 6 language mode
179 | }
180 |
181 | enum Token {
| `- note: consider making enum 'Token' conform to the 'Sendable' protocol
182 | case syntax(String)
183 | case open(GroupBreakStyle)
:
223 | }
224 |
225 | static let `break` = Token.break(.continue, size: 1, newlines: .elective)
| |- warning: static property 'break' is not concurrency-safe because non-'Sendable' type 'Token' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'break' 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
226 |
227 | static func `break`(_ kind: BreakKind, size: Int = 1) -> Token {
[443/455] Compiling SwiftFormat PrettyPrint.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/PrettyPrint.swift:824:26: 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
822 |
823 | extension Finding.Message {
824 | fileprivate 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
825 | "move end-of-line comment that exceeds the line length"
826 |
/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:827:26: 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
825 | "move end-of-line comment that exceeds the line length"
826 |
827 | fileprivate 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
828 | "add trailing comma to the last element in multiline collection literal"
829 |
/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:830:26: 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
828 | "add trailing comma to the last element in multiline collection literal"
829 |
830 | fileprivate 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
831 | "remove trailing comma from the last element in single line collection literal"
832 | }
/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/Token.swift:213:14: warning: static property 'open' is not concurrency-safe because non-'Sendable' type 'Token' may have shared mutable state; this is an error in the Swift 6 language mode
179 | }
180 |
181 | enum Token {
| `- note: consider making enum 'Token' conform to the 'Sendable' protocol
182 | case syntax(String)
183 | case open(GroupBreakStyle)
:
211 |
212 | // Convenience overloads for the enum types
213 | static let open = Token.open(.inconsistent, 0)
| |- warning: static property 'open' is not concurrency-safe because non-'Sendable' type 'Token' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'open' 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
214 |
215 | static func open(_ breakStyle: GroupBreakStyle, _ offset: Int) -> Token {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/Token.swift:219:14: warning: static property 'space' is not concurrency-safe because non-'Sendable' type 'Token' may have shared mutable state; this is an error in the Swift 6 language mode
179 | }
180 |
181 | enum Token {
| `- note: consider making enum 'Token' conform to the 'Sendable' protocol
182 | case syntax(String)
183 | case open(GroupBreakStyle)
:
217 | }
218 |
219 | static let space = Token.space(size: 1, flexible: false)
| |- warning: static property 'space' is not concurrency-safe because non-'Sendable' type 'Token' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'space' 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
220 |
221 | static func space(size: Int) -> Token {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/Token.swift:225:14: warning: static property 'break' is not concurrency-safe because non-'Sendable' type 'Token' may have shared mutable state; this is an error in the Swift 6 language mode
179 | }
180 |
181 | enum Token {
| `- note: consider making enum 'Token' conform to the 'Sendable' protocol
182 | case syntax(String)
183 | case open(GroupBreakStyle)
:
223 | }
224 |
225 | static let `break` = Token.break(.continue, size: 1, newlines: .elective)
| |- warning: static property 'break' is not concurrency-safe because non-'Sendable' type 'Token' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'break' 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
226 |
227 | static func `break`(_ kind: BreakKind, size: Int = 1) -> Token {
[444/455] Compiling SwiftFormat PrettyPrintBuffer.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/PrettyPrint.swift:824:26: 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
822 |
823 | extension Finding.Message {
824 | fileprivate 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
825 | "move end-of-line comment that exceeds the line length"
826 |
/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:827:26: 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
825 | "move end-of-line comment that exceeds the line length"
826 |
827 | fileprivate 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
828 | "add trailing comma to the last element in multiline collection literal"
829 |
/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:830:26: 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
828 | "add trailing comma to the last element in multiline collection literal"
829 |
830 | fileprivate 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
831 | "remove trailing comma from the last element in single line collection literal"
832 | }
/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/Token.swift:213:14: warning: static property 'open' is not concurrency-safe because non-'Sendable' type 'Token' may have shared mutable state; this is an error in the Swift 6 language mode
179 | }
180 |
181 | enum Token {
| `- note: consider making enum 'Token' conform to the 'Sendable' protocol
182 | case syntax(String)
183 | case open(GroupBreakStyle)
:
211 |
212 | // Convenience overloads for the enum types
213 | static let open = Token.open(.inconsistent, 0)
| |- warning: static property 'open' is not concurrency-safe because non-'Sendable' type 'Token' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'open' 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
214 |
215 | static func open(_ breakStyle: GroupBreakStyle, _ offset: Int) -> Token {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/Token.swift:219:14: warning: static property 'space' is not concurrency-safe because non-'Sendable' type 'Token' may have shared mutable state; this is an error in the Swift 6 language mode
179 | }
180 |
181 | enum Token {
| `- note: consider making enum 'Token' conform to the 'Sendable' protocol
182 | case syntax(String)
183 | case open(GroupBreakStyle)
:
217 | }
218 |
219 | static let space = Token.space(size: 1, flexible: false)
| |- warning: static property 'space' is not concurrency-safe because non-'Sendable' type 'Token' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'space' 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
220 |
221 | static func space(size: Int) -> Token {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/Token.swift:225:14: warning: static property 'break' is not concurrency-safe because non-'Sendable' type 'Token' may have shared mutable state; this is an error in the Swift 6 language mode
179 | }
180 |
181 | enum Token {
| `- note: consider making enum 'Token' conform to the 'Sendable' protocol
182 | case syntax(String)
183 | case open(GroupBreakStyle)
:
223 | }
224 |
225 | static let `break` = Token.break(.continue, size: 1, newlines: .elective)
| |- warning: static property 'break' is not concurrency-safe because non-'Sendable' type 'Token' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'break' 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
226 |
227 | static func `break`(_ kind: BreakKind, size: Int = 1) -> Token {
[445/455] Compiling SwiftFormat PrettyPrintFindingCategory.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/PrettyPrint.swift:824:26: 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
822 |
823 | extension Finding.Message {
824 | fileprivate 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
825 | "move end-of-line comment that exceeds the line length"
826 |
/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:827:26: 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
825 | "move end-of-line comment that exceeds the line length"
826 |
827 | fileprivate 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
828 | "add trailing comma to the last element in multiline collection literal"
829 |
/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:830:26: 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
828 | "add trailing comma to the last element in multiline collection literal"
829 |
830 | fileprivate 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
831 | "remove trailing comma from the last element in single line collection literal"
832 | }
/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/Token.swift:213:14: warning: static property 'open' is not concurrency-safe because non-'Sendable' type 'Token' may have shared mutable state; this is an error in the Swift 6 language mode
179 | }
180 |
181 | enum Token {
| `- note: consider making enum 'Token' conform to the 'Sendable' protocol
182 | case syntax(String)
183 | case open(GroupBreakStyle)
:
211 |
212 | // Convenience overloads for the enum types
213 | static let open = Token.open(.inconsistent, 0)
| |- warning: static property 'open' is not concurrency-safe because non-'Sendable' type 'Token' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'open' 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
214 |
215 | static func open(_ breakStyle: GroupBreakStyle, _ offset: Int) -> Token {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/Token.swift:219:14: warning: static property 'space' is not concurrency-safe because non-'Sendable' type 'Token' may have shared mutable state; this is an error in the Swift 6 language mode
179 | }
180 |
181 | enum Token {
| `- note: consider making enum 'Token' conform to the 'Sendable' protocol
182 | case syntax(String)
183 | case open(GroupBreakStyle)
:
217 | }
218 |
219 | static let space = Token.space(size: 1, flexible: false)
| |- warning: static property 'space' is not concurrency-safe because non-'Sendable' type 'Token' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'space' 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
220 |
221 | static func space(size: Int) -> Token {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/Token.swift:225:14: warning: static property 'break' is not concurrency-safe because non-'Sendable' type 'Token' may have shared mutable state; this is an error in the Swift 6 language mode
179 | }
180 |
181 | enum Token {
| `- note: consider making enum 'Token' conform to the 'Sendable' protocol
182 | case syntax(String)
183 | case open(GroupBreakStyle)
:
223 | }
224 |
225 | static let `break` = Token.break(.continue, size: 1, newlines: .elective)
| |- warning: static property 'break' is not concurrency-safe because non-'Sendable' type 'Token' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'break' 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
226 |
227 | static func `break`(_ kind: BreakKind, size: Int = 1) -> Token {
[446/455] Compiling SwiftFormat Token.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/PrettyPrint.swift:824:26: 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
822 |
823 | extension Finding.Message {
824 | fileprivate 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
825 | "move end-of-line comment that exceeds the line length"
826 |
/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:827:26: 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
825 | "move end-of-line comment that exceeds the line length"
826 |
827 | fileprivate 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
828 | "add trailing comma to the last element in multiline collection literal"
829 |
/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:830:26: 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
828 | "add trailing comma to the last element in multiline collection literal"
829 |
830 | fileprivate 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
831 | "remove trailing comma from the last element in single line collection literal"
832 | }
/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/Token.swift:213:14: warning: static property 'open' is not concurrency-safe because non-'Sendable' type 'Token' may have shared mutable state; this is an error in the Swift 6 language mode
179 | }
180 |
181 | enum Token {
| `- note: consider making enum 'Token' conform to the 'Sendable' protocol
182 | case syntax(String)
183 | case open(GroupBreakStyle)
:
211 |
212 | // Convenience overloads for the enum types
213 | static let open = Token.open(.inconsistent, 0)
| |- warning: static property 'open' is not concurrency-safe because non-'Sendable' type 'Token' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'open' 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
214 |
215 | static func open(_ breakStyle: GroupBreakStyle, _ offset: Int) -> Token {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/Token.swift:219:14: warning: static property 'space' is not concurrency-safe because non-'Sendable' type 'Token' may have shared mutable state; this is an error in the Swift 6 language mode
179 | }
180 |
181 | enum Token {
| `- note: consider making enum 'Token' conform to the 'Sendable' protocol
182 | case syntax(String)
183 | case open(GroupBreakStyle)
:
217 | }
218 |
219 | static let space = Token.space(size: 1, flexible: false)
| |- warning: static property 'space' is not concurrency-safe because non-'Sendable' type 'Token' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'space' 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
220 |
221 | static func space(size: Int) -> Token {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/Token.swift:225:14: warning: static property 'break' is not concurrency-safe because non-'Sendable' type 'Token' may have shared mutable state; this is an error in the Swift 6 language mode
179 | }
180 |
181 | enum Token {
| `- note: consider making enum 'Token' conform to the 'Sendable' protocol
182 | case syntax(String)
183 | case open(GroupBreakStyle)
:
223 | }
224 |
225 | static let `break` = Token.break(.continue, size: 1, newlines: .elective)
| |- warning: static property 'break' is not concurrency-safe because non-'Sendable' type 'Token' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'break' 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
226 |
227 | static func `break`(_ kind: BreakKind, size: Int = 1) -> Token {
[447/455] Compiling SwiftFormat TokenStreamCreator.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/PrettyPrint.swift:824:26: 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
822 |
823 | extension Finding.Message {
824 | fileprivate 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
825 | "move end-of-line comment that exceeds the line length"
826 |
/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:827:26: 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
825 | "move end-of-line comment that exceeds the line length"
826 |
827 | fileprivate 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
828 | "add trailing comma to the last element in multiline collection literal"
829 |
/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:830:26: 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
828 | "add trailing comma to the last element in multiline collection literal"
829 |
830 | fileprivate 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
831 | "remove trailing comma from the last element in single line collection literal"
832 | }
/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/Token.swift:213:14: warning: static property 'open' is not concurrency-safe because non-'Sendable' type 'Token' may have shared mutable state; this is an error in the Swift 6 language mode
179 | }
180 |
181 | enum Token {
| `- note: consider making enum 'Token' conform to the 'Sendable' protocol
182 | case syntax(String)
183 | case open(GroupBreakStyle)
:
211 |
212 | // Convenience overloads for the enum types
213 | static let open = Token.open(.inconsistent, 0)
| |- warning: static property 'open' is not concurrency-safe because non-'Sendable' type 'Token' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'open' 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
214 |
215 | static func open(_ breakStyle: GroupBreakStyle, _ offset: Int) -> Token {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/Token.swift:219:14: warning: static property 'space' is not concurrency-safe because non-'Sendable' type 'Token' may have shared mutable state; this is an error in the Swift 6 language mode
179 | }
180 |
181 | enum Token {
| `- note: consider making enum 'Token' conform to the 'Sendable' protocol
182 | case syntax(String)
183 | case open(GroupBreakStyle)
:
217 | }
218 |
219 | static let space = Token.space(size: 1, flexible: false)
| |- warning: static property 'space' is not concurrency-safe because non-'Sendable' type 'Token' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'space' 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
220 |
221 | static func space(size: Int) -> Token {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/Token.swift:225:14: warning: static property 'break' is not concurrency-safe because non-'Sendable' type 'Token' may have shared mutable state; this is an error in the Swift 6 language mode
179 | }
180 |
181 | enum Token {
| `- note: consider making enum 'Token' conform to the 'Sendable' protocol
182 | case syntax(String)
183 | case open(GroupBreakStyle)
:
223 | }
224 |
225 | static let `break` = Token.break(.continue, size: 1, newlines: .elective)
| |- warning: static property 'break' is not concurrency-safe because non-'Sendable' type 'Token' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'break' 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
226 |
227 | static func `break`(_ kind: BreakKind, size: Int = 1) -> Token {
[448/455] Compiling SwiftFormat Verbatim.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/PrettyPrint.swift:824:26: 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
822 |
823 | extension Finding.Message {
824 | fileprivate 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
825 | "move end-of-line comment that exceeds the line length"
826 |
/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:827:26: 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
825 | "move end-of-line comment that exceeds the line length"
826 |
827 | fileprivate 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
828 | "add trailing comma to the last element in multiline collection literal"
829 |
/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:830:26: 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
828 | "add trailing comma to the last element in multiline collection literal"
829 |
830 | fileprivate 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
831 | "remove trailing comma from the last element in single line collection literal"
832 | }
/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/Token.swift:213:14: warning: static property 'open' is not concurrency-safe because non-'Sendable' type 'Token' may have shared mutable state; this is an error in the Swift 6 language mode
179 | }
180 |
181 | enum Token {
| `- note: consider making enum 'Token' conform to the 'Sendable' protocol
182 | case syntax(String)
183 | case open(GroupBreakStyle)
:
211 |
212 | // Convenience overloads for the enum types
213 | static let open = Token.open(.inconsistent, 0)
| |- warning: static property 'open' is not concurrency-safe because non-'Sendable' type 'Token' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'open' 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
214 |
215 | static func open(_ breakStyle: GroupBreakStyle, _ offset: Int) -> Token {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/Token.swift:219:14: warning: static property 'space' is not concurrency-safe because non-'Sendable' type 'Token' may have shared mutable state; this is an error in the Swift 6 language mode
179 | }
180 |
181 | enum Token {
| `- note: consider making enum 'Token' conform to the 'Sendable' protocol
182 | case syntax(String)
183 | case open(GroupBreakStyle)
:
217 | }
218 |
219 | static let space = Token.space(size: 1, flexible: false)
| |- warning: static property 'space' is not concurrency-safe because non-'Sendable' type 'Token' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'space' 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
220 |
221 | static func space(size: Int) -> Token {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/Token.swift:225:14: warning: static property 'break' is not concurrency-safe because non-'Sendable' type 'Token' may have shared mutable state; this is an error in the Swift 6 language mode
179 | }
180 |
181 | enum Token {
| `- note: consider making enum 'Token' conform to the 'Sendable' protocol
182 | case syntax(String)
183 | case open(GroupBreakStyle)
:
223 | }
224 |
225 | static let `break` = Token.break(.continue, size: 1, newlines: .elective)
| |- warning: static property 'break' is not concurrency-safe because non-'Sendable' type 'Token' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'break' 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
226 |
227 | static func `break`(_ kind: BreakKind, size: Int = 1) -> Token {
[449/455] Compiling SwiftFormat WhitespaceFindingCategory.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/PrettyPrint.swift:824:26: 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
822 |
823 | extension Finding.Message {
824 | fileprivate 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
825 | "move end-of-line comment that exceeds the line length"
826 |
/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:827:26: 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
825 | "move end-of-line comment that exceeds the line length"
826 |
827 | fileprivate 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
828 | "add trailing comma to the last element in multiline collection literal"
829 |
/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:830:26: 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
828 | "add trailing comma to the last element in multiline collection literal"
829 |
830 | fileprivate 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
831 | "remove trailing comma from the last element in single line collection literal"
832 | }
/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/Token.swift:213:14: warning: static property 'open' is not concurrency-safe because non-'Sendable' type 'Token' may have shared mutable state; this is an error in the Swift 6 language mode
179 | }
180 |
181 | enum Token {
| `- note: consider making enum 'Token' conform to the 'Sendable' protocol
182 | case syntax(String)
183 | case open(GroupBreakStyle)
:
211 |
212 | // Convenience overloads for the enum types
213 | static let open = Token.open(.inconsistent, 0)
| |- warning: static property 'open' is not concurrency-safe because non-'Sendable' type 'Token' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'open' 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
214 |
215 | static func open(_ breakStyle: GroupBreakStyle, _ offset: Int) -> Token {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/Token.swift:219:14: warning: static property 'space' is not concurrency-safe because non-'Sendable' type 'Token' may have shared mutable state; this is an error in the Swift 6 language mode
179 | }
180 |
181 | enum Token {
| `- note: consider making enum 'Token' conform to the 'Sendable' protocol
182 | case syntax(String)
183 | case open(GroupBreakStyle)
:
217 | }
218 |
219 | static let space = Token.space(size: 1, flexible: false)
| |- warning: static property 'space' is not concurrency-safe because non-'Sendable' type 'Token' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'space' 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
220 |
221 | static func space(size: Int) -> Token {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormat/PrettyPrint/Token.swift:225:14: warning: static property 'break' is not concurrency-safe because non-'Sendable' type 'Token' may have shared mutable state; this is an error in the Swift 6 language mode
179 | }
180 |
181 | enum Token {
| `- note: consider making enum 'Token' conform to the 'Sendable' protocol
182 | case syntax(String)
183 | case open(GroupBreakStyle)
:
223 | }
224 |
225 | static let `break` = Token.break(.continue, size: 1, newlines: .elective)
| |- warning: static property 'break' is not concurrency-safe because non-'Sendable' type 'Token' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'break' 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
226 |
227 | static func `break`(_ kind: BreakKind, size: Int = 1) -> Token {
[450/487] Compiling generate_swift_format Syntax+Convenience.swift
[451/487] Compiling generate_swift_format main.swift
[452/487] Compiling generate_swift_format RuleNameCacheGenerator.swift
[453/487] Compiling generate_swift_format RuleRegistryGenerator.swift
[454/487] Compiling swift_format TTY.swift
[455/488] Compiling generate_swift_format RuleDocumentationGenerator.swift
[456/488] Compiling swift_format FormatError.swift
[457/488] Compiling swift_format StderrDiagnosticPrinter.swift
[458/488] Compiling swift_format SwiftFormatCommand.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-format/SwiftFormatCommand.swift:19:14: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | @main
18 | struct SwiftFormatCommand: ParsableCommand {
19 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: 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
20 | commandName: "swift-format",
21 | abstract: "Format or lint Swift source code",
[459/488] Compiling swift_format Diagnostic.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-format/SwiftFormatCommand.swift:19:14: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | @main
18 | struct SwiftFormatCommand: ParsableCommand {
19 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: 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
20 | commandName: "swift-format",
21 | abstract: "Format or lint Swift source code",
[460/488] Compiling swift_format DiagnosticsEngine.swift
[461/488] Compiling swift_format FileHandleTextOutputStream.swift
[462/488] Compiling generate_swift_format PipelineGenerator.swift
[463/488] Emitting module generate_swift_format
[464/488] Compiling generate_swift_format FileGenerator.swift
[465/488] Compiling generate_swift_format RuleCollector.swift
[465/488] Write Objects.LinkFileList
[467/488] Compiling swift_format VersionOptions.swift
[468/488] Compiling swift_format ConfigurationLoader.swift
[469/488] Compiling swift_format FormatFrontend.swift
[470/488] Emitting module swift_format
/Users/admin/builder/spi-builder-workspace/Sources/swift-format/Subcommands/DumpConfiguration.swift:20:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 | /// Dumps the tool's default configuration in JSON format to standard output.
19 | struct DumpConfiguration: ParsableCommand {
20 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | abstract: "Dump the default configuration in JSON format to standard output"
22 | )
/Users/admin/builder/spi-builder-workspace/Sources/swift-format/Subcommands/Format.swift:18:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | /// Formats one or more files containing Swift code.
17 | struct Format: ParsableCommand {
18 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: 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 nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | /// Emits style diagnostics for one or more files containing Swift code.
17 | struct Lint: ParsableCommand {
18 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | abstract: "Diagnose style issues in Swift source code",
20 | discussion: "When no files are specified, it expects the source from standard input."
/Users/admin/builder/spi-builder-workspace/Sources/swift-format/SwiftFormatCommand.swift:19:14: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | @main
18 | struct SwiftFormatCommand: ParsableCommand {
19 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: 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
20 | commandName: "swift-format",
21 | abstract: "Format or lint Swift source code",
[471/488] Compiling swift_format Frontend.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-format/Frontend/Frontend.swift:155: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 SwiftSyntax
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.
:
153 | .compactMap(openAndPrepareFile)
154 | DispatchQueue.concurrentPerform(iterations: filesToProcess.count) { index in
155 | 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
156 | }
157 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/swift-format/Frontend/Frontend.swift:155: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
:
153 | .compactMap(openAndPrepareFile)
154 | DispatchQueue.concurrentPerform(iterations: filesToProcess.count) { index in
155 | 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
156 | }
157 | } else {
[472/488] Compiling swift_format LintFrontend.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-format/Frontend/Frontend.swift:155: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 SwiftSyntax
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.
:
153 | .compactMap(openAndPrepareFile)
154 | DispatchQueue.concurrentPerform(iterations: filesToProcess.count) { index in
155 | 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
156 | }
157 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/swift-format/Frontend/Frontend.swift:155: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
:
153 | .compactMap(openAndPrepareFile)
154 | DispatchQueue.concurrentPerform(iterations: filesToProcess.count) { index in
155 | 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
156 | }
157 | } else {
[473/488] Compiling swift_format Format.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-format/Subcommands/Format.swift:18:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | /// Formats one or more files containing Swift code.
17 | struct Format: ParsableCommand {
18 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: 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 nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | /// Emits style diagnostics for one or more files containing Swift code.
17 | struct Lint: ParsableCommand {
18 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | abstract: "Diagnose style issues in Swift source code",
20 | discussion: "When no files are specified, it expects the source from standard input."
[474/488] Compiling swift_format Lint.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-format/Subcommands/Format.swift:18:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | /// Formats one or more files containing Swift code.
17 | struct Format: ParsableCommand {
18 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: 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 nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | /// Emits style diagnostics for one or more files containing Swift code.
17 | struct Lint: ParsableCommand {
18 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | abstract: "Diagnose style issues in Swift source code",
20 | discussion: "When no files are specified, it expects the source from standard input."
[475/488] Compiling swift_format PrintVersion.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-format/Subcommands/DumpConfiguration.swift:20:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 | /// Dumps the tool's default configuration in JSON format to standard output.
19 | struct DumpConfiguration: ParsableCommand {
20 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | abstract: "Dump the default configuration in JSON format to standard output"
22 | )
[476/488] Compiling swift_format DumpConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-format/Subcommands/DumpConfiguration.swift:20:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 | /// Dumps the tool's default configuration in JSON format to standard output.
19 | struct DumpConfiguration: ParsableCommand {
20 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | abstract: "Dump the default configuration in JSON format to standard output"
22 | )
[477/488] Compiling swift_format LintFormatOptions.swift
[478/488] Compiling swift_format PerformanceMeasurement.swift
[478/488] Write Objects.LinkFileList
[479/488] Linking generate-swift-format
[480/488] Applying generate-swift-format
[481/488] Linking swift-format
[482/488] Applying swift-format
[484/488] Compiling _SwiftFormatTestSupport MarkedText.swift
[485/488] Compiling _SwiftFormatTestSupport FindingSpec.swift
[486/488] Compiling _SwiftFormatTestSupport Configuration+Testing.swift
[487/488] Emitting module _SwiftFormatTestSupport
[488/488] Compiling _SwiftFormatTestSupport DiagnosingTestCase.swift
Build complete! (73.76s)
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" : "601.0.0-prerelease-2024-10-15",
"upper_bound" : "602.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-syntax.git"
}
],
"manifest_display_name" : "swift-format",
"name" : "swift-format",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "swift-format",
"targets" : [
"swift-format"
],
"type" : {
"executable" : null
}
},
{
"name" : "SwiftFormat",
"targets" : [
"SwiftFormat"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "FormatPlugin",
"targets" : [
"Format Source Code"
],
"type" : {
"plugin" : null
}
},
{
"name" : "LintPlugin",
"targets" : [
"Lint Source Code"
],
"type" : {
"plugin" : null
}
},
{
"name" : "generate-swift-format",
"targets" : [
"generate-swift-format"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "swift_format",
"module_type" : "SwiftTarget",
"name" : "swift-format",
"path" : "Sources/swift-format",
"product_dependencies" : [
"ArgumentParser",
"SwiftParser",
"SwiftSyntax"
],
"product_memberships" : [
"swift-format",
"FormatPlugin",
"LintPlugin"
],
"sources" : [
"Frontend/ConfigurationLoader.swift",
"Frontend/FormatFrontend.swift",
"Frontend/Frontend.swift",
"Frontend/LintFrontend.swift",
"PrintVersion.swift",
"Subcommands/DumpConfiguration.swift",
"Subcommands/Format.swift",
"Subcommands/Lint.swift",
"Subcommands/LintFormatOptions.swift",
"Subcommands/PerformanceMeasurement.swift",
"SwiftFormatCommand.swift",
"Utilities/Diagnostic.swift",
"Utilities/DiagnosticsEngine.swift",
"Utilities/FileHandleTextOutputStream.swift",
"Utilities/FormatError.swift",
"Utilities/StderrDiagnosticPrinter.swift",
"Utilities/TTY.swift",
"VersionOptions.swift"
],
"target_dependencies" : [
"_SwiftFormatInstructionCounter",
"SwiftFormat"
],
"type" : "executable"
},
{
"c99name" : "generate_swift_format",
"module_type" : "SwiftTarget",
"name" : "generate-swift-format",
"path" : "Sources/generate-swift-format",
"product_memberships" : [
"generate-swift-format"
],
"sources" : [
"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",
"SwiftParser",
"SwiftParserDiagnostics",
"SwiftSyntax",
"SwiftSyntaxBuilder"
],
"sources" : [
"Configuration+Testing.swift",
"DiagnosingTestCase.swift",
"FindingSpec.swift",
"MarkedText.swift"
],
"target_dependencies" : [
"SwiftFormat"
],
"type" : "library"
},
{
"c99name" : "_SwiftFormatInstructionCounter",
"module_type" : "ClangTarget",
"name" : "_SwiftFormatInstructionCounter",
"path" : "Sources/_SwiftFormatInstructionCounter",
"product_memberships" : [
"swift-format",
"FormatPlugin",
"LintPlugin"
],
"sources" : [
"src/InstructionsExecuted.c"
],
"type" : "library"
},
{
"c99name" : "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/SelectionTests.swift",
"PrettyPrint/SemicolonTests.swift",
"PrettyPrint/StringTests.swift",
"PrettyPrint/StructDeclTests.swift",
"PrettyPrint/SubscriptDeclTests.swift",
"PrettyPrint/SubscriptExprTests.swift",
"PrettyPrint/SwitchCaseIndentConfigTests.swift",
"PrettyPrint/SwitchStmtTests.swift",
"PrettyPrint/TernaryExprTests.swift",
"PrettyPrint/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/AvoidRetroactiveConformancesTests.swift",
"Rules/BeginDocumentationCommentWithOneLineSummaryTests.swift",
"Rules/DoNotUseSemicolonsTests.swift",
"Rules/DontRepeatTypeInStaticPropertiesTests.swift",
"Rules/FileScopedDeclarationPrivacyTests.swift",
"Rules/FullyIndirectEnumTests.swift",
"Rules/GroupNumericLiteralsTests.swift",
"Rules/IdentifiersMustBeASCIITests.swift",
"Rules/ImportsXCTestVisitorTests.swift",
"Rules/LintOrFormatRuleTestCase.swift",
"Rules/NeverForceUnwrapTests.swift",
"Rules/NeverUseForceTryTests.swift",
"Rules/NeverUseImplicitlyUnwrappedOptionalsTests.swift",
"Rules/NoAccessLevelOnExtensionDeclarationTests.swift",
"Rules/NoAssignmentInExpressionsTests.swift",
"Rules/NoBlockCommentsTests.swift",
"Rules/NoCasesWithOnlyFallthroughTests.swift",
"Rules/NoEmptyLinesOpeningClosingBracesTests.swift",
"Rules/NoEmptyTrailingClosureParenthesesTests.swift",
"Rules/NoLabelsInCasePatternsTests.swift",
"Rules/NoLeadingUnderscoresTests.swift",
"Rules/NoParensAroundConditionsTests.swift",
"Rules/NoPlaygroundLiteralsTests.swift",
"Rules/NoVoidReturnOnFunctionSignatureTests.swift",
"Rules/OmitReturnsTests.swift",
"Rules/OneCasePerLineTests.swift",
"Rules/OneVariableDeclarationPerLineTests.swift",
"Rules/OnlyOneTrailingClosureArgumentTests.swift",
"Rules/OrderedImportsTests.swift",
"Rules/ReplaceForEachWithForLoopTests.swift",
"Rules/ReturnVoidInsteadOfEmptyTupleTests.swift",
"Rules/TypeNamesShouldBeCapitalizedTests.swift",
"Rules/UseEarlyExitsTests.swift",
"Rules/UseExplicitNilCheckInConditionsTests.swift",
"Rules/UseLetInEveryBoundCaseVariableTests.swift",
"Rules/UseShorthandTypeNamesTests.swift",
"Rules/UseSingleLinePropertyGetterTests.swift",
"Rules/UseSynthesizedInitializerTests.swift",
"Rules/UseTripleSlashForDocumentationCommentsTests.swift",
"Rules/UseWhereClausesInForLoopsTests.swift",
"Rules/ValidateDocumentationCommentsTests.swift",
"Utilities/FileIteratorTests.swift"
],
"target_dependencies" : [
"SwiftFormat",
"_SwiftFormatTestSupport"
],
"type" : "test"
},
{
"c99name" : "SwiftFormatPerformanceTests",
"module_type" : "SwiftTarget",
"name" : "SwiftFormatPerformanceTests",
"path" : "Tests/SwiftFormatPerformanceTests",
"product_dependencies" : [
"SwiftParser",
"SwiftSyntax"
],
"sources" : [
"WhitespaceLinterPerformanceTests.swift"
],
"target_dependencies" : [
"SwiftFormat",
"_SwiftFormatTestSupport"
],
"type" : "test"
},
{
"c99name" : "SwiftFormat",
"module_type" : "SwiftTarget",
"name" : "SwiftFormat",
"path" : "Sources/SwiftFormat",
"product_dependencies" : [
"Markdown",
"SwiftOperators",
"SwiftParser",
"SwiftParserDiagnostics",
"SwiftSyntax",
"SwiftSyntaxBuilder"
],
"product_memberships" : [
"swift-format",
"SwiftFormat",
"FormatPlugin",
"LintPlugin",
"generate-swift-format"
],
"sources" : [
"API/Configuration+Default.swift",
"API/Configuration.swift",
"API/DebugOptions.swift",
"API/Finding.swift",
"API/FindingCategorizing.swift",
"API/Indent.swift",
"API/Selection.swift",
"API/SwiftFormatError.swift",
"API/SwiftFormatter.swift",
"API/SwiftLinter.swift",
"Core/Context.swift",
"Core/DocumentationComment.swift",
"Core/DocumentationCommentText.swift",
"Core/Finding+Convenience.swift",
"Core/FindingEmitter.swift",
"Core/FormatPipeline.swift",
"Core/FunctionDeclSyntax+Convenience.swift",
"Core/ImportsXCTestVisitor.swift",
"Core/LazySplitSequence.swift",
"Core/LintPipeline.swift",
"Core/ModifierListSyntax+Convenience.swift",
"Core/Parsing.swift",
"Core/Pipelines+Generated.swift",
"Core/RememberingIterator.swift",
"Core/Rule.swift",
"Core/RuleBasedFindingCategory.swift",
"Core/RuleMask.swift",
"Core/RuleNameCache+Generated.swift",
"Core/RuleRegistry+Generated.swift",
"Core/RuleState.swift",
"Core/SyntaxFormatRule.swift",
"Core/SyntaxLintRule.swift",
"Core/SyntaxProtocol+Convenience.swift",
"Core/Trivia+Convenience.swift",
"Core/WithAttributesSyntax+Convenience.swift",
"Core/WithSemicolonSyntax.swift",
"PrettyPrint/Comment.swift",
"PrettyPrint/Indent+Length.swift",
"PrettyPrint/PrettyPrint.swift",
"PrettyPrint/PrettyPrintBuffer.swift",
"PrettyPrint/PrettyPrintFindingCategory.swift",
"PrettyPrint/Token.swift",
"PrettyPrint/TokenStreamCreator.swift",
"PrettyPrint/Verbatim.swift",
"PrettyPrint/WhitespaceFindingCategory.swift",
"PrettyPrint/WhitespaceLinter.swift",
"Rules/AllPublicDeclarationsHaveDocumentation.swift",
"Rules/AlwaysUseLiteralForEmptyCollectionInit.swift",
"Rules/AlwaysUseLowerCamelCase.swift",
"Rules/AmbiguousTrailingClosureOverload.swift",
"Rules/AvoidRetroactiveConformances.swift",
"Rules/BeginDocumentationCommentWithOneLineSummary.swift",
"Rules/DoNotUseSemicolons.swift",
"Rules/DontRepeatTypeInStaticProperties.swift",
"Rules/FileScopedDeclarationPrivacy.swift",
"Rules/FullyIndirectEnum.swift",
"Rules/GroupNumericLiterals.swift",
"Rules/IdentifiersMustBeASCII.swift",
"Rules/NeverForceUnwrap.swift",
"Rules/NeverUseForceTry.swift",
"Rules/NeverUseImplicitlyUnwrappedOptionals.swift",
"Rules/NoAccessLevelOnExtensionDeclaration.swift",
"Rules/NoAssignmentInExpressions.swift",
"Rules/NoBlockComments.swift",
"Rules/NoCasesWithOnlyFallthrough.swift",
"Rules/NoEmptyLineOpeningClosingBraces.swift",
"Rules/NoEmptyTrailingClosureParentheses.swift",
"Rules/NoLabelsInCasePatterns.swift",
"Rules/NoLeadingUnderscores.swift",
"Rules/NoParensAroundConditions.swift",
"Rules/NoPlaygroundLiterals.swift",
"Rules/NoVoidReturnOnFunctionSignature.swift",
"Rules/OmitExplicitReturns.swift",
"Rules/OneCasePerLine.swift",
"Rules/OneVariableDeclarationPerLine.swift",
"Rules/OnlyOneTrailingClosureArgument.swift",
"Rules/OrderedImports.swift",
"Rules/ReplaceForEachWithForLoop.swift",
"Rules/ReturnVoidInsteadOfEmptyTuple.swift",
"Rules/TypeNamesShouldBeCapitalized.swift",
"Rules/UseEarlyExits.swift",
"Rules/UseExplicitNilCheckInConditions.swift",
"Rules/UseLetInEveryBoundCaseVariable.swift",
"Rules/UseShorthandTypeNames.swift",
"Rules/UseSingleLinePropertyGetter.swift",
"Rules/UseSynthesizedInitializer.swift",
"Rules/UseTripleSlashForDocumentationComments.swift",
"Rules/UseWhereClausesInForLoops.swift",
"Rules/ValidateDocumentationComments.swift",
"Utilities/FileIterator.swift"
],
"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.