Build Information
Failed to build Antlr4, reference 4.9.1 (0b4eed), with Swift 6.3 for Wasm on 12 Apr 2026 02:27:33 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MaxHaertwig/ANTLR4-Swift.git
Reference: 4.9.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/MaxHaertwig/ANTLR4-Swift
* tag 4.9.1 -> FETCH_HEAD
HEAD is now at 0b4eed9 Update to antlr 4.9.1
Cloned https://github.com/MaxHaertwig/ANTLR4-Swift.git
Revision (git rev-parse @):
0b4eed93b803c931db67cc30434b5531f72d50b1
SUCCESS checkout https://github.com/MaxHaertwig/ANTLR4-Swift.git at 4.9.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/MaxHaertwig/ANTLR4-Swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Building for debugging...
[0/5] Write sources
[1/5] Write swift-version-24593BA9C3E375BF.txt
[3/140] Compiling Antlr4 IntSet.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:9: error: cannot find 'pthread_mutex_init' in scope
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:36: error: 'nil' requires a contextual type
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: 'nil' requires a contextual type
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:31:9: error: cannot find 'pthread_mutex_lock' in scope
29 | @discardableResult
30 | func synchronized<R>(closure: () throws -> R) rethrows -> R {
31 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
32 | defer {
33 | pthread_mutex_unlock(&mutex)
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:33:13: error: cannot find 'pthread_mutex_unlock' in scope
31 | pthread_mutex_lock(&mutex)
32 | defer {
33 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
34 | }
35 | return try closure()
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:40:9: error: cannot find 'pthread_mutex_destroy' in scope
38 | deinit {
39 | // free the mutex resource
40 | pthread_mutex_destroy(&mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
41 | }
42 | }
[4/140] Compiling Antlr4 Interval.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:9: error: cannot find 'pthread_mutex_init' in scope
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:36: error: 'nil' requires a contextual type
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: 'nil' requires a contextual type
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:31:9: error: cannot find 'pthread_mutex_lock' in scope
29 | @discardableResult
30 | func synchronized<R>(closure: () throws -> R) rethrows -> R {
31 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
32 | defer {
33 | pthread_mutex_unlock(&mutex)
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:33:13: error: cannot find 'pthread_mutex_unlock' in scope
31 | pthread_mutex_lock(&mutex)
32 | defer {
33 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
34 | }
35 | return try closure()
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:40:9: error: cannot find 'pthread_mutex_destroy' in scope
38 | deinit {
39 | // free the mutex resource
40 | pthread_mutex_destroy(&mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
41 | }
42 | }
[5/140] Compiling Antlr4 IntervalSet.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:9: error: cannot find 'pthread_mutex_init' in scope
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:36: error: 'nil' requires a contextual type
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: 'nil' requires a contextual type
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:31:9: error: cannot find 'pthread_mutex_lock' in scope
29 | @discardableResult
30 | func synchronized<R>(closure: () throws -> R) rethrows -> R {
31 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
32 | defer {
33 | pthread_mutex_unlock(&mutex)
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:33:13: error: cannot find 'pthread_mutex_unlock' in scope
31 | pthread_mutex_lock(&mutex)
32 | defer {
33 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
34 | }
35 | return try closure()
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:40:9: error: cannot find 'pthread_mutex_destroy' in scope
38 | deinit {
39 | // free the mutex resource
40 | pthread_mutex_destroy(&mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
41 | }
42 | }
[6/140] Compiling Antlr4 MultiMap.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:9: error: cannot find 'pthread_mutex_init' in scope
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:36: error: 'nil' requires a contextual type
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: 'nil' requires a contextual type
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:31:9: error: cannot find 'pthread_mutex_lock' in scope
29 | @discardableResult
30 | func synchronized<R>(closure: () throws -> R) rethrows -> R {
31 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
32 | defer {
33 | pthread_mutex_unlock(&mutex)
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:33:13: error: cannot find 'pthread_mutex_unlock' in scope
31 | pthread_mutex_lock(&mutex)
32 | defer {
33 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
34 | }
35 | return try closure()
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:40:9: error: cannot find 'pthread_mutex_destroy' in scope
38 | deinit {
39 | // free the mutex resource
40 | pthread_mutex_destroy(&mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
41 | }
42 | }
[7/140] Compiling Antlr4 MurmurHash.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:9: error: cannot find 'pthread_mutex_init' in scope
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:36: error: 'nil' requires a contextual type
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: 'nil' requires a contextual type
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:31:9: error: cannot find 'pthread_mutex_lock' in scope
29 | @discardableResult
30 | func synchronized<R>(closure: () throws -> R) rethrows -> R {
31 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
32 | defer {
33 | pthread_mutex_unlock(&mutex)
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:33:13: error: cannot find 'pthread_mutex_unlock' in scope
31 | pthread_mutex_lock(&mutex)
32 | defer {
33 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
34 | }
35 | return try closure()
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:40:9: error: cannot find 'pthread_mutex_destroy' in scope
38 | deinit {
39 | // free the mutex resource
40 | pthread_mutex_destroy(&mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
41 | }
42 | }
[8/140] Compiling Antlr4 Utils.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:9: error: cannot find 'pthread_mutex_init' in scope
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:36: error: 'nil' requires a contextual type
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: 'nil' requires a contextual type
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:31:9: error: cannot find 'pthread_mutex_lock' in scope
29 | @discardableResult
30 | func synchronized<R>(closure: () throws -> R) rethrows -> R {
31 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
32 | defer {
33 | pthread_mutex_unlock(&mutex)
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:33:13: error: cannot find 'pthread_mutex_unlock' in scope
31 | pthread_mutex_lock(&mutex)
32 | defer {
33 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
34 | }
35 | return try closure()
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:40:9: error: cannot find 'pthread_mutex_destroy' in scope
38 | deinit {
39 | // free the mutex resource
40 | pthread_mutex_destroy(&mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
41 | }
42 | }
[9/140] Compiling Antlr4 ANTLRError.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:9: error: cannot find 'pthread_mutex_init' in scope
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:36: error: 'nil' requires a contextual type
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: 'nil' requires a contextual type
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:31:9: error: cannot find 'pthread_mutex_lock' in scope
29 | @discardableResult
30 | func synchronized<R>(closure: () throws -> R) rethrows -> R {
31 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
32 | defer {
33 | pthread_mutex_unlock(&mutex)
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:33:13: error: cannot find 'pthread_mutex_unlock' in scope
31 | pthread_mutex_lock(&mutex)
32 | defer {
33 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
34 | }
35 | return try closure()
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:40:9: error: cannot find 'pthread_mutex_destroy' in scope
38 | deinit {
39 | // free the mutex resource
40 | pthread_mutex_destroy(&mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
41 | }
42 | }
[10/140] Compiling Antlr4 ANTLRException.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:9: error: cannot find 'pthread_mutex_init' in scope
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:36: error: 'nil' requires a contextual type
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: 'nil' requires a contextual type
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:31:9: error: cannot find 'pthread_mutex_lock' in scope
29 | @discardableResult
30 | func synchronized<R>(closure: () throws -> R) rethrows -> R {
31 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
32 | defer {
33 | pthread_mutex_unlock(&mutex)
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:33:13: error: cannot find 'pthread_mutex_unlock' in scope
31 | pthread_mutex_lock(&mutex)
32 | defer {
33 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
34 | }
35 | return try closure()
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:40:9: error: cannot find 'pthread_mutex_destroy' in scope
38 | deinit {
39 | // free the mutex resource
40 | pthread_mutex_destroy(&mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
41 | }
42 | }
[11/140] Compiling Antlr4 ArrayExtension.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:9: error: cannot find 'pthread_mutex_init' in scope
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:36: error: 'nil' requires a contextual type
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: 'nil' requires a contextual type
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:31:9: error: cannot find 'pthread_mutex_lock' in scope
29 | @discardableResult
30 | func synchronized<R>(closure: () throws -> R) rethrows -> R {
31 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
32 | defer {
33 | pthread_mutex_unlock(&mutex)
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:33:13: error: cannot find 'pthread_mutex_unlock' in scope
31 | pthread_mutex_lock(&mutex)
32 | defer {
33 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
34 | }
35 | return try closure()
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:40:9: error: cannot find 'pthread_mutex_destroy' in scope
38 | deinit {
39 | // free the mutex resource
40 | pthread_mutex_destroy(&mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
41 | }
42 | }
[12/140] Compiling Antlr4 CharacterExtension.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:9: error: cannot find 'pthread_mutex_init' in scope
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:36: error: 'nil' requires a contextual type
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: 'nil' requires a contextual type
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:31:9: error: cannot find 'pthread_mutex_lock' in scope
29 | @discardableResult
30 | func synchronized<R>(closure: () throws -> R) rethrows -> R {
31 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
32 | defer {
33 | pthread_mutex_unlock(&mutex)
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:33:13: error: cannot find 'pthread_mutex_unlock' in scope
31 | pthread_mutex_lock(&mutex)
32 | defer {
33 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
34 | }
35 | return try closure()
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:40:9: error: cannot find 'pthread_mutex_destroy' in scope
38 | deinit {
39 | // free the mutex resource
40 | pthread_mutex_destroy(&mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
41 | }
42 | }
[13/140] Compiling Antlr4 IntStreamExtension.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:9: error: cannot find 'pthread_mutex_init' in scope
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:36: error: 'nil' requires a contextual type
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: 'nil' requires a contextual type
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:31:9: error: cannot find 'pthread_mutex_lock' in scope
29 | @discardableResult
30 | func synchronized<R>(closure: () throws -> R) rethrows -> R {
31 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
32 | defer {
33 | pthread_mutex_unlock(&mutex)
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:33:13: error: cannot find 'pthread_mutex_unlock' in scope
31 | pthread_mutex_lock(&mutex)
32 | defer {
33 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
34 | }
35 | return try closure()
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:40:9: error: cannot find 'pthread_mutex_destroy' in scope
38 | deinit {
39 | // free the mutex resource
40 | pthread_mutex_destroy(&mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
41 | }
42 | }
[14/140] Compiling Antlr4 StringExtension.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:9: error: cannot find 'pthread_mutex_init' in scope
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:36: error: 'nil' requires a contextual type
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: 'nil' requires a contextual type
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:31:9: error: cannot find 'pthread_mutex_lock' in scope
29 | @discardableResult
30 | func synchronized<R>(closure: () throws -> R) rethrows -> R {
31 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
32 | defer {
33 | pthread_mutex_unlock(&mutex)
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:33:13: error: cannot find 'pthread_mutex_unlock' in scope
31 | pthread_mutex_lock(&mutex)
32 | defer {
33 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
34 | }
35 | return try closure()
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:40:9: error: cannot find 'pthread_mutex_destroy' in scope
38 | deinit {
39 | // free the mutex resource
40 | pthread_mutex_destroy(&mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
41 | }
42 | }
[15/140] Compiling Antlr4 TokenExtension.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:9: error: cannot find 'pthread_mutex_init' in scope
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:36: error: 'nil' requires a contextual type
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: 'nil' requires a contextual type
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:31:9: error: cannot find 'pthread_mutex_lock' in scope
29 | @discardableResult
30 | func synchronized<R>(closure: () throws -> R) rethrows -> R {
31 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
32 | defer {
33 | pthread_mutex_unlock(&mutex)
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:33:13: error: cannot find 'pthread_mutex_unlock' in scope
31 | pthread_mutex_lock(&mutex)
32 | defer {
33 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
34 | }
35 | return try closure()
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:40:9: error: cannot find 'pthread_mutex_destroy' in scope
38 | deinit {
39 | // free the mutex resource
40 | pthread_mutex_destroy(&mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
41 | }
42 | }
[16/140] Compiling Antlr4 UUIDExtension.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:9: error: cannot find 'pthread_mutex_init' in scope
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:36: error: 'nil' requires a contextual type
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: 'nil' requires a contextual type
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:31:9: error: cannot find 'pthread_mutex_lock' in scope
29 | @discardableResult
30 | func synchronized<R>(closure: () throws -> R) rethrows -> R {
31 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
32 | defer {
33 | pthread_mutex_unlock(&mutex)
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:33:13: error: cannot find 'pthread_mutex_unlock' in scope
31 | pthread_mutex_lock(&mutex)
32 | defer {
33 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
34 | }
35 | return try closure()
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:40:9: error: cannot find 'pthread_mutex_destroy' in scope
38 | deinit {
39 | // free the mutex resource
40 | pthread_mutex_destroy(&mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
41 | }
42 | }
[17/140] Compiling Antlr4 CommonUtil.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:9: error: cannot find 'pthread_mutex_init' in scope
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:36: error: 'nil' requires a contextual type
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: 'nil' requires a contextual type
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:31:9: error: cannot find 'pthread_mutex_lock' in scope
29 | @discardableResult
30 | func synchronized<R>(closure: () throws -> R) rethrows -> R {
31 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
32 | defer {
33 | pthread_mutex_unlock(&mutex)
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:33:13: error: cannot find 'pthread_mutex_unlock' in scope
31 | pthread_mutex_lock(&mutex)
32 | defer {
33 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
34 | }
35 | return try closure()
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:40:9: error: cannot find 'pthread_mutex_destroy' in scope
38 | deinit {
39 | // free the mutex resource
40 | pthread_mutex_destroy(&mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
41 | }
42 | }
[18/140] Compiling Antlr4 Mutex.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:9: error: cannot find 'pthread_mutex_init' in scope
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:36: error: 'nil' requires a contextual type
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: 'nil' requires a contextual type
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:31:9: error: cannot find 'pthread_mutex_lock' in scope
29 | @discardableResult
30 | func synchronized<R>(closure: () throws -> R) rethrows -> R {
31 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
32 | defer {
33 | pthread_mutex_unlock(&mutex)
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:33:13: error: cannot find 'pthread_mutex_unlock' in scope
31 | pthread_mutex_lock(&mutex)
32 | defer {
33 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
34 | }
35 | return try closure()
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:40:9: error: cannot find 'pthread_mutex_destroy' in scope
38 | deinit {
39 | // free the mutex resource
40 | pthread_mutex_destroy(&mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
41 | }
42 | }
[19/140] Compiling Antlr4 Stack.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:9: error: cannot find 'pthread_mutex_init' in scope
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:36: error: 'nil' requires a contextual type
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: 'nil' requires a contextual type
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:31:9: error: cannot find 'pthread_mutex_lock' in scope
29 | @discardableResult
30 | func synchronized<R>(closure: () throws -> R) rethrows -> R {
31 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
32 | defer {
33 | pthread_mutex_unlock(&mutex)
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:33:13: error: cannot find 'pthread_mutex_unlock' in scope
31 | pthread_mutex_lock(&mutex)
32 | defer {
33 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
34 | }
35 | return try closure()
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:40:9: error: cannot find 'pthread_mutex_destroy' in scope
38 | deinit {
39 | // free the mutex resource
40 | pthread_mutex_destroy(&mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
41 | }
42 | }
[20/140] Compiling Antlr4 AbstractParseTreeVisitor.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:9: error: cannot find 'pthread_mutex_init' in scope
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:36: error: 'nil' requires a contextual type
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: 'nil' requires a contextual type
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:31:9: error: cannot find 'pthread_mutex_lock' in scope
29 | @discardableResult
30 | func synchronized<R>(closure: () throws -> R) rethrows -> R {
31 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
32 | defer {
33 | pthread_mutex_unlock(&mutex)
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:33:13: error: cannot find 'pthread_mutex_unlock' in scope
31 | pthread_mutex_lock(&mutex)
32 | defer {
33 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
34 | }
35 | return try closure()
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:40:9: error: cannot find 'pthread_mutex_destroy' in scope
38 | deinit {
39 | // free the mutex resource
40 | pthread_mutex_destroy(&mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
41 | }
42 | }
[21/140] Compiling Antlr4 ErrorNode.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:9: error: cannot find 'pthread_mutex_init' in scope
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:36: error: 'nil' requires a contextual type
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: 'nil' requires a contextual type
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:31:9: error: cannot find 'pthread_mutex_lock' in scope
29 | @discardableResult
30 | func synchronized<R>(closure: () throws -> R) rethrows -> R {
31 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
32 | defer {
33 | pthread_mutex_unlock(&mutex)
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:33:13: error: cannot find 'pthread_mutex_unlock' in scope
31 | pthread_mutex_lock(&mutex)
32 | defer {
33 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
34 | }
35 | return try closure()
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:40:9: error: cannot find 'pthread_mutex_destroy' in scope
38 | deinit {
39 | // free the mutex resource
40 | pthread_mutex_destroy(&mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
41 | }
42 | }
[22/159] Compiling Antlr4 DecisionEventInfo.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:119:13: warning: variable 'mark' was never mutated; consider changing to 'let' constant
117 |
118 | self.mode = mode
119 | var mark = input.mark()
| `- warning: variable 'mark' was never mutated; consider changing to 'let' constant
120 | defer {
121 | try! input.release(mark)
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:612:13: warning: variable 'savedCharPositionInLine' was never mutated; consider changing to 'let' constant
610 | }
611 |
612 | var savedCharPositionInLine = charPositionInLine
| `- warning: variable 'savedCharPositionInLine' was never mutated; consider changing to 'let' constant
613 | var savedLine = line
614 | var index = input.index()
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:613:13: warning: variable 'savedLine' was never mutated; consider changing to 'let' constant
611 |
612 | var savedCharPositionInLine = charPositionInLine
613 | var savedLine = line
| `- warning: variable 'savedLine' was never mutated; consider changing to 'let' constant
614 | var index = input.index()
615 | var marker = input.mark()
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:614:13: warning: variable 'index' was never mutated; consider changing to 'let' constant
612 | var savedCharPositionInLine = charPositionInLine
613 | var savedLine = line
614 | var index = input.index()
| `- warning: variable 'index' was never mutated; consider changing to 'let' constant
615 | var marker = input.mark()
616 | do {
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:615:13: warning: variable 'marker' was never mutated; consider changing to 'let' constant
613 | var savedLine = line
614 | var index = input.index()
615 | var marker = input.mark()
| `- warning: variable 'marker' was never mutated; consider changing to 'let' constant
616 | do {
617 | try consume(input)
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerActionExecutor.swift:152:13: warning: variable 'stopIndex' was never mutated; consider changing to 'let' constant
150 | public func execute(_ lexer: Lexer, _ input: CharStream, _ startIndex: Int) throws {
151 | var requiresSeek: Bool = false
152 | var stopIndex: Int = input.index()
| `- warning: variable 'stopIndex' was never mutated; consider changing to 'let' constant
153 | defer {
154 | if requiresSeek {
/host/spi-builder-workspace/Sources/Antlr4/atn/EpsilonTransition.swift:12:33: warning: function call causes an infinite recursion
10 | private let outermostPrecedenceReturnInside: Int
11 |
12 | public convenience override init(_ target: ATNState) {
| `- warning: function call causes an infinite recursion
13 | self.init(target, -1)
14 | }
[23/159] Compiling Antlr4 DecisionInfo.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:119:13: warning: variable 'mark' was never mutated; consider changing to 'let' constant
117 |
118 | self.mode = mode
119 | var mark = input.mark()
| `- warning: variable 'mark' was never mutated; consider changing to 'let' constant
120 | defer {
121 | try! input.release(mark)
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:612:13: warning: variable 'savedCharPositionInLine' was never mutated; consider changing to 'let' constant
610 | }
611 |
612 | var savedCharPositionInLine = charPositionInLine
| `- warning: variable 'savedCharPositionInLine' was never mutated; consider changing to 'let' constant
613 | var savedLine = line
614 | var index = input.index()
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:613:13: warning: variable 'savedLine' was never mutated; consider changing to 'let' constant
611 |
612 | var savedCharPositionInLine = charPositionInLine
613 | var savedLine = line
| `- warning: variable 'savedLine' was never mutated; consider changing to 'let' constant
614 | var index = input.index()
615 | var marker = input.mark()
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:614:13: warning: variable 'index' was never mutated; consider changing to 'let' constant
612 | var savedCharPositionInLine = charPositionInLine
613 | var savedLine = line
614 | var index = input.index()
| `- warning: variable 'index' was never mutated; consider changing to 'let' constant
615 | var marker = input.mark()
616 | do {
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:615:13: warning: variable 'marker' was never mutated; consider changing to 'let' constant
613 | var savedLine = line
614 | var index = input.index()
615 | var marker = input.mark()
| `- warning: variable 'marker' was never mutated; consider changing to 'let' constant
616 | do {
617 | try consume(input)
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerActionExecutor.swift:152:13: warning: variable 'stopIndex' was never mutated; consider changing to 'let' constant
150 | public func execute(_ lexer: Lexer, _ input: CharStream, _ startIndex: Int) throws {
151 | var requiresSeek: Bool = false
152 | var stopIndex: Int = input.index()
| `- warning: variable 'stopIndex' was never mutated; consider changing to 'let' constant
153 | defer {
154 | if requiresSeek {
/host/spi-builder-workspace/Sources/Antlr4/atn/EpsilonTransition.swift:12:33: warning: function call causes an infinite recursion
10 | private let outermostPrecedenceReturnInside: Int
11 |
12 | public convenience override init(_ target: ATNState) {
| `- warning: function call causes an infinite recursion
13 | self.init(target, -1)
14 | }
[24/159] Compiling Antlr4 DecisionState.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:119:13: warning: variable 'mark' was never mutated; consider changing to 'let' constant
117 |
118 | self.mode = mode
119 | var mark = input.mark()
| `- warning: variable 'mark' was never mutated; consider changing to 'let' constant
120 | defer {
121 | try! input.release(mark)
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:612:13: warning: variable 'savedCharPositionInLine' was never mutated; consider changing to 'let' constant
610 | }
611 |
612 | var savedCharPositionInLine = charPositionInLine
| `- warning: variable 'savedCharPositionInLine' was never mutated; consider changing to 'let' constant
613 | var savedLine = line
614 | var index = input.index()
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:613:13: warning: variable 'savedLine' was never mutated; consider changing to 'let' constant
611 |
612 | var savedCharPositionInLine = charPositionInLine
613 | var savedLine = line
| `- warning: variable 'savedLine' was never mutated; consider changing to 'let' constant
614 | var index = input.index()
615 | var marker = input.mark()
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:614:13: warning: variable 'index' was never mutated; consider changing to 'let' constant
612 | var savedCharPositionInLine = charPositionInLine
613 | var savedLine = line
614 | var index = input.index()
| `- warning: variable 'index' was never mutated; consider changing to 'let' constant
615 | var marker = input.mark()
616 | do {
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:615:13: warning: variable 'marker' was never mutated; consider changing to 'let' constant
613 | var savedLine = line
614 | var index = input.index()
615 | var marker = input.mark()
| `- warning: variable 'marker' was never mutated; consider changing to 'let' constant
616 | do {
617 | try consume(input)
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerActionExecutor.swift:152:13: warning: variable 'stopIndex' was never mutated; consider changing to 'let' constant
150 | public func execute(_ lexer: Lexer, _ input: CharStream, _ startIndex: Int) throws {
151 | var requiresSeek: Bool = false
152 | var stopIndex: Int = input.index()
| `- warning: variable 'stopIndex' was never mutated; consider changing to 'let' constant
153 | defer {
154 | if requiresSeek {
/host/spi-builder-workspace/Sources/Antlr4/atn/EpsilonTransition.swift:12:33: warning: function call causes an infinite recursion
10 | private let outermostPrecedenceReturnInside: Int
11 |
12 | public convenience override init(_ target: ATNState) {
| `- warning: function call causes an infinite recursion
13 | self.init(target, -1)
14 | }
[25/159] Compiling Antlr4 DefaultATNConfig.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:119:13: warning: variable 'mark' was never mutated; consider changing to 'let' constant
117 |
118 | self.mode = mode
119 | var mark = input.mark()
| `- warning: variable 'mark' was never mutated; consider changing to 'let' constant
120 | defer {
121 | try! input.release(mark)
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:612:13: warning: variable 'savedCharPositionInLine' was never mutated; consider changing to 'let' constant
610 | }
611 |
612 | var savedCharPositionInLine = charPositionInLine
| `- warning: variable 'savedCharPositionInLine' was never mutated; consider changing to 'let' constant
613 | var savedLine = line
614 | var index = input.index()
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:613:13: warning: variable 'savedLine' was never mutated; consider changing to 'let' constant
611 |
612 | var savedCharPositionInLine = charPositionInLine
613 | var savedLine = line
| `- warning: variable 'savedLine' was never mutated; consider changing to 'let' constant
614 | var index = input.index()
615 | var marker = input.mark()
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:614:13: warning: variable 'index' was never mutated; consider changing to 'let' constant
612 | var savedCharPositionInLine = charPositionInLine
613 | var savedLine = line
614 | var index = input.index()
| `- warning: variable 'index' was never mutated; consider changing to 'let' constant
615 | var marker = input.mark()
616 | do {
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:615:13: warning: variable 'marker' was never mutated; consider changing to 'let' constant
613 | var savedLine = line
614 | var index = input.index()
615 | var marker = input.mark()
| `- warning: variable 'marker' was never mutated; consider changing to 'let' constant
616 | do {
617 | try consume(input)
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerActionExecutor.swift:152:13: warning: variable 'stopIndex' was never mutated; consider changing to 'let' constant
150 | public func execute(_ lexer: Lexer, _ input: CharStream, _ startIndex: Int) throws {
151 | var requiresSeek: Bool = false
152 | var stopIndex: Int = input.index()
| `- warning: variable 'stopIndex' was never mutated; consider changing to 'let' constant
153 | defer {
154 | if requiresSeek {
/host/spi-builder-workspace/Sources/Antlr4/atn/EpsilonTransition.swift:12:33: warning: function call causes an infinite recursion
10 | private let outermostPrecedenceReturnInside: Int
11 |
12 | public convenience override init(_ target: ATNState) {
| `- warning: function call causes an infinite recursion
13 | self.init(target, -1)
14 | }
[26/159] Compiling Antlr4 EmptyPredictionContext.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:119:13: warning: variable 'mark' was never mutated; consider changing to 'let' constant
117 |
118 | self.mode = mode
119 | var mark = input.mark()
| `- warning: variable 'mark' was never mutated; consider changing to 'let' constant
120 | defer {
121 | try! input.release(mark)
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:612:13: warning: variable 'savedCharPositionInLine' was never mutated; consider changing to 'let' constant
610 | }
611 |
612 | var savedCharPositionInLine = charPositionInLine
| `- warning: variable 'savedCharPositionInLine' was never mutated; consider changing to 'let' constant
613 | var savedLine = line
614 | var index = input.index()
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:613:13: warning: variable 'savedLine' was never mutated; consider changing to 'let' constant
611 |
612 | var savedCharPositionInLine = charPositionInLine
613 | var savedLine = line
| `- warning: variable 'savedLine' was never mutated; consider changing to 'let' constant
614 | var index = input.index()
615 | var marker = input.mark()
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:614:13: warning: variable 'index' was never mutated; consider changing to 'let' constant
612 | var savedCharPositionInLine = charPositionInLine
613 | var savedLine = line
614 | var index = input.index()
| `- warning: variable 'index' was never mutated; consider changing to 'let' constant
615 | var marker = input.mark()
616 | do {
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:615:13: warning: variable 'marker' was never mutated; consider changing to 'let' constant
613 | var savedLine = line
614 | var index = input.index()
615 | var marker = input.mark()
| `- warning: variable 'marker' was never mutated; consider changing to 'let' constant
616 | do {
617 | try consume(input)
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerActionExecutor.swift:152:13: warning: variable 'stopIndex' was never mutated; consider changing to 'let' constant
150 | public func execute(_ lexer: Lexer, _ input: CharStream, _ startIndex: Int) throws {
151 | var requiresSeek: Bool = false
152 | var stopIndex: Int = input.index()
| `- warning: variable 'stopIndex' was never mutated; consider changing to 'let' constant
153 | defer {
154 | if requiresSeek {
/host/spi-builder-workspace/Sources/Antlr4/atn/EpsilonTransition.swift:12:33: warning: function call causes an infinite recursion
10 | private let outermostPrecedenceReturnInside: Int
11 |
12 | public convenience override init(_ target: ATNState) {
| `- warning: function call causes an infinite recursion
13 | self.init(target, -1)
14 | }
[27/159] Compiling Antlr4 EpsilonTransition.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:119:13: warning: variable 'mark' was never mutated; consider changing to 'let' constant
117 |
118 | self.mode = mode
119 | var mark = input.mark()
| `- warning: variable 'mark' was never mutated; consider changing to 'let' constant
120 | defer {
121 | try! input.release(mark)
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:612:13: warning: variable 'savedCharPositionInLine' was never mutated; consider changing to 'let' constant
610 | }
611 |
612 | var savedCharPositionInLine = charPositionInLine
| `- warning: variable 'savedCharPositionInLine' was never mutated; consider changing to 'let' constant
613 | var savedLine = line
614 | var index = input.index()
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:613:13: warning: variable 'savedLine' was never mutated; consider changing to 'let' constant
611 |
612 | var savedCharPositionInLine = charPositionInLine
613 | var savedLine = line
| `- warning: variable 'savedLine' was never mutated; consider changing to 'let' constant
614 | var index = input.index()
615 | var marker = input.mark()
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:614:13: warning: variable 'index' was never mutated; consider changing to 'let' constant
612 | var savedCharPositionInLine = charPositionInLine
613 | var savedLine = line
614 | var index = input.index()
| `- warning: variable 'index' was never mutated; consider changing to 'let' constant
615 | var marker = input.mark()
616 | do {
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:615:13: warning: variable 'marker' was never mutated; consider changing to 'let' constant
613 | var savedLine = line
614 | var index = input.index()
615 | var marker = input.mark()
| `- warning: variable 'marker' was never mutated; consider changing to 'let' constant
616 | do {
617 | try consume(input)
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerActionExecutor.swift:152:13: warning: variable 'stopIndex' was never mutated; consider changing to 'let' constant
150 | public func execute(_ lexer: Lexer, _ input: CharStream, _ startIndex: Int) throws {
151 | var requiresSeek: Bool = false
152 | var stopIndex: Int = input.index()
| `- warning: variable 'stopIndex' was never mutated; consider changing to 'let' constant
153 | defer {
154 | if requiresSeek {
/host/spi-builder-workspace/Sources/Antlr4/atn/EpsilonTransition.swift:12:33: warning: function call causes an infinite recursion
10 | private let outermostPrecedenceReturnInside: Int
11 |
12 | public convenience override init(_ target: ATNState) {
| `- warning: function call causes an infinite recursion
13 | self.init(target, -1)
14 | }
[28/159] Compiling Antlr4 ErrorInfo.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:119:13: warning: variable 'mark' was never mutated; consider changing to 'let' constant
117 |
118 | self.mode = mode
119 | var mark = input.mark()
| `- warning: variable 'mark' was never mutated; consider changing to 'let' constant
120 | defer {
121 | try! input.release(mark)
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:612:13: warning: variable 'savedCharPositionInLine' was never mutated; consider changing to 'let' constant
610 | }
611 |
612 | var savedCharPositionInLine = charPositionInLine
| `- warning: variable 'savedCharPositionInLine' was never mutated; consider changing to 'let' constant
613 | var savedLine = line
614 | var index = input.index()
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:613:13: warning: variable 'savedLine' was never mutated; consider changing to 'let' constant
611 |
612 | var savedCharPositionInLine = charPositionInLine
613 | var savedLine = line
| `- warning: variable 'savedLine' was never mutated; consider changing to 'let' constant
614 | var index = input.index()
615 | var marker = input.mark()
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:614:13: warning: variable 'index' was never mutated; consider changing to 'let' constant
612 | var savedCharPositionInLine = charPositionInLine
613 | var savedLine = line
614 | var index = input.index()
| `- warning: variable 'index' was never mutated; consider changing to 'let' constant
615 | var marker = input.mark()
616 | do {
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:615:13: warning: variable 'marker' was never mutated; consider changing to 'let' constant
613 | var savedLine = line
614 | var index = input.index()
615 | var marker = input.mark()
| `- warning: variable 'marker' was never mutated; consider changing to 'let' constant
616 | do {
617 | try consume(input)
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerActionExecutor.swift:152:13: warning: variable 'stopIndex' was never mutated; consider changing to 'let' constant
150 | public func execute(_ lexer: Lexer, _ input: CharStream, _ startIndex: Int) throws {
151 | var requiresSeek: Bool = false
152 | var stopIndex: Int = input.index()
| `- warning: variable 'stopIndex' was never mutated; consider changing to 'let' constant
153 | defer {
154 | if requiresSeek {
/host/spi-builder-workspace/Sources/Antlr4/atn/EpsilonTransition.swift:12:33: warning: function call causes an infinite recursion
10 | private let outermostPrecedenceReturnInside: Int
11 |
12 | public convenience override init(_ target: ATNState) {
| `- warning: function call causes an infinite recursion
13 | self.init(target, -1)
14 | }
[29/159] Compiling Antlr4 LL1Analyzer.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:119:13: warning: variable 'mark' was never mutated; consider changing to 'let' constant
117 |
118 | self.mode = mode
119 | var mark = input.mark()
| `- warning: variable 'mark' was never mutated; consider changing to 'let' constant
120 | defer {
121 | try! input.release(mark)
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:612:13: warning: variable 'savedCharPositionInLine' was never mutated; consider changing to 'let' constant
610 | }
611 |
612 | var savedCharPositionInLine = charPositionInLine
| `- warning: variable 'savedCharPositionInLine' was never mutated; consider changing to 'let' constant
613 | var savedLine = line
614 | var index = input.index()
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:613:13: warning: variable 'savedLine' was never mutated; consider changing to 'let' constant
611 |
612 | var savedCharPositionInLine = charPositionInLine
613 | var savedLine = line
| `- warning: variable 'savedLine' was never mutated; consider changing to 'let' constant
614 | var index = input.index()
615 | var marker = input.mark()
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:614:13: warning: variable 'index' was never mutated; consider changing to 'let' constant
612 | var savedCharPositionInLine = charPositionInLine
613 | var savedLine = line
614 | var index = input.index()
| `- warning: variable 'index' was never mutated; consider changing to 'let' constant
615 | var marker = input.mark()
616 | do {
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:615:13: warning: variable 'marker' was never mutated; consider changing to 'let' constant
613 | var savedLine = line
614 | var index = input.index()
615 | var marker = input.mark()
| `- warning: variable 'marker' was never mutated; consider changing to 'let' constant
616 | do {
617 | try consume(input)
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerActionExecutor.swift:152:13: warning: variable 'stopIndex' was never mutated; consider changing to 'let' constant
150 | public func execute(_ lexer: Lexer, _ input: CharStream, _ startIndex: Int) throws {
151 | var requiresSeek: Bool = false
152 | var stopIndex: Int = input.index()
| `- warning: variable 'stopIndex' was never mutated; consider changing to 'let' constant
153 | defer {
154 | if requiresSeek {
/host/spi-builder-workspace/Sources/Antlr4/atn/EpsilonTransition.swift:12:33: warning: function call causes an infinite recursion
10 | private let outermostPrecedenceReturnInside: Int
11 |
12 | public convenience override init(_ target: ATNState) {
| `- warning: function call causes an infinite recursion
13 | self.init(target, -1)
14 | }
[30/159] Compiling Antlr4 LexerATNConfig.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:119:13: warning: variable 'mark' was never mutated; consider changing to 'let' constant
117 |
118 | self.mode = mode
119 | var mark = input.mark()
| `- warning: variable 'mark' was never mutated; consider changing to 'let' constant
120 | defer {
121 | try! input.release(mark)
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:612:13: warning: variable 'savedCharPositionInLine' was never mutated; consider changing to 'let' constant
610 | }
611 |
612 | var savedCharPositionInLine = charPositionInLine
| `- warning: variable 'savedCharPositionInLine' was never mutated; consider changing to 'let' constant
613 | var savedLine = line
614 | var index = input.index()
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:613:13: warning: variable 'savedLine' was never mutated; consider changing to 'let' constant
611 |
612 | var savedCharPositionInLine = charPositionInLine
613 | var savedLine = line
| `- warning: variable 'savedLine' was never mutated; consider changing to 'let' constant
614 | var index = input.index()
615 | var marker = input.mark()
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:614:13: warning: variable 'index' was never mutated; consider changing to 'let' constant
612 | var savedCharPositionInLine = charPositionInLine
613 | var savedLine = line
614 | var index = input.index()
| `- warning: variable 'index' was never mutated; consider changing to 'let' constant
615 | var marker = input.mark()
616 | do {
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:615:13: warning: variable 'marker' was never mutated; consider changing to 'let' constant
613 | var savedLine = line
614 | var index = input.index()
615 | var marker = input.mark()
| `- warning: variable 'marker' was never mutated; consider changing to 'let' constant
616 | do {
617 | try consume(input)
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerActionExecutor.swift:152:13: warning: variable 'stopIndex' was never mutated; consider changing to 'let' constant
150 | public func execute(_ lexer: Lexer, _ input: CharStream, _ startIndex: Int) throws {
151 | var requiresSeek: Bool = false
152 | var stopIndex: Int = input.index()
| `- warning: variable 'stopIndex' was never mutated; consider changing to 'let' constant
153 | defer {
154 | if requiresSeek {
/host/spi-builder-workspace/Sources/Antlr4/atn/EpsilonTransition.swift:12:33: warning: function call causes an infinite recursion
10 | private let outermostPrecedenceReturnInside: Int
11 |
12 | public convenience override init(_ target: ATNState) {
| `- warning: function call causes an infinite recursion
13 | self.init(target, -1)
14 | }
[31/159] Compiling Antlr4 LexerATNSimulator.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:119:13: warning: variable 'mark' was never mutated; consider changing to 'let' constant
117 |
118 | self.mode = mode
119 | var mark = input.mark()
| `- warning: variable 'mark' was never mutated; consider changing to 'let' constant
120 | defer {
121 | try! input.release(mark)
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:612:13: warning: variable 'savedCharPositionInLine' was never mutated; consider changing to 'let' constant
610 | }
611 |
612 | var savedCharPositionInLine = charPositionInLine
| `- warning: variable 'savedCharPositionInLine' was never mutated; consider changing to 'let' constant
613 | var savedLine = line
614 | var index = input.index()
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:613:13: warning: variable 'savedLine' was never mutated; consider changing to 'let' constant
611 |
612 | var savedCharPositionInLine = charPositionInLine
613 | var savedLine = line
| `- warning: variable 'savedLine' was never mutated; consider changing to 'let' constant
614 | var index = input.index()
615 | var marker = input.mark()
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:614:13: warning: variable 'index' was never mutated; consider changing to 'let' constant
612 | var savedCharPositionInLine = charPositionInLine
613 | var savedLine = line
614 | var index = input.index()
| `- warning: variable 'index' was never mutated; consider changing to 'let' constant
615 | var marker = input.mark()
616 | do {
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:615:13: warning: variable 'marker' was never mutated; consider changing to 'let' constant
613 | var savedLine = line
614 | var index = input.index()
615 | var marker = input.mark()
| `- warning: variable 'marker' was never mutated; consider changing to 'let' constant
616 | do {
617 | try consume(input)
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerActionExecutor.swift:152:13: warning: variable 'stopIndex' was never mutated; consider changing to 'let' constant
150 | public func execute(_ lexer: Lexer, _ input: CharStream, _ startIndex: Int) throws {
151 | var requiresSeek: Bool = false
152 | var stopIndex: Int = input.index()
| `- warning: variable 'stopIndex' was never mutated; consider changing to 'let' constant
153 | defer {
154 | if requiresSeek {
/host/spi-builder-workspace/Sources/Antlr4/atn/EpsilonTransition.swift:12:33: warning: function call causes an infinite recursion
10 | private let outermostPrecedenceReturnInside: Int
11 |
12 | public convenience override init(_ target: ATNState) {
| `- warning: function call causes an infinite recursion
13 | self.init(target, -1)
14 | }
[32/159] Compiling Antlr4 LexerAction.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:119:13: warning: variable 'mark' was never mutated; consider changing to 'let' constant
117 |
118 | self.mode = mode
119 | var mark = input.mark()
| `- warning: variable 'mark' was never mutated; consider changing to 'let' constant
120 | defer {
121 | try! input.release(mark)
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:612:13: warning: variable 'savedCharPositionInLine' was never mutated; consider changing to 'let' constant
610 | }
611 |
612 | var savedCharPositionInLine = charPositionInLine
| `- warning: variable 'savedCharPositionInLine' was never mutated; consider changing to 'let' constant
613 | var savedLine = line
614 | var index = input.index()
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:613:13: warning: variable 'savedLine' was never mutated; consider changing to 'let' constant
611 |
612 | var savedCharPositionInLine = charPositionInLine
613 | var savedLine = line
| `- warning: variable 'savedLine' was never mutated; consider changing to 'let' constant
614 | var index = input.index()
615 | var marker = input.mark()
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:614:13: warning: variable 'index' was never mutated; consider changing to 'let' constant
612 | var savedCharPositionInLine = charPositionInLine
613 | var savedLine = line
614 | var index = input.index()
| `- warning: variable 'index' was never mutated; consider changing to 'let' constant
615 | var marker = input.mark()
616 | do {
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:615:13: warning: variable 'marker' was never mutated; consider changing to 'let' constant
613 | var savedLine = line
614 | var index = input.index()
615 | var marker = input.mark()
| `- warning: variable 'marker' was never mutated; consider changing to 'let' constant
616 | do {
617 | try consume(input)
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerActionExecutor.swift:152:13: warning: variable 'stopIndex' was never mutated; consider changing to 'let' constant
150 | public func execute(_ lexer: Lexer, _ input: CharStream, _ startIndex: Int) throws {
151 | var requiresSeek: Bool = false
152 | var stopIndex: Int = input.index()
| `- warning: variable 'stopIndex' was never mutated; consider changing to 'let' constant
153 | defer {
154 | if requiresSeek {
/host/spi-builder-workspace/Sources/Antlr4/atn/EpsilonTransition.swift:12:33: warning: function call causes an infinite recursion
10 | private let outermostPrecedenceReturnInside: Int
11 |
12 | public convenience override init(_ target: ATNState) {
| `- warning: function call causes an infinite recursion
13 | self.init(target, -1)
14 | }
[33/159] Compiling Antlr4 LexerActionExecutor.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:119:13: warning: variable 'mark' was never mutated; consider changing to 'let' constant
117 |
118 | self.mode = mode
119 | var mark = input.mark()
| `- warning: variable 'mark' was never mutated; consider changing to 'let' constant
120 | defer {
121 | try! input.release(mark)
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:612:13: warning: variable 'savedCharPositionInLine' was never mutated; consider changing to 'let' constant
610 | }
611 |
612 | var savedCharPositionInLine = charPositionInLine
| `- warning: variable 'savedCharPositionInLine' was never mutated; consider changing to 'let' constant
613 | var savedLine = line
614 | var index = input.index()
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:613:13: warning: variable 'savedLine' was never mutated; consider changing to 'let' constant
611 |
612 | var savedCharPositionInLine = charPositionInLine
613 | var savedLine = line
| `- warning: variable 'savedLine' was never mutated; consider changing to 'let' constant
614 | var index = input.index()
615 | var marker = input.mark()
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:614:13: warning: variable 'index' was never mutated; consider changing to 'let' constant
612 | var savedCharPositionInLine = charPositionInLine
613 | var savedLine = line
614 | var index = input.index()
| `- warning: variable 'index' was never mutated; consider changing to 'let' constant
615 | var marker = input.mark()
616 | do {
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:615:13: warning: variable 'marker' was never mutated; consider changing to 'let' constant
613 | var savedLine = line
614 | var index = input.index()
615 | var marker = input.mark()
| `- warning: variable 'marker' was never mutated; consider changing to 'let' constant
616 | do {
617 | try consume(input)
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerActionExecutor.swift:152:13: warning: variable 'stopIndex' was never mutated; consider changing to 'let' constant
150 | public func execute(_ lexer: Lexer, _ input: CharStream, _ startIndex: Int) throws {
151 | var requiresSeek: Bool = false
152 | var stopIndex: Int = input.index()
| `- warning: variable 'stopIndex' was never mutated; consider changing to 'let' constant
153 | defer {
154 | if requiresSeek {
/host/spi-builder-workspace/Sources/Antlr4/atn/EpsilonTransition.swift:12:33: warning: function call causes an infinite recursion
10 | private let outermostPrecedenceReturnInside: Int
11 |
12 | public convenience override init(_ target: ATNState) {
| `- warning: function call causes an infinite recursion
13 | self.init(target, -1)
14 | }
[34/159] Compiling Antlr4 LexerActionType.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:119:13: warning: variable 'mark' was never mutated; consider changing to 'let' constant
117 |
118 | self.mode = mode
119 | var mark = input.mark()
| `- warning: variable 'mark' was never mutated; consider changing to 'let' constant
120 | defer {
121 | try! input.release(mark)
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:612:13: warning: variable 'savedCharPositionInLine' was never mutated; consider changing to 'let' constant
610 | }
611 |
612 | var savedCharPositionInLine = charPositionInLine
| `- warning: variable 'savedCharPositionInLine' was never mutated; consider changing to 'let' constant
613 | var savedLine = line
614 | var index = input.index()
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:613:13: warning: variable 'savedLine' was never mutated; consider changing to 'let' constant
611 |
612 | var savedCharPositionInLine = charPositionInLine
613 | var savedLine = line
| `- warning: variable 'savedLine' was never mutated; consider changing to 'let' constant
614 | var index = input.index()
615 | var marker = input.mark()
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:614:13: warning: variable 'index' was never mutated; consider changing to 'let' constant
612 | var savedCharPositionInLine = charPositionInLine
613 | var savedLine = line
614 | var index = input.index()
| `- warning: variable 'index' was never mutated; consider changing to 'let' constant
615 | var marker = input.mark()
616 | do {
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:615:13: warning: variable 'marker' was never mutated; consider changing to 'let' constant
613 | var savedLine = line
614 | var index = input.index()
615 | var marker = input.mark()
| `- warning: variable 'marker' was never mutated; consider changing to 'let' constant
616 | do {
617 | try consume(input)
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerActionExecutor.swift:152:13: warning: variable 'stopIndex' was never mutated; consider changing to 'let' constant
150 | public func execute(_ lexer: Lexer, _ input: CharStream, _ startIndex: Int) throws {
151 | var requiresSeek: Bool = false
152 | var stopIndex: Int = input.index()
| `- warning: variable 'stopIndex' was never mutated; consider changing to 'let' constant
153 | defer {
154 | if requiresSeek {
/host/spi-builder-workspace/Sources/Antlr4/atn/EpsilonTransition.swift:12:33: warning: function call causes an infinite recursion
10 | private let outermostPrecedenceReturnInside: Int
11 |
12 | public convenience override init(_ target: ATNState) {
| `- warning: function call causes an infinite recursion
13 | self.init(target, -1)
14 | }
[35/159] Compiling Antlr4 LexerChannelAction.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:119:13: warning: variable 'mark' was never mutated; consider changing to 'let' constant
117 |
118 | self.mode = mode
119 | var mark = input.mark()
| `- warning: variable 'mark' was never mutated; consider changing to 'let' constant
120 | defer {
121 | try! input.release(mark)
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:612:13: warning: variable 'savedCharPositionInLine' was never mutated; consider changing to 'let' constant
610 | }
611 |
612 | var savedCharPositionInLine = charPositionInLine
| `- warning: variable 'savedCharPositionInLine' was never mutated; consider changing to 'let' constant
613 | var savedLine = line
614 | var index = input.index()
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:613:13: warning: variable 'savedLine' was never mutated; consider changing to 'let' constant
611 |
612 | var savedCharPositionInLine = charPositionInLine
613 | var savedLine = line
| `- warning: variable 'savedLine' was never mutated; consider changing to 'let' constant
614 | var index = input.index()
615 | var marker = input.mark()
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:614:13: warning: variable 'index' was never mutated; consider changing to 'let' constant
612 | var savedCharPositionInLine = charPositionInLine
613 | var savedLine = line
614 | var index = input.index()
| `- warning: variable 'index' was never mutated; consider changing to 'let' constant
615 | var marker = input.mark()
616 | do {
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:615:13: warning: variable 'marker' was never mutated; consider changing to 'let' constant
613 | var savedLine = line
614 | var index = input.index()
615 | var marker = input.mark()
| `- warning: variable 'marker' was never mutated; consider changing to 'let' constant
616 | do {
617 | try consume(input)
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerActionExecutor.swift:152:13: warning: variable 'stopIndex' was never mutated; consider changing to 'let' constant
150 | public func execute(_ lexer: Lexer, _ input: CharStream, _ startIndex: Int) throws {
151 | var requiresSeek: Bool = false
152 | var stopIndex: Int = input.index()
| `- warning: variable 'stopIndex' was never mutated; consider changing to 'let' constant
153 | defer {
154 | if requiresSeek {
/host/spi-builder-workspace/Sources/Antlr4/atn/EpsilonTransition.swift:12:33: warning: function call causes an infinite recursion
10 | private let outermostPrecedenceReturnInside: Int
11 |
12 | public convenience override init(_ target: ATNState) {
| `- warning: function call causes an infinite recursion
13 | self.init(target, -1)
14 | }
[36/159] Compiling Antlr4 LexerCustomAction.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:119:13: warning: variable 'mark' was never mutated; consider changing to 'let' constant
117 |
118 | self.mode = mode
119 | var mark = input.mark()
| `- warning: variable 'mark' was never mutated; consider changing to 'let' constant
120 | defer {
121 | try! input.release(mark)
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:612:13: warning: variable 'savedCharPositionInLine' was never mutated; consider changing to 'let' constant
610 | }
611 |
612 | var savedCharPositionInLine = charPositionInLine
| `- warning: variable 'savedCharPositionInLine' was never mutated; consider changing to 'let' constant
613 | var savedLine = line
614 | var index = input.index()
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:613:13: warning: variable 'savedLine' was never mutated; consider changing to 'let' constant
611 |
612 | var savedCharPositionInLine = charPositionInLine
613 | var savedLine = line
| `- warning: variable 'savedLine' was never mutated; consider changing to 'let' constant
614 | var index = input.index()
615 | var marker = input.mark()
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:614:13: warning: variable 'index' was never mutated; consider changing to 'let' constant
612 | var savedCharPositionInLine = charPositionInLine
613 | var savedLine = line
614 | var index = input.index()
| `- warning: variable 'index' was never mutated; consider changing to 'let' constant
615 | var marker = input.mark()
616 | do {
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:615:13: warning: variable 'marker' was never mutated; consider changing to 'let' constant
613 | var savedLine = line
614 | var index = input.index()
615 | var marker = input.mark()
| `- warning: variable 'marker' was never mutated; consider changing to 'let' constant
616 | do {
617 | try consume(input)
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerActionExecutor.swift:152:13: warning: variable 'stopIndex' was never mutated; consider changing to 'let' constant
150 | public func execute(_ lexer: Lexer, _ input: CharStream, _ startIndex: Int) throws {
151 | var requiresSeek: Bool = false
152 | var stopIndex: Int = input.index()
| `- warning: variable 'stopIndex' was never mutated; consider changing to 'let' constant
153 | defer {
154 | if requiresSeek {
/host/spi-builder-workspace/Sources/Antlr4/atn/EpsilonTransition.swift:12:33: warning: function call causes an infinite recursion
10 | private let outermostPrecedenceReturnInside: Int
11 |
12 | public convenience override init(_ target: ATNState) {
| `- warning: function call causes an infinite recursion
13 | self.init(target, -1)
14 | }
[37/159] Compiling Antlr4 LexerIndexedCustomAction.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:119:13: warning: variable 'mark' was never mutated; consider changing to 'let' constant
117 |
118 | self.mode = mode
119 | var mark = input.mark()
| `- warning: variable 'mark' was never mutated; consider changing to 'let' constant
120 | defer {
121 | try! input.release(mark)
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:612:13: warning: variable 'savedCharPositionInLine' was never mutated; consider changing to 'let' constant
610 | }
611 |
612 | var savedCharPositionInLine = charPositionInLine
| `- warning: variable 'savedCharPositionInLine' was never mutated; consider changing to 'let' constant
613 | var savedLine = line
614 | var index = input.index()
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:613:13: warning: variable 'savedLine' was never mutated; consider changing to 'let' constant
611 |
612 | var savedCharPositionInLine = charPositionInLine
613 | var savedLine = line
| `- warning: variable 'savedLine' was never mutated; consider changing to 'let' constant
614 | var index = input.index()
615 | var marker = input.mark()
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:614:13: warning: variable 'index' was never mutated; consider changing to 'let' constant
612 | var savedCharPositionInLine = charPositionInLine
613 | var savedLine = line
614 | var index = input.index()
| `- warning: variable 'index' was never mutated; consider changing to 'let' constant
615 | var marker = input.mark()
616 | do {
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:615:13: warning: variable 'marker' was never mutated; consider changing to 'let' constant
613 | var savedLine = line
614 | var index = input.index()
615 | var marker = input.mark()
| `- warning: variable 'marker' was never mutated; consider changing to 'let' constant
616 | do {
617 | try consume(input)
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerActionExecutor.swift:152:13: warning: variable 'stopIndex' was never mutated; consider changing to 'let' constant
150 | public func execute(_ lexer: Lexer, _ input: CharStream, _ startIndex: Int) throws {
151 | var requiresSeek: Bool = false
152 | var stopIndex: Int = input.index()
| `- warning: variable 'stopIndex' was never mutated; consider changing to 'let' constant
153 | defer {
154 | if requiresSeek {
/host/spi-builder-workspace/Sources/Antlr4/atn/EpsilonTransition.swift:12:33: warning: function call causes an infinite recursion
10 | private let outermostPrecedenceReturnInside: Int
11 |
12 | public convenience override init(_ target: ATNState) {
| `- warning: function call causes an infinite recursion
13 | self.init(target, -1)
14 | }
[38/159] Compiling Antlr4 LexerModeAction.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:119:13: warning: variable 'mark' was never mutated; consider changing to 'let' constant
117 |
118 | self.mode = mode
119 | var mark = input.mark()
| `- warning: variable 'mark' was never mutated; consider changing to 'let' constant
120 | defer {
121 | try! input.release(mark)
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:612:13: warning: variable 'savedCharPositionInLine' was never mutated; consider changing to 'let' constant
610 | }
611 |
612 | var savedCharPositionInLine = charPositionInLine
| `- warning: variable 'savedCharPositionInLine' was never mutated; consider changing to 'let' constant
613 | var savedLine = line
614 | var index = input.index()
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:613:13: warning: variable 'savedLine' was never mutated; consider changing to 'let' constant
611 |
612 | var savedCharPositionInLine = charPositionInLine
613 | var savedLine = line
| `- warning: variable 'savedLine' was never mutated; consider changing to 'let' constant
614 | var index = input.index()
615 | var marker = input.mark()
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:614:13: warning: variable 'index' was never mutated; consider changing to 'let' constant
612 | var savedCharPositionInLine = charPositionInLine
613 | var savedLine = line
614 | var index = input.index()
| `- warning: variable 'index' was never mutated; consider changing to 'let' constant
615 | var marker = input.mark()
616 | do {
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:615:13: warning: variable 'marker' was never mutated; consider changing to 'let' constant
613 | var savedLine = line
614 | var index = input.index()
615 | var marker = input.mark()
| `- warning: variable 'marker' was never mutated; consider changing to 'let' constant
616 | do {
617 | try consume(input)
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerActionExecutor.swift:152:13: warning: variable 'stopIndex' was never mutated; consider changing to 'let' constant
150 | public func execute(_ lexer: Lexer, _ input: CharStream, _ startIndex: Int) throws {
151 | var requiresSeek: Bool = false
152 | var stopIndex: Int = input.index()
| `- warning: variable 'stopIndex' was never mutated; consider changing to 'let' constant
153 | defer {
154 | if requiresSeek {
/host/spi-builder-workspace/Sources/Antlr4/atn/EpsilonTransition.swift:12:33: warning: function call causes an infinite recursion
10 | private let outermostPrecedenceReturnInside: Int
11 |
12 | public convenience override init(_ target: ATNState) {
| `- warning: function call causes an infinite recursion
13 | self.init(target, -1)
14 | }
[39/159] Compiling Antlr4 LexerMoreAction.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:119:13: warning: variable 'mark' was never mutated; consider changing to 'let' constant
117 |
118 | self.mode = mode
119 | var mark = input.mark()
| `- warning: variable 'mark' was never mutated; consider changing to 'let' constant
120 | defer {
121 | try! input.release(mark)
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:612:13: warning: variable 'savedCharPositionInLine' was never mutated; consider changing to 'let' constant
610 | }
611 |
612 | var savedCharPositionInLine = charPositionInLine
| `- warning: variable 'savedCharPositionInLine' was never mutated; consider changing to 'let' constant
613 | var savedLine = line
614 | var index = input.index()
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:613:13: warning: variable 'savedLine' was never mutated; consider changing to 'let' constant
611 |
612 | var savedCharPositionInLine = charPositionInLine
613 | var savedLine = line
| `- warning: variable 'savedLine' was never mutated; consider changing to 'let' constant
614 | var index = input.index()
615 | var marker = input.mark()
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:614:13: warning: variable 'index' was never mutated; consider changing to 'let' constant
612 | var savedCharPositionInLine = charPositionInLine
613 | var savedLine = line
614 | var index = input.index()
| `- warning: variable 'index' was never mutated; consider changing to 'let' constant
615 | var marker = input.mark()
616 | do {
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:615:13: warning: variable 'marker' was never mutated; consider changing to 'let' constant
613 | var savedLine = line
614 | var index = input.index()
615 | var marker = input.mark()
| `- warning: variable 'marker' was never mutated; consider changing to 'let' constant
616 | do {
617 | try consume(input)
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerActionExecutor.swift:152:13: warning: variable 'stopIndex' was never mutated; consider changing to 'let' constant
150 | public func execute(_ lexer: Lexer, _ input: CharStream, _ startIndex: Int) throws {
151 | var requiresSeek: Bool = false
152 | var stopIndex: Int = input.index()
| `- warning: variable 'stopIndex' was never mutated; consider changing to 'let' constant
153 | defer {
154 | if requiresSeek {
/host/spi-builder-workspace/Sources/Antlr4/atn/EpsilonTransition.swift:12:33: warning: function call causes an infinite recursion
10 | private let outermostPrecedenceReturnInside: Int
11 |
12 | public convenience override init(_ target: ATNState) {
| `- warning: function call causes an infinite recursion
13 | self.init(target, -1)
14 | }
[40/159] Compiling Antlr4 LexerPopModeAction.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:119:13: warning: variable 'mark' was never mutated; consider changing to 'let' constant
117 |
118 | self.mode = mode
119 | var mark = input.mark()
| `- warning: variable 'mark' was never mutated; consider changing to 'let' constant
120 | defer {
121 | try! input.release(mark)
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:612:13: warning: variable 'savedCharPositionInLine' was never mutated; consider changing to 'let' constant
610 | }
611 |
612 | var savedCharPositionInLine = charPositionInLine
| `- warning: variable 'savedCharPositionInLine' was never mutated; consider changing to 'let' constant
613 | var savedLine = line
614 | var index = input.index()
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:613:13: warning: variable 'savedLine' was never mutated; consider changing to 'let' constant
611 |
612 | var savedCharPositionInLine = charPositionInLine
613 | var savedLine = line
| `- warning: variable 'savedLine' was never mutated; consider changing to 'let' constant
614 | var index = input.index()
615 | var marker = input.mark()
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:614:13: warning: variable 'index' was never mutated; consider changing to 'let' constant
612 | var savedCharPositionInLine = charPositionInLine
613 | var savedLine = line
614 | var index = input.index()
| `- warning: variable 'index' was never mutated; consider changing to 'let' constant
615 | var marker = input.mark()
616 | do {
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerATNSimulator.swift:615:13: warning: variable 'marker' was never mutated; consider changing to 'let' constant
613 | var savedLine = line
614 | var index = input.index()
615 | var marker = input.mark()
| `- warning: variable 'marker' was never mutated; consider changing to 'let' constant
616 | do {
617 | try consume(input)
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerActionExecutor.swift:152:13: warning: variable 'stopIndex' was never mutated; consider changing to 'let' constant
150 | public func execute(_ lexer: Lexer, _ input: CharStream, _ startIndex: Int) throws {
151 | var requiresSeek: Bool = false
152 | var stopIndex: Int = input.index()
| `- warning: variable 'stopIndex' was never mutated; consider changing to 'let' constant
153 | defer {
154 | if requiresSeek {
/host/spi-builder-workspace/Sources/Antlr4/atn/EpsilonTransition.swift:12:33: warning: function call causes an infinite recursion
10 | private let outermostPrecedenceReturnInside: Int
11 |
12 | public convenience override init(_ target: ATNState) {
| `- warning: function call causes an infinite recursion
13 | self.init(target, -1)
14 | }
[41/159] Compiling Antlr4 WritableToken.swift
[42/159] Compiling Antlr4 ATN.swift
[43/159] Compiling Antlr4 ATNConfig.swift
[44/159] Compiling Antlr4 ATNConfigSet.swift
[45/159] Compiling Antlr4 ATNDeserializationOptions.swift
[46/159] Compiling Antlr4 ATNDeserializer.swift
[47/159] Compiling Antlr4 ATNSimulator.swift
[48/159] Compiling Antlr4 ATNState.swift
[49/159] Compiling Antlr4 ATNType.swift
[50/159] Compiling Antlr4 AbstractPredicateTransition.swift
[51/159] Compiling Antlr4 ActionTransition.swift
[52/159] Compiling Antlr4 AmbiguityInfo.swift
[53/159] Compiling Antlr4 ArrayPredictionContext.swift
[54/159] Compiling Antlr4 AtomTransition.swift
[55/159] Compiling Antlr4 BasicBlockStartState.swift
[56/159] Compiling Antlr4 BasicState.swift
[57/159] Compiling Antlr4 BlockEndState.swift
[58/159] Compiling Antlr4 BlockStartState.swift
[59/159] Compiling Antlr4 ContextSensitivityInfo.swift
[60/159] Compiling Antlr4 RangeTransition.swift
[61/159] Compiling Antlr4 RuleStartState.swift
[62/159] Compiling Antlr4 RuleStopState.swift
[63/159] Compiling Antlr4 RuleTransition.swift
[64/159] Compiling Antlr4 SemanticContext.swift
[65/159] Compiling Antlr4 SetTransition.swift
[66/159] Compiling Antlr4 SingletonPredictionContext.swift
[67/159] Compiling Antlr4 StarBlockStartState.swift
[68/159] Compiling Antlr4 StarLoopEntryState.swift
[69/159] Compiling Antlr4 StarLoopbackState.swift
[70/159] Compiling Antlr4 TokensStartState.swift
[71/159] Compiling Antlr4 Transition.swift
[72/159] Compiling Antlr4 WildcardTransition.swift
[73/159] Compiling Antlr4 DFA.swift
[74/159] Compiling Antlr4 DFASerializer.swift
[75/159] Compiling Antlr4 DFAState.swift
[76/159] Compiling Antlr4 LexerDFASerializer.swift
[77/159] Compiling Antlr4 BitSet.swift
[78/159] Compiling Antlr4 DoubleKeyMap.swift
[79/159] Compiling Antlr4 LexerNoViableAltException.swift
[80/159] Compiling Antlr4 ListTokenSource.swift
[81/159] Compiling Antlr4 NoViableAltException.swift
[82/159] Compiling Antlr4 Parser.swift
[83/159] Compiling Antlr4 ParserInterpreter.swift
[84/159] Compiling Antlr4 ParserRuleContext.swift
[85/159] Compiling Antlr4 ProxyErrorListener.swift
[86/159] Compiling Antlr4 RecognitionException.swift
[87/159] Compiling Antlr4 Recognizer.swift
[88/159] Compiling Antlr4 RuleContext.swift
[89/159] Compiling Antlr4 RuntimeMetaData.swift
[90/159] Compiling Antlr4 Token.swift
[91/159] Compiling Antlr4 TokenFactory.swift
[92/159] Compiling Antlr4 TokenSource.swift
[93/159] Compiling Antlr4 TokenStream.swift
[94/159] Compiling Antlr4 TokenStreamRewriter.swift
[95/159] Compiling Antlr4 UnbufferedCharStream.swift
[96/159] Compiling Antlr4 UnbufferedTokenStream.swift
[97/159] Compiling Antlr4 VocabularySingle.swift
[98/159] Emitting module Antlr4
/host/spi-builder-workspace/Sources/Antlr4/atn/EpsilonTransition.swift:12:33: warning: function call causes an infinite recursion
10 | private let outermostPrecedenceReturnInside: Int
11 |
12 | public convenience override init(_ target: ATNState) {
| `- warning: function call causes an infinite recursion
13 | self.init(target, -1)
14 | }
[99/159] Compiling Antlr4 ANTLRErrorListener.swift
/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
[100/159] Compiling Antlr4 ANTLRErrorStrategy.swift
/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
[101/159] Compiling Antlr4 ANTLRFileStream.swift
/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
[102/159] Compiling Antlr4 ANTLRInputStream.swift
/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
[103/159] Compiling Antlr4 BailErrorStrategy.swift
/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
[104/159] Compiling Antlr4 BaseErrorListener.swift
/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
[105/159] Compiling Antlr4 BufferedTokenStream.swift
/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
[106/159] Compiling Antlr4 CharStream.swift
/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
[107/159] Compiling Antlr4 CommonToken.swift
/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
[108/159] Compiling Antlr4 CommonTokenFactory.swift
/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/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/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/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/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/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/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/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/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/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/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 LexerPushModeAction.swift
/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)
[120/159] Compiling Antlr4 LexerSkipAction.swift
/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)
[121/159] Compiling Antlr4 LexerTypeAction.swift
/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)
[122/159] Compiling Antlr4 LookaheadEventInfo.swift
/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)
[123/159] Compiling Antlr4 LookupATNConfig.swift
/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)
[124/159] Compiling Antlr4 LookupDictionary.swift
/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)
[125/159] Compiling Antlr4 LoopEndState.swift
/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)
[126/159] Compiling Antlr4 NotSetTransition.swift
/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)
[127/159] Compiling Antlr4 ParseInfo.swift
/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)
[128/159] Compiling Antlr4 ParserATNSimulator.swift
/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)
[129/159] Compiling Antlr4 PlusBlockStartState.swift
/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)
[130/159] Compiling Antlr4 PlusLoopbackState.swift
/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)
[131/159] Compiling Antlr4 PrecedencePredicateTransition.swift
/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)
[132/159] Compiling Antlr4 PredicateEvalInfo.swift
/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)
[133/159] Compiling Antlr4 PredicateTransition.swift
/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)
[134/159] Compiling Antlr4 PredictionContext.swift
/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)
[135/159] Compiling Antlr4 PredictionContextCache.swift
/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)
[136/159] Compiling Antlr4 PredictionMode.swift
/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)
[137/159] Compiling Antlr4 ProfilingATNSimulator.swift
/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)
[138/159] Compiling Antlr4 ParseTree.swift
[139/159] Compiling Antlr4 ParseTreeListener.swift
[140/159] Compiling Antlr4 ParseTreeProperty.swift
[141/159] Compiling Antlr4 ParseTreeVisitor.swift
[142/159] Compiling Antlr4 ParseTreeWalker.swift
[143/159] Compiling Antlr4 RuleNode.swift
[144/159] Compiling Antlr4 SyntaxTree.swift
[145/159] Compiling Antlr4 TerminalNode.swift
[146/159] Compiling Antlr4 TerminalNodeImpl.swift
[147/159] Compiling Antlr4 Tree.swift
[148/159] Compiling Antlr4 Trees.swift
[149/159] Compiling Antlr4 Chunk.swift
[150/159] Compiling Antlr4 ParseTreeMatch.swift
[151/159] Compiling Antlr4 ParseTreePattern.swift
[152/159] Compiling Antlr4 ParseTreePatternMatcher.swift
[153/159] Compiling Antlr4 RuleTagToken.swift
[154/159] Compiling Antlr4 TagChunk.swift
[155/159] Compiling Antlr4 TextChunk.swift
[156/159] Compiling Antlr4 TokenTagToken.swift
BUILD FAILURE 6.3 wasm