Build Information
Successful build of Antlr4, reference 4.9.1 (0b4eed), with Swift 6.1 for Android on 27 May 2025 22:36:51 UTC.
Swift 6 data race errors: 28
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1Build Log
57 |
58 | open class RuleContext: RuleNode {
59 | public static let EMPTY = ParserRuleContext()
| |- warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'ParserRuleContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | /// What context invoked this rule?
/host/spi-builder-workspace/Sources/Antlr4/ParserRuleContext.swift:29:12: note: class 'ParserRuleContext' does not conform to the 'Sendable' protocol
27 | /// satisfy the superclass interface.
28 | ///
29 | open class ParserRuleContext: RuleContext {
| `- note: class 'ParserRuleContext' does not conform to the 'Sendable' protocol
30 | public var visited = false
31 |
/host/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:38:23: warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'TokenSourceAndStream' may have shared mutable state; this is an error in the Swift 6 language mode
31 | to avoid retain cycles.
32 | */
33 | public class TokenSourceAndStream {
| `- note: class 'TokenSourceAndStream' does not conform to the 'Sendable' protocol
34 | ///
35 | /// An empty TokenSourceAndStream which is used as the default value of
36 | /// _#source_ for tokens that do not have a source.
37 | ///
38 | public static let EMPTY = TokenSourceAndStream()
| |- warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'TokenSourceAndStream' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | public weak var tokenSource: TokenSource?
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:25:23: warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
12 | ///
13 |
14 | public class Vocabulary: Hashable {
| `- note: class 'Vocabulary' does not conform to the 'Sendable' protocol
15 | private static let EMPTY_NAMES: [String?] = [String?](repeating: "", count: 1)
16 |
:
23 | /// except _org.antlr.v4.runtime.Token#EOF_.
24 | ///
25 | public static let EMPTY_VOCABULARY: Vocabulary = Vocabulary(EMPTY_NAMES, EMPTY_NAMES, EMPTY_NAMES)
| |- warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY_VOCABULARY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |
[104/159] Compiling Antlr4 ParserRuleContext.swift
/host/spi-builder-workspace/Sources/Antlr4/Parser.swift:17:13: warning: var 'bypassAltsAtnCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | /// - SeeAlso: `ATNDeserializationOptions.generateRuleBypassTransitions`
16 | ///
17 | private var bypassAltsAtnCache = [String: ATN]()
| |- warning: var 'bypassAltsAtnCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bypassAltsAtnCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'bypassAltsAtnCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/host/spi-builder-workspace/Sources/Antlr4/Parser.swift:22:13: warning: let 'bypassAltsAtnCacheMutex' is not concurrency-safe because non-'Sendable' type 'Mutex' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// mutex for bypassAltsAtnCache updates
21 | ///
22 | private let bypassAltsAtnCacheMutex = Mutex()
| |- warning: let 'bypassAltsAtnCacheMutex' is not concurrency-safe because non-'Sendable' type 'Mutex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'bypassAltsAtnCacheMutex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:8:7: note: class 'Mutex' does not conform to the 'Sendable' protocol
6 | /// it appears to be a field in a class.
7 | ///
8 | class Mutex {
| `- note: class 'Mutex' does not conform to the 'Sendable' protocol
9 |
10 | ///
/host/spi-builder-workspace/Sources/Antlr4/Parser.swift:30:23: warning: static property 'ConsoleError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 | open class Parser: Recognizer<ParserATNSimulator> {
29 | public static let EOF = -1
30 | public static var ConsoleError = true
| |- warning: static property 'ConsoleError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ConsoleError' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'ConsoleError' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | public class TraceListener: ParseTreeListener {
/host/spi-builder-workspace/Sources/Antlr4/Parser.swift:59:27: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'Parser.TrimToSizeListener' may have shared mutable state; this is an error in the Swift 6 language mode
56 | }
57 |
58 | public class TrimToSizeListener: ParseTreeListener {
| `- note: class 'TrimToSizeListener' does not conform to the 'Sendable' protocol
59 | public static let INSTANCE = TrimToSizeListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'Parser.TrimToSizeListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | public func enterEveryRule(_ ctx: ParserRuleContext) {
/host/spi-builder-workspace/Sources/Antlr4/RuleContext.swift:59:23: warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'ParserRuleContext' may have shared mutable state; this is an error in the Swift 6 language mode
57 |
58 | open class RuleContext: RuleNode {
59 | public static let EMPTY = ParserRuleContext()
| |- warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'ParserRuleContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | /// What context invoked this rule?
/host/spi-builder-workspace/Sources/Antlr4/ParserRuleContext.swift:29:12: note: class 'ParserRuleContext' does not conform to the 'Sendable' protocol
27 | /// satisfy the superclass interface.
28 | ///
29 | open class ParserRuleContext: RuleContext {
| `- note: class 'ParserRuleContext' does not conform to the 'Sendable' protocol
30 | public var visited = false
31 |
/host/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:38:23: warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'TokenSourceAndStream' may have shared mutable state; this is an error in the Swift 6 language mode
31 | to avoid retain cycles.
32 | */
33 | public class TokenSourceAndStream {
| `- note: class 'TokenSourceAndStream' does not conform to the 'Sendable' protocol
34 | ///
35 | /// An empty TokenSourceAndStream which is used as the default value of
36 | /// _#source_ for tokens that do not have a source.
37 | ///
38 | public static let EMPTY = TokenSourceAndStream()
| |- warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'TokenSourceAndStream' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | public weak var tokenSource: TokenSource?
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:25:23: warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
12 | ///
13 |
14 | public class Vocabulary: Hashable {
| `- note: class 'Vocabulary' does not conform to the 'Sendable' protocol
15 | private static let EMPTY_NAMES: [String?] = [String?](repeating: "", count: 1)
16 |
:
23 | /// except _org.antlr.v4.runtime.Token#EOF_.
24 | ///
25 | public static let EMPTY_VOCABULARY: Vocabulary = Vocabulary(EMPTY_NAMES, EMPTY_NAMES, EMPTY_NAMES)
| |- warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY_VOCABULARY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |
[105/159] Compiling Antlr4 ProxyErrorListener.swift
/host/spi-builder-workspace/Sources/Antlr4/Parser.swift:17:13: warning: var 'bypassAltsAtnCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | /// - SeeAlso: `ATNDeserializationOptions.generateRuleBypassTransitions`
16 | ///
17 | private var bypassAltsAtnCache = [String: ATN]()
| |- warning: var 'bypassAltsAtnCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bypassAltsAtnCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'bypassAltsAtnCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/host/spi-builder-workspace/Sources/Antlr4/Parser.swift:22:13: warning: let 'bypassAltsAtnCacheMutex' is not concurrency-safe because non-'Sendable' type 'Mutex' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// mutex for bypassAltsAtnCache updates
21 | ///
22 | private let bypassAltsAtnCacheMutex = Mutex()
| |- warning: let 'bypassAltsAtnCacheMutex' is not concurrency-safe because non-'Sendable' type 'Mutex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'bypassAltsAtnCacheMutex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:8:7: note: class 'Mutex' does not conform to the 'Sendable' protocol
6 | /// it appears to be a field in a class.
7 | ///
8 | class Mutex {
| `- note: class 'Mutex' does not conform to the 'Sendable' protocol
9 |
10 | ///
/host/spi-builder-workspace/Sources/Antlr4/Parser.swift:30:23: warning: static property 'ConsoleError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 | open class Parser: Recognizer<ParserATNSimulator> {
29 | public static let EOF = -1
30 | public static var ConsoleError = true
| |- warning: static property 'ConsoleError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ConsoleError' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'ConsoleError' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | public class TraceListener: ParseTreeListener {
/host/spi-builder-workspace/Sources/Antlr4/Parser.swift:59:27: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'Parser.TrimToSizeListener' may have shared mutable state; this is an error in the Swift 6 language mode
56 | }
57 |
58 | public class TrimToSizeListener: ParseTreeListener {
| `- note: class 'TrimToSizeListener' does not conform to the 'Sendable' protocol
59 | public static let INSTANCE = TrimToSizeListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'Parser.TrimToSizeListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | public func enterEveryRule(_ ctx: ParserRuleContext) {
/host/spi-builder-workspace/Sources/Antlr4/RuleContext.swift:59:23: warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'ParserRuleContext' may have shared mutable state; this is an error in the Swift 6 language mode
57 |
58 | open class RuleContext: RuleNode {
59 | public static let EMPTY = ParserRuleContext()
| |- warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'ParserRuleContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | /// What context invoked this rule?
/host/spi-builder-workspace/Sources/Antlr4/ParserRuleContext.swift:29:12: note: class 'ParserRuleContext' does not conform to the 'Sendable' protocol
27 | /// satisfy the superclass interface.
28 | ///
29 | open class ParserRuleContext: RuleContext {
| `- note: class 'ParserRuleContext' does not conform to the 'Sendable' protocol
30 | public var visited = false
31 |
/host/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:38:23: warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'TokenSourceAndStream' may have shared mutable state; this is an error in the Swift 6 language mode
31 | to avoid retain cycles.
32 | */
33 | public class TokenSourceAndStream {
| `- note: class 'TokenSourceAndStream' does not conform to the 'Sendable' protocol
34 | ///
35 | /// An empty TokenSourceAndStream which is used as the default value of
36 | /// _#source_ for tokens that do not have a source.
37 | ///
38 | public static let EMPTY = TokenSourceAndStream()
| |- warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'TokenSourceAndStream' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | public weak var tokenSource: TokenSource?
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:25:23: warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
12 | ///
13 |
14 | public class Vocabulary: Hashable {
| `- note: class 'Vocabulary' does not conform to the 'Sendable' protocol
15 | private static let EMPTY_NAMES: [String?] = [String?](repeating: "", count: 1)
16 |
:
23 | /// except _org.antlr.v4.runtime.Token#EOF_.
24 | ///
25 | public static let EMPTY_VOCABULARY: Vocabulary = Vocabulary(EMPTY_NAMES, EMPTY_NAMES, EMPTY_NAMES)
| |- warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY_VOCABULARY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |
[106/159] Compiling Antlr4 RecognitionException.swift
/host/spi-builder-workspace/Sources/Antlr4/Parser.swift:17:13: warning: var 'bypassAltsAtnCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | /// - SeeAlso: `ATNDeserializationOptions.generateRuleBypassTransitions`
16 | ///
17 | private var bypassAltsAtnCache = [String: ATN]()
| |- warning: var 'bypassAltsAtnCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bypassAltsAtnCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'bypassAltsAtnCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/host/spi-builder-workspace/Sources/Antlr4/Parser.swift:22:13: warning: let 'bypassAltsAtnCacheMutex' is not concurrency-safe because non-'Sendable' type 'Mutex' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// mutex for bypassAltsAtnCache updates
21 | ///
22 | private let bypassAltsAtnCacheMutex = Mutex()
| |- warning: let 'bypassAltsAtnCacheMutex' is not concurrency-safe because non-'Sendable' type 'Mutex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'bypassAltsAtnCacheMutex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:8:7: note: class 'Mutex' does not conform to the 'Sendable' protocol
6 | /// it appears to be a field in a class.
7 | ///
8 | class Mutex {
| `- note: class 'Mutex' does not conform to the 'Sendable' protocol
9 |
10 | ///
/host/spi-builder-workspace/Sources/Antlr4/Parser.swift:30:23: warning: static property 'ConsoleError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 | open class Parser: Recognizer<ParserATNSimulator> {
29 | public static let EOF = -1
30 | public static var ConsoleError = true
| |- warning: static property 'ConsoleError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ConsoleError' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'ConsoleError' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | public class TraceListener: ParseTreeListener {
/host/spi-builder-workspace/Sources/Antlr4/Parser.swift:59:27: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'Parser.TrimToSizeListener' may have shared mutable state; this is an error in the Swift 6 language mode
56 | }
57 |
58 | public class TrimToSizeListener: ParseTreeListener {
| `- note: class 'TrimToSizeListener' does not conform to the 'Sendable' protocol
59 | public static let INSTANCE = TrimToSizeListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'Parser.TrimToSizeListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | public func enterEveryRule(_ ctx: ParserRuleContext) {
/host/spi-builder-workspace/Sources/Antlr4/RuleContext.swift:59:23: warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'ParserRuleContext' may have shared mutable state; this is an error in the Swift 6 language mode
57 |
58 | open class RuleContext: RuleNode {
59 | public static let EMPTY = ParserRuleContext()
| |- warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'ParserRuleContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | /// What context invoked this rule?
/host/spi-builder-workspace/Sources/Antlr4/ParserRuleContext.swift:29:12: note: class 'ParserRuleContext' does not conform to the 'Sendable' protocol
27 | /// satisfy the superclass interface.
28 | ///
29 | open class ParserRuleContext: RuleContext {
| `- note: class 'ParserRuleContext' does not conform to the 'Sendable' protocol
30 | public var visited = false
31 |
/host/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:38:23: warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'TokenSourceAndStream' may have shared mutable state; this is an error in the Swift 6 language mode
31 | to avoid retain cycles.
32 | */
33 | public class TokenSourceAndStream {
| `- note: class 'TokenSourceAndStream' does not conform to the 'Sendable' protocol
34 | ///
35 | /// An empty TokenSourceAndStream which is used as the default value of
36 | /// _#source_ for tokens that do not have a source.
37 | ///
38 | public static let EMPTY = TokenSourceAndStream()
| |- warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'TokenSourceAndStream' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | public weak var tokenSource: TokenSource?
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:25:23: warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
12 | ///
13 |
14 | public class Vocabulary: Hashable {
| `- note: class 'Vocabulary' does not conform to the 'Sendable' protocol
15 | private static let EMPTY_NAMES: [String?] = [String?](repeating: "", count: 1)
16 |
:
23 | /// except _org.antlr.v4.runtime.Token#EOF_.
24 | ///
25 | public static let EMPTY_VOCABULARY: Vocabulary = Vocabulary(EMPTY_NAMES, EMPTY_NAMES, EMPTY_NAMES)
| |- warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY_VOCABULARY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |
[107/159] Compiling Antlr4 Recognizer.swift
/host/spi-builder-workspace/Sources/Antlr4/Parser.swift:17:13: warning: var 'bypassAltsAtnCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | /// - SeeAlso: `ATNDeserializationOptions.generateRuleBypassTransitions`
16 | ///
17 | private var bypassAltsAtnCache = [String: ATN]()
| |- warning: var 'bypassAltsAtnCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bypassAltsAtnCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'bypassAltsAtnCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/host/spi-builder-workspace/Sources/Antlr4/Parser.swift:22:13: warning: let 'bypassAltsAtnCacheMutex' is not concurrency-safe because non-'Sendable' type 'Mutex' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// mutex for bypassAltsAtnCache updates
21 | ///
22 | private let bypassAltsAtnCacheMutex = Mutex()
| |- warning: let 'bypassAltsAtnCacheMutex' is not concurrency-safe because non-'Sendable' type 'Mutex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'bypassAltsAtnCacheMutex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:8:7: note: class 'Mutex' does not conform to the 'Sendable' protocol
6 | /// it appears to be a field in a class.
7 | ///
8 | class Mutex {
| `- note: class 'Mutex' does not conform to the 'Sendable' protocol
9 |
10 | ///
/host/spi-builder-workspace/Sources/Antlr4/Parser.swift:30:23: warning: static property 'ConsoleError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 | open class Parser: Recognizer<ParserATNSimulator> {
29 | public static let EOF = -1
30 | public static var ConsoleError = true
| |- warning: static property 'ConsoleError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ConsoleError' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'ConsoleError' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | public class TraceListener: ParseTreeListener {
/host/spi-builder-workspace/Sources/Antlr4/Parser.swift:59:27: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'Parser.TrimToSizeListener' may have shared mutable state; this is an error in the Swift 6 language mode
56 | }
57 |
58 | public class TrimToSizeListener: ParseTreeListener {
| `- note: class 'TrimToSizeListener' does not conform to the 'Sendable' protocol
59 | public static let INSTANCE = TrimToSizeListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'Parser.TrimToSizeListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | public func enterEveryRule(_ ctx: ParserRuleContext) {
/host/spi-builder-workspace/Sources/Antlr4/RuleContext.swift:59:23: warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'ParserRuleContext' may have shared mutable state; this is an error in the Swift 6 language mode
57 |
58 | open class RuleContext: RuleNode {
59 | public static let EMPTY = ParserRuleContext()
| |- warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'ParserRuleContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | /// What context invoked this rule?
/host/spi-builder-workspace/Sources/Antlr4/ParserRuleContext.swift:29:12: note: class 'ParserRuleContext' does not conform to the 'Sendable' protocol
27 | /// satisfy the superclass interface.
28 | ///
29 | open class ParserRuleContext: RuleContext {
| `- note: class 'ParserRuleContext' does not conform to the 'Sendable' protocol
30 | public var visited = false
31 |
/host/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:38:23: warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'TokenSourceAndStream' may have shared mutable state; this is an error in the Swift 6 language mode
31 | to avoid retain cycles.
32 | */
33 | public class TokenSourceAndStream {
| `- note: class 'TokenSourceAndStream' does not conform to the 'Sendable' protocol
34 | ///
35 | /// An empty TokenSourceAndStream which is used as the default value of
36 | /// _#source_ for tokens that do not have a source.
37 | ///
38 | public static let EMPTY = TokenSourceAndStream()
| |- warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'TokenSourceAndStream' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | public weak var tokenSource: TokenSource?
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:25:23: warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
12 | ///
13 |
14 | public class Vocabulary: Hashable {
| `- note: class 'Vocabulary' does not conform to the 'Sendable' protocol
15 | private static let EMPTY_NAMES: [String?] = [String?](repeating: "", count: 1)
16 |
:
23 | /// except _org.antlr.v4.runtime.Token#EOF_.
24 | ///
25 | public static let EMPTY_VOCABULARY: Vocabulary = Vocabulary(EMPTY_NAMES, EMPTY_NAMES, EMPTY_NAMES)
| |- warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY_VOCABULARY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |
[108/159] Compiling Antlr4 RuleContext.swift
/host/spi-builder-workspace/Sources/Antlr4/Parser.swift:17:13: warning: var 'bypassAltsAtnCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | /// - SeeAlso: `ATNDeserializationOptions.generateRuleBypassTransitions`
16 | ///
17 | private var bypassAltsAtnCache = [String: ATN]()
| |- warning: var 'bypassAltsAtnCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bypassAltsAtnCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'bypassAltsAtnCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/host/spi-builder-workspace/Sources/Antlr4/Parser.swift:22:13: warning: let 'bypassAltsAtnCacheMutex' is not concurrency-safe because non-'Sendable' type 'Mutex' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// mutex for bypassAltsAtnCache updates
21 | ///
22 | private let bypassAltsAtnCacheMutex = Mutex()
| |- warning: let 'bypassAltsAtnCacheMutex' is not concurrency-safe because non-'Sendable' type 'Mutex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'bypassAltsAtnCacheMutex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:8:7: note: class 'Mutex' does not conform to the 'Sendable' protocol
6 | /// it appears to be a field in a class.
7 | ///
8 | class Mutex {
| `- note: class 'Mutex' does not conform to the 'Sendable' protocol
9 |
10 | ///
/host/spi-builder-workspace/Sources/Antlr4/Parser.swift:30:23: warning: static property 'ConsoleError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 | open class Parser: Recognizer<ParserATNSimulator> {
29 | public static let EOF = -1
30 | public static var ConsoleError = true
| |- warning: static property 'ConsoleError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ConsoleError' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'ConsoleError' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | public class TraceListener: ParseTreeListener {
/host/spi-builder-workspace/Sources/Antlr4/Parser.swift:59:27: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'Parser.TrimToSizeListener' may have shared mutable state; this is an error in the Swift 6 language mode
56 | }
57 |
58 | public class TrimToSizeListener: ParseTreeListener {
| `- note: class 'TrimToSizeListener' does not conform to the 'Sendable' protocol
59 | public static let INSTANCE = TrimToSizeListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'Parser.TrimToSizeListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | public func enterEveryRule(_ ctx: ParserRuleContext) {
/host/spi-builder-workspace/Sources/Antlr4/RuleContext.swift:59:23: warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'ParserRuleContext' may have shared mutable state; this is an error in the Swift 6 language mode
57 |
58 | open class RuleContext: RuleNode {
59 | public static let EMPTY = ParserRuleContext()
| |- warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'ParserRuleContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | /// What context invoked this rule?
/host/spi-builder-workspace/Sources/Antlr4/ParserRuleContext.swift:29:12: note: class 'ParserRuleContext' does not conform to the 'Sendable' protocol
27 | /// satisfy the superclass interface.
28 | ///
29 | open class ParserRuleContext: RuleContext {
| `- note: class 'ParserRuleContext' does not conform to the 'Sendable' protocol
30 | public var visited = false
31 |
/host/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:38:23: warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'TokenSourceAndStream' may have shared mutable state; this is an error in the Swift 6 language mode
31 | to avoid retain cycles.
32 | */
33 | public class TokenSourceAndStream {
| `- note: class 'TokenSourceAndStream' does not conform to the 'Sendable' protocol
34 | ///
35 | /// An empty TokenSourceAndStream which is used as the default value of
36 | /// _#source_ for tokens that do not have a source.
37 | ///
38 | public static let EMPTY = TokenSourceAndStream()
| |- warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'TokenSourceAndStream' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | public weak var tokenSource: TokenSource?
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:25:23: warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
12 | ///
13 |
14 | public class Vocabulary: Hashable {
| `- note: class 'Vocabulary' does not conform to the 'Sendable' protocol
15 | private static let EMPTY_NAMES: [String?] = [String?](repeating: "", count: 1)
16 |
:
23 | /// except _org.antlr.v4.runtime.Token#EOF_.
24 | ///
25 | public static let EMPTY_VOCABULARY: Vocabulary = Vocabulary(EMPTY_NAMES, EMPTY_NAMES, EMPTY_NAMES)
| |- warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY_VOCABULARY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |
[109/159] Compiling Antlr4 RuntimeMetaData.swift
/host/spi-builder-workspace/Sources/Antlr4/Parser.swift:17:13: warning: var 'bypassAltsAtnCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | /// - SeeAlso: `ATNDeserializationOptions.generateRuleBypassTransitions`
16 | ///
17 | private var bypassAltsAtnCache = [String: ATN]()
| |- warning: var 'bypassAltsAtnCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bypassAltsAtnCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'bypassAltsAtnCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/host/spi-builder-workspace/Sources/Antlr4/Parser.swift:22:13: warning: let 'bypassAltsAtnCacheMutex' is not concurrency-safe because non-'Sendable' type 'Mutex' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// mutex for bypassAltsAtnCache updates
21 | ///
22 | private let bypassAltsAtnCacheMutex = Mutex()
| |- warning: let 'bypassAltsAtnCacheMutex' is not concurrency-safe because non-'Sendable' type 'Mutex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'bypassAltsAtnCacheMutex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:8:7: note: class 'Mutex' does not conform to the 'Sendable' protocol
6 | /// it appears to be a field in a class.
7 | ///
8 | class Mutex {
| `- note: class 'Mutex' does not conform to the 'Sendable' protocol
9 |
10 | ///
/host/spi-builder-workspace/Sources/Antlr4/Parser.swift:30:23: warning: static property 'ConsoleError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 | open class Parser: Recognizer<ParserATNSimulator> {
29 | public static let EOF = -1
30 | public static var ConsoleError = true
| |- warning: static property 'ConsoleError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ConsoleError' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'ConsoleError' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | public class TraceListener: ParseTreeListener {
/host/spi-builder-workspace/Sources/Antlr4/Parser.swift:59:27: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'Parser.TrimToSizeListener' may have shared mutable state; this is an error in the Swift 6 language mode
56 | }
57 |
58 | public class TrimToSizeListener: ParseTreeListener {
| `- note: class 'TrimToSizeListener' does not conform to the 'Sendable' protocol
59 | public static let INSTANCE = TrimToSizeListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'Parser.TrimToSizeListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | public func enterEveryRule(_ ctx: ParserRuleContext) {
/host/spi-builder-workspace/Sources/Antlr4/RuleContext.swift:59:23: warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'ParserRuleContext' may have shared mutable state; this is an error in the Swift 6 language mode
57 |
58 | open class RuleContext: RuleNode {
59 | public static let EMPTY = ParserRuleContext()
| |- warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'ParserRuleContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | /// What context invoked this rule?
/host/spi-builder-workspace/Sources/Antlr4/ParserRuleContext.swift:29:12: note: class 'ParserRuleContext' does not conform to the 'Sendable' protocol
27 | /// satisfy the superclass interface.
28 | ///
29 | open class ParserRuleContext: RuleContext {
| `- note: class 'ParserRuleContext' does not conform to the 'Sendable' protocol
30 | public var visited = false
31 |
/host/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:38:23: warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'TokenSourceAndStream' may have shared mutable state; this is an error in the Swift 6 language mode
31 | to avoid retain cycles.
32 | */
33 | public class TokenSourceAndStream {
| `- note: class 'TokenSourceAndStream' does not conform to the 'Sendable' protocol
34 | ///
35 | /// An empty TokenSourceAndStream which is used as the default value of
36 | /// _#source_ for tokens that do not have a source.
37 | ///
38 | public static let EMPTY = TokenSourceAndStream()
| |- warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'TokenSourceAndStream' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | public weak var tokenSource: TokenSource?
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:25:23: warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
12 | ///
13 |
14 | public class Vocabulary: Hashable {
| `- note: class 'Vocabulary' does not conform to the 'Sendable' protocol
15 | private static let EMPTY_NAMES: [String?] = [String?](repeating: "", count: 1)
16 |
:
23 | /// except _org.antlr.v4.runtime.Token#EOF_.
24 | ///
25 | public static let EMPTY_VOCABULARY: Vocabulary = Vocabulary(EMPTY_NAMES, EMPTY_NAMES, EMPTY_NAMES)
| |- warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY_VOCABULARY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |
[110/159] Compiling Antlr4 Token.swift
/host/spi-builder-workspace/Sources/Antlr4/Parser.swift:17:13: warning: var 'bypassAltsAtnCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | /// - SeeAlso: `ATNDeserializationOptions.generateRuleBypassTransitions`
16 | ///
17 | private var bypassAltsAtnCache = [String: ATN]()
| |- warning: var 'bypassAltsAtnCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bypassAltsAtnCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'bypassAltsAtnCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/host/spi-builder-workspace/Sources/Antlr4/Parser.swift:22:13: warning: let 'bypassAltsAtnCacheMutex' is not concurrency-safe because non-'Sendable' type 'Mutex' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// mutex for bypassAltsAtnCache updates
21 | ///
22 | private let bypassAltsAtnCacheMutex = Mutex()
| |- warning: let 'bypassAltsAtnCacheMutex' is not concurrency-safe because non-'Sendable' type 'Mutex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'bypassAltsAtnCacheMutex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:8:7: note: class 'Mutex' does not conform to the 'Sendable' protocol
6 | /// it appears to be a field in a class.
7 | ///
8 | class Mutex {
| `- note: class 'Mutex' does not conform to the 'Sendable' protocol
9 |
10 | ///
/host/spi-builder-workspace/Sources/Antlr4/Parser.swift:30:23: warning: static property 'ConsoleError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 | open class Parser: Recognizer<ParserATNSimulator> {
29 | public static let EOF = -1
30 | public static var ConsoleError = true
| |- warning: static property 'ConsoleError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ConsoleError' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'ConsoleError' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | public class TraceListener: ParseTreeListener {
/host/spi-builder-workspace/Sources/Antlr4/Parser.swift:59:27: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'Parser.TrimToSizeListener' may have shared mutable state; this is an error in the Swift 6 language mode
56 | }
57 |
58 | public class TrimToSizeListener: ParseTreeListener {
| `- note: class 'TrimToSizeListener' does not conform to the 'Sendable' protocol
59 | public static let INSTANCE = TrimToSizeListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'Parser.TrimToSizeListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | public func enterEveryRule(_ ctx: ParserRuleContext) {
/host/spi-builder-workspace/Sources/Antlr4/RuleContext.swift:59:23: warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'ParserRuleContext' may have shared mutable state; this is an error in the Swift 6 language mode
57 |
58 | open class RuleContext: RuleNode {
59 | public static let EMPTY = ParserRuleContext()
| |- warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'ParserRuleContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | /// What context invoked this rule?
/host/spi-builder-workspace/Sources/Antlr4/ParserRuleContext.swift:29:12: note: class 'ParserRuleContext' does not conform to the 'Sendable' protocol
27 | /// satisfy the superclass interface.
28 | ///
29 | open class ParserRuleContext: RuleContext {
| `- note: class 'ParserRuleContext' does not conform to the 'Sendable' protocol
30 | public var visited = false
31 |
/host/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:38:23: warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'TokenSourceAndStream' may have shared mutable state; this is an error in the Swift 6 language mode
31 | to avoid retain cycles.
32 | */
33 | public class TokenSourceAndStream {
| `- note: class 'TokenSourceAndStream' does not conform to the 'Sendable' protocol
34 | ///
35 | /// An empty TokenSourceAndStream which is used as the default value of
36 | /// _#source_ for tokens that do not have a source.
37 | ///
38 | public static let EMPTY = TokenSourceAndStream()
| |- warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'TokenSourceAndStream' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | public weak var tokenSource: TokenSource?
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:25:23: warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
12 | ///
13 |
14 | public class Vocabulary: Hashable {
| `- note: class 'Vocabulary' does not conform to the 'Sendable' protocol
15 | private static let EMPTY_NAMES: [String?] = [String?](repeating: "", count: 1)
16 |
:
23 | /// except _org.antlr.v4.runtime.Token#EOF_.
24 | ///
25 | public static let EMPTY_VOCABULARY: Vocabulary = Vocabulary(EMPTY_NAMES, EMPTY_NAMES, EMPTY_NAMES)
| |- warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY_VOCABULARY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |
[111/159] Compiling Antlr4 TokenFactory.swift
/host/spi-builder-workspace/Sources/Antlr4/Parser.swift:17:13: warning: var 'bypassAltsAtnCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | /// - SeeAlso: `ATNDeserializationOptions.generateRuleBypassTransitions`
16 | ///
17 | private var bypassAltsAtnCache = [String: ATN]()
| |- warning: var 'bypassAltsAtnCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bypassAltsAtnCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'bypassAltsAtnCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/host/spi-builder-workspace/Sources/Antlr4/Parser.swift:22:13: warning: let 'bypassAltsAtnCacheMutex' is not concurrency-safe because non-'Sendable' type 'Mutex' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// mutex for bypassAltsAtnCache updates
21 | ///
22 | private let bypassAltsAtnCacheMutex = Mutex()
| |- warning: let 'bypassAltsAtnCacheMutex' is not concurrency-safe because non-'Sendable' type 'Mutex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'bypassAltsAtnCacheMutex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:8:7: note: class 'Mutex' does not conform to the 'Sendable' protocol
6 | /// it appears to be a field in a class.
7 | ///
8 | class Mutex {
| `- note: class 'Mutex' does not conform to the 'Sendable' protocol
9 |
10 | ///
/host/spi-builder-workspace/Sources/Antlr4/Parser.swift:30:23: warning: static property 'ConsoleError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 | open class Parser: Recognizer<ParserATNSimulator> {
29 | public static let EOF = -1
30 | public static var ConsoleError = true
| |- warning: static property 'ConsoleError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ConsoleError' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'ConsoleError' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | public class TraceListener: ParseTreeListener {
/host/spi-builder-workspace/Sources/Antlr4/Parser.swift:59:27: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'Parser.TrimToSizeListener' may have shared mutable state; this is an error in the Swift 6 language mode
56 | }
57 |
58 | public class TrimToSizeListener: ParseTreeListener {
| `- note: class 'TrimToSizeListener' does not conform to the 'Sendable' protocol
59 | public static let INSTANCE = TrimToSizeListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'Parser.TrimToSizeListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | public func enterEveryRule(_ ctx: ParserRuleContext) {
/host/spi-builder-workspace/Sources/Antlr4/RuleContext.swift:59:23: warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'ParserRuleContext' may have shared mutable state; this is an error in the Swift 6 language mode
57 |
58 | open class RuleContext: RuleNode {
59 | public static let EMPTY = ParserRuleContext()
| |- warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'ParserRuleContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | /// What context invoked this rule?
/host/spi-builder-workspace/Sources/Antlr4/ParserRuleContext.swift:29:12: note: class 'ParserRuleContext' does not conform to the 'Sendable' protocol
27 | /// satisfy the superclass interface.
28 | ///
29 | open class ParserRuleContext: RuleContext {
| `- note: class 'ParserRuleContext' does not conform to the 'Sendable' protocol
30 | public var visited = false
31 |
/host/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:38:23: warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'TokenSourceAndStream' may have shared mutable state; this is an error in the Swift 6 language mode
31 | to avoid retain cycles.
32 | */
33 | public class TokenSourceAndStream {
| `- note: class 'TokenSourceAndStream' does not conform to the 'Sendable' protocol
34 | ///
35 | /// An empty TokenSourceAndStream which is used as the default value of
36 | /// _#source_ for tokens that do not have a source.
37 | ///
38 | public static let EMPTY = TokenSourceAndStream()
| |- warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'TokenSourceAndStream' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | public weak var tokenSource: TokenSource?
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:25:23: warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
12 | ///
13 |
14 | public class Vocabulary: Hashable {
| `- note: class 'Vocabulary' does not conform to the 'Sendable' protocol
15 | private static let EMPTY_NAMES: [String?] = [String?](repeating: "", count: 1)
16 |
:
23 | /// except _org.antlr.v4.runtime.Token#EOF_.
24 | ///
25 | public static let EMPTY_VOCABULARY: Vocabulary = Vocabulary(EMPTY_NAMES, EMPTY_NAMES, EMPTY_NAMES)
| |- warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY_VOCABULARY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |
[112/159] Compiling Antlr4 TokenSource.swift
/host/spi-builder-workspace/Sources/Antlr4/Parser.swift:17:13: warning: var 'bypassAltsAtnCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | /// - SeeAlso: `ATNDeserializationOptions.generateRuleBypassTransitions`
16 | ///
17 | private var bypassAltsAtnCache = [String: ATN]()
| |- warning: var 'bypassAltsAtnCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bypassAltsAtnCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'bypassAltsAtnCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/host/spi-builder-workspace/Sources/Antlr4/Parser.swift:22:13: warning: let 'bypassAltsAtnCacheMutex' is not concurrency-safe because non-'Sendable' type 'Mutex' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// mutex for bypassAltsAtnCache updates
21 | ///
22 | private let bypassAltsAtnCacheMutex = Mutex()
| |- warning: let 'bypassAltsAtnCacheMutex' is not concurrency-safe because non-'Sendable' type 'Mutex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'bypassAltsAtnCacheMutex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:8:7: note: class 'Mutex' does not conform to the 'Sendable' protocol
6 | /// it appears to be a field in a class.
7 | ///
8 | class Mutex {
| `- note: class 'Mutex' does not conform to the 'Sendable' protocol
9 |
10 | ///
/host/spi-builder-workspace/Sources/Antlr4/Parser.swift:30:23: warning: static property 'ConsoleError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 | open class Parser: Recognizer<ParserATNSimulator> {
29 | public static let EOF = -1
30 | public static var ConsoleError = true
| |- warning: static property 'ConsoleError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ConsoleError' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'ConsoleError' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | public class TraceListener: ParseTreeListener {
/host/spi-builder-workspace/Sources/Antlr4/Parser.swift:59:27: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'Parser.TrimToSizeListener' may have shared mutable state; this is an error in the Swift 6 language mode
56 | }
57 |
58 | public class TrimToSizeListener: ParseTreeListener {
| `- note: class 'TrimToSizeListener' does not conform to the 'Sendable' protocol
59 | public static let INSTANCE = TrimToSizeListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'Parser.TrimToSizeListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | public func enterEveryRule(_ ctx: ParserRuleContext) {
/host/spi-builder-workspace/Sources/Antlr4/RuleContext.swift:59:23: warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'ParserRuleContext' may have shared mutable state; this is an error in the Swift 6 language mode
57 |
58 | open class RuleContext: RuleNode {
59 | public static let EMPTY = ParserRuleContext()
| |- warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'ParserRuleContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | /// What context invoked this rule?
/host/spi-builder-workspace/Sources/Antlr4/ParserRuleContext.swift:29:12: note: class 'ParserRuleContext' does not conform to the 'Sendable' protocol
27 | /// satisfy the superclass interface.
28 | ///
29 | open class ParserRuleContext: RuleContext {
| `- note: class 'ParserRuleContext' does not conform to the 'Sendable' protocol
30 | public var visited = false
31 |
/host/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:38:23: warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'TokenSourceAndStream' may have shared mutable state; this is an error in the Swift 6 language mode
31 | to avoid retain cycles.
32 | */
33 | public class TokenSourceAndStream {
| `- note: class 'TokenSourceAndStream' does not conform to the 'Sendable' protocol
34 | ///
35 | /// An empty TokenSourceAndStream which is used as the default value of
36 | /// _#source_ for tokens that do not have a source.
37 | ///
38 | public static let EMPTY = TokenSourceAndStream()
| |- warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'TokenSourceAndStream' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | public weak var tokenSource: TokenSource?
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:25:23: warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
12 | ///
13 |
14 | public class Vocabulary: Hashable {
| `- note: class 'Vocabulary' does not conform to the 'Sendable' protocol
15 | private static let EMPTY_NAMES: [String?] = [String?](repeating: "", count: 1)
16 |
:
23 | /// except _org.antlr.v4.runtime.Token#EOF_.
24 | ///
25 | public static let EMPTY_VOCABULARY: Vocabulary = Vocabulary(EMPTY_NAMES, EMPTY_NAMES, EMPTY_NAMES)
| |- warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY_VOCABULARY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |
[113/159] Compiling Antlr4 TokenStream.swift
/host/spi-builder-workspace/Sources/Antlr4/Parser.swift:17:13: warning: var 'bypassAltsAtnCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | /// - SeeAlso: `ATNDeserializationOptions.generateRuleBypassTransitions`
16 | ///
17 | private var bypassAltsAtnCache = [String: ATN]()
| |- warning: var 'bypassAltsAtnCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bypassAltsAtnCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'bypassAltsAtnCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/host/spi-builder-workspace/Sources/Antlr4/Parser.swift:22:13: warning: let 'bypassAltsAtnCacheMutex' is not concurrency-safe because non-'Sendable' type 'Mutex' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// mutex for bypassAltsAtnCache updates
21 | ///
22 | private let bypassAltsAtnCacheMutex = Mutex()
| |- warning: let 'bypassAltsAtnCacheMutex' is not concurrency-safe because non-'Sendable' type 'Mutex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'bypassAltsAtnCacheMutex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:8:7: note: class 'Mutex' does not conform to the 'Sendable' protocol
6 | /// it appears to be a field in a class.
7 | ///
8 | class Mutex {
| `- note: class 'Mutex' does not conform to the 'Sendable' protocol
9 |
10 | ///
/host/spi-builder-workspace/Sources/Antlr4/Parser.swift:30:23: warning: static property 'ConsoleError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 | open class Parser: Recognizer<ParserATNSimulator> {
29 | public static let EOF = -1
30 | public static var ConsoleError = true
| |- warning: static property 'ConsoleError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ConsoleError' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'ConsoleError' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | public class TraceListener: ParseTreeListener {
/host/spi-builder-workspace/Sources/Antlr4/Parser.swift:59:27: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'Parser.TrimToSizeListener' may have shared mutable state; this is an error in the Swift 6 language mode
56 | }
57 |
58 | public class TrimToSizeListener: ParseTreeListener {
| `- note: class 'TrimToSizeListener' does not conform to the 'Sendable' protocol
59 | public static let INSTANCE = TrimToSizeListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'Parser.TrimToSizeListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | public func enterEveryRule(_ ctx: ParserRuleContext) {
/host/spi-builder-workspace/Sources/Antlr4/RuleContext.swift:59:23: warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'ParserRuleContext' may have shared mutable state; this is an error in the Swift 6 language mode
57 |
58 | open class RuleContext: RuleNode {
59 | public static let EMPTY = ParserRuleContext()
| |- warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'ParserRuleContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | /// What context invoked this rule?
/host/spi-builder-workspace/Sources/Antlr4/ParserRuleContext.swift:29:12: note: class 'ParserRuleContext' does not conform to the 'Sendable' protocol
27 | /// satisfy the superclass interface.
28 | ///
29 | open class ParserRuleContext: RuleContext {
| `- note: class 'ParserRuleContext' does not conform to the 'Sendable' protocol
30 | public var visited = false
31 |
/host/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:38:23: warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'TokenSourceAndStream' may have shared mutable state; this is an error in the Swift 6 language mode
31 | to avoid retain cycles.
32 | */
33 | public class TokenSourceAndStream {
| `- note: class 'TokenSourceAndStream' does not conform to the 'Sendable' protocol
34 | ///
35 | /// An empty TokenSourceAndStream which is used as the default value of
36 | /// _#source_ for tokens that do not have a source.
37 | ///
38 | public static let EMPTY = TokenSourceAndStream()
| |- warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'TokenSourceAndStream' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | public weak var tokenSource: TokenSource?
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:25:23: warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
12 | ///
13 |
14 | public class Vocabulary: Hashable {
| `- note: class 'Vocabulary' does not conform to the 'Sendable' protocol
15 | private static let EMPTY_NAMES: [String?] = [String?](repeating: "", count: 1)
16 |
:
23 | /// except _org.antlr.v4.runtime.Token#EOF_.
24 | ///
25 | public static let EMPTY_VOCABULARY: Vocabulary = Vocabulary(EMPTY_NAMES, EMPTY_NAMES, EMPTY_NAMES)
| |- warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY_VOCABULARY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |
[114/159] Compiling Antlr4 TokenStreamRewriter.swift
/host/spi-builder-workspace/Sources/Antlr4/Parser.swift:17:13: warning: var 'bypassAltsAtnCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | /// - SeeAlso: `ATNDeserializationOptions.generateRuleBypassTransitions`
16 | ///
17 | private var bypassAltsAtnCache = [String: ATN]()
| |- warning: var 'bypassAltsAtnCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bypassAltsAtnCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'bypassAltsAtnCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/host/spi-builder-workspace/Sources/Antlr4/Parser.swift:22:13: warning: let 'bypassAltsAtnCacheMutex' is not concurrency-safe because non-'Sendable' type 'Mutex' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// mutex for bypassAltsAtnCache updates
21 | ///
22 | private let bypassAltsAtnCacheMutex = Mutex()
| |- warning: let 'bypassAltsAtnCacheMutex' is not concurrency-safe because non-'Sendable' type 'Mutex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'bypassAltsAtnCacheMutex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:8:7: note: class 'Mutex' does not conform to the 'Sendable' protocol
6 | /// it appears to be a field in a class.
7 | ///
8 | class Mutex {
| `- note: class 'Mutex' does not conform to the 'Sendable' protocol
9 |
10 | ///
/host/spi-builder-workspace/Sources/Antlr4/Parser.swift:30:23: warning: static property 'ConsoleError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 | open class Parser: Recognizer<ParserATNSimulator> {
29 | public static let EOF = -1
30 | public static var ConsoleError = true
| |- warning: static property 'ConsoleError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ConsoleError' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'ConsoleError' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | public class TraceListener: ParseTreeListener {
/host/spi-builder-workspace/Sources/Antlr4/Parser.swift:59:27: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'Parser.TrimToSizeListener' may have shared mutable state; this is an error in the Swift 6 language mode
56 | }
57 |
58 | public class TrimToSizeListener: ParseTreeListener {
| `- note: class 'TrimToSizeListener' does not conform to the 'Sendable' protocol
59 | public static let INSTANCE = TrimToSizeListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'Parser.TrimToSizeListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | public func enterEveryRule(_ ctx: ParserRuleContext) {
/host/spi-builder-workspace/Sources/Antlr4/RuleContext.swift:59:23: warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'ParserRuleContext' may have shared mutable state; this is an error in the Swift 6 language mode
57 |
58 | open class RuleContext: RuleNode {
59 | public static let EMPTY = ParserRuleContext()
| |- warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'ParserRuleContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | /// What context invoked this rule?
/host/spi-builder-workspace/Sources/Antlr4/ParserRuleContext.swift:29:12: note: class 'ParserRuleContext' does not conform to the 'Sendable' protocol
27 | /// satisfy the superclass interface.
28 | ///
29 | open class ParserRuleContext: RuleContext {
| `- note: class 'ParserRuleContext' does not conform to the 'Sendable' protocol
30 | public var visited = false
31 |
/host/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:38:23: warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'TokenSourceAndStream' may have shared mutable state; this is an error in the Swift 6 language mode
31 | to avoid retain cycles.
32 | */
33 | public class TokenSourceAndStream {
| `- note: class 'TokenSourceAndStream' does not conform to the 'Sendable' protocol
34 | ///
35 | /// An empty TokenSourceAndStream which is used as the default value of
36 | /// _#source_ for tokens that do not have a source.
37 | ///
38 | public static let EMPTY = TokenSourceAndStream()
| |- warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'TokenSourceAndStream' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | public weak var tokenSource: TokenSource?
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:25:23: warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
12 | ///
13 |
14 | public class Vocabulary: Hashable {
| `- note: class 'Vocabulary' does not conform to the 'Sendable' protocol
15 | private static let EMPTY_NAMES: [String?] = [String?](repeating: "", count: 1)
16 |
:
23 | /// except _org.antlr.v4.runtime.Token#EOF_.
24 | ///
25 | public static let EMPTY_VOCABULARY: Vocabulary = Vocabulary(EMPTY_NAMES, EMPTY_NAMES, EMPTY_NAMES)
| |- warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY_VOCABULARY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |
[115/159] Compiling Antlr4 UnbufferedCharStream.swift
/host/spi-builder-workspace/Sources/Antlr4/Parser.swift:17:13: warning: var 'bypassAltsAtnCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | /// - SeeAlso: `ATNDeserializationOptions.generateRuleBypassTransitions`
16 | ///
17 | private var bypassAltsAtnCache = [String: ATN]()
| |- warning: var 'bypassAltsAtnCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bypassAltsAtnCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'bypassAltsAtnCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/host/spi-builder-workspace/Sources/Antlr4/Parser.swift:22:13: warning: let 'bypassAltsAtnCacheMutex' is not concurrency-safe because non-'Sendable' type 'Mutex' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// mutex for bypassAltsAtnCache updates
21 | ///
22 | private let bypassAltsAtnCacheMutex = Mutex()
| |- warning: let 'bypassAltsAtnCacheMutex' is not concurrency-safe because non-'Sendable' type 'Mutex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'bypassAltsAtnCacheMutex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:8:7: note: class 'Mutex' does not conform to the 'Sendable' protocol
6 | /// it appears to be a field in a class.
7 | ///
8 | class Mutex {
| `- note: class 'Mutex' does not conform to the 'Sendable' protocol
9 |
10 | ///
/host/spi-builder-workspace/Sources/Antlr4/Parser.swift:30:23: warning: static property 'ConsoleError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 | open class Parser: Recognizer<ParserATNSimulator> {
29 | public static let EOF = -1
30 | public static var ConsoleError = true
| |- warning: static property 'ConsoleError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ConsoleError' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'ConsoleError' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | public class TraceListener: ParseTreeListener {
/host/spi-builder-workspace/Sources/Antlr4/Parser.swift:59:27: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'Parser.TrimToSizeListener' may have shared mutable state; this is an error in the Swift 6 language mode
56 | }
57 |
58 | public class TrimToSizeListener: ParseTreeListener {
| `- note: class 'TrimToSizeListener' does not conform to the 'Sendable' protocol
59 | public static let INSTANCE = TrimToSizeListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'Parser.TrimToSizeListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | public func enterEveryRule(_ ctx: ParserRuleContext) {
/host/spi-builder-workspace/Sources/Antlr4/RuleContext.swift:59:23: warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'ParserRuleContext' may have shared mutable state; this is an error in the Swift 6 language mode
57 |
58 | open class RuleContext: RuleNode {
59 | public static let EMPTY = ParserRuleContext()
| |- warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'ParserRuleContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | /// What context invoked this rule?
/host/spi-builder-workspace/Sources/Antlr4/ParserRuleContext.swift:29:12: note: class 'ParserRuleContext' does not conform to the 'Sendable' protocol
27 | /// satisfy the superclass interface.
28 | ///
29 | open class ParserRuleContext: RuleContext {
| `- note: class 'ParserRuleContext' does not conform to the 'Sendable' protocol
30 | public var visited = false
31 |
/host/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:38:23: warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'TokenSourceAndStream' may have shared mutable state; this is an error in the Swift 6 language mode
31 | to avoid retain cycles.
32 | */
33 | public class TokenSourceAndStream {
| `- note: class 'TokenSourceAndStream' does not conform to the 'Sendable' protocol
34 | ///
35 | /// An empty TokenSourceAndStream which is used as the default value of
36 | /// _#source_ for tokens that do not have a source.
37 | ///
38 | public static let EMPTY = TokenSourceAndStream()
| |- warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'TokenSourceAndStream' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | public weak var tokenSource: TokenSource?
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:25:23: warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
12 | ///
13 |
14 | public class Vocabulary: Hashable {
| `- note: class 'Vocabulary' does not conform to the 'Sendable' protocol
15 | private static let EMPTY_NAMES: [String?] = [String?](repeating: "", count: 1)
16 |
:
23 | /// except _org.antlr.v4.runtime.Token#EOF_.
24 | ///
25 | public static let EMPTY_VOCABULARY: Vocabulary = Vocabulary(EMPTY_NAMES, EMPTY_NAMES, EMPTY_NAMES)
| |- warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY_VOCABULARY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |
[116/159] Compiling Antlr4 UnbufferedTokenStream.swift
/host/spi-builder-workspace/Sources/Antlr4/Parser.swift:17:13: warning: var 'bypassAltsAtnCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | /// - SeeAlso: `ATNDeserializationOptions.generateRuleBypassTransitions`
16 | ///
17 | private var bypassAltsAtnCache = [String: ATN]()
| |- warning: var 'bypassAltsAtnCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bypassAltsAtnCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'bypassAltsAtnCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/host/spi-builder-workspace/Sources/Antlr4/Parser.swift:22:13: warning: let 'bypassAltsAtnCacheMutex' is not concurrency-safe because non-'Sendable' type 'Mutex' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// mutex for bypassAltsAtnCache updates
21 | ///
22 | private let bypassAltsAtnCacheMutex = Mutex()
| |- warning: let 'bypassAltsAtnCacheMutex' is not concurrency-safe because non-'Sendable' type 'Mutex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'bypassAltsAtnCacheMutex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:8:7: note: class 'Mutex' does not conform to the 'Sendable' protocol
6 | /// it appears to be a field in a class.
7 | ///
8 | class Mutex {
| `- note: class 'Mutex' does not conform to the 'Sendable' protocol
9 |
10 | ///
/host/spi-builder-workspace/Sources/Antlr4/Parser.swift:30:23: warning: static property 'ConsoleError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 | open class Parser: Recognizer<ParserATNSimulator> {
29 | public static let EOF = -1
30 | public static var ConsoleError = true
| |- warning: static property 'ConsoleError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ConsoleError' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'ConsoleError' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | public class TraceListener: ParseTreeListener {
/host/spi-builder-workspace/Sources/Antlr4/Parser.swift:59:27: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'Parser.TrimToSizeListener' may have shared mutable state; this is an error in the Swift 6 language mode
56 | }
57 |
58 | public class TrimToSizeListener: ParseTreeListener {
| `- note: class 'TrimToSizeListener' does not conform to the 'Sendable' protocol
59 | public static let INSTANCE = TrimToSizeListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'Parser.TrimToSizeListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | public func enterEveryRule(_ ctx: ParserRuleContext) {
/host/spi-builder-workspace/Sources/Antlr4/RuleContext.swift:59:23: warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'ParserRuleContext' may have shared mutable state; this is an error in the Swift 6 language mode
57 |
58 | open class RuleContext: RuleNode {
59 | public static let EMPTY = ParserRuleContext()
| |- warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'ParserRuleContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | /// What context invoked this rule?
/host/spi-builder-workspace/Sources/Antlr4/ParserRuleContext.swift:29:12: note: class 'ParserRuleContext' does not conform to the 'Sendable' protocol
27 | /// satisfy the superclass interface.
28 | ///
29 | open class ParserRuleContext: RuleContext {
| `- note: class 'ParserRuleContext' does not conform to the 'Sendable' protocol
30 | public var visited = false
31 |
/host/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:38:23: warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'TokenSourceAndStream' may have shared mutable state; this is an error in the Swift 6 language mode
31 | to avoid retain cycles.
32 | */
33 | public class TokenSourceAndStream {
| `- note: class 'TokenSourceAndStream' does not conform to the 'Sendable' protocol
34 | ///
35 | /// An empty TokenSourceAndStream which is used as the default value of
36 | /// _#source_ for tokens that do not have a source.
37 | ///
38 | public static let EMPTY = TokenSourceAndStream()
| |- warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'TokenSourceAndStream' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | public weak var tokenSource: TokenSource?
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:25:23: warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
12 | ///
13 |
14 | public class Vocabulary: Hashable {
| `- note: class 'Vocabulary' does not conform to the 'Sendable' protocol
15 | private static let EMPTY_NAMES: [String?] = [String?](repeating: "", count: 1)
16 |
:
23 | /// except _org.antlr.v4.runtime.Token#EOF_.
24 | ///
25 | public static let EMPTY_VOCABULARY: Vocabulary = Vocabulary(EMPTY_NAMES, EMPTY_NAMES, EMPTY_NAMES)
| |- warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY_VOCABULARY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |
[117/159] Compiling Antlr4 VocabularySingle.swift
/host/spi-builder-workspace/Sources/Antlr4/Parser.swift:17:13: warning: var 'bypassAltsAtnCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | /// - SeeAlso: `ATNDeserializationOptions.generateRuleBypassTransitions`
16 | ///
17 | private var bypassAltsAtnCache = [String: ATN]()
| |- warning: var 'bypassAltsAtnCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bypassAltsAtnCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'bypassAltsAtnCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/host/spi-builder-workspace/Sources/Antlr4/Parser.swift:22:13: warning: let 'bypassAltsAtnCacheMutex' is not concurrency-safe because non-'Sendable' type 'Mutex' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// mutex for bypassAltsAtnCache updates
21 | ///
22 | private let bypassAltsAtnCacheMutex = Mutex()
| |- warning: let 'bypassAltsAtnCacheMutex' is not concurrency-safe because non-'Sendable' type 'Mutex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'bypassAltsAtnCacheMutex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:8:7: note: class 'Mutex' does not conform to the 'Sendable' protocol
6 | /// it appears to be a field in a class.
7 | ///
8 | class Mutex {
| `- note: class 'Mutex' does not conform to the 'Sendable' protocol
9 |
10 | ///
/host/spi-builder-workspace/Sources/Antlr4/Parser.swift:30:23: warning: static property 'ConsoleError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 | open class Parser: Recognizer<ParserATNSimulator> {
29 | public static let EOF = -1
30 | public static var ConsoleError = true
| |- warning: static property 'ConsoleError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ConsoleError' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'ConsoleError' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | public class TraceListener: ParseTreeListener {
/host/spi-builder-workspace/Sources/Antlr4/Parser.swift:59:27: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'Parser.TrimToSizeListener' may have shared mutable state; this is an error in the Swift 6 language mode
56 | }
57 |
58 | public class TrimToSizeListener: ParseTreeListener {
| `- note: class 'TrimToSizeListener' does not conform to the 'Sendable' protocol
59 | public static let INSTANCE = TrimToSizeListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'Parser.TrimToSizeListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | public func enterEveryRule(_ ctx: ParserRuleContext) {
/host/spi-builder-workspace/Sources/Antlr4/RuleContext.swift:59:23: warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'ParserRuleContext' may have shared mutable state; this is an error in the Swift 6 language mode
57 |
58 | open class RuleContext: RuleNode {
59 | public static let EMPTY = ParserRuleContext()
| |- warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'ParserRuleContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | /// What context invoked this rule?
/host/spi-builder-workspace/Sources/Antlr4/ParserRuleContext.swift:29:12: note: class 'ParserRuleContext' does not conform to the 'Sendable' protocol
27 | /// satisfy the superclass interface.
28 | ///
29 | open class ParserRuleContext: RuleContext {
| `- note: class 'ParserRuleContext' does not conform to the 'Sendable' protocol
30 | public var visited = false
31 |
/host/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:38:23: warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'TokenSourceAndStream' may have shared mutable state; this is an error in the Swift 6 language mode
31 | to avoid retain cycles.
32 | */
33 | public class TokenSourceAndStream {
| `- note: class 'TokenSourceAndStream' does not conform to the 'Sendable' protocol
34 | ///
35 | /// An empty TokenSourceAndStream which is used as the default value of
36 | /// _#source_ for tokens that do not have a source.
37 | ///
38 | public static let EMPTY = TokenSourceAndStream()
| |- warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'TokenSourceAndStream' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | public weak var tokenSource: TokenSource?
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:25:23: warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
12 | ///
13 |
14 | public class Vocabulary: Hashable {
| `- note: class 'Vocabulary' does not conform to the 'Sendable' protocol
15 | private static let EMPTY_NAMES: [String?] = [String?](repeating: "", count: 1)
16 |
:
23 | /// except _org.antlr.v4.runtime.Token#EOF_.
24 | ///
25 | public static let EMPTY_VOCABULARY: Vocabulary = Vocabulary(EMPTY_NAMES, EMPTY_NAMES, EMPTY_NAMES)
| |- warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY_VOCABULARY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |
[118/159] Compiling Antlr4 ANTLRErrorListener.swift
/host/spi-builder-workspace/Sources/Antlr4/CommonTokenFactory.swift:22:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// tokens.
21 | ///
22 | public static let DEFAULT: TokenFactory = CommonTokenFactory()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:11:17: note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
9 | /// of a new factory means that it notifies it's token source and error strategy.
10 | ///
11 | public protocol TokenFactory {
| `- note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
12 |
13 | //typealias Symbol
/host/spi-builder-workspace/Sources/Antlr4/ConsoleErrorListener.swift:17:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 |
13 | public class ConsoleErrorListener: BaseErrorListener {
| `- note: class 'ConsoleErrorListener' does not conform to the 'Sendable' protocol
14 | ///
15 | /// Provides a default instance of _org.antlr.v4.runtime.ConsoleErrorListener_.
16 | ///
17 | public static let INSTANCE: ConsoleErrorListener = ConsoleErrorListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/host/spi-builder-workspace/Sources/Antlr4/Lexer.swift:135:13: warning: variable 'tokenStartMarker' was never mutated; consider changing to 'let' constant
133 | // Mark start location in char stream so unbuffered streams are
134 | // guaranteed at least have text of current token
135 | var tokenStartMarker = _input.mark()
| `- warning: variable 'tokenStartMarker' was never mutated; consider changing to 'let' constant
136 | defer {
137 | // make sure we release marker after match or
[119/159] Compiling Antlr4 ANTLRErrorStrategy.swift
/host/spi-builder-workspace/Sources/Antlr4/CommonTokenFactory.swift:22:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// tokens.
21 | ///
22 | public static let DEFAULT: TokenFactory = CommonTokenFactory()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:11:17: note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
9 | /// of a new factory means that it notifies it's token source and error strategy.
10 | ///
11 | public protocol TokenFactory {
| `- note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
12 |
13 | //typealias Symbol
/host/spi-builder-workspace/Sources/Antlr4/ConsoleErrorListener.swift:17:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 |
13 | public class ConsoleErrorListener: BaseErrorListener {
| `- note: class 'ConsoleErrorListener' does not conform to the 'Sendable' protocol
14 | ///
15 | /// Provides a default instance of _org.antlr.v4.runtime.ConsoleErrorListener_.
16 | ///
17 | public static let INSTANCE: ConsoleErrorListener = ConsoleErrorListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/host/spi-builder-workspace/Sources/Antlr4/Lexer.swift:135:13: warning: variable 'tokenStartMarker' was never mutated; consider changing to 'let' constant
133 | // Mark start location in char stream so unbuffered streams are
134 | // guaranteed at least have text of current token
135 | var tokenStartMarker = _input.mark()
| `- warning: variable 'tokenStartMarker' was never mutated; consider changing to 'let' constant
136 | defer {
137 | // make sure we release marker after match or
[120/159] Compiling Antlr4 ANTLRFileStream.swift
/host/spi-builder-workspace/Sources/Antlr4/CommonTokenFactory.swift:22:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// tokens.
21 | ///
22 | public static let DEFAULT: TokenFactory = CommonTokenFactory()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:11:17: note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
9 | /// of a new factory means that it notifies it's token source and error strategy.
10 | ///
11 | public protocol TokenFactory {
| `- note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
12 |
13 | //typealias Symbol
/host/spi-builder-workspace/Sources/Antlr4/ConsoleErrorListener.swift:17:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 |
13 | public class ConsoleErrorListener: BaseErrorListener {
| `- note: class 'ConsoleErrorListener' does not conform to the 'Sendable' protocol
14 | ///
15 | /// Provides a default instance of _org.antlr.v4.runtime.ConsoleErrorListener_.
16 | ///
17 | public static let INSTANCE: ConsoleErrorListener = ConsoleErrorListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/host/spi-builder-workspace/Sources/Antlr4/Lexer.swift:135:13: warning: variable 'tokenStartMarker' was never mutated; consider changing to 'let' constant
133 | // Mark start location in char stream so unbuffered streams are
134 | // guaranteed at least have text of current token
135 | var tokenStartMarker = _input.mark()
| `- warning: variable 'tokenStartMarker' was never mutated; consider changing to 'let' constant
136 | defer {
137 | // make sure we release marker after match or
[121/159] Compiling Antlr4 ANTLRInputStream.swift
/host/spi-builder-workspace/Sources/Antlr4/CommonTokenFactory.swift:22:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// tokens.
21 | ///
22 | public static let DEFAULT: TokenFactory = CommonTokenFactory()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:11:17: note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
9 | /// of a new factory means that it notifies it's token source and error strategy.
10 | ///
11 | public protocol TokenFactory {
| `- note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
12 |
13 | //typealias Symbol
/host/spi-builder-workspace/Sources/Antlr4/ConsoleErrorListener.swift:17:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 |
13 | public class ConsoleErrorListener: BaseErrorListener {
| `- note: class 'ConsoleErrorListener' does not conform to the 'Sendable' protocol
14 | ///
15 | /// Provides a default instance of _org.antlr.v4.runtime.ConsoleErrorListener_.
16 | ///
17 | public static let INSTANCE: ConsoleErrorListener = ConsoleErrorListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/host/spi-builder-workspace/Sources/Antlr4/Lexer.swift:135:13: warning: variable 'tokenStartMarker' was never mutated; consider changing to 'let' constant
133 | // Mark start location in char stream so unbuffered streams are
134 | // guaranteed at least have text of current token
135 | var tokenStartMarker = _input.mark()
| `- warning: variable 'tokenStartMarker' was never mutated; consider changing to 'let' constant
136 | defer {
137 | // make sure we release marker after match or
[122/159] Compiling Antlr4 BailErrorStrategy.swift
/host/spi-builder-workspace/Sources/Antlr4/CommonTokenFactory.swift:22:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// tokens.
21 | ///
22 | public static let DEFAULT: TokenFactory = CommonTokenFactory()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:11:17: note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
9 | /// of a new factory means that it notifies it's token source and error strategy.
10 | ///
11 | public protocol TokenFactory {
| `- note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
12 |
13 | //typealias Symbol
/host/spi-builder-workspace/Sources/Antlr4/ConsoleErrorListener.swift:17:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 |
13 | public class ConsoleErrorListener: BaseErrorListener {
| `- note: class 'ConsoleErrorListener' does not conform to the 'Sendable' protocol
14 | ///
15 | /// Provides a default instance of _org.antlr.v4.runtime.ConsoleErrorListener_.
16 | ///
17 | public static let INSTANCE: ConsoleErrorListener = ConsoleErrorListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/host/spi-builder-workspace/Sources/Antlr4/Lexer.swift:135:13: warning: variable 'tokenStartMarker' was never mutated; consider changing to 'let' constant
133 | // Mark start location in char stream so unbuffered streams are
134 | // guaranteed at least have text of current token
135 | var tokenStartMarker = _input.mark()
| `- warning: variable 'tokenStartMarker' was never mutated; consider changing to 'let' constant
136 | defer {
137 | // make sure we release marker after match or
[123/159] Compiling Antlr4 BaseErrorListener.swift
/host/spi-builder-workspace/Sources/Antlr4/CommonTokenFactory.swift:22:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// tokens.
21 | ///
22 | public static let DEFAULT: TokenFactory = CommonTokenFactory()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:11:17: note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
9 | /// of a new factory means that it notifies it's token source and error strategy.
10 | ///
11 | public protocol TokenFactory {
| `- note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
12 |
13 | //typealias Symbol
/host/spi-builder-workspace/Sources/Antlr4/ConsoleErrorListener.swift:17:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 |
13 | public class ConsoleErrorListener: BaseErrorListener {
| `- note: class 'ConsoleErrorListener' does not conform to the 'Sendable' protocol
14 | ///
15 | /// Provides a default instance of _org.antlr.v4.runtime.ConsoleErrorListener_.
16 | ///
17 | public static let INSTANCE: ConsoleErrorListener = ConsoleErrorListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/host/spi-builder-workspace/Sources/Antlr4/Lexer.swift:135:13: warning: variable 'tokenStartMarker' was never mutated; consider changing to 'let' constant
133 | // Mark start location in char stream so unbuffered streams are
134 | // guaranteed at least have text of current token
135 | var tokenStartMarker = _input.mark()
| `- warning: variable 'tokenStartMarker' was never mutated; consider changing to 'let' constant
136 | defer {
137 | // make sure we release marker after match or
[124/159] Compiling Antlr4 BufferedTokenStream.swift
/host/spi-builder-workspace/Sources/Antlr4/CommonTokenFactory.swift:22:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// tokens.
21 | ///
22 | public static let DEFAULT: TokenFactory = CommonTokenFactory()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:11:17: note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
9 | /// of a new factory means that it notifies it's token source and error strategy.
10 | ///
11 | public protocol TokenFactory {
| `- note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
12 |
13 | //typealias Symbol
/host/spi-builder-workspace/Sources/Antlr4/ConsoleErrorListener.swift:17:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 |
13 | public class ConsoleErrorListener: BaseErrorListener {
| `- note: class 'ConsoleErrorListener' does not conform to the 'Sendable' protocol
14 | ///
15 | /// Provides a default instance of _org.antlr.v4.runtime.ConsoleErrorListener_.
16 | ///
17 | public static let INSTANCE: ConsoleErrorListener = ConsoleErrorListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/host/spi-builder-workspace/Sources/Antlr4/Lexer.swift:135:13: warning: variable 'tokenStartMarker' was never mutated; consider changing to 'let' constant
133 | // Mark start location in char stream so unbuffered streams are
134 | // guaranteed at least have text of current token
135 | var tokenStartMarker = _input.mark()
| `- warning: variable 'tokenStartMarker' was never mutated; consider changing to 'let' constant
136 | defer {
137 | // make sure we release marker after match or
[125/159] Compiling Antlr4 CharStream.swift
/host/spi-builder-workspace/Sources/Antlr4/CommonTokenFactory.swift:22:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// tokens.
21 | ///
22 | public static let DEFAULT: TokenFactory = CommonTokenFactory()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:11:17: note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
9 | /// of a new factory means that it notifies it's token source and error strategy.
10 | ///
11 | public protocol TokenFactory {
| `- note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
12 |
13 | //typealias Symbol
/host/spi-builder-workspace/Sources/Antlr4/ConsoleErrorListener.swift:17:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 |
13 | public class ConsoleErrorListener: BaseErrorListener {
| `- note: class 'ConsoleErrorListener' does not conform to the 'Sendable' protocol
14 | ///
15 | /// Provides a default instance of _org.antlr.v4.runtime.ConsoleErrorListener_.
16 | ///
17 | public static let INSTANCE: ConsoleErrorListener = ConsoleErrorListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/host/spi-builder-workspace/Sources/Antlr4/Lexer.swift:135:13: warning: variable 'tokenStartMarker' was never mutated; consider changing to 'let' constant
133 | // Mark start location in char stream so unbuffered streams are
134 | // guaranteed at least have text of current token
135 | var tokenStartMarker = _input.mark()
| `- warning: variable 'tokenStartMarker' was never mutated; consider changing to 'let' constant
136 | defer {
137 | // make sure we release marker after match or
[126/159] Compiling Antlr4 CommonToken.swift
/host/spi-builder-workspace/Sources/Antlr4/CommonTokenFactory.swift:22:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// tokens.
21 | ///
22 | public static let DEFAULT: TokenFactory = CommonTokenFactory()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:11:17: note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
9 | /// of a new factory means that it notifies it's token source and error strategy.
10 | ///
11 | public protocol TokenFactory {
| `- note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
12 |
13 | //typealias Symbol
/host/spi-builder-workspace/Sources/Antlr4/ConsoleErrorListener.swift:17:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 |
13 | public class ConsoleErrorListener: BaseErrorListener {
| `- note: class 'ConsoleErrorListener' does not conform to the 'Sendable' protocol
14 | ///
15 | /// Provides a default instance of _org.antlr.v4.runtime.ConsoleErrorListener_.
16 | ///
17 | public static let INSTANCE: ConsoleErrorListener = ConsoleErrorListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/host/spi-builder-workspace/Sources/Antlr4/Lexer.swift:135:13: warning: variable 'tokenStartMarker' was never mutated; consider changing to 'let' constant
133 | // Mark start location in char stream so unbuffered streams are
134 | // guaranteed at least have text of current token
135 | var tokenStartMarker = _input.mark()
| `- warning: variable 'tokenStartMarker' was never mutated; consider changing to 'let' constant
136 | defer {
137 | // make sure we release marker after match or
[127/159] Compiling Antlr4 CommonTokenFactory.swift
/host/spi-builder-workspace/Sources/Antlr4/CommonTokenFactory.swift:22:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// tokens.
21 | ///
22 | public static let DEFAULT: TokenFactory = CommonTokenFactory()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:11:17: note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
9 | /// of a new factory means that it notifies it's token source and error strategy.
10 | ///
11 | public protocol TokenFactory {
| `- note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
12 |
13 | //typealias Symbol
/host/spi-builder-workspace/Sources/Antlr4/ConsoleErrorListener.swift:17:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 |
13 | public class ConsoleErrorListener: BaseErrorListener {
| `- note: class 'ConsoleErrorListener' does not conform to the 'Sendable' protocol
14 | ///
15 | /// Provides a default instance of _org.antlr.v4.runtime.ConsoleErrorListener_.
16 | ///
17 | public static let INSTANCE: ConsoleErrorListener = ConsoleErrorListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/host/spi-builder-workspace/Sources/Antlr4/Lexer.swift:135:13: warning: variable 'tokenStartMarker' was never mutated; consider changing to 'let' constant
133 | // Mark start location in char stream so unbuffered streams are
134 | // guaranteed at least have text of current token
135 | var tokenStartMarker = _input.mark()
| `- warning: variable 'tokenStartMarker' was never mutated; consider changing to 'let' constant
136 | defer {
137 | // make sure we release marker after match or
[128/159] Compiling Antlr4 CommonTokenStream.swift
/host/spi-builder-workspace/Sources/Antlr4/CommonTokenFactory.swift:22:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// tokens.
21 | ///
22 | public static let DEFAULT: TokenFactory = CommonTokenFactory()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:11:17: note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
9 | /// of a new factory means that it notifies it's token source and error strategy.
10 | ///
11 | public protocol TokenFactory {
| `- note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
12 |
13 | //typealias Symbol
/host/spi-builder-workspace/Sources/Antlr4/ConsoleErrorListener.swift:17:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 |
13 | public class ConsoleErrorListener: BaseErrorListener {
| `- note: class 'ConsoleErrorListener' does not conform to the 'Sendable' protocol
14 | ///
15 | /// Provides a default instance of _org.antlr.v4.runtime.ConsoleErrorListener_.
16 | ///
17 | public static let INSTANCE: ConsoleErrorListener = ConsoleErrorListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/host/spi-builder-workspace/Sources/Antlr4/Lexer.swift:135:13: warning: variable 'tokenStartMarker' was never mutated; consider changing to 'let' constant
133 | // Mark start location in char stream so unbuffered streams are
134 | // guaranteed at least have text of current token
135 | var tokenStartMarker = _input.mark()
| `- warning: variable 'tokenStartMarker' was never mutated; consider changing to 'let' constant
136 | defer {
137 | // make sure we release marker after match or
[129/159] Compiling Antlr4 ConsoleErrorListener.swift
/host/spi-builder-workspace/Sources/Antlr4/CommonTokenFactory.swift:22:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// tokens.
21 | ///
22 | public static let DEFAULT: TokenFactory = CommonTokenFactory()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:11:17: note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
9 | /// of a new factory means that it notifies it's token source and error strategy.
10 | ///
11 | public protocol TokenFactory {
| `- note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
12 |
13 | //typealias Symbol
/host/spi-builder-workspace/Sources/Antlr4/ConsoleErrorListener.swift:17:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 |
13 | public class ConsoleErrorListener: BaseErrorListener {
| `- note: class 'ConsoleErrorListener' does not conform to the 'Sendable' protocol
14 | ///
15 | /// Provides a default instance of _org.antlr.v4.runtime.ConsoleErrorListener_.
16 | ///
17 | public static let INSTANCE: ConsoleErrorListener = ConsoleErrorListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/host/spi-builder-workspace/Sources/Antlr4/Lexer.swift:135:13: warning: variable 'tokenStartMarker' was never mutated; consider changing to 'let' constant
133 | // Mark start location in char stream so unbuffered streams are
134 | // guaranteed at least have text of current token
135 | var tokenStartMarker = _input.mark()
| `- warning: variable 'tokenStartMarker' was never mutated; consider changing to 'let' constant
136 | defer {
137 | // make sure we release marker after match or
[130/159] Compiling Antlr4 DefaultErrorStrategy.swift
/host/spi-builder-workspace/Sources/Antlr4/CommonTokenFactory.swift:22:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// tokens.
21 | ///
22 | public static let DEFAULT: TokenFactory = CommonTokenFactory()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:11:17: note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
9 | /// of a new factory means that it notifies it's token source and error strategy.
10 | ///
11 | public protocol TokenFactory {
| `- note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
12 |
13 | //typealias Symbol
/host/spi-builder-workspace/Sources/Antlr4/ConsoleErrorListener.swift:17:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 |
13 | public class ConsoleErrorListener: BaseErrorListener {
| `- note: class 'ConsoleErrorListener' does not conform to the 'Sendable' protocol
14 | ///
15 | /// Provides a default instance of _org.antlr.v4.runtime.ConsoleErrorListener_.
16 | ///
17 | public static let INSTANCE: ConsoleErrorListener = ConsoleErrorListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/host/spi-builder-workspace/Sources/Antlr4/Lexer.swift:135:13: warning: variable 'tokenStartMarker' was never mutated; consider changing to 'let' constant
133 | // Mark start location in char stream so unbuffered streams are
134 | // guaranteed at least have text of current token
135 | var tokenStartMarker = _input.mark()
| `- warning: variable 'tokenStartMarker' was never mutated; consider changing to 'let' constant
136 | defer {
137 | // make sure we release marker after match or
[131/159] Compiling Antlr4 DiagnosticErrorListener.swift
/host/spi-builder-workspace/Sources/Antlr4/CommonTokenFactory.swift:22:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// tokens.
21 | ///
22 | public static let DEFAULT: TokenFactory = CommonTokenFactory()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:11:17: note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
9 | /// of a new factory means that it notifies it's token source and error strategy.
10 | ///
11 | public protocol TokenFactory {
| `- note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
12 |
13 | //typealias Symbol
/host/spi-builder-workspace/Sources/Antlr4/ConsoleErrorListener.swift:17:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 |
13 | public class ConsoleErrorListener: BaseErrorListener {
| `- note: class 'ConsoleErrorListener' does not conform to the 'Sendable' protocol
14 | ///
15 | /// Provides a default instance of _org.antlr.v4.runtime.ConsoleErrorListener_.
16 | ///
17 | public static let INSTANCE: ConsoleErrorListener = ConsoleErrorListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/host/spi-builder-workspace/Sources/Antlr4/Lexer.swift:135:13: warning: variable 'tokenStartMarker' was never mutated; consider changing to 'let' constant
133 | // Mark start location in char stream so unbuffered streams are
134 | // guaranteed at least have text of current token
135 | var tokenStartMarker = _input.mark()
| `- warning: variable 'tokenStartMarker' was never mutated; consider changing to 'let' constant
136 | defer {
137 | // make sure we release marker after match or
[132/159] Compiling Antlr4 FailedPredicateException.swift
/host/spi-builder-workspace/Sources/Antlr4/CommonTokenFactory.swift:22:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// tokens.
21 | ///
22 | public static let DEFAULT: TokenFactory = CommonTokenFactory()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:11:17: note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
9 | /// of a new factory means that it notifies it's token source and error strategy.
10 | ///
11 | public protocol TokenFactory {
| `- note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
12 |
13 | //typealias Symbol
/host/spi-builder-workspace/Sources/Antlr4/ConsoleErrorListener.swift:17:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 |
13 | public class ConsoleErrorListener: BaseErrorListener {
| `- note: class 'ConsoleErrorListener' does not conform to the 'Sendable' protocol
14 | ///
15 | /// Provides a default instance of _org.antlr.v4.runtime.ConsoleErrorListener_.
16 | ///
17 | public static let INSTANCE: ConsoleErrorListener = ConsoleErrorListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/host/spi-builder-workspace/Sources/Antlr4/Lexer.swift:135:13: warning: variable 'tokenStartMarker' was never mutated; consider changing to 'let' constant
133 | // Mark start location in char stream so unbuffered streams are
134 | // guaranteed at least have text of current token
135 | var tokenStartMarker = _input.mark()
| `- warning: variable 'tokenStartMarker' was never mutated; consider changing to 'let' constant
136 | defer {
137 | // make sure we release marker after match or
[133/159] Compiling Antlr4 InputMismatchException.swift
/host/spi-builder-workspace/Sources/Antlr4/CommonTokenFactory.swift:22:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// tokens.
21 | ///
22 | public static let DEFAULT: TokenFactory = CommonTokenFactory()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:11:17: note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
9 | /// of a new factory means that it notifies it's token source and error strategy.
10 | ///
11 | public protocol TokenFactory {
| `- note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
12 |
13 | //typealias Symbol
/host/spi-builder-workspace/Sources/Antlr4/ConsoleErrorListener.swift:17:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 |
13 | public class ConsoleErrorListener: BaseErrorListener {
| `- note: class 'ConsoleErrorListener' does not conform to the 'Sendable' protocol
14 | ///
15 | /// Provides a default instance of _org.antlr.v4.runtime.ConsoleErrorListener_.
16 | ///
17 | public static let INSTANCE: ConsoleErrorListener = ConsoleErrorListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/host/spi-builder-workspace/Sources/Antlr4/Lexer.swift:135:13: warning: variable 'tokenStartMarker' was never mutated; consider changing to 'let' constant
133 | // Mark start location in char stream so unbuffered streams are
134 | // guaranteed at least have text of current token
135 | var tokenStartMarker = _input.mark()
| `- warning: variable 'tokenStartMarker' was never mutated; consider changing to 'let' constant
136 | defer {
137 | // make sure we release marker after match or
[134/159] Compiling Antlr4 IntStream.swift
/host/spi-builder-workspace/Sources/Antlr4/CommonTokenFactory.swift:22:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// tokens.
21 | ///
22 | public static let DEFAULT: TokenFactory = CommonTokenFactory()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:11:17: note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
9 | /// of a new factory means that it notifies it's token source and error strategy.
10 | ///
11 | public protocol TokenFactory {
| `- note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
12 |
13 | //typealias Symbol
/host/spi-builder-workspace/Sources/Antlr4/ConsoleErrorListener.swift:17:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 |
13 | public class ConsoleErrorListener: BaseErrorListener {
| `- note: class 'ConsoleErrorListener' does not conform to the 'Sendable' protocol
14 | ///
15 | /// Provides a default instance of _org.antlr.v4.runtime.ConsoleErrorListener_.
16 | ///
17 | public static let INSTANCE: ConsoleErrorListener = ConsoleErrorListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/host/spi-builder-workspace/Sources/Antlr4/Lexer.swift:135:13: warning: variable 'tokenStartMarker' was never mutated; consider changing to 'let' constant
133 | // Mark start location in char stream so unbuffered streams are
134 | // guaranteed at least have text of current token
135 | var tokenStartMarker = _input.mark()
| `- warning: variable 'tokenStartMarker' was never mutated; consider changing to 'let' constant
136 | defer {
137 | // make sure we release marker after match or
[135/159] Compiling Antlr4 InterpreterRuleContext.swift
/host/spi-builder-workspace/Sources/Antlr4/CommonTokenFactory.swift:22:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// tokens.
21 | ///
22 | public static let DEFAULT: TokenFactory = CommonTokenFactory()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:11:17: note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
9 | /// of a new factory means that it notifies it's token source and error strategy.
10 | ///
11 | public protocol TokenFactory {
| `- note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
12 |
13 | //typealias Symbol
/host/spi-builder-workspace/Sources/Antlr4/ConsoleErrorListener.swift:17:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 |
13 | public class ConsoleErrorListener: BaseErrorListener {
| `- note: class 'ConsoleErrorListener' does not conform to the 'Sendable' protocol
14 | ///
15 | /// Provides a default instance of _org.antlr.v4.runtime.ConsoleErrorListener_.
16 | ///
17 | public static let INSTANCE: ConsoleErrorListener = ConsoleErrorListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/host/spi-builder-workspace/Sources/Antlr4/Lexer.swift:135:13: warning: variable 'tokenStartMarker' was never mutated; consider changing to 'let' constant
133 | // Mark start location in char stream so unbuffered streams are
134 | // guaranteed at least have text of current token
135 | var tokenStartMarker = _input.mark()
| `- warning: variable 'tokenStartMarker' was never mutated; consider changing to 'let' constant
136 | defer {
137 | // make sure we release marker after match or
[136/159] Compiling Antlr4 Lexer.swift
/host/spi-builder-workspace/Sources/Antlr4/CommonTokenFactory.swift:22:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// tokens.
21 | ///
22 | public static let DEFAULT: TokenFactory = CommonTokenFactory()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:11:17: note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
9 | /// of a new factory means that it notifies it's token source and error strategy.
10 | ///
11 | public protocol TokenFactory {
| `- note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
12 |
13 | //typealias Symbol
/host/spi-builder-workspace/Sources/Antlr4/ConsoleErrorListener.swift:17:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 |
13 | public class ConsoleErrorListener: BaseErrorListener {
| `- note: class 'ConsoleErrorListener' does not conform to the 'Sendable' protocol
14 | ///
15 | /// Provides a default instance of _org.antlr.v4.runtime.ConsoleErrorListener_.
16 | ///
17 | public static let INSTANCE: ConsoleErrorListener = ConsoleErrorListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/host/spi-builder-workspace/Sources/Antlr4/Lexer.swift:135:13: warning: variable 'tokenStartMarker' was never mutated; consider changing to 'let' constant
133 | // Mark start location in char stream so unbuffered streams are
134 | // guaranteed at least have text of current token
135 | var tokenStartMarker = _input.mark()
| `- warning: variable 'tokenStartMarker' was never mutated; consider changing to 'let' constant
136 | defer {
137 | // make sure we release marker after match or
[137/159] Compiling Antlr4 LexerInterpreter.swift
/host/spi-builder-workspace/Sources/Antlr4/CommonTokenFactory.swift:22:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// tokens.
21 | ///
22 | public static let DEFAULT: TokenFactory = CommonTokenFactory()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:11:17: note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
9 | /// of a new factory means that it notifies it's token source and error strategy.
10 | ///
11 | public protocol TokenFactory {
| `- note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
12 |
13 | //typealias Symbol
/host/spi-builder-workspace/Sources/Antlr4/ConsoleErrorListener.swift:17:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 |
13 | public class ConsoleErrorListener: BaseErrorListener {
| `- note: class 'ConsoleErrorListener' does not conform to the 'Sendable' protocol
14 | ///
15 | /// Provides a default instance of _org.antlr.v4.runtime.ConsoleErrorListener_.
16 | ///
17 | public static let INSTANCE: ConsoleErrorListener = ConsoleErrorListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/host/spi-builder-workspace/Sources/Antlr4/Lexer.swift:135:13: warning: variable 'tokenStartMarker' was never mutated; consider changing to 'let' constant
133 | // Mark start location in char stream so unbuffered streams are
134 | // guaranteed at least have text of current token
135 | var tokenStartMarker = _input.mark()
| `- warning: variable 'tokenStartMarker' was never mutated; consider changing to 'let' constant
136 | defer {
137 | // make sure we release marker after match or
[138/159] Compiling Antlr4 ParseTree.swift
/host/spi-builder-workspace/Sources/Antlr4/tree/ParseTreeWalker.swift:8:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 |
7 | public class ParseTreeWalker {
| `- note: class 'ParseTreeWalker' does not conform to the 'Sendable' protocol
8 | public static let DEFAULT = ParseTreeWalker()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
9 |
10 | public init() {
[139/159] Compiling Antlr4 ParseTreeListener.swift
/host/spi-builder-workspace/Sources/Antlr4/tree/ParseTreeWalker.swift:8:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 |
7 | public class ParseTreeWalker {
| `- note: class 'ParseTreeWalker' does not conform to the 'Sendable' protocol
8 | public static let DEFAULT = ParseTreeWalker()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
9 |
10 | public init() {
[140/159] Compiling Antlr4 ParseTreeProperty.swift
/host/spi-builder-workspace/Sources/Antlr4/tree/ParseTreeWalker.swift:8:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 |
7 | public class ParseTreeWalker {
| `- note: class 'ParseTreeWalker' does not conform to the 'Sendable' protocol
8 | public static let DEFAULT = ParseTreeWalker()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
9 |
10 | public init() {
[141/159] Compiling Antlr4 ParseTreeVisitor.swift
/host/spi-builder-workspace/Sources/Antlr4/tree/ParseTreeWalker.swift:8:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 |
7 | public class ParseTreeWalker {
| `- note: class 'ParseTreeWalker' does not conform to the 'Sendable' protocol
8 | public static let DEFAULT = ParseTreeWalker()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
9 |
10 | public init() {
[142/159] Compiling Antlr4 ParseTreeWalker.swift
/host/spi-builder-workspace/Sources/Antlr4/tree/ParseTreeWalker.swift:8:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 |
7 | public class ParseTreeWalker {
| `- note: class 'ParseTreeWalker' does not conform to the 'Sendable' protocol
8 | public static let DEFAULT = ParseTreeWalker()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
9 |
10 | public init() {
[143/159] Compiling Antlr4 RuleNode.swift
/host/spi-builder-workspace/Sources/Antlr4/tree/ParseTreeWalker.swift:8:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 |
7 | public class ParseTreeWalker {
| `- note: class 'ParseTreeWalker' does not conform to the 'Sendable' protocol
8 | public static let DEFAULT = ParseTreeWalker()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
9 |
10 | public init() {
[144/159] Compiling Antlr4 SyntaxTree.swift
/host/spi-builder-workspace/Sources/Antlr4/tree/ParseTreeWalker.swift:8:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 |
7 | public class ParseTreeWalker {
| `- note: class 'ParseTreeWalker' does not conform to the 'Sendable' protocol
8 | public static let DEFAULT = ParseTreeWalker()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
9 |
10 | public init() {
[145/159] Compiling Antlr4 TerminalNode.swift
/host/spi-builder-workspace/Sources/Antlr4/tree/ParseTreeWalker.swift:8:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 |
7 | public class ParseTreeWalker {
| `- note: class 'ParseTreeWalker' does not conform to the 'Sendable' protocol
8 | public static let DEFAULT = ParseTreeWalker()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
9 |
10 | public init() {
[146/159] Compiling Antlr4 TerminalNodeImpl.swift
/host/spi-builder-workspace/Sources/Antlr4/tree/ParseTreeWalker.swift:8:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 |
7 | public class ParseTreeWalker {
| `- note: class 'ParseTreeWalker' does not conform to the 'Sendable' protocol
8 | public static let DEFAULT = ParseTreeWalker()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
9 |
10 | public init() {
[147/159] Compiling Antlr4 Tree.swift
/host/spi-builder-workspace/Sources/Antlr4/tree/ParseTreeWalker.swift:8:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 |
7 | public class ParseTreeWalker {
| `- note: class 'ParseTreeWalker' does not conform to the 'Sendable' protocol
8 | public static let DEFAULT = ParseTreeWalker()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
9 |
10 | public init() {
[148/159] Compiling Antlr4 Trees.swift
/host/spi-builder-workspace/Sources/Antlr4/tree/ParseTreeWalker.swift:8:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 |
7 | public class ParseTreeWalker {
| `- note: class 'ParseTreeWalker' does not conform to the 'Sendable' protocol
8 | public static let DEFAULT = ParseTreeWalker()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
9 |
10 | public init() {
[149/159] Compiling Antlr4 Chunk.swift
/host/spi-builder-workspace/Sources/Antlr4/tree/ParseTreeWalker.swift:8:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 |
7 | public class ParseTreeWalker {
| `- note: class 'ParseTreeWalker' does not conform to the 'Sendable' protocol
8 | public static let DEFAULT = ParseTreeWalker()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
9 |
10 | public init() {
[150/159] Compiling Antlr4 ParseTreeMatch.swift
/host/spi-builder-workspace/Sources/Antlr4/tree/ParseTreeWalker.swift:8:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 |
7 | public class ParseTreeWalker {
| `- note: class 'ParseTreeWalker' does not conform to the 'Sendable' protocol
8 | public static let DEFAULT = ParseTreeWalker()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
9 |
10 | public init() {
[151/159] Compiling Antlr4 ParseTreePattern.swift
/host/spi-builder-workspace/Sources/Antlr4/tree/ParseTreeWalker.swift:8:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 |
7 | public class ParseTreeWalker {
| `- note: class 'ParseTreeWalker' does not conform to the 'Sendable' protocol
8 | public static let DEFAULT = ParseTreeWalker()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
9 |
10 | public init() {
[152/159] Compiling Antlr4 ParseTreePatternMatcher.swift
/host/spi-builder-workspace/Sources/Antlr4/tree/ParseTreeWalker.swift:8:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 |
7 | public class ParseTreeWalker {
| `- note: class 'ParseTreeWalker' does not conform to the 'Sendable' protocol
8 | public static let DEFAULT = ParseTreeWalker()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
9 |
10 | public init() {
[153/159] Compiling Antlr4 RuleTagToken.swift
/host/spi-builder-workspace/Sources/Antlr4/tree/ParseTreeWalker.swift:8:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 |
7 | public class ParseTreeWalker {
| `- note: class 'ParseTreeWalker' does not conform to the 'Sendable' protocol
8 | public static let DEFAULT = ParseTreeWalker()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
9 |
10 | public init() {
[154/159] Compiling Antlr4 TagChunk.swift
/host/spi-builder-workspace/Sources/Antlr4/tree/ParseTreeWalker.swift:8:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 |
7 | public class ParseTreeWalker {
| `- note: class 'ParseTreeWalker' does not conform to the 'Sendable' protocol
8 | public static let DEFAULT = ParseTreeWalker()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
9 |
10 | public init() {
[155/159] Compiling Antlr4 TextChunk.swift
/host/spi-builder-workspace/Sources/Antlr4/tree/ParseTreeWalker.swift:8:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 |
7 | public class ParseTreeWalker {
| `- note: class 'ParseTreeWalker' does not conform to the 'Sendable' protocol
8 | public static let DEFAULT = ParseTreeWalker()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
9 |
10 | public init() {
[156/159] Compiling Antlr4 TokenTagToken.swift
/host/spi-builder-workspace/Sources/Antlr4/tree/ParseTreeWalker.swift:8:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 |
7 | public class ParseTreeWalker {
| `- note: class 'ParseTreeWalker' does not conform to the 'Sendable' protocol
8 | public static let DEFAULT = ParseTreeWalker()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
9 |
10 | public init() {
[157/160] Wrapping AST for Antlr4 for debugging
[158/160] Write Objects.LinkFileList
[159/160] Linking libAntlr4.so
Build complete! (16.36s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Antlr4",
"name" : "Antlr4",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Antlr4",
"targets" : [
"Antlr4"
],
"type" : {
"library" : [
"dynamic"
]
}
}
],
"targets" : [
{
"c99name" : "Antlr4Tests",
"module_type" : "SwiftTarget",
"name" : "Antlr4Tests",
"path" : "Tests/Antlr4Tests",
"sources" : [
"MurmurHashTests.swift",
"ParseTreePatternMatcherTests.swift",
"RuntimeMetaDataTests.swift",
"StringExtensionTests.swift",
"TokenStreamRewriterTests.swift",
"TokenStreamTests.swift",
"VisitorTests.swift",
"gen/LexerA.swift",
"gen/LexerAATN.swift",
"gen/LexerB.swift",
"gen/LexerBATN.swift",
"gen/VisitorBasicBaseListener.swift",
"gen/VisitorBasicBaseVisitor.swift",
"gen/VisitorBasicLexer.swift",
"gen/VisitorBasicLexerATN.swift",
"gen/VisitorBasicListener.swift",
"gen/VisitorBasicParser.swift",
"gen/VisitorBasicParserATN.swift",
"gen/VisitorBasicVisitor.swift",
"gen/VisitorCalcBaseListener.swift",
"gen/VisitorCalcBaseVisitor.swift",
"gen/VisitorCalcLexer.swift",
"gen/VisitorCalcLexerATN.swift",
"gen/VisitorCalcListener.swift",
"gen/VisitorCalcParser.swift",
"gen/VisitorCalcParserATN.swift",
"gen/VisitorCalcVisitor.swift"
],
"target_dependencies" : [
"Antlr4"
],
"type" : "test"
},
{
"c99name" : "Antlr4",
"module_type" : "SwiftTarget",
"name" : "Antlr4",
"path" : "Sources/Antlr4",
"product_memberships" : [
"Antlr4"
],
"sources" : [
"ANTLRErrorListener.swift",
"ANTLRErrorStrategy.swift",
"ANTLRFileStream.swift",
"ANTLRInputStream.swift",
"BailErrorStrategy.swift",
"BaseErrorListener.swift",
"BufferedTokenStream.swift",
"CharStream.swift",
"CommonToken.swift",
"CommonTokenFactory.swift",
"CommonTokenStream.swift",
"ConsoleErrorListener.swift",
"DefaultErrorStrategy.swift",
"DiagnosticErrorListener.swift",
"FailedPredicateException.swift",
"InputMismatchException.swift",
"IntStream.swift",
"InterpreterRuleContext.swift",
"Lexer.swift",
"LexerInterpreter.swift",
"LexerNoViableAltException.swift",
"ListTokenSource.swift",
"NoViableAltException.swift",
"Parser.swift",
"ParserInterpreter.swift",
"ParserRuleContext.swift",
"ProxyErrorListener.swift",
"RecognitionException.swift",
"Recognizer.swift",
"RuleContext.swift",
"RuntimeMetaData.swift",
"Token.swift",
"TokenFactory.swift",
"TokenSource.swift",
"TokenStream.swift",
"TokenStreamRewriter.swift",
"UnbufferedCharStream.swift",
"UnbufferedTokenStream.swift",
"VocabularySingle.swift",
"WritableToken.swift",
"atn/ATN.swift",
"atn/ATNConfig.swift",
"atn/ATNConfigSet.swift",
"atn/ATNDeserializationOptions.swift",
"atn/ATNDeserializer.swift",
"atn/ATNSimulator.swift",
"atn/ATNState.swift",
"atn/ATNType.swift",
"atn/AbstractPredicateTransition.swift",
"atn/ActionTransition.swift",
"atn/AmbiguityInfo.swift",
"atn/ArrayPredictionContext.swift",
"atn/AtomTransition.swift",
"atn/BasicBlockStartState.swift",
"atn/BasicState.swift",
"atn/BlockEndState.swift",
"atn/BlockStartState.swift",
"atn/ContextSensitivityInfo.swift",
"atn/DecisionEventInfo.swift",
"atn/DecisionInfo.swift",
"atn/DecisionState.swift",
"atn/DefaultATNConfig.swift",
"atn/EmptyPredictionContext.swift",
"atn/EpsilonTransition.swift",
"atn/ErrorInfo.swift",
"atn/LL1Analyzer.swift",
"atn/LexerATNConfig.swift",
"atn/LexerATNSimulator.swift",
"atn/LexerAction.swift",
"atn/LexerActionExecutor.swift",
"atn/LexerActionType.swift",
"atn/LexerChannelAction.swift",
"atn/LexerCustomAction.swift",
"atn/LexerIndexedCustomAction.swift",
"atn/LexerModeAction.swift",
"atn/LexerMoreAction.swift",
"atn/LexerPopModeAction.swift",
"atn/LexerPushModeAction.swift",
"atn/LexerSkipAction.swift",
"atn/LexerTypeAction.swift",
"atn/LookaheadEventInfo.swift",
"atn/LookupATNConfig.swift",
"atn/LookupDictionary.swift",
"atn/LoopEndState.swift",
"atn/NotSetTransition.swift",
"atn/ParseInfo.swift",
"atn/ParserATNSimulator.swift",
"atn/PlusBlockStartState.swift",
"atn/PlusLoopbackState.swift",
"atn/PrecedencePredicateTransition.swift",
"atn/PredicateEvalInfo.swift",
"atn/PredicateTransition.swift",
"atn/PredictionContext.swift",
"atn/PredictionContextCache.swift",
"atn/PredictionMode.swift",
"atn/ProfilingATNSimulator.swift",
"atn/RangeTransition.swift",
"atn/RuleStartState.swift",
"atn/RuleStopState.swift",
"atn/RuleTransition.swift",
"atn/SemanticContext.swift",
"atn/SetTransition.swift",
"atn/SingletonPredictionContext.swift",
"atn/StarBlockStartState.swift",
"atn/StarLoopEntryState.swift",
"atn/StarLoopbackState.swift",
"atn/TokensStartState.swift",
"atn/Transition.swift",
"atn/WildcardTransition.swift",
"dfa/DFA.swift",
"dfa/DFASerializer.swift",
"dfa/DFAState.swift",
"dfa/LexerDFASerializer.swift",
"misc/BitSet.swift",
"misc/DoubleKeyMap.swift",
"misc/IntSet.swift",
"misc/Interval.swift",
"misc/IntervalSet.swift",
"misc/MultiMap.swift",
"misc/MurmurHash.swift",
"misc/Utils.swift",
"misc/exception/ANTLRError.swift",
"misc/exception/ANTLRException.swift",
"misc/extension/ArrayExtension.swift",
"misc/extension/CharacterExtension.swift",
"misc/extension/IntStreamExtension.swift",
"misc/extension/StringExtension.swift",
"misc/extension/TokenExtension.swift",
"misc/extension/UUIDExtension.swift",
"misc/utils/CommonUtil.swift",
"misc/utils/Mutex.swift",
"misc/utils/Stack.swift",
"tree/AbstractParseTreeVisitor.swift",
"tree/ErrorNode.swift",
"tree/ParseTree.swift",
"tree/ParseTreeListener.swift",
"tree/ParseTreeProperty.swift",
"tree/ParseTreeVisitor.swift",
"tree/ParseTreeWalker.swift",
"tree/RuleNode.swift",
"tree/SyntaxTree.swift",
"tree/TerminalNode.swift",
"tree/TerminalNodeImpl.swift",
"tree/Tree.swift",
"tree/Trees.swift",
"tree/pattern/Chunk.swift",
"tree/pattern/ParseTreeMatch.swift",
"tree/pattern/ParseTreePattern.swift",
"tree/pattern/ParseTreePatternMatcher.swift",
"tree/pattern/RuleTagToken.swift",
"tree/pattern/TagChunk.swift",
"tree/pattern/TextChunk.swift",
"tree/pattern/TokenTagToken.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Done.