Build Information
Failed to build Antlr4, reference 4.13.1 (7ed420
), with Swift 6.0 for Linux on 15 Sep 2024 04:14:04 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
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: annotate 'bypassAltsAtnCacheMutex' with '@MainActor' if property should only be accessed from the main actor
| `- 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/ConsoleErrorListener.swift:17:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 |
13 | public class ConsoleErrorListener: BaseErrorListener {
| `- note: class 'ConsoleErrorListener' does not conform to the 'Sendable' protocol
14 | ///
15 | /// Provides a default instance of _org.antlr.v4.runtime.ConsoleErrorListener_.
16 | ///
17 | public static let INSTANCE: ConsoleErrorListener = ConsoleErrorListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/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: annotate 'ConsoleError' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'EMPTY' with '@MainActor' if property should only be accessed from the main actor
| `- 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/misc/Interval.swift:13:22: warning: static property 'INVALID' is not concurrency-safe because non-'Sendable' type 'Interval' may have shared mutable state; this is an error in the Swift 6 language mode
10 | ///
11 |
12 | public struct Interval: Hashable {
| `- note: consider making struct 'Interval' conform to the 'Sendable' protocol
13 | public static let INVALID: Interval = Interval(-1, -2)
| |- warning: static property 'INVALID' is not concurrency-safe because non-'Sendable' type 'Interval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INVALID' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public var a: Int
/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: annotate 'EMPTY' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'EMPTY_VOCABULARY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |
[141/162] Compiling Antlr4 Parser.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/CommonTokenFactory.swift:22:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// tokens.
21 | ///
22 | public static let DEFAULT: TokenFactory = CommonTokenFactory()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'DEFAULT' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/TokenFactory.swift:11:17: note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
9 | /// of a new factory means that it notifies it's token source and error strategy.
10 | ///
11 | public protocol TokenFactory {
| `- note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
12 |
13 | //typealias Symbol
/host/spi-builder-workspace/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: annotate 'bypassAltsAtnCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/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: annotate 'bypassAltsAtnCacheMutex' with '@MainActor' if property should only be accessed from the main actor
| `- 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/ConsoleErrorListener.swift:17:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 |
13 | public class ConsoleErrorListener: BaseErrorListener {
| `- note: class 'ConsoleErrorListener' does not conform to the 'Sendable' protocol
14 | ///
15 | /// Provides a default instance of _org.antlr.v4.runtime.ConsoleErrorListener_.
16 | ///
17 | public static let INSTANCE: ConsoleErrorListener = ConsoleErrorListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/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: annotate 'ConsoleError' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'EMPTY' with '@MainActor' if property should only be accessed from the main actor
| `- 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/misc/Interval.swift:13:22: warning: static property 'INVALID' is not concurrency-safe because non-'Sendable' type 'Interval' may have shared mutable state; this is an error in the Swift 6 language mode
10 | ///
11 |
12 | public struct Interval: Hashable {
| `- note: consider making struct 'Interval' conform to the 'Sendable' protocol
13 | public static let INVALID: Interval = Interval(-1, -2)
| |- warning: static property 'INVALID' is not concurrency-safe because non-'Sendable' type 'Interval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INVALID' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public var a: Int
/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: annotate 'EMPTY' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'EMPTY_VOCABULARY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |
[142/162] Compiling Antlr4 ParserInterpreter.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/CommonTokenFactory.swift:22:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// tokens.
21 | ///
22 | public static let DEFAULT: TokenFactory = CommonTokenFactory()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'DEFAULT' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/TokenFactory.swift:11:17: note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
9 | /// of a new factory means that it notifies it's token source and error strategy.
10 | ///
11 | public protocol TokenFactory {
| `- note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
12 |
13 | //typealias Symbol
/host/spi-builder-workspace/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: annotate 'bypassAltsAtnCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/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: annotate 'bypassAltsAtnCacheMutex' with '@MainActor' if property should only be accessed from the main actor
| `- 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/ConsoleErrorListener.swift:17:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 |
13 | public class ConsoleErrorListener: BaseErrorListener {
| `- note: class 'ConsoleErrorListener' does not conform to the 'Sendable' protocol
14 | ///
15 | /// Provides a default instance of _org.antlr.v4.runtime.ConsoleErrorListener_.
16 | ///
17 | public static let INSTANCE: ConsoleErrorListener = ConsoleErrorListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/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: annotate 'ConsoleError' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'EMPTY' with '@MainActor' if property should only be accessed from the main actor
| `- 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/misc/Interval.swift:13:22: warning: static property 'INVALID' is not concurrency-safe because non-'Sendable' type 'Interval' may have shared mutable state; this is an error in the Swift 6 language mode
10 | ///
11 |
12 | public struct Interval: Hashable {
| `- note: consider making struct 'Interval' conform to the 'Sendable' protocol
13 | public static let INVALID: Interval = Interval(-1, -2)
| |- warning: static property 'INVALID' is not concurrency-safe because non-'Sendable' type 'Interval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INVALID' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public var a: Int
/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: annotate 'EMPTY' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'EMPTY_VOCABULARY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |
[143/162] Compiling Antlr4 ParserRuleContext.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/CommonTokenFactory.swift:22:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// tokens.
21 | ///
22 | public static let DEFAULT: TokenFactory = CommonTokenFactory()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'DEFAULT' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/TokenFactory.swift:11:17: note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
9 | /// of a new factory means that it notifies it's token source and error strategy.
10 | ///
11 | public protocol TokenFactory {
| `- note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
12 |
13 | //typealias Symbol
/host/spi-builder-workspace/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: annotate 'bypassAltsAtnCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/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: annotate 'bypassAltsAtnCacheMutex' with '@MainActor' if property should only be accessed from the main actor
| `- 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/ConsoleErrorListener.swift:17:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 |
13 | public class ConsoleErrorListener: BaseErrorListener {
| `- note: class 'ConsoleErrorListener' does not conform to the 'Sendable' protocol
14 | ///
15 | /// Provides a default instance of _org.antlr.v4.runtime.ConsoleErrorListener_.
16 | ///
17 | public static let INSTANCE: ConsoleErrorListener = ConsoleErrorListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/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: annotate 'ConsoleError' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'EMPTY' with '@MainActor' if property should only be accessed from the main actor
| `- 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/misc/Interval.swift:13:22: warning: static property 'INVALID' is not concurrency-safe because non-'Sendable' type 'Interval' may have shared mutable state; this is an error in the Swift 6 language mode
10 | ///
11 |
12 | public struct Interval: Hashable {
| `- note: consider making struct 'Interval' conform to the 'Sendable' protocol
13 | public static let INVALID: Interval = Interval(-1, -2)
| |- warning: static property 'INVALID' is not concurrency-safe because non-'Sendable' type 'Interval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INVALID' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public var a: Int
/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: annotate 'EMPTY' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'EMPTY_VOCABULARY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |
[144/162] Compiling Antlr4 ProxyErrorListener.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/CommonTokenFactory.swift:22:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// tokens.
21 | ///
22 | public static let DEFAULT: TokenFactory = CommonTokenFactory()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'DEFAULT' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/TokenFactory.swift:11:17: note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
9 | /// of a new factory means that it notifies it's token source and error strategy.
10 | ///
11 | public protocol TokenFactory {
| `- note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
12 |
13 | //typealias Symbol
/host/spi-builder-workspace/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: annotate 'bypassAltsAtnCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/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: annotate 'bypassAltsAtnCacheMutex' with '@MainActor' if property should only be accessed from the main actor
| `- 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/ConsoleErrorListener.swift:17:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 |
13 | public class ConsoleErrorListener: BaseErrorListener {
| `- note: class 'ConsoleErrorListener' does not conform to the 'Sendable' protocol
14 | ///
15 | /// Provides a default instance of _org.antlr.v4.runtime.ConsoleErrorListener_.
16 | ///
17 | public static let INSTANCE: ConsoleErrorListener = ConsoleErrorListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/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: annotate 'ConsoleError' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'EMPTY' with '@MainActor' if property should only be accessed from the main actor
| `- 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/misc/Interval.swift:13:22: warning: static property 'INVALID' is not concurrency-safe because non-'Sendable' type 'Interval' may have shared mutable state; this is an error in the Swift 6 language mode
10 | ///
11 |
12 | public struct Interval: Hashable {
| `- note: consider making struct 'Interval' conform to the 'Sendable' protocol
13 | public static let INVALID: Interval = Interval(-1, -2)
| |- warning: static property 'INVALID' is not concurrency-safe because non-'Sendable' type 'Interval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INVALID' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public var a: Int
/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: annotate 'EMPTY' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'EMPTY_VOCABULARY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |
[145/162] Compiling Antlr4 RecognitionException.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/CommonTokenFactory.swift:22:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// tokens.
21 | ///
22 | public static let DEFAULT: TokenFactory = CommonTokenFactory()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'DEFAULT' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/TokenFactory.swift:11:17: note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
9 | /// of a new factory means that it notifies it's token source and error strategy.
10 | ///
11 | public protocol TokenFactory {
| `- note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
12 |
13 | //typealias Symbol
/host/spi-builder-workspace/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: annotate 'bypassAltsAtnCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/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: annotate 'bypassAltsAtnCacheMutex' with '@MainActor' if property should only be accessed from the main actor
| `- 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/ConsoleErrorListener.swift:17:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 |
13 | public class ConsoleErrorListener: BaseErrorListener {
| `- note: class 'ConsoleErrorListener' does not conform to the 'Sendable' protocol
14 | ///
15 | /// Provides a default instance of _org.antlr.v4.runtime.ConsoleErrorListener_.
16 | ///
17 | public static let INSTANCE: ConsoleErrorListener = ConsoleErrorListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/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: annotate 'ConsoleError' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'EMPTY' with '@MainActor' if property should only be accessed from the main actor
| `- 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/misc/Interval.swift:13:22: warning: static property 'INVALID' is not concurrency-safe because non-'Sendable' type 'Interval' may have shared mutable state; this is an error in the Swift 6 language mode
10 | ///
11 |
12 | public struct Interval: Hashable {
| `- note: consider making struct 'Interval' conform to the 'Sendable' protocol
13 | public static let INVALID: Interval = Interval(-1, -2)
| |- warning: static property 'INVALID' is not concurrency-safe because non-'Sendable' type 'Interval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INVALID' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public var a: Int
/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: annotate 'EMPTY' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'EMPTY_VOCABULARY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |
[146/162] Compiling Antlr4 Recognizer.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/CommonTokenFactory.swift:22:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// tokens.
21 | ///
22 | public static let DEFAULT: TokenFactory = CommonTokenFactory()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'DEFAULT' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/TokenFactory.swift:11:17: note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
9 | /// of a new factory means that it notifies it's token source and error strategy.
10 | ///
11 | public protocol TokenFactory {
| `- note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
12 |
13 | //typealias Symbol
/host/spi-builder-workspace/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: annotate 'bypassAltsAtnCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/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: annotate 'bypassAltsAtnCacheMutex' with '@MainActor' if property should only be accessed from the main actor
| `- 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/ConsoleErrorListener.swift:17:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 |
13 | public class ConsoleErrorListener: BaseErrorListener {
| `- note: class 'ConsoleErrorListener' does not conform to the 'Sendable' protocol
14 | ///
15 | /// Provides a default instance of _org.antlr.v4.runtime.ConsoleErrorListener_.
16 | ///
17 | public static let INSTANCE: ConsoleErrorListener = ConsoleErrorListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/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: annotate 'ConsoleError' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'EMPTY' with '@MainActor' if property should only be accessed from the main actor
| `- 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/misc/Interval.swift:13:22: warning: static property 'INVALID' is not concurrency-safe because non-'Sendable' type 'Interval' may have shared mutable state; this is an error in the Swift 6 language mode
10 | ///
11 |
12 | public struct Interval: Hashable {
| `- note: consider making struct 'Interval' conform to the 'Sendable' protocol
13 | public static let INVALID: Interval = Interval(-1, -2)
| |- warning: static property 'INVALID' is not concurrency-safe because non-'Sendable' type 'Interval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INVALID' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public var a: Int
/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: annotate 'EMPTY' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'EMPTY_VOCABULARY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |
[147/162] Compiling Antlr4 RuleContext.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/CommonTokenFactory.swift:22:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// tokens.
21 | ///
22 | public static let DEFAULT: TokenFactory = CommonTokenFactory()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'DEFAULT' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/TokenFactory.swift:11:17: note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
9 | /// of a new factory means that it notifies it's token source and error strategy.
10 | ///
11 | public protocol TokenFactory {
| `- note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
12 |
13 | //typealias Symbol
/host/spi-builder-workspace/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: annotate 'bypassAltsAtnCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/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: annotate 'bypassAltsAtnCacheMutex' with '@MainActor' if property should only be accessed from the main actor
| `- 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/ConsoleErrorListener.swift:17:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 |
13 | public class ConsoleErrorListener: BaseErrorListener {
| `- note: class 'ConsoleErrorListener' does not conform to the 'Sendable' protocol
14 | ///
15 | /// Provides a default instance of _org.antlr.v4.runtime.ConsoleErrorListener_.
16 | ///
17 | public static let INSTANCE: ConsoleErrorListener = ConsoleErrorListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/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: annotate 'ConsoleError' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'EMPTY' with '@MainActor' if property should only be accessed from the main actor
| `- 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/misc/Interval.swift:13:22: warning: static property 'INVALID' is not concurrency-safe because non-'Sendable' type 'Interval' may have shared mutable state; this is an error in the Swift 6 language mode
10 | ///
11 |
12 | public struct Interval: Hashable {
| `- note: consider making struct 'Interval' conform to the 'Sendable' protocol
13 | public static let INVALID: Interval = Interval(-1, -2)
| |- warning: static property 'INVALID' is not concurrency-safe because non-'Sendable' type 'Interval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INVALID' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public var a: Int
/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: annotate 'EMPTY' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'EMPTY_VOCABULARY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |
[148/162] Compiling Antlr4 RuntimeMetaData.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/CommonTokenFactory.swift:22:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// tokens.
21 | ///
22 | public static let DEFAULT: TokenFactory = CommonTokenFactory()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'DEFAULT' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/TokenFactory.swift:11:17: note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
9 | /// of a new factory means that it notifies it's token source and error strategy.
10 | ///
11 | public protocol TokenFactory {
| `- note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
12 |
13 | //typealias Symbol
/host/spi-builder-workspace/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: annotate 'bypassAltsAtnCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/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: annotate 'bypassAltsAtnCacheMutex' with '@MainActor' if property should only be accessed from the main actor
| `- 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/ConsoleErrorListener.swift:17:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 |
13 | public class ConsoleErrorListener: BaseErrorListener {
| `- note: class 'ConsoleErrorListener' does not conform to the 'Sendable' protocol
14 | ///
15 | /// Provides a default instance of _org.antlr.v4.runtime.ConsoleErrorListener_.
16 | ///
17 | public static let INSTANCE: ConsoleErrorListener = ConsoleErrorListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/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: annotate 'ConsoleError' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'EMPTY' with '@MainActor' if property should only be accessed from the main actor
| `- 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/misc/Interval.swift:13:22: warning: static property 'INVALID' is not concurrency-safe because non-'Sendable' type 'Interval' may have shared mutable state; this is an error in the Swift 6 language mode
10 | ///
11 |
12 | public struct Interval: Hashable {
| `- note: consider making struct 'Interval' conform to the 'Sendable' protocol
13 | public static let INVALID: Interval = Interval(-1, -2)
| |- warning: static property 'INVALID' is not concurrency-safe because non-'Sendable' type 'Interval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INVALID' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public var a: Int
/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: annotate 'EMPTY' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'EMPTY_VOCABULARY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |
[149/162] Compiling Antlr4 Token.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/CommonTokenFactory.swift:22:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// tokens.
21 | ///
22 | public static let DEFAULT: TokenFactory = CommonTokenFactory()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'DEFAULT' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/TokenFactory.swift:11:17: note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
9 | /// of a new factory means that it notifies it's token source and error strategy.
10 | ///
11 | public protocol TokenFactory {
| `- note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
12 |
13 | //typealias Symbol
/host/spi-builder-workspace/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: annotate 'bypassAltsAtnCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/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: annotate 'bypassAltsAtnCacheMutex' with '@MainActor' if property should only be accessed from the main actor
| `- 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/ConsoleErrorListener.swift:17:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 |
13 | public class ConsoleErrorListener: BaseErrorListener {
| `- note: class 'ConsoleErrorListener' does not conform to the 'Sendable' protocol
14 | ///
15 | /// Provides a default instance of _org.antlr.v4.runtime.ConsoleErrorListener_.
16 | ///
17 | public static let INSTANCE: ConsoleErrorListener = ConsoleErrorListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/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: annotate 'ConsoleError' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'EMPTY' with '@MainActor' if property should only be accessed from the main actor
| `- 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/misc/Interval.swift:13:22: warning: static property 'INVALID' is not concurrency-safe because non-'Sendable' type 'Interval' may have shared mutable state; this is an error in the Swift 6 language mode
10 | ///
11 |
12 | public struct Interval: Hashable {
| `- note: consider making struct 'Interval' conform to the 'Sendable' protocol
13 | public static let INVALID: Interval = Interval(-1, -2)
| |- warning: static property 'INVALID' is not concurrency-safe because non-'Sendable' type 'Interval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INVALID' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public var a: Int
/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: annotate 'EMPTY' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'EMPTY_VOCABULARY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |
[150/162] Compiling Antlr4 TokenFactory.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/CommonTokenFactory.swift:22:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// tokens.
21 | ///
22 | public static let DEFAULT: TokenFactory = CommonTokenFactory()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'DEFAULT' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/TokenFactory.swift:11:17: note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
9 | /// of a new factory means that it notifies it's token source and error strategy.
10 | ///
11 | public protocol TokenFactory {
| `- note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
12 |
13 | //typealias Symbol
/host/spi-builder-workspace/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: annotate 'bypassAltsAtnCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/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: annotate 'bypassAltsAtnCacheMutex' with '@MainActor' if property should only be accessed from the main actor
| `- 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/ConsoleErrorListener.swift:17:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 |
13 | public class ConsoleErrorListener: BaseErrorListener {
| `- note: class 'ConsoleErrorListener' does not conform to the 'Sendable' protocol
14 | ///
15 | /// Provides a default instance of _org.antlr.v4.runtime.ConsoleErrorListener_.
16 | ///
17 | public static let INSTANCE: ConsoleErrorListener = ConsoleErrorListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/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: annotate 'ConsoleError' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'EMPTY' with '@MainActor' if property should only be accessed from the main actor
| `- 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/misc/Interval.swift:13:22: warning: static property 'INVALID' is not concurrency-safe because non-'Sendable' type 'Interval' may have shared mutable state; this is an error in the Swift 6 language mode
10 | ///
11 |
12 | public struct Interval: Hashable {
| `- note: consider making struct 'Interval' conform to the 'Sendable' protocol
13 | public static let INVALID: Interval = Interval(-1, -2)
| |- warning: static property 'INVALID' is not concurrency-safe because non-'Sendable' type 'Interval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INVALID' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public var a: Int
/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: annotate 'EMPTY' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'EMPTY_VOCABULARY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |
[151/162] Compiling Antlr4 TokenSource.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/CommonTokenFactory.swift:22:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// tokens.
21 | ///
22 | public static let DEFAULT: TokenFactory = CommonTokenFactory()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'DEFAULT' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/TokenFactory.swift:11:17: note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
9 | /// of a new factory means that it notifies it's token source and error strategy.
10 | ///
11 | public protocol TokenFactory {
| `- note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
12 |
13 | //typealias Symbol
/host/spi-builder-workspace/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: annotate 'bypassAltsAtnCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/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: annotate 'bypassAltsAtnCacheMutex' with '@MainActor' if property should only be accessed from the main actor
| `- 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/ConsoleErrorListener.swift:17:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 |
13 | public class ConsoleErrorListener: BaseErrorListener {
| `- note: class 'ConsoleErrorListener' does not conform to the 'Sendable' protocol
14 | ///
15 | /// Provides a default instance of _org.antlr.v4.runtime.ConsoleErrorListener_.
16 | ///
17 | public static let INSTANCE: ConsoleErrorListener = ConsoleErrorListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/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: annotate 'ConsoleError' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'EMPTY' with '@MainActor' if property should only be accessed from the main actor
| `- 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/misc/Interval.swift:13:22: warning: static property 'INVALID' is not concurrency-safe because non-'Sendable' type 'Interval' may have shared mutable state; this is an error in the Swift 6 language mode
10 | ///
11 |
12 | public struct Interval: Hashable {
| `- note: consider making struct 'Interval' conform to the 'Sendable' protocol
13 | public static let INVALID: Interval = Interval(-1, -2)
| |- warning: static property 'INVALID' is not concurrency-safe because non-'Sendable' type 'Interval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INVALID' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public var a: Int
/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: annotate 'EMPTY' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'EMPTY_VOCABULARY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |
[152/162] Compiling Antlr4 TokenStream.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/CommonTokenFactory.swift:22:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// tokens.
21 | ///
22 | public static let DEFAULT: TokenFactory = CommonTokenFactory()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'DEFAULT' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/TokenFactory.swift:11:17: note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
9 | /// of a new factory means that it notifies it's token source and error strategy.
10 | ///
11 | public protocol TokenFactory {
| `- note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
12 |
13 | //typealias Symbol
/host/spi-builder-workspace/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: annotate 'bypassAltsAtnCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/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: annotate 'bypassAltsAtnCacheMutex' with '@MainActor' if property should only be accessed from the main actor
| `- 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/ConsoleErrorListener.swift:17:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 |
13 | public class ConsoleErrorListener: BaseErrorListener {
| `- note: class 'ConsoleErrorListener' does not conform to the 'Sendable' protocol
14 | ///
15 | /// Provides a default instance of _org.antlr.v4.runtime.ConsoleErrorListener_.
16 | ///
17 | public static let INSTANCE: ConsoleErrorListener = ConsoleErrorListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/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: annotate 'ConsoleError' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'EMPTY' with '@MainActor' if property should only be accessed from the main actor
| `- 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/misc/Interval.swift:13:22: warning: static property 'INVALID' is not concurrency-safe because non-'Sendable' type 'Interval' may have shared mutable state; this is an error in the Swift 6 language mode
10 | ///
11 |
12 | public struct Interval: Hashable {
| `- note: consider making struct 'Interval' conform to the 'Sendable' protocol
13 | public static let INVALID: Interval = Interval(-1, -2)
| |- warning: static property 'INVALID' is not concurrency-safe because non-'Sendable' type 'Interval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INVALID' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public var a: Int
/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: annotate 'EMPTY' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'EMPTY_VOCABULARY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |
[153/162] Compiling Antlr4 TokenStreamRewriter.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/CommonTokenFactory.swift:22:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// tokens.
21 | ///
22 | public static let DEFAULT: TokenFactory = CommonTokenFactory()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'DEFAULT' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/TokenFactory.swift:11:17: note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
9 | /// of a new factory means that it notifies it's token source and error strategy.
10 | ///
11 | public protocol TokenFactory {
| `- note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
12 |
13 | //typealias Symbol
/host/spi-builder-workspace/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: annotate 'bypassAltsAtnCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/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: annotate 'bypassAltsAtnCacheMutex' with '@MainActor' if property should only be accessed from the main actor
| `- 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/ConsoleErrorListener.swift:17:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 |
13 | public class ConsoleErrorListener: BaseErrorListener {
| `- note: class 'ConsoleErrorListener' does not conform to the 'Sendable' protocol
14 | ///
15 | /// Provides a default instance of _org.antlr.v4.runtime.ConsoleErrorListener_.
16 | ///
17 | public static let INSTANCE: ConsoleErrorListener = ConsoleErrorListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/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: annotate 'ConsoleError' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'EMPTY' with '@MainActor' if property should only be accessed from the main actor
| `- 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/misc/Interval.swift:13:22: warning: static property 'INVALID' is not concurrency-safe because non-'Sendable' type 'Interval' may have shared mutable state; this is an error in the Swift 6 language mode
10 | ///
11 |
12 | public struct Interval: Hashable {
| `- note: consider making struct 'Interval' conform to the 'Sendable' protocol
13 | public static let INVALID: Interval = Interval(-1, -2)
| |- warning: static property 'INVALID' is not concurrency-safe because non-'Sendable' type 'Interval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INVALID' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public var a: Int
/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: annotate 'EMPTY' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'EMPTY_VOCABULARY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |
[154/162] Compiling Antlr4 UnbufferedCharStream.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/CommonTokenFactory.swift:22:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// tokens.
21 | ///
22 | public static let DEFAULT: TokenFactory = CommonTokenFactory()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'DEFAULT' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/TokenFactory.swift:11:17: note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
9 | /// of a new factory means that it notifies it's token source and error strategy.
10 | ///
11 | public protocol TokenFactory {
| `- note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
12 |
13 | //typealias Symbol
/host/spi-builder-workspace/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: annotate 'bypassAltsAtnCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/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: annotate 'bypassAltsAtnCacheMutex' with '@MainActor' if property should only be accessed from the main actor
| `- 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/ConsoleErrorListener.swift:17:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 |
13 | public class ConsoleErrorListener: BaseErrorListener {
| `- note: class 'ConsoleErrorListener' does not conform to the 'Sendable' protocol
14 | ///
15 | /// Provides a default instance of _org.antlr.v4.runtime.ConsoleErrorListener_.
16 | ///
17 | public static let INSTANCE: ConsoleErrorListener = ConsoleErrorListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/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: annotate 'ConsoleError' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'EMPTY' with '@MainActor' if property should only be accessed from the main actor
| `- 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/misc/Interval.swift:13:22: warning: static property 'INVALID' is not concurrency-safe because non-'Sendable' type 'Interval' may have shared mutable state; this is an error in the Swift 6 language mode
10 | ///
11 |
12 | public struct Interval: Hashable {
| `- note: consider making struct 'Interval' conform to the 'Sendable' protocol
13 | public static let INVALID: Interval = Interval(-1, -2)
| |- warning: static property 'INVALID' is not concurrency-safe because non-'Sendable' type 'Interval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INVALID' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public var a: Int
/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: annotate 'EMPTY' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'EMPTY_VOCABULARY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |
[155/162] Compiling Antlr4 UnbufferedTokenStream.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/CommonTokenFactory.swift:22:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// tokens.
21 | ///
22 | public static let DEFAULT: TokenFactory = CommonTokenFactory()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'DEFAULT' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/TokenFactory.swift:11:17: note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
9 | /// of a new factory means that it notifies it's token source and error strategy.
10 | ///
11 | public protocol TokenFactory {
| `- note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
12 |
13 | //typealias Symbol
/host/spi-builder-workspace/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: annotate 'bypassAltsAtnCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/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: annotate 'bypassAltsAtnCacheMutex' with '@MainActor' if property should only be accessed from the main actor
| `- 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/ConsoleErrorListener.swift:17:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 |
13 | public class ConsoleErrorListener: BaseErrorListener {
| `- note: class 'ConsoleErrorListener' does not conform to the 'Sendable' protocol
14 | ///
15 | /// Provides a default instance of _org.antlr.v4.runtime.ConsoleErrorListener_.
16 | ///
17 | public static let INSTANCE: ConsoleErrorListener = ConsoleErrorListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/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: annotate 'ConsoleError' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'EMPTY' with '@MainActor' if property should only be accessed from the main actor
| `- 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/misc/Interval.swift:13:22: warning: static property 'INVALID' is not concurrency-safe because non-'Sendable' type 'Interval' may have shared mutable state; this is an error in the Swift 6 language mode
10 | ///
11 |
12 | public struct Interval: Hashable {
| `- note: consider making struct 'Interval' conform to the 'Sendable' protocol
13 | public static let INVALID: Interval = Interval(-1, -2)
| |- warning: static property 'INVALID' is not concurrency-safe because non-'Sendable' type 'Interval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INVALID' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public var a: Int
/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: annotate 'EMPTY' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'EMPTY_VOCABULARY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |
[156/162] Compiling Antlr4 VocabularySingle.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/CommonTokenFactory.swift:22:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// tokens.
21 | ///
22 | public static let DEFAULT: TokenFactory = CommonTokenFactory()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'DEFAULT' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/TokenFactory.swift:11:17: note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
9 | /// of a new factory means that it notifies it's token source and error strategy.
10 | ///
11 | public protocol TokenFactory {
| `- note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
12 |
13 | //typealias Symbol
/host/spi-builder-workspace/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: annotate 'bypassAltsAtnCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/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: annotate 'bypassAltsAtnCacheMutex' with '@MainActor' if property should only be accessed from the main actor
| `- 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/ConsoleErrorListener.swift:17:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 |
13 | public class ConsoleErrorListener: BaseErrorListener {
| `- note: class 'ConsoleErrorListener' does not conform to the 'Sendable' protocol
14 | ///
15 | /// Provides a default instance of _org.antlr.v4.runtime.ConsoleErrorListener_.
16 | ///
17 | public static let INSTANCE: ConsoleErrorListener = ConsoleErrorListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/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: annotate 'ConsoleError' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'EMPTY' with '@MainActor' if property should only be accessed from the main actor
| `- 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/misc/Interval.swift:13:22: warning: static property 'INVALID' is not concurrency-safe because non-'Sendable' type 'Interval' may have shared mutable state; this is an error in the Swift 6 language mode
10 | ///
11 |
12 | public struct Interval: Hashable {
| `- note: consider making struct 'Interval' conform to the 'Sendable' protocol
13 | public static let INVALID: Interval = Interval(-1, -2)
| |- warning: static property 'INVALID' is not concurrency-safe because non-'Sendable' type 'Interval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INVALID' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public var a: Int
/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: annotate 'EMPTY' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'EMPTY_VOCABULARY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |
[157/162] Compiling Antlr4 WritableToken.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/CommonTokenFactory.swift:22:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// tokens.
21 | ///
22 | public static let DEFAULT: TokenFactory = CommonTokenFactory()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'DEFAULT' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/TokenFactory.swift:11:17: note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
9 | /// of a new factory means that it notifies it's token source and error strategy.
10 | ///
11 | public protocol TokenFactory {
| `- note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
12 |
13 | //typealias Symbol
/host/spi-builder-workspace/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: annotate 'bypassAltsAtnCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/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: annotate 'bypassAltsAtnCacheMutex' with '@MainActor' if property should only be accessed from the main actor
| `- 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/ConsoleErrorListener.swift:17:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 |
13 | public class ConsoleErrorListener: BaseErrorListener {
| `- note: class 'ConsoleErrorListener' does not conform to the 'Sendable' protocol
14 | ///
15 | /// Provides a default instance of _org.antlr.v4.runtime.ConsoleErrorListener_.
16 | ///
17 | public static let INSTANCE: ConsoleErrorListener = ConsoleErrorListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/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: annotate 'ConsoleError' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'EMPTY' with '@MainActor' if property should only be accessed from the main actor
| `- 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/misc/Interval.swift:13:22: warning: static property 'INVALID' is not concurrency-safe because non-'Sendable' type 'Interval' may have shared mutable state; this is an error in the Swift 6 language mode
10 | ///
11 |
12 | public struct Interval: Hashable {
| `- note: consider making struct 'Interval' conform to the 'Sendable' protocol
13 | public static let INVALID: Interval = Interval(-1, -2)
| |- warning: static property 'INVALID' is not concurrency-safe because non-'Sendable' type 'Interval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INVALID' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public var a: Int
/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: annotate 'EMPTY' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'EMPTY_VOCABULARY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |
BUILD FAILURE 6.0 linux