Build Information
Failed to build Antlr4, reference 4.1.2 (f999ab
), with Swift 6.1 for Wasm on 28 May 2025 09:52:49 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
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 | ///
[138/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 | ///
[139/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 | ///
[140/159] Compiling Antlr4 LexerNoViableAltException.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 : ATN? = nil
| |- 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/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 | /// The mutex instance.
11 | ///
12 | private let semaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 | ///
/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 | /// The mutex instance.
/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/ParserRuleContext.swift:30: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
27 | /// satisfy the superclass interface.
28 | ///
29 | open class ParserRuleContext: RuleContext {
| `- note: class 'ParserRuleContext' does not conform to the 'Sendable' protocol
30 | 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
31 |
32 | public var visited = false
/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:24: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
11 | ///
12 |
13 | public struct Vocabulary {
| `- note: consider making struct 'Vocabulary' conform to the 'Sendable' protocol
14 | public static let EMPTY_NAMES: [String?] = [""]
15 |
:
22 | /// except _org.antlr.v4.runtime.Token#EOF_.
23 | ///
24 | 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
25 |
26 | private var literalNames: [String?]
[141/159] Compiling Antlr4 ListTokenSource.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 : ATN? = nil
| |- 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/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 | /// The mutex instance.
11 | ///
12 | private let semaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 | ///
/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 | /// The mutex instance.
/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/ParserRuleContext.swift:30: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
27 | /// satisfy the superclass interface.
28 | ///
29 | open class ParserRuleContext: RuleContext {
| `- note: class 'ParserRuleContext' does not conform to the 'Sendable' protocol
30 | 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
31 |
32 | public var visited = false
/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:24: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
11 | ///
12 |
13 | public struct Vocabulary {
| `- note: consider making struct 'Vocabulary' conform to the 'Sendable' protocol
14 | public static let EMPTY_NAMES: [String?] = [""]
15 |
:
22 | /// except _org.antlr.v4.runtime.Token#EOF_.
23 | ///
24 | 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
25 |
26 | private var literalNames: [String?]
[142/159] Compiling Antlr4 NoViableAltException.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 : ATN? = nil
| |- 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/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 | /// The mutex instance.
11 | ///
12 | private let semaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 | ///
/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 | /// The mutex instance.
/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/ParserRuleContext.swift:30: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
27 | /// satisfy the superclass interface.
28 | ///
29 | open class ParserRuleContext: RuleContext {
| `- note: class 'ParserRuleContext' does not conform to the 'Sendable' protocol
30 | 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
31 |
32 | public var visited = false
/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:24: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
11 | ///
12 |
13 | public struct Vocabulary {
| `- note: consider making struct 'Vocabulary' conform to the 'Sendable' protocol
14 | public static let EMPTY_NAMES: [String?] = [""]
15 |
:
22 | /// except _org.antlr.v4.runtime.Token#EOF_.
23 | ///
24 | 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
25 |
26 | private var literalNames: [String?]
[143/159] Compiling Antlr4 Parser.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 : ATN? = nil
| |- 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/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 | /// The mutex instance.
11 | ///
12 | private let semaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 | ///
/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 | /// The mutex instance.
/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/ParserRuleContext.swift:30: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
27 | /// satisfy the superclass interface.
28 | ///
29 | open class ParserRuleContext: RuleContext {
| `- note: class 'ParserRuleContext' does not conform to the 'Sendable' protocol
30 | 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
31 |
32 | public var visited = false
/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:24: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
11 | ///
12 |
13 | public struct Vocabulary {
| `- note: consider making struct 'Vocabulary' conform to the 'Sendable' protocol
14 | public static let EMPTY_NAMES: [String?] = [""]
15 |
:
22 | /// except _org.antlr.v4.runtime.Token#EOF_.
23 | ///
24 | 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
25 |
26 | private var literalNames: [String?]
[144/159] Compiling Antlr4 ParserInterpreter.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 : ATN? = nil
| |- 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/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 | /// The mutex instance.
11 | ///
12 | private let semaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 | ///
/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 | /// The mutex instance.
/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/ParserRuleContext.swift:30: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
27 | /// satisfy the superclass interface.
28 | ///
29 | open class ParserRuleContext: RuleContext {
| `- note: class 'ParserRuleContext' does not conform to the 'Sendable' protocol
30 | 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
31 |
32 | public var visited = false
/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:24: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
11 | ///
12 |
13 | public struct Vocabulary {
| `- note: consider making struct 'Vocabulary' conform to the 'Sendable' protocol
14 | public static let EMPTY_NAMES: [String?] = [""]
15 |
:
22 | /// except _org.antlr.v4.runtime.Token#EOF_.
23 | ///
24 | 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
25 |
26 | private var literalNames: [String?]
[145/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 : ATN? = nil
| |- 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/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 | /// The mutex instance.
11 | ///
12 | private let semaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 | ///
/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 | /// The mutex instance.
/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/ParserRuleContext.swift:30: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
27 | /// satisfy the superclass interface.
28 | ///
29 | open class ParserRuleContext: RuleContext {
| `- note: class 'ParserRuleContext' does not conform to the 'Sendable' protocol
30 | 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
31 |
32 | public var visited = false
/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:24: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
11 | ///
12 |
13 | public struct Vocabulary {
| `- note: consider making struct 'Vocabulary' conform to the 'Sendable' protocol
14 | public static let EMPTY_NAMES: [String?] = [""]
15 |
:
22 | /// except _org.antlr.v4.runtime.Token#EOF_.
23 | ///
24 | 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
25 |
26 | private var literalNames: [String?]
[146/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 : ATN? = nil
| |- 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/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 | /// The mutex instance.
11 | ///
12 | private let semaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 | ///
/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 | /// The mutex instance.
/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/ParserRuleContext.swift:30: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
27 | /// satisfy the superclass interface.
28 | ///
29 | open class ParserRuleContext: RuleContext {
| `- note: class 'ParserRuleContext' does not conform to the 'Sendable' protocol
30 | 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
31 |
32 | public var visited = false
/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:24: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
11 | ///
12 |
13 | public struct Vocabulary {
| `- note: consider making struct 'Vocabulary' conform to the 'Sendable' protocol
14 | public static let EMPTY_NAMES: [String?] = [""]
15 |
:
22 | /// except _org.antlr.v4.runtime.Token#EOF_.
23 | ///
24 | 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
25 |
26 | private var literalNames: [String?]
[147/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 : ATN? = nil
| |- 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/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 | /// The mutex instance.
11 | ///
12 | private let semaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 | ///
/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 | /// The mutex instance.
/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/ParserRuleContext.swift:30: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
27 | /// satisfy the superclass interface.
28 | ///
29 | open class ParserRuleContext: RuleContext {
| `- note: class 'ParserRuleContext' does not conform to the 'Sendable' protocol
30 | 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
31 |
32 | public var visited = false
/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:24: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
11 | ///
12 |
13 | public struct Vocabulary {
| `- note: consider making struct 'Vocabulary' conform to the 'Sendable' protocol
14 | public static let EMPTY_NAMES: [String?] = [""]
15 |
:
22 | /// except _org.antlr.v4.runtime.Token#EOF_.
23 | ///
24 | 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
25 |
26 | private var literalNames: [String?]
[148/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 : ATN? = nil
| |- 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/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 | /// The mutex instance.
11 | ///
12 | private let semaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 | ///
/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 | /// The mutex instance.
/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/ParserRuleContext.swift:30: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
27 | /// satisfy the superclass interface.
28 | ///
29 | open class ParserRuleContext: RuleContext {
| `- note: class 'ParserRuleContext' does not conform to the 'Sendable' protocol
30 | 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
31 |
32 | public var visited = false
/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:24: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
11 | ///
12 |
13 | public struct Vocabulary {
| `- note: consider making struct 'Vocabulary' conform to the 'Sendable' protocol
14 | public static let EMPTY_NAMES: [String?] = [""]
15 |
:
22 | /// except _org.antlr.v4.runtime.Token#EOF_.
23 | ///
24 | 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
25 |
26 | private var literalNames: [String?]
[149/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 : ATN? = nil
| |- 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/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 | /// The mutex instance.
11 | ///
12 | private let semaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 | ///
/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 | /// The mutex instance.
/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/ParserRuleContext.swift:30: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
27 | /// satisfy the superclass interface.
28 | ///
29 | open class ParserRuleContext: RuleContext {
| `- note: class 'ParserRuleContext' does not conform to the 'Sendable' protocol
30 | 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
31 |
32 | public var visited = false
/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:24: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
11 | ///
12 |
13 | public struct Vocabulary {
| `- note: consider making struct 'Vocabulary' conform to the 'Sendable' protocol
14 | public static let EMPTY_NAMES: [String?] = [""]
15 |
:
22 | /// except _org.antlr.v4.runtime.Token#EOF_.
23 | ///
24 | 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
25 |
26 | private var literalNames: [String?]
[150/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 : ATN? = nil
| |- 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/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 | /// The mutex instance.
11 | ///
12 | private let semaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 | ///
/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 | /// The mutex instance.
/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/ParserRuleContext.swift:30: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
27 | /// satisfy the superclass interface.
28 | ///
29 | open class ParserRuleContext: RuleContext {
| `- note: class 'ParserRuleContext' does not conform to the 'Sendable' protocol
30 | 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
31 |
32 | public var visited = false
/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:24: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
11 | ///
12 |
13 | public struct Vocabulary {
| `- note: consider making struct 'Vocabulary' conform to the 'Sendable' protocol
14 | public static let EMPTY_NAMES: [String?] = [""]
15 |
:
22 | /// except _org.antlr.v4.runtime.Token#EOF_.
23 | ///
24 | 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
25 |
26 | private var literalNames: [String?]
[151/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 : ATN? = nil
| |- 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/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 | /// The mutex instance.
11 | ///
12 | private let semaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 | ///
/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 | /// The mutex instance.
/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/ParserRuleContext.swift:30: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
27 | /// satisfy the superclass interface.
28 | ///
29 | open class ParserRuleContext: RuleContext {
| `- note: class 'ParserRuleContext' does not conform to the 'Sendable' protocol
30 | 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
31 |
32 | public var visited = false
/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:24: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
11 | ///
12 |
13 | public struct Vocabulary {
| `- note: consider making struct 'Vocabulary' conform to the 'Sendable' protocol
14 | public static let EMPTY_NAMES: [String?] = [""]
15 |
:
22 | /// except _org.antlr.v4.runtime.Token#EOF_.
23 | ///
24 | 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
25 |
26 | private var literalNames: [String?]
[152/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 : ATN? = nil
| |- 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/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 | /// The mutex instance.
11 | ///
12 | private let semaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 | ///
/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 | /// The mutex instance.
/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/ParserRuleContext.swift:30: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
27 | /// satisfy the superclass interface.
28 | ///
29 | open class ParserRuleContext: RuleContext {
| `- note: class 'ParserRuleContext' does not conform to the 'Sendable' protocol
30 | 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
31 |
32 | public var visited = false
/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:24: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
11 | ///
12 |
13 | public struct Vocabulary {
| `- note: consider making struct 'Vocabulary' conform to the 'Sendable' protocol
14 | public static let EMPTY_NAMES: [String?] = [""]
15 |
:
22 | /// except _org.antlr.v4.runtime.Token#EOF_.
23 | ///
24 | 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
25 |
26 | private var literalNames: [String?]
[153/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 : ATN? = nil
| |- 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/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 | /// The mutex instance.
11 | ///
12 | private let semaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 | ///
/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 | /// The mutex instance.
/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/ParserRuleContext.swift:30: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
27 | /// satisfy the superclass interface.
28 | ///
29 | open class ParserRuleContext: RuleContext {
| `- note: class 'ParserRuleContext' does not conform to the 'Sendable' protocol
30 | 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
31 |
32 | public var visited = false
/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:24: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
11 | ///
12 |
13 | public struct Vocabulary {
| `- note: consider making struct 'Vocabulary' conform to the 'Sendable' protocol
14 | public static let EMPTY_NAMES: [String?] = [""]
15 |
:
22 | /// except _org.antlr.v4.runtime.Token#EOF_.
23 | ///
24 | 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
25 |
26 | private var literalNames: [String?]
[154/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 : ATN? = nil
| |- 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/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 | /// The mutex instance.
11 | ///
12 | private let semaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 | ///
/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 | /// The mutex instance.
/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/ParserRuleContext.swift:30: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
27 | /// satisfy the superclass interface.
28 | ///
29 | open class ParserRuleContext: RuleContext {
| `- note: class 'ParserRuleContext' does not conform to the 'Sendable' protocol
30 | 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
31 |
32 | public var visited = false
/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:24: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
11 | ///
12 |
13 | public struct Vocabulary {
| `- note: consider making struct 'Vocabulary' conform to the 'Sendable' protocol
14 | public static let EMPTY_NAMES: [String?] = [""]
15 |
:
22 | /// except _org.antlr.v4.runtime.Token#EOF_.
23 | ///
24 | 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
25 |
26 | private var literalNames: [String?]
[155/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 : ATN? = nil
| |- 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/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 | /// The mutex instance.
11 | ///
12 | private let semaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 | ///
/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 | /// The mutex instance.
/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/ParserRuleContext.swift:30: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
27 | /// satisfy the superclass interface.
28 | ///
29 | open class ParserRuleContext: RuleContext {
| `- note: class 'ParserRuleContext' does not conform to the 'Sendable' protocol
30 | 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
31 |
32 | public var visited = false
/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:24: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
11 | ///
12 |
13 | public struct Vocabulary {
| `- note: consider making struct 'Vocabulary' conform to the 'Sendable' protocol
14 | public static let EMPTY_NAMES: [String?] = [""]
15 |
:
22 | /// except _org.antlr.v4.runtime.Token#EOF_.
23 | ///
24 | 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
25 |
26 | private var literalNames: [String?]
[156/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 : ATN? = nil
| |- 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/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 | /// The mutex instance.
11 | ///
12 | private let semaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 | ///
/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 | /// The mutex instance.
/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/ParserRuleContext.swift:30: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
27 | /// satisfy the superclass interface.
28 | ///
29 | open class ParserRuleContext: RuleContext {
| `- note: class 'ParserRuleContext' does not conform to the 'Sendable' protocol
30 | 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
31 |
32 | public var visited = false
/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:24: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
11 | ///
12 |
13 | public struct Vocabulary {
| `- note: consider making struct 'Vocabulary' conform to the 'Sendable' protocol
14 | public static let EMPTY_NAMES: [String?] = [""]
15 |
:
22 | /// except _org.antlr.v4.runtime.Token#EOF_.
23 | ///
24 | 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
25 |
26 | private var literalNames: [String?]
[157/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 : ATN? = nil
| |- 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/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 | /// The mutex instance.
11 | ///
12 | private let semaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 | ///
/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 | /// The mutex instance.
/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/ParserRuleContext.swift:30: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
27 | /// satisfy the superclass interface.
28 | ///
29 | open class ParserRuleContext: RuleContext {
| `- note: class 'ParserRuleContext' does not conform to the 'Sendable' protocol
30 | 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
31 |
32 | public var visited = false
/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:24: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
11 | ///
12 |
13 | public struct Vocabulary {
| `- note: consider making struct 'Vocabulary' conform to the 'Sendable' protocol
14 | public static let EMPTY_NAMES: [String?] = [""]
15 |
:
22 | /// except _org.antlr.v4.runtime.Token#EOF_.
23 | ///
24 | 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
25 |
26 | private var literalNames: [String?]
[158/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 : ATN? = nil
| |- 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/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 | /// The mutex instance.
11 | ///
12 | private let semaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 | ///
/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 | /// The mutex instance.
/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/ParserRuleContext.swift:30: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
27 | /// satisfy the superclass interface.
28 | ///
29 | open class ParserRuleContext: RuleContext {
| `- note: class 'ParserRuleContext' does not conform to the 'Sendable' protocol
30 | 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
31 |
32 | public var visited = false
/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:24: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
11 | ///
12 |
13 | public struct Vocabulary {
| `- note: consider making struct 'Vocabulary' conform to the 'Sendable' protocol
14 | public static let EMPTY_NAMES: [String?] = [""]
15 |
:
22 | /// except _org.antlr.v4.runtime.Token#EOF_.
23 | ///
24 | 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
25 |
26 | private var literalNames: [String?]
[159/159] Compiling Antlr4 WritableToken.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 : ATN? = nil
| |- 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/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 | /// The mutex instance.
11 | ///
12 | private let semaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 | ///
/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 | /// The mutex instance.
/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/ParserRuleContext.swift:30: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
27 | /// satisfy the superclass interface.
28 | ///
29 | open class ParserRuleContext: RuleContext {
| `- note: class 'ParserRuleContext' does not conform to the 'Sendable' protocol
30 | 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
31 |
32 | public var visited = false
/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:24: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
11 | ///
12 |
13 | public struct Vocabulary {
| `- note: consider making struct 'Vocabulary' conform to the 'Sendable' protocol
14 | public static let EMPTY_NAMES: [String?] = [""]
15 |
:
22 | /// except _org.antlr.v4.runtime.Token#EOF_.
23 | ///
24 | 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
25 |
26 | private var literalNames: [String?]
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/Antlr4Tests/JavaScript/TestResults/InternationalizationAndLocalization.js.output': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/Antlr4Tests/JavaScript/TestResults/TemplateStrings.js.output': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/Antlr4Tests/JavaScript/TestResults/LetAndAsync.js.output': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/Antlr4Tests/JavaScript/TestResults/ExtendedParameterHandling.js.output': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/Antlr4Tests/JavaScript/TestResults/Misc.js.output': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/Antlr4Tests/JavaScript/TestResults/ObjectInitializer.js.output': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/Antlr4Tests/JavaScript/TestResults/NewBuildInMethods.js.output': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/Antlr4Tests/JavaScript/TestResults/AsyncAwait.js.output': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/Antlr4Tests/JavaScript/TestResults/TemplateLiterals.js.output': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/Antlr4Tests/JavaScript/TestResults/ExtendedLiterals.js.output': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/Antlr4Tests/JavaScript/TestResults/Constants.js.output': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/Antlr4Tests/JavaScript/TestResults/Stage3.js.output': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/Antlr4Tests/JavaScript/TestResults/Promises.js.output': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/Antlr4Tests/JavaScript/TestResults/EnhancedObjectProperties.js.output': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/Antlr4Tests/JavaScript/TestResults/SymbolType.js.output': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/Antlr4Tests/JavaScript/TestResults/DestructuringAssignment.js.output': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/Antlr4Tests/JavaScript/TestResults/Outdated.js.output': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/Antlr4Tests/JavaScript/TestResults/MapSetAndWeakMapWeakSet.js.output': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/Antlr4Tests/JavaScript/TestResults/Meta-Programming.js.output': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/Antlr4Tests/JavaScript/TestResults/Generators.js.output': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/Antlr4Tests/JavaScript/TestResults/bezier.js.output': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/Antlr4Tests/JavaScript/TestResults/Iterators.js.output': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/Antlr4Tests/JavaScript/TestResults/Classes.js.output': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/Antlr4Tests/JavaScript/TestResults/ArrowFunctions.js.output': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/Antlr4Tests/JavaScript/TestResults/StrictFunctions.js.output': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/Antlr4Tests/JavaScript/TestResults/StrictGlobal.js.output': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/Antlr4Tests/JavaScript/TestResults/EnhancedRegularExpression.js.output': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/Antlr4Tests/JavaScript/TestResults/TypedArrays.js.output': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/Antlr4Tests/JavaScript/TestResults/Function.js.output': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/Antlr4Tests/JavaScript/TestResults/Issue2178NewExpression.js.output': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/Antlr4Tests/JavaScript/TestResults/utils.js.output': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/Antlr4Tests/JavaScript/TestResults/ClassInNonGlobalStrict.js.output': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/Antlr4Tests/JavaScript/TestResults/Modules.js.output': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/Antlr4Tests/JavaScript/TestResults/Scoping.js.output': File not found.
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/138] Emitting module Antlr4
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 | /// The mutex instance.
11 | ///
12 | private let semaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 | ///
[3/138] Compiling Antlr4 Interval.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 | /// The mutex instance.
11 | ///
12 | private let semaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 | ///
[4/138] Compiling Antlr4 IntervalSet.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 | /// The mutex instance.
11 | ///
12 | private let semaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 | ///
[5/138] Compiling Antlr4 MultiMap.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 | /// The mutex instance.
11 | ///
12 | private let semaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 | ///
[6/138] Compiling Antlr4 MurmurHash.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 | /// The mutex instance.
11 | ///
12 | private let semaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 | ///
[7/138] Compiling Antlr4 Utils.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 | /// The mutex instance.
11 | ///
12 | private let semaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 | ///
[8/138] Compiling Antlr4 ANTLRError.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 | /// The mutex instance.
11 | ///
12 | private let semaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 | ///
[9/138] Compiling Antlr4 ANTLRException.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 | /// The mutex instance.
11 | ///
12 | private let semaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 | ///
[10/138] Compiling Antlr4 ArrayExtension.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 | /// The mutex instance.
11 | ///
12 | private let semaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 | ///
[11/138] Compiling Antlr4 CharacterExtension.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 | /// The mutex instance.
11 | ///
12 | private let semaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 | ///
[12/138] Compiling Antlr4 IntStreamExtension.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 | /// The mutex instance.
11 | ///
12 | private let semaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 | ///
[13/138] Compiling Antlr4 StringExtension.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 | /// The mutex instance.
11 | ///
12 | private let semaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 | ///
[14/138] Compiling Antlr4 TokenExtension.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 | /// The mutex instance.
11 | ///
12 | private let semaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 | ///
[15/138] Compiling Antlr4 UUIDExtension.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 | /// The mutex instance.
11 | ///
12 | private let semaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 | ///
[16/138] Compiling Antlr4 AtomicInt.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 | /// The mutex instance.
11 | ///
12 | private let semaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 | ///
[17/138] Compiling Antlr4 CommonUtil.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 | /// The mutex instance.
11 | ///
12 | private let semaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 | ///
[18/138] Compiling Antlr4 Mutex.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 | /// The mutex instance.
11 | ///
12 | private let semaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 | ///
[19/138] Compiling Antlr4 Stack.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 | /// The mutex instance.
11 | ///
12 | private let semaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 | ///
[20/138] Compiling Antlr4 AbstractParseTreeVisitor.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 | /// The mutex instance.
11 | ///
12 | private let semaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 | ///
[21/138] Compiling Antlr4 ErrorNode.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 | /// The mutex instance.
11 | ///
12 | private let semaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 | ///
[22/157] Compiling Antlr4 LexerNoViableAltException.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 | /// The mutex instance.
11 | ///
12 | private let semaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 | ///
[23/157] Compiling Antlr4 ListTokenSource.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 | /// The mutex instance.
11 | ///
12 | private let semaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 | ///
[24/157] Compiling Antlr4 NoViableAltException.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 | /// The mutex instance.
11 | ///
12 | private let semaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 | ///
[25/157] Compiling Antlr4 Parser.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 | /// The mutex instance.
11 | ///
12 | private let semaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 | ///
[26/157] Compiling Antlr4 ParserInterpreter.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 | /// The mutex instance.
11 | ///
12 | private let semaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 | ///
[27/157] Compiling Antlr4 ParserRuleContext.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 | /// The mutex instance.
11 | ///
12 | private let semaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 | ///
[28/157] Compiling Antlr4 ProxyErrorListener.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 | /// The mutex instance.
11 | ///
12 | private let semaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 | ///
[29/157] Compiling Antlr4 RecognitionException.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 | /// The mutex instance.
11 | ///
12 | private let semaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 | ///
[30/157] Compiling Antlr4 Recognizer.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 | /// The mutex instance.
11 | ///
12 | private let semaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 | ///
[31/157] Compiling Antlr4 RuleContext.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 | /// The mutex instance.
11 | ///
12 | private let semaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 | ///
[32/157] Compiling Antlr4 RuntimeMetaData.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 | /// The mutex instance.
11 | ///
12 | private let semaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 | ///
[33/157] Compiling Antlr4 Token.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 | /// The mutex instance.
11 | ///
12 | private let semaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 | ///
[34/157] Compiling Antlr4 TokenFactory.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 | /// The mutex instance.
11 | ///
12 | private let semaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 | ///
[35/157] Compiling Antlr4 TokenSource.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 | /// The mutex instance.
11 | ///
12 | private let semaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 | ///
[36/157] Compiling Antlr4 TokenStream.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 | /// The mutex instance.
11 | ///
12 | private let semaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 | ///
[37/157] Compiling Antlr4 TokenStreamRewriter.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 | /// The mutex instance.
11 | ///
12 | private let semaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 | ///
[38/157] Compiling Antlr4 UnbufferedCharStream.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 | /// The mutex instance.
11 | ///
12 | private let semaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 | ///
[39/157] Compiling Antlr4 UnbufferedTokenStream.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 | /// The mutex instance.
11 | ///
12 | private let semaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 | ///
[40/157] Compiling Antlr4 VocabularySingle.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 | /// The mutex instance.
11 | ///
12 | private let semaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 | ///
[41/157] Compiling Antlr4 WritableToken.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 | /// The mutex instance.
11 | ///
12 | private let semaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 | ///
[42/157] Compiling Antlr4 ATN.swift
[43/157] Compiling Antlr4 ATNConfig.swift
[44/157] Compiling Antlr4 ATNConfigSet.swift
[45/157] Compiling Antlr4 ATNDeserializationOptions.swift
[46/157] Compiling Antlr4 ATNDeserializer.swift
[47/157] Compiling Antlr4 ATNSimulator.swift
[48/157] Compiling Antlr4 ATNState.swift
[49/157] Compiling Antlr4 ATNType.swift
[50/157] Compiling Antlr4 AbstractPredicateTransition.swift
[51/157] Compiling Antlr4 ActionTransition.swift
[52/157] Compiling Antlr4 AmbiguityInfo.swift
[53/157] Compiling Antlr4 ArrayPredictionContext.swift
[54/157] Compiling Antlr4 AtomTransition.swift
[55/157] Compiling Antlr4 BasicBlockStartState.swift
[56/157] Compiling Antlr4 BasicState.swift
[57/157] Compiling Antlr4 BlockEndState.swift
[58/157] Compiling Antlr4 BlockStartState.swift
[59/157] Compiling Antlr4 ContextSensitivityInfo.swift
[60/157] Compiling Antlr4 DecisionEventInfo.swift
[61/157] Compiling Antlr4 DecisionInfo.swift
[62/157] Compiling Antlr4 ParseTree.swift
[63/157] Compiling Antlr4 ParseTreeListener.swift
[64/157] Compiling Antlr4 ParseTreeProperty.swift
[65/157] Compiling Antlr4 ParseTreeVisitor.swift
[66/157] Compiling Antlr4 ParseTreeWalker.swift
[67/157] Compiling Antlr4 RuleNode.swift
[68/157] Compiling Antlr4 SyntaxTree.swift
[69/157] Compiling Antlr4 TerminalNode.swift
[70/157] Compiling Antlr4 TerminalNodeImpl.swift
[71/157] Compiling Antlr4 Tree.swift
[72/157] Compiling Antlr4 Trees.swift
[73/157] Compiling Antlr4 Chunk.swift
[74/157] Compiling Antlr4 ParseTreeMatch.swift
[75/157] Compiling Antlr4 ParseTreePattern.swift
[76/157] Compiling Antlr4 ParseTreePatternMatcher.swift
[77/157] Compiling Antlr4 RuleTagToken.swift
[78/157] Compiling Antlr4 TagChunk.swift
[79/157] Compiling Antlr4 TextChunk.swift
[80/157] Compiling Antlr4 TokenTagToken.swift
[81/157] Compiling Antlr4 ANTLRErrorListener.swift
[82/157] Compiling Antlr4 ANTLRErrorStrategy.swift
[83/157] Compiling Antlr4 ANTLRFileStream.swift
[84/157] Compiling Antlr4 ANTLRInputStream.swift
[85/157] Compiling Antlr4 BailErrorStrategy.swift
[86/157] Compiling Antlr4 BaseErrorListener.swift
[87/157] Compiling Antlr4 BufferedTokenStream.swift
[88/157] Compiling Antlr4 CharStream.swift
[89/157] Compiling Antlr4 CommonToken.swift
[90/157] Compiling Antlr4 CommonTokenFactory.swift
[91/157] Compiling Antlr4 CommonTokenStream.swift
[92/157] Compiling Antlr4 ConsoleErrorListener.swift
[93/157] Compiling Antlr4 DefaultErrorStrategy.swift
[94/157] Compiling Antlr4 DiagnosticErrorListener.swift
[95/157] Compiling Antlr4 FailedPredicateException.swift
[96/157] Compiling Antlr4 InputMismatchException.swift
[97/157] Compiling Antlr4 IntStream.swift
[98/157] Compiling Antlr4 InterpreterRuleContext.swift
[99/157] Compiling Antlr4 Lexer.swift
[100/157] Compiling Antlr4 LexerInterpreter.swift
[101/157] Compiling Antlr4 RuleStopState.swift
[102/157] Compiling Antlr4 RuleTransition.swift
[103/157] Compiling Antlr4 SemanticContext.swift
[104/157] Compiling Antlr4 SetTransition.swift
[105/157] Compiling Antlr4 SingletonPredictionContext.swift
[106/157] Compiling Antlr4 StarBlockStartState.swift
[107/157] Compiling Antlr4 StarLoopEntryState.swift
[108/157] Compiling Antlr4 StarLoopbackState.swift
[109/157] Compiling Antlr4 TokensStartState.swift
[110/157] Compiling Antlr4 Transition.swift
[111/157] Compiling Antlr4 WildcardTransition.swift
[112/157] Compiling Antlr4 DFA.swift
[113/157] Compiling Antlr4 DFASerializer.swift
[114/157] Compiling Antlr4 DFAState.swift
[115/157] Compiling Antlr4 LexerDFASerializer.swift
[116/157] Compiling Antlr4 BitSet.swift
[117/157] Compiling Antlr4 DoubleKeyMap.swift
[118/157] Compiling Antlr4 IntSet.swift
[119/157] Compiling Antlr4 InterpreterDataReader.swift
[120/157] Compiling Antlr4 DecisionState.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/EpsilonTransition.swift:12:33: warning: function call causes an infinite recursion
10 | private let outermostPrecedenceReturnInside: Int
11 |
12 | public convenience override init(_ target: ATNState) {
| `- warning: function call causes an infinite recursion
13 | self.init(target, -1)
14 | }
[121/157] Compiling Antlr4 DefaultATNConfig.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/EpsilonTransition.swift:12:33: warning: function call causes an infinite recursion
10 | private let outermostPrecedenceReturnInside: Int
11 |
12 | public convenience override init(_ target: ATNState) {
| `- warning: function call causes an infinite recursion
13 | self.init(target, -1)
14 | }
[122/157] Compiling Antlr4 EmptyPredictionContext.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/EpsilonTransition.swift:12:33: warning: function call causes an infinite recursion
10 | private let outermostPrecedenceReturnInside: Int
11 |
12 | public convenience override init(_ target: ATNState) {
| `- warning: function call causes an infinite recursion
13 | self.init(target, -1)
14 | }
[123/157] Compiling Antlr4 EpsilonTransition.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/EpsilonTransition.swift:12:33: warning: function call causes an infinite recursion
10 | private let outermostPrecedenceReturnInside: Int
11 |
12 | public convenience override init(_ target: ATNState) {
| `- warning: function call causes an infinite recursion
13 | self.init(target, -1)
14 | }
[124/157] Compiling Antlr4 ErrorInfo.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/EpsilonTransition.swift:12:33: warning: function call causes an infinite recursion
10 | private let outermostPrecedenceReturnInside: Int
11 |
12 | public convenience override init(_ target: ATNState) {
| `- warning: function call causes an infinite recursion
13 | self.init(target, -1)
14 | }
[125/157] Compiling Antlr4 LL1Analyzer.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/EpsilonTransition.swift:12:33: warning: function call causes an infinite recursion
10 | private let outermostPrecedenceReturnInside: Int
11 |
12 | public convenience override init(_ target: ATNState) {
| `- warning: function call causes an infinite recursion
13 | self.init(target, -1)
14 | }
[126/157] Compiling Antlr4 LexerATNConfig.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/EpsilonTransition.swift:12:33: warning: function call causes an infinite recursion
10 | private let outermostPrecedenceReturnInside: Int
11 |
12 | public convenience override init(_ target: ATNState) {
| `- warning: function call causes an infinite recursion
13 | self.init(target, -1)
14 | }
[127/157] Compiling Antlr4 LexerATNSimulator.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/EpsilonTransition.swift:12:33: warning: function call causes an infinite recursion
10 | private let outermostPrecedenceReturnInside: Int
11 |
12 | public convenience override init(_ target: ATNState) {
| `- warning: function call causes an infinite recursion
13 | self.init(target, -1)
14 | }
[128/157] Compiling Antlr4 LexerAction.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/EpsilonTransition.swift:12:33: warning: function call causes an infinite recursion
10 | private let outermostPrecedenceReturnInside: Int
11 |
12 | public convenience override init(_ target: ATNState) {
| `- warning: function call causes an infinite recursion
13 | self.init(target, -1)
14 | }
[129/157] Compiling Antlr4 LexerActionExecutor.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/EpsilonTransition.swift:12:33: warning: function call causes an infinite recursion
10 | private let outermostPrecedenceReturnInside: Int
11 |
12 | public convenience override init(_ target: ATNState) {
| `- warning: function call causes an infinite recursion
13 | self.init(target, -1)
14 | }
[130/157] Compiling Antlr4 LexerActionType.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/EpsilonTransition.swift:12:33: warning: function call causes an infinite recursion
10 | private let outermostPrecedenceReturnInside: Int
11 |
12 | public convenience override init(_ target: ATNState) {
| `- warning: function call causes an infinite recursion
13 | self.init(target, -1)
14 | }
[131/157] Compiling Antlr4 LexerChannelAction.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/EpsilonTransition.swift:12:33: warning: function call causes an infinite recursion
10 | private let outermostPrecedenceReturnInside: Int
11 |
12 | public convenience override init(_ target: ATNState) {
| `- warning: function call causes an infinite recursion
13 | self.init(target, -1)
14 | }
[132/157] Compiling Antlr4 LexerCustomAction.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/EpsilonTransition.swift:12:33: warning: function call causes an infinite recursion
10 | private let outermostPrecedenceReturnInside: Int
11 |
12 | public convenience override init(_ target: ATNState) {
| `- warning: function call causes an infinite recursion
13 | self.init(target, -1)
14 | }
[133/157] Compiling Antlr4 LexerIndexedCustomAction.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/EpsilonTransition.swift:12:33: warning: function call causes an infinite recursion
10 | private let outermostPrecedenceReturnInside: Int
11 |
12 | public convenience override init(_ target: ATNState) {
| `- warning: function call causes an infinite recursion
13 | self.init(target, -1)
14 | }
[134/157] Compiling Antlr4 LexerModeAction.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/EpsilonTransition.swift:12:33: warning: function call causes an infinite recursion
10 | private let outermostPrecedenceReturnInside: Int
11 |
12 | public convenience override init(_ target: ATNState) {
| `- warning: function call causes an infinite recursion
13 | self.init(target, -1)
14 | }
[135/157] Compiling Antlr4 LexerMoreAction.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/EpsilonTransition.swift:12:33: warning: function call causes an infinite recursion
10 | private let outermostPrecedenceReturnInside: Int
11 |
12 | public convenience override init(_ target: ATNState) {
| `- warning: function call causes an infinite recursion
13 | self.init(target, -1)
14 | }
[136/157] Compiling Antlr4 LexerPopModeAction.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/EpsilonTransition.swift:12:33: warning: function call causes an infinite recursion
10 | private let outermostPrecedenceReturnInside: Int
11 |
12 | public convenience override init(_ target: ATNState) {
| `- warning: function call causes an infinite recursion
13 | self.init(target, -1)
14 | }
[137/157] Compiling Antlr4 LexerPushModeAction.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/EpsilonTransition.swift:12:33: warning: function call causes an infinite recursion
10 | private let outermostPrecedenceReturnInside: Int
11 |
12 | public convenience override init(_ target: ATNState) {
| `- warning: function call causes an infinite recursion
13 | self.init(target, -1)
14 | }
[138/157] Compiling Antlr4 LexerSkipAction.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/EpsilonTransition.swift:12:33: warning: function call causes an infinite recursion
10 | private let outermostPrecedenceReturnInside: Int
11 |
12 | public convenience override init(_ target: ATNState) {
| `- warning: function call causes an infinite recursion
13 | self.init(target, -1)
14 | }
[139/157] Compiling Antlr4 LexerTypeAction.swift
[140/157] Compiling Antlr4 LookaheadEventInfo.swift
[141/157] Compiling Antlr4 LookupATNConfig.swift
[142/157] Compiling Antlr4 LookupDictionary.swift
[143/157] Compiling Antlr4 LoopEndState.swift
[144/157] Compiling Antlr4 NotSetTransition.swift
[145/157] Compiling Antlr4 ParseInfo.swift
[146/157] Compiling Antlr4 ParserATNSimulator.swift
[147/157] Compiling Antlr4 PlusBlockStartState.swift
[148/157] Compiling Antlr4 PlusLoopbackState.swift
[149/157] Compiling Antlr4 PrecedencePredicateTransition.swift
[150/157] Compiling Antlr4 PredicateEvalInfo.swift
[151/157] Compiling Antlr4 PredicateTransition.swift
[152/157] Compiling Antlr4 PredictionContext.swift
[153/157] Compiling Antlr4 PredictionContextCache.swift
[154/157] Compiling Antlr4 PredictionMode.swift
[155/157] Compiling Antlr4 ProfilingATNSimulator.swift
[156/157] Compiling Antlr4 RangeTransition.swift
[157/157] Compiling Antlr4 RuleStartState.swift
BUILD FAILURE 6.1 wasm