Build Information
Successful build of Antlr4, reference master (c95f13
), with Swift 6.1 for Android on 27 May 2025 08:38:33 UTC.
Swift 6 data race errors: 28
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
| |- note: convert 'misses' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'misses' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static var hits: Int = 0
27 | public static var outOfRange: Int = 0
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:26:23: warning: static property 'hits' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | public static var creates: Int = 0
25 | public static var misses: Int = 0
26 | public static var hits: Int = 0
| |- warning: static property 'hits' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'hits' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'hits' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | public static var outOfRange: Int = 0
28 |
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:27:23: warning: static property 'outOfRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | public static var misses: Int = 0
26 | public static var hits: Int = 0
27 | public static var outOfRange: Int = 0
| |- warning: static property 'outOfRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'outOfRange' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'outOfRange' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | public init(_ a: Int, _ b: Int) {
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
481 | return MurmurHash.finish(hash, intervals.count * 2)
482 | }
483 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:22:23: warning: static property 'COMPLETE_CHAR_SET' is not concurrency-safe because non-'Sendable' type 'IntervalSet' may have shared mutable state; this is an error in the Swift 6 language mode
19 | ///
20 |
21 | public class IntervalSet: IntSet, Hashable, CustomStringConvertible {
| `- note: class 'IntervalSet' does not conform to the 'Sendable' protocol
22 | public static let COMPLETE_CHAR_SET: IntervalSet =
| |- warning: static property 'COMPLETE_CHAR_SET' is not concurrency-safe because non-'Sendable' type 'IntervalSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'COMPLETE_CHAR_SET' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | {
24 | let set = IntervalSet.of(Lexer.MIN_CHAR_VALUE, Lexer.MAX_CHAR_VALUE)
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:29:23: warning: static property 'EMPTY_SET' is not concurrency-safe because non-'Sendable' type 'IntervalSet' may have shared mutable state; this is an error in the Swift 6 language mode
19 | ///
20 |
21 | public class IntervalSet: IntSet, Hashable, CustomStringConvertible {
| `- note: class 'IntervalSet' does not conform to the 'Sendable' protocol
22 | public static let COMPLETE_CHAR_SET: IntervalSet =
23 | {
:
27 | }()
28 |
29 | public static let EMPTY_SET: IntervalSet = {
| |- warning: static property 'EMPTY_SET' is not concurrency-safe because non-'Sendable' type 'IntervalSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY_SET' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | let set = IntervalSet()
31 | set.makeReadonly()
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:329:13: warning: variable 'myIntervals' was never mutated; consider changing to 'let' constant
327 | }
328 |
329 | var myIntervals = self.intervals
| `- warning: variable 'myIntervals' was never mutated; consider changing to 'let' constant
330 | var theirIntervals = (other as! IntervalSet).intervals
331 | var intersection: IntervalSet? = nil
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:330:13: warning: variable 'theirIntervals' was never mutated; consider changing to 'let' constant
328 |
329 | var myIntervals = self.intervals
330 | var theirIntervals = (other as! IntervalSet).intervals
| `- warning: variable 'theirIntervals' was never mutated; consider changing to 'let' constant
331 | var intersection: IntervalSet? = nil
332 | let mySize = myIntervals.count
/host/spi-builder-workspace/Sources/Antlr4/misc/exception/ANTLRException.swift:18:10: warning: associated value 'parseCancellation(e:)' of 'Sendable'-conforming enum 'ANTLRException' has non-sendable type 'RecognitionException'; this is an error in the Swift 6 language mode
16 |
17 | public enum ANTLRException: Error {
18 | case parseCancellation(e: RecognitionException)
| `- warning: associated value 'parseCancellation(e:)' of 'Sendable'-conforming enum 'ANTLRException' has non-sendable type 'RecognitionException'; this is an error in the Swift 6 language mode
19 | case recognition(e: RecognitionException)
20 | }
/host/spi-builder-workspace/Sources/Antlr4/RecognitionException.swift:14:14: note: class 'RecognitionException' does not conform to the 'Sendable' protocol
12 | ///
13 |
14 | public class RecognitionException {
| `- note: class 'RecognitionException' does not conform to the 'Sendable' protocol
15 | ///
16 | /// The _org.antlr.v4.runtime.Recognizer_ where this exception originated.
/host/spi-builder-workspace/Sources/Antlr4/misc/exception/ANTLRException.swift:19:10: warning: associated value 'recognition(e:)' of 'Sendable'-conforming enum 'ANTLRException' has non-sendable type 'RecognitionException'; this is an error in the Swift 6 language mode
17 | public enum ANTLRException: Error {
18 | case parseCancellation(e: RecognitionException)
19 | case recognition(e: RecognitionException)
| `- warning: associated value 'recognition(e:)' of 'Sendable'-conforming enum 'ANTLRException' has non-sendable type 'RecognitionException'; this is an error in the Swift 6 language mode
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/RecognitionException.swift:14:14: note: class 'RecognitionException' does not conform to the 'Sendable' protocol
12 | ///
13 |
14 | public class RecognitionException {
| `- note: class 'RecognitionException' does not conform to the 'Sendable' protocol
15 | ///
16 | /// The _org.antlr.v4.runtime.Recognizer_ where this exception originated.
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/CommonUtil.swift:16:23: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | func errPrint(_ msg: String) {
16 | fputs(msg + "\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
17 | }
18 |
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/stdio.h:64:23: note: var declared here
62 | extern FILE* _Nonnull stdin __INTRODUCED_IN(23);
63 | extern FILE* _Nonnull stdout __INTRODUCED_IN(23);
64 | extern FILE* _Nonnull stderr __INTRODUCED_IN(23);
| `- note: var declared here
65 |
66 | /* C99 and earlier plus current C++ standards say these must be macros. */
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
156 | }
157 |
158 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
159 | return Unmanaged.passUnretained(self).toOpaque().hashValue
160 | // return unsafeAddress(of: self).hashValue
[114/158] Compiling Antlr4 CommonUtil.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:65:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
63 |
64 |
65 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
66 | var hash: Int = 23
67 | hash = hash * 31 + a
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:15:23: warning: static property 'INVALID' is not concurrency-safe because non-'Sendable' type 'Interval' may have shared mutable state; this is an error in the Swift 6 language mode
10 | ///
11 |
12 | public class Interval: Hashable {
| `- note: class 'Interval' does not conform to the 'Sendable' protocol
13 | public static let INTERVAL_POOL_MAX_VALUE: Int = 1000
14 |
15 | public static let INVALID: Interval = Interval(-1, -2)
| |- warning: static property 'INVALID' is not concurrency-safe because non-'Sendable' type 'Interval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INVALID' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | //static var cache: Dictionary<Int, Interval> = Dictionary<Int, Interval>()
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:18:16: warning: static property 'cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | //static var cache: Dictionary<Int, Interval> = Dictionary<Int, Interval>()
18 | static var cache: Array<Interval?> = Array<Interval?>(repeating: nil, count: INTERVAL_POOL_MAX_VALUE + 1)
| |- warning: static property 'cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'cache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | // new; Interval[INTERVAL_POOL_MAX_VALUE+1];
20 |
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:24:23: warning: static property 'creates' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | public var b: Int
23 |
24 | public static var creates: Int = 0
| |- warning: static property 'creates' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'creates' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'creates' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static var misses: Int = 0
26 | public static var hits: Int = 0
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:25:23: warning: static property 'misses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | public static var creates: Int = 0
25 | public static var misses: Int = 0
| |- warning: static property 'misses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'misses' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'misses' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static var hits: Int = 0
27 | public static var outOfRange: Int = 0
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:26:23: warning: static property 'hits' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | public static var creates: Int = 0
25 | public static var misses: Int = 0
26 | public static var hits: Int = 0
| |- warning: static property 'hits' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'hits' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'hits' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | public static var outOfRange: Int = 0
28 |
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:27:23: warning: static property 'outOfRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | public static var misses: Int = 0
26 | public static var hits: Int = 0
27 | public static var outOfRange: Int = 0
| |- warning: static property 'outOfRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'outOfRange' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'outOfRange' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | public init(_ a: Int, _ b: Int) {
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
481 | return MurmurHash.finish(hash, intervals.count * 2)
482 | }
483 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:22:23: warning: static property 'COMPLETE_CHAR_SET' is not concurrency-safe because non-'Sendable' type 'IntervalSet' may have shared mutable state; this is an error in the Swift 6 language mode
19 | ///
20 |
21 | public class IntervalSet: IntSet, Hashable, CustomStringConvertible {
| `- note: class 'IntervalSet' does not conform to the 'Sendable' protocol
22 | public static let COMPLETE_CHAR_SET: IntervalSet =
| |- warning: static property 'COMPLETE_CHAR_SET' is not concurrency-safe because non-'Sendable' type 'IntervalSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'COMPLETE_CHAR_SET' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | {
24 | let set = IntervalSet.of(Lexer.MIN_CHAR_VALUE, Lexer.MAX_CHAR_VALUE)
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:29:23: warning: static property 'EMPTY_SET' is not concurrency-safe because non-'Sendable' type 'IntervalSet' may have shared mutable state; this is an error in the Swift 6 language mode
19 | ///
20 |
21 | public class IntervalSet: IntSet, Hashable, CustomStringConvertible {
| `- note: class 'IntervalSet' does not conform to the 'Sendable' protocol
22 | public static let COMPLETE_CHAR_SET: IntervalSet =
23 | {
:
27 | }()
28 |
29 | public static let EMPTY_SET: IntervalSet = {
| |- warning: static property 'EMPTY_SET' is not concurrency-safe because non-'Sendable' type 'IntervalSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY_SET' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | let set = IntervalSet()
31 | set.makeReadonly()
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:329:13: warning: variable 'myIntervals' was never mutated; consider changing to 'let' constant
327 | }
328 |
329 | var myIntervals = self.intervals
| `- warning: variable 'myIntervals' was never mutated; consider changing to 'let' constant
330 | var theirIntervals = (other as! IntervalSet).intervals
331 | var intersection: IntervalSet? = nil
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:330:13: warning: variable 'theirIntervals' was never mutated; consider changing to 'let' constant
328 |
329 | var myIntervals = self.intervals
330 | var theirIntervals = (other as! IntervalSet).intervals
| `- warning: variable 'theirIntervals' was never mutated; consider changing to 'let' constant
331 | var intersection: IntervalSet? = nil
332 | let mySize = myIntervals.count
/host/spi-builder-workspace/Sources/Antlr4/misc/exception/ANTLRException.swift:18:10: warning: associated value 'parseCancellation(e:)' of 'Sendable'-conforming enum 'ANTLRException' has non-sendable type 'RecognitionException'; this is an error in the Swift 6 language mode
16 |
17 | public enum ANTLRException: Error {
18 | case parseCancellation(e: RecognitionException)
| `- warning: associated value 'parseCancellation(e:)' of 'Sendable'-conforming enum 'ANTLRException' has non-sendable type 'RecognitionException'; this is an error in the Swift 6 language mode
19 | case recognition(e: RecognitionException)
20 | }
/host/spi-builder-workspace/Sources/Antlr4/RecognitionException.swift:14:14: note: class 'RecognitionException' does not conform to the 'Sendable' protocol
12 | ///
13 |
14 | public class RecognitionException {
| `- note: class 'RecognitionException' does not conform to the 'Sendable' protocol
15 | ///
16 | /// The _org.antlr.v4.runtime.Recognizer_ where this exception originated.
/host/spi-builder-workspace/Sources/Antlr4/misc/exception/ANTLRException.swift:19:10: warning: associated value 'recognition(e:)' of 'Sendable'-conforming enum 'ANTLRException' has non-sendable type 'RecognitionException'; this is an error in the Swift 6 language mode
17 | public enum ANTLRException: Error {
18 | case parseCancellation(e: RecognitionException)
19 | case recognition(e: RecognitionException)
| `- warning: associated value 'recognition(e:)' of 'Sendable'-conforming enum 'ANTLRException' has non-sendable type 'RecognitionException'; this is an error in the Swift 6 language mode
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/RecognitionException.swift:14:14: note: class 'RecognitionException' does not conform to the 'Sendable' protocol
12 | ///
13 |
14 | public class RecognitionException {
| `- note: class 'RecognitionException' does not conform to the 'Sendable' protocol
15 | ///
16 | /// The _org.antlr.v4.runtime.Recognizer_ where this exception originated.
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/CommonUtil.swift:16:23: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | func errPrint(_ msg: String) {
16 | fputs(msg + "\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
17 | }
18 |
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/stdio.h:64:23: note: var declared here
62 | extern FILE* _Nonnull stdin __INTRODUCED_IN(23);
63 | extern FILE* _Nonnull stdout __INTRODUCED_IN(23);
64 | extern FILE* _Nonnull stderr __INTRODUCED_IN(23);
| `- note: var declared here
65 |
66 | /* C99 and earlier plus current C++ standards say these must be macros. */
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
156 | }
157 |
158 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
159 | return Unmanaged.passUnretained(self).toOpaque().hashValue
160 | // return unsafeAddress(of: self).hashValue
[115/158] Compiling Antlr4 Mutex.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:65:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
63 |
64 |
65 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
66 | var hash: Int = 23
67 | hash = hash * 31 + a
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:15:23: warning: static property 'INVALID' is not concurrency-safe because non-'Sendable' type 'Interval' may have shared mutable state; this is an error in the Swift 6 language mode
10 | ///
11 |
12 | public class Interval: Hashable {
| `- note: class 'Interval' does not conform to the 'Sendable' protocol
13 | public static let INTERVAL_POOL_MAX_VALUE: Int = 1000
14 |
15 | public static let INVALID: Interval = Interval(-1, -2)
| |- warning: static property 'INVALID' is not concurrency-safe because non-'Sendable' type 'Interval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INVALID' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | //static var cache: Dictionary<Int, Interval> = Dictionary<Int, Interval>()
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:18:16: warning: static property 'cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | //static var cache: Dictionary<Int, Interval> = Dictionary<Int, Interval>()
18 | static var cache: Array<Interval?> = Array<Interval?>(repeating: nil, count: INTERVAL_POOL_MAX_VALUE + 1)
| |- warning: static property 'cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'cache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | // new; Interval[INTERVAL_POOL_MAX_VALUE+1];
20 |
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:24:23: warning: static property 'creates' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | public var b: Int
23 |
24 | public static var creates: Int = 0
| |- warning: static property 'creates' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'creates' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'creates' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static var misses: Int = 0
26 | public static var hits: Int = 0
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:25:23: warning: static property 'misses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | public static var creates: Int = 0
25 | public static var misses: Int = 0
| |- warning: static property 'misses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'misses' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'misses' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static var hits: Int = 0
27 | public static var outOfRange: Int = 0
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:26:23: warning: static property 'hits' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | public static var creates: Int = 0
25 | public static var misses: Int = 0
26 | public static var hits: Int = 0
| |- warning: static property 'hits' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'hits' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'hits' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | public static var outOfRange: Int = 0
28 |
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:27:23: warning: static property 'outOfRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | public static var misses: Int = 0
26 | public static var hits: Int = 0
27 | public static var outOfRange: Int = 0
| |- warning: static property 'outOfRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'outOfRange' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'outOfRange' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | public init(_ a: Int, _ b: Int) {
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
481 | return MurmurHash.finish(hash, intervals.count * 2)
482 | }
483 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:22:23: warning: static property 'COMPLETE_CHAR_SET' is not concurrency-safe because non-'Sendable' type 'IntervalSet' may have shared mutable state; this is an error in the Swift 6 language mode
19 | ///
20 |
21 | public class IntervalSet: IntSet, Hashable, CustomStringConvertible {
| `- note: class 'IntervalSet' does not conform to the 'Sendable' protocol
22 | public static let COMPLETE_CHAR_SET: IntervalSet =
| |- warning: static property 'COMPLETE_CHAR_SET' is not concurrency-safe because non-'Sendable' type 'IntervalSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'COMPLETE_CHAR_SET' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | {
24 | let set = IntervalSet.of(Lexer.MIN_CHAR_VALUE, Lexer.MAX_CHAR_VALUE)
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:29:23: warning: static property 'EMPTY_SET' is not concurrency-safe because non-'Sendable' type 'IntervalSet' may have shared mutable state; this is an error in the Swift 6 language mode
19 | ///
20 |
21 | public class IntervalSet: IntSet, Hashable, CustomStringConvertible {
| `- note: class 'IntervalSet' does not conform to the 'Sendable' protocol
22 | public static let COMPLETE_CHAR_SET: IntervalSet =
23 | {
:
27 | }()
28 |
29 | public static let EMPTY_SET: IntervalSet = {
| |- warning: static property 'EMPTY_SET' is not concurrency-safe because non-'Sendable' type 'IntervalSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY_SET' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | let set = IntervalSet()
31 | set.makeReadonly()
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:329:13: warning: variable 'myIntervals' was never mutated; consider changing to 'let' constant
327 | }
328 |
329 | var myIntervals = self.intervals
| `- warning: variable 'myIntervals' was never mutated; consider changing to 'let' constant
330 | var theirIntervals = (other as! IntervalSet).intervals
331 | var intersection: IntervalSet? = nil
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:330:13: warning: variable 'theirIntervals' was never mutated; consider changing to 'let' constant
328 |
329 | var myIntervals = self.intervals
330 | var theirIntervals = (other as! IntervalSet).intervals
| `- warning: variable 'theirIntervals' was never mutated; consider changing to 'let' constant
331 | var intersection: IntervalSet? = nil
332 | let mySize = myIntervals.count
/host/spi-builder-workspace/Sources/Antlr4/misc/exception/ANTLRException.swift:18:10: warning: associated value 'parseCancellation(e:)' of 'Sendable'-conforming enum 'ANTLRException' has non-sendable type 'RecognitionException'; this is an error in the Swift 6 language mode
16 |
17 | public enum ANTLRException: Error {
18 | case parseCancellation(e: RecognitionException)
| `- warning: associated value 'parseCancellation(e:)' of 'Sendable'-conforming enum 'ANTLRException' has non-sendable type 'RecognitionException'; this is an error in the Swift 6 language mode
19 | case recognition(e: RecognitionException)
20 | }
/host/spi-builder-workspace/Sources/Antlr4/RecognitionException.swift:14:14: note: class 'RecognitionException' does not conform to the 'Sendable' protocol
12 | ///
13 |
14 | public class RecognitionException {
| `- note: class 'RecognitionException' does not conform to the 'Sendable' protocol
15 | ///
16 | /// The _org.antlr.v4.runtime.Recognizer_ where this exception originated.
/host/spi-builder-workspace/Sources/Antlr4/misc/exception/ANTLRException.swift:19:10: warning: associated value 'recognition(e:)' of 'Sendable'-conforming enum 'ANTLRException' has non-sendable type 'RecognitionException'; this is an error in the Swift 6 language mode
17 | public enum ANTLRException: Error {
18 | case parseCancellation(e: RecognitionException)
19 | case recognition(e: RecognitionException)
| `- warning: associated value 'recognition(e:)' of 'Sendable'-conforming enum 'ANTLRException' has non-sendable type 'RecognitionException'; this is an error in the Swift 6 language mode
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/RecognitionException.swift:14:14: note: class 'RecognitionException' does not conform to the 'Sendable' protocol
12 | ///
13 |
14 | public class RecognitionException {
| `- note: class 'RecognitionException' does not conform to the 'Sendable' protocol
15 | ///
16 | /// The _org.antlr.v4.runtime.Recognizer_ where this exception originated.
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/CommonUtil.swift:16:23: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | func errPrint(_ msg: String) {
16 | fputs(msg + "\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
17 | }
18 |
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/stdio.h:64:23: note: var declared here
62 | extern FILE* _Nonnull stdin __INTRODUCED_IN(23);
63 | extern FILE* _Nonnull stdout __INTRODUCED_IN(23);
64 | extern FILE* _Nonnull stderr __INTRODUCED_IN(23);
| `- note: var declared here
65 |
66 | /* C99 and earlier plus current C++ standards say these must be macros. */
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
156 | }
157 |
158 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
159 | return Unmanaged.passUnretained(self).toOpaque().hashValue
160 | // return unsafeAddress(of: self).hashValue
[116/158] Compiling Antlr4 Stack.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:65:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
63 |
64 |
65 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
66 | var hash: Int = 23
67 | hash = hash * 31 + a
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:15:23: warning: static property 'INVALID' is not concurrency-safe because non-'Sendable' type 'Interval' may have shared mutable state; this is an error in the Swift 6 language mode
10 | ///
11 |
12 | public class Interval: Hashable {
| `- note: class 'Interval' does not conform to the 'Sendable' protocol
13 | public static let INTERVAL_POOL_MAX_VALUE: Int = 1000
14 |
15 | public static let INVALID: Interval = Interval(-1, -2)
| |- warning: static property 'INVALID' is not concurrency-safe because non-'Sendable' type 'Interval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INVALID' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | //static var cache: Dictionary<Int, Interval> = Dictionary<Int, Interval>()
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:18:16: warning: static property 'cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | //static var cache: Dictionary<Int, Interval> = Dictionary<Int, Interval>()
18 | static var cache: Array<Interval?> = Array<Interval?>(repeating: nil, count: INTERVAL_POOL_MAX_VALUE + 1)
| |- warning: static property 'cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'cache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | // new; Interval[INTERVAL_POOL_MAX_VALUE+1];
20 |
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:24:23: warning: static property 'creates' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | public var b: Int
23 |
24 | public static var creates: Int = 0
| |- warning: static property 'creates' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'creates' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'creates' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static var misses: Int = 0
26 | public static var hits: Int = 0
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:25:23: warning: static property 'misses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | public static var creates: Int = 0
25 | public static var misses: Int = 0
| |- warning: static property 'misses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'misses' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'misses' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static var hits: Int = 0
27 | public static var outOfRange: Int = 0
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:26:23: warning: static property 'hits' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | public static var creates: Int = 0
25 | public static var misses: Int = 0
26 | public static var hits: Int = 0
| |- warning: static property 'hits' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'hits' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'hits' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | public static var outOfRange: Int = 0
28 |
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:27:23: warning: static property 'outOfRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | public static var misses: Int = 0
26 | public static var hits: Int = 0
27 | public static var outOfRange: Int = 0
| |- warning: static property 'outOfRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'outOfRange' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'outOfRange' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | public init(_ a: Int, _ b: Int) {
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
481 | return MurmurHash.finish(hash, intervals.count * 2)
482 | }
483 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:22:23: warning: static property 'COMPLETE_CHAR_SET' is not concurrency-safe because non-'Sendable' type 'IntervalSet' may have shared mutable state; this is an error in the Swift 6 language mode
19 | ///
20 |
21 | public class IntervalSet: IntSet, Hashable, CustomStringConvertible {
| `- note: class 'IntervalSet' does not conform to the 'Sendable' protocol
22 | public static let COMPLETE_CHAR_SET: IntervalSet =
| |- warning: static property 'COMPLETE_CHAR_SET' is not concurrency-safe because non-'Sendable' type 'IntervalSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'COMPLETE_CHAR_SET' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | {
24 | let set = IntervalSet.of(Lexer.MIN_CHAR_VALUE, Lexer.MAX_CHAR_VALUE)
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:29:23: warning: static property 'EMPTY_SET' is not concurrency-safe because non-'Sendable' type 'IntervalSet' may have shared mutable state; this is an error in the Swift 6 language mode
19 | ///
20 |
21 | public class IntervalSet: IntSet, Hashable, CustomStringConvertible {
| `- note: class 'IntervalSet' does not conform to the 'Sendable' protocol
22 | public static let COMPLETE_CHAR_SET: IntervalSet =
23 | {
:
27 | }()
28 |
29 | public static let EMPTY_SET: IntervalSet = {
| |- warning: static property 'EMPTY_SET' is not concurrency-safe because non-'Sendable' type 'IntervalSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY_SET' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | let set = IntervalSet()
31 | set.makeReadonly()
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:329:13: warning: variable 'myIntervals' was never mutated; consider changing to 'let' constant
327 | }
328 |
329 | var myIntervals = self.intervals
| `- warning: variable 'myIntervals' was never mutated; consider changing to 'let' constant
330 | var theirIntervals = (other as! IntervalSet).intervals
331 | var intersection: IntervalSet? = nil
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:330:13: warning: variable 'theirIntervals' was never mutated; consider changing to 'let' constant
328 |
329 | var myIntervals = self.intervals
330 | var theirIntervals = (other as! IntervalSet).intervals
| `- warning: variable 'theirIntervals' was never mutated; consider changing to 'let' constant
331 | var intersection: IntervalSet? = nil
332 | let mySize = myIntervals.count
/host/spi-builder-workspace/Sources/Antlr4/misc/exception/ANTLRException.swift:18:10: warning: associated value 'parseCancellation(e:)' of 'Sendable'-conforming enum 'ANTLRException' has non-sendable type 'RecognitionException'; this is an error in the Swift 6 language mode
16 |
17 | public enum ANTLRException: Error {
18 | case parseCancellation(e: RecognitionException)
| `- warning: associated value 'parseCancellation(e:)' of 'Sendable'-conforming enum 'ANTLRException' has non-sendable type 'RecognitionException'; this is an error in the Swift 6 language mode
19 | case recognition(e: RecognitionException)
20 | }
/host/spi-builder-workspace/Sources/Antlr4/RecognitionException.swift:14:14: note: class 'RecognitionException' does not conform to the 'Sendable' protocol
12 | ///
13 |
14 | public class RecognitionException {
| `- note: class 'RecognitionException' does not conform to the 'Sendable' protocol
15 | ///
16 | /// The _org.antlr.v4.runtime.Recognizer_ where this exception originated.
/host/spi-builder-workspace/Sources/Antlr4/misc/exception/ANTLRException.swift:19:10: warning: associated value 'recognition(e:)' of 'Sendable'-conforming enum 'ANTLRException' has non-sendable type 'RecognitionException'; this is an error in the Swift 6 language mode
17 | public enum ANTLRException: Error {
18 | case parseCancellation(e: RecognitionException)
19 | case recognition(e: RecognitionException)
| `- warning: associated value 'recognition(e:)' of 'Sendable'-conforming enum 'ANTLRException' has non-sendable type 'RecognitionException'; this is an error in the Swift 6 language mode
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/RecognitionException.swift:14:14: note: class 'RecognitionException' does not conform to the 'Sendable' protocol
12 | ///
13 |
14 | public class RecognitionException {
| `- note: class 'RecognitionException' does not conform to the 'Sendable' protocol
15 | ///
16 | /// The _org.antlr.v4.runtime.Recognizer_ where this exception originated.
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/CommonUtil.swift:16:23: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | func errPrint(_ msg: String) {
16 | fputs(msg + "\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
17 | }
18 |
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/stdio.h:64:23: note: var declared here
62 | extern FILE* _Nonnull stdin __INTRODUCED_IN(23);
63 | extern FILE* _Nonnull stdout __INTRODUCED_IN(23);
64 | extern FILE* _Nonnull stderr __INTRODUCED_IN(23);
| `- note: var declared here
65 |
66 | /* C99 and earlier plus current C++ standards say these must be macros. */
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
156 | }
157 |
158 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
159 | return Unmanaged.passUnretained(self).toOpaque().hashValue
160 | // return unsafeAddress(of: self).hashValue
[117/158] Compiling Antlr4 AbstractParseTreeVisitor.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:65:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
63 |
64 |
65 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
66 | var hash: Int = 23
67 | hash = hash * 31 + a
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:15:23: warning: static property 'INVALID' is not concurrency-safe because non-'Sendable' type 'Interval' may have shared mutable state; this is an error in the Swift 6 language mode
10 | ///
11 |
12 | public class Interval: Hashable {
| `- note: class 'Interval' does not conform to the 'Sendable' protocol
13 | public static let INTERVAL_POOL_MAX_VALUE: Int = 1000
14 |
15 | public static let INVALID: Interval = Interval(-1, -2)
| |- warning: static property 'INVALID' is not concurrency-safe because non-'Sendable' type 'Interval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INVALID' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | //static var cache: Dictionary<Int, Interval> = Dictionary<Int, Interval>()
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:18:16: warning: static property 'cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | //static var cache: Dictionary<Int, Interval> = Dictionary<Int, Interval>()
18 | static var cache: Array<Interval?> = Array<Interval?>(repeating: nil, count: INTERVAL_POOL_MAX_VALUE + 1)
| |- warning: static property 'cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'cache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | // new; Interval[INTERVAL_POOL_MAX_VALUE+1];
20 |
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:24:23: warning: static property 'creates' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | public var b: Int
23 |
24 | public static var creates: Int = 0
| |- warning: static property 'creates' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'creates' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'creates' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static var misses: Int = 0
26 | public static var hits: Int = 0
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:25:23: warning: static property 'misses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | public static var creates: Int = 0
25 | public static var misses: Int = 0
| |- warning: static property 'misses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'misses' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'misses' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static var hits: Int = 0
27 | public static var outOfRange: Int = 0
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:26:23: warning: static property 'hits' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | public static var creates: Int = 0
25 | public static var misses: Int = 0
26 | public static var hits: Int = 0
| |- warning: static property 'hits' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'hits' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'hits' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | public static var outOfRange: Int = 0
28 |
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:27:23: warning: static property 'outOfRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | public static var misses: Int = 0
26 | public static var hits: Int = 0
27 | public static var outOfRange: Int = 0
| |- warning: static property 'outOfRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'outOfRange' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'outOfRange' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | public init(_ a: Int, _ b: Int) {
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
481 | return MurmurHash.finish(hash, intervals.count * 2)
482 | }
483 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:22:23: warning: static property 'COMPLETE_CHAR_SET' is not concurrency-safe because non-'Sendable' type 'IntervalSet' may have shared mutable state; this is an error in the Swift 6 language mode
19 | ///
20 |
21 | public class IntervalSet: IntSet, Hashable, CustomStringConvertible {
| `- note: class 'IntervalSet' does not conform to the 'Sendable' protocol
22 | public static let COMPLETE_CHAR_SET: IntervalSet =
| |- warning: static property 'COMPLETE_CHAR_SET' is not concurrency-safe because non-'Sendable' type 'IntervalSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'COMPLETE_CHAR_SET' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | {
24 | let set = IntervalSet.of(Lexer.MIN_CHAR_VALUE, Lexer.MAX_CHAR_VALUE)
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:29:23: warning: static property 'EMPTY_SET' is not concurrency-safe because non-'Sendable' type 'IntervalSet' may have shared mutable state; this is an error in the Swift 6 language mode
19 | ///
20 |
21 | public class IntervalSet: IntSet, Hashable, CustomStringConvertible {
| `- note: class 'IntervalSet' does not conform to the 'Sendable' protocol
22 | public static let COMPLETE_CHAR_SET: IntervalSet =
23 | {
:
27 | }()
28 |
29 | public static let EMPTY_SET: IntervalSet = {
| |- warning: static property 'EMPTY_SET' is not concurrency-safe because non-'Sendable' type 'IntervalSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY_SET' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | let set = IntervalSet()
31 | set.makeReadonly()
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:329:13: warning: variable 'myIntervals' was never mutated; consider changing to 'let' constant
327 | }
328 |
329 | var myIntervals = self.intervals
| `- warning: variable 'myIntervals' was never mutated; consider changing to 'let' constant
330 | var theirIntervals = (other as! IntervalSet).intervals
331 | var intersection: IntervalSet? = nil
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:330:13: warning: variable 'theirIntervals' was never mutated; consider changing to 'let' constant
328 |
329 | var myIntervals = self.intervals
330 | var theirIntervals = (other as! IntervalSet).intervals
| `- warning: variable 'theirIntervals' was never mutated; consider changing to 'let' constant
331 | var intersection: IntervalSet? = nil
332 | let mySize = myIntervals.count
/host/spi-builder-workspace/Sources/Antlr4/misc/exception/ANTLRException.swift:18:10: warning: associated value 'parseCancellation(e:)' of 'Sendable'-conforming enum 'ANTLRException' has non-sendable type 'RecognitionException'; this is an error in the Swift 6 language mode
16 |
17 | public enum ANTLRException: Error {
18 | case parseCancellation(e: RecognitionException)
| `- warning: associated value 'parseCancellation(e:)' of 'Sendable'-conforming enum 'ANTLRException' has non-sendable type 'RecognitionException'; this is an error in the Swift 6 language mode
19 | case recognition(e: RecognitionException)
20 | }
/host/spi-builder-workspace/Sources/Antlr4/RecognitionException.swift:14:14: note: class 'RecognitionException' does not conform to the 'Sendable' protocol
12 | ///
13 |
14 | public class RecognitionException {
| `- note: class 'RecognitionException' does not conform to the 'Sendable' protocol
15 | ///
16 | /// The _org.antlr.v4.runtime.Recognizer_ where this exception originated.
/host/spi-builder-workspace/Sources/Antlr4/misc/exception/ANTLRException.swift:19:10: warning: associated value 'recognition(e:)' of 'Sendable'-conforming enum 'ANTLRException' has non-sendable type 'RecognitionException'; this is an error in the Swift 6 language mode
17 | public enum ANTLRException: Error {
18 | case parseCancellation(e: RecognitionException)
19 | case recognition(e: RecognitionException)
| `- warning: associated value 'recognition(e:)' of 'Sendable'-conforming enum 'ANTLRException' has non-sendable type 'RecognitionException'; this is an error in the Swift 6 language mode
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/RecognitionException.swift:14:14: note: class 'RecognitionException' does not conform to the 'Sendable' protocol
12 | ///
13 |
14 | public class RecognitionException {
| `- note: class 'RecognitionException' does not conform to the 'Sendable' protocol
15 | ///
16 | /// The _org.antlr.v4.runtime.Recognizer_ where this exception originated.
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/CommonUtil.swift:16:23: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | func errPrint(_ msg: String) {
16 | fputs(msg + "\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
17 | }
18 |
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/stdio.h:64:23: note: var declared here
62 | extern FILE* _Nonnull stdin __INTRODUCED_IN(23);
63 | extern FILE* _Nonnull stdout __INTRODUCED_IN(23);
64 | extern FILE* _Nonnull stderr __INTRODUCED_IN(23);
| `- note: var declared here
65 |
66 | /* C99 and earlier plus current C++ standards say these must be macros. */
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
156 | }
157 |
158 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
159 | return Unmanaged.passUnretained(self).toOpaque().hashValue
160 | // return unsafeAddress(of: self).hashValue
[118/158] Compiling Antlr4 ANTLRErrorListener.swift
/host/spi-builder-workspace/Sources/Antlr4/CommonTokenFactory.swift:22:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// tokens.
21 | ///
22 | public static let DEFAULT: TokenFactory = CommonTokenFactory()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DEFAULT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:11:17: note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
9 | /// of a new factory means that it notifies it's token source and error strategy.
10 | ///
11 | public protocol TokenFactory {
| `- note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
12 |
13 | //typealias Symbol
/host/spi-builder-workspace/Sources/Antlr4/ConsoleErrorListener.swift:17:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 |
13 | public class ConsoleErrorListener: BaseErrorListener {
| `- note: class 'ConsoleErrorListener' does not conform to the 'Sendable' protocol
14 | ///
15 | /// Provides a default instance of _org.antlr.v4.runtime.ConsoleErrorListener_.
16 | ///
17 | public static let INSTANCE: ConsoleErrorListener = ConsoleErrorListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/host/spi-builder-workspace/Sources/Antlr4/DiagnosticErrorListener.swift:104:13: warning: variable 'ruleNames' was never mutated; consider changing to 'let' constant
102 | let ruleIndex: Int = dfa.atnStartState.ruleIndex!
103 |
104 | var ruleNames: [String] = recognizer.getRuleNames()
| `- warning: variable 'ruleNames' was never mutated; consider changing to 'let' constant
105 | if ruleIndex < 0 || ruleIndex >= ruleNames.count {
106 | return String(decision)
/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
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:65:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
63 |
64 |
65 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
66 | var hash: Int = 23
67 | hash = hash * 31 + a
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
156 | }
157 |
158 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
159 | return Unmanaged.passUnretained(self).toOpaque().hashValue
160 | // return unsafeAddress(of: self).hashValue
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
481 | return MurmurHash.finish(hash, intervals.count * 2)
482 | }
483 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
/host/spi-builder-workspace/Sources/Antlr4/atn/ATNState.swift:126:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
124 |
125 |
126 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
127 | return stateNumber
128 | }
[119/158] Compiling Antlr4 ANTLRErrorStrategy.swift
/host/spi-builder-workspace/Sources/Antlr4/CommonTokenFactory.swift:22:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// tokens.
21 | ///
22 | public static let DEFAULT: TokenFactory = CommonTokenFactory()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DEFAULT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:11:17: note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
9 | /// of a new factory means that it notifies it's token source and error strategy.
10 | ///
11 | public protocol TokenFactory {
| `- note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
12 |
13 | //typealias Symbol
/host/spi-builder-workspace/Sources/Antlr4/ConsoleErrorListener.swift:17:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 |
13 | public class ConsoleErrorListener: BaseErrorListener {
| `- note: class 'ConsoleErrorListener' does not conform to the 'Sendable' protocol
14 | ///
15 | /// Provides a default instance of _org.antlr.v4.runtime.ConsoleErrorListener_.
16 | ///
17 | public static let INSTANCE: ConsoleErrorListener = ConsoleErrorListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/host/spi-builder-workspace/Sources/Antlr4/DiagnosticErrorListener.swift:104:13: warning: variable 'ruleNames' was never mutated; consider changing to 'let' constant
102 | let ruleIndex: Int = dfa.atnStartState.ruleIndex!
103 |
104 | var ruleNames: [String] = recognizer.getRuleNames()
| `- warning: variable 'ruleNames' was never mutated; consider changing to 'let' constant
105 | if ruleIndex < 0 || ruleIndex >= ruleNames.count {
106 | return String(decision)
/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
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:65:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
63 |
64 |
65 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
66 | var hash: Int = 23
67 | hash = hash * 31 + a
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
156 | }
157 |
158 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
159 | return Unmanaged.passUnretained(self).toOpaque().hashValue
160 | // return unsafeAddress(of: self).hashValue
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
481 | return MurmurHash.finish(hash, intervals.count * 2)
482 | }
483 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
/host/spi-builder-workspace/Sources/Antlr4/atn/ATNState.swift:126:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
124 |
125 |
126 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
127 | return stateNumber
128 | }
[120/158] Compiling Antlr4 ANTLRFileStream.swift
/host/spi-builder-workspace/Sources/Antlr4/CommonTokenFactory.swift:22:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// tokens.
21 | ///
22 | public static let DEFAULT: TokenFactory = CommonTokenFactory()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DEFAULT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:11:17: note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
9 | /// of a new factory means that it notifies it's token source and error strategy.
10 | ///
11 | public protocol TokenFactory {
| `- note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
12 |
13 | //typealias Symbol
/host/spi-builder-workspace/Sources/Antlr4/ConsoleErrorListener.swift:17:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 |
13 | public class ConsoleErrorListener: BaseErrorListener {
| `- note: class 'ConsoleErrorListener' does not conform to the 'Sendable' protocol
14 | ///
15 | /// Provides a default instance of _org.antlr.v4.runtime.ConsoleErrorListener_.
16 | ///
17 | public static let INSTANCE: ConsoleErrorListener = ConsoleErrorListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/host/spi-builder-workspace/Sources/Antlr4/DiagnosticErrorListener.swift:104:13: warning: variable 'ruleNames' was never mutated; consider changing to 'let' constant
102 | let ruleIndex: Int = dfa.atnStartState.ruleIndex!
103 |
104 | var ruleNames: [String] = recognizer.getRuleNames()
| `- warning: variable 'ruleNames' was never mutated; consider changing to 'let' constant
105 | if ruleIndex < 0 || ruleIndex >= ruleNames.count {
106 | return String(decision)
/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
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:65:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
63 |
64 |
65 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
66 | var hash: Int = 23
67 | hash = hash * 31 + a
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
156 | }
157 |
158 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
159 | return Unmanaged.passUnretained(self).toOpaque().hashValue
160 | // return unsafeAddress(of: self).hashValue
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
481 | return MurmurHash.finish(hash, intervals.count * 2)
482 | }
483 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
/host/spi-builder-workspace/Sources/Antlr4/atn/ATNState.swift:126:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
124 |
125 |
126 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
127 | return stateNumber
128 | }
[121/158] Compiling Antlr4 ANTLRInputStream.swift
/host/spi-builder-workspace/Sources/Antlr4/CommonTokenFactory.swift:22:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// tokens.
21 | ///
22 | public static let DEFAULT: TokenFactory = CommonTokenFactory()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DEFAULT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:11:17: note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
9 | /// of a new factory means that it notifies it's token source and error strategy.
10 | ///
11 | public protocol TokenFactory {
| `- note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
12 |
13 | //typealias Symbol
/host/spi-builder-workspace/Sources/Antlr4/ConsoleErrorListener.swift:17:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 |
13 | public class ConsoleErrorListener: BaseErrorListener {
| `- note: class 'ConsoleErrorListener' does not conform to the 'Sendable' protocol
14 | ///
15 | /// Provides a default instance of _org.antlr.v4.runtime.ConsoleErrorListener_.
16 | ///
17 | public static let INSTANCE: ConsoleErrorListener = ConsoleErrorListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/host/spi-builder-workspace/Sources/Antlr4/DiagnosticErrorListener.swift:104:13: warning: variable 'ruleNames' was never mutated; consider changing to 'let' constant
102 | let ruleIndex: Int = dfa.atnStartState.ruleIndex!
103 |
104 | var ruleNames: [String] = recognizer.getRuleNames()
| `- warning: variable 'ruleNames' was never mutated; consider changing to 'let' constant
105 | if ruleIndex < 0 || ruleIndex >= ruleNames.count {
106 | return String(decision)
/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
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:65:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
63 |
64 |
65 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
66 | var hash: Int = 23
67 | hash = hash * 31 + a
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
156 | }
157 |
158 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
159 | return Unmanaged.passUnretained(self).toOpaque().hashValue
160 | // return unsafeAddress(of: self).hashValue
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
481 | return MurmurHash.finish(hash, intervals.count * 2)
482 | }
483 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
/host/spi-builder-workspace/Sources/Antlr4/atn/ATNState.swift:126:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
124 |
125 |
126 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
127 | return stateNumber
128 | }
[122/158] Compiling Antlr4 BailErrorStrategy.swift
/host/spi-builder-workspace/Sources/Antlr4/CommonTokenFactory.swift:22:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// tokens.
21 | ///
22 | public static let DEFAULT: TokenFactory = CommonTokenFactory()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DEFAULT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:11:17: note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
9 | /// of a new factory means that it notifies it's token source and error strategy.
10 | ///
11 | public protocol TokenFactory {
| `- note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
12 |
13 | //typealias Symbol
/host/spi-builder-workspace/Sources/Antlr4/ConsoleErrorListener.swift:17:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 |
13 | public class ConsoleErrorListener: BaseErrorListener {
| `- note: class 'ConsoleErrorListener' does not conform to the 'Sendable' protocol
14 | ///
15 | /// Provides a default instance of _org.antlr.v4.runtime.ConsoleErrorListener_.
16 | ///
17 | public static let INSTANCE: ConsoleErrorListener = ConsoleErrorListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/host/spi-builder-workspace/Sources/Antlr4/DiagnosticErrorListener.swift:104:13: warning: variable 'ruleNames' was never mutated; consider changing to 'let' constant
102 | let ruleIndex: Int = dfa.atnStartState.ruleIndex!
103 |
104 | var ruleNames: [String] = recognizer.getRuleNames()
| `- warning: variable 'ruleNames' was never mutated; consider changing to 'let' constant
105 | if ruleIndex < 0 || ruleIndex >= ruleNames.count {
106 | return String(decision)
/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
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:65:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
63 |
64 |
65 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
66 | var hash: Int = 23
67 | hash = hash * 31 + a
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
156 | }
157 |
158 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
159 | return Unmanaged.passUnretained(self).toOpaque().hashValue
160 | // return unsafeAddress(of: self).hashValue
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
481 | return MurmurHash.finish(hash, intervals.count * 2)
482 | }
483 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
/host/spi-builder-workspace/Sources/Antlr4/atn/ATNState.swift:126:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
124 |
125 |
126 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
127 | return stateNumber
128 | }
[123/158] Compiling Antlr4 BaseErrorListener.swift
/host/spi-builder-workspace/Sources/Antlr4/CommonTokenFactory.swift:22:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// tokens.
21 | ///
22 | public static let DEFAULT: TokenFactory = CommonTokenFactory()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DEFAULT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:11:17: note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
9 | /// of a new factory means that it notifies it's token source and error strategy.
10 | ///
11 | public protocol TokenFactory {
| `- note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
12 |
13 | //typealias Symbol
/host/spi-builder-workspace/Sources/Antlr4/ConsoleErrorListener.swift:17:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 |
13 | public class ConsoleErrorListener: BaseErrorListener {
| `- note: class 'ConsoleErrorListener' does not conform to the 'Sendable' protocol
14 | ///
15 | /// Provides a default instance of _org.antlr.v4.runtime.ConsoleErrorListener_.
16 | ///
17 | public static let INSTANCE: ConsoleErrorListener = ConsoleErrorListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/host/spi-builder-workspace/Sources/Antlr4/DiagnosticErrorListener.swift:104:13: warning: variable 'ruleNames' was never mutated; consider changing to 'let' constant
102 | let ruleIndex: Int = dfa.atnStartState.ruleIndex!
103 |
104 | var ruleNames: [String] = recognizer.getRuleNames()
| `- warning: variable 'ruleNames' was never mutated; consider changing to 'let' constant
105 | if ruleIndex < 0 || ruleIndex >= ruleNames.count {
106 | return String(decision)
/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
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:65:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
63 |
64 |
65 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
66 | var hash: Int = 23
67 | hash = hash * 31 + a
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
156 | }
157 |
158 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
159 | return Unmanaged.passUnretained(self).toOpaque().hashValue
160 | // return unsafeAddress(of: self).hashValue
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
481 | return MurmurHash.finish(hash, intervals.count * 2)
482 | }
483 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
/host/spi-builder-workspace/Sources/Antlr4/atn/ATNState.swift:126:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
124 |
125 |
126 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
127 | return stateNumber
128 | }
[124/158] Compiling Antlr4 BufferedTokenStream.swift
/host/spi-builder-workspace/Sources/Antlr4/CommonTokenFactory.swift:22:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// tokens.
21 | ///
22 | public static let DEFAULT: TokenFactory = CommonTokenFactory()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DEFAULT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:11:17: note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
9 | /// of a new factory means that it notifies it's token source and error strategy.
10 | ///
11 | public protocol TokenFactory {
| `- note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
12 |
13 | //typealias Symbol
/host/spi-builder-workspace/Sources/Antlr4/ConsoleErrorListener.swift:17:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 |
13 | public class ConsoleErrorListener: BaseErrorListener {
| `- note: class 'ConsoleErrorListener' does not conform to the 'Sendable' protocol
14 | ///
15 | /// Provides a default instance of _org.antlr.v4.runtime.ConsoleErrorListener_.
16 | ///
17 | public static let INSTANCE: ConsoleErrorListener = ConsoleErrorListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/host/spi-builder-workspace/Sources/Antlr4/DiagnosticErrorListener.swift:104:13: warning: variable 'ruleNames' was never mutated; consider changing to 'let' constant
102 | let ruleIndex: Int = dfa.atnStartState.ruleIndex!
103 |
104 | var ruleNames: [String] = recognizer.getRuleNames()
| `- warning: variable 'ruleNames' was never mutated; consider changing to 'let' constant
105 | if ruleIndex < 0 || ruleIndex >= ruleNames.count {
106 | return String(decision)
/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
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:65:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
63 |
64 |
65 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
66 | var hash: Int = 23
67 | hash = hash * 31 + a
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
156 | }
157 |
158 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
159 | return Unmanaged.passUnretained(self).toOpaque().hashValue
160 | // return unsafeAddress(of: self).hashValue
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
481 | return MurmurHash.finish(hash, intervals.count * 2)
482 | }
483 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
/host/spi-builder-workspace/Sources/Antlr4/atn/ATNState.swift:126:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
124 |
125 |
126 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
127 | return stateNumber
128 | }
[125/158] Compiling Antlr4 CharStream.swift
/host/spi-builder-workspace/Sources/Antlr4/CommonTokenFactory.swift:22:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// tokens.
21 | ///
22 | public static let DEFAULT: TokenFactory = CommonTokenFactory()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DEFAULT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:11:17: note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
9 | /// of a new factory means that it notifies it's token source and error strategy.
10 | ///
11 | public protocol TokenFactory {
| `- note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
12 |
13 | //typealias Symbol
/host/spi-builder-workspace/Sources/Antlr4/ConsoleErrorListener.swift:17:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 |
13 | public class ConsoleErrorListener: BaseErrorListener {
| `- note: class 'ConsoleErrorListener' does not conform to the 'Sendable' protocol
14 | ///
15 | /// Provides a default instance of _org.antlr.v4.runtime.ConsoleErrorListener_.
16 | ///
17 | public static let INSTANCE: ConsoleErrorListener = ConsoleErrorListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/host/spi-builder-workspace/Sources/Antlr4/DiagnosticErrorListener.swift:104:13: warning: variable 'ruleNames' was never mutated; consider changing to 'let' constant
102 | let ruleIndex: Int = dfa.atnStartState.ruleIndex!
103 |
104 | var ruleNames: [String] = recognizer.getRuleNames()
| `- warning: variable 'ruleNames' was never mutated; consider changing to 'let' constant
105 | if ruleIndex < 0 || ruleIndex >= ruleNames.count {
106 | return String(decision)
/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
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:65:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
63 |
64 |
65 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
66 | var hash: Int = 23
67 | hash = hash * 31 + a
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
156 | }
157 |
158 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
159 | return Unmanaged.passUnretained(self).toOpaque().hashValue
160 | // return unsafeAddress(of: self).hashValue
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
481 | return MurmurHash.finish(hash, intervals.count * 2)
482 | }
483 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
/host/spi-builder-workspace/Sources/Antlr4/atn/ATNState.swift:126:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
124 |
125 |
126 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
127 | return stateNumber
128 | }
[126/158] Compiling Antlr4 CommonToken.swift
/host/spi-builder-workspace/Sources/Antlr4/CommonTokenFactory.swift:22:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// tokens.
21 | ///
22 | public static let DEFAULT: TokenFactory = CommonTokenFactory()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DEFAULT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:11:17: note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
9 | /// of a new factory means that it notifies it's token source and error strategy.
10 | ///
11 | public protocol TokenFactory {
| `- note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
12 |
13 | //typealias Symbol
/host/spi-builder-workspace/Sources/Antlr4/ConsoleErrorListener.swift:17:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 |
13 | public class ConsoleErrorListener: BaseErrorListener {
| `- note: class 'ConsoleErrorListener' does not conform to the 'Sendable' protocol
14 | ///
15 | /// Provides a default instance of _org.antlr.v4.runtime.ConsoleErrorListener_.
16 | ///
17 | public static let INSTANCE: ConsoleErrorListener = ConsoleErrorListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/host/spi-builder-workspace/Sources/Antlr4/DiagnosticErrorListener.swift:104:13: warning: variable 'ruleNames' was never mutated; consider changing to 'let' constant
102 | let ruleIndex: Int = dfa.atnStartState.ruleIndex!
103 |
104 | var ruleNames: [String] = recognizer.getRuleNames()
| `- warning: variable 'ruleNames' was never mutated; consider changing to 'let' constant
105 | if ruleIndex < 0 || ruleIndex >= ruleNames.count {
106 | return String(decision)
/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
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:65:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
63 |
64 |
65 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
66 | var hash: Int = 23
67 | hash = hash * 31 + a
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
156 | }
157 |
158 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
159 | return Unmanaged.passUnretained(self).toOpaque().hashValue
160 | // return unsafeAddress(of: self).hashValue
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
481 | return MurmurHash.finish(hash, intervals.count * 2)
482 | }
483 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
/host/spi-builder-workspace/Sources/Antlr4/atn/ATNState.swift:126:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
124 |
125 |
126 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
127 | return stateNumber
128 | }
[127/158] Compiling Antlr4 CommonTokenFactory.swift
/host/spi-builder-workspace/Sources/Antlr4/CommonTokenFactory.swift:22:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// tokens.
21 | ///
22 | public static let DEFAULT: TokenFactory = CommonTokenFactory()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DEFAULT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:11:17: note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
9 | /// of a new factory means that it notifies it's token source and error strategy.
10 | ///
11 | public protocol TokenFactory {
| `- note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
12 |
13 | //typealias Symbol
/host/spi-builder-workspace/Sources/Antlr4/ConsoleErrorListener.swift:17:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 |
13 | public class ConsoleErrorListener: BaseErrorListener {
| `- note: class 'ConsoleErrorListener' does not conform to the 'Sendable' protocol
14 | ///
15 | /// Provides a default instance of _org.antlr.v4.runtime.ConsoleErrorListener_.
16 | ///
17 | public static let INSTANCE: ConsoleErrorListener = ConsoleErrorListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/host/spi-builder-workspace/Sources/Antlr4/DiagnosticErrorListener.swift:104:13: warning: variable 'ruleNames' was never mutated; consider changing to 'let' constant
102 | let ruleIndex: Int = dfa.atnStartState.ruleIndex!
103 |
104 | var ruleNames: [String] = recognizer.getRuleNames()
| `- warning: variable 'ruleNames' was never mutated; consider changing to 'let' constant
105 | if ruleIndex < 0 || ruleIndex >= ruleNames.count {
106 | return String(decision)
/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
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:65:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
63 |
64 |
65 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
66 | var hash: Int = 23
67 | hash = hash * 31 + a
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
156 | }
157 |
158 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
159 | return Unmanaged.passUnretained(self).toOpaque().hashValue
160 | // return unsafeAddress(of: self).hashValue
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
481 | return MurmurHash.finish(hash, intervals.count * 2)
482 | }
483 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
/host/spi-builder-workspace/Sources/Antlr4/atn/ATNState.swift:126:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
124 |
125 |
126 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
127 | return stateNumber
128 | }
[128/158] Compiling Antlr4 CommonTokenStream.swift
/host/spi-builder-workspace/Sources/Antlr4/CommonTokenFactory.swift:22:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// tokens.
21 | ///
22 | public static let DEFAULT: TokenFactory = CommonTokenFactory()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DEFAULT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:11:17: note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
9 | /// of a new factory means that it notifies it's token source and error strategy.
10 | ///
11 | public protocol TokenFactory {
| `- note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
12 |
13 | //typealias Symbol
/host/spi-builder-workspace/Sources/Antlr4/ConsoleErrorListener.swift:17:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 |
13 | public class ConsoleErrorListener: BaseErrorListener {
| `- note: class 'ConsoleErrorListener' does not conform to the 'Sendable' protocol
14 | ///
15 | /// Provides a default instance of _org.antlr.v4.runtime.ConsoleErrorListener_.
16 | ///
17 | public static let INSTANCE: ConsoleErrorListener = ConsoleErrorListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/host/spi-builder-workspace/Sources/Antlr4/DiagnosticErrorListener.swift:104:13: warning: variable 'ruleNames' was never mutated; consider changing to 'let' constant
102 | let ruleIndex: Int = dfa.atnStartState.ruleIndex!
103 |
104 | var ruleNames: [String] = recognizer.getRuleNames()
| `- warning: variable 'ruleNames' was never mutated; consider changing to 'let' constant
105 | if ruleIndex < 0 || ruleIndex >= ruleNames.count {
106 | return String(decision)
/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
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:65:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
63 |
64 |
65 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
66 | var hash: Int = 23
67 | hash = hash * 31 + a
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
156 | }
157 |
158 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
159 | return Unmanaged.passUnretained(self).toOpaque().hashValue
160 | // return unsafeAddress(of: self).hashValue
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
481 | return MurmurHash.finish(hash, intervals.count * 2)
482 | }
483 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
/host/spi-builder-workspace/Sources/Antlr4/atn/ATNState.swift:126:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
124 |
125 |
126 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
127 | return stateNumber
128 | }
[129/158] Compiling Antlr4 ConsoleErrorListener.swift
/host/spi-builder-workspace/Sources/Antlr4/CommonTokenFactory.swift:22:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// tokens.
21 | ///
22 | public static let DEFAULT: TokenFactory = CommonTokenFactory()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DEFAULT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:11:17: note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
9 | /// of a new factory means that it notifies it's token source and error strategy.
10 | ///
11 | public protocol TokenFactory {
| `- note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
12 |
13 | //typealias Symbol
/host/spi-builder-workspace/Sources/Antlr4/ConsoleErrorListener.swift:17:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 |
13 | public class ConsoleErrorListener: BaseErrorListener {
| `- note: class 'ConsoleErrorListener' does not conform to the 'Sendable' protocol
14 | ///
15 | /// Provides a default instance of _org.antlr.v4.runtime.ConsoleErrorListener_.
16 | ///
17 | public static let INSTANCE: ConsoleErrorListener = ConsoleErrorListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/host/spi-builder-workspace/Sources/Antlr4/DiagnosticErrorListener.swift:104:13: warning: variable 'ruleNames' was never mutated; consider changing to 'let' constant
102 | let ruleIndex: Int = dfa.atnStartState.ruleIndex!
103 |
104 | var ruleNames: [String] = recognizer.getRuleNames()
| `- warning: variable 'ruleNames' was never mutated; consider changing to 'let' constant
105 | if ruleIndex < 0 || ruleIndex >= ruleNames.count {
106 | return String(decision)
/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
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:65:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
63 |
64 |
65 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
66 | var hash: Int = 23
67 | hash = hash * 31 + a
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
156 | }
157 |
158 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
159 | return Unmanaged.passUnretained(self).toOpaque().hashValue
160 | // return unsafeAddress(of: self).hashValue
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
481 | return MurmurHash.finish(hash, intervals.count * 2)
482 | }
483 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
/host/spi-builder-workspace/Sources/Antlr4/atn/ATNState.swift:126:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
124 |
125 |
126 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
127 | return stateNumber
128 | }
[130/158] Compiling Antlr4 DefaultErrorStrategy.swift
/host/spi-builder-workspace/Sources/Antlr4/CommonTokenFactory.swift:22:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// tokens.
21 | ///
22 | public static let DEFAULT: TokenFactory = CommonTokenFactory()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DEFAULT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:11:17: note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
9 | /// of a new factory means that it notifies it's token source and error strategy.
10 | ///
11 | public protocol TokenFactory {
| `- note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
12 |
13 | //typealias Symbol
/host/spi-builder-workspace/Sources/Antlr4/ConsoleErrorListener.swift:17:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 |
13 | public class ConsoleErrorListener: BaseErrorListener {
| `- note: class 'ConsoleErrorListener' does not conform to the 'Sendable' protocol
14 | ///
15 | /// Provides a default instance of _org.antlr.v4.runtime.ConsoleErrorListener_.
16 | ///
17 | public static let INSTANCE: ConsoleErrorListener = ConsoleErrorListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/host/spi-builder-workspace/Sources/Antlr4/DiagnosticErrorListener.swift:104:13: warning: variable 'ruleNames' was never mutated; consider changing to 'let' constant
102 | let ruleIndex: Int = dfa.atnStartState.ruleIndex!
103 |
104 | var ruleNames: [String] = recognizer.getRuleNames()
| `- warning: variable 'ruleNames' was never mutated; consider changing to 'let' constant
105 | if ruleIndex < 0 || ruleIndex >= ruleNames.count {
106 | return String(decision)
/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
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:65:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
63 |
64 |
65 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
66 | var hash: Int = 23
67 | hash = hash * 31 + a
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
156 | }
157 |
158 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
159 | return Unmanaged.passUnretained(self).toOpaque().hashValue
160 | // return unsafeAddress(of: self).hashValue
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
481 | return MurmurHash.finish(hash, intervals.count * 2)
482 | }
483 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
/host/spi-builder-workspace/Sources/Antlr4/atn/ATNState.swift:126:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
124 |
125 |
126 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
127 | return stateNumber
128 | }
[131/158] Compiling Antlr4 DiagnosticErrorListener.swift
/host/spi-builder-workspace/Sources/Antlr4/CommonTokenFactory.swift:22:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// tokens.
21 | ///
22 | public static let DEFAULT: TokenFactory = CommonTokenFactory()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DEFAULT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:11:17: note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
9 | /// of a new factory means that it notifies it's token source and error strategy.
10 | ///
11 | public protocol TokenFactory {
| `- note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
12 |
13 | //typealias Symbol
/host/spi-builder-workspace/Sources/Antlr4/ConsoleErrorListener.swift:17:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 |
13 | public class ConsoleErrorListener: BaseErrorListener {
| `- note: class 'ConsoleErrorListener' does not conform to the 'Sendable' protocol
14 | ///
15 | /// Provides a default instance of _org.antlr.v4.runtime.ConsoleErrorListener_.
16 | ///
17 | public static let INSTANCE: ConsoleErrorListener = ConsoleErrorListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/host/spi-builder-workspace/Sources/Antlr4/DiagnosticErrorListener.swift:104:13: warning: variable 'ruleNames' was never mutated; consider changing to 'let' constant
102 | let ruleIndex: Int = dfa.atnStartState.ruleIndex!
103 |
104 | var ruleNames: [String] = recognizer.getRuleNames()
| `- warning: variable 'ruleNames' was never mutated; consider changing to 'let' constant
105 | if ruleIndex < 0 || ruleIndex >= ruleNames.count {
106 | return String(decision)
/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
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:65:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
63 |
64 |
65 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
66 | var hash: Int = 23
67 | hash = hash * 31 + a
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
156 | }
157 |
158 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
159 | return Unmanaged.passUnretained(self).toOpaque().hashValue
160 | // return unsafeAddress(of: self).hashValue
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
481 | return MurmurHash.finish(hash, intervals.count * 2)
482 | }
483 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
/host/spi-builder-workspace/Sources/Antlr4/atn/ATNState.swift:126:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
124 |
125 |
126 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
127 | return stateNumber
128 | }
[132/158] Compiling Antlr4 FailedPredicateException.swift
/host/spi-builder-workspace/Sources/Antlr4/CommonTokenFactory.swift:22:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// tokens.
21 | ///
22 | public static let DEFAULT: TokenFactory = CommonTokenFactory()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DEFAULT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:11:17: note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
9 | /// of a new factory means that it notifies it's token source and error strategy.
10 | ///
11 | public protocol TokenFactory {
| `- note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
12 |
13 | //typealias Symbol
/host/spi-builder-workspace/Sources/Antlr4/ConsoleErrorListener.swift:17:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 |
13 | public class ConsoleErrorListener: BaseErrorListener {
| `- note: class 'ConsoleErrorListener' does not conform to the 'Sendable' protocol
14 | ///
15 | /// Provides a default instance of _org.antlr.v4.runtime.ConsoleErrorListener_.
16 | ///
17 | public static let INSTANCE: ConsoleErrorListener = ConsoleErrorListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/host/spi-builder-workspace/Sources/Antlr4/DiagnosticErrorListener.swift:104:13: warning: variable 'ruleNames' was never mutated; consider changing to 'let' constant
102 | let ruleIndex: Int = dfa.atnStartState.ruleIndex!
103 |
104 | var ruleNames: [String] = recognizer.getRuleNames()
| `- warning: variable 'ruleNames' was never mutated; consider changing to 'let' constant
105 | if ruleIndex < 0 || ruleIndex >= ruleNames.count {
106 | return String(decision)
/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
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:65:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
63 |
64 |
65 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
66 | var hash: Int = 23
67 | hash = hash * 31 + a
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
156 | }
157 |
158 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
159 | return Unmanaged.passUnretained(self).toOpaque().hashValue
160 | // return unsafeAddress(of: self).hashValue
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
481 | return MurmurHash.finish(hash, intervals.count * 2)
482 | }
483 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
/host/spi-builder-workspace/Sources/Antlr4/atn/ATNState.swift:126:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
124 |
125 |
126 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
127 | return stateNumber
128 | }
[133/158] Compiling Antlr4 InputMismatchException.swift
/host/spi-builder-workspace/Sources/Antlr4/CommonTokenFactory.swift:22:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// tokens.
21 | ///
22 | public static let DEFAULT: TokenFactory = CommonTokenFactory()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DEFAULT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:11:17: note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
9 | /// of a new factory means that it notifies it's token source and error strategy.
10 | ///
11 | public protocol TokenFactory {
| `- note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
12 |
13 | //typealias Symbol
/host/spi-builder-workspace/Sources/Antlr4/ConsoleErrorListener.swift:17:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 |
13 | public class ConsoleErrorListener: BaseErrorListener {
| `- note: class 'ConsoleErrorListener' does not conform to the 'Sendable' protocol
14 | ///
15 | /// Provides a default instance of _org.antlr.v4.runtime.ConsoleErrorListener_.
16 | ///
17 | public static let INSTANCE: ConsoleErrorListener = ConsoleErrorListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/host/spi-builder-workspace/Sources/Antlr4/DiagnosticErrorListener.swift:104:13: warning: variable 'ruleNames' was never mutated; consider changing to 'let' constant
102 | let ruleIndex: Int = dfa.atnStartState.ruleIndex!
103 |
104 | var ruleNames: [String] = recognizer.getRuleNames()
| `- warning: variable 'ruleNames' was never mutated; consider changing to 'let' constant
105 | if ruleIndex < 0 || ruleIndex >= ruleNames.count {
106 | return String(decision)
/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
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:65:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
63 |
64 |
65 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
66 | var hash: Int = 23
67 | hash = hash * 31 + a
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
156 | }
157 |
158 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
159 | return Unmanaged.passUnretained(self).toOpaque().hashValue
160 | // return unsafeAddress(of: self).hashValue
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
481 | return MurmurHash.finish(hash, intervals.count * 2)
482 | }
483 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
/host/spi-builder-workspace/Sources/Antlr4/atn/ATNState.swift:126:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
124 |
125 |
126 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
127 | return stateNumber
128 | }
[134/158] Compiling Antlr4 IntStream.swift
/host/spi-builder-workspace/Sources/Antlr4/CommonTokenFactory.swift:22:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// tokens.
21 | ///
22 | public static let DEFAULT: TokenFactory = CommonTokenFactory()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DEFAULT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:11:17: note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
9 | /// of a new factory means that it notifies it's token source and error strategy.
10 | ///
11 | public protocol TokenFactory {
| `- note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
12 |
13 | //typealias Symbol
/host/spi-builder-workspace/Sources/Antlr4/ConsoleErrorListener.swift:17:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 |
13 | public class ConsoleErrorListener: BaseErrorListener {
| `- note: class 'ConsoleErrorListener' does not conform to the 'Sendable' protocol
14 | ///
15 | /// Provides a default instance of _org.antlr.v4.runtime.ConsoleErrorListener_.
16 | ///
17 | public static let INSTANCE: ConsoleErrorListener = ConsoleErrorListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/host/spi-builder-workspace/Sources/Antlr4/DiagnosticErrorListener.swift:104:13: warning: variable 'ruleNames' was never mutated; consider changing to 'let' constant
102 | let ruleIndex: Int = dfa.atnStartState.ruleIndex!
103 |
104 | var ruleNames: [String] = recognizer.getRuleNames()
| `- warning: variable 'ruleNames' was never mutated; consider changing to 'let' constant
105 | if ruleIndex < 0 || ruleIndex >= ruleNames.count {
106 | return String(decision)
/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
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:65:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
63 |
64 |
65 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
66 | var hash: Int = 23
67 | hash = hash * 31 + a
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
156 | }
157 |
158 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
159 | return Unmanaged.passUnretained(self).toOpaque().hashValue
160 | // return unsafeAddress(of: self).hashValue
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
481 | return MurmurHash.finish(hash, intervals.count * 2)
482 | }
483 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
/host/spi-builder-workspace/Sources/Antlr4/atn/ATNState.swift:126:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
124 |
125 |
126 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
127 | return stateNumber
128 | }
[135/158] Compiling Antlr4 InterpreterRuleContext.swift
/host/spi-builder-workspace/Sources/Antlr4/CommonTokenFactory.swift:22:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// tokens.
21 | ///
22 | public static let DEFAULT: TokenFactory = CommonTokenFactory()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DEFAULT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:11:17: note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
9 | /// of a new factory means that it notifies it's token source and error strategy.
10 | ///
11 | public protocol TokenFactory {
| `- note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
12 |
13 | //typealias Symbol
/host/spi-builder-workspace/Sources/Antlr4/ConsoleErrorListener.swift:17:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 |
13 | public class ConsoleErrorListener: BaseErrorListener {
| `- note: class 'ConsoleErrorListener' does not conform to the 'Sendable' protocol
14 | ///
15 | /// Provides a default instance of _org.antlr.v4.runtime.ConsoleErrorListener_.
16 | ///
17 | public static let INSTANCE: ConsoleErrorListener = ConsoleErrorListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/host/spi-builder-workspace/Sources/Antlr4/DiagnosticErrorListener.swift:104:13: warning: variable 'ruleNames' was never mutated; consider changing to 'let' constant
102 | let ruleIndex: Int = dfa.atnStartState.ruleIndex!
103 |
104 | var ruleNames: [String] = recognizer.getRuleNames()
| `- warning: variable 'ruleNames' was never mutated; consider changing to 'let' constant
105 | if ruleIndex < 0 || ruleIndex >= ruleNames.count {
106 | return String(decision)
/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
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:65:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
63 |
64 |
65 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
66 | var hash: Int = 23
67 | hash = hash * 31 + a
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
156 | }
157 |
158 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
159 | return Unmanaged.passUnretained(self).toOpaque().hashValue
160 | // return unsafeAddress(of: self).hashValue
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
481 | return MurmurHash.finish(hash, intervals.count * 2)
482 | }
483 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
/host/spi-builder-workspace/Sources/Antlr4/atn/ATNState.swift:126:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
124 |
125 |
126 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
127 | return stateNumber
128 | }
[136/158] Compiling Antlr4 Lexer.swift
/host/spi-builder-workspace/Sources/Antlr4/CommonTokenFactory.swift:22:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// tokens.
21 | ///
22 | public static let DEFAULT: TokenFactory = CommonTokenFactory()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'any TokenFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DEFAULT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/host/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:11:17: note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
9 | /// of a new factory means that it notifies it's token source and error strategy.
10 | ///
11 | public protocol TokenFactory {
| `- note: protocol 'TokenFactory' does not conform to the 'Sendable' protocol
12 |
13 | //typealias Symbol
/host/spi-builder-workspace/Sources/Antlr4/ConsoleErrorListener.swift:17:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 |
13 | public class ConsoleErrorListener: BaseErrorListener {
| `- note: class 'ConsoleErrorListener' does not conform to the 'Sendable' protocol
14 | ///
15 | /// Provides a default instance of _org.antlr.v4.runtime.ConsoleErrorListener_.
16 | ///
17 | public static let INSTANCE: ConsoleErrorListener = ConsoleErrorListener()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'ConsoleErrorListener' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INSTANCE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | ///
/host/spi-builder-workspace/Sources/Antlr4/DiagnosticErrorListener.swift:104:13: warning: variable 'ruleNames' was never mutated; consider changing to 'let' constant
102 | let ruleIndex: Int = dfa.atnStartState.ruleIndex!
103 |
104 | var ruleNames: [String] = recognizer.getRuleNames()
| `- warning: variable 'ruleNames' was never mutated; consider changing to 'let' constant
105 | if ruleIndex < 0 || ruleIndex >= ruleNames.count {
106 | return String(decision)
/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
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:65:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
63 |
64 |
65 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
66 | var hash: Int = 23
67 | hash = hash * 31 + a
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
156 | }
157 |
158 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
159 | return Unmanaged.passUnretained(self).toOpaque().hashValue
160 | // return unsafeAddress(of: self).hashValue
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
481 | return MurmurHash.finish(hash, intervals.count * 2)
482 | }
483 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
/host/spi-builder-workspace/Sources/Antlr4/atn/ATNState.swift:126:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
124 |
125 |
126 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
127 | return stateNumber
128 | }
[137/158] Compiling Antlr4 ErrorNode.swift
/host/spi-builder-workspace/Sources/Antlr4/tree/ParseTreeWalker.swift:8:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 |
7 | public class ParseTreeWalker {
| `- note: class 'ParseTreeWalker' does not conform to the 'Sendable' protocol
8 | public static let DEFAULT = ParseTreeWalker()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DEFAULT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public init() {
[138/158] Compiling Antlr4 ParseTree.swift
/host/spi-builder-workspace/Sources/Antlr4/tree/ParseTreeWalker.swift:8:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 |
7 | public class ParseTreeWalker {
| `- note: class 'ParseTreeWalker' does not conform to the 'Sendable' protocol
8 | public static let DEFAULT = ParseTreeWalker()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DEFAULT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public init() {
[139/158] Compiling Antlr4 ParseTreeListener.swift
/host/spi-builder-workspace/Sources/Antlr4/tree/ParseTreeWalker.swift:8:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 |
7 | public class ParseTreeWalker {
| `- note: class 'ParseTreeWalker' does not conform to the 'Sendable' protocol
8 | public static let DEFAULT = ParseTreeWalker()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DEFAULT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public init() {
[140/158] Compiling Antlr4 ParseTreeVisitor.swift
/host/spi-builder-workspace/Sources/Antlr4/tree/ParseTreeWalker.swift:8:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 |
7 | public class ParseTreeWalker {
| `- note: class 'ParseTreeWalker' does not conform to the 'Sendable' protocol
8 | public static let DEFAULT = ParseTreeWalker()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DEFAULT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public init() {
[141/158] Compiling Antlr4 ParseTreeWalker.swift
/host/spi-builder-workspace/Sources/Antlr4/tree/ParseTreeWalker.swift:8:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 |
7 | public class ParseTreeWalker {
| `- note: class 'ParseTreeWalker' does not conform to the 'Sendable' protocol
8 | public static let DEFAULT = ParseTreeWalker()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DEFAULT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public init() {
[142/158] Compiling Antlr4 RuleNode.swift
/host/spi-builder-workspace/Sources/Antlr4/tree/ParseTreeWalker.swift:8:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 |
7 | public class ParseTreeWalker {
| `- note: class 'ParseTreeWalker' does not conform to the 'Sendable' protocol
8 | public static let DEFAULT = ParseTreeWalker()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DEFAULT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public init() {
[143/158] Compiling Antlr4 SyntaxTree.swift
/host/spi-builder-workspace/Sources/Antlr4/tree/ParseTreeWalker.swift:8:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 |
7 | public class ParseTreeWalker {
| `- note: class 'ParseTreeWalker' does not conform to the 'Sendable' protocol
8 | public static let DEFAULT = ParseTreeWalker()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DEFAULT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public init() {
[144/158] Compiling Antlr4 TerminalNode.swift
/host/spi-builder-workspace/Sources/Antlr4/tree/ParseTreeWalker.swift:8:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 |
7 | public class ParseTreeWalker {
| `- note: class 'ParseTreeWalker' does not conform to the 'Sendable' protocol
8 | public static let DEFAULT = ParseTreeWalker()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DEFAULT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public init() {
[145/158] Compiling Antlr4 TerminalNodeImpl.swift
/host/spi-builder-workspace/Sources/Antlr4/tree/ParseTreeWalker.swift:8:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 |
7 | public class ParseTreeWalker {
| `- note: class 'ParseTreeWalker' does not conform to the 'Sendable' protocol
8 | public static let DEFAULT = ParseTreeWalker()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DEFAULT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public init() {
[146/158] Compiling Antlr4 Tree.swift
/host/spi-builder-workspace/Sources/Antlr4/tree/ParseTreeWalker.swift:8:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 |
7 | public class ParseTreeWalker {
| `- note: class 'ParseTreeWalker' does not conform to the 'Sendable' protocol
8 | public static let DEFAULT = ParseTreeWalker()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DEFAULT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public init() {
[147/158] Compiling Antlr4 Trees.swift
/host/spi-builder-workspace/Sources/Antlr4/tree/ParseTreeWalker.swift:8:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 |
7 | public class ParseTreeWalker {
| `- note: class 'ParseTreeWalker' does not conform to the 'Sendable' protocol
8 | public static let DEFAULT = ParseTreeWalker()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DEFAULT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public init() {
[148/158] Compiling Antlr4 Chunk.swift
/host/spi-builder-workspace/Sources/Antlr4/tree/ParseTreeWalker.swift:8:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 |
7 | public class ParseTreeWalker {
| `- note: class 'ParseTreeWalker' does not conform to the 'Sendable' protocol
8 | public static let DEFAULT = ParseTreeWalker()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DEFAULT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public init() {
[149/158] Compiling Antlr4 ParseTreeMatch.swift
/host/spi-builder-workspace/Sources/Antlr4/tree/ParseTreeWalker.swift:8:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 |
7 | public class ParseTreeWalker {
| `- note: class 'ParseTreeWalker' does not conform to the 'Sendable' protocol
8 | public static let DEFAULT = ParseTreeWalker()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DEFAULT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public init() {
[150/158] Compiling Antlr4 ParseTreePattern.swift
/host/spi-builder-workspace/Sources/Antlr4/tree/ParseTreeWalker.swift:8:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 |
7 | public class ParseTreeWalker {
| `- note: class 'ParseTreeWalker' does not conform to the 'Sendable' protocol
8 | public static let DEFAULT = ParseTreeWalker()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DEFAULT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public init() {
[151/158] Compiling Antlr4 ParseTreePatternMatcher.swift
/host/spi-builder-workspace/Sources/Antlr4/tree/ParseTreeWalker.swift:8:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 |
7 | public class ParseTreeWalker {
| `- note: class 'ParseTreeWalker' does not conform to the 'Sendable' protocol
8 | public static let DEFAULT = ParseTreeWalker()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DEFAULT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public init() {
[152/158] Compiling Antlr4 RuleTagToken.swift
/host/spi-builder-workspace/Sources/Antlr4/tree/ParseTreeWalker.swift:8:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 |
7 | public class ParseTreeWalker {
| `- note: class 'ParseTreeWalker' does not conform to the 'Sendable' protocol
8 | public static let DEFAULT = ParseTreeWalker()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DEFAULT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public init() {
[153/158] Compiling Antlr4 TagChunk.swift
/host/spi-builder-workspace/Sources/Antlr4/tree/ParseTreeWalker.swift:8:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 |
7 | public class ParseTreeWalker {
| `- note: class 'ParseTreeWalker' does not conform to the 'Sendable' protocol
8 | public static let DEFAULT = ParseTreeWalker()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DEFAULT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public init() {
[154/158] Compiling Antlr4 TextChunk.swift
/host/spi-builder-workspace/Sources/Antlr4/tree/ParseTreeWalker.swift:8:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 |
7 | public class ParseTreeWalker {
| `- note: class 'ParseTreeWalker' does not conform to the 'Sendable' protocol
8 | public static let DEFAULT = ParseTreeWalker()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DEFAULT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public init() {
[155/158] Compiling Antlr4 TokenTagToken.swift
/host/spi-builder-workspace/Sources/Antlr4/tree/ParseTreeWalker.swift:8:23: warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 |
7 | public class ParseTreeWalker {
| `- note: class 'ParseTreeWalker' does not conform to the 'Sendable' protocol
8 | public static let DEFAULT = ParseTreeWalker()
| |- warning: static property 'DEFAULT' is not concurrency-safe because non-'Sendable' type 'ParseTreeWalker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DEFAULT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public init() {
[156/159] Wrapping AST for Antlr4 for debugging
[157/159] Write Objects.LinkFileList
[158/159] Linking libAntlr4.so
Build complete! (15.15s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Antlr4",
"name" : "Antlr4",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Antlr4",
"targets" : [
"Antlr4"
],
"type" : {
"library" : [
"dynamic"
]
}
}
],
"targets" : [
{
"c99name" : "Antlr4Tests",
"module_type" : "SwiftTarget",
"name" : "Antlr4Tests",
"path" : "Tests/Antlr4Tests",
"sources" : [
"MurmurHashTests.swift",
"ParseTreePatternMatcherTests.swift",
"RuntimeMetaDataTests.swift",
"StringExtensionTests.swift",
"TokenStreamRewriterTests.swift",
"TokenStreamTests.swift",
"VisitorTests.swift"
],
"target_dependencies" : [
"Antlr4"
],
"type" : "test"
},
{
"c99name" : "Antlr4",
"module_type" : "SwiftTarget",
"name" : "Antlr4",
"path" : "Sources/Antlr4",
"product_memberships" : [
"Antlr4"
],
"sources" : [
"ANTLRErrorListener.swift",
"ANTLRErrorStrategy.swift",
"ANTLRFileStream.swift",
"ANTLRInputStream.swift",
"BailErrorStrategy.swift",
"BaseErrorListener.swift",
"BufferedTokenStream.swift",
"CharStream.swift",
"CommonToken.swift",
"CommonTokenFactory.swift",
"CommonTokenStream.swift",
"ConsoleErrorListener.swift",
"DefaultErrorStrategy.swift",
"DiagnosticErrorListener.swift",
"FailedPredicateException.swift",
"InputMismatchException.swift",
"IntStream.swift",
"InterpreterRuleContext.swift",
"Lexer.swift",
"LexerInterpreter.swift",
"LexerNoViableAltException.swift",
"ListTokenSource.swift",
"NoViableAltException.swift",
"Parser.swift",
"ParserInterpreter.swift",
"ParserRuleContext.swift",
"ProxyErrorListener.swift",
"RecognitionException.swift",
"Recognizer.swift",
"RuleContext.swift",
"RuntimeMetaData.swift",
"Token.swift",
"TokenFactory.swift",
"TokenSource.swift",
"TokenStream.swift",
"TokenStreamRewriter.swift",
"UnbufferedCharStream.swift",
"UnbufferedTokenStream.swift",
"VocabularySingle.swift",
"WritableToken.swift",
"atn/ATN.swift",
"atn/ATNConfig.swift",
"atn/ATNConfigSet.swift",
"atn/ATNDeserializationOptions.swift",
"atn/ATNDeserializer.swift",
"atn/ATNSimulator.swift",
"atn/ATNState.swift",
"atn/ATNType.swift",
"atn/AbstractPredicateTransition.swift",
"atn/ActionTransition.swift",
"atn/AmbiguityInfo.swift",
"atn/ArrayPredictionContext.swift",
"atn/AtomTransition.swift",
"atn/BasicBlockStartState.swift",
"atn/BasicState.swift",
"atn/BlockEndState.swift",
"atn/BlockStartState.swift",
"atn/ContextSensitivityInfo.swift",
"atn/DecisionEventInfo.swift",
"atn/DecisionInfo.swift",
"atn/DecisionState.swift",
"atn/DefaultATNConfig.swift",
"atn/EmptyPredictionContext.swift",
"atn/EpsilonTransition.swift",
"atn/ErrorInfo.swift",
"atn/LL1Analyzer.swift",
"atn/LexerATNConfig.swift",
"atn/LexerATNSimulator.swift",
"atn/LexerAction.swift",
"atn/LexerActionExecutor.swift",
"atn/LexerActionType.swift",
"atn/LexerChannelAction.swift",
"atn/LexerCustomAction.swift",
"atn/LexerIndexedCustomAction.swift",
"atn/LexerModeAction.swift",
"atn/LexerMoreAction.swift",
"atn/LexerPopModeAction.swift",
"atn/LexerPushModeAction.swift",
"atn/LexerSkipAction.swift",
"atn/LexerTypeAction.swift",
"atn/LookaheadEventInfo.swift",
"atn/LookupATNConfig.swift",
"atn/LookupDictionary.swift",
"atn/LoopEndState.swift",
"atn/NotSetTransition.swift",
"atn/ParseInfo.swift",
"atn/ParserATNSimulator.swift",
"atn/PlusBlockStartState.swift",
"atn/PlusLoopbackState.swift",
"atn/PrecedencePredicateTransition.swift",
"atn/PredicateEvalInfo.swift",
"atn/PredicateTransition.swift",
"atn/PredictionContext.swift",
"atn/PredictionContextCache.swift",
"atn/PredictionMode.swift",
"atn/ProfilingATNSimulator.swift",
"atn/RangeTransition.swift",
"atn/RuleStartState.swift",
"atn/RuleStopState.swift",
"atn/RuleTransition.swift",
"atn/SemanticContext.swift",
"atn/SetTransition.swift",
"atn/SingletonPredictionContext.swift",
"atn/StarBlockStartState.swift",
"atn/StarLoopEntryState.swift",
"atn/StarLoopbackState.swift",
"atn/TokensStartState.swift",
"atn/Transition.swift",
"atn/WildcardTransition.swift",
"dfa/DFA.swift",
"dfa/DFASerializer.swift",
"dfa/DFAState.swift",
"dfa/LexerDFASerializer.swift",
"misc/BitSet.swift",
"misc/DoubleKeyMap.swift",
"misc/IntSet.swift",
"misc/Interval.swift",
"misc/IntervalSet.swift",
"misc/MultiMap.swift",
"misc/MurmurHash.swift",
"misc/Utils.swift",
"misc/exception/ANTLRError.swift",
"misc/exception/ANTLRException.swift",
"misc/extension/ArrayExtension.swift",
"misc/extension/CharacterExtension.swift",
"misc/extension/IntStreamExtension.swift",
"misc/extension/StringExtension.swift",
"misc/extension/TokenExtension.swift",
"misc/extension/UUIDExtension.swift",
"misc/utils/CommonUtil.swift",
"misc/utils/Mutex.swift",
"misc/utils/Stack.swift",
"tree/AbstractParseTreeVisitor.swift",
"tree/ErrorNode.swift",
"tree/ParseTree.swift",
"tree/ParseTreeListener.swift",
"tree/ParseTreeVisitor.swift",
"tree/ParseTreeWalker.swift",
"tree/RuleNode.swift",
"tree/SyntaxTree.swift",
"tree/TerminalNode.swift",
"tree/TerminalNodeImpl.swift",
"tree/Tree.swift",
"tree/Trees.swift",
"tree/pattern/Chunk.swift",
"tree/pattern/ParseTreeMatch.swift",
"tree/pattern/ParseTreePattern.swift",
"tree/pattern/ParseTreePatternMatcher.swift",
"tree/pattern/RuleTagToken.swift",
"tree/pattern/TagChunk.swift",
"tree/pattern/TextChunk.swift",
"tree/pattern/TokenTagToken.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Done.