Build Information
Successful build of SwiftAST, reference 0.14.0 (75eb69
), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 07:16:46 UTC.
Swift 6 data race errors: 82
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
2 | public indirect enum SwiftType: Hashable {
| `- note: consider making enum 'SwiftType' conform to the 'Sendable' protocol
3 | case nested(NestedSwiftType)
4 | case nominal(NominalSwiftType)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/.build/checkouts/MiniLexer/Sources/MiniLexer/GrammarRules.swift:196:13: note: enum 'GrammarRule' does not conform to the 'Sendable' protocol
194 | /// any whitespace between the tokens. Fails if an unexpected whitespace is found
195 | /// between rules.
196 | public enum GrammarRule: LexerGrammarRule, Equatable, ExpressibleByUnicodeScalarLiteral, ExpressibleByArrayLiteral {
| `- note: enum 'GrammarRule' does not conform to the 'Sendable' protocol
197 | case digit
198 | case letter
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/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
/Users/admin/builder/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 = "("
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/.build/checkouts/MiniLexer/Sources/MiniLexer/GrammarRules.swift:196:13: note: enum 'GrammarRule' does not conform to the 'Sendable' protocol
194 | /// any whitespace between the tokens. Fails if an unexpected whitespace is found
195 | /// between rules.
196 | public enum GrammarRule: LexerGrammarRule, Equatable, ExpressibleByUnicodeScalarLiteral, ExpressibleByArrayLiteral {
| `- note: enum 'GrammarRule' does not conform to the 'Sendable' protocol
197 | case digit
198 | case letter
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/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
/Users/admin/builder/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 = "("
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/.build/checkouts/MiniLexer/Sources/MiniLexer/GrammarRules.swift:196:13: note: enum 'GrammarRule' does not conform to the 'Sendable' protocol
194 | /// any whitespace between the tokens. Fails if an unexpected whitespace is found
195 | /// between rules.
196 | public enum GrammarRule: LexerGrammarRule, Equatable, ExpressibleByUnicodeScalarLiteral, ExpressibleByArrayLiteral {
| `- note: enum 'GrammarRule' does not conform to the 'Sendable' protocol
197 | case digit
198 | case letter
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/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
/Users/admin/builder/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 = "("
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/.build/checkouts/MiniLexer/Sources/MiniLexer/GrammarRules.swift:196:13: note: enum 'GrammarRule' does not conform to the 'Sendable' protocol
194 | /// any whitespace between the tokens. Fails if an unexpected whitespace is found
195 | /// between rules.
196 | public enum GrammarRule: LexerGrammarRule, Equatable, ExpressibleByUnicodeScalarLiteral, ExpressibleByArrayLiteral {
| `- note: enum 'GrammarRule' does not conform to the 'Sendable' protocol
197 | case digit
198 | case letter
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/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
/Users/admin/builder/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 = "("
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/.build/checkouts/MiniLexer/Sources/MiniLexer/GrammarRules.swift:196:13: note: enum 'GrammarRule' does not conform to the 'Sendable' protocol
194 | /// any whitespace between the tokens. Fails if an unexpected whitespace is found
195 | /// between rules.
196 | public enum GrammarRule: LexerGrammarRule, Equatable, ExpressibleByUnicodeScalarLiteral, ExpressibleByArrayLiteral {
| `- note: enum 'GrammarRule' does not conform to the 'Sendable' protocol
197 | case digit
198 | case letter
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/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
/Users/admin/builder/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 = "("
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/.build/checkouts/MiniLexer/Sources/MiniLexer/GrammarRules.swift:196:13: note: enum 'GrammarRule' does not conform to the 'Sendable' protocol
194 | /// any whitespace between the tokens. Fails if an unexpected whitespace is found
195 | /// between rules.
196 | public enum GrammarRule: LexerGrammarRule, Equatable, ExpressibleByUnicodeScalarLiteral, ExpressibleByArrayLiteral {
| `- note: enum 'GrammarRule' does not conform to the 'Sendable' protocol
197 | case digit
198 | case letter
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/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
/Users/admin/builder/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 = "("
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/FunctionSignatureParser.swift:542:28: warning: static property 'identifierLexer' is not concurrency-safe because non-'Sendable' type 'GrammarRule' may have shared mutable state; this is an error in the Swift 6 language mode
540 |
541 | private enum Token: String, TokenProtocol {
542 | private static let identifierLexer = (.letter | "_") + (.letter | "_" | .digit)*
| `- warning: static property 'identifierLexer' is not concurrency-safe because non-'Sendable' type 'GrammarRule' may have shared mutable state; this is an error in the Swift 6 language mode
543 |
544 | case openParens = "("
/Users/admin/builder/spi-builder-workspace/.build/checkouts/MiniLexer/Sources/MiniLexer/GrammarRules.swift:196:13: note: enum 'GrammarRule' does not conform to the 'Sendable' protocol
194 | /// any whitespace between the tokens. Fails if an unexpected whitespace is found
195 | /// between rules.
196 | public enum GrammarRule: LexerGrammarRule, Equatable, ExpressibleByUnicodeScalarLiteral, ExpressibleByArrayLiteral {
| `- note: enum 'GrammarRule' does not conform to the 'Sendable' protocol
197 | case digit
198 | case letter
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/FunctionSignatureParser.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MiniLexer'
1 | import MiniLexer
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MiniLexer'
2 |
3 | /// Provides capabilities of parsing function signatures and argument arrays
:
540 |
541 | private enum Token: String, TokenProtocol {
542 | private static let identifierLexer = (.letter | "_") + (.letter | "_" | .digit)*
| |- note: add '@MainActor' to make static property 'identifierLexer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
543 |
544 | case openParens = "("
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/FunctionSignatureParser.swift:657:20: warning: static property 'eofToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
655 | }
656 |
657 | static var eofToken: Token = .eof
| |- warning: static property 'eofToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'eofToken' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'eofToken' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
658 | }
659 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/FunctionSignatureParser.swift:542:28: warning: static property 'identifierLexer' is not concurrency-safe because non-'Sendable' type 'GrammarRule' may have shared mutable state; this is an error in the Swift 6 language mode
540 |
541 | private enum Token: String, TokenProtocol {
542 | private static let identifierLexer = (.letter | "_") + (.letter | "_" | .digit)*
| `- warning: static property 'identifierLexer' is not concurrency-safe because non-'Sendable' type 'GrammarRule' may have shared mutable state; this is an error in the Swift 6 language mode
543 |
544 | case openParens = "("
/Users/admin/builder/spi-builder-workspace/.build/checkouts/MiniLexer/Sources/MiniLexer/GrammarRules.swift:196:13: note: enum 'GrammarRule' does not conform to the 'Sendable' protocol
194 | /// any whitespace between the tokens. Fails if an unexpected whitespace is found
195 | /// between rules.
196 | public enum GrammarRule: LexerGrammarRule, Equatable, ExpressibleByUnicodeScalarLiteral, ExpressibleByArrayLiteral {
| `- note: enum 'GrammarRule' does not conform to the 'Sendable' protocol
197 | case digit
198 | case letter
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/FunctionSignatureParser.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MiniLexer'
1 | import MiniLexer
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MiniLexer'
2 |
3 | /// Provides capabilities of parsing function signatures and argument arrays
:
540 |
541 | private enum Token: String, TokenProtocol {
542 | private static let identifierLexer = (.letter | "_") + (.letter | "_" | .digit)*
| |- note: add '@MainActor' to make static property 'identifierLexer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
543 |
544 | case openParens = "("
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/FunctionSignatureParser.swift:657:20: warning: static property 'eofToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
655 | }
656 |
657 | static var eofToken: Token = .eof
| |- warning: static property 'eofToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'eofToken' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'eofToken' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
658 | }
659 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/FunctionSignatureParser.swift:542:28: warning: static property 'identifierLexer' is not concurrency-safe because non-'Sendable' type 'GrammarRule' may have shared mutable state; this is an error in the Swift 6 language mode
540 |
541 | private enum Token: String, TokenProtocol {
542 | private static let identifierLexer = (.letter | "_") + (.letter | "_" | .digit)*
| `- warning: static property 'identifierLexer' is not concurrency-safe because non-'Sendable' type 'GrammarRule' may have shared mutable state; this is an error in the Swift 6 language mode
543 |
544 | case openParens = "("
/Users/admin/builder/spi-builder-workspace/.build/checkouts/MiniLexer/Sources/MiniLexer/GrammarRules.swift:196:13: note: enum 'GrammarRule' does not conform to the 'Sendable' protocol
194 | /// any whitespace between the tokens. Fails if an unexpected whitespace is found
195 | /// between rules.
196 | public enum GrammarRule: LexerGrammarRule, Equatable, ExpressibleByUnicodeScalarLiteral, ExpressibleByArrayLiteral {
| `- note: enum 'GrammarRule' does not conform to the 'Sendable' protocol
197 | case digit
198 | case letter
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/FunctionSignatureParser.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MiniLexer'
1 | import MiniLexer
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MiniLexer'
2 |
3 | /// Provides capabilities of parsing function signatures and argument arrays
:
540 |
541 | private enum Token: String, TokenProtocol {
542 | private static let identifierLexer = (.letter | "_") + (.letter | "_" | .digit)*
| |- note: add '@MainActor' to make static property 'identifierLexer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
543 |
544 | case openParens = "("
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/FunctionSignatureParser.swift:657:20: warning: static property 'eofToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
655 | }
656 |
657 | static var eofToken: Token = .eof
| |- warning: static property 'eofToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'eofToken' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'eofToken' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
658 | }
659 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/FunctionSignatureParser.swift:542:28: warning: static property 'identifierLexer' is not concurrency-safe because non-'Sendable' type 'GrammarRule' may have shared mutable state; this is an error in the Swift 6 language mode
540 |
541 | private enum Token: String, TokenProtocol {
542 | private static let identifierLexer = (.letter | "_") + (.letter | "_" | .digit)*
| `- warning: static property 'identifierLexer' is not concurrency-safe because non-'Sendable' type 'GrammarRule' may have shared mutable state; this is an error in the Swift 6 language mode
543 |
544 | case openParens = "("
/Users/admin/builder/spi-builder-workspace/.build/checkouts/MiniLexer/Sources/MiniLexer/GrammarRules.swift:196:13: note: enum 'GrammarRule' does not conform to the 'Sendable' protocol
194 | /// any whitespace between the tokens. Fails if an unexpected whitespace is found
195 | /// between rules.
196 | public enum GrammarRule: LexerGrammarRule, Equatable, ExpressibleByUnicodeScalarLiteral, ExpressibleByArrayLiteral {
| `- note: enum 'GrammarRule' does not conform to the 'Sendable' protocol
197 | case digit
198 | case letter
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/FunctionSignatureParser.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MiniLexer'
1 | import MiniLexer
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MiniLexer'
2 |
3 | /// Provides capabilities of parsing function signatures and argument arrays
:
540 |
541 | private enum Token: String, TokenProtocol {
542 | private static let identifierLexer = (.letter | "_") + (.letter | "_" | .digit)*
| |- note: add '@MainActor' to make static property 'identifierLexer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
543 |
544 | case openParens = "("
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/FunctionSignatureParser.swift:657:20: warning: static property 'eofToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
655 | }
656 |
657 | static var eofToken: Token = .eof
| |- warning: static property 'eofToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'eofToken' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'eofToken' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
658 | }
659 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/FunctionSignatureParser.swift:542:28: warning: static property 'identifierLexer' is not concurrency-safe because non-'Sendable' type 'GrammarRule' may have shared mutable state; this is an error in the Swift 6 language mode
540 |
541 | private enum Token: String, TokenProtocol {
542 | private static let identifierLexer = (.letter | "_") + (.letter | "_" | .digit)*
| `- warning: static property 'identifierLexer' is not concurrency-safe because non-'Sendable' type 'GrammarRule' may have shared mutable state; this is an error in the Swift 6 language mode
543 |
544 | case openParens = "("
/Users/admin/builder/spi-builder-workspace/.build/checkouts/MiniLexer/Sources/MiniLexer/GrammarRules.swift:196:13: note: enum 'GrammarRule' does not conform to the 'Sendable' protocol
194 | /// any whitespace between the tokens. Fails if an unexpected whitespace is found
195 | /// between rules.
196 | public enum GrammarRule: LexerGrammarRule, Equatable, ExpressibleByUnicodeScalarLiteral, ExpressibleByArrayLiteral {
| `- note: enum 'GrammarRule' does not conform to the 'Sendable' protocol
197 | case digit
198 | case letter
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/FunctionSignatureParser.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MiniLexer'
1 | import MiniLexer
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MiniLexer'
2 |
3 | /// Provides capabilities of parsing function signatures and argument arrays
:
540 |
541 | private enum Token: String, TokenProtocol {
542 | private static let identifierLexer = (.letter | "_") + (.letter | "_" | .digit)*
| |- note: add '@MainActor' to make static property 'identifierLexer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
543 |
544 | case openParens = "("
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/FunctionSignatureParser.swift:657:20: warning: static property 'eofToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
655 | }
656 |
657 | static var eofToken: Token = .eof
| |- warning: static property 'eofToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'eofToken' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'eofToken' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
658 | }
659 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/FunctionSignatureParser.swift:542:28: warning: static property 'identifierLexer' is not concurrency-safe because non-'Sendable' type 'GrammarRule' may have shared mutable state; this is an error in the Swift 6 language mode
540 |
541 | private enum Token: String, TokenProtocol {
542 | private static let identifierLexer = (.letter | "_") + (.letter | "_" | .digit)*
| `- warning: static property 'identifierLexer' is not concurrency-safe because non-'Sendable' type 'GrammarRule' may have shared mutable state; this is an error in the Swift 6 language mode
543 |
544 | case openParens = "("
/Users/admin/builder/spi-builder-workspace/.build/checkouts/MiniLexer/Sources/MiniLexer/GrammarRules.swift:196:13: note: enum 'GrammarRule' does not conform to the 'Sendable' protocol
194 | /// any whitespace between the tokens. Fails if an unexpected whitespace is found
195 | /// between rules.
196 | public enum GrammarRule: LexerGrammarRule, Equatable, ExpressibleByUnicodeScalarLiteral, ExpressibleByArrayLiteral {
| `- note: enum 'GrammarRule' does not conform to the 'Sendable' protocol
197 | case digit
198 | case letter
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/FunctionSignatureParser.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MiniLexer'
1 | import MiniLexer
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MiniLexer'
2 |
3 | /// Provides capabilities of parsing function signatures and argument arrays
:
540 |
541 | private enum Token: String, TokenProtocol {
542 | private static let identifierLexer = (.letter | "_") + (.letter | "_" | .digit)*
| |- note: add '@MainActor' to make static property 'identifierLexer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
543 |
544 | case openParens = "("
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/FunctionSignatureParser.swift:657:20: warning: static property 'eofToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
655 | }
656 |
657 | static var eofToken: Token = .eof
| |- warning: static property 'eofToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'eofToken' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'eofToken' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
658 | }
659 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/FunctionSignatureParser.swift:542:28: warning: static property 'identifierLexer' is not concurrency-safe because non-'Sendable' type 'GrammarRule' may have shared mutable state; this is an error in the Swift 6 language mode
540 |
541 | private enum Token: String, TokenProtocol {
542 | private static let identifierLexer = (.letter | "_") + (.letter | "_" | .digit)*
| `- warning: static property 'identifierLexer' is not concurrency-safe because non-'Sendable' type 'GrammarRule' may have shared mutable state; this is an error in the Swift 6 language mode
543 |
544 | case openParens = "("
/Users/admin/builder/spi-builder-workspace/.build/checkouts/MiniLexer/Sources/MiniLexer/GrammarRules.swift:196:13: note: enum 'GrammarRule' does not conform to the 'Sendable' protocol
194 | /// any whitespace between the tokens. Fails if an unexpected whitespace is found
195 | /// between rules.
196 | public enum GrammarRule: LexerGrammarRule, Equatable, ExpressibleByUnicodeScalarLiteral, ExpressibleByArrayLiteral {
| `- note: enum 'GrammarRule' does not conform to the 'Sendable' protocol
197 | case digit
198 | case letter
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/FunctionSignatureParser.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MiniLexer'
1 | import MiniLexer
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MiniLexer'
2 |
3 | /// Provides capabilities of parsing function signatures and argument arrays
:
540 |
541 | private enum Token: String, TokenProtocol {
542 | private static let identifierLexer = (.letter | "_") + (.letter | "_" | .digit)*
| |- note: add '@MainActor' to make static property 'identifierLexer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
543 |
544 | case openParens = "("
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/FunctionSignatureParser.swift:657:20: warning: static property 'eofToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
655 | }
656 |
657 | static var eofToken: Token = .eof
| |- warning: static property 'eofToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'eofToken' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'eofToken' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
658 | }
659 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/FunctionSignatureParser.swift:542:28: warning: static property 'identifierLexer' is not concurrency-safe because non-'Sendable' type 'GrammarRule' may have shared mutable state; this is an error in the Swift 6 language mode
540 |
541 | private enum Token: String, TokenProtocol {
542 | private static let identifierLexer = (.letter | "_") + (.letter | "_" | .digit)*
| `- warning: static property 'identifierLexer' is not concurrency-safe because non-'Sendable' type 'GrammarRule' may have shared mutable state; this is an error in the Swift 6 language mode
543 |
544 | case openParens = "("
/Users/admin/builder/spi-builder-workspace/.build/checkouts/MiniLexer/Sources/MiniLexer/GrammarRules.swift:196:13: note: enum 'GrammarRule' does not conform to the 'Sendable' protocol
194 | /// any whitespace between the tokens. Fails if an unexpected whitespace is found
195 | /// between rules.
196 | public enum GrammarRule: LexerGrammarRule, Equatable, ExpressibleByUnicodeScalarLiteral, ExpressibleByArrayLiteral {
| `- note: enum 'GrammarRule' does not conform to the 'Sendable' protocol
197 | case digit
198 | case letter
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/FunctionSignatureParser.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MiniLexer'
1 | import MiniLexer
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MiniLexer'
2 |
3 | /// Provides capabilities of parsing function signatures and argument arrays
:
540 |
541 | private enum Token: String, TokenProtocol {
542 | private static let identifierLexer = (.letter | "_") + (.letter | "_" | .digit)*
| |- note: add '@MainActor' to make static property 'identifierLexer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
543 |
544 | case openParens = "("
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/FunctionSignatureParser.swift:657:20: warning: static property 'eofToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
655 | }
656 |
657 | static var eofToken: Token = .eof
| |- warning: static property 'eofToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'eofToken' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'eofToken' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
658 | }
659 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/FunctionSignatureParser.swift:542:28: warning: static property 'identifierLexer' is not concurrency-safe because non-'Sendable' type 'GrammarRule' may have shared mutable state; this is an error in the Swift 6 language mode
540 |
541 | private enum Token: String, TokenProtocol {
542 | private static let identifierLexer = (.letter | "_") + (.letter | "_" | .digit)*
| `- warning: static property 'identifierLexer' is not concurrency-safe because non-'Sendable' type 'GrammarRule' may have shared mutable state; this is an error in the Swift 6 language mode
543 |
544 | case openParens = "("
/Users/admin/builder/spi-builder-workspace/.build/checkouts/MiniLexer/Sources/MiniLexer/GrammarRules.swift:196:13: note: enum 'GrammarRule' does not conform to the 'Sendable' protocol
194 | /// any whitespace between the tokens. Fails if an unexpected whitespace is found
195 | /// between rules.
196 | public enum GrammarRule: LexerGrammarRule, Equatable, ExpressibleByUnicodeScalarLiteral, ExpressibleByArrayLiteral {
| `- note: enum 'GrammarRule' does not conform to the 'Sendable' protocol
197 | case digit
198 | case letter
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/FunctionSignatureParser.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MiniLexer'
1 | import MiniLexer
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MiniLexer'
2 |
3 | /// Provides capabilities of parsing function signatures and argument arrays
:
540 |
541 | private enum Token: String, TokenProtocol {
542 | private static let identifierLexer = (.letter | "_") + (.letter | "_" | .digit)*
| |- note: add '@MainActor' to make static property 'identifierLexer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
543 |
544 | case openParens = "("
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/FunctionSignatureParser.swift:657:20: warning: static property 'eofToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
655 | }
656 |
657 | static var eofToken: Token = .eof
| |- warning: static property 'eofToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'eofToken' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'eofToken' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
658 | }
659 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/FunctionSignatureParser.swift:542:28: warning: static property 'identifierLexer' is not concurrency-safe because non-'Sendable' type 'GrammarRule' may have shared mutable state; this is an error in the Swift 6 language mode
540 |
541 | private enum Token: String, TokenProtocol {
542 | private static let identifierLexer = (.letter | "_") + (.letter | "_" | .digit)*
| `- warning: static property 'identifierLexer' is not concurrency-safe because non-'Sendable' type 'GrammarRule' may have shared mutable state; this is an error in the Swift 6 language mode
543 |
544 | case openParens = "("
/Users/admin/builder/spi-builder-workspace/.build/checkouts/MiniLexer/Sources/MiniLexer/GrammarRules.swift:196:13: note: enum 'GrammarRule' does not conform to the 'Sendable' protocol
194 | /// any whitespace between the tokens. Fails if an unexpected whitespace is found
195 | /// between rules.
196 | public enum GrammarRule: LexerGrammarRule, Equatable, ExpressibleByUnicodeScalarLiteral, ExpressibleByArrayLiteral {
| `- note: enum 'GrammarRule' does not conform to the 'Sendable' protocol
197 | case digit
198 | case letter
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/FunctionSignatureParser.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MiniLexer'
1 | import MiniLexer
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MiniLexer'
2 |
3 | /// Provides capabilities of parsing function signatures and argument arrays
:
540 |
541 | private enum Token: String, TokenProtocol {
542 | private static let identifierLexer = (.letter | "_") + (.letter | "_" | .digit)*
| |- note: add '@MainActor' to make static property 'identifierLexer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
543 |
544 | case openParens = "("
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAST/FunctionSignatureParser.swift:657:20: warning: static property 'eofToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
655 | }
656 |
657 | static var eofToken: Token = .eof
| |- warning: static property 'eofToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'eofToken' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'eofToken' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
658 | }
659 | }
[508/527] Compiling SwiftAST ValueMatcher.swift
[509/527] Compiling SwiftAST ValueMatcherConvertible.swift
[510/527] Compiling SwiftAST ValueStorage.swift
[511/527] Compiling SwiftAST ValueTransformer.swift
[512/527] Compiling SwiftAST AnonymousSyntaxNodeStatefulVisitor.swift
[513/527] Compiling SwiftAST AnonymousSyntaxNodeVisitor.swift
[514/527] Compiling SwiftAST BaseSyntaxNodeVisitor.swift
[515/527] Compiling SwiftAST ExpressionVisitor.swift
[516/527] Compiling SwiftAST StatementStatefulVisitor.swift
[517/527] Compiling SwiftAST StatementVisitor.swift
[528/545] Compiling SwiftCFG NodeDefinition.swift
[529/545] Compiling SwiftCFG Stub.swift
[530/545] Compiling SwiftCFG ControlFlowGraph.swift
[531/545] Compiling SwiftCFG ControlFlowGraph+Graphviz.swift
[532/545] Compiling SwiftCFG Stub.swift
[533/545] Compiling SwiftCFG ControlFlowGraph+Creation.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCFG/ControlFlowGraph+Creation.swift:15:27: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | /// Options that can be specified during generation of control flow graphs.
14 | struct GenerationOptions {
15 | public static var `default`: Self = Self()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// If `true`, generates marker nodes between code scope changes.
[534/545] Emitting module SwiftCFG
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCFG/ControlFlowGraph+Creation.swift:15:27: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | /// Options that can be specified during generation of control flow graphs.
14 | struct GenerationOptions {
15 | public static var `default`: Self = Self()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// If `true`, generates marker nodes between code scope changes.
[535/545] Compiling SwiftCFG CFGVisitResult.swift
[536/545] Compiling SwiftCFG NodeDefinition.swift
[537/545] Compiling SwiftCFG DirectedGraphBase.swift
[538/545] Compiling SwiftCFG ControlFlowGraph+Visitor.swift
[539/545] Compiling SwiftCFG DirectedGraphBase.swift
[540/545] Compiling SwiftCFG ControlFlowGraph+Graphviz.swift
[541/545] Compiling SwiftCFG ControlFlowGraph.swift
[542/545] Compiling SwiftCFG ControlFlowGraph+Creation.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCFG/ControlFlowGraph+Creation.swift:15:27: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | /// Options that can be specified during generation of control flow graphs.
14 | struct GenerationOptions {
15 | public static var `default`: Self = Self()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// If `true`, generates marker nodes between code scope changes.
[543/545] Compiling SwiftCFG CFGVisitResult.swift
[544/545] Emitting module SwiftCFG
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCFG/ControlFlowGraph+Creation.swift:15:27: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | /// Options that can be specified during generation of control flow graphs.
14 | struct GenerationOptions {
15 | public static var `default`: Self = Self()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// If `true`, generates marker nodes between code scope changes.
[545/545] Compiling SwiftCFG ControlFlowGraph+Visitor.swift
Build complete! (40.87s)
Fetching https://github.com/LuizZak/MiniLexer.git
Fetching https://github.com/LuizZak/MiniGraphviz.git
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/LuizZak/MiniDigraph.git
[1/41] Fetching minigraphviz
[31/285] Fetching minigraphviz, minidigraph
[235/1065] Fetching minigraphviz, minidigraph, minilexer
[1066/71310] Fetching minigraphviz, minidigraph, minilexer, swift-syntax
Fetched https://github.com/LuizZak/MiniLexer.git from cache (3.21s)
Fetched https://github.com/LuizZak/MiniDigraph.git from cache (3.22s)
Fetched https://github.com/LuizZak/MiniGraphviz.git from cache (3.22s)
Fetched https://github.com/apple/swift-syntax.git from cache (3.22s)
Computing version for https://github.com/LuizZak/MiniDigraph.git
Computed https://github.com/LuizZak/MiniDigraph.git at 0.8.0 (3.75s)
Computing version for https://github.com/LuizZak/MiniGraphviz.git
Computed https://github.com/LuizZak/MiniGraphviz.git at 0.1.0 (0.48s)
Computing version for https://github.com/LuizZak/MiniLexer.git
Computed https://github.com/LuizZak/MiniLexer.git at 0.10.0 (1.08s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 600.0.1 (0.75s)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 600.0.1
Creating working copy for https://github.com/LuizZak/MiniDigraph.git
Working copy of https://github.com/LuizZak/MiniDigraph.git resolved at 0.8.0
Creating working copy for https://github.com/LuizZak/MiniGraphviz.git
Working copy of https://github.com/LuizZak/MiniGraphviz.git resolved at 0.1.0
Creating working copy for https://github.com/LuizZak/MiniLexer.git
Working copy of https://github.com/LuizZak/MiniLexer.git resolved at 0.10.0
Build complete.
{
"dependencies" : [
{
"identity" : "minilexer",
"requirement" : {
"exact" : [
"0.10.0"
]
},
"type" : "sourceControl",
"url" : "https://github.com/LuizZak/MiniLexer.git"
},
{
"identity" : "minigraphviz",
"requirement" : {
"exact" : [
"0.1.0"
]
},
"type" : "sourceControl",
"url" : "https://github.com/LuizZak/MiniGraphviz.git"
},
{
"identity" : "minidigraph",
"requirement" : {
"exact" : [
"0.8.0"
]
},
"type" : "sourceControl",
"url" : "https://github.com/LuizZak/MiniDigraph.git"
},
{
"identity" : "swift-syntax",
"requirement" : {
"range" : [
{
"lower_bound" : "600.0.0",
"upper_bound" : "601.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-syntax.git"
}
],
"manifest_display_name" : "SwiftAST",
"name" : "SwiftAST",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "maccatalyst",
"version" : "13.0"
}
],
"products" : [
{
"name" : "SwiftAST",
"targets" : [
"SwiftAST"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftCFG",
"targets" : [
"SwiftCFG"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftASTMacros",
"targets" : [
"SwiftASTMacros"
],
"type" : {
"macro" : null
}
}
],
"targets" : [
{
"c99name" : "SwiftCFGTests",
"module_type" : "SwiftTarget",
"name" : "SwiftCFGTests",
"path" : "Tests/SwiftCFGTests",
"product_dependencies" : [
"SwiftParser"
],
"sources" : [
"ControlFlowGraph+CreationExpTests.swift",
"ControlFlowGraph+CreationStmtTests.swift",
"ControlFlowGraph+CreationTests.swift",
"ControlFlowGraphTestUtils.swift",
"Graphviz+TestUtils.swift",
"Stub.swift",
"TestSupport/String+Ext.swift",
"TestSupport/StringDiffTesting+Tests.swift",
"TestSupport/StringDiffTesting.swift"
],
"target_dependencies" : [
"SwiftCFG"
],
"type" : "test"
},
{
"c99name" : "SwiftCFG",
"module_type" : "SwiftTarget",
"name" : "SwiftCFG",
"path" : "Sources/SwiftCFG",
"product_dependencies" : [
"MiniGraphviz",
"MiniDigraph"
],
"product_memberships" : [
"SwiftCFG"
],
"sources" : [
"CFGVisitResult.swift",
"ControlFlowGraph+Creation.swift",
"ControlFlowGraph+Visitor.swift",
"ControlFlowGraph.swift",
"DirectedGraphBase.swift",
"Graphviz/ControlFlowGraph+Graphviz.swift",
"Graphviz/NodeDefinition.swift",
"Stub.swift"
],
"target_dependencies" : [
"SwiftAST"
],
"type" : "library"
},
{
"c99name" : "SwiftASTTests",
"module_type" : "SwiftTarget",
"name" : "SwiftASTTests",
"path" : "Tests/SwiftASTTests",
"sources" : [
"AccessLevelTests.swift",
"BinaryExpressionBalancerTests.swift",
"Expression+MatcherTests.swift",
"Expression/PostfixExpressionTests.swift",
"Expression/SelectorExpressionTests.swift",
"ExpressionTests.swift",
"FunctionIdentifierTests.swift",
"FunctionSignatureParserTests.swift",
"PatternTests.swift",
"Serialization/SwiftASTSerializerTests.swift",
"Statement+MatcherTests.swift",
"Statement/ConditionalClauseTests.swift",
"Statement/GuardStatementTests.swift",
"Statement/IfStatementTests.swift",
"StatementTests.swift",
"Structures/FunctionSignatureTests.swift",
"SwiftOperatorTests.swift",
"SwiftTypeParserTests.swift",
"SwiftTypeTests.swift",
"SyntaxNodeIteratorTests.swift",
"SyntaxNodeRewriterTests.swift",
"SyntaxNodeTests.swift",
"TestSupport/Assertions.swift",
"TestSupport/MersenneTwister.swift",
"TypeFormatterTests.swift",
"ValueMatcher+MatchersTests.swift",
"ValueMatcherTests.swift",
"ValueTransformerTests.swift"
],
"target_dependencies" : [
"SwiftAST"
],
"type" : "test"
},
{
"c99name" : "SwiftASTMacrosTests",
"module_type" : "SwiftTarget",
"name" : "SwiftASTMacrosTests",
"path" : "Tests/SwiftASTMacrosTests",
"product_dependencies" : [
"SwiftSyntaxMacrosTestSupport"
],
"sources" : [
"SwiftASTExpressionMacro+ExpressionTests.swift",
"SwiftASTExpressionMacro+StatementTests.swift",
"SwiftASTStatementsMacroTests.swift",
"SwiftASTTypeMacroTests.swift"
],
"target_dependencies" : [
"SwiftASTMacros"
],
"type" : "test"
},
{
"c99name" : "SwiftASTMacros",
"module_type" : "SwiftTarget",
"name" : "SwiftASTMacros",
"path" : "Sources/SwiftASTMacros",
"product_dependencies" : [
"SwiftSyntaxMacros",
"SwiftCompilerPlugin"
],
"product_memberships" : [
"SwiftAST",
"SwiftCFG",
"SwiftASTMacros"
],
"sources" : [
"MacroError.swift",
"Plugin.swift",
"SwiftASTConverter+Expression.swift",
"SwiftASTConverter+Statement.swift",
"SwiftASTConverter+SwiftType.swift",
"SwiftASTConverter.swift",
"SwiftASTExpressionMacro.swift",
"SwiftASTStatementsMacro.swift",
"SwiftASTTypeMacro.swift",
"SwiftOperator.swift",
"SwiftSyntax/SwiftSyntax+Ext.swift"
],
"type" : "macro"
},
{
"c99name" : "SwiftAST",
"module_type" : "SwiftTarget",
"name" : "SwiftAST",
"path" : "Sources/SwiftAST",
"product_dependencies" : [
"MiniLexer"
],
"product_memberships" : [
"SwiftAST",
"SwiftCFG"
],
"sources" : [
"AccessLevel.swift",
"BinaryExpressionBalancer.swift",
"CodeScopeNodeType.swift",
"Comments/SwiftComment.swift",
"DeclarationAttribute.swift",
"Expression+Ext.swift",
"Expression+Matcher.swift",
"Expression+Transformer.swift",
"Expression.swift",
"Expression/ArrayLiteralExpression.swift",
"Expression/AssignmentExpression.swift",
"Expression/BinaryExpression.swift",
"Expression/BlockLiteralExpression.swift",
"Expression/CastExpression.swift",
"Expression/ConstantExpression.swift",
"Expression/DictionaryLiteralExpression.swift",
"Expression/ExpressionPostfixBuildable.swift",
"Expression/IdentifierExpression.swift",
"Expression/IfExpression.swift",
"Expression/ImplicitMemberExpression.swift",
"Expression/OptionalAccessPostfixBuilder.swift",
"Expression/ParensExpression.swift",
"Expression/Postfix/FunctionCallPostfix.swift",
"Expression/Postfix/MemberPostfix.swift",
"Expression/Postfix/Postfix.swift",
"Expression/Postfix/SubscriptPostfix.swift",
"Expression/PostfixExpression.swift",
"Expression/PrefixExpression.swift",
"Expression/SelectorExpression.swift",
"Expression/SizeOfExpression.swift",
"Expression/SwitchExpression.swift",
"Expression/TernaryExpression.swift",
"Expression/TryExpression.swift",
"Expression/TupleExpression.swift",
"Expression/TypeCheckExpression.swift",
"Expression/UnaryExpression.swift",
"Expression/UnknownExpression.swift",
"ExpressionKind.swift",
"FunctionSignatureParser.swift",
"GenericParameterClause.swift",
"GenericWhereClause.swift",
"Macros.swift",
"Matchable.swift",
"Ownership.swift",
"Pattern.swift",
"PostfixChainInverter.swift",
"Serialization/KeyedDecodingContainerProtocol+SwiftAST.swift",
"Serialization/KeyedEncodingContainerProtocol+SwiftAST.swift",
"Serialization/SerializationOptions.swift",
"Serialization/SwiftASTSerializer.swift",
"Serialization/UnkeyedDecodingContainer+SwiftAST.swift",
"Serialization/UnkeyedEncodingContainer+SwiftAST.swift",
"Statement+Matcher.swift",
"Statement.swift",
"Statement/BreakStatement.swift",
"Statement/CompoundStatement.swift",
"Statement/ConditionalClause.swift",
"Statement/ContinueStatement.swift",
"Statement/DeferStatement.swift",
"Statement/DoStatement.swift",
"Statement/ExpressionsStatement.swift",
"Statement/FallthroughStatement.swift",
"Statement/ForStatement.swift",
"Statement/GuardStatement.swift",
"Statement/LocalFunctionStatement.swift",
"Statement/RepeatWhileStatement.swift",
"Statement/ReturnStatement.swift",
"Statement/ThrowStatement.swift",
"Statement/UnknownStatement.swift",
"Statement/VariableDeclarationsStatement.swift",
"Statement/WhiteStatement.swift",
"StatementKind.swift",
"Structures/FunctionIdentifier.swift",
"Structures/FunctionSignature.swift",
"Structures/LocalFunction.swift",
"Structures/ObjcPropertyAttribute.swift",
"Structures/ParameterSignature.swift",
"Structures/SelectorSignature.swift",
"Structures/SubscriptIdentifier.swift",
"Structures/SubscriptSignature.swift",
"SwiftOperator.swift",
"SwiftRewriterAttribute.swift",
"SwiftType+Stdlib.swift",
"SwiftType.swift",
"SwiftTypeParser.swift",
"SyntaxNode.swift",
"SyntaxNodeIterator.swift",
"SyntaxNodeRewriter.swift",
"TypeFormatter.swift",
"UnknownASTContext.swift",
"ValueMatcher+Matchers.swift",
"ValueMatcher+PartialValueMatcher.swift",
"ValueMatcher.swift",
"ValueMatcherConvertible.swift",
"ValueStorage.swift",
"ValueTransformer.swift",
"Visitor/AnonymousSyntaxNodeStatefulVisitor.swift",
"Visitor/AnonymousSyntaxNodeVisitor.swift",
"Visitor/BaseSyntaxNodeVisitor.swift",
"Visitor/ExpressionVisitor.swift",
"Visitor/StatementStatefulVisitor.swift",
"Visitor/StatementVisitor.swift"
],
"target_dependencies" : [
"SwiftASTMacros"
],
"type" : "library"
}
],
"tools_version" : "5.10"
}
Done.