Build Information
Failed to build Antlr4, reference 4.13.2 (cc8211
), with Swift 6.1 for Wasm on 29 May 2025 14:38:35 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
12 | ///
13 |
14 | public class Vocabulary: Hashable {
| `- note: class 'Vocabulary' does not conform to the 'Sendable' protocol
15 | private static let EMPTY_NAMES: [String?] = [String?](repeating: "", count: 1)
16 |
:
23 | /// except _org.antlr.v4.runtime.Token#EOF_.
24 | ///
25 | public static let EMPTY_VOCABULARY: Vocabulary = Vocabulary(EMPTY_NAMES, EMPTY_NAMES, EMPTY_NAMES)
| |- warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY_VOCABULARY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |
[123/162] Compiling Antlr4 ParserInterpreter.swift
/host/spi-builder-workspace/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/Sources/Antlr4/VocabularySingle.swift:25:23: warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
12 | ///
13 |
14 | public class Vocabulary: Hashable {
| `- note: class 'Vocabulary' does not conform to the 'Sendable' protocol
15 | private static let EMPTY_NAMES: [String?] = [String?](repeating: "", count: 1)
16 |
:
23 | /// except _org.antlr.v4.runtime.Token#EOF_.
24 | ///
25 | public static let EMPTY_VOCABULARY: Vocabulary = Vocabulary(EMPTY_NAMES, EMPTY_NAMES, EMPTY_NAMES)
| |- warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY_VOCABULARY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |
[124/162] Compiling Antlr4 ParserRuleContext.swift
/host/spi-builder-workspace/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/Sources/Antlr4/VocabularySingle.swift:25:23: warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
12 | ///
13 |
14 | public class Vocabulary: Hashable {
| `- note: class 'Vocabulary' does not conform to the 'Sendable' protocol
15 | private static let EMPTY_NAMES: [String?] = [String?](repeating: "", count: 1)
16 |
:
23 | /// except _org.antlr.v4.runtime.Token#EOF_.
24 | ///
25 | public static let EMPTY_VOCABULARY: Vocabulary = Vocabulary(EMPTY_NAMES, EMPTY_NAMES, EMPTY_NAMES)
| |- warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY_VOCABULARY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |
[125/162] Compiling Antlr4 ProxyErrorListener.swift
/host/spi-builder-workspace/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/Sources/Antlr4/VocabularySingle.swift:25:23: warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
12 | ///
13 |
14 | public class Vocabulary: Hashable {
| `- note: class 'Vocabulary' does not conform to the 'Sendable' protocol
15 | private static let EMPTY_NAMES: [String?] = [String?](repeating: "", count: 1)
16 |
:
23 | /// except _org.antlr.v4.runtime.Token#EOF_.
24 | ///
25 | public static let EMPTY_VOCABULARY: Vocabulary = Vocabulary(EMPTY_NAMES, EMPTY_NAMES, EMPTY_NAMES)
| |- warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY_VOCABULARY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |
[126/162] Compiling Antlr4 RecognitionException.swift
/host/spi-builder-workspace/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/Sources/Antlr4/VocabularySingle.swift:25:23: warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
12 | ///
13 |
14 | public class Vocabulary: Hashable {
| `- note: class 'Vocabulary' does not conform to the 'Sendable' protocol
15 | private static let EMPTY_NAMES: [String?] = [String?](repeating: "", count: 1)
16 |
:
23 | /// except _org.antlr.v4.runtime.Token#EOF_.
24 | ///
25 | public static let EMPTY_VOCABULARY: Vocabulary = Vocabulary(EMPTY_NAMES, EMPTY_NAMES, EMPTY_NAMES)
| |- warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY_VOCABULARY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |
[127/162] Compiling Antlr4 Recognizer.swift
/host/spi-builder-workspace/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/Sources/Antlr4/VocabularySingle.swift:25:23: warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
12 | ///
13 |
14 | public class Vocabulary: Hashable {
| `- note: class 'Vocabulary' does not conform to the 'Sendable' protocol
15 | private static let EMPTY_NAMES: [String?] = [String?](repeating: "", count: 1)
16 |
:
23 | /// except _org.antlr.v4.runtime.Token#EOF_.
24 | ///
25 | public static let EMPTY_VOCABULARY: Vocabulary = Vocabulary(EMPTY_NAMES, EMPTY_NAMES, EMPTY_NAMES)
| |- warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY_VOCABULARY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |
[128/162] Compiling Antlr4 RuleContext.swift
/host/spi-builder-workspace/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/Sources/Antlr4/VocabularySingle.swift:25:23: warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
12 | ///
13 |
14 | public class Vocabulary: Hashable {
| `- note: class 'Vocabulary' does not conform to the 'Sendable' protocol
15 | private static let EMPTY_NAMES: [String?] = [String?](repeating: "", count: 1)
16 |
:
23 | /// except _org.antlr.v4.runtime.Token#EOF_.
24 | ///
25 | public static let EMPTY_VOCABULARY: Vocabulary = Vocabulary(EMPTY_NAMES, EMPTY_NAMES, EMPTY_NAMES)
| |- warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY_VOCABULARY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |
[129/162] Compiling Antlr4 RuntimeMetaData.swift
/host/spi-builder-workspace/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/Sources/Antlr4/VocabularySingle.swift:25:23: warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
12 | ///
13 |
14 | public class Vocabulary: Hashable {
| `- note: class 'Vocabulary' does not conform to the 'Sendable' protocol
15 | private static let EMPTY_NAMES: [String?] = [String?](repeating: "", count: 1)
16 |
:
23 | /// except _org.antlr.v4.runtime.Token#EOF_.
24 | ///
25 | public static let EMPTY_VOCABULARY: Vocabulary = Vocabulary(EMPTY_NAMES, EMPTY_NAMES, EMPTY_NAMES)
| |- warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY_VOCABULARY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |
[130/162] Compiling Antlr4 Token.swift
/host/spi-builder-workspace/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/Sources/Antlr4/VocabularySingle.swift:25:23: warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
12 | ///
13 |
14 | public class Vocabulary: Hashable {
| `- note: class 'Vocabulary' does not conform to the 'Sendable' protocol
15 | private static let EMPTY_NAMES: [String?] = [String?](repeating: "", count: 1)
16 |
:
23 | /// except _org.antlr.v4.runtime.Token#EOF_.
24 | ///
25 | public static let EMPTY_VOCABULARY: Vocabulary = Vocabulary(EMPTY_NAMES, EMPTY_NAMES, EMPTY_NAMES)
| |- warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY_VOCABULARY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |
[131/162] Compiling Antlr4 TokenFactory.swift
/host/spi-builder-workspace/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/Sources/Antlr4/VocabularySingle.swift:25:23: warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
12 | ///
13 |
14 | public class Vocabulary: Hashable {
| `- note: class 'Vocabulary' does not conform to the 'Sendable' protocol
15 | private static let EMPTY_NAMES: [String?] = [String?](repeating: "", count: 1)
16 |
:
23 | /// except _org.antlr.v4.runtime.Token#EOF_.
24 | ///
25 | public static let EMPTY_VOCABULARY: Vocabulary = Vocabulary(EMPTY_NAMES, EMPTY_NAMES, EMPTY_NAMES)
| |- warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY_VOCABULARY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |
[132/162] Compiling Antlr4 TokenSource.swift
/host/spi-builder-workspace/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/Sources/Antlr4/VocabularySingle.swift:25:23: warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
12 | ///
13 |
14 | public class Vocabulary: Hashable {
| `- note: class 'Vocabulary' does not conform to the 'Sendable' protocol
15 | private static let EMPTY_NAMES: [String?] = [String?](repeating: "", count: 1)
16 |
:
23 | /// except _org.antlr.v4.runtime.Token#EOF_.
24 | ///
25 | public static let EMPTY_VOCABULARY: Vocabulary = Vocabulary(EMPTY_NAMES, EMPTY_NAMES, EMPTY_NAMES)
| |- warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY_VOCABULARY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |
[133/162] Compiling Antlr4 TokenStream.swift
/host/spi-builder-workspace/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/Sources/Antlr4/VocabularySingle.swift:25:23: warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
12 | ///
13 |
14 | public class Vocabulary: Hashable {
| `- note: class 'Vocabulary' does not conform to the 'Sendable' protocol
15 | private static let EMPTY_NAMES: [String?] = [String?](repeating: "", count: 1)
16 |
:
23 | /// except _org.antlr.v4.runtime.Token#EOF_.
24 | ///
25 | public static let EMPTY_VOCABULARY: Vocabulary = Vocabulary(EMPTY_NAMES, EMPTY_NAMES, EMPTY_NAMES)
| |- warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY_VOCABULARY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |
[134/162] Compiling Antlr4 TokenStreamRewriter.swift
/host/spi-builder-workspace/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/Sources/Antlr4/VocabularySingle.swift:25:23: warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
12 | ///
13 |
14 | public class Vocabulary: Hashable {
| `- note: class 'Vocabulary' does not conform to the 'Sendable' protocol
15 | private static let EMPTY_NAMES: [String?] = [String?](repeating: "", count: 1)
16 |
:
23 | /// except _org.antlr.v4.runtime.Token#EOF_.
24 | ///
25 | public static let EMPTY_VOCABULARY: Vocabulary = Vocabulary(EMPTY_NAMES, EMPTY_NAMES, EMPTY_NAMES)
| |- warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY_VOCABULARY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |
[135/162] Compiling Antlr4 UnbufferedCharStream.swift
/host/spi-builder-workspace/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/Sources/Antlr4/VocabularySingle.swift:25:23: warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
12 | ///
13 |
14 | public class Vocabulary: Hashable {
| `- note: class 'Vocabulary' does not conform to the 'Sendable' protocol
15 | private static let EMPTY_NAMES: [String?] = [String?](repeating: "", count: 1)
16 |
:
23 | /// except _org.antlr.v4.runtime.Token#EOF_.
24 | ///
25 | public static let EMPTY_VOCABULARY: Vocabulary = Vocabulary(EMPTY_NAMES, EMPTY_NAMES, EMPTY_NAMES)
| |- warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY_VOCABULARY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |
[136/162] Compiling Antlr4 UnbufferedTokenStream.swift
/host/spi-builder-workspace/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/Sources/Antlr4/VocabularySingle.swift:25:23: warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
12 | ///
13 |
14 | public class Vocabulary: Hashable {
| `- note: class 'Vocabulary' does not conform to the 'Sendable' protocol
15 | private static let EMPTY_NAMES: [String?] = [String?](repeating: "", count: 1)
16 |
:
23 | /// except _org.antlr.v4.runtime.Token#EOF_.
24 | ///
25 | public static let EMPTY_VOCABULARY: Vocabulary = Vocabulary(EMPTY_NAMES, EMPTY_NAMES, EMPTY_NAMES)
| |- warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY_VOCABULARY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |
[137/162] Compiling Antlr4 VocabularySingle.swift
/host/spi-builder-workspace/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/Sources/Antlr4/VocabularySingle.swift:25:23: warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
12 | ///
13 |
14 | public class Vocabulary: Hashable {
| `- note: class 'Vocabulary' does not conform to the 'Sendable' protocol
15 | private static let EMPTY_NAMES: [String?] = [String?](repeating: "", count: 1)
16 |
:
23 | /// except _org.antlr.v4.runtime.Token#EOF_.
24 | ///
25 | public static let EMPTY_VOCABULARY: Vocabulary = Vocabulary(EMPTY_NAMES, EMPTY_NAMES, EMPTY_NAMES)
| |- warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY_VOCABULARY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |
[138/162] Compiling Antlr4 WritableToken.swift
/host/spi-builder-workspace/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/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/runtime/Swift/Sources/Antlr4/VocabularySingle.swift:25:23: warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
12 | ///
13 |
14 | public class Vocabulary: Hashable {
| `- note: class 'Vocabulary' does not conform to the 'Sendable' protocol
15 | private static let EMPTY_NAMES: [String?] = [String?](repeating: "", count: 1)
16 |
:
23 | /// except _org.antlr.v4.runtime.Token#EOF_.
24 | ///
25 | public static let EMPTY_VOCABULARY: Vocabulary = Vocabulary(EMPTY_NAMES, EMPTY_NAMES, EMPTY_NAMES)
| |- warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY_VOCABULARY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |
[139/162] Compiling Antlr4 ParseTree.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/tree/ParseTreeWalker.swift:8:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 |
7 | public class ParseTreeWalker {
| `- note: class 'ParseTreeWalker' does not conform to the 'Sendable' protocol
8 | public static let DEFAULT = ParseTreeWalker()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DEFAULT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public init() {
[140/162] Compiling Antlr4 ParseTreeListener.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/tree/ParseTreeWalker.swift:8:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 |
7 | public class ParseTreeWalker {
| `- note: class 'ParseTreeWalker' does not conform to the 'Sendable' protocol
8 | public static let DEFAULT = ParseTreeWalker()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DEFAULT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public init() {
[141/162] Compiling Antlr4 ParseTreeProperty.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/tree/ParseTreeWalker.swift:8:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 |
7 | public class ParseTreeWalker {
| `- note: class 'ParseTreeWalker' does not conform to the 'Sendable' protocol
8 | public static let DEFAULT = ParseTreeWalker()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DEFAULT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public init() {
[142/162] Compiling Antlr4 ParseTreeVisitor.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/tree/ParseTreeWalker.swift:8:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 |
7 | public class ParseTreeWalker {
| `- note: class 'ParseTreeWalker' does not conform to the 'Sendable' protocol
8 | public static let DEFAULT = ParseTreeWalker()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DEFAULT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public init() {
[143/162] Compiling Antlr4 ParseTreeWalker.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/tree/ParseTreeWalker.swift:8:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 |
7 | public class ParseTreeWalker {
| `- note: class 'ParseTreeWalker' does not conform to the 'Sendable' protocol
8 | public static let DEFAULT = ParseTreeWalker()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DEFAULT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public init() {
[144/162] Compiling Antlr4 RuleNode.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/tree/ParseTreeWalker.swift:8:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 |
7 | public class ParseTreeWalker {
| `- note: class 'ParseTreeWalker' does not conform to the 'Sendable' protocol
8 | public static let DEFAULT = ParseTreeWalker()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DEFAULT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public init() {
[145/162] Compiling Antlr4 SyntaxTree.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/tree/ParseTreeWalker.swift:8:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 |
7 | public class ParseTreeWalker {
| `- note: class 'ParseTreeWalker' does not conform to the 'Sendable' protocol
8 | public static let DEFAULT = ParseTreeWalker()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DEFAULT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public init() {
[146/162] Compiling Antlr4 TerminalNode.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/tree/ParseTreeWalker.swift:8:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 |
7 | public class ParseTreeWalker {
| `- note: class 'ParseTreeWalker' does not conform to the 'Sendable' protocol
8 | public static let DEFAULT = ParseTreeWalker()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DEFAULT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public init() {
[147/162] Compiling Antlr4 TerminalNodeImpl.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/tree/ParseTreeWalker.swift:8:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 |
7 | public class ParseTreeWalker {
| `- note: class 'ParseTreeWalker' does not conform to the 'Sendable' protocol
8 | public static let DEFAULT = ParseTreeWalker()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DEFAULT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public init() {
[148/162] Compiling Antlr4 Tree.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/tree/ParseTreeWalker.swift:8:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 |
7 | public class ParseTreeWalker {
| `- note: class 'ParseTreeWalker' does not conform to the 'Sendable' protocol
8 | public static let DEFAULT = ParseTreeWalker()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DEFAULT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public init() {
[149/162] Compiling Antlr4 Trees.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/tree/ParseTreeWalker.swift:8:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 |
7 | public class ParseTreeWalker {
| `- note: class 'ParseTreeWalker' does not conform to the 'Sendable' protocol
8 | public static let DEFAULT = ParseTreeWalker()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DEFAULT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public init() {
[150/162] Compiling Antlr4 Chunk.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/tree/ParseTreeWalker.swift:8:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 |
7 | public class ParseTreeWalker {
| `- note: class 'ParseTreeWalker' does not conform to the 'Sendable' protocol
8 | public static let DEFAULT = ParseTreeWalker()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DEFAULT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public init() {
[151/162] Compiling Antlr4 ParseTreeMatch.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/tree/ParseTreeWalker.swift:8:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 |
7 | public class ParseTreeWalker {
| `- note: class 'ParseTreeWalker' does not conform to the 'Sendable' protocol
8 | public static let DEFAULT = ParseTreeWalker()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DEFAULT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public init() {
[152/162] Compiling Antlr4 ParseTreePattern.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/tree/ParseTreeWalker.swift:8:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 |
7 | public class ParseTreeWalker {
| `- note: class 'ParseTreeWalker' does not conform to the 'Sendable' protocol
8 | public static let DEFAULT = ParseTreeWalker()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DEFAULT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public init() {
[153/162] Compiling Antlr4 ParseTreePatternMatcher.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/tree/ParseTreeWalker.swift:8:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 |
7 | public class ParseTreeWalker {
| `- note: class 'ParseTreeWalker' does not conform to the 'Sendable' protocol
8 | public static let DEFAULT = ParseTreeWalker()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DEFAULT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public init() {
[154/162] Compiling Antlr4 RuleTagToken.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/tree/ParseTreeWalker.swift:8:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 |
7 | public class ParseTreeWalker {
| `- note: class 'ParseTreeWalker' does not conform to the 'Sendable' protocol
8 | public static let DEFAULT = ParseTreeWalker()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DEFAULT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public init() {
[155/162] Compiling Antlr4 TagChunk.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/tree/ParseTreeWalker.swift:8:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 |
7 | public class ParseTreeWalker {
| `- note: class 'ParseTreeWalker' does not conform to the 'Sendable' protocol
8 | public static let DEFAULT = ParseTreeWalker()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DEFAULT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public init() {
[156/162] Compiling Antlr4 TextChunk.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/tree/ParseTreeWalker.swift:8:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 |
7 | public class ParseTreeWalker {
| `- note: class 'ParseTreeWalker' does not conform to the 'Sendable' protocol
8 | public static let DEFAULT = ParseTreeWalker()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DEFAULT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public init() {
[157/162] Compiling Antlr4 TokenTagToken.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/tree/ParseTreeWalker.swift:8:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 |
7 | public class ParseTreeWalker {
| `- note: class 'ParseTreeWalker' does not conform to the 'Sendable' protocol
8 | public static let DEFAULT = ParseTreeWalker()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DEFAULT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public init() {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/runtime/Swift/Tests/Antlr4Tests/runtime/Swift/Tests/VisitorCalc.g4': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/runtime/Swift/Tests/Antlr4Tests/runtime/Swift/Tests/LexerB.g4': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/runtime/Swift/Tests/Antlr4Tests/runtime/Swift/Tests/Threading.g4': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/runtime/Swift/Tests/Antlr4Tests/runtime/Swift/Tests/LexerA.g4': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/runtime/Swift/Tests/Antlr4Tests/runtime/Swift/Tests/VisitorBasic.g4': File not found.
warning: 'spi-builder-workspace': found 5 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/runtime/Swift/Tests/Antlr4Tests/VisitorCalc.g4
/host/spi-builder-workspace/runtime/Swift/Tests/Antlr4Tests/LexerB.g4
/host/spi-builder-workspace/runtime/Swift/Tests/Antlr4Tests/LexerA.g4
/host/spi-builder-workspace/runtime/Swift/Tests/Antlr4Tests/VisitorBasic.g4
/host/spi-builder-workspace/runtime/Swift/Tests/Antlr4Tests/Threading.g4
[0/1] Planning build
Building for debugging...
[0/6] Write swift-version-24593BA9C3E375BF.txt
[2/142] Compiling Antlr4 RuleStartState.swift
/host/spi-builder-workspace/runtime/Swift/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/142] Compiling Antlr4 RuleStopState.swift
/host/spi-builder-workspace/runtime/Swift/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/142] Compiling Antlr4 RuleTransition.swift
/host/spi-builder-workspace/runtime/Swift/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/142] Compiling Antlr4 SemanticContext.swift
/host/spi-builder-workspace/runtime/Swift/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/142] Compiling Antlr4 SetTransition.swift
/host/spi-builder-workspace/runtime/Swift/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/142] Compiling Antlr4 SingletonPredictionContext.swift
/host/spi-builder-workspace/runtime/Swift/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/142] Compiling Antlr4 StarBlockStartState.swift
/host/spi-builder-workspace/runtime/Swift/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/142] Compiling Antlr4 StarLoopEntryState.swift
/host/spi-builder-workspace/runtime/Swift/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/142] Compiling Antlr4 StarLoopbackState.swift
/host/spi-builder-workspace/runtime/Swift/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/142] Compiling Antlr4 TokensStartState.swift
/host/spi-builder-workspace/runtime/Swift/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/142] Compiling Antlr4 Transition.swift
/host/spi-builder-workspace/runtime/Swift/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/142] Compiling Antlr4 WildcardTransition.swift
/host/spi-builder-workspace/runtime/Swift/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/142] Compiling Antlr4 DFA.swift
/host/spi-builder-workspace/runtime/Swift/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/142] Compiling Antlr4 DFASerializer.swift
/host/spi-builder-workspace/runtime/Swift/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/142] Compiling Antlr4 DFAState.swift
/host/spi-builder-workspace/runtime/Swift/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/142] Compiling Antlr4 LexerDFASerializer.swift
/host/spi-builder-workspace/runtime/Swift/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/142] Compiling Antlr4 BitSet.swift
/host/spi-builder-workspace/runtime/Swift/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/142] Compiling Antlr4 DoubleKeyMap.swift
/host/spi-builder-workspace/runtime/Swift/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/142] Compiling Antlr4 IntSet.swift
/host/spi-builder-workspace/runtime/Swift/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/161] Compiling Antlr4 DecisionInfo.swift
/host/spi-builder-workspace/runtime/Swift/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 | }
/host/spi-builder-workspace/runtime/Swift/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/161] Compiling Antlr4 DecisionState.swift
/host/spi-builder-workspace/runtime/Swift/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 | }
/host/spi-builder-workspace/runtime/Swift/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/161] Compiling Antlr4 DefaultATNConfig.swift
/host/spi-builder-workspace/runtime/Swift/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 | }
/host/spi-builder-workspace/runtime/Swift/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/161] Compiling Antlr4 EmptyPredictionContext.swift
/host/spi-builder-workspace/runtime/Swift/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 | }
/host/spi-builder-workspace/runtime/Swift/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/161] Compiling Antlr4 EpsilonTransition.swift
/host/spi-builder-workspace/runtime/Swift/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 | }
/host/spi-builder-workspace/runtime/Swift/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/161] Compiling Antlr4 ErrorInfo.swift
/host/spi-builder-workspace/runtime/Swift/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 | }
/host/spi-builder-workspace/runtime/Swift/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/161] Compiling Antlr4 LL1Analyzer.swift
/host/spi-builder-workspace/runtime/Swift/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 | }
/host/spi-builder-workspace/runtime/Swift/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/161] Compiling Antlr4 LexerATNConfig.swift
/host/spi-builder-workspace/runtime/Swift/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 | }
/host/spi-builder-workspace/runtime/Swift/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/161] Compiling Antlr4 LexerATNSimulator.swift
/host/spi-builder-workspace/runtime/Swift/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 | }
/host/spi-builder-workspace/runtime/Swift/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/161] Compiling Antlr4 LexerAction.swift
/host/spi-builder-workspace/runtime/Swift/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 | }
/host/spi-builder-workspace/runtime/Swift/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/161] Compiling Antlr4 LexerActionExecutor.swift
/host/spi-builder-workspace/runtime/Swift/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 | }
/host/spi-builder-workspace/runtime/Swift/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/161] Compiling Antlr4 LexerActionType.swift
/host/spi-builder-workspace/runtime/Swift/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 | }
/host/spi-builder-workspace/runtime/Swift/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/161] Compiling Antlr4 LexerChannelAction.swift
/host/spi-builder-workspace/runtime/Swift/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 | }
/host/spi-builder-workspace/runtime/Swift/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/161] Compiling Antlr4 LexerCustomAction.swift
/host/spi-builder-workspace/runtime/Swift/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 | }
/host/spi-builder-workspace/runtime/Swift/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/161] Compiling Antlr4 LexerIndexedCustomAction.swift
/host/spi-builder-workspace/runtime/Swift/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 | }
/host/spi-builder-workspace/runtime/Swift/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/161] Compiling Antlr4 LexerModeAction.swift
/host/spi-builder-workspace/runtime/Swift/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 | }
/host/spi-builder-workspace/runtime/Swift/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/161] Compiling Antlr4 LexerMoreAction.swift
/host/spi-builder-workspace/runtime/Swift/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 | }
/host/spi-builder-workspace/runtime/Swift/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/161] Compiling Antlr4 LexerPopModeAction.swift
/host/spi-builder-workspace/runtime/Swift/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 | }
/host/spi-builder-workspace/runtime/Swift/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/161] Compiling Antlr4 LexerPushModeAction.swift
/host/spi-builder-workspace/runtime/Swift/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 | }
/host/spi-builder-workspace/runtime/Swift/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/161] Compiling Antlr4 LexerNoViableAltException.swift
/host/spi-builder-workspace/runtime/Swift/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/161] Compiling Antlr4 ListTokenSource.swift
/host/spi-builder-workspace/runtime/Swift/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/161] Compiling Antlr4 NoViableAltException.swift
/host/spi-builder-workspace/runtime/Swift/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 | ///
[43/161] Compiling Antlr4 Parser.swift
/host/spi-builder-workspace/runtime/Swift/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 | ///
[44/161] Compiling Antlr4 ParserInterpreter.swift
/host/spi-builder-workspace/runtime/Swift/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 | ///
[45/161] Compiling Antlr4 ParserRuleContext.swift
/host/spi-builder-workspace/runtime/Swift/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 | ///
[46/161] Compiling Antlr4 ProxyErrorListener.swift
/host/spi-builder-workspace/runtime/Swift/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 | ///
[47/161] Compiling Antlr4 RecognitionException.swift
/host/spi-builder-workspace/runtime/Swift/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 | ///
[48/161] Compiling Antlr4 Recognizer.swift
/host/spi-builder-workspace/runtime/Swift/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 | ///
[49/161] Compiling Antlr4 RuleContext.swift
/host/spi-builder-workspace/runtime/Swift/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 | ///
[50/161] Compiling Antlr4 RuntimeMetaData.swift
/host/spi-builder-workspace/runtime/Swift/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 | ///
[51/161] Compiling Antlr4 Token.swift
/host/spi-builder-workspace/runtime/Swift/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 | ///
[52/161] Compiling Antlr4 TokenFactory.swift
/host/spi-builder-workspace/runtime/Swift/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 | ///
[53/161] Compiling Antlr4 TokenSource.swift
/host/spi-builder-workspace/runtime/Swift/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 | ///
[54/161] Compiling Antlr4 TokenStream.swift
/host/spi-builder-workspace/runtime/Swift/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 | ///
[55/161] Compiling Antlr4 TokenStreamRewriter.swift
/host/spi-builder-workspace/runtime/Swift/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 | ///
[56/161] Compiling Antlr4 UnbufferedCharStream.swift
/host/spi-builder-workspace/runtime/Swift/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 | ///
[57/161] Compiling Antlr4 UnbufferedTokenStream.swift
/host/spi-builder-workspace/runtime/Swift/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 | ///
[58/161] Compiling Antlr4 VocabularySingle.swift
/host/spi-builder-workspace/runtime/Swift/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 | ///
[59/161] Compiling Antlr4 WritableToken.swift
/host/spi-builder-workspace/runtime/Swift/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 | ///
[60/161] Compiling Antlr4 InterpreterDataReader.swift
/host/spi-builder-workspace/runtime/Swift/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 | ///
[61/161] Compiling Antlr4 Interval.swift
/host/spi-builder-workspace/runtime/Swift/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 | ///
[62/161] Compiling Antlr4 IntervalSet.swift
/host/spi-builder-workspace/runtime/Swift/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 | ///
[63/161] Compiling Antlr4 MultiMap.swift
/host/spi-builder-workspace/runtime/Swift/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 | ///
[64/161] Compiling Antlr4 MurmurHash.swift
/host/spi-builder-workspace/runtime/Swift/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 | ///
[65/161] Compiling Antlr4 Utils.swift
/host/spi-builder-workspace/runtime/Swift/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 | ///
[66/161] Compiling Antlr4 ANTLRError.swift
/host/spi-builder-workspace/runtime/Swift/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 | ///
[67/161] Compiling Antlr4 ANTLRException.swift
/host/spi-builder-workspace/runtime/Swift/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 | ///
[68/161] Compiling Antlr4 ArrayExtension.swift
/host/spi-builder-workspace/runtime/Swift/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 | ///
[69/161] Compiling Antlr4 CharacterExtension.swift
/host/spi-builder-workspace/runtime/Swift/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 | ///
[70/161] Compiling Antlr4 IntStreamExtension.swift
/host/spi-builder-workspace/runtime/Swift/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 | ///
[71/161] Compiling Antlr4 StringExtension.swift
/host/spi-builder-workspace/runtime/Swift/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 | ///
[72/161] Compiling Antlr4 TokenExtension.swift
/host/spi-builder-workspace/runtime/Swift/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 | ///
[73/161] Compiling Antlr4 UUIDExtension.swift
/host/spi-builder-workspace/runtime/Swift/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 | ///
[74/161] Compiling Antlr4 CommonUtil.swift
/host/spi-builder-workspace/runtime/Swift/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 | ///
[75/161] Compiling Antlr4 Mutex.swift
/host/spi-builder-workspace/runtime/Swift/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 | ///
[76/161] Compiling Antlr4 Stack.swift
/host/spi-builder-workspace/runtime/Swift/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 | ///
[77/161] Compiling Antlr4 AbstractParseTreeVisitor.swift
/host/spi-builder-workspace/runtime/Swift/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 | ///
[78/161] Compiling Antlr4 ErrorNode.swift
/host/spi-builder-workspace/runtime/Swift/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 | ///
[79/161] Compiling Antlr4 LexerSkipAction.swift
/host/spi-builder-workspace/runtime/Swift/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 | ///
[80/161] Compiling Antlr4 LexerTypeAction.swift
/host/spi-builder-workspace/runtime/Swift/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 | ///
[81/161] Compiling Antlr4 LookaheadEventInfo.swift
/host/spi-builder-workspace/runtime/Swift/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 | ///
[82/161] Compiling Antlr4 LookupATNConfig.swift
/host/spi-builder-workspace/runtime/Swift/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 | ///
[83/161] Compiling Antlr4 LookupDictionary.swift
/host/spi-builder-workspace/runtime/Swift/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 | ///
[84/161] Compiling Antlr4 LoopEndState.swift
/host/spi-builder-workspace/runtime/Swift/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 | ///
[85/161] Compiling Antlr4 NotSetTransition.swift
/host/spi-builder-workspace/runtime/Swift/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 | ///
[86/161] Compiling Antlr4 ParseInfo.swift
/host/spi-builder-workspace/runtime/Swift/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 | ///
[87/161] Compiling Antlr4 ParserATNSimulator.swift
/host/spi-builder-workspace/runtime/Swift/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 | ///
[88/161] Compiling Antlr4 PlusBlockStartState.swift
/host/spi-builder-workspace/runtime/Swift/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 | ///
[89/161] Compiling Antlr4 PlusLoopbackState.swift
/host/spi-builder-workspace/runtime/Swift/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 | ///
[90/161] Compiling Antlr4 PrecedencePredicateTransition.swift
/host/spi-builder-workspace/runtime/Swift/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 | ///
[91/161] Compiling Antlr4 PredicateEvalInfo.swift
/host/spi-builder-workspace/runtime/Swift/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 | ///
[92/161] Compiling Antlr4 PredicateTransition.swift
/host/spi-builder-workspace/runtime/Swift/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 | ///
[93/161] Compiling Antlr4 PredictionContext.swift
/host/spi-builder-workspace/runtime/Swift/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 | ///
[94/161] Compiling Antlr4 PredictionContextCache.swift
/host/spi-builder-workspace/runtime/Swift/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 | ///
[95/161] Compiling Antlr4 PredictionMode.swift
/host/spi-builder-workspace/runtime/Swift/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 | ///
[96/161] Compiling Antlr4 ProfilingATNSimulator.swift
/host/spi-builder-workspace/runtime/Swift/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 | ///
[97/161] Compiling Antlr4 RangeTransition.swift
/host/spi-builder-workspace/runtime/Swift/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 | ///
[98/161] Compiling Antlr4 ATN.swift
[99/161] Compiling Antlr4 ATNConfig.swift
[100/161] Compiling Antlr4 ATNConfigSet.swift
[101/161] Compiling Antlr4 ATNDeserializationOptions.swift
[102/161] Compiling Antlr4 ATNDeserializer.swift
[103/161] Compiling Antlr4 ATNSimulator.swift
[104/161] Compiling Antlr4 ATNState.swift
[105/161] Compiling Antlr4 ATNType.swift
[106/161] Compiling Antlr4 AbstractPredicateTransition.swift
[107/161] Compiling Antlr4 ActionTransition.swift
[108/161] Compiling Antlr4 AmbiguityInfo.swift
[109/161] Compiling Antlr4 ArrayPredictionContext.swift
[110/161] Compiling Antlr4 AtomTransition.swift
[111/161] Compiling Antlr4 BasicBlockStartState.swift
[112/161] Compiling Antlr4 BasicState.swift
[113/161] Compiling Antlr4 BlockEndState.swift
[114/161] Compiling Antlr4 BlockStartState.swift
[115/161] Compiling Antlr4 ContextSensitivityInfo.swift
[116/161] Compiling Antlr4 DecisionEventInfo.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[117/161] Compiling Antlr4 ANTLRErrorListener.swift
[118/161] Compiling Antlr4 ANTLRErrorStrategy.swift
[119/161] Compiling Antlr4 ANTLRFileStream.swift
[120/161] Compiling Antlr4 ANTLRInputStream.swift
[121/161] Compiling Antlr4 BailErrorStrategy.swift
[122/161] Compiling Antlr4 BaseErrorListener.swift
[123/161] Compiling Antlr4 BufferedTokenStream.swift
[124/161] Compiling Antlr4 CharStream.swift
[125/161] Compiling Antlr4 CommonToken.swift
[126/161] Compiling Antlr4 CommonTokenFactory.swift
[127/161] Compiling Antlr4 CommonTokenStream.swift
[128/161] Compiling Antlr4 ConsoleErrorListener.swift
[129/161] Compiling Antlr4 DefaultErrorStrategy.swift
[130/161] Compiling Antlr4 DiagnosticErrorListener.swift
[131/161] Compiling Antlr4 FailedPredicateException.swift
[132/161] Compiling Antlr4 InputMismatchException.swift
[133/161] Compiling Antlr4 IntStream.swift
[134/161] Compiling Antlr4 InterpreterRuleContext.swift
[135/161] Compiling Antlr4 Lexer.swift
[136/161] Compiling Antlr4 LexerInterpreter.swift
[137/161] Emitting module Antlr4
/host/spi-builder-workspace/runtime/Swift/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 | ///
[138/161] Compiling Antlr4 ParseTree.swift
[139/161] Compiling Antlr4 ParseTreeListener.swift
[140/161] Compiling Antlr4 ParseTreeProperty.swift
[141/161] Compiling Antlr4 ParseTreeVisitor.swift
[142/161] Compiling Antlr4 ParseTreeWalker.swift
[143/161] Compiling Antlr4 RuleNode.swift
[144/161] Compiling Antlr4 SyntaxTree.swift
[145/161] Compiling Antlr4 TerminalNode.swift
[146/161] Compiling Antlr4 TerminalNodeImpl.swift
[147/161] Compiling Antlr4 Tree.swift
[148/161] Compiling Antlr4 Trees.swift
[149/161] Compiling Antlr4 Chunk.swift
[150/161] Compiling Antlr4 ParseTreeMatch.swift
[151/161] Compiling Antlr4 ParseTreePattern.swift
[152/161] Compiling Antlr4 ParseTreePatternMatcher.swift
[153/161] Compiling Antlr4 RuleTagToken.swift
[154/161] Compiling Antlr4 TagChunk.swift
[155/161] Compiling Antlr4 TextChunk.swift
[156/161] Compiling Antlr4 TokenTagToken.swift
BUILD FAILURE 6.1 wasm