Build Information
Successful build of SwiftAST, reference 0.14.0 (75eb69
), with Swift 6.1 for Linux on 30 Apr 2025 07:10:00 UTC.
Swift 6 data race errors: 82
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
Build Log
37 |
38 | /// Foundation's `NSDictionary` type.
39 | static let nsDictionary = SwiftType.typeName("NSDictionary")
| |- warning: static property 'nsDictionary' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'nsDictionary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// A special type name to use to represent the `instancetype` type from
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType.swift:2:22: note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
1 | /// Represents a Swift type structure
2 | public indirect enum SwiftType: Hashable {
| `- note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
3 | case nested(NestedSwiftType)
4 | case nominal(NominalSwiftType)
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType+Stdlib.swift:43:16: warning: static property 'instancetype' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// A special type name to use to represent the `instancetype` type from
42 | /// Objective-C.
43 | static let instancetype = SwiftType.typeName("__instancetype")
| |- warning: static property 'instancetype' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'instancetype' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | /// The standard Swift error protocol type definition.
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType.swift:2:22: note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
1 | /// Represents a Swift type structure
2 | public indirect enum SwiftType: Hashable {
| `- note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
3 | case nested(NestedSwiftType)
4 | case nominal(NominalSwiftType)
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType+Stdlib.swift:46:16: warning: static property 'swiftError' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
44 |
45 | /// The standard Swift error protocol type definition.
46 | static let swiftError = SwiftType.typeName("Error")
| |- warning: static property 'swiftError' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'swiftError' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | /// A special type used in place of definitions with improper typing.
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType.swift:2:22: note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
1 | /// Represents a Swift type structure
2 | public indirect enum SwiftType: Hashable {
| `- note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
3 | case nested(NestedSwiftType)
4 | case nominal(NominalSwiftType)
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType+Stdlib.swift:52:16: warning: static property 'errorType' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
50 | /// - note: This is *not* the equivalent to Swift's `Error` protocol type.
51 | /// For that type, use `SwiftType.swiftError`.
52 | static let errorType = SwiftType.typeName("<<error type>>")
| |- warning: static property 'errorType' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'errorType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 |
54 | /// Creates an open range type with the given operand.
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType.swift:2:22: note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
1 | /// Represents a Swift type structure
2 | public indirect enum SwiftType: Hashable {
| `- note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
3 | case nested(NestedSwiftType)
4 | case nominal(NominalSwiftType)
/host/spi-builder-workspace/Sources/SwiftAST/SwiftTypeParser.swift:735:14: warning: associated value 'notProtocolComposable' of 'Sendable'-conforming enum 'Error' has non-sendable type 'SwiftType'; this is an error in the Swift 6 language mode
733 | case expectedMetatype(Int)
734 | case expectedBlockType(Int)
735 | case notProtocolComposable(SwiftType, Int)
| `- warning: associated value 'notProtocolComposable' of 'Sendable'-conforming enum 'Error' has non-sendable type 'SwiftType'; this is an error in the Swift 6 language mode
736 | case unexpectedToken(String, Int)
737 |
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType.swift:2:22: note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
1 | /// Represents a Swift type structure
2 | public indirect enum SwiftType: Hashable {
| `- note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
3 | case nested(NestedSwiftType)
4 | case nominal(NominalSwiftType)
/host/spi-builder-workspace/Sources/SwiftAST/SwiftTypeParser.swift:759:24: 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
757 |
758 | enum SwiftTypeToken: String, TokenProtocol {
759 | 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
760 |
761 | public static var eofToken: SwiftTypeToken = .eof
/host/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
/host/spi-builder-workspace/Sources/SwiftAST/SwiftTypeParser.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 | /// Support for parsing of Swift type signatures into `SwiftType` structures.
:
757 |
758 | enum SwiftTypeToken: String, TokenProtocol {
759 | 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
760 |
761 | public static var eofToken: SwiftTypeToken = .eof
/host/spi-builder-workspace/Sources/SwiftAST/SwiftTypeParser.swift:761:23: 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
759 | private static let identifierLexer = (.letter | "_") + (.letter | "_" | .digit)*
760 |
761 | public static var eofToken: SwiftTypeToken = .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
762 |
763 | case openParens = "("
/host/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` (`<<`),
/host/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`
/host/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`
/host/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?`,
/host/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` (`..<`),
/host/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.
/host/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`
/host/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` (`&&`).
/host/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` (`||`).
/host/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.
/host/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`).
/host/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 |
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType+Stdlib.swift:3:16: warning: static property 'void' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public extension SwiftType {
2 | /// Swift's `Void` type.
3 | static let void = SwiftType.tuple(.empty)
| |- warning: static property 'void' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'void' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
4 |
5 | /// Swift's stdlib `Int` type.
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType.swift:2:22: note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
1 | /// Represents a Swift type structure
2 | public indirect enum SwiftType: Hashable {
| `- note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
3 | case nested(NestedSwiftType)
4 | case nominal(NominalSwiftType)
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType+Stdlib.swift:6:16: warning: static property 'int' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// Swift's stdlib `Int` type.
6 | static let int = SwiftType.typeName("Int")
| |- warning: static property 'int' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'int' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | /// Swift's stdlib `UInt` type.
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType.swift:2:22: note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
1 | /// Represents a Swift type structure
2 | public indirect enum SwiftType: Hashable {
| `- note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
3 | case nested(NestedSwiftType)
4 | case nominal(NominalSwiftType)
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType+Stdlib.swift:9:16: warning: static property 'uint' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// Swift's stdlib `UInt` type.
9 | static let uint = SwiftType.typeName("UInt")
| |- warning: static property 'uint' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uint' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | /// Swift's stdlib `String` type.
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType.swift:2:22: note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
1 | /// Represents a Swift type structure
2 | public indirect enum SwiftType: Hashable {
| `- note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
3 | case nested(NestedSwiftType)
4 | case nominal(NominalSwiftType)
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType+Stdlib.swift:12:16: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Swift's stdlib `String` type.
12 | static let string = SwiftType.typeName("String")
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'string' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /// Swift's stdlib `Bool` type.
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType.swift:2:22: note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
1 | /// Represents a Swift type structure
2 | public indirect enum SwiftType: Hashable {
| `- note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
3 | case nested(NestedSwiftType)
4 | case nominal(NominalSwiftType)
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType+Stdlib.swift:15:16: warning: static property 'bool' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Swift's stdlib `Bool` type.
15 | static let bool = SwiftType.typeName("Bool")
| |- warning: static property 'bool' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bool' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// Swift's stdlib `Float` type.
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType.swift:2:22: note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
1 | /// Represents a Swift type structure
2 | public indirect enum SwiftType: Hashable {
| `- note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
3 | case nested(NestedSwiftType)
4 | case nominal(NominalSwiftType)
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType+Stdlib.swift:18:16: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | /// Swift's stdlib `Float` type.
18 | static let float = SwiftType.typeName("Float")
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'float' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | /// Swift's stdlib `Double` type.
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType.swift:2:22: note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
1 | /// Represents a Swift type structure
2 | public indirect enum SwiftType: Hashable {
| `- note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
3 | case nested(NestedSwiftType)
4 | case nominal(NominalSwiftType)
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType+Stdlib.swift:21:16: warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | /// Swift's stdlib `Double` type.
21 | static let double = SwiftType.typeName("Double")
| |- warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'double' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | /// CoreGraphics' `CGFloat` type.
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType.swift:2:22: note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
1 | /// Represents a Swift type structure
2 | public indirect enum SwiftType: Hashable {
| `- note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
3 | case nested(NestedSwiftType)
4 | case nominal(NominalSwiftType)
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType+Stdlib.swift:24:16: warning: static property 'cgFloat' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | /// CoreGraphics' `CGFloat` type.
24 | static let cgFloat = SwiftType.typeName("CGFloat")
| |- warning: static property 'cgFloat' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cgFloat' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | /// Swift's stdlib `Any` type.
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType.swift:2:22: note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
1 | /// Represents a Swift type structure
2 | public indirect enum SwiftType: Hashable {
| `- note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
3 | case nested(NestedSwiftType)
4 | case nominal(NominalSwiftType)
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType+Stdlib.swift:27:16: warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | /// Swift's stdlib `Any` type.
27 | static let any = SwiftType.typeName("Any")
| |- warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'any' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /// Swift's stdlib `AnyObject` type.
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType.swift:2:22: note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
1 | /// Represents a Swift type structure
2 | public indirect enum SwiftType: Hashable {
| `- note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
3 | case nested(NestedSwiftType)
4 | case nominal(NominalSwiftType)
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType+Stdlib.swift:30:16: warning: static property 'anyObject' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// Swift's stdlib `AnyObject` type.
30 | static let anyObject = SwiftType.typeName("AnyObject")
| |- warning: static property 'anyObject' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'anyObject' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | /// Objective-C's generic Selector type.
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType.swift:2:22: note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
1 | /// Represents a Swift type structure
2 | public indirect enum SwiftType: Hashable {
| `- note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
3 | case nested(NestedSwiftType)
4 | case nominal(NominalSwiftType)
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType+Stdlib.swift:33:16: warning: static property 'selector' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | /// Objective-C's generic Selector type.
33 | static let selector = SwiftType.typeName("Selector")
| |- warning: static property 'selector' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'selector' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | /// Foundation's `NSArray` type.
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType.swift:2:22: note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
1 | /// Represents a Swift type structure
2 | public indirect enum SwiftType: Hashable {
| `- note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
3 | case nested(NestedSwiftType)
4 | case nominal(NominalSwiftType)
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType+Stdlib.swift:36:16: warning: static property 'nsArray' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
34 |
35 | /// Foundation's `NSArray` type.
36 | static let nsArray = SwiftType.typeName("NSArray")
| |- warning: static property 'nsArray' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'nsArray' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | /// Foundation's `NSDictionary` type.
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType.swift:2:22: note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
1 | /// Represents a Swift type structure
2 | public indirect enum SwiftType: Hashable {
| `- note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
3 | case nested(NestedSwiftType)
4 | case nominal(NominalSwiftType)
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType+Stdlib.swift:39:16: warning: static property 'nsDictionary' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
37 |
38 | /// Foundation's `NSDictionary` type.
39 | static let nsDictionary = SwiftType.typeName("NSDictionary")
| |- warning: static property 'nsDictionary' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'nsDictionary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// A special type name to use to represent the `instancetype` type from
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType.swift:2:22: note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
1 | /// Represents a Swift type structure
2 | public indirect enum SwiftType: Hashable {
| `- note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
3 | case nested(NestedSwiftType)
4 | case nominal(NominalSwiftType)
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType+Stdlib.swift:43:16: warning: static property 'instancetype' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// A special type name to use to represent the `instancetype` type from
42 | /// Objective-C.
43 | static let instancetype = SwiftType.typeName("__instancetype")
| |- warning: static property 'instancetype' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'instancetype' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | /// The standard Swift error protocol type definition.
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType.swift:2:22: note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
1 | /// Represents a Swift type structure
2 | public indirect enum SwiftType: Hashable {
| `- note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
3 | case nested(NestedSwiftType)
4 | case nominal(NominalSwiftType)
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType+Stdlib.swift:46:16: warning: static property 'swiftError' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
44 |
45 | /// The standard Swift error protocol type definition.
46 | static let swiftError = SwiftType.typeName("Error")
| |- warning: static property 'swiftError' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'swiftError' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | /// A special type used in place of definitions with improper typing.
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType.swift:2:22: note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
1 | /// Represents a Swift type structure
2 | public indirect enum SwiftType: Hashable {
| `- note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
3 | case nested(NestedSwiftType)
4 | case nominal(NominalSwiftType)
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType+Stdlib.swift:52:16: warning: static property 'errorType' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
50 | /// - note: This is *not* the equivalent to Swift's `Error` protocol type.
51 | /// For that type, use `SwiftType.swiftError`.
52 | static let errorType = SwiftType.typeName("<<error type>>")
| |- warning: static property 'errorType' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'errorType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 |
54 | /// Creates an open range type with the given operand.
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType.swift:2:22: note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
1 | /// Represents a Swift type structure
2 | public indirect enum SwiftType: Hashable {
| `- note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
3 | case nested(NestedSwiftType)
4 | case nominal(NominalSwiftType)
/host/spi-builder-workspace/Sources/SwiftAST/SwiftTypeParser.swift:735:14: warning: associated value 'notProtocolComposable' of 'Sendable'-conforming enum 'Error' has non-sendable type 'SwiftType'; this is an error in the Swift 6 language mode
733 | case expectedMetatype(Int)
734 | case expectedBlockType(Int)
735 | case notProtocolComposable(SwiftType, Int)
| `- warning: associated value 'notProtocolComposable' of 'Sendable'-conforming enum 'Error' has non-sendable type 'SwiftType'; this is an error in the Swift 6 language mode
736 | case unexpectedToken(String, Int)
737 |
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType.swift:2:22: note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
1 | /// Represents a Swift type structure
2 | public indirect enum SwiftType: Hashable {
| `- note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
3 | case nested(NestedSwiftType)
4 | case nominal(NominalSwiftType)
/host/spi-builder-workspace/Sources/SwiftAST/SwiftTypeParser.swift:759:24: 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
757 |
758 | enum SwiftTypeToken: String, TokenProtocol {
759 | 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
760 |
761 | public static var eofToken: SwiftTypeToken = .eof
/host/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
/host/spi-builder-workspace/Sources/SwiftAST/SwiftTypeParser.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 | /// Support for parsing of Swift type signatures into `SwiftType` structures.
:
757 |
758 | enum SwiftTypeToken: String, TokenProtocol {
759 | 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
760 |
761 | public static var eofToken: SwiftTypeToken = .eof
/host/spi-builder-workspace/Sources/SwiftAST/SwiftTypeParser.swift:761:23: 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
759 | private static let identifierLexer = (.letter | "_") + (.letter | "_" | .digit)*
760 |
761 | public static var eofToken: SwiftTypeToken = .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
762 |
763 | case openParens = "("
/host/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` (`<<`),
/host/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`
/host/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`
/host/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?`,
/host/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` (`..<`),
/host/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.
/host/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`
/host/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` (`&&`).
/host/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` (`||`).
/host/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.
/host/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`).
/host/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 |
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType+Stdlib.swift:3:16: warning: static property 'void' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public extension SwiftType {
2 | /// Swift's `Void` type.
3 | static let void = SwiftType.tuple(.empty)
| |- warning: static property 'void' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'void' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
4 |
5 | /// Swift's stdlib `Int` type.
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType.swift:2:22: note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
1 | /// Represents a Swift type structure
2 | public indirect enum SwiftType: Hashable {
| `- note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
3 | case nested(NestedSwiftType)
4 | case nominal(NominalSwiftType)
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType+Stdlib.swift:6:16: warning: static property 'int' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// Swift's stdlib `Int` type.
6 | static let int = SwiftType.typeName("Int")
| |- warning: static property 'int' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'int' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | /// Swift's stdlib `UInt` type.
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType.swift:2:22: note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
1 | /// Represents a Swift type structure
2 | public indirect enum SwiftType: Hashable {
| `- note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
3 | case nested(NestedSwiftType)
4 | case nominal(NominalSwiftType)
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType+Stdlib.swift:9:16: warning: static property 'uint' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// Swift's stdlib `UInt` type.
9 | static let uint = SwiftType.typeName("UInt")
| |- warning: static property 'uint' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uint' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | /// Swift's stdlib `String` type.
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType.swift:2:22: note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
1 | /// Represents a Swift type structure
2 | public indirect enum SwiftType: Hashable {
| `- note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
3 | case nested(NestedSwiftType)
4 | case nominal(NominalSwiftType)
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType+Stdlib.swift:12:16: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Swift's stdlib `String` type.
12 | static let string = SwiftType.typeName("String")
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'string' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /// Swift's stdlib `Bool` type.
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType.swift:2:22: note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
1 | /// Represents a Swift type structure
2 | public indirect enum SwiftType: Hashable {
| `- note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
3 | case nested(NestedSwiftType)
4 | case nominal(NominalSwiftType)
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType+Stdlib.swift:15:16: warning: static property 'bool' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Swift's stdlib `Bool` type.
15 | static let bool = SwiftType.typeName("Bool")
| |- warning: static property 'bool' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bool' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// Swift's stdlib `Float` type.
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType.swift:2:22: note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
1 | /// Represents a Swift type structure
2 | public indirect enum SwiftType: Hashable {
| `- note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
3 | case nested(NestedSwiftType)
4 | case nominal(NominalSwiftType)
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType+Stdlib.swift:18:16: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | /// Swift's stdlib `Float` type.
18 | static let float = SwiftType.typeName("Float")
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'float' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | /// Swift's stdlib `Double` type.
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType.swift:2:22: note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
1 | /// Represents a Swift type structure
2 | public indirect enum SwiftType: Hashable {
| `- note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
3 | case nested(NestedSwiftType)
4 | case nominal(NominalSwiftType)
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType+Stdlib.swift:21:16: warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | /// Swift's stdlib `Double` type.
21 | static let double = SwiftType.typeName("Double")
| |- warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'double' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | /// CoreGraphics' `CGFloat` type.
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType.swift:2:22: note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
1 | /// Represents a Swift type structure
2 | public indirect enum SwiftType: Hashable {
| `- note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
3 | case nested(NestedSwiftType)
4 | case nominal(NominalSwiftType)
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType+Stdlib.swift:24:16: warning: static property 'cgFloat' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | /// CoreGraphics' `CGFloat` type.
24 | static let cgFloat = SwiftType.typeName("CGFloat")
| |- warning: static property 'cgFloat' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cgFloat' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | /// Swift's stdlib `Any` type.
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType.swift:2:22: note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
1 | /// Represents a Swift type structure
2 | public indirect enum SwiftType: Hashable {
| `- note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
3 | case nested(NestedSwiftType)
4 | case nominal(NominalSwiftType)
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType+Stdlib.swift:27:16: warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | /// Swift's stdlib `Any` type.
27 | static let any = SwiftType.typeName("Any")
| |- warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'any' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /// Swift's stdlib `AnyObject` type.
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType.swift:2:22: note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
1 | /// Represents a Swift type structure
2 | public indirect enum SwiftType: Hashable {
| `- note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
3 | case nested(NestedSwiftType)
4 | case nominal(NominalSwiftType)
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType+Stdlib.swift:30:16: warning: static property 'anyObject' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// Swift's stdlib `AnyObject` type.
30 | static let anyObject = SwiftType.typeName("AnyObject")
| |- warning: static property 'anyObject' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'anyObject' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | /// Objective-C's generic Selector type.
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType.swift:2:22: note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
1 | /// Represents a Swift type structure
2 | public indirect enum SwiftType: Hashable {
| `- note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
3 | case nested(NestedSwiftType)
4 | case nominal(NominalSwiftType)
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType+Stdlib.swift:33:16: warning: static property 'selector' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | /// Objective-C's generic Selector type.
33 | static let selector = SwiftType.typeName("Selector")
| |- warning: static property 'selector' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'selector' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | /// Foundation's `NSArray` type.
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType.swift:2:22: note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
1 | /// Represents a Swift type structure
2 | public indirect enum SwiftType: Hashable {
| `- note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
3 | case nested(NestedSwiftType)
4 | case nominal(NominalSwiftType)
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType+Stdlib.swift:36:16: warning: static property 'nsArray' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
34 |
35 | /// Foundation's `NSArray` type.
36 | static let nsArray = SwiftType.typeName("NSArray")
| |- warning: static property 'nsArray' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'nsArray' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | /// Foundation's `NSDictionary` type.
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType.swift:2:22: note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
1 | /// Represents a Swift type structure
2 | public indirect enum SwiftType: Hashable {
| `- note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
3 | case nested(NestedSwiftType)
4 | case nominal(NominalSwiftType)
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType+Stdlib.swift:39:16: warning: static property 'nsDictionary' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
37 |
38 | /// Foundation's `NSDictionary` type.
39 | static let nsDictionary = SwiftType.typeName("NSDictionary")
| |- warning: static property 'nsDictionary' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'nsDictionary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// A special type name to use to represent the `instancetype` type from
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType.swift:2:22: note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
1 | /// Represents a Swift type structure
2 | public indirect enum SwiftType: Hashable {
| `- note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
3 | case nested(NestedSwiftType)
4 | case nominal(NominalSwiftType)
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType+Stdlib.swift:43:16: warning: static property 'instancetype' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// A special type name to use to represent the `instancetype` type from
42 | /// Objective-C.
43 | static let instancetype = SwiftType.typeName("__instancetype")
| |- warning: static property 'instancetype' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'instancetype' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | /// The standard Swift error protocol type definition.
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType.swift:2:22: note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
1 | /// Represents a Swift type structure
2 | public indirect enum SwiftType: Hashable {
| `- note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
3 | case nested(NestedSwiftType)
4 | case nominal(NominalSwiftType)
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType+Stdlib.swift:46:16: warning: static property 'swiftError' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
44 |
45 | /// The standard Swift error protocol type definition.
46 | static let swiftError = SwiftType.typeName("Error")
| |- warning: static property 'swiftError' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'swiftError' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | /// A special type used in place of definitions with improper typing.
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType.swift:2:22: note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
1 | /// Represents a Swift type structure
2 | public indirect enum SwiftType: Hashable {
| `- note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
3 | case nested(NestedSwiftType)
4 | case nominal(NominalSwiftType)
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType+Stdlib.swift:52:16: warning: static property 'errorType' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
50 | /// - note: This is *not* the equivalent to Swift's `Error` protocol type.
51 | /// For that type, use `SwiftType.swiftError`.
52 | static let errorType = SwiftType.typeName("<<error type>>")
| |- warning: static property 'errorType' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'errorType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 |
54 | /// Creates an open range type with the given operand.
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType.swift:2:22: note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
1 | /// Represents a Swift type structure
2 | public indirect enum SwiftType: Hashable {
| `- note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
3 | case nested(NestedSwiftType)
4 | case nominal(NominalSwiftType)
/host/spi-builder-workspace/Sources/SwiftAST/SwiftTypeParser.swift:735:14: warning: associated value 'notProtocolComposable' of 'Sendable'-conforming enum 'Error' has non-sendable type 'SwiftType'; this is an error in the Swift 6 language mode
733 | case expectedMetatype(Int)
734 | case expectedBlockType(Int)
735 | case notProtocolComposable(SwiftType, Int)
| `- warning: associated value 'notProtocolComposable' of 'Sendable'-conforming enum 'Error' has non-sendable type 'SwiftType'; this is an error in the Swift 6 language mode
736 | case unexpectedToken(String, Int)
737 |
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType.swift:2:22: note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
1 | /// Represents a Swift type structure
2 | public indirect enum SwiftType: Hashable {
| `- note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
3 | case nested(NestedSwiftType)
4 | case nominal(NominalSwiftType)
/host/spi-builder-workspace/Sources/SwiftAST/SwiftTypeParser.swift:759:24: 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
757 |
758 | enum SwiftTypeToken: String, TokenProtocol {
759 | 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
760 |
761 | public static var eofToken: SwiftTypeToken = .eof
/host/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
/host/spi-builder-workspace/Sources/SwiftAST/SwiftTypeParser.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 | /// Support for parsing of Swift type signatures into `SwiftType` structures.
:
757 |
758 | enum SwiftTypeToken: String, TokenProtocol {
759 | 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
760 |
761 | public static var eofToken: SwiftTypeToken = .eof
/host/spi-builder-workspace/Sources/SwiftAST/SwiftTypeParser.swift:761:23: 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
759 | private static let identifierLexer = (.letter | "_") + (.letter | "_" | .digit)*
760 |
761 | public static var eofToken: SwiftTypeToken = .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
762 |
763 | case openParens = "("
[513/563] Emitting module SwiftAST
/host/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 = "("
/host/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
/host/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 = "("
/host/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 | }
/host/spi-builder-workspace/Sources/SwiftAST/Serialization/SerializationOptions.swift:5:23: warning: static property 'encodeExpressionTypes' is not concurrency-safe because non-'Sendable' type 'SerializationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct SerializationOptions: OptionSet {
| `- note: consider making struct 'SerializationOptions' conform to the 'Sendable' protocol
2 | internal static let _encodeExpressionTypes = CodingUserInfoKey(rawValue: "_encodeExpressionTypes")!
3 |
4 | /// Whether to encode current resolved types when encoding expressions
5 | public static let encodeExpressionTypes = SerializationOptions(rawValue: 1 << 0)
| |- warning: static property 'encodeExpressionTypes' is not concurrency-safe because non-'Sendable' type 'SerializationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'encodeExpressionTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | public var rawValue: Int
/host/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
/host/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
/host/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
/host/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 {
/host/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
/host/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)
/host/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` (`<<`),
/host/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`
/host/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`
/host/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?`,
/host/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` (`..<`),
/host/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.
/host/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`
/host/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` (`&&`).
/host/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` (`||`).
/host/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.
/host/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`).
/host/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 |
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType+Stdlib.swift:3:16: warning: static property 'void' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public extension SwiftType {
2 | /// Swift's `Void` type.
3 | static let void = SwiftType.tuple(.empty)
| |- warning: static property 'void' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'void' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
4 |
5 | /// Swift's stdlib `Int` type.
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType.swift:2:22: note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
1 | /// Represents a Swift type structure
2 | public indirect enum SwiftType: Hashable {
| `- note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
3 | case nested(NestedSwiftType)
4 | case nominal(NominalSwiftType)
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType+Stdlib.swift:6:16: warning: static property 'int' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// Swift's stdlib `Int` type.
6 | static let int = SwiftType.typeName("Int")
| |- warning: static property 'int' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'int' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | /// Swift's stdlib `UInt` type.
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType.swift:2:22: note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
1 | /// Represents a Swift type structure
2 | public indirect enum SwiftType: Hashable {
| `- note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
3 | case nested(NestedSwiftType)
4 | case nominal(NominalSwiftType)
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType+Stdlib.swift:9:16: warning: static property 'uint' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// Swift's stdlib `UInt` type.
9 | static let uint = SwiftType.typeName("UInt")
| |- warning: static property 'uint' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uint' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | /// Swift's stdlib `String` type.
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType.swift:2:22: note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
1 | /// Represents a Swift type structure
2 | public indirect enum SwiftType: Hashable {
| `- note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
3 | case nested(NestedSwiftType)
4 | case nominal(NominalSwiftType)
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType+Stdlib.swift:12:16: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Swift's stdlib `String` type.
12 | static let string = SwiftType.typeName("String")
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'string' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /// Swift's stdlib `Bool` type.
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType.swift:2:22: note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
1 | /// Represents a Swift type structure
2 | public indirect enum SwiftType: Hashable {
| `- note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
3 | case nested(NestedSwiftType)
4 | case nominal(NominalSwiftType)
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType+Stdlib.swift:15:16: warning: static property 'bool' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Swift's stdlib `Bool` type.
15 | static let bool = SwiftType.typeName("Bool")
| |- warning: static property 'bool' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bool' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// Swift's stdlib `Float` type.
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType.swift:2:22: note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
1 | /// Represents a Swift type structure
2 | public indirect enum SwiftType: Hashable {
| `- note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
3 | case nested(NestedSwiftType)
4 | case nominal(NominalSwiftType)
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType+Stdlib.swift:18:16: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | /// Swift's stdlib `Float` type.
18 | static let float = SwiftType.typeName("Float")
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'float' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | /// Swift's stdlib `Double` type.
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType.swift:2:22: note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
1 | /// Represents a Swift type structure
2 | public indirect enum SwiftType: Hashable {
| `- note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
3 | case nested(NestedSwiftType)
4 | case nominal(NominalSwiftType)
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType+Stdlib.swift:21:16: warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | /// Swift's stdlib `Double` type.
21 | static let double = SwiftType.typeName("Double")
| |- warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'double' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | /// CoreGraphics' `CGFloat` type.
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType.swift:2:22: note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
1 | /// Represents a Swift type structure
2 | public indirect enum SwiftType: Hashable {
| `- note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
3 | case nested(NestedSwiftType)
4 | case nominal(NominalSwiftType)
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType+Stdlib.swift:24:16: warning: static property 'cgFloat' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | /// CoreGraphics' `CGFloat` type.
24 | static let cgFloat = SwiftType.typeName("CGFloat")
| |- warning: static property 'cgFloat' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cgFloat' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | /// Swift's stdlib `Any` type.
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType.swift:2:22: note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
1 | /// Represents a Swift type structure
2 | public indirect enum SwiftType: Hashable {
| `- note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
3 | case nested(NestedSwiftType)
4 | case nominal(NominalSwiftType)
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType+Stdlib.swift:27:16: warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | /// Swift's stdlib `Any` type.
27 | static let any = SwiftType.typeName("Any")
| |- warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'any' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /// Swift's stdlib `AnyObject` type.
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType.swift:2:22: note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
1 | /// Represents a Swift type structure
2 | public indirect enum SwiftType: Hashable {
| `- note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
3 | case nested(NestedSwiftType)
4 | case nominal(NominalSwiftType)
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType+Stdlib.swift:30:16: warning: static property 'anyObject' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// Swift's stdlib `AnyObject` type.
30 | static let anyObject = SwiftType.typeName("AnyObject")
| |- warning: static property 'anyObject' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'anyObject' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | /// Objective-C's generic Selector type.
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType.swift:2:22: note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
1 | /// Represents a Swift type structure
2 | public indirect enum SwiftType: Hashable {
| `- note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
3 | case nested(NestedSwiftType)
4 | case nominal(NominalSwiftType)
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType+Stdlib.swift:33:16: warning: static property 'selector' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | /// Objective-C's generic Selector type.
33 | static let selector = SwiftType.typeName("Selector")
| |- warning: static property 'selector' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'selector' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | /// Foundation's `NSArray` type.
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType.swift:2:22: note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
1 | /// Represents a Swift type structure
2 | public indirect enum SwiftType: Hashable {
| `- note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
3 | case nested(NestedSwiftType)
4 | case nominal(NominalSwiftType)
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType+Stdlib.swift:36:16: warning: static property 'nsArray' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
34 |
35 | /// Foundation's `NSArray` type.
36 | static let nsArray = SwiftType.typeName("NSArray")
| |- warning: static property 'nsArray' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'nsArray' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | /// Foundation's `NSDictionary` type.
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType.swift:2:22: note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
1 | /// Represents a Swift type structure
2 | public indirect enum SwiftType: Hashable {
| `- note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
3 | case nested(NestedSwiftType)
4 | case nominal(NominalSwiftType)
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType+Stdlib.swift:39:16: warning: static property 'nsDictionary' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
37 |
38 | /// Foundation's `NSDictionary` type.
39 | static let nsDictionary = SwiftType.typeName("NSDictionary")
| |- warning: static property 'nsDictionary' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'nsDictionary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// A special type name to use to represent the `instancetype` type from
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType.swift:2:22: note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
1 | /// Represents a Swift type structure
2 | public indirect enum SwiftType: Hashable {
| `- note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
3 | case nested(NestedSwiftType)
4 | case nominal(NominalSwiftType)
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType+Stdlib.swift:43:16: warning: static property 'instancetype' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// A special type name to use to represent the `instancetype` type from
42 | /// Objective-C.
43 | static let instancetype = SwiftType.typeName("__instancetype")
| |- warning: static property 'instancetype' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'instancetype' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | /// The standard Swift error protocol type definition.
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType.swift:2:22: note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
1 | /// Represents a Swift type structure
2 | public indirect enum SwiftType: Hashable {
| `- note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
3 | case nested(NestedSwiftType)
4 | case nominal(NominalSwiftType)
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType+Stdlib.swift:46:16: warning: static property 'swiftError' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
44 |
45 | /// The standard Swift error protocol type definition.
46 | static let swiftError = SwiftType.typeName("Error")
| |- warning: static property 'swiftError' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'swiftError' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | /// A special type used in place of definitions with improper typing.
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType.swift:2:22: note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
1 | /// Represents a Swift type structure
2 | public indirect enum SwiftType: Hashable {
| `- note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
3 | case nested(NestedSwiftType)
4 | case nominal(NominalSwiftType)
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType+Stdlib.swift:52:16: warning: static property 'errorType' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
50 | /// - note: This is *not* the equivalent to Swift's `Error` protocol type.
51 | /// For that type, use `SwiftType.swiftError`.
52 | static let errorType = SwiftType.typeName("<<error type>>")
| |- warning: static property 'errorType' is not concurrency-safe because non-'Sendable' type 'SwiftType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'errorType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 |
54 | /// Creates an open range type with the given operand.
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType.swift:2:22: note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
1 | /// Represents a Swift type structure
2 | public indirect enum SwiftType: Hashable {
| `- note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
3 | case nested(NestedSwiftType)
4 | case nominal(NominalSwiftType)
/host/spi-builder-workspace/Sources/SwiftAST/SwiftTypeParser.swift:735:14: warning: associated value 'notProtocolComposable' of 'Sendable'-conforming enum 'Error' has non-sendable type 'SwiftType'; this is an error in the Swift 6 language mode
733 | case expectedMetatype(Int)
734 | case expectedBlockType(Int)
735 | case notProtocolComposable(SwiftType, Int)
| `- warning: associated value 'notProtocolComposable' of 'Sendable'-conforming enum 'Error' has non-sendable type 'SwiftType'; this is an error in the Swift 6 language mode
736 | case unexpectedToken(String, Int)
737 |
/host/spi-builder-workspace/Sources/SwiftAST/SwiftType.swift:2:22: note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
1 | /// Represents a Swift type structure
2 | public indirect enum SwiftType: Hashable {
| `- note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
3 | case nested(NestedSwiftType)
4 | case nominal(NominalSwiftType)
/host/spi-builder-workspace/Sources/SwiftAST/SwiftTypeParser.swift:759:24: 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
757 |
758 | enum SwiftTypeToken: String, TokenProtocol {
759 | 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
760 |
761 | public static var eofToken: SwiftTypeToken = .eof
/host/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
/host/spi-builder-workspace/Sources/SwiftAST/SwiftTypeParser.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 | /// Support for parsing of Swift type signatures into `SwiftType` structures.
:
757 |
758 | enum SwiftTypeToken: String, TokenProtocol {
759 | 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
760 |
761 | public static var eofToken: SwiftTypeToken = .eof
/host/spi-builder-workspace/Sources/SwiftAST/SwiftTypeParser.swift:761:23: 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
759 | private static let identifierLexer = (.letter | "_") + (.letter | "_" | .digit)*
760 |
761 | public static var eofToken: SwiftTypeToken = .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
762 |
763 | case openParens = "("
/host/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 = "("
/host/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
/host/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 = "("
/host/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 | }
/host/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 = "("
/host/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
/host/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 = "("
/host/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 | }
/host/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 = "("
/host/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
/host/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 = "("
/host/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 | }
/host/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 = "("
/host/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
/host/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 = "("
/host/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 | }
/host/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 = "("
/host/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
/host/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 = "("
/host/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 | }
/host/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 = "("
/host/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
/host/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 = "("
/host/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 | }
/host/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 = "("
/host/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
/host/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 = "("
/host/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 | }
/host/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 = "("
/host/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
/host/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 = "("
/host/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 | }
/host/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 = "("
/host/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
/host/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 = "("
/host/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 | }
/host/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 = "("
/host/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
/host/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 = "("
/host/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 | }
/host/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 = "("
/host/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
/host/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 = "("
/host/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 | }
/host/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 = "("
/host/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
/host/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 = "("
/host/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 | }
/host/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 = "("
/host/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
/host/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 = "("
/host/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 | }
[540/563] Compiling SwiftAST ValueMatcher+Matchers.swift
[541/563] Compiling SwiftAST ValueMatcher+PartialValueMatcher.swift
[542/563] Compiling SwiftAST ValueMatcher.swift
[543/563] Compiling SwiftAST ValueMatcherConvertible.swift
[544/563] Compiling SwiftAST ValueStorage.swift
[545/563] Compiling SwiftAST ValueTransformer.swift
[546/563] Compiling SwiftAST AnonymousSyntaxNodeStatefulVisitor.swift
[547/563] Compiling SwiftAST AnonymousSyntaxNodeVisitor.swift
[548/563] Compiling SwiftAST BaseSyntaxNodeVisitor.swift
[549/563] Compiling SwiftAST ExpressionVisitor.swift
[550/563] Compiling SwiftAST StatementStatefulVisitor.swift
[551/563] Compiling SwiftAST StatementVisitor.swift
[566/573] Compiling SwiftCFG ControlFlowGraph+Creation.swift
/host/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.
[567/574] Compiling SwiftCFG NodeDefinition.swift
[568/574] Compiling SwiftCFG Stub.swift
[569/582] Compiling SwiftCFG ControlFlowGraph+Graphviz.swift
[570/582] Emitting module SwiftCFG
/host/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.
[571/583] Compiling SwiftCFG NodeDefinition.swift
[572/583] Compiling SwiftCFG DirectedGraphBase.swift
[573/583] Compiling SwiftCFG ControlFlowGraph.swift
[574/583] Emitting module SwiftCFG
/host/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.
[575/583] Compiling SwiftCFG CFGVisitResult.swift
[576/583] Compiling SwiftCFG Stub.swift
[577/583] Compiling SwiftCFG ControlFlowGraph+Visitor.swift
[578/584] Compiling SwiftCFG DirectedGraphBase.swift
[579/584] Compiling SwiftCFG ControlFlowGraph.swift
[580/584] Compiling SwiftCFG ControlFlowGraph+Graphviz.swift
[582/584] Compiling SwiftCFG CFGVisitResult.swift
[583/584] Compiling SwiftCFG ControlFlowGraph+Creation.swift
/host/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.
[584/584] Compiling SwiftCFG ControlFlowGraph+Visitor.swift
Build complete! (177.55s)
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" : "/host/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"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.