Build Information
Successful build of SwiftAST, reference main (75eb69
), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 07:16:35 UTC.
Swift 6 data race errors: 82
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
| |- note: add '@MainActor' to make static property 'castingPrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
235 |
236 | /// Precedence for default range-formation operators `.openRange` (`..<`),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:238:16: warning: static property 'rangePrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
236 | /// Precedence for default range-formation operators `.openRange` (`..<`),
237 | /// and `.closedRange` (`...`).
238 | static let rangePrecedence: Self = .init(value: 600)
| |- warning: static property 'rangePrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rangePrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
239 |
240 | /// Precedence for `.nullCoalesce` (`??`) operator.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:241:16: warning: static property 'nullCoalescePrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
239 |
240 | /// Precedence for `.nullCoalesce` (`??`) operator.
241 | static let nullCoalescePrecedence: Self = .init(value: 500)
| |- warning: static property 'nullCoalescePrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'nullCoalescePrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
242 |
243 | /// Precedence for default comparison operators `.equals` (`==`), `.unequals`
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:247:16: warning: static property 'comparisonPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
245 | /// `.greaterThanOrEqual` (`>=`), `.identityEquals` (`===`), and
246 | /// `.identityUnequals` (`!==`).
247 | static let comparisonPrecedence: Self = .init(value: 400)
| |- warning: static property 'comparisonPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'comparisonPrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
248 |
249 | /// Precedence for `.and` (`&&`).
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:250:16: warning: static property 'logicalConjunctionPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
248 |
249 | /// Precedence for `.and` (`&&`).
250 | static let logicalConjunctionPrecedence: Self = .init(value: 300)
| |- warning: static property 'logicalConjunctionPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'logicalConjunctionPrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
251 |
252 | /// Precedence for `.or` (`||`).
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:253:16: warning: static property 'logicalDisjunctionPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
251 |
252 | /// Precedence for `.or` (`||`).
253 | static let logicalDisjunctionPrecedence: Self = .init(value: 200)
| |- warning: static property 'logicalDisjunctionPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'logicalDisjunctionPrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
254 |
255 | /// Precedence for a ternary expression.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:258:16: warning: static property 'ternaryPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
256 | /// No `SwiftOperator` produces this precedence, but it is left here as a
257 | /// reference.
258 | static let ternaryPrecedence: Self = .init(value: 100)
| |- warning: static property 'ternaryPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ternaryPrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
259 |
260 | /// Precedence for any assignment operator (suffixed with `-assign`).
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:261:16: warning: static property 'assignmentPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
259 |
260 | /// Precedence for any assignment operator (suffixed with `-assign`).
261 | static let assignmentPrecedence: Self = .init(value: 50)
| |- warning: static property 'assignmentPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'assignmentPrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
262 | }
263 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/Structures/FunctionSignature.swift:387:27: warning: static property 'mutating' is not concurrency-safe because non-'Sendable' type 'FunctionSignature.Traits' may have shared mutable state; this is an error in the Swift 6 language mode
377 |
378 | /// Defines traits for a function signature.
379 | public struct Traits: Codable, OptionSet, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Traits' conform to the 'Sendable' protocol
380 | public var rawValue: Int
381 |
:
385 |
386 | /// Function mutates its reference.
387 | public static let `mutating`: Self = Self(rawValue: 0b0000_0001)
| |- warning: static property 'mutating' is not concurrency-safe because non-'Sendable' type 'FunctionSignature.Traits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mutating' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
388 |
389 | /// Function can throw error
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/Structures/FunctionSignature.swift:390:27: warning: static property 'throwing' is not concurrency-safe because non-'Sendable' type 'FunctionSignature.Traits' may have shared mutable state; this is an error in the Swift 6 language mode
377 |
378 | /// Defines traits for a function signature.
379 | public struct Traits: Codable, OptionSet, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Traits' conform to the 'Sendable' protocol
380 | public var rawValue: Int
381 |
:
388 |
389 | /// Function can throw error
390 | public static let throwing: Self = Self(rawValue: 0b0000_0010)
| |- warning: static property 'throwing' is not concurrency-safe because non-'Sendable' type 'FunctionSignature.Traits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'throwing' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
391 |
392 | /// Function is static
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/Structures/FunctionSignature.swift:393:27: warning: static property 'static' is not concurrency-safe because non-'Sendable' type 'FunctionSignature.Traits' may have shared mutable state; this is an error in the Swift 6 language mode
377 |
378 | /// Defines traits for a function signature.
379 | public struct Traits: Codable, OptionSet, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Traits' conform to the 'Sendable' protocol
380 | public var rawValue: Int
381 |
:
391 |
392 | /// Function is static
393 | public static let `static`: Self = Self(rawValue: 0b0000_0100)
| |- warning: static property 'static' is not concurrency-safe because non-'Sendable' type 'FunctionSignature.Traits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'static' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
394 |
395 | /// Function is async
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/Structures/FunctionSignature.swift:396:27: warning: static property 'async' is not concurrency-safe because non-'Sendable' type 'FunctionSignature.Traits' may have shared mutable state; this is an error in the Swift 6 language mode
377 |
378 | /// Defines traits for a function signature.
379 | public struct Traits: Codable, OptionSet, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Traits' conform to the 'Sendable' protocol
380 | public var rawValue: Int
381 |
:
394 |
395 | /// Function is async
396 | public static let `async`: Self = Self(rawValue: 0b0000_1000)
| |- warning: static property 'async' is not concurrency-safe because non-'Sendable' type 'FunctionSignature.Traits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'async' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
397 |
398 | public var description: String {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/Structures/ObjcPropertyAttribute.swift:4:23: warning: static property 'readonly' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 | public enum ObjcPropertyAttribute: Hashable, Codable {
3 | /// Standard `readonly` property attribute
4 | public static var readonly: ObjcPropertyAttribute = .attribute("readonly")
| |- warning: static property 'readonly' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'readonly' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'readonly' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | /// Standard `class` property attribute
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/Structures/ObjcPropertyAttribute.swift:7:23: warning: static property 'class' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | /// Standard `class` property attribute
7 | public static var `class`: ObjcPropertyAttribute = .attribute("class")
| |- warning: static property 'class' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'class' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'class' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | case attribute(String)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:216:16: warning: static property 'prefixPostfixPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
214 | /// Precedence for operators that are used in a unary prefix or postfix
215 | /// context.
216 | static let prefixPostfixPrecedence: Self = .init(value: 2_000)
| |- warning: static property 'prefixPostfixPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prefixPostfixPrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
217 |
218 | /// Precedence for default bitwise shift operators `.bitwiseShiftLeft` (`<<`),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:220:16: warning: static property 'bitwiseShiftPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
218 | /// Precedence for default bitwise shift operators `.bitwiseShiftLeft` (`<<`),
219 | /// and `.bitwiseShiftRight` (`>>`).
220 | static let bitwiseShiftPrecedence: Self = .init(value: 1_000)
| |- warning: static property 'bitwiseShiftPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bitwiseShiftPrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
221 |
222 | /// Precedence for default multiplicative operators `.multiply` (`*`), `.divide`
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:224:16: warning: static property 'multiplicationPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
222 | /// Precedence for default multiplicative operators `.multiply` (`*`), `.divide`
223 | /// (`/`), `.mod` (`%`), and `.bitwiseAnd` (`&`).
224 | static let multiplicationPrecedence: Self = .init(value: 900)
| |- warning: static property 'multiplicationPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'multiplicationPrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
225 |
226 | /// Precedence for default additive operators `.add` (`+`), `.subtract`
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:228:16: warning: static property 'additionPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
226 | /// Precedence for default additive operators `.add` (`+`), `.subtract`
227 | /// (`-`), `.bitwiseXor` (`^`), and `.bitwiseOr` (`|`).
228 | static let additionPrecedence: Self = .init(value: 800)
| |- warning: static property 'additionPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'additionPrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
229 |
230 | /// Precedence for casting and type checking operators (`is`, `as`, `as?`,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:234:16: warning: static property 'castingPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
232 | /// No `SwiftOperator` produces this precedence, but it is left here as a
233 | /// reference.
234 | static let castingPrecedence: Self = .init(value: 700)
| |- warning: static property 'castingPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'castingPrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
235 |
236 | /// Precedence for default range-formation operators `.openRange` (`..<`),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:238:16: warning: static property 'rangePrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
236 | /// Precedence for default range-formation operators `.openRange` (`..<`),
237 | /// and `.closedRange` (`...`).
238 | static let rangePrecedence: Self = .init(value: 600)
| |- warning: static property 'rangePrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rangePrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
239 |
240 | /// Precedence for `.nullCoalesce` (`??`) operator.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:241:16: warning: static property 'nullCoalescePrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
239 |
240 | /// Precedence for `.nullCoalesce` (`??`) operator.
241 | static let nullCoalescePrecedence: Self = .init(value: 500)
| |- warning: static property 'nullCoalescePrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'nullCoalescePrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
242 |
243 | /// Precedence for default comparison operators `.equals` (`==`), `.unequals`
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:247:16: warning: static property 'comparisonPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
245 | /// `.greaterThanOrEqual` (`>=`), `.identityEquals` (`===`), and
246 | /// `.identityUnequals` (`!==`).
247 | static let comparisonPrecedence: Self = .init(value: 400)
| |- warning: static property 'comparisonPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'comparisonPrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
248 |
249 | /// Precedence for `.and` (`&&`).
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:250:16: warning: static property 'logicalConjunctionPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
248 |
249 | /// Precedence for `.and` (`&&`).
250 | static let logicalConjunctionPrecedence: Self = .init(value: 300)
| |- warning: static property 'logicalConjunctionPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'logicalConjunctionPrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
251 |
252 | /// Precedence for `.or` (`||`).
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:253:16: warning: static property 'logicalDisjunctionPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
251 |
252 | /// Precedence for `.or` (`||`).
253 | static let logicalDisjunctionPrecedence: Self = .init(value: 200)
| |- warning: static property 'logicalDisjunctionPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'logicalDisjunctionPrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
254 |
255 | /// Precedence for a ternary expression.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:258:16: warning: static property 'ternaryPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
256 | /// No `SwiftOperator` produces this precedence, but it is left here as a
257 | /// reference.
258 | static let ternaryPrecedence: Self = .init(value: 100)
| |- warning: static property 'ternaryPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ternaryPrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
259 |
260 | /// Precedence for any assignment operator (suffixed with `-assign`).
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:261:16: warning: static property 'assignmentPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
259 |
260 | /// Precedence for any assignment operator (suffixed with `-assign`).
261 | static let assignmentPrecedence: Self = .init(value: 50)
| |- warning: static property 'assignmentPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'assignmentPrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
262 | }
263 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/Structures/FunctionSignature.swift:387:27: warning: static property 'mutating' is not concurrency-safe because non-'Sendable' type 'FunctionSignature.Traits' may have shared mutable state; this is an error in the Swift 6 language mode
377 |
378 | /// Defines traits for a function signature.
379 | public struct Traits: Codable, OptionSet, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Traits' conform to the 'Sendable' protocol
380 | public var rawValue: Int
381 |
:
385 |
386 | /// Function mutates its reference.
387 | public static let `mutating`: Self = Self(rawValue: 0b0000_0001)
| |- warning: static property 'mutating' is not concurrency-safe because non-'Sendable' type 'FunctionSignature.Traits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mutating' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
388 |
389 | /// Function can throw error
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/Structures/FunctionSignature.swift:390:27: warning: static property 'throwing' is not concurrency-safe because non-'Sendable' type 'FunctionSignature.Traits' may have shared mutable state; this is an error in the Swift 6 language mode
377 |
378 | /// Defines traits for a function signature.
379 | public struct Traits: Codable, OptionSet, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Traits' conform to the 'Sendable' protocol
380 | public var rawValue: Int
381 |
:
388 |
389 | /// Function can throw error
390 | public static let throwing: Self = Self(rawValue: 0b0000_0010)
| |- warning: static property 'throwing' is not concurrency-safe because non-'Sendable' type 'FunctionSignature.Traits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'throwing' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
391 |
392 | /// Function is static
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/Structures/FunctionSignature.swift:393:27: warning: static property 'static' is not concurrency-safe because non-'Sendable' type 'FunctionSignature.Traits' may have shared mutable state; this is an error in the Swift 6 language mode
377 |
378 | /// Defines traits for a function signature.
379 | public struct Traits: Codable, OptionSet, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Traits' conform to the 'Sendable' protocol
380 | public var rawValue: Int
381 |
:
391 |
392 | /// Function is static
393 | public static let `static`: Self = Self(rawValue: 0b0000_0100)
| |- warning: static property 'static' is not concurrency-safe because non-'Sendable' type 'FunctionSignature.Traits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'static' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
394 |
395 | /// Function is async
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/Structures/FunctionSignature.swift:396:27: warning: static property 'async' is not concurrency-safe because non-'Sendable' type 'FunctionSignature.Traits' may have shared mutable state; this is an error in the Swift 6 language mode
377 |
378 | /// Defines traits for a function signature.
379 | public struct Traits: Codable, OptionSet, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Traits' conform to the 'Sendable' protocol
380 | public var rawValue: Int
381 |
:
394 |
395 | /// Function is async
396 | public static let `async`: Self = Self(rawValue: 0b0000_1000)
| |- warning: static property 'async' is not concurrency-safe because non-'Sendable' type 'FunctionSignature.Traits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'async' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
397 |
398 | public var description: String {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/Structures/ObjcPropertyAttribute.swift:4:23: warning: static property 'readonly' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 | public enum ObjcPropertyAttribute: Hashable, Codable {
3 | /// Standard `readonly` property attribute
4 | public static var readonly: ObjcPropertyAttribute = .attribute("readonly")
| |- warning: static property 'readonly' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'readonly' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'readonly' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | /// Standard `class` property attribute
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/Structures/ObjcPropertyAttribute.swift:7:23: warning: static property 'class' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | /// Standard `class` property attribute
7 | public static var `class`: ObjcPropertyAttribute = .attribute("class")
| |- warning: static property 'class' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'class' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'class' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | case attribute(String)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:216:16: warning: static property 'prefixPostfixPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
214 | /// Precedence for operators that are used in a unary prefix or postfix
215 | /// context.
216 | static let prefixPostfixPrecedence: Self = .init(value: 2_000)
| |- warning: static property 'prefixPostfixPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prefixPostfixPrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
217 |
218 | /// Precedence for default bitwise shift operators `.bitwiseShiftLeft` (`<<`),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:220:16: warning: static property 'bitwiseShiftPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
218 | /// Precedence for default bitwise shift operators `.bitwiseShiftLeft` (`<<`),
219 | /// and `.bitwiseShiftRight` (`>>`).
220 | static let bitwiseShiftPrecedence: Self = .init(value: 1_000)
| |- warning: static property 'bitwiseShiftPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bitwiseShiftPrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
221 |
222 | /// Precedence for default multiplicative operators `.multiply` (`*`), `.divide`
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:224:16: warning: static property 'multiplicationPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
222 | /// Precedence for default multiplicative operators `.multiply` (`*`), `.divide`
223 | /// (`/`), `.mod` (`%`), and `.bitwiseAnd` (`&`).
224 | static let multiplicationPrecedence: Self = .init(value: 900)
| |- warning: static property 'multiplicationPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'multiplicationPrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
225 |
226 | /// Precedence for default additive operators `.add` (`+`), `.subtract`
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:228:16: warning: static property 'additionPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
226 | /// Precedence for default additive operators `.add` (`+`), `.subtract`
227 | /// (`-`), `.bitwiseXor` (`^`), and `.bitwiseOr` (`|`).
228 | static let additionPrecedence: Self = .init(value: 800)
| |- warning: static property 'additionPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'additionPrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
229 |
230 | /// Precedence for casting and type checking operators (`is`, `as`, `as?`,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:234:16: warning: static property 'castingPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
232 | /// No `SwiftOperator` produces this precedence, but it is left here as a
233 | /// reference.
234 | static let castingPrecedence: Self = .init(value: 700)
| |- warning: static property 'castingPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'castingPrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
235 |
236 | /// Precedence for default range-formation operators `.openRange` (`..<`),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:238:16: warning: static property 'rangePrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
236 | /// Precedence for default range-formation operators `.openRange` (`..<`),
237 | /// and `.closedRange` (`...`).
238 | static let rangePrecedence: Self = .init(value: 600)
| |- warning: static property 'rangePrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rangePrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
239 |
240 | /// Precedence for `.nullCoalesce` (`??`) operator.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:241:16: warning: static property 'nullCoalescePrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
239 |
240 | /// Precedence for `.nullCoalesce` (`??`) operator.
241 | static let nullCoalescePrecedence: Self = .init(value: 500)
| |- warning: static property 'nullCoalescePrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'nullCoalescePrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
242 |
243 | /// Precedence for default comparison operators `.equals` (`==`), `.unequals`
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:247:16: warning: static property 'comparisonPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
245 | /// `.greaterThanOrEqual` (`>=`), `.identityEquals` (`===`), and
246 | /// `.identityUnequals` (`!==`).
247 | static let comparisonPrecedence: Self = .init(value: 400)
| |- warning: static property 'comparisonPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'comparisonPrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
248 |
249 | /// Precedence for `.and` (`&&`).
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:250:16: warning: static property 'logicalConjunctionPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
248 |
249 | /// Precedence for `.and` (`&&`).
250 | static let logicalConjunctionPrecedence: Self = .init(value: 300)
| |- warning: static property 'logicalConjunctionPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'logicalConjunctionPrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
251 |
252 | /// Precedence for `.or` (`||`).
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:253:16: warning: static property 'logicalDisjunctionPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
251 |
252 | /// Precedence for `.or` (`||`).
253 | static let logicalDisjunctionPrecedence: Self = .init(value: 200)
| |- warning: static property 'logicalDisjunctionPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'logicalDisjunctionPrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
254 |
255 | /// Precedence for a ternary expression.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:258:16: warning: static property 'ternaryPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
256 | /// No `SwiftOperator` produces this precedence, but it is left here as a
257 | /// reference.
258 | static let ternaryPrecedence: Self = .init(value: 100)
| |- warning: static property 'ternaryPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ternaryPrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
259 |
260 | /// Precedence for any assignment operator (suffixed with `-assign`).
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:261:16: warning: static property 'assignmentPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
259 |
260 | /// Precedence for any assignment operator (suffixed with `-assign`).
261 | static let assignmentPrecedence: Self = .init(value: 50)
| |- warning: static property 'assignmentPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'assignmentPrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
262 | }
263 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/Structures/FunctionSignature.swift:387:27: warning: static property 'mutating' is not concurrency-safe because non-'Sendable' type 'FunctionSignature.Traits' may have shared mutable state; this is an error in the Swift 6 language mode
377 |
378 | /// Defines traits for a function signature.
379 | public struct Traits: Codable, OptionSet, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Traits' conform to the 'Sendable' protocol
380 | public var rawValue: Int
381 |
:
385 |
386 | /// Function mutates its reference.
387 | public static let `mutating`: Self = Self(rawValue: 0b0000_0001)
| |- warning: static property 'mutating' is not concurrency-safe because non-'Sendable' type 'FunctionSignature.Traits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mutating' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
388 |
389 | /// Function can throw error
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/Structures/FunctionSignature.swift:390:27: warning: static property 'throwing' is not concurrency-safe because non-'Sendable' type 'FunctionSignature.Traits' may have shared mutable state; this is an error in the Swift 6 language mode
377 |
378 | /// Defines traits for a function signature.
379 | public struct Traits: Codable, OptionSet, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Traits' conform to the 'Sendable' protocol
380 | public var rawValue: Int
381 |
:
388 |
389 | /// Function can throw error
390 | public static let throwing: Self = Self(rawValue: 0b0000_0010)
| |- warning: static property 'throwing' is not concurrency-safe because non-'Sendable' type 'FunctionSignature.Traits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'throwing' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
391 |
392 | /// Function is static
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/Structures/FunctionSignature.swift:393:27: warning: static property 'static' is not concurrency-safe because non-'Sendable' type 'FunctionSignature.Traits' may have shared mutable state; this is an error in the Swift 6 language mode
377 |
378 | /// Defines traits for a function signature.
379 | public struct Traits: Codable, OptionSet, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Traits' conform to the 'Sendable' protocol
380 | public var rawValue: Int
381 |
:
391 |
392 | /// Function is static
393 | public static let `static`: Self = Self(rawValue: 0b0000_0100)
| |- warning: static property 'static' is not concurrency-safe because non-'Sendable' type 'FunctionSignature.Traits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'static' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
394 |
395 | /// Function is async
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/Structures/FunctionSignature.swift:396:27: warning: static property 'async' is not concurrency-safe because non-'Sendable' type 'FunctionSignature.Traits' may have shared mutable state; this is an error in the Swift 6 language mode
377 |
378 | /// Defines traits for a function signature.
379 | public struct Traits: Codable, OptionSet, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Traits' conform to the 'Sendable' protocol
380 | public var rawValue: Int
381 |
:
394 |
395 | /// Function is async
396 | public static let `async`: Self = Self(rawValue: 0b0000_1000)
| |- warning: static property 'async' is not concurrency-safe because non-'Sendable' type 'FunctionSignature.Traits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'async' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
397 |
398 | public var description: String {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/Structures/ObjcPropertyAttribute.swift:4:23: warning: static property 'readonly' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 | public enum ObjcPropertyAttribute: Hashable, Codable {
3 | /// Standard `readonly` property attribute
4 | public static var readonly: ObjcPropertyAttribute = .attribute("readonly")
| |- warning: static property 'readonly' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'readonly' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'readonly' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | /// Standard `class` property attribute
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/Structures/ObjcPropertyAttribute.swift:7:23: warning: static property 'class' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | /// Standard `class` property attribute
7 | public static var `class`: ObjcPropertyAttribute = .attribute("class")
| |- warning: static property 'class' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'class' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'class' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | case attribute(String)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:216:16: warning: static property 'prefixPostfixPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
214 | /// Precedence for operators that are used in a unary prefix or postfix
215 | /// context.
216 | static let prefixPostfixPrecedence: Self = .init(value: 2_000)
| |- warning: static property 'prefixPostfixPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prefixPostfixPrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
217 |
218 | /// Precedence for default bitwise shift operators `.bitwiseShiftLeft` (`<<`),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:220:16: warning: static property 'bitwiseShiftPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
218 | /// Precedence for default bitwise shift operators `.bitwiseShiftLeft` (`<<`),
219 | /// and `.bitwiseShiftRight` (`>>`).
220 | static let bitwiseShiftPrecedence: Self = .init(value: 1_000)
| |- warning: static property 'bitwiseShiftPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bitwiseShiftPrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
221 |
222 | /// Precedence for default multiplicative operators `.multiply` (`*`), `.divide`
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:224:16: warning: static property 'multiplicationPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
222 | /// Precedence for default multiplicative operators `.multiply` (`*`), `.divide`
223 | /// (`/`), `.mod` (`%`), and `.bitwiseAnd` (`&`).
224 | static let multiplicationPrecedence: Self = .init(value: 900)
| |- warning: static property 'multiplicationPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'multiplicationPrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
225 |
226 | /// Precedence for default additive operators `.add` (`+`), `.subtract`
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:228:16: warning: static property 'additionPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
226 | /// Precedence for default additive operators `.add` (`+`), `.subtract`
227 | /// (`-`), `.bitwiseXor` (`^`), and `.bitwiseOr` (`|`).
228 | static let additionPrecedence: Self = .init(value: 800)
| |- warning: static property 'additionPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'additionPrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
229 |
230 | /// Precedence for casting and type checking operators (`is`, `as`, `as?`,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:234:16: warning: static property 'castingPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
232 | /// No `SwiftOperator` produces this precedence, but it is left here as a
233 | /// reference.
234 | static let castingPrecedence: Self = .init(value: 700)
| |- warning: static property 'castingPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'castingPrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
235 |
236 | /// Precedence for default range-formation operators `.openRange` (`..<`),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:238:16: warning: static property 'rangePrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
236 | /// Precedence for default range-formation operators `.openRange` (`..<`),
237 | /// and `.closedRange` (`...`).
238 | static let rangePrecedence: Self = .init(value: 600)
| |- warning: static property 'rangePrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rangePrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
239 |
240 | /// Precedence for `.nullCoalesce` (`??`) operator.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:241:16: warning: static property 'nullCoalescePrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
239 |
240 | /// Precedence for `.nullCoalesce` (`??`) operator.
241 | static let nullCoalescePrecedence: Self = .init(value: 500)
| |- warning: static property 'nullCoalescePrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'nullCoalescePrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
242 |
243 | /// Precedence for default comparison operators `.equals` (`==`), `.unequals`
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:247:16: warning: static property 'comparisonPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
245 | /// `.greaterThanOrEqual` (`>=`), `.identityEquals` (`===`), and
246 | /// `.identityUnequals` (`!==`).
247 | static let comparisonPrecedence: Self = .init(value: 400)
| |- warning: static property 'comparisonPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'comparisonPrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
248 |
249 | /// Precedence for `.and` (`&&`).
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:250:16: warning: static property 'logicalConjunctionPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
248 |
249 | /// Precedence for `.and` (`&&`).
250 | static let logicalConjunctionPrecedence: Self = .init(value: 300)
| |- warning: static property 'logicalConjunctionPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'logicalConjunctionPrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
251 |
252 | /// Precedence for `.or` (`||`).
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:253:16: warning: static property 'logicalDisjunctionPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
251 |
252 | /// Precedence for `.or` (`||`).
253 | static let logicalDisjunctionPrecedence: Self = .init(value: 200)
| |- warning: static property 'logicalDisjunctionPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'logicalDisjunctionPrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
254 |
255 | /// Precedence for a ternary expression.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:258:16: warning: static property 'ternaryPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
256 | /// No `SwiftOperator` produces this precedence, but it is left here as a
257 | /// reference.
258 | static let ternaryPrecedence: Self = .init(value: 100)
| |- warning: static property 'ternaryPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ternaryPrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
259 |
260 | /// Precedence for any assignment operator (suffixed with `-assign`).
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:261:16: warning: static property 'assignmentPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
259 |
260 | /// Precedence for any assignment operator (suffixed with `-assign`).
261 | static let assignmentPrecedence: Self = .init(value: 50)
| |- warning: static property 'assignmentPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'assignmentPrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
262 | }
263 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/Structures/FunctionSignature.swift:387:27: warning: static property 'mutating' is not concurrency-safe because non-'Sendable' type 'FunctionSignature.Traits' may have shared mutable state; this is an error in the Swift 6 language mode
377 |
378 | /// Defines traits for a function signature.
379 | public struct Traits: Codable, OptionSet, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Traits' conform to the 'Sendable' protocol
380 | public var rawValue: Int
381 |
:
385 |
386 | /// Function mutates its reference.
387 | public static let `mutating`: Self = Self(rawValue: 0b0000_0001)
| |- warning: static property 'mutating' is not concurrency-safe because non-'Sendable' type 'FunctionSignature.Traits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mutating' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
388 |
389 | /// Function can throw error
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/Structures/FunctionSignature.swift:390:27: warning: static property 'throwing' is not concurrency-safe because non-'Sendable' type 'FunctionSignature.Traits' may have shared mutable state; this is an error in the Swift 6 language mode
377 |
378 | /// Defines traits for a function signature.
379 | public struct Traits: Codable, OptionSet, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Traits' conform to the 'Sendable' protocol
380 | public var rawValue: Int
381 |
:
388 |
389 | /// Function can throw error
390 | public static let throwing: Self = Self(rawValue: 0b0000_0010)
| |- warning: static property 'throwing' is not concurrency-safe because non-'Sendable' type 'FunctionSignature.Traits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'throwing' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
391 |
392 | /// Function is static
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/Structures/FunctionSignature.swift:393:27: warning: static property 'static' is not concurrency-safe because non-'Sendable' type 'FunctionSignature.Traits' may have shared mutable state; this is an error in the Swift 6 language mode
377 |
378 | /// Defines traits for a function signature.
379 | public struct Traits: Codable, OptionSet, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Traits' conform to the 'Sendable' protocol
380 | public var rawValue: Int
381 |
:
391 |
392 | /// Function is static
393 | public static let `static`: Self = Self(rawValue: 0b0000_0100)
| |- warning: static property 'static' is not concurrency-safe because non-'Sendable' type 'FunctionSignature.Traits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'static' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
394 |
395 | /// Function is async
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/Structures/FunctionSignature.swift:396:27: warning: static property 'async' is not concurrency-safe because non-'Sendable' type 'FunctionSignature.Traits' may have shared mutable state; this is an error in the Swift 6 language mode
377 |
378 | /// Defines traits for a function signature.
379 | public struct Traits: Codable, OptionSet, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Traits' conform to the 'Sendable' protocol
380 | public var rawValue: Int
381 |
:
394 |
395 | /// Function is async
396 | public static let `async`: Self = Self(rawValue: 0b0000_1000)
| |- warning: static property 'async' is not concurrency-safe because non-'Sendable' type 'FunctionSignature.Traits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'async' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
397 |
398 | public var description: String {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/Structures/ObjcPropertyAttribute.swift:4:23: warning: static property 'readonly' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 | public enum ObjcPropertyAttribute: Hashable, Codable {
3 | /// Standard `readonly` property attribute
4 | public static var readonly: ObjcPropertyAttribute = .attribute("readonly")
| |- warning: static property 'readonly' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'readonly' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'readonly' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | /// Standard `class` property attribute
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/Structures/ObjcPropertyAttribute.swift:7:23: warning: static property 'class' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | /// Standard `class` property attribute
7 | public static var `class`: ObjcPropertyAttribute = .attribute("class")
| |- warning: static property 'class' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'class' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'class' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | case attribute(String)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:216:16: warning: static property 'prefixPostfixPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
214 | /// Precedence for operators that are used in a unary prefix or postfix
215 | /// context.
216 | static let prefixPostfixPrecedence: Self = .init(value: 2_000)
| |- warning: static property 'prefixPostfixPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prefixPostfixPrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
217 |
218 | /// Precedence for default bitwise shift operators `.bitwiseShiftLeft` (`<<`),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:220:16: warning: static property 'bitwiseShiftPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
218 | /// Precedence for default bitwise shift operators `.bitwiseShiftLeft` (`<<`),
219 | /// and `.bitwiseShiftRight` (`>>`).
220 | static let bitwiseShiftPrecedence: Self = .init(value: 1_000)
| |- warning: static property 'bitwiseShiftPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bitwiseShiftPrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
221 |
222 | /// Precedence for default multiplicative operators `.multiply` (`*`), `.divide`
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:224:16: warning: static property 'multiplicationPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
222 | /// Precedence for default multiplicative operators `.multiply` (`*`), `.divide`
223 | /// (`/`), `.mod` (`%`), and `.bitwiseAnd` (`&`).
224 | static let multiplicationPrecedence: Self = .init(value: 900)
| |- warning: static property 'multiplicationPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'multiplicationPrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
225 |
226 | /// Precedence for default additive operators `.add` (`+`), `.subtract`
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:228:16: warning: static property 'additionPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
226 | /// Precedence for default additive operators `.add` (`+`), `.subtract`
227 | /// (`-`), `.bitwiseXor` (`^`), and `.bitwiseOr` (`|`).
228 | static let additionPrecedence: Self = .init(value: 800)
| |- warning: static property 'additionPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'additionPrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
229 |
230 | /// Precedence for casting and type checking operators (`is`, `as`, `as?`,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:234:16: warning: static property 'castingPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
232 | /// No `SwiftOperator` produces this precedence, but it is left here as a
233 | /// reference.
234 | static let castingPrecedence: Self = .init(value: 700)
| |- warning: static property 'castingPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'castingPrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
235 |
236 | /// Precedence for default range-formation operators `.openRange` (`..<`),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:238:16: warning: static property 'rangePrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
236 | /// Precedence for default range-formation operators `.openRange` (`..<`),
237 | /// and `.closedRange` (`...`).
238 | static let rangePrecedence: Self = .init(value: 600)
| |- warning: static property 'rangePrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rangePrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
239 |
240 | /// Precedence for `.nullCoalesce` (`??`) operator.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:241:16: warning: static property 'nullCoalescePrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
239 |
240 | /// Precedence for `.nullCoalesce` (`??`) operator.
241 | static let nullCoalescePrecedence: Self = .init(value: 500)
| |- warning: static property 'nullCoalescePrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'nullCoalescePrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
242 |
243 | /// Precedence for default comparison operators `.equals` (`==`), `.unequals`
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:247:16: warning: static property 'comparisonPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
245 | /// `.greaterThanOrEqual` (`>=`), `.identityEquals` (`===`), and
246 | /// `.identityUnequals` (`!==`).
247 | static let comparisonPrecedence: Self = .init(value: 400)
| |- warning: static property 'comparisonPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'comparisonPrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
248 |
249 | /// Precedence for `.and` (`&&`).
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:250:16: warning: static property 'logicalConjunctionPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
248 |
249 | /// Precedence for `.and` (`&&`).
250 | static let logicalConjunctionPrecedence: Self = .init(value: 300)
| |- warning: static property 'logicalConjunctionPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'logicalConjunctionPrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
251 |
252 | /// Precedence for `.or` (`||`).
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:253:16: warning: static property 'logicalDisjunctionPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
251 |
252 | /// Precedence for `.or` (`||`).
253 | static let logicalDisjunctionPrecedence: Self = .init(value: 200)
| |- warning: static property 'logicalDisjunctionPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'logicalDisjunctionPrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
254 |
255 | /// Precedence for a ternary expression.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:258:16: warning: static property 'ternaryPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
256 | /// No `SwiftOperator` produces this precedence, but it is left here as a
257 | /// reference.
258 | static let ternaryPrecedence: Self = .init(value: 100)
| |- warning: static property 'ternaryPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ternaryPrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
259 |
260 | /// Precedence for any assignment operator (suffixed with `-assign`).
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:261:16: warning: static property 'assignmentPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
259 |
260 | /// Precedence for any assignment operator (suffixed with `-assign`).
261 | static let assignmentPrecedence: Self = .init(value: 50)
| |- warning: static property 'assignmentPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'assignmentPrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
262 | }
263 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/Structures/FunctionSignature.swift:387:27: warning: static property 'mutating' is not concurrency-safe because non-'Sendable' type 'FunctionSignature.Traits' may have shared mutable state; this is an error in the Swift 6 language mode
377 |
378 | /// Defines traits for a function signature.
379 | public struct Traits: Codable, OptionSet, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Traits' conform to the 'Sendable' protocol
380 | public var rawValue: Int
381 |
:
385 |
386 | /// Function mutates its reference.
387 | public static let `mutating`: Self = Self(rawValue: 0b0000_0001)
| |- warning: static property 'mutating' is not concurrency-safe because non-'Sendable' type 'FunctionSignature.Traits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mutating' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
388 |
389 | /// Function can throw error
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/Structures/FunctionSignature.swift:390:27: warning: static property 'throwing' is not concurrency-safe because non-'Sendable' type 'FunctionSignature.Traits' may have shared mutable state; this is an error in the Swift 6 language mode
377 |
378 | /// Defines traits for a function signature.
379 | public struct Traits: Codable, OptionSet, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Traits' conform to the 'Sendable' protocol
380 | public var rawValue: Int
381 |
:
388 |
389 | /// Function can throw error
390 | public static let throwing: Self = Self(rawValue: 0b0000_0010)
| |- warning: static property 'throwing' is not concurrency-safe because non-'Sendable' type 'FunctionSignature.Traits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'throwing' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
391 |
392 | /// Function is static
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/Structures/FunctionSignature.swift:393:27: warning: static property 'static' is not concurrency-safe because non-'Sendable' type 'FunctionSignature.Traits' may have shared mutable state; this is an error in the Swift 6 language mode
377 |
378 | /// Defines traits for a function signature.
379 | public struct Traits: Codable, OptionSet, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Traits' conform to the 'Sendable' protocol
380 | public var rawValue: Int
381 |
:
391 |
392 | /// Function is static
393 | public static let `static`: Self = Self(rawValue: 0b0000_0100)
| |- warning: static property 'static' is not concurrency-safe because non-'Sendable' type 'FunctionSignature.Traits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'static' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
394 |
395 | /// Function is async
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/Structures/FunctionSignature.swift:396:27: warning: static property 'async' is not concurrency-safe because non-'Sendable' type 'FunctionSignature.Traits' may have shared mutable state; this is an error in the Swift 6 language mode
377 |
378 | /// Defines traits for a function signature.
379 | public struct Traits: Codable, OptionSet, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Traits' conform to the 'Sendable' protocol
380 | public var rawValue: Int
381 |
:
394 |
395 | /// Function is async
396 | public static let `async`: Self = Self(rawValue: 0b0000_1000)
| |- warning: static property 'async' is not concurrency-safe because non-'Sendable' type 'FunctionSignature.Traits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'async' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
397 |
398 | public var description: String {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/Structures/ObjcPropertyAttribute.swift:4:23: warning: static property 'readonly' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 | public enum ObjcPropertyAttribute: Hashable, Codable {
3 | /// Standard `readonly` property attribute
4 | public static var readonly: ObjcPropertyAttribute = .attribute("readonly")
| |- warning: static property 'readonly' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'readonly' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'readonly' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | /// Standard `class` property attribute
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/Structures/ObjcPropertyAttribute.swift:7:23: warning: static property 'class' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | /// Standard `class` property attribute
7 | public static var `class`: ObjcPropertyAttribute = .attribute("class")
| |- warning: static property 'class' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'class' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'class' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | case attribute(String)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:216:16: warning: static property 'prefixPostfixPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
214 | /// Precedence for operators that are used in a unary prefix or postfix
215 | /// context.
216 | static let prefixPostfixPrecedence: Self = .init(value: 2_000)
| |- warning: static property 'prefixPostfixPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prefixPostfixPrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
217 |
218 | /// Precedence for default bitwise shift operators `.bitwiseShiftLeft` (`<<`),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:220:16: warning: static property 'bitwiseShiftPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
218 | /// Precedence for default bitwise shift operators `.bitwiseShiftLeft` (`<<`),
219 | /// and `.bitwiseShiftRight` (`>>`).
220 | static let bitwiseShiftPrecedence: Self = .init(value: 1_000)
| |- warning: static property 'bitwiseShiftPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bitwiseShiftPrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
221 |
222 | /// Precedence for default multiplicative operators `.multiply` (`*`), `.divide`
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:224:16: warning: static property 'multiplicationPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
222 | /// Precedence for default multiplicative operators `.multiply` (`*`), `.divide`
223 | /// (`/`), `.mod` (`%`), and `.bitwiseAnd` (`&`).
224 | static let multiplicationPrecedence: Self = .init(value: 900)
| |- warning: static property 'multiplicationPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'multiplicationPrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
225 |
226 | /// Precedence for default additive operators `.add` (`+`), `.subtract`
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:228:16: warning: static property 'additionPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
226 | /// Precedence for default additive operators `.add` (`+`), `.subtract`
227 | /// (`-`), `.bitwiseXor` (`^`), and `.bitwiseOr` (`|`).
228 | static let additionPrecedence: Self = .init(value: 800)
| |- warning: static property 'additionPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'additionPrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
229 |
230 | /// Precedence for casting and type checking operators (`is`, `as`, `as?`,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:234:16: warning: static property 'castingPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
232 | /// No `SwiftOperator` produces this precedence, but it is left here as a
233 | /// reference.
234 | static let castingPrecedence: Self = .init(value: 700)
| |- warning: static property 'castingPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'castingPrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
235 |
236 | /// Precedence for default range-formation operators `.openRange` (`..<`),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:238:16: warning: static property 'rangePrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
236 | /// Precedence for default range-formation operators `.openRange` (`..<`),
237 | /// and `.closedRange` (`...`).
238 | static let rangePrecedence: Self = .init(value: 600)
| |- warning: static property 'rangePrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rangePrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
239 |
240 | /// Precedence for `.nullCoalesce` (`??`) operator.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:241:16: warning: static property 'nullCoalescePrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
239 |
240 | /// Precedence for `.nullCoalesce` (`??`) operator.
241 | static let nullCoalescePrecedence: Self = .init(value: 500)
| |- warning: static property 'nullCoalescePrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'nullCoalescePrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
242 |
243 | /// Precedence for default comparison operators `.equals` (`==`), `.unequals`
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:247:16: warning: static property 'comparisonPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
245 | /// `.greaterThanOrEqual` (`>=`), `.identityEquals` (`===`), and
246 | /// `.identityUnequals` (`!==`).
247 | static let comparisonPrecedence: Self = .init(value: 400)
| |- warning: static property 'comparisonPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'comparisonPrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
248 |
249 | /// Precedence for `.and` (`&&`).
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:250:16: warning: static property 'logicalConjunctionPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
248 |
249 | /// Precedence for `.and` (`&&`).
250 | static let logicalConjunctionPrecedence: Self = .init(value: 300)
| |- warning: static property 'logicalConjunctionPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'logicalConjunctionPrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
251 |
252 | /// Precedence for `.or` (`||`).
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:253:16: warning: static property 'logicalDisjunctionPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
251 |
252 | /// Precedence for `.or` (`||`).
253 | static let logicalDisjunctionPrecedence: Self = .init(value: 200)
| |- warning: static property 'logicalDisjunctionPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'logicalDisjunctionPrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
254 |
255 | /// Precedence for a ternary expression.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:258:16: warning: static property 'ternaryPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
256 | /// No `SwiftOperator` produces this precedence, but it is left here as a
257 | /// reference.
258 | static let ternaryPrecedence: Self = .init(value: 100)
| |- warning: static property 'ternaryPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ternaryPrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
259 |
260 | /// Precedence for any assignment operator (suffixed with `-assign`).
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:261:16: warning: static property 'assignmentPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
259 |
260 | /// Precedence for any assignment operator (suffixed with `-assign`).
261 | static let assignmentPrecedence: Self = .init(value: 50)
| |- warning: static property 'assignmentPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'assignmentPrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
262 | }
263 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/Structures/FunctionSignature.swift:387:27: warning: static property 'mutating' is not concurrency-safe because non-'Sendable' type 'FunctionSignature.Traits' may have shared mutable state; this is an error in the Swift 6 language mode
377 |
378 | /// Defines traits for a function signature.
379 | public struct Traits: Codable, OptionSet, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Traits' conform to the 'Sendable' protocol
380 | public var rawValue: Int
381 |
:
385 |
386 | /// Function mutates its reference.
387 | public static let `mutating`: Self = Self(rawValue: 0b0000_0001)
| |- warning: static property 'mutating' is not concurrency-safe because non-'Sendable' type 'FunctionSignature.Traits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mutating' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
388 |
389 | /// Function can throw error
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/Structures/FunctionSignature.swift:390:27: warning: static property 'throwing' is not concurrency-safe because non-'Sendable' type 'FunctionSignature.Traits' may have shared mutable state; this is an error in the Swift 6 language mode
377 |
378 | /// Defines traits for a function signature.
379 | public struct Traits: Codable, OptionSet, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Traits' conform to the 'Sendable' protocol
380 | public var rawValue: Int
381 |
:
388 |
389 | /// Function can throw error
390 | public static let throwing: Self = Self(rawValue: 0b0000_0010)
| |- warning: static property 'throwing' is not concurrency-safe because non-'Sendable' type 'FunctionSignature.Traits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'throwing' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
391 |
392 | /// Function is static
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/Structures/FunctionSignature.swift:393:27: warning: static property 'static' is not concurrency-safe because non-'Sendable' type 'FunctionSignature.Traits' may have shared mutable state; this is an error in the Swift 6 language mode
377 |
378 | /// Defines traits for a function signature.
379 | public struct Traits: Codable, OptionSet, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Traits' conform to the 'Sendable' protocol
380 | public var rawValue: Int
381 |
:
391 |
392 | /// Function is static
393 | public static let `static`: Self = Self(rawValue: 0b0000_0100)
| |- warning: static property 'static' is not concurrency-safe because non-'Sendable' type 'FunctionSignature.Traits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'static' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
394 |
395 | /// Function is async
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/Structures/FunctionSignature.swift:396:27: warning: static property 'async' is not concurrency-safe because non-'Sendable' type 'FunctionSignature.Traits' may have shared mutable state; this is an error in the Swift 6 language mode
377 |
378 | /// Defines traits for a function signature.
379 | public struct Traits: Codable, OptionSet, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Traits' conform to the 'Sendable' protocol
380 | public var rawValue: Int
381 |
:
394 |
395 | /// Function is async
396 | public static let `async`: Self = Self(rawValue: 0b0000_1000)
| |- warning: static property 'async' is not concurrency-safe because non-'Sendable' type 'FunctionSignature.Traits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'async' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
397 |
398 | public var description: String {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/Structures/ObjcPropertyAttribute.swift:4:23: warning: static property 'readonly' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 | public enum ObjcPropertyAttribute: Hashable, Codable {
3 | /// Standard `readonly` property attribute
4 | public static var readonly: ObjcPropertyAttribute = .attribute("readonly")
| |- warning: static property 'readonly' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'readonly' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'readonly' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | /// Standard `class` property attribute
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/Structures/ObjcPropertyAttribute.swift:7:23: warning: static property 'class' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | /// Standard `class` property attribute
7 | public static var `class`: ObjcPropertyAttribute = .attribute("class")
| |- warning: static property 'class' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'class' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'class' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | case attribute(String)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:216:16: warning: static property 'prefixPostfixPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
214 | /// Precedence for operators that are used in a unary prefix or postfix
215 | /// context.
216 | static let prefixPostfixPrecedence: Self = .init(value: 2_000)
| |- warning: static property 'prefixPostfixPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prefixPostfixPrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
217 |
218 | /// Precedence for default bitwise shift operators `.bitwiseShiftLeft` (`<<`),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:220:16: warning: static property 'bitwiseShiftPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
218 | /// Precedence for default bitwise shift operators `.bitwiseShiftLeft` (`<<`),
219 | /// and `.bitwiseShiftRight` (`>>`).
220 | static let bitwiseShiftPrecedence: Self = .init(value: 1_000)
| |- warning: static property 'bitwiseShiftPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bitwiseShiftPrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
221 |
222 | /// Precedence for default multiplicative operators `.multiply` (`*`), `.divide`
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:224:16: warning: static property 'multiplicationPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
222 | /// Precedence for default multiplicative operators `.multiply` (`*`), `.divide`
223 | /// (`/`), `.mod` (`%`), and `.bitwiseAnd` (`&`).
224 | static let multiplicationPrecedence: Self = .init(value: 900)
| |- warning: static property 'multiplicationPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'multiplicationPrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
225 |
226 | /// Precedence for default additive operators `.add` (`+`), `.subtract`
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:228:16: warning: static property 'additionPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
226 | /// Precedence for default additive operators `.add` (`+`), `.subtract`
227 | /// (`-`), `.bitwiseXor` (`^`), and `.bitwiseOr` (`|`).
228 | static let additionPrecedence: Self = .init(value: 800)
| |- warning: static property 'additionPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'additionPrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
229 |
230 | /// Precedence for casting and type checking operators (`is`, `as`, `as?`,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:234:16: warning: static property 'castingPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
232 | /// No `SwiftOperator` produces this precedence, but it is left here as a
233 | /// reference.
234 | static let castingPrecedence: Self = .init(value: 700)
| |- warning: static property 'castingPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'castingPrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
235 |
236 | /// Precedence for default range-formation operators `.openRange` (`..<`),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:238:16: warning: static property 'rangePrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
236 | /// Precedence for default range-formation operators `.openRange` (`..<`),
237 | /// and `.closedRange` (`...`).
238 | static let rangePrecedence: Self = .init(value: 600)
| |- warning: static property 'rangePrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rangePrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
239 |
240 | /// Precedence for `.nullCoalesce` (`??`) operator.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:241:16: warning: static property 'nullCoalescePrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
239 |
240 | /// Precedence for `.nullCoalesce` (`??`) operator.
241 | static let nullCoalescePrecedence: Self = .init(value: 500)
| |- warning: static property 'nullCoalescePrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'nullCoalescePrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
242 |
243 | /// Precedence for default comparison operators `.equals` (`==`), `.unequals`
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:247:16: warning: static property 'comparisonPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
245 | /// `.greaterThanOrEqual` (`>=`), `.identityEquals` (`===`), and
246 | /// `.identityUnequals` (`!==`).
247 | static let comparisonPrecedence: Self = .init(value: 400)
| |- warning: static property 'comparisonPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'comparisonPrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
248 |
249 | /// Precedence for `.and` (`&&`).
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:250:16: warning: static property 'logicalConjunctionPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
248 |
249 | /// Precedence for `.and` (`&&`).
250 | static let logicalConjunctionPrecedence: Self = .init(value: 300)
| |- warning: static property 'logicalConjunctionPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'logicalConjunctionPrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
251 |
252 | /// Precedence for `.or` (`||`).
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:253:16: warning: static property 'logicalDisjunctionPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
251 |
252 | /// Precedence for `.or` (`||`).
253 | static let logicalDisjunctionPrecedence: Self = .init(value: 200)
| |- warning: static property 'logicalDisjunctionPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'logicalDisjunctionPrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
254 |
255 | /// Precedence for a ternary expression.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:258:16: warning: static property 'ternaryPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
256 | /// No `SwiftOperator` produces this precedence, but it is left here as a
257 | /// reference.
258 | static let ternaryPrecedence: Self = .init(value: 100)
| |- warning: static property 'ternaryPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ternaryPrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
259 |
260 | /// Precedence for any assignment operator (suffixed with `-assign`).
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/SwiftOperator.swift:261:16: warning: static property 'assignmentPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
196 |
197 | /// Specifies a precedence for a Swift operator.
198 | public struct SwiftOperatorPrecedence: Comparable {
| `- note: consider making struct 'SwiftOperatorPrecedence' conform to the 'Sendable' protocol
199 | /// Precedence value. higher numbers indicate a higher precedence order.
200 | var value: Int
:
259 |
260 | /// Precedence for any assignment operator (suffixed with `-assign`).
261 | static let assignmentPrecedence: Self = .init(value: 50)
| |- warning: static property 'assignmentPrecedence' is not concurrency-safe because non-'Sendable' type 'SwiftOperatorPrecedence' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'assignmentPrecedence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
262 | }
263 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/FunctionSignatureParser.swift:542:28: warning: static property 'identifierLexer' is not concurrency-safe because non-'Sendable' type 'GrammarRule' may have shared mutable state; this is an error in the Swift 6 language mode
540 |
541 | private enum Token: String, TokenProtocol {
542 | private static let identifierLexer = (.letter | "_") + (.letter | "_" | .digit)*
| `- warning: static property 'identifierLexer' is not concurrency-safe because non-'Sendable' type 'GrammarRule' may have shared mutable state; this is an error in the Swift 6 language mode
543 |
544 | case openParens = "("
/Users/admin/builder/spi-builder-workspace/.build/checkouts/MiniLexer/Sources/MiniLexer/GrammarRules.swift:196:13: note: enum 'GrammarRule' does not conform to the 'Sendable' protocol
194 | /// any whitespace between the tokens. Fails if an unexpected whitespace is found
195 | /// between rules.
196 | public enum GrammarRule: LexerGrammarRule, Equatable, ExpressibleByUnicodeScalarLiteral, ExpressibleByArrayLiteral {
| `- note: enum 'GrammarRule' does not conform to the 'Sendable' protocol
197 | case digit
198 | case letter
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/FunctionSignatureParser.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MiniLexer'
1 | import MiniLexer
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MiniLexer'
2 |
3 | /// Provides capabilities of parsing function signatures and argument arrays
:
540 |
541 | private enum Token: String, TokenProtocol {
542 | private static let identifierLexer = (.letter | "_") + (.letter | "_" | .digit)*
| |- note: add '@MainActor' to make static property 'identifierLexer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
543 |
544 | case openParens = "("
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/FunctionSignatureParser.swift:657:20: warning: static property 'eofToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
655 | }
656 |
657 | static var eofToken: Token = .eof
| |- warning: static property 'eofToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'eofToken' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'eofToken' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
658 | }
659 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/FunctionSignatureParser.swift:542:28: warning: static property 'identifierLexer' is not concurrency-safe because non-'Sendable' type 'GrammarRule' may have shared mutable state; this is an error in the Swift 6 language mode
540 |
541 | private enum Token: String, TokenProtocol {
542 | private static let identifierLexer = (.letter | "_") + (.letter | "_" | .digit)*
| `- warning: static property 'identifierLexer' is not concurrency-safe because non-'Sendable' type 'GrammarRule' may have shared mutable state; this is an error in the Swift 6 language mode
543 |
544 | case openParens = "("
/Users/admin/builder/spi-builder-workspace/.build/checkouts/MiniLexer/Sources/MiniLexer/GrammarRules.swift:196:13: note: enum 'GrammarRule' does not conform to the 'Sendable' protocol
194 | /// any whitespace between the tokens. Fails if an unexpected whitespace is found
195 | /// between rules.
196 | public enum GrammarRule: LexerGrammarRule, Equatable, ExpressibleByUnicodeScalarLiteral, ExpressibleByArrayLiteral {
| `- note: enum 'GrammarRule' does not conform to the 'Sendable' protocol
197 | case digit
198 | case letter
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/FunctionSignatureParser.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MiniLexer'
1 | import MiniLexer
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MiniLexer'
2 |
3 | /// Provides capabilities of parsing function signatures and argument arrays
:
540 |
541 | private enum Token: String, TokenProtocol {
542 | private static let identifierLexer = (.letter | "_") + (.letter | "_" | .digit)*
| |- note: add '@MainActor' to make static property 'identifierLexer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
543 |
544 | case openParens = "("
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/FunctionSignatureParser.swift:657:20: warning: static property 'eofToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
655 | }
656 |
657 | static var eofToken: Token = .eof
| |- warning: static property 'eofToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'eofToken' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'eofToken' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
658 | }
659 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/FunctionSignatureParser.swift:542:28: warning: static property 'identifierLexer' is not concurrency-safe because non-'Sendable' type 'GrammarRule' may have shared mutable state; this is an error in the Swift 6 language mode
540 |
541 | private enum Token: String, TokenProtocol {
542 | private static let identifierLexer = (.letter | "_") + (.letter | "_" | .digit)*
| `- warning: static property 'identifierLexer' is not concurrency-safe because non-'Sendable' type 'GrammarRule' may have shared mutable state; this is an error in the Swift 6 language mode
543 |
544 | case openParens = "("
/Users/admin/builder/spi-builder-workspace/.build/checkouts/MiniLexer/Sources/MiniLexer/GrammarRules.swift:196:13: note: enum 'GrammarRule' does not conform to the 'Sendable' protocol
194 | /// any whitespace between the tokens. Fails if an unexpected whitespace is found
195 | /// between rules.
196 | public enum GrammarRule: LexerGrammarRule, Equatable, ExpressibleByUnicodeScalarLiteral, ExpressibleByArrayLiteral {
| `- note: enum 'GrammarRule' does not conform to the 'Sendable' protocol
197 | case digit
198 | case letter
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/FunctionSignatureParser.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MiniLexer'
1 | import MiniLexer
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MiniLexer'
2 |
3 | /// Provides capabilities of parsing function signatures and argument arrays
:
540 |
541 | private enum Token: String, TokenProtocol {
542 | private static let identifierLexer = (.letter | "_") + (.letter | "_" | .digit)*
| |- note: add '@MainActor' to make static property 'identifierLexer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
543 |
544 | case openParens = "("
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/FunctionSignatureParser.swift:657:20: warning: static property 'eofToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
655 | }
656 |
657 | static var eofToken: Token = .eof
| |- warning: static property 'eofToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'eofToken' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'eofToken' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
658 | }
659 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/FunctionSignatureParser.swift:542:28: warning: static property 'identifierLexer' is not concurrency-safe because non-'Sendable' type 'GrammarRule' may have shared mutable state; this is an error in the Swift 6 language mode
540 |
541 | private enum Token: String, TokenProtocol {
542 | private static let identifierLexer = (.letter | "_") + (.letter | "_" | .digit)*
| `- warning: static property 'identifierLexer' is not concurrency-safe because non-'Sendable' type 'GrammarRule' may have shared mutable state; this is an error in the Swift 6 language mode
543 |
544 | case openParens = "("
/Users/admin/builder/spi-builder-workspace/.build/checkouts/MiniLexer/Sources/MiniLexer/GrammarRules.swift:196:13: note: enum 'GrammarRule' does not conform to the 'Sendable' protocol
194 | /// any whitespace between the tokens. Fails if an unexpected whitespace is found
195 | /// between rules.
196 | public enum GrammarRule: LexerGrammarRule, Equatable, ExpressibleByUnicodeScalarLiteral, ExpressibleByArrayLiteral {
| `- note: enum 'GrammarRule' does not conform to the 'Sendable' protocol
197 | case digit
198 | case letter
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/FunctionSignatureParser.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MiniLexer'
1 | import MiniLexer
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MiniLexer'
2 |
3 | /// Provides capabilities of parsing function signatures and argument arrays
:
540 |
541 | private enum Token: String, TokenProtocol {
542 | private static let identifierLexer = (.letter | "_") + (.letter | "_" | .digit)*
| |- note: add '@MainActor' to make static property 'identifierLexer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
543 |
544 | case openParens = "("
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/FunctionSignatureParser.swift:657:20: warning: static property 'eofToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
655 | }
656 |
657 | static var eofToken: Token = .eof
| |- warning: static property 'eofToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'eofToken' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'eofToken' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
658 | }
659 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/FunctionSignatureParser.swift:542:28: warning: static property 'identifierLexer' is not concurrency-safe because non-'Sendable' type 'GrammarRule' may have shared mutable state; this is an error in the Swift 6 language mode
540 |
541 | private enum Token: String, TokenProtocol {
542 | private static let identifierLexer = (.letter | "_") + (.letter | "_" | .digit)*
| `- warning: static property 'identifierLexer' is not concurrency-safe because non-'Sendable' type 'GrammarRule' may have shared mutable state; this is an error in the Swift 6 language mode
543 |
544 | case openParens = "("
/Users/admin/builder/spi-builder-workspace/.build/checkouts/MiniLexer/Sources/MiniLexer/GrammarRules.swift:196:13: note: enum 'GrammarRule' does not conform to the 'Sendable' protocol
194 | /// any whitespace between the tokens. Fails if an unexpected whitespace is found
195 | /// between rules.
196 | public enum GrammarRule: LexerGrammarRule, Equatable, ExpressibleByUnicodeScalarLiteral, ExpressibleByArrayLiteral {
| `- note: enum 'GrammarRule' does not conform to the 'Sendable' protocol
197 | case digit
198 | case letter
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/FunctionSignatureParser.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MiniLexer'
1 | import MiniLexer
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MiniLexer'
2 |
3 | /// Provides capabilities of parsing function signatures and argument arrays
:
540 |
541 | private enum Token: String, TokenProtocol {
542 | private static let identifierLexer = (.letter | "_") + (.letter | "_" | .digit)*
| |- note: add '@MainActor' to make static property 'identifierLexer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
543 |
544 | case openParens = "("
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/FunctionSignatureParser.swift:657:20: warning: static property 'eofToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
655 | }
656 |
657 | static var eofToken: Token = .eof
| |- warning: static property 'eofToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'eofToken' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'eofToken' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
658 | }
659 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/FunctionSignatureParser.swift:542:28: warning: static property 'identifierLexer' is not concurrency-safe because non-'Sendable' type 'GrammarRule' may have shared mutable state; this is an error in the Swift 6 language mode
540 |
541 | private enum Token: String, TokenProtocol {
542 | private static let identifierLexer = (.letter | "_") + (.letter | "_" | .digit)*
| `- warning: static property 'identifierLexer' is not concurrency-safe because non-'Sendable' type 'GrammarRule' may have shared mutable state; this is an error in the Swift 6 language mode
543 |
544 | case openParens = "("
/Users/admin/builder/spi-builder-workspace/.build/checkouts/MiniLexer/Sources/MiniLexer/GrammarRules.swift:196:13: note: enum 'GrammarRule' does not conform to the 'Sendable' protocol
194 | /// any whitespace between the tokens. Fails if an unexpected whitespace is found
195 | /// between rules.
196 | public enum GrammarRule: LexerGrammarRule, Equatable, ExpressibleByUnicodeScalarLiteral, ExpressibleByArrayLiteral {
| `- note: enum 'GrammarRule' does not conform to the 'Sendable' protocol
197 | case digit
198 | case letter
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/FunctionSignatureParser.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MiniLexer'
1 | import MiniLexer
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MiniLexer'
2 |
3 | /// Provides capabilities of parsing function signatures and argument arrays
:
540 |
541 | private enum Token: String, TokenProtocol {
542 | private static let identifierLexer = (.letter | "_") + (.letter | "_" | .digit)*
| |- note: add '@MainActor' to make static property 'identifierLexer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
543 |
544 | case openParens = "("
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/FunctionSignatureParser.swift:657:20: warning: static property 'eofToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
655 | }
656 |
657 | static var eofToken: Token = .eof
| |- warning: static property 'eofToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'eofToken' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'eofToken' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
658 | }
659 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/FunctionSignatureParser.swift:542:28: warning: static property 'identifierLexer' is not concurrency-safe because non-'Sendable' type 'GrammarRule' may have shared mutable state; this is an error in the Swift 6 language mode
540 |
541 | private enum Token: String, TokenProtocol {
542 | private static let identifierLexer = (.letter | "_") + (.letter | "_" | .digit)*
| `- warning: static property 'identifierLexer' is not concurrency-safe because non-'Sendable' type 'GrammarRule' may have shared mutable state; this is an error in the Swift 6 language mode
543 |
544 | case openParens = "("
/Users/admin/builder/spi-builder-workspace/.build/checkouts/MiniLexer/Sources/MiniLexer/GrammarRules.swift:196:13: note: enum 'GrammarRule' does not conform to the 'Sendable' protocol
194 | /// any whitespace between the tokens. Fails if an unexpected whitespace is found
195 | /// between rules.
196 | public enum GrammarRule: LexerGrammarRule, Equatable, ExpressibleByUnicodeScalarLiteral, ExpressibleByArrayLiteral {
| `- note: enum 'GrammarRule' does not conform to the 'Sendable' protocol
197 | case digit
198 | case letter
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/FunctionSignatureParser.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MiniLexer'
1 | import MiniLexer
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MiniLexer'
2 |
3 | /// Provides capabilities of parsing function signatures and argument arrays
:
540 |
541 | private enum Token: String, TokenProtocol {
542 | private static let identifierLexer = (.letter | "_") + (.letter | "_" | .digit)*
| |- note: add '@MainActor' to make static property 'identifierLexer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
543 |
544 | case openParens = "("
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/FunctionSignatureParser.swift:657:20: warning: static property 'eofToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
655 | }
656 |
657 | static var eofToken: Token = .eof
| |- warning: static property 'eofToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'eofToken' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'eofToken' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
658 | }
659 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/FunctionSignatureParser.swift:542:28: warning: static property 'identifierLexer' is not concurrency-safe because non-'Sendable' type 'GrammarRule' may have shared mutable state; this is an error in the Swift 6 language mode
540 |
541 | private enum Token: String, TokenProtocol {
542 | private static let identifierLexer = (.letter | "_") + (.letter | "_" | .digit)*
| `- warning: static property 'identifierLexer' is not concurrency-safe because non-'Sendable' type 'GrammarRule' may have shared mutable state; this is an error in the Swift 6 language mode
543 |
544 | case openParens = "("
/Users/admin/builder/spi-builder-workspace/.build/checkouts/MiniLexer/Sources/MiniLexer/GrammarRules.swift:196:13: note: enum 'GrammarRule' does not conform to the 'Sendable' protocol
194 | /// any whitespace between the tokens. Fails if an unexpected whitespace is found
195 | /// between rules.
196 | public enum GrammarRule: LexerGrammarRule, Equatable, ExpressibleByUnicodeScalarLiteral, ExpressibleByArrayLiteral {
| `- note: enum 'GrammarRule' does not conform to the 'Sendable' protocol
197 | case digit
198 | case letter
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/FunctionSignatureParser.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MiniLexer'
1 | import MiniLexer
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MiniLexer'
2 |
3 | /// Provides capabilities of parsing function signatures and argument arrays
:
540 |
541 | private enum Token: String, TokenProtocol {
542 | private static let identifierLexer = (.letter | "_") + (.letter | "_" | .digit)*
| |- note: add '@MainActor' to make static property 'identifierLexer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
543 |
544 | case openParens = "("
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/FunctionSignatureParser.swift:657:20: warning: static property 'eofToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
655 | }
656 |
657 | static var eofToken: Token = .eof
| |- warning: static property 'eofToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'eofToken' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'eofToken' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
658 | }
659 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/FunctionSignatureParser.swift:542:28: warning: static property 'identifierLexer' is not concurrency-safe because non-'Sendable' type 'GrammarRule' may have shared mutable state; this is an error in the Swift 6 language mode
540 |
541 | private enum Token: String, TokenProtocol {
542 | private static let identifierLexer = (.letter | "_") + (.letter | "_" | .digit)*
| `- warning: static property 'identifierLexer' is not concurrency-safe because non-'Sendable' type 'GrammarRule' may have shared mutable state; this is an error in the Swift 6 language mode
543 |
544 | case openParens = "("
/Users/admin/builder/spi-builder-workspace/.build/checkouts/MiniLexer/Sources/MiniLexer/GrammarRules.swift:196:13: note: enum 'GrammarRule' does not conform to the 'Sendable' protocol
194 | /// any whitespace between the tokens. Fails if an unexpected whitespace is found
195 | /// between rules.
196 | public enum GrammarRule: LexerGrammarRule, Equatable, ExpressibleByUnicodeScalarLiteral, ExpressibleByArrayLiteral {
| `- note: enum 'GrammarRule' does not conform to the 'Sendable' protocol
197 | case digit
198 | case letter
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/FunctionSignatureParser.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MiniLexer'
1 | import MiniLexer
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MiniLexer'
2 |
3 | /// Provides capabilities of parsing function signatures and argument arrays
:
540 |
541 | private enum Token: String, TokenProtocol {
542 | private static let identifierLexer = (.letter | "_") + (.letter | "_" | .digit)*
| |- note: add '@MainActor' to make static property 'identifierLexer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
543 |
544 | case openParens = "("
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/FunctionSignatureParser.swift:657:20: warning: static property 'eofToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
655 | }
656 |
657 | static var eofToken: Token = .eof
| |- warning: static property 'eofToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'eofToken' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'eofToken' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
658 | }
659 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/FunctionSignatureParser.swift:542:28: warning: static property 'identifierLexer' is not concurrency-safe because non-'Sendable' type 'GrammarRule' may have shared mutable state; this is an error in the Swift 6 language mode
540 |
541 | private enum Token: String, TokenProtocol {
542 | private static let identifierLexer = (.letter | "_") + (.letter | "_" | .digit)*
| `- warning: static property 'identifierLexer' is not concurrency-safe because non-'Sendable' type 'GrammarRule' may have shared mutable state; this is an error in the Swift 6 language mode
543 |
544 | case openParens = "("
/Users/admin/builder/spi-builder-workspace/.build/checkouts/MiniLexer/Sources/MiniLexer/GrammarRules.swift:196:13: note: enum 'GrammarRule' does not conform to the 'Sendable' protocol
194 | /// any whitespace between the tokens. Fails if an unexpected whitespace is found
195 | /// between rules.
196 | public enum GrammarRule: LexerGrammarRule, Equatable, ExpressibleByUnicodeScalarLiteral, ExpressibleByArrayLiteral {
| `- note: enum 'GrammarRule' does not conform to the 'Sendable' protocol
197 | case digit
198 | case letter
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/FunctionSignatureParser.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MiniLexer'
1 | import MiniLexer
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MiniLexer'
2 |
3 | /// Provides capabilities of parsing function signatures and argument arrays
:
540 |
541 | private enum Token: String, TokenProtocol {
542 | private static let identifierLexer = (.letter | "_") + (.letter | "_" | .digit)*
| |- note: add '@MainActor' to make static property 'identifierLexer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
543 |
544 | case openParens = "("
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/FunctionSignatureParser.swift:657:20: warning: static property 'eofToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
655 | }
656 |
657 | static var eofToken: Token = .eof
| |- warning: static property 'eofToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'eofToken' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'eofToken' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
658 | }
659 | }
[528/545] Compiling SwiftCFG NodeDefinition.swift
[529/545] Compiling SwiftCFG Stub.swift
[531/545] Compiling SwiftCFG ControlFlowGraph+Graphviz.swift
[532/545] Compiling SwiftCFG DirectedGraphBase.swift
[533/545] Compiling SwiftCFG NodeDefinition.swift
[534/545] Compiling SwiftCFG ControlFlowGraph.swift
[535/545] Compiling SwiftCFG ControlFlowGraph+Visitor.swift
[536/545] Compiling SwiftCFG ControlFlowGraph+Creation.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCFG/ControlFlowGraph+Creation.swift:15:27: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | /// Options that can be specified during generation of control flow graphs.
14 | struct GenerationOptions {
15 | public static var `default`: Self = Self()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// If `true`, generates marker nodes between code scope changes.
[537/545] Compiling SwiftCFG CFGVisitResult.swift
[538/545] Emitting module SwiftCFG
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCFG/ControlFlowGraph+Creation.swift:15:27: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | /// Options that can be specified during generation of control flow graphs.
14 | struct GenerationOptions {
15 | public static var `default`: Self = Self()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// If `true`, generates marker nodes between code scope changes.
[539/545] Compiling SwiftCFG ControlFlowGraph+Graphviz.swift
[540/545] Compiling SwiftCFG DirectedGraphBase.swift
[541/545] Compiling SwiftCFG ControlFlowGraph.swift
[542/545] Compiling SwiftCFG ControlFlowGraph+Creation.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCFG/ControlFlowGraph+Creation.swift:15:27: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | /// Options that can be specified during generation of control flow graphs.
14 | struct GenerationOptions {
15 | public static var `default`: Self = Self()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// If `true`, generates marker nodes between code scope changes.
[543/545] Compiling SwiftCFG CFGVisitResult.swift
[544/545] Compiling SwiftCFG ControlFlowGraph+Visitor.swift
[545/545] Emitting module SwiftCFG
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCFG/ControlFlowGraph+Creation.swift:15:27: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | /// Options that can be specified during generation of control flow graphs.
14 | struct GenerationOptions {
15 | public static var `default`: Self = Self()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// If `true`, generates marker nodes between code scope changes.
Build complete! (38.01s)
Fetching https://github.com/LuizZak/MiniGraphviz.git
Fetching https://github.com/LuizZak/MiniLexer.git
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/LuizZak/MiniDigraph.git
[5/244] Fetching minidigraph
[194/285] Fetching minidigraph, minigraphviz
Fetched https://github.com/LuizZak/MiniGraphviz.git from cache (0.61s)
[194/1024] Fetching minidigraph, minilexer
[1025/71269] Fetching minidigraph, minilexer, swift-syntax
Fetched https://github.com/LuizZak/MiniLexer.git from cache (3.14s)
Fetched https://github.com/apple/swift-syntax.git from cache (3.14s)
Fetched https://github.com/LuizZak/MiniDigraph.git from cache (3.14s)
Computing version for https://github.com/LuizZak/MiniDigraph.git
Computed https://github.com/LuizZak/MiniDigraph.git at 0.8.0 (3.68s)
Computing version for https://github.com/LuizZak/MiniGraphviz.git
Computed https://github.com/LuizZak/MiniGraphviz.git at 0.1.0 (0.50s)
Computing version for https://github.com/LuizZak/MiniLexer.git
Computed https://github.com/LuizZak/MiniLexer.git at 0.10.0 (1.21s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 600.0.1 (0.71s)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 600.0.1
Creating working copy for https://github.com/LuizZak/MiniDigraph.git
Working copy of https://github.com/LuizZak/MiniDigraph.git resolved at 0.8.0
Creating working copy for https://github.com/LuizZak/MiniGraphviz.git
Working copy of https://github.com/LuizZak/MiniGraphviz.git resolved at 0.1.0
Creating working copy for https://github.com/LuizZak/MiniLexer.git
Working copy of https://github.com/LuizZak/MiniLexer.git resolved at 0.10.0
Build complete.
{
"dependencies" : [
{
"identity" : "minilexer",
"requirement" : {
"exact" : [
"0.10.0"
]
},
"type" : "sourceControl",
"url" : "https://github.com/LuizZak/MiniLexer.git"
},
{
"identity" : "minigraphviz",
"requirement" : {
"exact" : [
"0.1.0"
]
},
"type" : "sourceControl",
"url" : "https://github.com/LuizZak/MiniGraphviz.git"
},
{
"identity" : "minidigraph",
"requirement" : {
"exact" : [
"0.8.0"
]
},
"type" : "sourceControl",
"url" : "https://github.com/LuizZak/MiniDigraph.git"
},
{
"identity" : "swift-syntax",
"requirement" : {
"range" : [
{
"lower_bound" : "600.0.0",
"upper_bound" : "601.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-syntax.git"
}
],
"manifest_display_name" : "SwiftAST",
"name" : "SwiftAST",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "maccatalyst",
"version" : "13.0"
}
],
"products" : [
{
"name" : "SwiftAST",
"targets" : [
"SwiftAST"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftCFG",
"targets" : [
"SwiftCFG"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftASTMacros",
"targets" : [
"SwiftASTMacros"
],
"type" : {
"macro" : null
}
}
],
"targets" : [
{
"c99name" : "SwiftCFGTests",
"module_type" : "SwiftTarget",
"name" : "SwiftCFGTests",
"path" : "Tests/SwiftCFGTests",
"product_dependencies" : [
"SwiftParser"
],
"sources" : [
"ControlFlowGraph+CreationExpTests.swift",
"ControlFlowGraph+CreationStmtTests.swift",
"ControlFlowGraph+CreationTests.swift",
"ControlFlowGraphTestUtils.swift",
"Graphviz+TestUtils.swift",
"Stub.swift",
"TestSupport/String+Ext.swift",
"TestSupport/StringDiffTesting+Tests.swift",
"TestSupport/StringDiffTesting.swift"
],
"target_dependencies" : [
"SwiftCFG"
],
"type" : "test"
},
{
"c99name" : "SwiftCFG",
"module_type" : "SwiftTarget",
"name" : "SwiftCFG",
"path" : "Sources/SwiftCFG",
"product_dependencies" : [
"MiniGraphviz",
"MiniDigraph"
],
"product_memberships" : [
"SwiftCFG"
],
"sources" : [
"CFGVisitResult.swift",
"ControlFlowGraph+Creation.swift",
"ControlFlowGraph+Visitor.swift",
"ControlFlowGraph.swift",
"DirectedGraphBase.swift",
"Graphviz/ControlFlowGraph+Graphviz.swift",
"Graphviz/NodeDefinition.swift",
"Stub.swift"
],
"target_dependencies" : [
"SwiftAST"
],
"type" : "library"
},
{
"c99name" : "SwiftASTTests",
"module_type" : "SwiftTarget",
"name" : "SwiftASTTests",
"path" : "Tests/SwiftASTTests",
"sources" : [
"AccessLevelTests.swift",
"BinaryExpressionBalancerTests.swift",
"Expression+MatcherTests.swift",
"Expression/PostfixExpressionTests.swift",
"Expression/SelectorExpressionTests.swift",
"ExpressionTests.swift",
"FunctionIdentifierTests.swift",
"FunctionSignatureParserTests.swift",
"PatternTests.swift",
"Serialization/SwiftASTSerializerTests.swift",
"Statement+MatcherTests.swift",
"Statement/ConditionalClauseTests.swift",
"Statement/GuardStatementTests.swift",
"Statement/IfStatementTests.swift",
"StatementTests.swift",
"Structures/FunctionSignatureTests.swift",
"SwiftOperatorTests.swift",
"SwiftTypeParserTests.swift",
"SwiftTypeTests.swift",
"SyntaxNodeIteratorTests.swift",
"SyntaxNodeRewriterTests.swift",
"SyntaxNodeTests.swift",
"TestSupport/Assertions.swift",
"TestSupport/MersenneTwister.swift",
"TypeFormatterTests.swift",
"ValueMatcher+MatchersTests.swift",
"ValueMatcherTests.swift",
"ValueTransformerTests.swift"
],
"target_dependencies" : [
"SwiftAST"
],
"type" : "test"
},
{
"c99name" : "SwiftASTMacrosTests",
"module_type" : "SwiftTarget",
"name" : "SwiftASTMacrosTests",
"path" : "Tests/SwiftASTMacrosTests",
"product_dependencies" : [
"SwiftSyntaxMacrosTestSupport"
],
"sources" : [
"SwiftASTExpressionMacro+ExpressionTests.swift",
"SwiftASTExpressionMacro+StatementTests.swift",
"SwiftASTStatementsMacroTests.swift",
"SwiftASTTypeMacroTests.swift"
],
"target_dependencies" : [
"SwiftASTMacros"
],
"type" : "test"
},
{
"c99name" : "SwiftASTMacros",
"module_type" : "SwiftTarget",
"name" : "SwiftASTMacros",
"path" : "Sources/SwiftASTMacros",
"product_dependencies" : [
"SwiftSyntaxMacros",
"SwiftCompilerPlugin"
],
"product_memberships" : [
"SwiftAST",
"SwiftCFG",
"SwiftASTMacros"
],
"sources" : [
"MacroError.swift",
"Plugin.swift",
"SwiftASTConverter+Expression.swift",
"SwiftASTConverter+Statement.swift",
"SwiftASTConverter+SwiftType.swift",
"SwiftASTConverter.swift",
"SwiftASTExpressionMacro.swift",
"SwiftASTStatementsMacro.swift",
"SwiftASTTypeMacro.swift",
"SwiftOperator.swift",
"SwiftSyntax/SwiftSyntax+Ext.swift"
],
"type" : "macro"
},
{
"c99name" : "SwiftAST",
"module_type" : "SwiftTarget",
"name" : "SwiftAST",
"path" : "Sources/SwiftAST",
"product_dependencies" : [
"MiniLexer"
],
"product_memberships" : [
"SwiftAST",
"SwiftCFG"
],
"sources" : [
"AccessLevel.swift",
"BinaryExpressionBalancer.swift",
"CodeScopeNodeType.swift",
"Comments/SwiftComment.swift",
"DeclarationAttribute.swift",
"Expression+Ext.swift",
"Expression+Matcher.swift",
"Expression+Transformer.swift",
"Expression.swift",
"Expression/ArrayLiteralExpression.swift",
"Expression/AssignmentExpression.swift",
"Expression/BinaryExpression.swift",
"Expression/BlockLiteralExpression.swift",
"Expression/CastExpression.swift",
"Expression/ConstantExpression.swift",
"Expression/DictionaryLiteralExpression.swift",
"Expression/ExpressionPostfixBuildable.swift",
"Expression/IdentifierExpression.swift",
"Expression/IfExpression.swift",
"Expression/ImplicitMemberExpression.swift",
"Expression/OptionalAccessPostfixBuilder.swift",
"Expression/ParensExpression.swift",
"Expression/Postfix/FunctionCallPostfix.swift",
"Expression/Postfix/MemberPostfix.swift",
"Expression/Postfix/Postfix.swift",
"Expression/Postfix/SubscriptPostfix.swift",
"Expression/PostfixExpression.swift",
"Expression/PrefixExpression.swift",
"Expression/SelectorExpression.swift",
"Expression/SizeOfExpression.swift",
"Expression/SwitchExpression.swift",
"Expression/TernaryExpression.swift",
"Expression/TryExpression.swift",
"Expression/TupleExpression.swift",
"Expression/TypeCheckExpression.swift",
"Expression/UnaryExpression.swift",
"Expression/UnknownExpression.swift",
"ExpressionKind.swift",
"FunctionSignatureParser.swift",
"GenericParameterClause.swift",
"GenericWhereClause.swift",
"Macros.swift",
"Matchable.swift",
"Ownership.swift",
"Pattern.swift",
"PostfixChainInverter.swift",
"Serialization/KeyedDecodingContainerProtocol+SwiftAST.swift",
"Serialization/KeyedEncodingContainerProtocol+SwiftAST.swift",
"Serialization/SerializationOptions.swift",
"Serialization/SwiftASTSerializer.swift",
"Serialization/UnkeyedDecodingContainer+SwiftAST.swift",
"Serialization/UnkeyedEncodingContainer+SwiftAST.swift",
"Statement+Matcher.swift",
"Statement.swift",
"Statement/BreakStatement.swift",
"Statement/CompoundStatement.swift",
"Statement/ConditionalClause.swift",
"Statement/ContinueStatement.swift",
"Statement/DeferStatement.swift",
"Statement/DoStatement.swift",
"Statement/ExpressionsStatement.swift",
"Statement/FallthroughStatement.swift",
"Statement/ForStatement.swift",
"Statement/GuardStatement.swift",
"Statement/LocalFunctionStatement.swift",
"Statement/RepeatWhileStatement.swift",
"Statement/ReturnStatement.swift",
"Statement/ThrowStatement.swift",
"Statement/UnknownStatement.swift",
"Statement/VariableDeclarationsStatement.swift",
"Statement/WhiteStatement.swift",
"StatementKind.swift",
"Structures/FunctionIdentifier.swift",
"Structures/FunctionSignature.swift",
"Structures/LocalFunction.swift",
"Structures/ObjcPropertyAttribute.swift",
"Structures/ParameterSignature.swift",
"Structures/SelectorSignature.swift",
"Structures/SubscriptIdentifier.swift",
"Structures/SubscriptSignature.swift",
"SwiftOperator.swift",
"SwiftRewriterAttribute.swift",
"SwiftType+Stdlib.swift",
"SwiftType.swift",
"SwiftTypeParser.swift",
"SyntaxNode.swift",
"SyntaxNodeIterator.swift",
"SyntaxNodeRewriter.swift",
"TypeFormatter.swift",
"UnknownASTContext.swift",
"ValueMatcher+Matchers.swift",
"ValueMatcher+PartialValueMatcher.swift",
"ValueMatcher.swift",
"ValueMatcherConvertible.swift",
"ValueStorage.swift",
"ValueTransformer.swift",
"Visitor/AnonymousSyntaxNodeStatefulVisitor.swift",
"Visitor/AnonymousSyntaxNodeVisitor.swift",
"Visitor/BaseSyntaxNodeVisitor.swift",
"Visitor/ExpressionVisitor.swift",
"Visitor/StatementStatefulVisitor.swift",
"Visitor/StatementVisitor.swift"
],
"target_dependencies" : [
"SwiftASTMacros"
],
"type" : "library"
}
],
"tools_version" : "5.10"
}
Done.