Build Information
Successful build of Antlr4, reference main (0b4eed), with Swift 6.1 for Android on 27 May 2025 22:36:07 UTC.
Swift 6 data race errors: 28
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1Build Log
| |- note: add '@MainActor' to make static property 'DEFAULT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:11:17: note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
9 | /// of a new factory means that it notifies it's token source and error strategy.
10 | ///
11 | public protocol TokenFactory {
| `- note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
12 |
13 | //typealias Symbol
/host/spi-builder-workspace/Sources/Antlr4/ConsoleErrorListener.swift:17:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 |
13 | public class ConsoleErrorListener: BaseErrorListener {
| `- note: class 'ConsoleErrorListener' does not conform to the 'Sendable' protocol
14 | ///
15 | /// Provides a default instance of _org.antlr.v4.runtime.ConsoleErrorListener_.
16 | ///
17 | public static let INSTANCE: ConsoleErrorListener = ConsoleErrorListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/host/spi-builder-workspace/Sources/Antlr4/Lexer.swift:135:13: warning: variable 'tokenStartMarker' was never mutated; consider changing to 'let' constant
133 | // Mark start location in char stream so unbuffered streams are
134 | // guaranteed at least have text of current token
135 | var tokenStartMarker = _input.mark()
| `- warning: variable 'tokenStartMarker' was never mutated; consider changing to 'let' constant
136 | defer {
137 | // make sure we release marker after match or
[109/159] Compiling Antlr4 CommonTokenStream.swift
/host/spi-builder-workspace/Sources/Antlr4/CommonTokenFactory.swift:22:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// tokens.
21 | ///
22 | public static let DEFAULT: TokenFactory = CommonTokenFactory()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DEFAULT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:11:17: note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
9 | /// of a new factory means that it notifies it's token source and error strategy.
10 | ///
11 | public protocol TokenFactory {
| `- note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
12 |
13 | //typealias Symbol
/host/spi-builder-workspace/Sources/Antlr4/ConsoleErrorListener.swift:17:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 |
13 | public class ConsoleErrorListener: BaseErrorListener {
| `- note: class 'ConsoleErrorListener' does not conform to the 'Sendable' protocol
14 | ///
15 | /// Provides a default instance of _org.antlr.v4.runtime.ConsoleErrorListener_.
16 | ///
17 | public static let INSTANCE: ConsoleErrorListener = ConsoleErrorListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/host/spi-builder-workspace/Sources/Antlr4/Lexer.swift:135:13: warning: variable 'tokenStartMarker' was never mutated; consider changing to 'let' constant
133 | // Mark start location in char stream so unbuffered streams are
134 | // guaranteed at least have text of current token
135 | var tokenStartMarker = _input.mark()
| `- warning: variable 'tokenStartMarker' was never mutated; consider changing to 'let' constant
136 | defer {
137 | // make sure we release marker after match or
[110/159] Compiling Antlr4 ConsoleErrorListener.swift
/host/spi-builder-workspace/Sources/Antlr4/CommonTokenFactory.swift:22:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// tokens.
21 | ///
22 | public static let DEFAULT: TokenFactory = CommonTokenFactory()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DEFAULT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:11:17: note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
9 | /// of a new factory means that it notifies it's token source and error strategy.
10 | ///
11 | public protocol TokenFactory {
| `- note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
12 |
13 | //typealias Symbol
/host/spi-builder-workspace/Sources/Antlr4/ConsoleErrorListener.swift:17:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 |
13 | public class ConsoleErrorListener: BaseErrorListener {
| `- note: class 'ConsoleErrorListener' does not conform to the 'Sendable' protocol
14 | ///
15 | /// Provides a default instance of _org.antlr.v4.runtime.ConsoleErrorListener_.
16 | ///
17 | public static let INSTANCE: ConsoleErrorListener = ConsoleErrorListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/host/spi-builder-workspace/Sources/Antlr4/Lexer.swift:135:13: warning: variable 'tokenStartMarker' was never mutated; consider changing to 'let' constant
133 | // Mark start location in char stream so unbuffered streams are
134 | // guaranteed at least have text of current token
135 | var tokenStartMarker = _input.mark()
| `- warning: variable 'tokenStartMarker' was never mutated; consider changing to 'let' constant
136 | defer {
137 | // make sure we release marker after match or
[111/159] Compiling Antlr4 DefaultErrorStrategy.swift
/host/spi-builder-workspace/Sources/Antlr4/CommonTokenFactory.swift:22:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// tokens.
21 | ///
22 | public static let DEFAULT: TokenFactory = CommonTokenFactory()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DEFAULT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:11:17: note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
9 | /// of a new factory means that it notifies it's token source and error strategy.
10 | ///
11 | public protocol TokenFactory {
| `- note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
12 |
13 | //typealias Symbol
/host/spi-builder-workspace/Sources/Antlr4/ConsoleErrorListener.swift:17:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 |
13 | public class ConsoleErrorListener: BaseErrorListener {
| `- note: class 'ConsoleErrorListener' does not conform to the 'Sendable' protocol
14 | ///
15 | /// Provides a default instance of _org.antlr.v4.runtime.ConsoleErrorListener_.
16 | ///
17 | public static let INSTANCE: ConsoleErrorListener = ConsoleErrorListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/host/spi-builder-workspace/Sources/Antlr4/Lexer.swift:135:13: warning: variable 'tokenStartMarker' was never mutated; consider changing to 'let' constant
133 | // Mark start location in char stream so unbuffered streams are
134 | // guaranteed at least have text of current token
135 | var tokenStartMarker = _input.mark()
| `- warning: variable 'tokenStartMarker' was never mutated; consider changing to 'let' constant
136 | defer {
137 | // make sure we release marker after match or
[112/159] Compiling Antlr4 DiagnosticErrorListener.swift
/host/spi-builder-workspace/Sources/Antlr4/CommonTokenFactory.swift:22:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// tokens.
21 | ///
22 | public static let DEFAULT: TokenFactory = CommonTokenFactory()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DEFAULT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:11:17: note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
9 | /// of a new factory means that it notifies it's token source and error strategy.
10 | ///
11 | public protocol TokenFactory {
| `- note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
12 |
13 | //typealias Symbol
/host/spi-builder-workspace/Sources/Antlr4/ConsoleErrorListener.swift:17:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 |
13 | public class ConsoleErrorListener: BaseErrorListener {
| `- note: class 'ConsoleErrorListener' does not conform to the 'Sendable' protocol
14 | ///
15 | /// Provides a default instance of _org.antlr.v4.runtime.ConsoleErrorListener_.
16 | ///
17 | public static let INSTANCE: ConsoleErrorListener = ConsoleErrorListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/host/spi-builder-workspace/Sources/Antlr4/Lexer.swift:135:13: warning: variable 'tokenStartMarker' was never mutated; consider changing to 'let' constant
133 | // Mark start location in char stream so unbuffered streams are
134 | // guaranteed at least have text of current token
135 | var tokenStartMarker = _input.mark()
| `- warning: variable 'tokenStartMarker' was never mutated; consider changing to 'let' constant
136 | defer {
137 | // make sure we release marker after match or
[113/159] Compiling Antlr4 FailedPredicateException.swift
/host/spi-builder-workspace/Sources/Antlr4/CommonTokenFactory.swift:22:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// tokens.
21 | ///
22 | public static let DEFAULT: TokenFactory = CommonTokenFactory()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DEFAULT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:11:17: note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
9 | /// of a new factory means that it notifies it's token source and error strategy.
10 | ///
11 | public protocol TokenFactory {
| `- note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
12 |
13 | //typealias Symbol
/host/spi-builder-workspace/Sources/Antlr4/ConsoleErrorListener.swift:17:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 |
13 | public class ConsoleErrorListener: BaseErrorListener {
| `- note: class 'ConsoleErrorListener' does not conform to the 'Sendable' protocol
14 | ///
15 | /// Provides a default instance of _org.antlr.v4.runtime.ConsoleErrorListener_.
16 | ///
17 | public static let INSTANCE: ConsoleErrorListener = ConsoleErrorListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/host/spi-builder-workspace/Sources/Antlr4/Lexer.swift:135:13: warning: variable 'tokenStartMarker' was never mutated; consider changing to 'let' constant
133 | // Mark start location in char stream so unbuffered streams are
134 | // guaranteed at least have text of current token
135 | var tokenStartMarker = _input.mark()
| `- warning: variable 'tokenStartMarker' was never mutated; consider changing to 'let' constant
136 | defer {
137 | // make sure we release marker after match or
[114/159] Compiling Antlr4 InputMismatchException.swift
/host/spi-builder-workspace/Sources/Antlr4/CommonTokenFactory.swift:22:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// tokens.
21 | ///
22 | public static let DEFAULT: TokenFactory = CommonTokenFactory()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DEFAULT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:11:17: note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
9 | /// of a new factory means that it notifies it's token source and error strategy.
10 | ///
11 | public protocol TokenFactory {
| `- note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
12 |
13 | //typealias Symbol
/host/spi-builder-workspace/Sources/Antlr4/ConsoleErrorListener.swift:17:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 |
13 | public class ConsoleErrorListener: BaseErrorListener {
| `- note: class 'ConsoleErrorListener' does not conform to the 'Sendable' protocol
14 | ///
15 | /// Provides a default instance of _org.antlr.v4.runtime.ConsoleErrorListener_.
16 | ///
17 | public static let INSTANCE: ConsoleErrorListener = ConsoleErrorListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/host/spi-builder-workspace/Sources/Antlr4/Lexer.swift:135:13: warning: variable 'tokenStartMarker' was never mutated; consider changing to 'let' constant
133 | // Mark start location in char stream so unbuffered streams are
134 | // guaranteed at least have text of current token
135 | var tokenStartMarker = _input.mark()
| `- warning: variable 'tokenStartMarker' was never mutated; consider changing to 'let' constant
136 | defer {
137 | // make sure we release marker after match or
[115/159] Compiling Antlr4 IntStream.swift
/host/spi-builder-workspace/Sources/Antlr4/CommonTokenFactory.swift:22:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// tokens.
21 | ///
22 | public static let DEFAULT: TokenFactory = CommonTokenFactory()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DEFAULT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:11:17: note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
9 | /// of a new factory means that it notifies it's token source and error strategy.
10 | ///
11 | public protocol TokenFactory {
| `- note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
12 |
13 | //typealias Symbol
/host/spi-builder-workspace/Sources/Antlr4/ConsoleErrorListener.swift:17:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 |
13 | public class ConsoleErrorListener: BaseErrorListener {
| `- note: class 'ConsoleErrorListener' does not conform to the 'Sendable' protocol
14 | ///
15 | /// Provides a default instance of _org.antlr.v4.runtime.ConsoleErrorListener_.
16 | ///
17 | public static let INSTANCE: ConsoleErrorListener = ConsoleErrorListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/host/spi-builder-workspace/Sources/Antlr4/Lexer.swift:135:13: warning: variable 'tokenStartMarker' was never mutated; consider changing to 'let' constant
133 | // Mark start location in char stream so unbuffered streams are
134 | // guaranteed at least have text of current token
135 | var tokenStartMarker = _input.mark()
| `- warning: variable 'tokenStartMarker' was never mutated; consider changing to 'let' constant
136 | defer {
137 | // make sure we release marker after match or
[116/159] Compiling Antlr4 InterpreterRuleContext.swift
/host/spi-builder-workspace/Sources/Antlr4/CommonTokenFactory.swift:22:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// tokens.
21 | ///
22 | public static let DEFAULT: TokenFactory = CommonTokenFactory()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DEFAULT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:11:17: note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
9 | /// of a new factory means that it notifies it's token source and error strategy.
10 | ///
11 | public protocol TokenFactory {
| `- note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
12 |
13 | //typealias Symbol
/host/spi-builder-workspace/Sources/Antlr4/ConsoleErrorListener.swift:17:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 |
13 | public class ConsoleErrorListener: BaseErrorListener {
| `- note: class 'ConsoleErrorListener' does not conform to the 'Sendable' protocol
14 | ///
15 | /// Provides a default instance of _org.antlr.v4.runtime.ConsoleErrorListener_.
16 | ///
17 | public static let INSTANCE: ConsoleErrorListener = ConsoleErrorListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/host/spi-builder-workspace/Sources/Antlr4/Lexer.swift:135:13: warning: variable 'tokenStartMarker' was never mutated; consider changing to 'let' constant
133 | // Mark start location in char stream so unbuffered streams are
134 | // guaranteed at least have text of current token
135 | var tokenStartMarker = _input.mark()
| `- warning: variable 'tokenStartMarker' was never mutated; consider changing to 'let' constant
136 | defer {
137 | // make sure we release marker after match or
[117/159] Compiling Antlr4 Lexer.swift
/host/spi-builder-workspace/Sources/Antlr4/CommonTokenFactory.swift:22:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// tokens.
21 | ///
22 | public static let DEFAULT: TokenFactory = CommonTokenFactory()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DEFAULT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:11:17: note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
9 | /// of a new factory means that it notifies it's token source and error strategy.
10 | ///
11 | public protocol TokenFactory {
| `- note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
12 |
13 | //typealias Symbol
/host/spi-builder-workspace/Sources/Antlr4/ConsoleErrorListener.swift:17:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 |
13 | public class ConsoleErrorListener: BaseErrorListener {
| `- note: class 'ConsoleErrorListener' does not conform to the 'Sendable' protocol
14 | ///
15 | /// Provides a default instance of _org.antlr.v4.runtime.ConsoleErrorListener_.
16 | ///
17 | public static let INSTANCE: ConsoleErrorListener = ConsoleErrorListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/host/spi-builder-workspace/Sources/Antlr4/Lexer.swift:135:13: warning: variable 'tokenStartMarker' was never mutated; consider changing to 'let' constant
133 | // Mark start location in char stream so unbuffered streams are
134 | // guaranteed at least have text of current token
135 | var tokenStartMarker = _input.mark()
| `- warning: variable 'tokenStartMarker' was never mutated; consider changing to 'let' constant
136 | defer {
137 | // make sure we release marker after match or
[118/159] Compiling Antlr4 LexerInterpreter.swift
/host/spi-builder-workspace/Sources/Antlr4/CommonTokenFactory.swift:22:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// tokens.
21 | ///
22 | public static let DEFAULT: TokenFactory = CommonTokenFactory()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DEFAULT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:11:17: note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
9 | /// of a new factory means that it notifies it's token source and error strategy.
10 | ///
11 | public protocol TokenFactory {
| `- note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
12 |
13 | //typealias Symbol
/host/spi-builder-workspace/Sources/Antlr4/ConsoleErrorListener.swift:17:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 |
13 | public class ConsoleErrorListener: BaseErrorListener {
| `- note: class 'ConsoleErrorListener' does not conform to the 'Sendable' protocol
14 | ///
15 | /// Provides a default instance of _org.antlr.v4.runtime.ConsoleErrorListener_.
16 | ///
17 | public static let INSTANCE: ConsoleErrorListener = ConsoleErrorListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/host/spi-builder-workspace/Sources/Antlr4/Lexer.swift:135:13: warning: variable 'tokenStartMarker' was never mutated; consider changing to 'let' constant
133 | // Mark start location in char stream so unbuffered streams are
134 | // guaranteed at least have text of current token
135 | var tokenStartMarker = _input.mark()
| `- warning: variable 'tokenStartMarker' was never mutated; consider changing to 'let' constant
136 | defer {
137 | // make sure we release marker after match or
[119/159] Compiling Antlr4 RangeTransition.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/SemanticContext.swift:25:23: warning: static property 'NONE' is not concurrency-safe because non-'Sendable' type 'SemanticContext' may have shared mutable state; this is an error in the Swift 6 language mode
18 | import Foundation
19 |
20 | public class SemanticContext: Hashable, CustomStringConvertible {
| `- note: class 'SemanticContext' does not conform to the 'Sendable' protocol
21 | ///
22 | /// The default _org.antlr.v4.runtime.atn.SemanticContext_, which is semantically equivalent to
23 | /// a predicate of the form `{true`?}.
24 | ///
25 | public static let NONE: SemanticContext = Predicate()
| |- warning: static property 'NONE' is not concurrency-safe because non-'Sendable' type 'SemanticContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'NONE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | ///
[120/159] Compiling Antlr4 RuleStartState.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/SemanticContext.swift:25:23: warning: static property 'NONE' is not concurrency-safe because non-'Sendable' type 'SemanticContext' may have shared mutable state; this is an error in the Swift 6 language mode
18 | import Foundation
19 |
20 | public class SemanticContext: Hashable, CustomStringConvertible {
| `- note: class 'SemanticContext' does not conform to the 'Sendable' protocol
21 | ///
22 | /// The default _org.antlr.v4.runtime.atn.SemanticContext_, which is semantically equivalent to
23 | /// a predicate of the form `{true`?}.
24 | ///
25 | public static let NONE: SemanticContext = Predicate()
| |- warning: static property 'NONE' is not concurrency-safe because non-'Sendable' type 'SemanticContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'NONE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | ///
[121/159] Compiling Antlr4 RuleStopState.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/SemanticContext.swift:25:23: warning: static property 'NONE' is not concurrency-safe because non-'Sendable' type 'SemanticContext' may have shared mutable state; this is an error in the Swift 6 language mode
18 | import Foundation
19 |
20 | public class SemanticContext: Hashable, CustomStringConvertible {
| `- note: class 'SemanticContext' does not conform to the 'Sendable' protocol
21 | ///
22 | /// The default _org.antlr.v4.runtime.atn.SemanticContext_, which is semantically equivalent to
23 | /// a predicate of the form `{true`?}.
24 | ///
25 | public static let NONE: SemanticContext = Predicate()
| |- warning: static property 'NONE' is not concurrency-safe because non-'Sendable' type 'SemanticContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'NONE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | ///
[122/159] Compiling Antlr4 RuleTransition.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/SemanticContext.swift:25:23: warning: static property 'NONE' is not concurrency-safe because non-'Sendable' type 'SemanticContext' may have shared mutable state; this is an error in the Swift 6 language mode
18 | import Foundation
19 |
20 | public class SemanticContext: Hashable, CustomStringConvertible {
| `- note: class 'SemanticContext' does not conform to the 'Sendable' protocol
21 | ///
22 | /// The default _org.antlr.v4.runtime.atn.SemanticContext_, which is semantically equivalent to
23 | /// a predicate of the form `{true`?}.
24 | ///
25 | public static let NONE: SemanticContext = Predicate()
| |- warning: static property 'NONE' is not concurrency-safe because non-'Sendable' type 'SemanticContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'NONE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | ///
[123/159] Compiling Antlr4 SemanticContext.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/SemanticContext.swift:25:23: warning: static property 'NONE' is not concurrency-safe because non-'Sendable' type 'SemanticContext' may have shared mutable state; this is an error in the Swift 6 language mode
18 | import Foundation
19 |
20 | public class SemanticContext: Hashable, CustomStringConvertible {
| `- note: class 'SemanticContext' does not conform to the 'Sendable' protocol
21 | ///
22 | /// The default _org.antlr.v4.runtime.atn.SemanticContext_, which is semantically equivalent to
23 | /// a predicate of the form `{true`?}.
24 | ///
25 | public static let NONE: SemanticContext = Predicate()
| |- warning: static property 'NONE' is not concurrency-safe because non-'Sendable' type 'SemanticContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'NONE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | ///
[124/159] Compiling Antlr4 SetTransition.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/SemanticContext.swift:25:23: warning: static property 'NONE' is not concurrency-safe because non-'Sendable' type 'SemanticContext' may have shared mutable state; this is an error in the Swift 6 language mode
18 | import Foundation
19 |
20 | public class SemanticContext: Hashable, CustomStringConvertible {
| `- note: class 'SemanticContext' does not conform to the 'Sendable' protocol
21 | ///
22 | /// The default _org.antlr.v4.runtime.atn.SemanticContext_, which is semantically equivalent to
23 | /// a predicate of the form `{true`?}.
24 | ///
25 | public static let NONE: SemanticContext = Predicate()
| |- warning: static property 'NONE' is not concurrency-safe because non-'Sendable' type 'SemanticContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'NONE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | ///
[125/159] Compiling Antlr4 SingletonPredictionContext.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/SemanticContext.swift:25:23: warning: static property 'NONE' is not concurrency-safe because non-'Sendable' type 'SemanticContext' may have shared mutable state; this is an error in the Swift 6 language mode
18 | import Foundation
19 |
20 | public class SemanticContext: Hashable, CustomStringConvertible {
| `- note: class 'SemanticContext' does not conform to the 'Sendable' protocol
21 | ///
22 | /// The default _org.antlr.v4.runtime.atn.SemanticContext_, which is semantically equivalent to
23 | /// a predicate of the form `{true`?}.
24 | ///
25 | public static let NONE: SemanticContext = Predicate()
| |- warning: static property 'NONE' is not concurrency-safe because non-'Sendable' type 'SemanticContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'NONE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | ///
[126/159] Compiling Antlr4 StarBlockStartState.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/SemanticContext.swift:25:23: warning: static property 'NONE' is not concurrency-safe because non-'Sendable' type 'SemanticContext' may have shared mutable state; this is an error in the Swift 6 language mode
18 | import Foundation
19 |
20 | public class SemanticContext: Hashable, CustomStringConvertible {
| `- note: class 'SemanticContext' does not conform to the 'Sendable' protocol
21 | ///
22 | /// The default _org.antlr.v4.runtime.atn.SemanticContext_, which is semantically equivalent to
23 | /// a predicate of the form `{true`?}.
24 | ///
25 | public static let NONE: SemanticContext = Predicate()
| |- warning: static property 'NONE' is not concurrency-safe because non-'Sendable' type 'SemanticContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'NONE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | ///
[127/159] Compiling Antlr4 StarLoopEntryState.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/SemanticContext.swift:25:23: warning: static property 'NONE' is not concurrency-safe because non-'Sendable' type 'SemanticContext' may have shared mutable state; this is an error in the Swift 6 language mode
18 | import Foundation
19 |
20 | public class SemanticContext: Hashable, CustomStringConvertible {
| `- note: class 'SemanticContext' does not conform to the 'Sendable' protocol
21 | ///
22 | /// The default _org.antlr.v4.runtime.atn.SemanticContext_, which is semantically equivalent to
23 | /// a predicate of the form `{true`?}.
24 | ///
25 | public static let NONE: SemanticContext = Predicate()
| |- warning: static property 'NONE' is not concurrency-safe because non-'Sendable' type 'SemanticContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'NONE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | ///
[128/159] Compiling Antlr4 StarLoopbackState.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/SemanticContext.swift:25:23: warning: static property 'NONE' is not concurrency-safe because non-'Sendable' type 'SemanticContext' may have shared mutable state; this is an error in the Swift 6 language mode
18 | import Foundation
19 |
20 | public class SemanticContext: Hashable, CustomStringConvertible {
| `- note: class 'SemanticContext' does not conform to the 'Sendable' protocol
21 | ///
22 | /// The default _org.antlr.v4.runtime.atn.SemanticContext_, which is semantically equivalent to
23 | /// a predicate of the form `{true`?}.
24 | ///
25 | public static let NONE: SemanticContext = Predicate()
| |- warning: static property 'NONE' is not concurrency-safe because non-'Sendable' type 'SemanticContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'NONE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | ///
[129/159] Compiling Antlr4 TokensStartState.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/SemanticContext.swift:25:23: warning: static property 'NONE' is not concurrency-safe because non-'Sendable' type 'SemanticContext' may have shared mutable state; this is an error in the Swift 6 language mode
18 | import Foundation
19 |
20 | public class SemanticContext: Hashable, CustomStringConvertible {
| `- note: class 'SemanticContext' does not conform to the 'Sendable' protocol
21 | ///
22 | /// The default _org.antlr.v4.runtime.atn.SemanticContext_, which is semantically equivalent to
23 | /// a predicate of the form `{true`?}.
24 | ///
25 | public static let NONE: SemanticContext = Predicate()
| |- warning: static property 'NONE' is not concurrency-safe because non-'Sendable' type 'SemanticContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'NONE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | ///
[130/159] Compiling Antlr4 Transition.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/SemanticContext.swift:25:23: warning: static property 'NONE' is not concurrency-safe because non-'Sendable' type 'SemanticContext' may have shared mutable state; this is an error in the Swift 6 language mode
18 | import Foundation
19 |
20 | public class SemanticContext: Hashable, CustomStringConvertible {
| `- note: class 'SemanticContext' does not conform to the 'Sendable' protocol
21 | ///
22 | /// The default _org.antlr.v4.runtime.atn.SemanticContext_, which is semantically equivalent to
23 | /// a predicate of the form `{true`?}.
24 | ///
25 | public static let NONE: SemanticContext = Predicate()
| |- warning: static property 'NONE' is not concurrency-safe because non-'Sendable' type 'SemanticContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'NONE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | ///
[131/159] Compiling Antlr4 WildcardTransition.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/SemanticContext.swift:25:23: warning: static property 'NONE' is not concurrency-safe because non-'Sendable' type 'SemanticContext' may have shared mutable state; this is an error in the Swift 6 language mode
18 | import Foundation
19 |
20 | public class SemanticContext: Hashable, CustomStringConvertible {
| `- note: class 'SemanticContext' does not conform to the 'Sendable' protocol
21 | ///
22 | /// The default _org.antlr.v4.runtime.atn.SemanticContext_, which is semantically equivalent to
23 | /// a predicate of the form `{true`?}.
24 | ///
25 | public static let NONE: SemanticContext = Predicate()
| |- warning: static property 'NONE' is not concurrency-safe because non-'Sendable' type 'SemanticContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'NONE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | ///
[132/159] Compiling Antlr4 DFA.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/SemanticContext.swift:25:23: warning: static property 'NONE' is not concurrency-safe because non-'Sendable' type 'SemanticContext' may have shared mutable state; this is an error in the Swift 6 language mode
18 | import Foundation
19 |
20 | public class SemanticContext: Hashable, CustomStringConvertible {
| `- note: class 'SemanticContext' does not conform to the 'Sendable' protocol
21 | ///
22 | /// The default _org.antlr.v4.runtime.atn.SemanticContext_, which is semantically equivalent to
23 | /// a predicate of the form `{true`?}.
24 | ///
25 | public static let NONE: SemanticContext = Predicate()
| |- warning: static property 'NONE' is not concurrency-safe because non-'Sendable' type 'SemanticContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'NONE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | ///
[133/159] Compiling Antlr4 DFASerializer.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/SemanticContext.swift:25:23: warning: static property 'NONE' is not concurrency-safe because non-'Sendable' type 'SemanticContext' may have shared mutable state; this is an error in the Swift 6 language mode
18 | import Foundation
19 |
20 | public class SemanticContext: Hashable, CustomStringConvertible {
| `- note: class 'SemanticContext' does not conform to the 'Sendable' protocol
21 | ///
22 | /// The default _org.antlr.v4.runtime.atn.SemanticContext_, which is semantically equivalent to
23 | /// a predicate of the form `{true`?}.
24 | ///
25 | public static let NONE: SemanticContext = Predicate()
| |- warning: static property 'NONE' is not concurrency-safe because non-'Sendable' type 'SemanticContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'NONE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | ///
[134/159] Compiling Antlr4 DFAState.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/SemanticContext.swift:25:23: warning: static property 'NONE' is not concurrency-safe because non-'Sendable' type 'SemanticContext' may have shared mutable state; this is an error in the Swift 6 language mode
18 | import Foundation
19 |
20 | public class SemanticContext: Hashable, CustomStringConvertible {
| `- note: class 'SemanticContext' does not conform to the 'Sendable' protocol
21 | ///
22 | /// The default _org.antlr.v4.runtime.atn.SemanticContext_, which is semantically equivalent to
23 | /// a predicate of the form `{true`?}.
24 | ///
25 | public static let NONE: SemanticContext = Predicate()
| |- warning: static property 'NONE' is not concurrency-safe because non-'Sendable' type 'SemanticContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'NONE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | ///
[135/159] Compiling Antlr4 LexerDFASerializer.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/SemanticContext.swift:25:23: warning: static property 'NONE' is not concurrency-safe because non-'Sendable' type 'SemanticContext' may have shared mutable state; this is an error in the Swift 6 language mode
18 | import Foundation
19 |
20 | public class SemanticContext: Hashable, CustomStringConvertible {
| `- note: class 'SemanticContext' does not conform to the 'Sendable' protocol
21 | ///
22 | /// The default _org.antlr.v4.runtime.atn.SemanticContext_, which is semantically equivalent to
23 | /// a predicate of the form `{true`?}.
24 | ///
25 | public static let NONE: SemanticContext = Predicate()
| |- warning: static property 'NONE' is not concurrency-safe because non-'Sendable' type 'SemanticContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'NONE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | ///
[136/159] Compiling Antlr4 BitSet.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/SemanticContext.swift:25:23: warning: static property 'NONE' is not concurrency-safe because non-'Sendable' type 'SemanticContext' may have shared mutable state; this is an error in the Swift 6 language mode
18 | import Foundation
19 |
20 | public class SemanticContext: Hashable, CustomStringConvertible {
| `- note: class 'SemanticContext' does not conform to the 'Sendable' protocol
21 | ///
22 | /// The default _org.antlr.v4.runtime.atn.SemanticContext_, which is semantically equivalent to
23 | /// a predicate of the form `{true`?}.
24 | ///
25 | public static let NONE: SemanticContext = Predicate()
| |- warning: static property 'NONE' is not concurrency-safe because non-'Sendable' type 'SemanticContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'NONE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | ///
[137/159] Compiling Antlr4 DoubleKeyMap.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/SemanticContext.swift:25:23: warning: static property 'NONE' is not concurrency-safe because non-'Sendable' type 'SemanticContext' may have shared mutable state; this is an error in the Swift 6 language mode
18 | import Foundation
19 |
20 | public class SemanticContext: Hashable, CustomStringConvertible {
| `- note: class 'SemanticContext' does not conform to the 'Sendable' protocol
21 | ///
22 | /// The default _org.antlr.v4.runtime.atn.SemanticContext_, which is semantically equivalent to
23 | /// a predicate of the form `{true`?}.
24 | ///
25 | public static let NONE: SemanticContext = Predicate()
| |- warning: static property 'NONE' is not concurrency-safe because non-'Sendable' type 'SemanticContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'NONE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | ///
[138/159] Compiling Antlr4 LexerPushModeAction.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerSkipAction.swift:22:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerSkipAction' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ///
17 |
18 | public final class LexerSkipAction: LexerAction, CustomStringConvertible {
| `- note: class 'LexerSkipAction' does not conform to the 'Sendable' protocol
19 | ///
20 | /// Provides a singleton instance of this parameterless lexer action.
21 | ///
22 | public static let INSTANCE: LexerSkipAction = LexerSkipAction()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerSkipAction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/atn/PredictionContext.swift:15:23: warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'EmptyPredictionContext' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// `+x = *`.
14 | ///
15 | public static let EMPTY = EmptyPredictionContext()
| |- warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'EmptyPredictionContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | ///
/host/spi-builder-workspace/Sources/Antlr4/atn/EmptyPredictionContext.swift:8:14: note: class 'EmptyPredictionContext' does not conform to the 'Sendable' protocol
6 |
7 |
8 | public class EmptyPredictionContext: SingletonPredictionContext {
| `- note: class 'EmptyPredictionContext' does not conform to the 'Sendable' protocol
9 | public init() {
10 | super.init(nil, PredictionContext.EMPTY_RETURN_STATE)
/host/spi-builder-workspace/Sources/Antlr4/atn/PredictionContext.swift:26:23: warning: static property 'globalNodeCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | private static let INITIAL_HASH = UInt32(1)
25 |
26 | public static var globalNodeCount = 0
| |- warning: static property 'globalNodeCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'globalNodeCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'globalNodeCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | public final let id: Int = {
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:56:13: warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
54 | override
55 | public func adaptivePredict(_ input: TokenStream, _ decision: Int,_ outerContext: ParserRuleContext?) throws -> Int {
56 | var outerContext = outerContext
| `- warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
57 | self._sllStopIndex = -1
58 | self._llStopIndex = -1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:60:13: warning: variable 'start' was never mutated; consider changing to 'let' constant
58 | self._llStopIndex = -1
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
| `- warning: variable 'start' was never mutated; consider changing to 'let' constant
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:61:13: warning: variable 'alt' was never mutated; consider changing to 'let' constant
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
| `- warning: variable 'alt' was never mutated; consider changing to 'let' constant
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
63 | decisions[decision].timeInPrediction += (stop - start)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:62:13: warning: variable 'stop' was never mutated; consider changing to 'let' constant
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
| `- warning: variable 'stop' was never mutated; consider changing to 'let' constant
63 | decisions[decision].timeInPrediction += (stop - start)
64 | decisions[decision].invocations += 1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:66:13: warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
64 | decisions[decision].invocations += 1
65 |
66 | var SLL_k: Int64 = Int64(_sllStopIndex - _startIndex + 1)
| `- warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
67 | decisions[decision].SLL_TotalLook += SLL_k
68 | decisions[decision].SLL_MinLook = decisions[decision].SLL_MinLook == 0 ? SLL_k : min(decisions[decision].SLL_MinLook, SLL_k)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:76:17: warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
74 |
75 | if _llStopIndex >= 0 {
76 | var LL_k: Int64 = Int64(_llStopIndex - _startIndex + 1)
| `- warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
77 | decisions[decision].LL_TotalLook += LL_k
78 | decisions[decision].LL_MinLook = decisions[decision].LL_MinLook == 0 ? LL_k : min(decisions[decision].LL_MinLook, LL_k)
[139/159] Compiling Antlr4 LexerSkipAction.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerSkipAction.swift:22:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerSkipAction' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ///
17 |
18 | public final class LexerSkipAction: LexerAction, CustomStringConvertible {
| `- note: class 'LexerSkipAction' does not conform to the 'Sendable' protocol
19 | ///
20 | /// Provides a singleton instance of this parameterless lexer action.
21 | ///
22 | public static let INSTANCE: LexerSkipAction = LexerSkipAction()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerSkipAction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/atn/PredictionContext.swift:15:23: warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'EmptyPredictionContext' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// `+x = *`.
14 | ///
15 | public static let EMPTY = EmptyPredictionContext()
| |- warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'EmptyPredictionContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | ///
/host/spi-builder-workspace/Sources/Antlr4/atn/EmptyPredictionContext.swift:8:14: note: class 'EmptyPredictionContext' does not conform to the 'Sendable' protocol
6 |
7 |
8 | public class EmptyPredictionContext: SingletonPredictionContext {
| `- note: class 'EmptyPredictionContext' does not conform to the 'Sendable' protocol
9 | public init() {
10 | super.init(nil, PredictionContext.EMPTY_RETURN_STATE)
/host/spi-builder-workspace/Sources/Antlr4/atn/PredictionContext.swift:26:23: warning: static property 'globalNodeCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | private static let INITIAL_HASH = UInt32(1)
25 |
26 | public static var globalNodeCount = 0
| |- warning: static property 'globalNodeCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'globalNodeCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'globalNodeCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | public final let id: Int = {
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:56:13: warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
54 | override
55 | public func adaptivePredict(_ input: TokenStream, _ decision: Int,_ outerContext: ParserRuleContext?) throws -> Int {
56 | var outerContext = outerContext
| `- warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
57 | self._sllStopIndex = -1
58 | self._llStopIndex = -1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:60:13: warning: variable 'start' was never mutated; consider changing to 'let' constant
58 | self._llStopIndex = -1
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
| `- warning: variable 'start' was never mutated; consider changing to 'let' constant
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:61:13: warning: variable 'alt' was never mutated; consider changing to 'let' constant
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
| `- warning: variable 'alt' was never mutated; consider changing to 'let' constant
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
63 | decisions[decision].timeInPrediction += (stop - start)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:62:13: warning: variable 'stop' was never mutated; consider changing to 'let' constant
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
| `- warning: variable 'stop' was never mutated; consider changing to 'let' constant
63 | decisions[decision].timeInPrediction += (stop - start)
64 | decisions[decision].invocations += 1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:66:13: warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
64 | decisions[decision].invocations += 1
65 |
66 | var SLL_k: Int64 = Int64(_sllStopIndex - _startIndex + 1)
| `- warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
67 | decisions[decision].SLL_TotalLook += SLL_k
68 | decisions[decision].SLL_MinLook = decisions[decision].SLL_MinLook == 0 ? SLL_k : min(decisions[decision].SLL_MinLook, SLL_k)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:76:17: warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
74 |
75 | if _llStopIndex >= 0 {
76 | var LL_k: Int64 = Int64(_llStopIndex - _startIndex + 1)
| `- warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
77 | decisions[decision].LL_TotalLook += LL_k
78 | decisions[decision].LL_MinLook = decisions[decision].LL_MinLook == 0 ? LL_k : min(decisions[decision].LL_MinLook, LL_k)
[140/159] Compiling Antlr4 LexerTypeAction.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerSkipAction.swift:22:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerSkipAction' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ///
17 |
18 | public final class LexerSkipAction: LexerAction, CustomStringConvertible {
| `- note: class 'LexerSkipAction' does not conform to the 'Sendable' protocol
19 | ///
20 | /// Provides a singleton instance of this parameterless lexer action.
21 | ///
22 | public static let INSTANCE: LexerSkipAction = LexerSkipAction()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerSkipAction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/atn/PredictionContext.swift:15:23: warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'EmptyPredictionContext' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// `+x = *`.
14 | ///
15 | public static let EMPTY = EmptyPredictionContext()
| |- warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'EmptyPredictionContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | ///
/host/spi-builder-workspace/Sources/Antlr4/atn/EmptyPredictionContext.swift:8:14: note: class 'EmptyPredictionContext' does not conform to the 'Sendable' protocol
6 |
7 |
8 | public class EmptyPredictionContext: SingletonPredictionContext {
| `- note: class 'EmptyPredictionContext' does not conform to the 'Sendable' protocol
9 | public init() {
10 | super.init(nil, PredictionContext.EMPTY_RETURN_STATE)
/host/spi-builder-workspace/Sources/Antlr4/atn/PredictionContext.swift:26:23: warning: static property 'globalNodeCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | private static let INITIAL_HASH = UInt32(1)
25 |
26 | public static var globalNodeCount = 0
| |- warning: static property 'globalNodeCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'globalNodeCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'globalNodeCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | public final let id: Int = {
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:56:13: warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
54 | override
55 | public func adaptivePredict(_ input: TokenStream, _ decision: Int,_ outerContext: ParserRuleContext?) throws -> Int {
56 | var outerContext = outerContext
| `- warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
57 | self._sllStopIndex = -1
58 | self._llStopIndex = -1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:60:13: warning: variable 'start' was never mutated; consider changing to 'let' constant
58 | self._llStopIndex = -1
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
| `- warning: variable 'start' was never mutated; consider changing to 'let' constant
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:61:13: warning: variable 'alt' was never mutated; consider changing to 'let' constant
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
| `- warning: variable 'alt' was never mutated; consider changing to 'let' constant
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
63 | decisions[decision].timeInPrediction += (stop - start)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:62:13: warning: variable 'stop' was never mutated; consider changing to 'let' constant
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
| `- warning: variable 'stop' was never mutated; consider changing to 'let' constant
63 | decisions[decision].timeInPrediction += (stop - start)
64 | decisions[decision].invocations += 1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:66:13: warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
64 | decisions[decision].invocations += 1
65 |
66 | var SLL_k: Int64 = Int64(_sllStopIndex - _startIndex + 1)
| `- warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
67 | decisions[decision].SLL_TotalLook += SLL_k
68 | decisions[decision].SLL_MinLook = decisions[decision].SLL_MinLook == 0 ? SLL_k : min(decisions[decision].SLL_MinLook, SLL_k)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:76:17: warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
74 |
75 | if _llStopIndex >= 0 {
76 | var LL_k: Int64 = Int64(_llStopIndex - _startIndex + 1)
| `- warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
77 | decisions[decision].LL_TotalLook += LL_k
78 | decisions[decision].LL_MinLook = decisions[decision].LL_MinLook == 0 ? LL_k : min(decisions[decision].LL_MinLook, LL_k)
[141/159] Compiling Antlr4 LookaheadEventInfo.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerSkipAction.swift:22:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerSkipAction' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ///
17 |
18 | public final class LexerSkipAction: LexerAction, CustomStringConvertible {
| `- note: class 'LexerSkipAction' does not conform to the 'Sendable' protocol
19 | ///
20 | /// Provides a singleton instance of this parameterless lexer action.
21 | ///
22 | public static let INSTANCE: LexerSkipAction = LexerSkipAction()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerSkipAction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/atn/PredictionContext.swift:15:23: warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'EmptyPredictionContext' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// `+x = *`.
14 | ///
15 | public static let EMPTY = EmptyPredictionContext()
| |- warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'EmptyPredictionContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | ///
/host/spi-builder-workspace/Sources/Antlr4/atn/EmptyPredictionContext.swift:8:14: note: class 'EmptyPredictionContext' does not conform to the 'Sendable' protocol
6 |
7 |
8 | public class EmptyPredictionContext: SingletonPredictionContext {
| `- note: class 'EmptyPredictionContext' does not conform to the 'Sendable' protocol
9 | public init() {
10 | super.init(nil, PredictionContext.EMPTY_RETURN_STATE)
/host/spi-builder-workspace/Sources/Antlr4/atn/PredictionContext.swift:26:23: warning: static property 'globalNodeCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | private static let INITIAL_HASH = UInt32(1)
25 |
26 | public static var globalNodeCount = 0
| |- warning: static property 'globalNodeCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'globalNodeCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'globalNodeCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | public final let id: Int = {
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:56:13: warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
54 | override
55 | public func adaptivePredict(_ input: TokenStream, _ decision: Int,_ outerContext: ParserRuleContext?) throws -> Int {
56 | var outerContext = outerContext
| `- warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
57 | self._sllStopIndex = -1
58 | self._llStopIndex = -1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:60:13: warning: variable 'start' was never mutated; consider changing to 'let' constant
58 | self._llStopIndex = -1
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
| `- warning: variable 'start' was never mutated; consider changing to 'let' constant
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:61:13: warning: variable 'alt' was never mutated; consider changing to 'let' constant
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
| `- warning: variable 'alt' was never mutated; consider changing to 'let' constant
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
63 | decisions[decision].timeInPrediction += (stop - start)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:62:13: warning: variable 'stop' was never mutated; consider changing to 'let' constant
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
| `- warning: variable 'stop' was never mutated; consider changing to 'let' constant
63 | decisions[decision].timeInPrediction += (stop - start)
64 | decisions[decision].invocations += 1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:66:13: warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
64 | decisions[decision].invocations += 1
65 |
66 | var SLL_k: Int64 = Int64(_sllStopIndex - _startIndex + 1)
| `- warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
67 | decisions[decision].SLL_TotalLook += SLL_k
68 | decisions[decision].SLL_MinLook = decisions[decision].SLL_MinLook == 0 ? SLL_k : min(decisions[decision].SLL_MinLook, SLL_k)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:76:17: warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
74 |
75 | if _llStopIndex >= 0 {
76 | var LL_k: Int64 = Int64(_llStopIndex - _startIndex + 1)
| `- warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
77 | decisions[decision].LL_TotalLook += LL_k
78 | decisions[decision].LL_MinLook = decisions[decision].LL_MinLook == 0 ? LL_k : min(decisions[decision].LL_MinLook, LL_k)
[142/159] Compiling Antlr4 LookupATNConfig.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerSkipAction.swift:22:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerSkipAction' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ///
17 |
18 | public final class LexerSkipAction: LexerAction, CustomStringConvertible {
| `- note: class 'LexerSkipAction' does not conform to the 'Sendable' protocol
19 | ///
20 | /// Provides a singleton instance of this parameterless lexer action.
21 | ///
22 | public static let INSTANCE: LexerSkipAction = LexerSkipAction()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerSkipAction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/atn/PredictionContext.swift:15:23: warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'EmptyPredictionContext' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// `+x = *`.
14 | ///
15 | public static let EMPTY = EmptyPredictionContext()
| |- warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'EmptyPredictionContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | ///
/host/spi-builder-workspace/Sources/Antlr4/atn/EmptyPredictionContext.swift:8:14: note: class 'EmptyPredictionContext' does not conform to the 'Sendable' protocol
6 |
7 |
8 | public class EmptyPredictionContext: SingletonPredictionContext {
| `- note: class 'EmptyPredictionContext' does not conform to the 'Sendable' protocol
9 | public init() {
10 | super.init(nil, PredictionContext.EMPTY_RETURN_STATE)
/host/spi-builder-workspace/Sources/Antlr4/atn/PredictionContext.swift:26:23: warning: static property 'globalNodeCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | private static let INITIAL_HASH = UInt32(1)
25 |
26 | public static var globalNodeCount = 0
| |- warning: static property 'globalNodeCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'globalNodeCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'globalNodeCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | public final let id: Int = {
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:56:13: warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
54 | override
55 | public func adaptivePredict(_ input: TokenStream, _ decision: Int,_ outerContext: ParserRuleContext?) throws -> Int {
56 | var outerContext = outerContext
| `- warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
57 | self._sllStopIndex = -1
58 | self._llStopIndex = -1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:60:13: warning: variable 'start' was never mutated; consider changing to 'let' constant
58 | self._llStopIndex = -1
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
| `- warning: variable 'start' was never mutated; consider changing to 'let' constant
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:61:13: warning: variable 'alt' was never mutated; consider changing to 'let' constant
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
| `- warning: variable 'alt' was never mutated; consider changing to 'let' constant
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
63 | decisions[decision].timeInPrediction += (stop - start)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:62:13: warning: variable 'stop' was never mutated; consider changing to 'let' constant
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
| `- warning: variable 'stop' was never mutated; consider changing to 'let' constant
63 | decisions[decision].timeInPrediction += (stop - start)
64 | decisions[decision].invocations += 1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:66:13: warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
64 | decisions[decision].invocations += 1
65 |
66 | var SLL_k: Int64 = Int64(_sllStopIndex - _startIndex + 1)
| `- warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
67 | decisions[decision].SLL_TotalLook += SLL_k
68 | decisions[decision].SLL_MinLook = decisions[decision].SLL_MinLook == 0 ? SLL_k : min(decisions[decision].SLL_MinLook, SLL_k)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:76:17: warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
74 |
75 | if _llStopIndex >= 0 {
76 | var LL_k: Int64 = Int64(_llStopIndex - _startIndex + 1)
| `- warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
77 | decisions[decision].LL_TotalLook += LL_k
78 | decisions[decision].LL_MinLook = decisions[decision].LL_MinLook == 0 ? LL_k : min(decisions[decision].LL_MinLook, LL_k)
[143/159] Compiling Antlr4 LookupDictionary.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerSkipAction.swift:22:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerSkipAction' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ///
17 |
18 | public final class LexerSkipAction: LexerAction, CustomStringConvertible {
| `- note: class 'LexerSkipAction' does not conform to the 'Sendable' protocol
19 | ///
20 | /// Provides a singleton instance of this parameterless lexer action.
21 | ///
22 | public static let INSTANCE: LexerSkipAction = LexerSkipAction()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerSkipAction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/atn/PredictionContext.swift:15:23: warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'EmptyPredictionContext' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// `+x = *`.
14 | ///
15 | public static let EMPTY = EmptyPredictionContext()
| |- warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'EmptyPredictionContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | ///
/host/spi-builder-workspace/Sources/Antlr4/atn/EmptyPredictionContext.swift:8:14: note: class 'EmptyPredictionContext' does not conform to the 'Sendable' protocol
6 |
7 |
8 | public class EmptyPredictionContext: SingletonPredictionContext {
| `- note: class 'EmptyPredictionContext' does not conform to the 'Sendable' protocol
9 | public init() {
10 | super.init(nil, PredictionContext.EMPTY_RETURN_STATE)
/host/spi-builder-workspace/Sources/Antlr4/atn/PredictionContext.swift:26:23: warning: static property 'globalNodeCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | private static let INITIAL_HASH = UInt32(1)
25 |
26 | public static var globalNodeCount = 0
| |- warning: static property 'globalNodeCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'globalNodeCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'globalNodeCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | public final let id: Int = {
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:56:13: warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
54 | override
55 | public func adaptivePredict(_ input: TokenStream, _ decision: Int,_ outerContext: ParserRuleContext?) throws -> Int {
56 | var outerContext = outerContext
| `- warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
57 | self._sllStopIndex = -1
58 | self._llStopIndex = -1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:60:13: warning: variable 'start' was never mutated; consider changing to 'let' constant
58 | self._llStopIndex = -1
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
| `- warning: variable 'start' was never mutated; consider changing to 'let' constant
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:61:13: warning: variable 'alt' was never mutated; consider changing to 'let' constant
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
| `- warning: variable 'alt' was never mutated; consider changing to 'let' constant
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
63 | decisions[decision].timeInPrediction += (stop - start)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:62:13: warning: variable 'stop' was never mutated; consider changing to 'let' constant
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
| `- warning: variable 'stop' was never mutated; consider changing to 'let' constant
63 | decisions[decision].timeInPrediction += (stop - start)
64 | decisions[decision].invocations += 1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:66:13: warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
64 | decisions[decision].invocations += 1
65 |
66 | var SLL_k: Int64 = Int64(_sllStopIndex - _startIndex + 1)
| `- warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
67 | decisions[decision].SLL_TotalLook += SLL_k
68 | decisions[decision].SLL_MinLook = decisions[decision].SLL_MinLook == 0 ? SLL_k : min(decisions[decision].SLL_MinLook, SLL_k)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:76:17: warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
74 |
75 | if _llStopIndex >= 0 {
76 | var LL_k: Int64 = Int64(_llStopIndex - _startIndex + 1)
| `- warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
77 | decisions[decision].LL_TotalLook += LL_k
78 | decisions[decision].LL_MinLook = decisions[decision].LL_MinLook == 0 ? LL_k : min(decisions[decision].LL_MinLook, LL_k)
[144/159] Compiling Antlr4 LoopEndState.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerSkipAction.swift:22:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerSkipAction' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ///
17 |
18 | public final class LexerSkipAction: LexerAction, CustomStringConvertible {
| `- note: class 'LexerSkipAction' does not conform to the 'Sendable' protocol
19 | ///
20 | /// Provides a singleton instance of this parameterless lexer action.
21 | ///
22 | public static let INSTANCE: LexerSkipAction = LexerSkipAction()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerSkipAction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/atn/PredictionContext.swift:15:23: warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'EmptyPredictionContext' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// `+x = *`.
14 | ///
15 | public static let EMPTY = EmptyPredictionContext()
| |- warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'EmptyPredictionContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | ///
/host/spi-builder-workspace/Sources/Antlr4/atn/EmptyPredictionContext.swift:8:14: note: class 'EmptyPredictionContext' does not conform to the 'Sendable' protocol
6 |
7 |
8 | public class EmptyPredictionContext: SingletonPredictionContext {
| `- note: class 'EmptyPredictionContext' does not conform to the 'Sendable' protocol
9 | public init() {
10 | super.init(nil, PredictionContext.EMPTY_RETURN_STATE)
/host/spi-builder-workspace/Sources/Antlr4/atn/PredictionContext.swift:26:23: warning: static property 'globalNodeCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | private static let INITIAL_HASH = UInt32(1)
25 |
26 | public static var globalNodeCount = 0
| |- warning: static property 'globalNodeCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'globalNodeCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'globalNodeCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | public final let id: Int = {
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:56:13: warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
54 | override
55 | public func adaptivePredict(_ input: TokenStream, _ decision: Int,_ outerContext: ParserRuleContext?) throws -> Int {
56 | var outerContext = outerContext
| `- warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
57 | self._sllStopIndex = -1
58 | self._llStopIndex = -1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:60:13: warning: variable 'start' was never mutated; consider changing to 'let' constant
58 | self._llStopIndex = -1
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
| `- warning: variable 'start' was never mutated; consider changing to 'let' constant
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:61:13: warning: variable 'alt' was never mutated; consider changing to 'let' constant
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
| `- warning: variable 'alt' was never mutated; consider changing to 'let' constant
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
63 | decisions[decision].timeInPrediction += (stop - start)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:62:13: warning: variable 'stop' was never mutated; consider changing to 'let' constant
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
| `- warning: variable 'stop' was never mutated; consider changing to 'let' constant
63 | decisions[decision].timeInPrediction += (stop - start)
64 | decisions[decision].invocations += 1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:66:13: warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
64 | decisions[decision].invocations += 1
65 |
66 | var SLL_k: Int64 = Int64(_sllStopIndex - _startIndex + 1)
| `- warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
67 | decisions[decision].SLL_TotalLook += SLL_k
68 | decisions[decision].SLL_MinLook = decisions[decision].SLL_MinLook == 0 ? SLL_k : min(decisions[decision].SLL_MinLook, SLL_k)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:76:17: warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
74 |
75 | if _llStopIndex >= 0 {
76 | var LL_k: Int64 = Int64(_llStopIndex - _startIndex + 1)
| `- warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
77 | decisions[decision].LL_TotalLook += LL_k
78 | decisions[decision].LL_MinLook = decisions[decision].LL_MinLook == 0 ? LL_k : min(decisions[decision].LL_MinLook, LL_k)
[145/159] Compiling Antlr4 NotSetTransition.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerSkipAction.swift:22:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerSkipAction' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ///
17 |
18 | public final class LexerSkipAction: LexerAction, CustomStringConvertible {
| `- note: class 'LexerSkipAction' does not conform to the 'Sendable' protocol
19 | ///
20 | /// Provides a singleton instance of this parameterless lexer action.
21 | ///
22 | public static let INSTANCE: LexerSkipAction = LexerSkipAction()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerSkipAction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/atn/PredictionContext.swift:15:23: warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'EmptyPredictionContext' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// `+x = *`.
14 | ///
15 | public static let EMPTY = EmptyPredictionContext()
| |- warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'EmptyPredictionContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | ///
/host/spi-builder-workspace/Sources/Antlr4/atn/EmptyPredictionContext.swift:8:14: note: class 'EmptyPredictionContext' does not conform to the 'Sendable' protocol
6 |
7 |
8 | public class EmptyPredictionContext: SingletonPredictionContext {
| `- note: class 'EmptyPredictionContext' does not conform to the 'Sendable' protocol
9 | public init() {
10 | super.init(nil, PredictionContext.EMPTY_RETURN_STATE)
/host/spi-builder-workspace/Sources/Antlr4/atn/PredictionContext.swift:26:23: warning: static property 'globalNodeCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | private static let INITIAL_HASH = UInt32(1)
25 |
26 | public static var globalNodeCount = 0
| |- warning: static property 'globalNodeCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'globalNodeCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'globalNodeCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | public final let id: Int = {
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:56:13: warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
54 | override
55 | public func adaptivePredict(_ input: TokenStream, _ decision: Int,_ outerContext: ParserRuleContext?) throws -> Int {
56 | var outerContext = outerContext
| `- warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
57 | self._sllStopIndex = -1
58 | self._llStopIndex = -1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:60:13: warning: variable 'start' was never mutated; consider changing to 'let' constant
58 | self._llStopIndex = -1
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
| `- warning: variable 'start' was never mutated; consider changing to 'let' constant
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:61:13: warning: variable 'alt' was never mutated; consider changing to 'let' constant
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
| `- warning: variable 'alt' was never mutated; consider changing to 'let' constant
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
63 | decisions[decision].timeInPrediction += (stop - start)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:62:13: warning: variable 'stop' was never mutated; consider changing to 'let' constant
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
| `- warning: variable 'stop' was never mutated; consider changing to 'let' constant
63 | decisions[decision].timeInPrediction += (stop - start)
64 | decisions[decision].invocations += 1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:66:13: warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
64 | decisions[decision].invocations += 1
65 |
66 | var SLL_k: Int64 = Int64(_sllStopIndex - _startIndex + 1)
| `- warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
67 | decisions[decision].SLL_TotalLook += SLL_k
68 | decisions[decision].SLL_MinLook = decisions[decision].SLL_MinLook == 0 ? SLL_k : min(decisions[decision].SLL_MinLook, SLL_k)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:76:17: warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
74 |
75 | if _llStopIndex >= 0 {
76 | var LL_k: Int64 = Int64(_llStopIndex - _startIndex + 1)
| `- warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
77 | decisions[decision].LL_TotalLook += LL_k
78 | decisions[decision].LL_MinLook = decisions[decision].LL_MinLook == 0 ? LL_k : min(decisions[decision].LL_MinLook, LL_k)
[146/159] Compiling Antlr4 ParseInfo.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerSkipAction.swift:22:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerSkipAction' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ///
17 |
18 | public final class LexerSkipAction: LexerAction, CustomStringConvertible {
| `- note: class 'LexerSkipAction' does not conform to the 'Sendable' protocol
19 | ///
20 | /// Provides a singleton instance of this parameterless lexer action.
21 | ///
22 | public static let INSTANCE: LexerSkipAction = LexerSkipAction()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerSkipAction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/atn/PredictionContext.swift:15:23: warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'EmptyPredictionContext' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// `+x = *`.
14 | ///
15 | public static let EMPTY = EmptyPredictionContext()
| |- warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'EmptyPredictionContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | ///
/host/spi-builder-workspace/Sources/Antlr4/atn/EmptyPredictionContext.swift:8:14: note: class 'EmptyPredictionContext' does not conform to the 'Sendable' protocol
6 |
7 |
8 | public class EmptyPredictionContext: SingletonPredictionContext {
| `- note: class 'EmptyPredictionContext' does not conform to the 'Sendable' protocol
9 | public init() {
10 | super.init(nil, PredictionContext.EMPTY_RETURN_STATE)
/host/spi-builder-workspace/Sources/Antlr4/atn/PredictionContext.swift:26:23: warning: static property 'globalNodeCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | private static let INITIAL_HASH = UInt32(1)
25 |
26 | public static var globalNodeCount = 0
| |- warning: static property 'globalNodeCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'globalNodeCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'globalNodeCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | public final let id: Int = {
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:56:13: warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
54 | override
55 | public func adaptivePredict(_ input: TokenStream, _ decision: Int,_ outerContext: ParserRuleContext?) throws -> Int {
56 | var outerContext = outerContext
| `- warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
57 | self._sllStopIndex = -1
58 | self._llStopIndex = -1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:60:13: warning: variable 'start' was never mutated; consider changing to 'let' constant
58 | self._llStopIndex = -1
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
| `- warning: variable 'start' was never mutated; consider changing to 'let' constant
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:61:13: warning: variable 'alt' was never mutated; consider changing to 'let' constant
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
| `- warning: variable 'alt' was never mutated; consider changing to 'let' constant
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
63 | decisions[decision].timeInPrediction += (stop - start)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:62:13: warning: variable 'stop' was never mutated; consider changing to 'let' constant
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
| `- warning: variable 'stop' was never mutated; consider changing to 'let' constant
63 | decisions[decision].timeInPrediction += (stop - start)
64 | decisions[decision].invocations += 1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:66:13: warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
64 | decisions[decision].invocations += 1
65 |
66 | var SLL_k: Int64 = Int64(_sllStopIndex - _startIndex + 1)
| `- warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
67 | decisions[decision].SLL_TotalLook += SLL_k
68 | decisions[decision].SLL_MinLook = decisions[decision].SLL_MinLook == 0 ? SLL_k : min(decisions[decision].SLL_MinLook, SLL_k)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:76:17: warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
74 |
75 | if _llStopIndex >= 0 {
76 | var LL_k: Int64 = Int64(_llStopIndex - _startIndex + 1)
| `- warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
77 | decisions[decision].LL_TotalLook += LL_k
78 | decisions[decision].LL_MinLook = decisions[decision].LL_MinLook == 0 ? LL_k : min(decisions[decision].LL_MinLook, LL_k)
[147/159] Compiling Antlr4 ParserATNSimulator.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerSkipAction.swift:22:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerSkipAction' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ///
17 |
18 | public final class LexerSkipAction: LexerAction, CustomStringConvertible {
| `- note: class 'LexerSkipAction' does not conform to the 'Sendable' protocol
19 | ///
20 | /// Provides a singleton instance of this parameterless lexer action.
21 | ///
22 | public static let INSTANCE: LexerSkipAction = LexerSkipAction()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerSkipAction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/atn/PredictionContext.swift:15:23: warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'EmptyPredictionContext' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// `+x = *`.
14 | ///
15 | public static let EMPTY = EmptyPredictionContext()
| |- warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'EmptyPredictionContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | ///
/host/spi-builder-workspace/Sources/Antlr4/atn/EmptyPredictionContext.swift:8:14: note: class 'EmptyPredictionContext' does not conform to the 'Sendable' protocol
6 |
7 |
8 | public class EmptyPredictionContext: SingletonPredictionContext {
| `- note: class 'EmptyPredictionContext' does not conform to the 'Sendable' protocol
9 | public init() {
10 | super.init(nil, PredictionContext.EMPTY_RETURN_STATE)
/host/spi-builder-workspace/Sources/Antlr4/atn/PredictionContext.swift:26:23: warning: static property 'globalNodeCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | private static let INITIAL_HASH = UInt32(1)
25 |
26 | public static var globalNodeCount = 0
| |- warning: static property 'globalNodeCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'globalNodeCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'globalNodeCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | public final let id: Int = {
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:56:13: warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
54 | override
55 | public func adaptivePredict(_ input: TokenStream, _ decision: Int,_ outerContext: ParserRuleContext?) throws -> Int {
56 | var outerContext = outerContext
| `- warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
57 | self._sllStopIndex = -1
58 | self._llStopIndex = -1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:60:13: warning: variable 'start' was never mutated; consider changing to 'let' constant
58 | self._llStopIndex = -1
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
| `- warning: variable 'start' was never mutated; consider changing to 'let' constant
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:61:13: warning: variable 'alt' was never mutated; consider changing to 'let' constant
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
| `- warning: variable 'alt' was never mutated; consider changing to 'let' constant
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
63 | decisions[decision].timeInPrediction += (stop - start)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:62:13: warning: variable 'stop' was never mutated; consider changing to 'let' constant
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
| `- warning: variable 'stop' was never mutated; consider changing to 'let' constant
63 | decisions[decision].timeInPrediction += (stop - start)
64 | decisions[decision].invocations += 1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:66:13: warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
64 | decisions[decision].invocations += 1
65 |
66 | var SLL_k: Int64 = Int64(_sllStopIndex - _startIndex + 1)
| `- warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
67 | decisions[decision].SLL_TotalLook += SLL_k
68 | decisions[decision].SLL_MinLook = decisions[decision].SLL_MinLook == 0 ? SLL_k : min(decisions[decision].SLL_MinLook, SLL_k)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:76:17: warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
74 |
75 | if _llStopIndex >= 0 {
76 | var LL_k: Int64 = Int64(_llStopIndex - _startIndex + 1)
| `- warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
77 | decisions[decision].LL_TotalLook += LL_k
78 | decisions[decision].LL_MinLook = decisions[decision].LL_MinLook == 0 ? LL_k : min(decisions[decision].LL_MinLook, LL_k)
[148/159] Compiling Antlr4 PlusBlockStartState.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerSkipAction.swift:22:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerSkipAction' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ///
17 |
18 | public final class LexerSkipAction: LexerAction, CustomStringConvertible {
| `- note: class 'LexerSkipAction' does not conform to the 'Sendable' protocol
19 | ///
20 | /// Provides a singleton instance of this parameterless lexer action.
21 | ///
22 | public static let INSTANCE: LexerSkipAction = LexerSkipAction()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerSkipAction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/atn/PredictionContext.swift:15:23: warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'EmptyPredictionContext' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// `+x = *`.
14 | ///
15 | public static let EMPTY = EmptyPredictionContext()
| |- warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'EmptyPredictionContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | ///
/host/spi-builder-workspace/Sources/Antlr4/atn/EmptyPredictionContext.swift:8:14: note: class 'EmptyPredictionContext' does not conform to the 'Sendable' protocol
6 |
7 |
8 | public class EmptyPredictionContext: SingletonPredictionContext {
| `- note: class 'EmptyPredictionContext' does not conform to the 'Sendable' protocol
9 | public init() {
10 | super.init(nil, PredictionContext.EMPTY_RETURN_STATE)
/host/spi-builder-workspace/Sources/Antlr4/atn/PredictionContext.swift:26:23: warning: static property 'globalNodeCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | private static let INITIAL_HASH = UInt32(1)
25 |
26 | public static var globalNodeCount = 0
| |- warning: static property 'globalNodeCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'globalNodeCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'globalNodeCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | public final let id: Int = {
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:56:13: warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
54 | override
55 | public func adaptivePredict(_ input: TokenStream, _ decision: Int,_ outerContext: ParserRuleContext?) throws -> Int {
56 | var outerContext = outerContext
| `- warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
57 | self._sllStopIndex = -1
58 | self._llStopIndex = -1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:60:13: warning: variable 'start' was never mutated; consider changing to 'let' constant
58 | self._llStopIndex = -1
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
| `- warning: variable 'start' was never mutated; consider changing to 'let' constant
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:61:13: warning: variable 'alt' was never mutated; consider changing to 'let' constant
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
| `- warning: variable 'alt' was never mutated; consider changing to 'let' constant
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
63 | decisions[decision].timeInPrediction += (stop - start)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:62:13: warning: variable 'stop' was never mutated; consider changing to 'let' constant
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
| `- warning: variable 'stop' was never mutated; consider changing to 'let' constant
63 | decisions[decision].timeInPrediction += (stop - start)
64 | decisions[decision].invocations += 1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:66:13: warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
64 | decisions[decision].invocations += 1
65 |
66 | var SLL_k: Int64 = Int64(_sllStopIndex - _startIndex + 1)
| `- warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
67 | decisions[decision].SLL_TotalLook += SLL_k
68 | decisions[decision].SLL_MinLook = decisions[decision].SLL_MinLook == 0 ? SLL_k : min(decisions[decision].SLL_MinLook, SLL_k)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:76:17: warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
74 |
75 | if _llStopIndex >= 0 {
76 | var LL_k: Int64 = Int64(_llStopIndex - _startIndex + 1)
| `- warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
77 | decisions[decision].LL_TotalLook += LL_k
78 | decisions[decision].LL_MinLook = decisions[decision].LL_MinLook == 0 ? LL_k : min(decisions[decision].LL_MinLook, LL_k)
[149/159] Compiling Antlr4 PlusLoopbackState.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerSkipAction.swift:22:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerSkipAction' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ///
17 |
18 | public final class LexerSkipAction: LexerAction, CustomStringConvertible {
| `- note: class 'LexerSkipAction' does not conform to the 'Sendable' protocol
19 | ///
20 | /// Provides a singleton instance of this parameterless lexer action.
21 | ///
22 | public static let INSTANCE: LexerSkipAction = LexerSkipAction()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerSkipAction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/atn/PredictionContext.swift:15:23: warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'EmptyPredictionContext' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// `+x = *`.
14 | ///
15 | public static let EMPTY = EmptyPredictionContext()
| |- warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'EmptyPredictionContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | ///
/host/spi-builder-workspace/Sources/Antlr4/atn/EmptyPredictionContext.swift:8:14: note: class 'EmptyPredictionContext' does not conform to the 'Sendable' protocol
6 |
7 |
8 | public class EmptyPredictionContext: SingletonPredictionContext {
| `- note: class 'EmptyPredictionContext' does not conform to the 'Sendable' protocol
9 | public init() {
10 | super.init(nil, PredictionContext.EMPTY_RETURN_STATE)
/host/spi-builder-workspace/Sources/Antlr4/atn/PredictionContext.swift:26:23: warning: static property 'globalNodeCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | private static let INITIAL_HASH = UInt32(1)
25 |
26 | public static var globalNodeCount = 0
| |- warning: static property 'globalNodeCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'globalNodeCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'globalNodeCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | public final let id: Int = {
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:56:13: warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
54 | override
55 | public func adaptivePredict(_ input: TokenStream, _ decision: Int,_ outerContext: ParserRuleContext?) throws -> Int {
56 | var outerContext = outerContext
| `- warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
57 | self._sllStopIndex = -1
58 | self._llStopIndex = -1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:60:13: warning: variable 'start' was never mutated; consider changing to 'let' constant
58 | self._llStopIndex = -1
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
| `- warning: variable 'start' was never mutated; consider changing to 'let' constant
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:61:13: warning: variable 'alt' was never mutated; consider changing to 'let' constant
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
| `- warning: variable 'alt' was never mutated; consider changing to 'let' constant
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
63 | decisions[decision].timeInPrediction += (stop - start)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:62:13: warning: variable 'stop' was never mutated; consider changing to 'let' constant
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
| `- warning: variable 'stop' was never mutated; consider changing to 'let' constant
63 | decisions[decision].timeInPrediction += (stop - start)
64 | decisions[decision].invocations += 1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:66:13: warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
64 | decisions[decision].invocations += 1
65 |
66 | var SLL_k: Int64 = Int64(_sllStopIndex - _startIndex + 1)
| `- warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
67 | decisions[decision].SLL_TotalLook += SLL_k
68 | decisions[decision].SLL_MinLook = decisions[decision].SLL_MinLook == 0 ? SLL_k : min(decisions[decision].SLL_MinLook, SLL_k)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:76:17: warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
74 |
75 | if _llStopIndex >= 0 {
76 | var LL_k: Int64 = Int64(_llStopIndex - _startIndex + 1)
| `- warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
77 | decisions[decision].LL_TotalLook += LL_k
78 | decisions[decision].LL_MinLook = decisions[decision].LL_MinLook == 0 ? LL_k : min(decisions[decision].LL_MinLook, LL_k)
[150/159] Compiling Antlr4 PrecedencePredicateTransition.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerSkipAction.swift:22:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerSkipAction' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ///
17 |
18 | public final class LexerSkipAction: LexerAction, CustomStringConvertible {
| `- note: class 'LexerSkipAction' does not conform to the 'Sendable' protocol
19 | ///
20 | /// Provides a singleton instance of this parameterless lexer action.
21 | ///
22 | public static let INSTANCE: LexerSkipAction = LexerSkipAction()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerSkipAction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/atn/PredictionContext.swift:15:23: warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'EmptyPredictionContext' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// `+x = *`.
14 | ///
15 | public static let EMPTY = EmptyPredictionContext()
| |- warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'EmptyPredictionContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | ///
/host/spi-builder-workspace/Sources/Antlr4/atn/EmptyPredictionContext.swift:8:14: note: class 'EmptyPredictionContext' does not conform to the 'Sendable' protocol
6 |
7 |
8 | public class EmptyPredictionContext: SingletonPredictionContext {
| `- note: class 'EmptyPredictionContext' does not conform to the 'Sendable' protocol
9 | public init() {
10 | super.init(nil, PredictionContext.EMPTY_RETURN_STATE)
/host/spi-builder-workspace/Sources/Antlr4/atn/PredictionContext.swift:26:23: warning: static property 'globalNodeCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | private static let INITIAL_HASH = UInt32(1)
25 |
26 | public static var globalNodeCount = 0
| |- warning: static property 'globalNodeCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'globalNodeCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'globalNodeCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | public final let id: Int = {
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:56:13: warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
54 | override
55 | public func adaptivePredict(_ input: TokenStream, _ decision: Int,_ outerContext: ParserRuleContext?) throws -> Int {
56 | var outerContext = outerContext
| `- warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
57 | self._sllStopIndex = -1
58 | self._llStopIndex = -1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:60:13: warning: variable 'start' was never mutated; consider changing to 'let' constant
58 | self._llStopIndex = -1
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
| `- warning: variable 'start' was never mutated; consider changing to 'let' constant
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:61:13: warning: variable 'alt' was never mutated; consider changing to 'let' constant
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
| `- warning: variable 'alt' was never mutated; consider changing to 'let' constant
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
63 | decisions[decision].timeInPrediction += (stop - start)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:62:13: warning: variable 'stop' was never mutated; consider changing to 'let' constant
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
| `- warning: variable 'stop' was never mutated; consider changing to 'let' constant
63 | decisions[decision].timeInPrediction += (stop - start)
64 | decisions[decision].invocations += 1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:66:13: warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
64 | decisions[decision].invocations += 1
65 |
66 | var SLL_k: Int64 = Int64(_sllStopIndex - _startIndex + 1)
| `- warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
67 | decisions[decision].SLL_TotalLook += SLL_k
68 | decisions[decision].SLL_MinLook = decisions[decision].SLL_MinLook == 0 ? SLL_k : min(decisions[decision].SLL_MinLook, SLL_k)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:76:17: warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
74 |
75 | if _llStopIndex >= 0 {
76 | var LL_k: Int64 = Int64(_llStopIndex - _startIndex + 1)
| `- warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
77 | decisions[decision].LL_TotalLook += LL_k
78 | decisions[decision].LL_MinLook = decisions[decision].LL_MinLook == 0 ? LL_k : min(decisions[decision].LL_MinLook, LL_k)
[151/159] Compiling Antlr4 PredicateEvalInfo.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerSkipAction.swift:22:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerSkipAction' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ///
17 |
18 | public final class LexerSkipAction: LexerAction, CustomStringConvertible {
| `- note: class 'LexerSkipAction' does not conform to the 'Sendable' protocol
19 | ///
20 | /// Provides a singleton instance of this parameterless lexer action.
21 | ///
22 | public static let INSTANCE: LexerSkipAction = LexerSkipAction()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerSkipAction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/atn/PredictionContext.swift:15:23: warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'EmptyPredictionContext' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// `+x = *`.
14 | ///
15 | public static let EMPTY = EmptyPredictionContext()
| |- warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'EmptyPredictionContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | ///
/host/spi-builder-workspace/Sources/Antlr4/atn/EmptyPredictionContext.swift:8:14: note: class 'EmptyPredictionContext' does not conform to the 'Sendable' protocol
6 |
7 |
8 | public class EmptyPredictionContext: SingletonPredictionContext {
| `- note: class 'EmptyPredictionContext' does not conform to the 'Sendable' protocol
9 | public init() {
10 | super.init(nil, PredictionContext.EMPTY_RETURN_STATE)
/host/spi-builder-workspace/Sources/Antlr4/atn/PredictionContext.swift:26:23: warning: static property 'globalNodeCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | private static let INITIAL_HASH = UInt32(1)
25 |
26 | public static var globalNodeCount = 0
| |- warning: static property 'globalNodeCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'globalNodeCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'globalNodeCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | public final let id: Int = {
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:56:13: warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
54 | override
55 | public func adaptivePredict(_ input: TokenStream, _ decision: Int,_ outerContext: ParserRuleContext?) throws -> Int {
56 | var outerContext = outerContext
| `- warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
57 | self._sllStopIndex = -1
58 | self._llStopIndex = -1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:60:13: warning: variable 'start' was never mutated; consider changing to 'let' constant
58 | self._llStopIndex = -1
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
| `- warning: variable 'start' was never mutated; consider changing to 'let' constant
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:61:13: warning: variable 'alt' was never mutated; consider changing to 'let' constant
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
| `- warning: variable 'alt' was never mutated; consider changing to 'let' constant
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
63 | decisions[decision].timeInPrediction += (stop - start)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:62:13: warning: variable 'stop' was never mutated; consider changing to 'let' constant
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
| `- warning: variable 'stop' was never mutated; consider changing to 'let' constant
63 | decisions[decision].timeInPrediction += (stop - start)
64 | decisions[decision].invocations += 1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:66:13: warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
64 | decisions[decision].invocations += 1
65 |
66 | var SLL_k: Int64 = Int64(_sllStopIndex - _startIndex + 1)
| `- warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
67 | decisions[decision].SLL_TotalLook += SLL_k
68 | decisions[decision].SLL_MinLook = decisions[decision].SLL_MinLook == 0 ? SLL_k : min(decisions[decision].SLL_MinLook, SLL_k)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:76:17: warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
74 |
75 | if _llStopIndex >= 0 {
76 | var LL_k: Int64 = Int64(_llStopIndex - _startIndex + 1)
| `- warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
77 | decisions[decision].LL_TotalLook += LL_k
78 | decisions[decision].LL_MinLook = decisions[decision].LL_MinLook == 0 ? LL_k : min(decisions[decision].LL_MinLook, LL_k)
[152/159] Compiling Antlr4 PredicateTransition.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerSkipAction.swift:22:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerSkipAction' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ///
17 |
18 | public final class LexerSkipAction: LexerAction, CustomStringConvertible {
| `- note: class 'LexerSkipAction' does not conform to the 'Sendable' protocol
19 | ///
20 | /// Provides a singleton instance of this parameterless lexer action.
21 | ///
22 | public static let INSTANCE: LexerSkipAction = LexerSkipAction()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerSkipAction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/atn/PredictionContext.swift:15:23: warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'EmptyPredictionContext' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// `+x = *`.
14 | ///
15 | public static let EMPTY = EmptyPredictionContext()
| |- warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'EmptyPredictionContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | ///
/host/spi-builder-workspace/Sources/Antlr4/atn/EmptyPredictionContext.swift:8:14: note: class 'EmptyPredictionContext' does not conform to the 'Sendable' protocol
6 |
7 |
8 | public class EmptyPredictionContext: SingletonPredictionContext {
| `- note: class 'EmptyPredictionContext' does not conform to the 'Sendable' protocol
9 | public init() {
10 | super.init(nil, PredictionContext.EMPTY_RETURN_STATE)
/host/spi-builder-workspace/Sources/Antlr4/atn/PredictionContext.swift:26:23: warning: static property 'globalNodeCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | private static let INITIAL_HASH = UInt32(1)
25 |
26 | public static var globalNodeCount = 0
| |- warning: static property 'globalNodeCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'globalNodeCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'globalNodeCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | public final let id: Int = {
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:56:13: warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
54 | override
55 | public func adaptivePredict(_ input: TokenStream, _ decision: Int,_ outerContext: ParserRuleContext?) throws -> Int {
56 | var outerContext = outerContext
| `- warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
57 | self._sllStopIndex = -1
58 | self._llStopIndex = -1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:60:13: warning: variable 'start' was never mutated; consider changing to 'let' constant
58 | self._llStopIndex = -1
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
| `- warning: variable 'start' was never mutated; consider changing to 'let' constant
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:61:13: warning: variable 'alt' was never mutated; consider changing to 'let' constant
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
| `- warning: variable 'alt' was never mutated; consider changing to 'let' constant
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
63 | decisions[decision].timeInPrediction += (stop - start)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:62:13: warning: variable 'stop' was never mutated; consider changing to 'let' constant
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
| `- warning: variable 'stop' was never mutated; consider changing to 'let' constant
63 | decisions[decision].timeInPrediction += (stop - start)
64 | decisions[decision].invocations += 1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:66:13: warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
64 | decisions[decision].invocations += 1
65 |
66 | var SLL_k: Int64 = Int64(_sllStopIndex - _startIndex + 1)
| `- warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
67 | decisions[decision].SLL_TotalLook += SLL_k
68 | decisions[decision].SLL_MinLook = decisions[decision].SLL_MinLook == 0 ? SLL_k : min(decisions[decision].SLL_MinLook, SLL_k)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:76:17: warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
74 |
75 | if _llStopIndex >= 0 {
76 | var LL_k: Int64 = Int64(_llStopIndex - _startIndex + 1)
| `- warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
77 | decisions[decision].LL_TotalLook += LL_k
78 | decisions[decision].LL_MinLook = decisions[decision].LL_MinLook == 0 ? LL_k : min(decisions[decision].LL_MinLook, LL_k)
[153/159] Compiling Antlr4 PredictionContext.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerSkipAction.swift:22:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerSkipAction' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ///
17 |
18 | public final class LexerSkipAction: LexerAction, CustomStringConvertible {
| `- note: class 'LexerSkipAction' does not conform to the 'Sendable' protocol
19 | ///
20 | /// Provides a singleton instance of this parameterless lexer action.
21 | ///
22 | public static let INSTANCE: LexerSkipAction = LexerSkipAction()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerSkipAction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/atn/PredictionContext.swift:15:23: warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'EmptyPredictionContext' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// `+x = *`.
14 | ///
15 | public static let EMPTY = EmptyPredictionContext()
| |- warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'EmptyPredictionContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | ///
/host/spi-builder-workspace/Sources/Antlr4/atn/EmptyPredictionContext.swift:8:14: note: class 'EmptyPredictionContext' does not conform to the 'Sendable' protocol
6 |
7 |
8 | public class EmptyPredictionContext: SingletonPredictionContext {
| `- note: class 'EmptyPredictionContext' does not conform to the 'Sendable' protocol
9 | public init() {
10 | super.init(nil, PredictionContext.EMPTY_RETURN_STATE)
/host/spi-builder-workspace/Sources/Antlr4/atn/PredictionContext.swift:26:23: warning: static property 'globalNodeCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | private static let INITIAL_HASH = UInt32(1)
25 |
26 | public static var globalNodeCount = 0
| |- warning: static property 'globalNodeCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'globalNodeCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'globalNodeCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | public final let id: Int = {
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:56:13: warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
54 | override
55 | public func adaptivePredict(_ input: TokenStream, _ decision: Int,_ outerContext: ParserRuleContext?) throws -> Int {
56 | var outerContext = outerContext
| `- warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
57 | self._sllStopIndex = -1
58 | self._llStopIndex = -1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:60:13: warning: variable 'start' was never mutated; consider changing to 'let' constant
58 | self._llStopIndex = -1
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
| `- warning: variable 'start' was never mutated; consider changing to 'let' constant
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:61:13: warning: variable 'alt' was never mutated; consider changing to 'let' constant
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
| `- warning: variable 'alt' was never mutated; consider changing to 'let' constant
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
63 | decisions[decision].timeInPrediction += (stop - start)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:62:13: warning: variable 'stop' was never mutated; consider changing to 'let' constant
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
| `- warning: variable 'stop' was never mutated; consider changing to 'let' constant
63 | decisions[decision].timeInPrediction += (stop - start)
64 | decisions[decision].invocations += 1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:66:13: warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
64 | decisions[decision].invocations += 1
65 |
66 | var SLL_k: Int64 = Int64(_sllStopIndex - _startIndex + 1)
| `- warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
67 | decisions[decision].SLL_TotalLook += SLL_k
68 | decisions[decision].SLL_MinLook = decisions[decision].SLL_MinLook == 0 ? SLL_k : min(decisions[decision].SLL_MinLook, SLL_k)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:76:17: warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
74 |
75 | if _llStopIndex >= 0 {
76 | var LL_k: Int64 = Int64(_llStopIndex - _startIndex + 1)
| `- warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
77 | decisions[decision].LL_TotalLook += LL_k
78 | decisions[decision].LL_MinLook = decisions[decision].LL_MinLook == 0 ? LL_k : min(decisions[decision].LL_MinLook, LL_k)
[154/159] Compiling Antlr4 PredictionContextCache.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerSkipAction.swift:22:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerSkipAction' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ///
17 |
18 | public final class LexerSkipAction: LexerAction, CustomStringConvertible {
| `- note: class 'LexerSkipAction' does not conform to the 'Sendable' protocol
19 | ///
20 | /// Provides a singleton instance of this parameterless lexer action.
21 | ///
22 | public static let INSTANCE: LexerSkipAction = LexerSkipAction()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerSkipAction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/atn/PredictionContext.swift:15:23: warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'EmptyPredictionContext' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// `+x = *`.
14 | ///
15 | public static let EMPTY = EmptyPredictionContext()
| |- warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'EmptyPredictionContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | ///
/host/spi-builder-workspace/Sources/Antlr4/atn/EmptyPredictionContext.swift:8:14: note: class 'EmptyPredictionContext' does not conform to the 'Sendable' protocol
6 |
7 |
8 | public class EmptyPredictionContext: SingletonPredictionContext {
| `- note: class 'EmptyPredictionContext' does not conform to the 'Sendable' protocol
9 | public init() {
10 | super.init(nil, PredictionContext.EMPTY_RETURN_STATE)
/host/spi-builder-workspace/Sources/Antlr4/atn/PredictionContext.swift:26:23: warning: static property 'globalNodeCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | private static let INITIAL_HASH = UInt32(1)
25 |
26 | public static var globalNodeCount = 0
| |- warning: static property 'globalNodeCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'globalNodeCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'globalNodeCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | public final let id: Int = {
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:56:13: warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
54 | override
55 | public func adaptivePredict(_ input: TokenStream, _ decision: Int,_ outerContext: ParserRuleContext?) throws -> Int {
56 | var outerContext = outerContext
| `- warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
57 | self._sllStopIndex = -1
58 | self._llStopIndex = -1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:60:13: warning: variable 'start' was never mutated; consider changing to 'let' constant
58 | self._llStopIndex = -1
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
| `- warning: variable 'start' was never mutated; consider changing to 'let' constant
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:61:13: warning: variable 'alt' was never mutated; consider changing to 'let' constant
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
| `- warning: variable 'alt' was never mutated; consider changing to 'let' constant
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
63 | decisions[decision].timeInPrediction += (stop - start)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:62:13: warning: variable 'stop' was never mutated; consider changing to 'let' constant
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
| `- warning: variable 'stop' was never mutated; consider changing to 'let' constant
63 | decisions[decision].timeInPrediction += (stop - start)
64 | decisions[decision].invocations += 1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:66:13: warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
64 | decisions[decision].invocations += 1
65 |
66 | var SLL_k: Int64 = Int64(_sllStopIndex - _startIndex + 1)
| `- warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
67 | decisions[decision].SLL_TotalLook += SLL_k
68 | decisions[decision].SLL_MinLook = decisions[decision].SLL_MinLook == 0 ? SLL_k : min(decisions[decision].SLL_MinLook, SLL_k)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:76:17: warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
74 |
75 | if _llStopIndex >= 0 {
76 | var LL_k: Int64 = Int64(_llStopIndex - _startIndex + 1)
| `- warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
77 | decisions[decision].LL_TotalLook += LL_k
78 | decisions[decision].LL_MinLook = decisions[decision].LL_MinLook == 0 ? LL_k : min(decisions[decision].LL_MinLook, LL_k)
[155/159] Compiling Antlr4 PredictionMode.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerSkipAction.swift:22:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerSkipAction' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ///
17 |
18 | public final class LexerSkipAction: LexerAction, CustomStringConvertible {
| `- note: class 'LexerSkipAction' does not conform to the 'Sendable' protocol
19 | ///
20 | /// Provides a singleton instance of this parameterless lexer action.
21 | ///
22 | public static let INSTANCE: LexerSkipAction = LexerSkipAction()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerSkipAction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/atn/PredictionContext.swift:15:23: warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'EmptyPredictionContext' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// `+x = *`.
14 | ///
15 | public static let EMPTY = EmptyPredictionContext()
| |- warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'EmptyPredictionContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | ///
/host/spi-builder-workspace/Sources/Antlr4/atn/EmptyPredictionContext.swift:8:14: note: class 'EmptyPredictionContext' does not conform to the 'Sendable' protocol
6 |
7 |
8 | public class EmptyPredictionContext: SingletonPredictionContext {
| `- note: class 'EmptyPredictionContext' does not conform to the 'Sendable' protocol
9 | public init() {
10 | super.init(nil, PredictionContext.EMPTY_RETURN_STATE)
/host/spi-builder-workspace/Sources/Antlr4/atn/PredictionContext.swift:26:23: warning: static property 'globalNodeCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | private static let INITIAL_HASH = UInt32(1)
25 |
26 | public static var globalNodeCount = 0
| |- warning: static property 'globalNodeCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'globalNodeCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'globalNodeCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | public final let id: Int = {
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:56:13: warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
54 | override
55 | public func adaptivePredict(_ input: TokenStream, _ decision: Int,_ outerContext: ParserRuleContext?) throws -> Int {
56 | var outerContext = outerContext
| `- warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
57 | self._sllStopIndex = -1
58 | self._llStopIndex = -1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:60:13: warning: variable 'start' was never mutated; consider changing to 'let' constant
58 | self._llStopIndex = -1
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
| `- warning: variable 'start' was never mutated; consider changing to 'let' constant
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:61:13: warning: variable 'alt' was never mutated; consider changing to 'let' constant
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
| `- warning: variable 'alt' was never mutated; consider changing to 'let' constant
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
63 | decisions[decision].timeInPrediction += (stop - start)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:62:13: warning: variable 'stop' was never mutated; consider changing to 'let' constant
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
| `- warning: variable 'stop' was never mutated; consider changing to 'let' constant
63 | decisions[decision].timeInPrediction += (stop - start)
64 | decisions[decision].invocations += 1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:66:13: warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
64 | decisions[decision].invocations += 1
65 |
66 | var SLL_k: Int64 = Int64(_sllStopIndex - _startIndex + 1)
| `- warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
67 | decisions[decision].SLL_TotalLook += SLL_k
68 | decisions[decision].SLL_MinLook = decisions[decision].SLL_MinLook == 0 ? SLL_k : min(decisions[decision].SLL_MinLook, SLL_k)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:76:17: warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
74 |
75 | if _llStopIndex >= 0 {
76 | var LL_k: Int64 = Int64(_llStopIndex - _startIndex + 1)
| `- warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
77 | decisions[decision].LL_TotalLook += LL_k
78 | decisions[decision].LL_MinLook = decisions[decision].LL_MinLook == 0 ? LL_k : min(decisions[decision].LL_MinLook, LL_k)
[156/159] Compiling Antlr4 ProfilingATNSimulator.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerSkipAction.swift:22:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerSkipAction' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ///
17 |
18 | public final class LexerSkipAction: LexerAction, CustomStringConvertible {
| `- note: class 'LexerSkipAction' does not conform to the 'Sendable' protocol
19 | ///
20 | /// Provides a singleton instance of this parameterless lexer action.
21 | ///
22 | public static let INSTANCE: LexerSkipAction = LexerSkipAction()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerSkipAction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/atn/PredictionContext.swift:15:23: warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'EmptyPredictionContext' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// `+x = *`.
14 | ///
15 | public static let EMPTY = EmptyPredictionContext()
| |- warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'EmptyPredictionContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | ///
/host/spi-builder-workspace/Sources/Antlr4/atn/EmptyPredictionContext.swift:8:14: note: class 'EmptyPredictionContext' does not conform to the 'Sendable' protocol
6 |
7 |
8 | public class EmptyPredictionContext: SingletonPredictionContext {
| `- note: class 'EmptyPredictionContext' does not conform to the 'Sendable' protocol
9 | public init() {
10 | super.init(nil, PredictionContext.EMPTY_RETURN_STATE)
/host/spi-builder-workspace/Sources/Antlr4/atn/PredictionContext.swift:26:23: warning: static property 'globalNodeCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | private static let INITIAL_HASH = UInt32(1)
25 |
26 | public static var globalNodeCount = 0
| |- warning: static property 'globalNodeCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'globalNodeCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'globalNodeCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | public final let id: Int = {
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:56:13: warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
54 | override
55 | public func adaptivePredict(_ input: TokenStream, _ decision: Int,_ outerContext: ParserRuleContext?) throws -> Int {
56 | var outerContext = outerContext
| `- warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
57 | self._sllStopIndex = -1
58 | self._llStopIndex = -1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:60:13: warning: variable 'start' was never mutated; consider changing to 'let' constant
58 | self._llStopIndex = -1
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
| `- warning: variable 'start' was never mutated; consider changing to 'let' constant
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:61:13: warning: variable 'alt' was never mutated; consider changing to 'let' constant
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
| `- warning: variable 'alt' was never mutated; consider changing to 'let' constant
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
63 | decisions[decision].timeInPrediction += (stop - start)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:62:13: warning: variable 'stop' was never mutated; consider changing to 'let' constant
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
| `- warning: variable 'stop' was never mutated; consider changing to 'let' constant
63 | decisions[decision].timeInPrediction += (stop - start)
64 | decisions[decision].invocations += 1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:66:13: warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
64 | decisions[decision].invocations += 1
65 |
66 | var SLL_k: Int64 = Int64(_sllStopIndex - _startIndex + 1)
| `- warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
67 | decisions[decision].SLL_TotalLook += SLL_k
68 | decisions[decision].SLL_MinLook = decisions[decision].SLL_MinLook == 0 ? SLL_k : min(decisions[decision].SLL_MinLook, SLL_k)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:76:17: warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
74 |
75 | if _llStopIndex >= 0 {
76 | var LL_k: Int64 = Int64(_llStopIndex - _startIndex + 1)
| `- warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
77 | decisions[decision].LL_TotalLook += LL_k
78 | decisions[decision].LL_MinLook = decisions[decision].LL_MinLook == 0 ? LL_k : min(decisions[decision].LL_MinLook, LL_k)
[157/160] Wrapping AST for Antlr4 for debugging
[158/160] Write Objects.LinkFileList
[159/160] Linking libAntlr4.so
Build complete! (15.04s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Antlr4",
"name" : "Antlr4",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Antlr4",
"targets" : [
"Antlr4"
],
"type" : {
"library" : [
"dynamic"
]
}
}
],
"targets" : [
{
"c99name" : "Antlr4Tests",
"module_type" : "SwiftTarget",
"name" : "Antlr4Tests",
"path" : "Tests/Antlr4Tests",
"sources" : [
"MurmurHashTests.swift",
"ParseTreePatternMatcherTests.swift",
"RuntimeMetaDataTests.swift",
"StringExtensionTests.swift",
"TokenStreamRewriterTests.swift",
"TokenStreamTests.swift",
"VisitorTests.swift",
"gen/LexerA.swift",
"gen/LexerAATN.swift",
"gen/LexerB.swift",
"gen/LexerBATN.swift",
"gen/VisitorBasicBaseListener.swift",
"gen/VisitorBasicBaseVisitor.swift",
"gen/VisitorBasicLexer.swift",
"gen/VisitorBasicLexerATN.swift",
"gen/VisitorBasicListener.swift",
"gen/VisitorBasicParser.swift",
"gen/VisitorBasicParserATN.swift",
"gen/VisitorBasicVisitor.swift",
"gen/VisitorCalcBaseListener.swift",
"gen/VisitorCalcBaseVisitor.swift",
"gen/VisitorCalcLexer.swift",
"gen/VisitorCalcLexerATN.swift",
"gen/VisitorCalcListener.swift",
"gen/VisitorCalcParser.swift",
"gen/VisitorCalcParserATN.swift",
"gen/VisitorCalcVisitor.swift"
],
"target_dependencies" : [
"Antlr4"
],
"type" : "test"
},
{
"c99name" : "Antlr4",
"module_type" : "SwiftTarget",
"name" : "Antlr4",
"path" : "Sources/Antlr4",
"product_memberships" : [
"Antlr4"
],
"sources" : [
"ANTLRErrorListener.swift",
"ANTLRErrorStrategy.swift",
"ANTLRFileStream.swift",
"ANTLRInputStream.swift",
"BailErrorStrategy.swift",
"BaseErrorListener.swift",
"BufferedTokenStream.swift",
"CharStream.swift",
"CommonToken.swift",
"CommonTokenFactory.swift",
"CommonTokenStream.swift",
"ConsoleErrorListener.swift",
"DefaultErrorStrategy.swift",
"DiagnosticErrorListener.swift",
"FailedPredicateException.swift",
"InputMismatchException.swift",
"IntStream.swift",
"InterpreterRuleContext.swift",
"Lexer.swift",
"LexerInterpreter.swift",
"LexerNoViableAltException.swift",
"ListTokenSource.swift",
"NoViableAltException.swift",
"Parser.swift",
"ParserInterpreter.swift",
"ParserRuleContext.swift",
"ProxyErrorListener.swift",
"RecognitionException.swift",
"Recognizer.swift",
"RuleContext.swift",
"RuntimeMetaData.swift",
"Token.swift",
"TokenFactory.swift",
"TokenSource.swift",
"TokenStream.swift",
"TokenStreamRewriter.swift",
"UnbufferedCharStream.swift",
"UnbufferedTokenStream.swift",
"VocabularySingle.swift",
"WritableToken.swift",
"atn/ATN.swift",
"atn/ATNConfig.swift",
"atn/ATNConfigSet.swift",
"atn/ATNDeserializationOptions.swift",
"atn/ATNDeserializer.swift",
"atn/ATNSimulator.swift",
"atn/ATNState.swift",
"atn/ATNType.swift",
"atn/AbstractPredicateTransition.swift",
"atn/ActionTransition.swift",
"atn/AmbiguityInfo.swift",
"atn/ArrayPredictionContext.swift",
"atn/AtomTransition.swift",
"atn/BasicBlockStartState.swift",
"atn/BasicState.swift",
"atn/BlockEndState.swift",
"atn/BlockStartState.swift",
"atn/ContextSensitivityInfo.swift",
"atn/DecisionEventInfo.swift",
"atn/DecisionInfo.swift",
"atn/DecisionState.swift",
"atn/DefaultATNConfig.swift",
"atn/EmptyPredictionContext.swift",
"atn/EpsilonTransition.swift",
"atn/ErrorInfo.swift",
"atn/LL1Analyzer.swift",
"atn/LexerATNConfig.swift",
"atn/LexerATNSimulator.swift",
"atn/LexerAction.swift",
"atn/LexerActionExecutor.swift",
"atn/LexerActionType.swift",
"atn/LexerChannelAction.swift",
"atn/LexerCustomAction.swift",
"atn/LexerIndexedCustomAction.swift",
"atn/LexerModeAction.swift",
"atn/LexerMoreAction.swift",
"atn/LexerPopModeAction.swift",
"atn/LexerPushModeAction.swift",
"atn/LexerSkipAction.swift",
"atn/LexerTypeAction.swift",
"atn/LookaheadEventInfo.swift",
"atn/LookupATNConfig.swift",
"atn/LookupDictionary.swift",
"atn/LoopEndState.swift",
"atn/NotSetTransition.swift",
"atn/ParseInfo.swift",
"atn/ParserATNSimulator.swift",
"atn/PlusBlockStartState.swift",
"atn/PlusLoopbackState.swift",
"atn/PrecedencePredicateTransition.swift",
"atn/PredicateEvalInfo.swift",
"atn/PredicateTransition.swift",
"atn/PredictionContext.swift",
"atn/PredictionContextCache.swift",
"atn/PredictionMode.swift",
"atn/ProfilingATNSimulator.swift",
"atn/RangeTransition.swift",
"atn/RuleStartState.swift",
"atn/RuleStopState.swift",
"atn/RuleTransition.swift",
"atn/SemanticContext.swift",
"atn/SetTransition.swift",
"atn/SingletonPredictionContext.swift",
"atn/StarBlockStartState.swift",
"atn/StarLoopEntryState.swift",
"atn/StarLoopbackState.swift",
"atn/TokensStartState.swift",
"atn/Transition.swift",
"atn/WildcardTransition.swift",
"dfa/DFA.swift",
"dfa/DFASerializer.swift",
"dfa/DFAState.swift",
"dfa/LexerDFASerializer.swift",
"misc/BitSet.swift",
"misc/DoubleKeyMap.swift",
"misc/IntSet.swift",
"misc/Interval.swift",
"misc/IntervalSet.swift",
"misc/MultiMap.swift",
"misc/MurmurHash.swift",
"misc/Utils.swift",
"misc/exception/ANTLRError.swift",
"misc/exception/ANTLRException.swift",
"misc/extension/ArrayExtension.swift",
"misc/extension/CharacterExtension.swift",
"misc/extension/IntStreamExtension.swift",
"misc/extension/StringExtension.swift",
"misc/extension/TokenExtension.swift",
"misc/extension/UUIDExtension.swift",
"misc/utils/CommonUtil.swift",
"misc/utils/Mutex.swift",
"misc/utils/Stack.swift",
"tree/AbstractParseTreeVisitor.swift",
"tree/ErrorNode.swift",
"tree/ParseTree.swift",
"tree/ParseTreeListener.swift",
"tree/ParseTreeProperty.swift",
"tree/ParseTreeVisitor.swift",
"tree/ParseTreeWalker.swift",
"tree/RuleNode.swift",
"tree/SyntaxTree.swift",
"tree/TerminalNode.swift",
"tree/TerminalNodeImpl.swift",
"tree/Tree.swift",
"tree/Trees.swift",
"tree/pattern/Chunk.swift",
"tree/pattern/ParseTreeMatch.swift",
"tree/pattern/ParseTreePattern.swift",
"tree/pattern/ParseTreePatternMatcher.swift",
"tree/pattern/RuleTagToken.swift",
"tree/pattern/TagChunk.swift",
"tree/pattern/TextChunk.swift",
"tree/pattern/TokenTagToken.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Done.