Build Information
Successful build of Antlr4, reference master (c95f13
), with Swift 6.0 for macOS (SPM) on 26 Nov 2024 13:26:14 UTC.
Swift 6 data race errors: 28
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -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
Build Log
35 | public internal(set) var stateNumber = -1
36 |
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 {
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/misc/BitSet.swift:1056:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BitSet' to 'Hashable' by implementing 'hash(into:)' instead
1054 | /// - returns: the hash code value for this bit set
1055 | ///
1056 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BitSet' to 'Hashable' by implementing 'hash(into:)' instead
1057 | var h: Int64 = 1234
1058 | var i: Int = wordsInUse
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/SemanticContext.swift:64:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SemanticContext' to 'Hashable' by implementing 'hash(into:)' instead
62 | }
63 |
64 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SemanticContext' to 'Hashable' by implementing 'hash(into:)' instead
65 | fatalError(#function + " must be overridden")
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/PredictionContext.swift:108:22: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'PredictionContext' to 'Hashable' by implementing 'hash(into:)' instead
106 | }
107 |
108 | public final var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'PredictionContext' to 'Hashable' by implementing 'hash(into:)' instead
109 | return cachedHashCode
110 | }
[142/157] Compiling Antlr4 TokenSource.swift
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:38:23: warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'TokenSourceAndStream' may have shared mutable state; this is an error in the Swift 6 language mode
31 | to avoid retain cycles.
32 | */
33 | public class TokenSourceAndStream {
| `- note: class 'TokenSourceAndStream' does not conform to the 'Sendable' protocol
34 | ///
35 | /// An empty TokenSourceAndStream which is used as the default value of
36 | /// _#source_ for tokens that do not have a source.
37 | ///
38 | public static let EMPTY = TokenSourceAndStream()
| |- warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'TokenSourceAndStream' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EMPTY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | public weak var tokenSource: TokenSource?
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:25:23: warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
12 | ///
13 |
14 | public class Vocabulary: Hashable {
| `- note: class 'Vocabulary' does not conform to the 'Sendable' protocol
15 | private static let EMPTY_NAMES: [String?] = [String?](repeating: "", count: 1)
16 |
:
23 | /// except _org.antlr.v4.runtime.Token#EOF_.
24 | ///
25 | public static let EMPTY_VOCABULARY: Vocabulary = Vocabulary(EMPTY_NAMES, EMPTY_NAMES, EMPTY_NAMES)
| |- warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EMPTY_VOCABULARY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/ATNConfig.swift:135:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNConfig' to 'Hashable' by implementing 'hash(into:)' instead
133 | ///
134 |
135 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNConfig' to 'Hashable' by implementing 'hash(into:)' instead
136 | var hashCode = MurmurHash.initialize(7)
137 | hashCode = MurmurHash.update(hashCode, state.stateNumber)
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/SemanticContext.swift:25:23: warning: static property 'NONE' is not concurrency-safe because non-'Sendable' type 'SemanticContext' may have shared mutable state; this is an error in the Swift 6 language mode
18 | import Foundation
19 |
20 | public class SemanticContext: Hashable, CustomStringConvertible {
| `- note: class 'SemanticContext' does not conform to the 'Sendable' protocol
21 | ///
22 | /// The default _org.antlr.v4.runtime.atn.SemanticContext_, which is semantically equivalent to
23 | /// a predicate of the form `{true`?}.
24 | ///
25 | public static let NONE: SemanticContext = Predicate()
| |- warning: static property 'NONE' is not concurrency-safe because non-'Sendable' type 'SemanticContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NONE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/ATNConfigSet.swift:206:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNConfigSet' to 'Hashable' by implementing 'hash(into:)' instead
204 | }
205 |
206 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNConfigSet' to 'Hashable' by implementing 'hash(into:)' instead
207 | if isReadonly() {
208 | if cachedHashCode == -1 {
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/LexerMoreAction.swift:22:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerMoreAction' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ///
17 |
18 | public final class LexerMoreAction: LexerAction, CustomStringConvertible {
| `- note: class 'LexerMoreAction' does not conform to the 'Sendable' protocol
19 | ///
20 | /// Provides a singleton instance of this parameterless lexer action.
21 | ///
22 | public static let INSTANCE: LexerMoreAction = LexerMoreAction()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerMoreAction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/LexerPopModeAction.swift:23:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerPopModeAction' may have shared mutable state; this is an error in the Swift 6 language mode
17 | ///
18 |
19 | public final class LexerPopModeAction: LexerAction, CustomStringConvertible {
| `- note: class 'LexerPopModeAction' does not conform to the 'Sendable' protocol
20 | ///
21 | /// Provides a singleton instance of this parameterless lexer action.
22 | ///
23 | public static let INSTANCE: LexerPopModeAction = LexerPopModeAction()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerPopModeAction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/LexerSkipAction.swift:22:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerSkipAction' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ///
17 |
18 | public final class LexerSkipAction: LexerAction, CustomStringConvertible {
| `- note: class 'LexerSkipAction' does not conform to the 'Sendable' protocol
19 | ///
20 | /// Provides a singleton instance of this parameterless lexer action.
21 | ///
22 | public static let INSTANCE: LexerSkipAction = LexerSkipAction()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerSkipAction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/ATNSimulator.swift:14:23: warning: static property 'ERROR' is not concurrency-safe because non-'Sendable' type 'DFAState' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// Must distinguish between missing edge and edge we know leads nowhere
13 | ///
14 | public static let ERROR: DFAState = {
| |- warning: static property 'ERROR' is not concurrency-safe because non-'Sendable' type 'DFAState' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ERROR' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | let error = DFAState(ATNConfigSet())
16 | error.stateNumber = Int.max
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/dfa/DFAState.swift:34:20: note: class 'DFAState' does not conform to the 'Sendable' protocol
32 | ///
33 |
34 | public final class DFAState: Hashable, CustomStringConvertible {
| `- note: class 'DFAState' does not conform to the 'Sendable' protocol
35 | public internal(set) var stateNumber = -1
36 |
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 {
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/misc/BitSet.swift:1056:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BitSet' to 'Hashable' by implementing 'hash(into:)' instead
1054 | /// - returns: the hash code value for this bit set
1055 | ///
1056 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BitSet' to 'Hashable' by implementing 'hash(into:)' instead
1057 | var h: Int64 = 1234
1058 | var i: Int = wordsInUse
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/SemanticContext.swift:64:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SemanticContext' to 'Hashable' by implementing 'hash(into:)' instead
62 | }
63 |
64 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SemanticContext' to 'Hashable' by implementing 'hash(into:)' instead
65 | fatalError(#function + " must be overridden")
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/PredictionContext.swift:108:22: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'PredictionContext' to 'Hashable' by implementing 'hash(into:)' instead
106 | }
107 |
108 | public final var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'PredictionContext' to 'Hashable' by implementing 'hash(into:)' instead
109 | return cachedHashCode
110 | }
[143/157] Compiling Antlr4 TokenStream.swift
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:38:23: warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'TokenSourceAndStream' may have shared mutable state; this is an error in the Swift 6 language mode
31 | to avoid retain cycles.
32 | */
33 | public class TokenSourceAndStream {
| `- note: class 'TokenSourceAndStream' does not conform to the 'Sendable' protocol
34 | ///
35 | /// An empty TokenSourceAndStream which is used as the default value of
36 | /// _#source_ for tokens that do not have a source.
37 | ///
38 | public static let EMPTY = TokenSourceAndStream()
| |- warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'TokenSourceAndStream' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EMPTY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | public weak var tokenSource: TokenSource?
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:25:23: warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
12 | ///
13 |
14 | public class Vocabulary: Hashable {
| `- note: class 'Vocabulary' does not conform to the 'Sendable' protocol
15 | private static let EMPTY_NAMES: [String?] = [String?](repeating: "", count: 1)
16 |
:
23 | /// except _org.antlr.v4.runtime.Token#EOF_.
24 | ///
25 | public static let EMPTY_VOCABULARY: Vocabulary = Vocabulary(EMPTY_NAMES, EMPTY_NAMES, EMPTY_NAMES)
| |- warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EMPTY_VOCABULARY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/ATNConfig.swift:135:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNConfig' to 'Hashable' by implementing 'hash(into:)' instead
133 | ///
134 |
135 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNConfig' to 'Hashable' by implementing 'hash(into:)' instead
136 | var hashCode = MurmurHash.initialize(7)
137 | hashCode = MurmurHash.update(hashCode, state.stateNumber)
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/SemanticContext.swift:25:23: warning: static property 'NONE' is not concurrency-safe because non-'Sendable' type 'SemanticContext' may have shared mutable state; this is an error in the Swift 6 language mode
18 | import Foundation
19 |
20 | public class SemanticContext: Hashable, CustomStringConvertible {
| `- note: class 'SemanticContext' does not conform to the 'Sendable' protocol
21 | ///
22 | /// The default _org.antlr.v4.runtime.atn.SemanticContext_, which is semantically equivalent to
23 | /// a predicate of the form `{true`?}.
24 | ///
25 | public static let NONE: SemanticContext = Predicate()
| |- warning: static property 'NONE' is not concurrency-safe because non-'Sendable' type 'SemanticContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NONE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/ATNConfigSet.swift:206:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNConfigSet' to 'Hashable' by implementing 'hash(into:)' instead
204 | }
205 |
206 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNConfigSet' to 'Hashable' by implementing 'hash(into:)' instead
207 | if isReadonly() {
208 | if cachedHashCode == -1 {
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/LexerMoreAction.swift:22:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerMoreAction' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ///
17 |
18 | public final class LexerMoreAction: LexerAction, CustomStringConvertible {
| `- note: class 'LexerMoreAction' does not conform to the 'Sendable' protocol
19 | ///
20 | /// Provides a singleton instance of this parameterless lexer action.
21 | ///
22 | public static let INSTANCE: LexerMoreAction = LexerMoreAction()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerMoreAction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/LexerPopModeAction.swift:23:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerPopModeAction' may have shared mutable state; this is an error in the Swift 6 language mode
17 | ///
18 |
19 | public final class LexerPopModeAction: LexerAction, CustomStringConvertible {
| `- note: class 'LexerPopModeAction' does not conform to the 'Sendable' protocol
20 | ///
21 | /// Provides a singleton instance of this parameterless lexer action.
22 | ///
23 | public static let INSTANCE: LexerPopModeAction = LexerPopModeAction()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerPopModeAction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/LexerSkipAction.swift:22:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerSkipAction' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ///
17 |
18 | public final class LexerSkipAction: LexerAction, CustomStringConvertible {
| `- note: class 'LexerSkipAction' does not conform to the 'Sendable' protocol
19 | ///
20 | /// Provides a singleton instance of this parameterless lexer action.
21 | ///
22 | public static let INSTANCE: LexerSkipAction = LexerSkipAction()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerSkipAction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/ATNSimulator.swift:14:23: warning: static property 'ERROR' is not concurrency-safe because non-'Sendable' type 'DFAState' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// Must distinguish between missing edge and edge we know leads nowhere
13 | ///
14 | public static let ERROR: DFAState = {
| |- warning: static property 'ERROR' is not concurrency-safe because non-'Sendable' type 'DFAState' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ERROR' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | let error = DFAState(ATNConfigSet())
16 | error.stateNumber = Int.max
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/dfa/DFAState.swift:34:20: note: class 'DFAState' does not conform to the 'Sendable' protocol
32 | ///
33 |
34 | public final class DFAState: Hashable, CustomStringConvertible {
| `- note: class 'DFAState' does not conform to the 'Sendable' protocol
35 | public internal(set) var stateNumber = -1
36 |
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 {
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/misc/BitSet.swift:1056:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BitSet' to 'Hashable' by implementing 'hash(into:)' instead
1054 | /// - returns: the hash code value for this bit set
1055 | ///
1056 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BitSet' to 'Hashable' by implementing 'hash(into:)' instead
1057 | var h: Int64 = 1234
1058 | var i: Int = wordsInUse
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/SemanticContext.swift:64:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SemanticContext' to 'Hashable' by implementing 'hash(into:)' instead
62 | }
63 |
64 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SemanticContext' to 'Hashable' by implementing 'hash(into:)' instead
65 | fatalError(#function + " must be overridden")
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/PredictionContext.swift:108:22: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'PredictionContext' to 'Hashable' by implementing 'hash(into:)' instead
106 | }
107 |
108 | public final var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'PredictionContext' to 'Hashable' by implementing 'hash(into:)' instead
109 | return cachedHashCode
110 | }
[144/157] Compiling Antlr4 TokenStreamRewriter.swift
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:38:23: warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'TokenSourceAndStream' may have shared mutable state; this is an error in the Swift 6 language mode
31 | to avoid retain cycles.
32 | */
33 | public class TokenSourceAndStream {
| `- note: class 'TokenSourceAndStream' does not conform to the 'Sendable' protocol
34 | ///
35 | /// An empty TokenSourceAndStream which is used as the default value of
36 | /// _#source_ for tokens that do not have a source.
37 | ///
38 | public static let EMPTY = TokenSourceAndStream()
| |- warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'TokenSourceAndStream' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EMPTY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | public weak var tokenSource: TokenSource?
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:25:23: warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
12 | ///
13 |
14 | public class Vocabulary: Hashable {
| `- note: class 'Vocabulary' does not conform to the 'Sendable' protocol
15 | private static let EMPTY_NAMES: [String?] = [String?](repeating: "", count: 1)
16 |
:
23 | /// except _org.antlr.v4.runtime.Token#EOF_.
24 | ///
25 | public static let EMPTY_VOCABULARY: Vocabulary = Vocabulary(EMPTY_NAMES, EMPTY_NAMES, EMPTY_NAMES)
| |- warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EMPTY_VOCABULARY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/ATNConfig.swift:135:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNConfig' to 'Hashable' by implementing 'hash(into:)' instead
133 | ///
134 |
135 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNConfig' to 'Hashable' by implementing 'hash(into:)' instead
136 | var hashCode = MurmurHash.initialize(7)
137 | hashCode = MurmurHash.update(hashCode, state.stateNumber)
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/SemanticContext.swift:25:23: warning: static property 'NONE' is not concurrency-safe because non-'Sendable' type 'SemanticContext' may have shared mutable state; this is an error in the Swift 6 language mode
18 | import Foundation
19 |
20 | public class SemanticContext: Hashable, CustomStringConvertible {
| `- note: class 'SemanticContext' does not conform to the 'Sendable' protocol
21 | ///
22 | /// The default _org.antlr.v4.runtime.atn.SemanticContext_, which is semantically equivalent to
23 | /// a predicate of the form `{true`?}.
24 | ///
25 | public static let NONE: SemanticContext = Predicate()
| |- warning: static property 'NONE' is not concurrency-safe because non-'Sendable' type 'SemanticContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NONE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/ATNConfigSet.swift:206:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNConfigSet' to 'Hashable' by implementing 'hash(into:)' instead
204 | }
205 |
206 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNConfigSet' to 'Hashable' by implementing 'hash(into:)' instead
207 | if isReadonly() {
208 | if cachedHashCode == -1 {
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/LexerMoreAction.swift:22:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerMoreAction' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ///
17 |
18 | public final class LexerMoreAction: LexerAction, CustomStringConvertible {
| `- note: class 'LexerMoreAction' does not conform to the 'Sendable' protocol
19 | ///
20 | /// Provides a singleton instance of this parameterless lexer action.
21 | ///
22 | public static let INSTANCE: LexerMoreAction = LexerMoreAction()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerMoreAction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/LexerPopModeAction.swift:23:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerPopModeAction' may have shared mutable state; this is an error in the Swift 6 language mode
17 | ///
18 |
19 | public final class LexerPopModeAction: LexerAction, CustomStringConvertible {
| `- note: class 'LexerPopModeAction' does not conform to the 'Sendable' protocol
20 | ///
21 | /// Provides a singleton instance of this parameterless lexer action.
22 | ///
23 | public static let INSTANCE: LexerPopModeAction = LexerPopModeAction()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerPopModeAction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/LexerSkipAction.swift:22:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerSkipAction' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ///
17 |
18 | public final class LexerSkipAction: LexerAction, CustomStringConvertible {
| `- note: class 'LexerSkipAction' does not conform to the 'Sendable' protocol
19 | ///
20 | /// Provides a singleton instance of this parameterless lexer action.
21 | ///
22 | public static let INSTANCE: LexerSkipAction = LexerSkipAction()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerSkipAction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/ATNSimulator.swift:14:23: warning: static property 'ERROR' is not concurrency-safe because non-'Sendable' type 'DFAState' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// Must distinguish between missing edge and edge we know leads nowhere
13 | ///
14 | public static let ERROR: DFAState = {
| |- warning: static property 'ERROR' is not concurrency-safe because non-'Sendable' type 'DFAState' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ERROR' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | let error = DFAState(ATNConfigSet())
16 | error.stateNumber = Int.max
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/dfa/DFAState.swift:34:20: note: class 'DFAState' does not conform to the 'Sendable' protocol
32 | ///
33 |
34 | public final class DFAState: Hashable, CustomStringConvertible {
| `- note: class 'DFAState' does not conform to the 'Sendable' protocol
35 | public internal(set) var stateNumber = -1
36 |
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 {
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/misc/BitSet.swift:1056:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BitSet' to 'Hashable' by implementing 'hash(into:)' instead
1054 | /// - returns: the hash code value for this bit set
1055 | ///
1056 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BitSet' to 'Hashable' by implementing 'hash(into:)' instead
1057 | var h: Int64 = 1234
1058 | var i: Int = wordsInUse
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/SemanticContext.swift:64:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SemanticContext' to 'Hashable' by implementing 'hash(into:)' instead
62 | }
63 |
64 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SemanticContext' to 'Hashable' by implementing 'hash(into:)' instead
65 | fatalError(#function + " must be overridden")
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/PredictionContext.swift:108:22: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'PredictionContext' to 'Hashable' by implementing 'hash(into:)' instead
106 | }
107 |
108 | public final var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'PredictionContext' to 'Hashable' by implementing 'hash(into:)' instead
109 | return cachedHashCode
110 | }
[145/157] Compiling Antlr4 UnbufferedCharStream.swift
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:38:23: warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'TokenSourceAndStream' may have shared mutable state; this is an error in the Swift 6 language mode
31 | to avoid retain cycles.
32 | */
33 | public class TokenSourceAndStream {
| `- note: class 'TokenSourceAndStream' does not conform to the 'Sendable' protocol
34 | ///
35 | /// An empty TokenSourceAndStream which is used as the default value of
36 | /// _#source_ for tokens that do not have a source.
37 | ///
38 | public static let EMPTY = TokenSourceAndStream()
| |- warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'TokenSourceAndStream' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EMPTY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | public weak var tokenSource: TokenSource?
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:25:23: warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
12 | ///
13 |
14 | public class Vocabulary: Hashable {
| `- note: class 'Vocabulary' does not conform to the 'Sendable' protocol
15 | private static let EMPTY_NAMES: [String?] = [String?](repeating: "", count: 1)
16 |
:
23 | /// except _org.antlr.v4.runtime.Token#EOF_.
24 | ///
25 | public static let EMPTY_VOCABULARY: Vocabulary = Vocabulary(EMPTY_NAMES, EMPTY_NAMES, EMPTY_NAMES)
| |- warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EMPTY_VOCABULARY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/ATNConfig.swift:135:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNConfig' to 'Hashable' by implementing 'hash(into:)' instead
133 | ///
134 |
135 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNConfig' to 'Hashable' by implementing 'hash(into:)' instead
136 | var hashCode = MurmurHash.initialize(7)
137 | hashCode = MurmurHash.update(hashCode, state.stateNumber)
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/SemanticContext.swift:25:23: warning: static property 'NONE' is not concurrency-safe because non-'Sendable' type 'SemanticContext' may have shared mutable state; this is an error in the Swift 6 language mode
18 | import Foundation
19 |
20 | public class SemanticContext: Hashable, CustomStringConvertible {
| `- note: class 'SemanticContext' does not conform to the 'Sendable' protocol
21 | ///
22 | /// The default _org.antlr.v4.runtime.atn.SemanticContext_, which is semantically equivalent to
23 | /// a predicate of the form `{true`?}.
24 | ///
25 | public static let NONE: SemanticContext = Predicate()
| |- warning: static property 'NONE' is not concurrency-safe because non-'Sendable' type 'SemanticContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NONE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/ATNConfigSet.swift:206:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNConfigSet' to 'Hashable' by implementing 'hash(into:)' instead
204 | }
205 |
206 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNConfigSet' to 'Hashable' by implementing 'hash(into:)' instead
207 | if isReadonly() {
208 | if cachedHashCode == -1 {
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/LexerMoreAction.swift:22:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerMoreAction' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ///
17 |
18 | public final class LexerMoreAction: LexerAction, CustomStringConvertible {
| `- note: class 'LexerMoreAction' does not conform to the 'Sendable' protocol
19 | ///
20 | /// Provides a singleton instance of this parameterless lexer action.
21 | ///
22 | public static let INSTANCE: LexerMoreAction = LexerMoreAction()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerMoreAction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/LexerPopModeAction.swift:23:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerPopModeAction' may have shared mutable state; this is an error in the Swift 6 language mode
17 | ///
18 |
19 | public final class LexerPopModeAction: LexerAction, CustomStringConvertible {
| `- note: class 'LexerPopModeAction' does not conform to the 'Sendable' protocol
20 | ///
21 | /// Provides a singleton instance of this parameterless lexer action.
22 | ///
23 | public static let INSTANCE: LexerPopModeAction = LexerPopModeAction()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerPopModeAction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/LexerSkipAction.swift:22:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerSkipAction' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ///
17 |
18 | public final class LexerSkipAction: LexerAction, CustomStringConvertible {
| `- note: class 'LexerSkipAction' does not conform to the 'Sendable' protocol
19 | ///
20 | /// Provides a singleton instance of this parameterless lexer action.
21 | ///
22 | public static let INSTANCE: LexerSkipAction = LexerSkipAction()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerSkipAction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/ATNSimulator.swift:14:23: warning: static property 'ERROR' is not concurrency-safe because non-'Sendable' type 'DFAState' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// Must distinguish between missing edge and edge we know leads nowhere
13 | ///
14 | public static let ERROR: DFAState = {
| |- warning: static property 'ERROR' is not concurrency-safe because non-'Sendable' type 'DFAState' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ERROR' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | let error = DFAState(ATNConfigSet())
16 | error.stateNumber = Int.max
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/dfa/DFAState.swift:34:20: note: class 'DFAState' does not conform to the 'Sendable' protocol
32 | ///
33 |
34 | public final class DFAState: Hashable, CustomStringConvertible {
| `- note: class 'DFAState' does not conform to the 'Sendable' protocol
35 | public internal(set) var stateNumber = -1
36 |
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 {
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/misc/BitSet.swift:1056:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BitSet' to 'Hashable' by implementing 'hash(into:)' instead
1054 | /// - returns: the hash code value for this bit set
1055 | ///
1056 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BitSet' to 'Hashable' by implementing 'hash(into:)' instead
1057 | var h: Int64 = 1234
1058 | var i: Int = wordsInUse
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/SemanticContext.swift:64:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SemanticContext' to 'Hashable' by implementing 'hash(into:)' instead
62 | }
63 |
64 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SemanticContext' to 'Hashable' by implementing 'hash(into:)' instead
65 | fatalError(#function + " must be overridden")
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/PredictionContext.swift:108:22: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'PredictionContext' to 'Hashable' by implementing 'hash(into:)' instead
106 | }
107 |
108 | public final var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'PredictionContext' to 'Hashable' by implementing 'hash(into:)' instead
109 | return cachedHashCode
110 | }
[146/157] Compiling Antlr4 UnbufferedTokenStream.swift
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:38:23: warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'TokenSourceAndStream' may have shared mutable state; this is an error in the Swift 6 language mode
31 | to avoid retain cycles.
32 | */
33 | public class TokenSourceAndStream {
| `- note: class 'TokenSourceAndStream' does not conform to the 'Sendable' protocol
34 | ///
35 | /// An empty TokenSourceAndStream which is used as the default value of
36 | /// _#source_ for tokens that do not have a source.
37 | ///
38 | public static let EMPTY = TokenSourceAndStream()
| |- warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'TokenSourceAndStream' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EMPTY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | public weak var tokenSource: TokenSource?
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:25:23: warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
12 | ///
13 |
14 | public class Vocabulary: Hashable {
| `- note: class 'Vocabulary' does not conform to the 'Sendable' protocol
15 | private static let EMPTY_NAMES: [String?] = [String?](repeating: "", count: 1)
16 |
:
23 | /// except _org.antlr.v4.runtime.Token#EOF_.
24 | ///
25 | public static let EMPTY_VOCABULARY: Vocabulary = Vocabulary(EMPTY_NAMES, EMPTY_NAMES, EMPTY_NAMES)
| |- warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EMPTY_VOCABULARY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/ATNConfig.swift:135:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNConfig' to 'Hashable' by implementing 'hash(into:)' instead
133 | ///
134 |
135 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNConfig' to 'Hashable' by implementing 'hash(into:)' instead
136 | var hashCode = MurmurHash.initialize(7)
137 | hashCode = MurmurHash.update(hashCode, state.stateNumber)
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/SemanticContext.swift:25:23: warning: static property 'NONE' is not concurrency-safe because non-'Sendable' type 'SemanticContext' may have shared mutable state; this is an error in the Swift 6 language mode
18 | import Foundation
19 |
20 | public class SemanticContext: Hashable, CustomStringConvertible {
| `- note: class 'SemanticContext' does not conform to the 'Sendable' protocol
21 | ///
22 | /// The default _org.antlr.v4.runtime.atn.SemanticContext_, which is semantically equivalent to
23 | /// a predicate of the form `{true`?}.
24 | ///
25 | public static let NONE: SemanticContext = Predicate()
| |- warning: static property 'NONE' is not concurrency-safe because non-'Sendable' type 'SemanticContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NONE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/ATNConfigSet.swift:206:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNConfigSet' to 'Hashable' by implementing 'hash(into:)' instead
204 | }
205 |
206 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNConfigSet' to 'Hashable' by implementing 'hash(into:)' instead
207 | if isReadonly() {
208 | if cachedHashCode == -1 {
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/LexerMoreAction.swift:22:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerMoreAction' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ///
17 |
18 | public final class LexerMoreAction: LexerAction, CustomStringConvertible {
| `- note: class 'LexerMoreAction' does not conform to the 'Sendable' protocol
19 | ///
20 | /// Provides a singleton instance of this parameterless lexer action.
21 | ///
22 | public static let INSTANCE: LexerMoreAction = LexerMoreAction()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerMoreAction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/LexerPopModeAction.swift:23:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerPopModeAction' may have shared mutable state; this is an error in the Swift 6 language mode
17 | ///
18 |
19 | public final class LexerPopModeAction: LexerAction, CustomStringConvertible {
| `- note: class 'LexerPopModeAction' does not conform to the 'Sendable' protocol
20 | ///
21 | /// Provides a singleton instance of this parameterless lexer action.
22 | ///
23 | public static let INSTANCE: LexerPopModeAction = LexerPopModeAction()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerPopModeAction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/LexerSkipAction.swift:22:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerSkipAction' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ///
17 |
18 | public final class LexerSkipAction: LexerAction, CustomStringConvertible {
| `- note: class 'LexerSkipAction' does not conform to the 'Sendable' protocol
19 | ///
20 | /// Provides a singleton instance of this parameterless lexer action.
21 | ///
22 | public static let INSTANCE: LexerSkipAction = LexerSkipAction()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerSkipAction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/ATNSimulator.swift:14:23: warning: static property 'ERROR' is not concurrency-safe because non-'Sendable' type 'DFAState' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// Must distinguish between missing edge and edge we know leads nowhere
13 | ///
14 | public static let ERROR: DFAState = {
| |- warning: static property 'ERROR' is not concurrency-safe because non-'Sendable' type 'DFAState' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ERROR' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | let error = DFAState(ATNConfigSet())
16 | error.stateNumber = Int.max
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/dfa/DFAState.swift:34:20: note: class 'DFAState' does not conform to the 'Sendable' protocol
32 | ///
33 |
34 | public final class DFAState: Hashable, CustomStringConvertible {
| `- note: class 'DFAState' does not conform to the 'Sendable' protocol
35 | public internal(set) var stateNumber = -1
36 |
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 {
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/misc/BitSet.swift:1056:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BitSet' to 'Hashable' by implementing 'hash(into:)' instead
1054 | /// - returns: the hash code value for this bit set
1055 | ///
1056 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BitSet' to 'Hashable' by implementing 'hash(into:)' instead
1057 | var h: Int64 = 1234
1058 | var i: Int = wordsInUse
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/SemanticContext.swift:64:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SemanticContext' to 'Hashable' by implementing 'hash(into:)' instead
62 | }
63 |
64 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SemanticContext' to 'Hashable' by implementing 'hash(into:)' instead
65 | fatalError(#function + " must be overridden")
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/PredictionContext.swift:108:22: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'PredictionContext' to 'Hashable' by implementing 'hash(into:)' instead
106 | }
107 |
108 | public final var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'PredictionContext' to 'Hashable' by implementing 'hash(into:)' instead
109 | return cachedHashCode
110 | }
[147/157] Compiling Antlr4 VocabularySingle.swift
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:38:23: warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'TokenSourceAndStream' may have shared mutable state; this is an error in the Swift 6 language mode
31 | to avoid retain cycles.
32 | */
33 | public class TokenSourceAndStream {
| `- note: class 'TokenSourceAndStream' does not conform to the 'Sendable' protocol
34 | ///
35 | /// An empty TokenSourceAndStream which is used as the default value of
36 | /// _#source_ for tokens that do not have a source.
37 | ///
38 | public static let EMPTY = TokenSourceAndStream()
| |- warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'TokenSourceAndStream' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EMPTY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | public weak var tokenSource: TokenSource?
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:25:23: warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
12 | ///
13 |
14 | public class Vocabulary: Hashable {
| `- note: class 'Vocabulary' does not conform to the 'Sendable' protocol
15 | private static let EMPTY_NAMES: [String?] = [String?](repeating: "", count: 1)
16 |
:
23 | /// except _org.antlr.v4.runtime.Token#EOF_.
24 | ///
25 | public static let EMPTY_VOCABULARY: Vocabulary = Vocabulary(EMPTY_NAMES, EMPTY_NAMES, EMPTY_NAMES)
| |- warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EMPTY_VOCABULARY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/ATNConfig.swift:135:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNConfig' to 'Hashable' by implementing 'hash(into:)' instead
133 | ///
134 |
135 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNConfig' to 'Hashable' by implementing 'hash(into:)' instead
136 | var hashCode = MurmurHash.initialize(7)
137 | hashCode = MurmurHash.update(hashCode, state.stateNumber)
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/SemanticContext.swift:25:23: warning: static property 'NONE' is not concurrency-safe because non-'Sendable' type 'SemanticContext' may have shared mutable state; this is an error in the Swift 6 language mode
18 | import Foundation
19 |
20 | public class SemanticContext: Hashable, CustomStringConvertible {
| `- note: class 'SemanticContext' does not conform to the 'Sendable' protocol
21 | ///
22 | /// The default _org.antlr.v4.runtime.atn.SemanticContext_, which is semantically equivalent to
23 | /// a predicate of the form `{true`?}.
24 | ///
25 | public static let NONE: SemanticContext = Predicate()
| |- warning: static property 'NONE' is not concurrency-safe because non-'Sendable' type 'SemanticContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NONE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/ATNConfigSet.swift:206:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNConfigSet' to 'Hashable' by implementing 'hash(into:)' instead
204 | }
205 |
206 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNConfigSet' to 'Hashable' by implementing 'hash(into:)' instead
207 | if isReadonly() {
208 | if cachedHashCode == -1 {
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/LexerMoreAction.swift:22:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerMoreAction' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ///
17 |
18 | public final class LexerMoreAction: LexerAction, CustomStringConvertible {
| `- note: class 'LexerMoreAction' does not conform to the 'Sendable' protocol
19 | ///
20 | /// Provides a singleton instance of this parameterless lexer action.
21 | ///
22 | public static let INSTANCE: LexerMoreAction = LexerMoreAction()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerMoreAction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/LexerPopModeAction.swift:23:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerPopModeAction' may have shared mutable state; this is an error in the Swift 6 language mode
17 | ///
18 |
19 | public final class LexerPopModeAction: LexerAction, CustomStringConvertible {
| `- note: class 'LexerPopModeAction' does not conform to the 'Sendable' protocol
20 | ///
21 | /// Provides a singleton instance of this parameterless lexer action.
22 | ///
23 | public static let INSTANCE: LexerPopModeAction = LexerPopModeAction()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerPopModeAction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/LexerSkipAction.swift:22:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerSkipAction' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ///
17 |
18 | public final class LexerSkipAction: LexerAction, CustomStringConvertible {
| `- note: class 'LexerSkipAction' does not conform to the 'Sendable' protocol
19 | ///
20 | /// Provides a singleton instance of this parameterless lexer action.
21 | ///
22 | public static let INSTANCE: LexerSkipAction = LexerSkipAction()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerSkipAction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/ATNSimulator.swift:14:23: warning: static property 'ERROR' is not concurrency-safe because non-'Sendable' type 'DFAState' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// Must distinguish between missing edge and edge we know leads nowhere
13 | ///
14 | public static let ERROR: DFAState = {
| |- warning: static property 'ERROR' is not concurrency-safe because non-'Sendable' type 'DFAState' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ERROR' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | let error = DFAState(ATNConfigSet())
16 | error.stateNumber = Int.max
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/dfa/DFAState.swift:34:20: note: class 'DFAState' does not conform to the 'Sendable' protocol
32 | ///
33 |
34 | public final class DFAState: Hashable, CustomStringConvertible {
| `- note: class 'DFAState' does not conform to the 'Sendable' protocol
35 | public internal(set) var stateNumber = -1
36 |
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 {
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/misc/BitSet.swift:1056:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BitSet' to 'Hashable' by implementing 'hash(into:)' instead
1054 | /// - returns: the hash code value for this bit set
1055 | ///
1056 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BitSet' to 'Hashable' by implementing 'hash(into:)' instead
1057 | var h: Int64 = 1234
1058 | var i: Int = wordsInUse
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/SemanticContext.swift:64:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SemanticContext' to 'Hashable' by implementing 'hash(into:)' instead
62 | }
63 |
64 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SemanticContext' to 'Hashable' by implementing 'hash(into:)' instead
65 | fatalError(#function + " must be overridden")
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/PredictionContext.swift:108:22: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'PredictionContext' to 'Hashable' by implementing 'hash(into:)' instead
106 | }
107 |
108 | public final var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'PredictionContext' to 'Hashable' by implementing 'hash(into:)' instead
109 | return cachedHashCode
110 | }
[148/157] Compiling Antlr4 WritableToken.swift
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:38:23: warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'TokenSourceAndStream' may have shared mutable state; this is an error in the Swift 6 language mode
31 | to avoid retain cycles.
32 | */
33 | public class TokenSourceAndStream {
| `- note: class 'TokenSourceAndStream' does not conform to the 'Sendable' protocol
34 | ///
35 | /// An empty TokenSourceAndStream which is used as the default value of
36 | /// _#source_ for tokens that do not have a source.
37 | ///
38 | public static let EMPTY = TokenSourceAndStream()
| |- warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'TokenSourceAndStream' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EMPTY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | public weak var tokenSource: TokenSource?
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:25:23: warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
12 | ///
13 |
14 | public class Vocabulary: Hashable {
| `- note: class 'Vocabulary' does not conform to the 'Sendable' protocol
15 | private static let EMPTY_NAMES: [String?] = [String?](repeating: "", count: 1)
16 |
:
23 | /// except _org.antlr.v4.runtime.Token#EOF_.
24 | ///
25 | public static let EMPTY_VOCABULARY: Vocabulary = Vocabulary(EMPTY_NAMES, EMPTY_NAMES, EMPTY_NAMES)
| |- warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EMPTY_VOCABULARY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/ATNConfig.swift:135:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNConfig' to 'Hashable' by implementing 'hash(into:)' instead
133 | ///
134 |
135 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNConfig' to 'Hashable' by implementing 'hash(into:)' instead
136 | var hashCode = MurmurHash.initialize(7)
137 | hashCode = MurmurHash.update(hashCode, state.stateNumber)
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/SemanticContext.swift:25:23: warning: static property 'NONE' is not concurrency-safe because non-'Sendable' type 'SemanticContext' may have shared mutable state; this is an error in the Swift 6 language mode
18 | import Foundation
19 |
20 | public class SemanticContext: Hashable, CustomStringConvertible {
| `- note: class 'SemanticContext' does not conform to the 'Sendable' protocol
21 | ///
22 | /// The default _org.antlr.v4.runtime.atn.SemanticContext_, which is semantically equivalent to
23 | /// a predicate of the form `{true`?}.
24 | ///
25 | public static let NONE: SemanticContext = Predicate()
| |- warning: static property 'NONE' is not concurrency-safe because non-'Sendable' type 'SemanticContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NONE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/ATNConfigSet.swift:206:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNConfigSet' to 'Hashable' by implementing 'hash(into:)' instead
204 | }
205 |
206 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNConfigSet' to 'Hashable' by implementing 'hash(into:)' instead
207 | if isReadonly() {
208 | if cachedHashCode == -1 {
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/LexerMoreAction.swift:22:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerMoreAction' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ///
17 |
18 | public final class LexerMoreAction: LexerAction, CustomStringConvertible {
| `- note: class 'LexerMoreAction' does not conform to the 'Sendable' protocol
19 | ///
20 | /// Provides a singleton instance of this parameterless lexer action.
21 | ///
22 | public static let INSTANCE: LexerMoreAction = LexerMoreAction()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerMoreAction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/LexerPopModeAction.swift:23:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerPopModeAction' may have shared mutable state; this is an error in the Swift 6 language mode
17 | ///
18 |
19 | public final class LexerPopModeAction: LexerAction, CustomStringConvertible {
| `- note: class 'LexerPopModeAction' does not conform to the 'Sendable' protocol
20 | ///
21 | /// Provides a singleton instance of this parameterless lexer action.
22 | ///
23 | public static let INSTANCE: LexerPopModeAction = LexerPopModeAction()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerPopModeAction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/LexerSkipAction.swift:22:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerSkipAction' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ///
17 |
18 | public final class LexerSkipAction: LexerAction, CustomStringConvertible {
| `- note: class 'LexerSkipAction' does not conform to the 'Sendable' protocol
19 | ///
20 | /// Provides a singleton instance of this parameterless lexer action.
21 | ///
22 | public static let INSTANCE: LexerSkipAction = LexerSkipAction()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerSkipAction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/ATNSimulator.swift:14:23: warning: static property 'ERROR' is not concurrency-safe because non-'Sendable' type 'DFAState' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// Must distinguish between missing edge and edge we know leads nowhere
13 | ///
14 | public static let ERROR: DFAState = {
| |- warning: static property 'ERROR' is not concurrency-safe because non-'Sendable' type 'DFAState' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ERROR' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | let error = DFAState(ATNConfigSet())
16 | error.stateNumber = Int.max
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/dfa/DFAState.swift:34:20: note: class 'DFAState' does not conform to the 'Sendable' protocol
32 | ///
33 |
34 | public final class DFAState: Hashable, CustomStringConvertible {
| `- note: class 'DFAState' does not conform to the 'Sendable' protocol
35 | public internal(set) var stateNumber = -1
36 |
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 {
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/misc/BitSet.swift:1056:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BitSet' to 'Hashable' by implementing 'hash(into:)' instead
1054 | /// - returns: the hash code value for this bit set
1055 | ///
1056 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BitSet' to 'Hashable' by implementing 'hash(into:)' instead
1057 | var h: Int64 = 1234
1058 | var i: Int = wordsInUse
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/SemanticContext.swift:64:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SemanticContext' to 'Hashable' by implementing 'hash(into:)' instead
62 | }
63 |
64 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SemanticContext' to 'Hashable' by implementing 'hash(into:)' instead
65 | fatalError(#function + " must be overridden")
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/PredictionContext.swift:108:22: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'PredictionContext' to 'Hashable' by implementing 'hash(into:)' instead
106 | }
107 |
108 | public final var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'PredictionContext' to 'Hashable' by implementing 'hash(into:)' instead
109 | return cachedHashCode
110 | }
[149/157] Compiling Antlr4 ATN.swift
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:38:23: warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'TokenSourceAndStream' may have shared mutable state; this is an error in the Swift 6 language mode
31 | to avoid retain cycles.
32 | */
33 | public class TokenSourceAndStream {
| `- note: class 'TokenSourceAndStream' does not conform to the 'Sendable' protocol
34 | ///
35 | /// An empty TokenSourceAndStream which is used as the default value of
36 | /// _#source_ for tokens that do not have a source.
37 | ///
38 | public static let EMPTY = TokenSourceAndStream()
| |- warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'TokenSourceAndStream' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EMPTY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | public weak var tokenSource: TokenSource?
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:25:23: warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
12 | ///
13 |
14 | public class Vocabulary: Hashable {
| `- note: class 'Vocabulary' does not conform to the 'Sendable' protocol
15 | private static let EMPTY_NAMES: [String?] = [String?](repeating: "", count: 1)
16 |
:
23 | /// except _org.antlr.v4.runtime.Token#EOF_.
24 | ///
25 | public static let EMPTY_VOCABULARY: Vocabulary = Vocabulary(EMPTY_NAMES, EMPTY_NAMES, EMPTY_NAMES)
| |- warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EMPTY_VOCABULARY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/ATNConfig.swift:135:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNConfig' to 'Hashable' by implementing 'hash(into:)' instead
133 | ///
134 |
135 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNConfig' to 'Hashable' by implementing 'hash(into:)' instead
136 | var hashCode = MurmurHash.initialize(7)
137 | hashCode = MurmurHash.update(hashCode, state.stateNumber)
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/SemanticContext.swift:25:23: warning: static property 'NONE' is not concurrency-safe because non-'Sendable' type 'SemanticContext' may have shared mutable state; this is an error in the Swift 6 language mode
18 | import Foundation
19 |
20 | public class SemanticContext: Hashable, CustomStringConvertible {
| `- note: class 'SemanticContext' does not conform to the 'Sendable' protocol
21 | ///
22 | /// The default _org.antlr.v4.runtime.atn.SemanticContext_, which is semantically equivalent to
23 | /// a predicate of the form `{true`?}.
24 | ///
25 | public static let NONE: SemanticContext = Predicate()
| |- warning: static property 'NONE' is not concurrency-safe because non-'Sendable' type 'SemanticContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NONE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/ATNConfigSet.swift:206:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNConfigSet' to 'Hashable' by implementing 'hash(into:)' instead
204 | }
205 |
206 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNConfigSet' to 'Hashable' by implementing 'hash(into:)' instead
207 | if isReadonly() {
208 | if cachedHashCode == -1 {
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/LexerMoreAction.swift:22:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerMoreAction' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ///
17 |
18 | public final class LexerMoreAction: LexerAction, CustomStringConvertible {
| `- note: class 'LexerMoreAction' does not conform to the 'Sendable' protocol
19 | ///
20 | /// Provides a singleton instance of this parameterless lexer action.
21 | ///
22 | public static let INSTANCE: LexerMoreAction = LexerMoreAction()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerMoreAction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/LexerPopModeAction.swift:23:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerPopModeAction' may have shared mutable state; this is an error in the Swift 6 language mode
17 | ///
18 |
19 | public final class LexerPopModeAction: LexerAction, CustomStringConvertible {
| `- note: class 'LexerPopModeAction' does not conform to the 'Sendable' protocol
20 | ///
21 | /// Provides a singleton instance of this parameterless lexer action.
22 | ///
23 | public static let INSTANCE: LexerPopModeAction = LexerPopModeAction()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerPopModeAction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/LexerSkipAction.swift:22:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerSkipAction' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ///
17 |
18 | public final class LexerSkipAction: LexerAction, CustomStringConvertible {
| `- note: class 'LexerSkipAction' does not conform to the 'Sendable' protocol
19 | ///
20 | /// Provides a singleton instance of this parameterless lexer action.
21 | ///
22 | public static let INSTANCE: LexerSkipAction = LexerSkipAction()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerSkipAction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/ATNSimulator.swift:14:23: warning: static property 'ERROR' is not concurrency-safe because non-'Sendable' type 'DFAState' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// Must distinguish between missing edge and edge we know leads nowhere
13 | ///
14 | public static let ERROR: DFAState = {
| |- warning: static property 'ERROR' is not concurrency-safe because non-'Sendable' type 'DFAState' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ERROR' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | let error = DFAState(ATNConfigSet())
16 | error.stateNumber = Int.max
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/dfa/DFAState.swift:34:20: note: class 'DFAState' does not conform to the 'Sendable' protocol
32 | ///
33 |
34 | public final class DFAState: Hashable, CustomStringConvertible {
| `- note: class 'DFAState' does not conform to the 'Sendable' protocol
35 | public internal(set) var stateNumber = -1
36 |
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 {
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/misc/BitSet.swift:1056:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BitSet' to 'Hashable' by implementing 'hash(into:)' instead
1054 | /// - returns: the hash code value for this bit set
1055 | ///
1056 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BitSet' to 'Hashable' by implementing 'hash(into:)' instead
1057 | var h: Int64 = 1234
1058 | var i: Int = wordsInUse
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/SemanticContext.swift:64:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SemanticContext' to 'Hashable' by implementing 'hash(into:)' instead
62 | }
63 |
64 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SemanticContext' to 'Hashable' by implementing 'hash(into:)' instead
65 | fatalError(#function + " must be overridden")
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/PredictionContext.swift:108:22: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'PredictionContext' to 'Hashable' by implementing 'hash(into:)' instead
106 | }
107 |
108 | public final var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'PredictionContext' to 'Hashable' by implementing 'hash(into:)' instead
109 | return cachedHashCode
110 | }
[150/157] Compiling Antlr4 ATNConfig.swift
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:38:23: warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'TokenSourceAndStream' may have shared mutable state; this is an error in the Swift 6 language mode
31 | to avoid retain cycles.
32 | */
33 | public class TokenSourceAndStream {
| `- note: class 'TokenSourceAndStream' does not conform to the 'Sendable' protocol
34 | ///
35 | /// An empty TokenSourceAndStream which is used as the default value of
36 | /// _#source_ for tokens that do not have a source.
37 | ///
38 | public static let EMPTY = TokenSourceAndStream()
| |- warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'TokenSourceAndStream' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EMPTY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | public weak var tokenSource: TokenSource?
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:25:23: warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
12 | ///
13 |
14 | public class Vocabulary: Hashable {
| `- note: class 'Vocabulary' does not conform to the 'Sendable' protocol
15 | private static let EMPTY_NAMES: [String?] = [String?](repeating: "", count: 1)
16 |
:
23 | /// except _org.antlr.v4.runtime.Token#EOF_.
24 | ///
25 | public static let EMPTY_VOCABULARY: Vocabulary = Vocabulary(EMPTY_NAMES, EMPTY_NAMES, EMPTY_NAMES)
| |- warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EMPTY_VOCABULARY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/ATNConfig.swift:135:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNConfig' to 'Hashable' by implementing 'hash(into:)' instead
133 | ///
134 |
135 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNConfig' to 'Hashable' by implementing 'hash(into:)' instead
136 | var hashCode = MurmurHash.initialize(7)
137 | hashCode = MurmurHash.update(hashCode, state.stateNumber)
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/SemanticContext.swift:25:23: warning: static property 'NONE' is not concurrency-safe because non-'Sendable' type 'SemanticContext' may have shared mutable state; this is an error in the Swift 6 language mode
18 | import Foundation
19 |
20 | public class SemanticContext: Hashable, CustomStringConvertible {
| `- note: class 'SemanticContext' does not conform to the 'Sendable' protocol
21 | ///
22 | /// The default _org.antlr.v4.runtime.atn.SemanticContext_, which is semantically equivalent to
23 | /// a predicate of the form `{true`?}.
24 | ///
25 | public static let NONE: SemanticContext = Predicate()
| |- warning: static property 'NONE' is not concurrency-safe because non-'Sendable' type 'SemanticContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NONE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/ATNConfigSet.swift:206:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNConfigSet' to 'Hashable' by implementing 'hash(into:)' instead
204 | }
205 |
206 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNConfigSet' to 'Hashable' by implementing 'hash(into:)' instead
207 | if isReadonly() {
208 | if cachedHashCode == -1 {
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/LexerMoreAction.swift:22:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerMoreAction' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ///
17 |
18 | public final class LexerMoreAction: LexerAction, CustomStringConvertible {
| `- note: class 'LexerMoreAction' does not conform to the 'Sendable' protocol
19 | ///
20 | /// Provides a singleton instance of this parameterless lexer action.
21 | ///
22 | public static let INSTANCE: LexerMoreAction = LexerMoreAction()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerMoreAction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/LexerPopModeAction.swift:23:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerPopModeAction' may have shared mutable state; this is an error in the Swift 6 language mode
17 | ///
18 |
19 | public final class LexerPopModeAction: LexerAction, CustomStringConvertible {
| `- note: class 'LexerPopModeAction' does not conform to the 'Sendable' protocol
20 | ///
21 | /// Provides a singleton instance of this parameterless lexer action.
22 | ///
23 | public static let INSTANCE: LexerPopModeAction = LexerPopModeAction()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerPopModeAction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/LexerSkipAction.swift:22:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerSkipAction' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ///
17 |
18 | public final class LexerSkipAction: LexerAction, CustomStringConvertible {
| `- note: class 'LexerSkipAction' does not conform to the 'Sendable' protocol
19 | ///
20 | /// Provides a singleton instance of this parameterless lexer action.
21 | ///
22 | public static let INSTANCE: LexerSkipAction = LexerSkipAction()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerSkipAction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/ATNSimulator.swift:14:23: warning: static property 'ERROR' is not concurrency-safe because non-'Sendable' type 'DFAState' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// Must distinguish between missing edge and edge we know leads nowhere
13 | ///
14 | public static let ERROR: DFAState = {
| |- warning: static property 'ERROR' is not concurrency-safe because non-'Sendable' type 'DFAState' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ERROR' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | let error = DFAState(ATNConfigSet())
16 | error.stateNumber = Int.max
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/dfa/DFAState.swift:34:20: note: class 'DFAState' does not conform to the 'Sendable' protocol
32 | ///
33 |
34 | public final class DFAState: Hashable, CustomStringConvertible {
| `- note: class 'DFAState' does not conform to the 'Sendable' protocol
35 | public internal(set) var stateNumber = -1
36 |
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 {
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/misc/BitSet.swift:1056:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BitSet' to 'Hashable' by implementing 'hash(into:)' instead
1054 | /// - returns: the hash code value for this bit set
1055 | ///
1056 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BitSet' to 'Hashable' by implementing 'hash(into:)' instead
1057 | var h: Int64 = 1234
1058 | var i: Int = wordsInUse
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/SemanticContext.swift:64:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SemanticContext' to 'Hashable' by implementing 'hash(into:)' instead
62 | }
63 |
64 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SemanticContext' to 'Hashable' by implementing 'hash(into:)' instead
65 | fatalError(#function + " must be overridden")
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/PredictionContext.swift:108:22: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'PredictionContext' to 'Hashable' by implementing 'hash(into:)' instead
106 | }
107 |
108 | public final var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'PredictionContext' to 'Hashable' by implementing 'hash(into:)' instead
109 | return cachedHashCode
110 | }
[151/157] Compiling Antlr4 ATNConfigSet.swift
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:38:23: warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'TokenSourceAndStream' may have shared mutable state; this is an error in the Swift 6 language mode
31 | to avoid retain cycles.
32 | */
33 | public class TokenSourceAndStream {
| `- note: class 'TokenSourceAndStream' does not conform to the 'Sendable' protocol
34 | ///
35 | /// An empty TokenSourceAndStream which is used as the default value of
36 | /// _#source_ for tokens that do not have a source.
37 | ///
38 | public static let EMPTY = TokenSourceAndStream()
| |- warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'TokenSourceAndStream' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EMPTY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | public weak var tokenSource: TokenSource?
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:25:23: warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
12 | ///
13 |
14 | public class Vocabulary: Hashable {
| `- note: class 'Vocabulary' does not conform to the 'Sendable' protocol
15 | private static let EMPTY_NAMES: [String?] = [String?](repeating: "", count: 1)
16 |
:
23 | /// except _org.antlr.v4.runtime.Token#EOF_.
24 | ///
25 | public static let EMPTY_VOCABULARY: Vocabulary = Vocabulary(EMPTY_NAMES, EMPTY_NAMES, EMPTY_NAMES)
| |- warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EMPTY_VOCABULARY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/ATNConfig.swift:135:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNConfig' to 'Hashable' by implementing 'hash(into:)' instead
133 | ///
134 |
135 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNConfig' to 'Hashable' by implementing 'hash(into:)' instead
136 | var hashCode = MurmurHash.initialize(7)
137 | hashCode = MurmurHash.update(hashCode, state.stateNumber)
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/SemanticContext.swift:25:23: warning: static property 'NONE' is not concurrency-safe because non-'Sendable' type 'SemanticContext' may have shared mutable state; this is an error in the Swift 6 language mode
18 | import Foundation
19 |
20 | public class SemanticContext: Hashable, CustomStringConvertible {
| `- note: class 'SemanticContext' does not conform to the 'Sendable' protocol
21 | ///
22 | /// The default _org.antlr.v4.runtime.atn.SemanticContext_, which is semantically equivalent to
23 | /// a predicate of the form `{true`?}.
24 | ///
25 | public static let NONE: SemanticContext = Predicate()
| |- warning: static property 'NONE' is not concurrency-safe because non-'Sendable' type 'SemanticContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NONE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/ATNConfigSet.swift:206:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNConfigSet' to 'Hashable' by implementing 'hash(into:)' instead
204 | }
205 |
206 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNConfigSet' to 'Hashable' by implementing 'hash(into:)' instead
207 | if isReadonly() {
208 | if cachedHashCode == -1 {
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/LexerMoreAction.swift:22:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerMoreAction' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ///
17 |
18 | public final class LexerMoreAction: LexerAction, CustomStringConvertible {
| `- note: class 'LexerMoreAction' does not conform to the 'Sendable' protocol
19 | ///
20 | /// Provides a singleton instance of this parameterless lexer action.
21 | ///
22 | public static let INSTANCE: LexerMoreAction = LexerMoreAction()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerMoreAction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/LexerPopModeAction.swift:23:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerPopModeAction' may have shared mutable state; this is an error in the Swift 6 language mode
17 | ///
18 |
19 | public final class LexerPopModeAction: LexerAction, CustomStringConvertible {
| `- note: class 'LexerPopModeAction' does not conform to the 'Sendable' protocol
20 | ///
21 | /// Provides a singleton instance of this parameterless lexer action.
22 | ///
23 | public static let INSTANCE: LexerPopModeAction = LexerPopModeAction()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerPopModeAction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/LexerSkipAction.swift:22:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerSkipAction' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ///
17 |
18 | public final class LexerSkipAction: LexerAction, CustomStringConvertible {
| `- note: class 'LexerSkipAction' does not conform to the 'Sendable' protocol
19 | ///
20 | /// Provides a singleton instance of this parameterless lexer action.
21 | ///
22 | public static let INSTANCE: LexerSkipAction = LexerSkipAction()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerSkipAction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/ATNSimulator.swift:14:23: warning: static property 'ERROR' is not concurrency-safe because non-'Sendable' type 'DFAState' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// Must distinguish between missing edge and edge we know leads nowhere
13 | ///
14 | public static let ERROR: DFAState = {
| |- warning: static property 'ERROR' is not concurrency-safe because non-'Sendable' type 'DFAState' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ERROR' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | let error = DFAState(ATNConfigSet())
16 | error.stateNumber = Int.max
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/dfa/DFAState.swift:34:20: note: class 'DFAState' does not conform to the 'Sendable' protocol
32 | ///
33 |
34 | public final class DFAState: Hashable, CustomStringConvertible {
| `- note: class 'DFAState' does not conform to the 'Sendable' protocol
35 | public internal(set) var stateNumber = -1
36 |
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 {
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/misc/BitSet.swift:1056:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BitSet' to 'Hashable' by implementing 'hash(into:)' instead
1054 | /// - returns: the hash code value for this bit set
1055 | ///
1056 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BitSet' to 'Hashable' by implementing 'hash(into:)' instead
1057 | var h: Int64 = 1234
1058 | var i: Int = wordsInUse
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/SemanticContext.swift:64:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SemanticContext' to 'Hashable' by implementing 'hash(into:)' instead
62 | }
63 |
64 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SemanticContext' to 'Hashable' by implementing 'hash(into:)' instead
65 | fatalError(#function + " must be overridden")
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/PredictionContext.swift:108:22: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'PredictionContext' to 'Hashable' by implementing 'hash(into:)' instead
106 | }
107 |
108 | public final var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'PredictionContext' to 'Hashable' by implementing 'hash(into:)' instead
109 | return cachedHashCode
110 | }
[152/157] Compiling Antlr4 ATNDeserializationOptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:38:23: warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'TokenSourceAndStream' may have shared mutable state; this is an error in the Swift 6 language mode
31 | to avoid retain cycles.
32 | */
33 | public class TokenSourceAndStream {
| `- note: class 'TokenSourceAndStream' does not conform to the 'Sendable' protocol
34 | ///
35 | /// An empty TokenSourceAndStream which is used as the default value of
36 | /// _#source_ for tokens that do not have a source.
37 | ///
38 | public static let EMPTY = TokenSourceAndStream()
| |- warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'TokenSourceAndStream' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EMPTY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | public weak var tokenSource: TokenSource?
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:25:23: warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
12 | ///
13 |
14 | public class Vocabulary: Hashable {
| `- note: class 'Vocabulary' does not conform to the 'Sendable' protocol
15 | private static let EMPTY_NAMES: [String?] = [String?](repeating: "", count: 1)
16 |
:
23 | /// except _org.antlr.v4.runtime.Token#EOF_.
24 | ///
25 | public static let EMPTY_VOCABULARY: Vocabulary = Vocabulary(EMPTY_NAMES, EMPTY_NAMES, EMPTY_NAMES)
| |- warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EMPTY_VOCABULARY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/ATNConfig.swift:135:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNConfig' to 'Hashable' by implementing 'hash(into:)' instead
133 | ///
134 |
135 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNConfig' to 'Hashable' by implementing 'hash(into:)' instead
136 | var hashCode = MurmurHash.initialize(7)
137 | hashCode = MurmurHash.update(hashCode, state.stateNumber)
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/SemanticContext.swift:25:23: warning: static property 'NONE' is not concurrency-safe because non-'Sendable' type 'SemanticContext' may have shared mutable state; this is an error in the Swift 6 language mode
18 | import Foundation
19 |
20 | public class SemanticContext: Hashable, CustomStringConvertible {
| `- note: class 'SemanticContext' does not conform to the 'Sendable' protocol
21 | ///
22 | /// The default _org.antlr.v4.runtime.atn.SemanticContext_, which is semantically equivalent to
23 | /// a predicate of the form `{true`?}.
24 | ///
25 | public static let NONE: SemanticContext = Predicate()
| |- warning: static property 'NONE' is not concurrency-safe because non-'Sendable' type 'SemanticContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NONE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/ATNConfigSet.swift:206:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNConfigSet' to 'Hashable' by implementing 'hash(into:)' instead
204 | }
205 |
206 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNConfigSet' to 'Hashable' by implementing 'hash(into:)' instead
207 | if isReadonly() {
208 | if cachedHashCode == -1 {
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/LexerMoreAction.swift:22:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerMoreAction' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ///
17 |
18 | public final class LexerMoreAction: LexerAction, CustomStringConvertible {
| `- note: class 'LexerMoreAction' does not conform to the 'Sendable' protocol
19 | ///
20 | /// Provides a singleton instance of this parameterless lexer action.
21 | ///
22 | public static let INSTANCE: LexerMoreAction = LexerMoreAction()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerMoreAction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/LexerPopModeAction.swift:23:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerPopModeAction' may have shared mutable state; this is an error in the Swift 6 language mode
17 | ///
18 |
19 | public final class LexerPopModeAction: LexerAction, CustomStringConvertible {
| `- note: class 'LexerPopModeAction' does not conform to the 'Sendable' protocol
20 | ///
21 | /// Provides a singleton instance of this parameterless lexer action.
22 | ///
23 | public static let INSTANCE: LexerPopModeAction = LexerPopModeAction()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerPopModeAction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/LexerSkipAction.swift:22:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerSkipAction' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ///
17 |
18 | public final class LexerSkipAction: LexerAction, CustomStringConvertible {
| `- note: class 'LexerSkipAction' does not conform to the 'Sendable' protocol
19 | ///
20 | /// Provides a singleton instance of this parameterless lexer action.
21 | ///
22 | public static let INSTANCE: LexerSkipAction = LexerSkipAction()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerSkipAction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/ATNSimulator.swift:14:23: warning: static property 'ERROR' is not concurrency-safe because non-'Sendable' type 'DFAState' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// Must distinguish between missing edge and edge we know leads nowhere
13 | ///
14 | public static let ERROR: DFAState = {
| |- warning: static property 'ERROR' is not concurrency-safe because non-'Sendable' type 'DFAState' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ERROR' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | let error = DFAState(ATNConfigSet())
16 | error.stateNumber = Int.max
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/dfa/DFAState.swift:34:20: note: class 'DFAState' does not conform to the 'Sendable' protocol
32 | ///
33 |
34 | public final class DFAState: Hashable, CustomStringConvertible {
| `- note: class 'DFAState' does not conform to the 'Sendable' protocol
35 | public internal(set) var stateNumber = -1
36 |
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 {
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/misc/BitSet.swift:1056:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BitSet' to 'Hashable' by implementing 'hash(into:)' instead
1054 | /// - returns: the hash code value for this bit set
1055 | ///
1056 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BitSet' to 'Hashable' by implementing 'hash(into:)' instead
1057 | var h: Int64 = 1234
1058 | var i: Int = wordsInUse
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/SemanticContext.swift:64:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SemanticContext' to 'Hashable' by implementing 'hash(into:)' instead
62 | }
63 |
64 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SemanticContext' to 'Hashable' by implementing 'hash(into:)' instead
65 | fatalError(#function + " must be overridden")
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/PredictionContext.swift:108:22: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'PredictionContext' to 'Hashable' by implementing 'hash(into:)' instead
106 | }
107 |
108 | public final var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'PredictionContext' to 'Hashable' by implementing 'hash(into:)' instead
109 | return cachedHashCode
110 | }
[153/157] Compiling Antlr4 ATNDeserializer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:38:23: warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'TokenSourceAndStream' may have shared mutable state; this is an error in the Swift 6 language mode
31 | to avoid retain cycles.
32 | */
33 | public class TokenSourceAndStream {
| `- note: class 'TokenSourceAndStream' does not conform to the 'Sendable' protocol
34 | ///
35 | /// An empty TokenSourceAndStream which is used as the default value of
36 | /// _#source_ for tokens that do not have a source.
37 | ///
38 | public static let EMPTY = TokenSourceAndStream()
| |- warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'TokenSourceAndStream' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EMPTY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | public weak var tokenSource: TokenSource?
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:25:23: warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
12 | ///
13 |
14 | public class Vocabulary: Hashable {
| `- note: class 'Vocabulary' does not conform to the 'Sendable' protocol
15 | private static let EMPTY_NAMES: [String?] = [String?](repeating: "", count: 1)
16 |
:
23 | /// except _org.antlr.v4.runtime.Token#EOF_.
24 | ///
25 | public static let EMPTY_VOCABULARY: Vocabulary = Vocabulary(EMPTY_NAMES, EMPTY_NAMES, EMPTY_NAMES)
| |- warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EMPTY_VOCABULARY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/ATNConfig.swift:135:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNConfig' to 'Hashable' by implementing 'hash(into:)' instead
133 | ///
134 |
135 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNConfig' to 'Hashable' by implementing 'hash(into:)' instead
136 | var hashCode = MurmurHash.initialize(7)
137 | hashCode = MurmurHash.update(hashCode, state.stateNumber)
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/SemanticContext.swift:25:23: warning: static property 'NONE' is not concurrency-safe because non-'Sendable' type 'SemanticContext' may have shared mutable state; this is an error in the Swift 6 language mode
18 | import Foundation
19 |
20 | public class SemanticContext: Hashable, CustomStringConvertible {
| `- note: class 'SemanticContext' does not conform to the 'Sendable' protocol
21 | ///
22 | /// The default _org.antlr.v4.runtime.atn.SemanticContext_, which is semantically equivalent to
23 | /// a predicate of the form `{true`?}.
24 | ///
25 | public static let NONE: SemanticContext = Predicate()
| |- warning: static property 'NONE' is not concurrency-safe because non-'Sendable' type 'SemanticContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NONE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/ATNConfigSet.swift:206:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNConfigSet' to 'Hashable' by implementing 'hash(into:)' instead
204 | }
205 |
206 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNConfigSet' to 'Hashable' by implementing 'hash(into:)' instead
207 | if isReadonly() {
208 | if cachedHashCode == -1 {
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/LexerMoreAction.swift:22:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerMoreAction' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ///
17 |
18 | public final class LexerMoreAction: LexerAction, CustomStringConvertible {
| `- note: class 'LexerMoreAction' does not conform to the 'Sendable' protocol
19 | ///
20 | /// Provides a singleton instance of this parameterless lexer action.
21 | ///
22 | public static let INSTANCE: LexerMoreAction = LexerMoreAction()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerMoreAction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/LexerPopModeAction.swift:23:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerPopModeAction' may have shared mutable state; this is an error in the Swift 6 language mode
17 | ///
18 |
19 | public final class LexerPopModeAction: LexerAction, CustomStringConvertible {
| `- note: class 'LexerPopModeAction' does not conform to the 'Sendable' protocol
20 | ///
21 | /// Provides a singleton instance of this parameterless lexer action.
22 | ///
23 | public static let INSTANCE: LexerPopModeAction = LexerPopModeAction()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerPopModeAction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/LexerSkipAction.swift:22:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerSkipAction' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ///
17 |
18 | public final class LexerSkipAction: LexerAction, CustomStringConvertible {
| `- note: class 'LexerSkipAction' does not conform to the 'Sendable' protocol
19 | ///
20 | /// Provides a singleton instance of this parameterless lexer action.
21 | ///
22 | public static let INSTANCE: LexerSkipAction = LexerSkipAction()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerSkipAction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/ATNSimulator.swift:14:23: warning: static property 'ERROR' is not concurrency-safe because non-'Sendable' type 'DFAState' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// Must distinguish between missing edge and edge we know leads nowhere
13 | ///
14 | public static let ERROR: DFAState = {
| |- warning: static property 'ERROR' is not concurrency-safe because non-'Sendable' type 'DFAState' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ERROR' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | let error = DFAState(ATNConfigSet())
16 | error.stateNumber = Int.max
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/dfa/DFAState.swift:34:20: note: class 'DFAState' does not conform to the 'Sendable' protocol
32 | ///
33 |
34 | public final class DFAState: Hashable, CustomStringConvertible {
| `- note: class 'DFAState' does not conform to the 'Sendable' protocol
35 | public internal(set) var stateNumber = -1
36 |
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 {
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/misc/BitSet.swift:1056:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BitSet' to 'Hashable' by implementing 'hash(into:)' instead
1054 | /// - returns: the hash code value for this bit set
1055 | ///
1056 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BitSet' to 'Hashable' by implementing 'hash(into:)' instead
1057 | var h: Int64 = 1234
1058 | var i: Int = wordsInUse
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/SemanticContext.swift:64:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SemanticContext' to 'Hashable' by implementing 'hash(into:)' instead
62 | }
63 |
64 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SemanticContext' to 'Hashable' by implementing 'hash(into:)' instead
65 | fatalError(#function + " must be overridden")
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/PredictionContext.swift:108:22: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'PredictionContext' to 'Hashable' by implementing 'hash(into:)' instead
106 | }
107 |
108 | public final var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'PredictionContext' to 'Hashable' by implementing 'hash(into:)' instead
109 | return cachedHashCode
110 | }
[154/157] Compiling Antlr4 ATNSimulator.swift
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:38:23: warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'TokenSourceAndStream' may have shared mutable state; this is an error in the Swift 6 language mode
31 | to avoid retain cycles.
32 | */
33 | public class TokenSourceAndStream {
| `- note: class 'TokenSourceAndStream' does not conform to the 'Sendable' protocol
34 | ///
35 | /// An empty TokenSourceAndStream which is used as the default value of
36 | /// _#source_ for tokens that do not have a source.
37 | ///
38 | public static let EMPTY = TokenSourceAndStream()
| |- warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'TokenSourceAndStream' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EMPTY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | public weak var tokenSource: TokenSource?
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:25:23: warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
12 | ///
13 |
14 | public class Vocabulary: Hashable {
| `- note: class 'Vocabulary' does not conform to the 'Sendable' protocol
15 | private static let EMPTY_NAMES: [String?] = [String?](repeating: "", count: 1)
16 |
:
23 | /// except _org.antlr.v4.runtime.Token#EOF_.
24 | ///
25 | public static let EMPTY_VOCABULARY: Vocabulary = Vocabulary(EMPTY_NAMES, EMPTY_NAMES, EMPTY_NAMES)
| |- warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EMPTY_VOCABULARY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/ATNConfig.swift:135:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNConfig' to 'Hashable' by implementing 'hash(into:)' instead
133 | ///
134 |
135 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNConfig' to 'Hashable' by implementing 'hash(into:)' instead
136 | var hashCode = MurmurHash.initialize(7)
137 | hashCode = MurmurHash.update(hashCode, state.stateNumber)
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/SemanticContext.swift:25:23: warning: static property 'NONE' is not concurrency-safe because non-'Sendable' type 'SemanticContext' may have shared mutable state; this is an error in the Swift 6 language mode
18 | import Foundation
19 |
20 | public class SemanticContext: Hashable, CustomStringConvertible {
| `- note: class 'SemanticContext' does not conform to the 'Sendable' protocol
21 | ///
22 | /// The default _org.antlr.v4.runtime.atn.SemanticContext_, which is semantically equivalent to
23 | /// a predicate of the form `{true`?}.
24 | ///
25 | public static let NONE: SemanticContext = Predicate()
| |- warning: static property 'NONE' is not concurrency-safe because non-'Sendable' type 'SemanticContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NONE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/ATNConfigSet.swift:206:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNConfigSet' to 'Hashable' by implementing 'hash(into:)' instead
204 | }
205 |
206 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNConfigSet' to 'Hashable' by implementing 'hash(into:)' instead
207 | if isReadonly() {
208 | if cachedHashCode == -1 {
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/LexerMoreAction.swift:22:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerMoreAction' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ///
17 |
18 | public final class LexerMoreAction: LexerAction, CustomStringConvertible {
| `- note: class 'LexerMoreAction' does not conform to the 'Sendable' protocol
19 | ///
20 | /// Provides a singleton instance of this parameterless lexer action.
21 | ///
22 | public static let INSTANCE: LexerMoreAction = LexerMoreAction()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerMoreAction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/LexerPopModeAction.swift:23:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerPopModeAction' may have shared mutable state; this is an error in the Swift 6 language mode
17 | ///
18 |
19 | public final class LexerPopModeAction: LexerAction, CustomStringConvertible {
| `- note: class 'LexerPopModeAction' does not conform to the 'Sendable' protocol
20 | ///
21 | /// Provides a singleton instance of this parameterless lexer action.
22 | ///
23 | public static let INSTANCE: LexerPopModeAction = LexerPopModeAction()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerPopModeAction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/LexerSkipAction.swift:22:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerSkipAction' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ///
17 |
18 | public final class LexerSkipAction: LexerAction, CustomStringConvertible {
| `- note: class 'LexerSkipAction' does not conform to the 'Sendable' protocol
19 | ///
20 | /// Provides a singleton instance of this parameterless lexer action.
21 | ///
22 | public static let INSTANCE: LexerSkipAction = LexerSkipAction()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerSkipAction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/ATNSimulator.swift:14:23: warning: static property 'ERROR' is not concurrency-safe because non-'Sendable' type 'DFAState' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// Must distinguish between missing edge and edge we know leads nowhere
13 | ///
14 | public static let ERROR: DFAState = {
| |- warning: static property 'ERROR' is not concurrency-safe because non-'Sendable' type 'DFAState' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ERROR' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | let error = DFAState(ATNConfigSet())
16 | error.stateNumber = Int.max
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/dfa/DFAState.swift:34:20: note: class 'DFAState' does not conform to the 'Sendable' protocol
32 | ///
33 |
34 | public final class DFAState: Hashable, CustomStringConvertible {
| `- note: class 'DFAState' does not conform to the 'Sendable' protocol
35 | public internal(set) var stateNumber = -1
36 |
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 {
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/misc/BitSet.swift:1056:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BitSet' to 'Hashable' by implementing 'hash(into:)' instead
1054 | /// - returns: the hash code value for this bit set
1055 | ///
1056 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BitSet' to 'Hashable' by implementing 'hash(into:)' instead
1057 | var h: Int64 = 1234
1058 | var i: Int = wordsInUse
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/SemanticContext.swift:64:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SemanticContext' to 'Hashable' by implementing 'hash(into:)' instead
62 | }
63 |
64 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SemanticContext' to 'Hashable' by implementing 'hash(into:)' instead
65 | fatalError(#function + " must be overridden")
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/PredictionContext.swift:108:22: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'PredictionContext' to 'Hashable' by implementing 'hash(into:)' instead
106 | }
107 |
108 | public final var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'PredictionContext' to 'Hashable' by implementing 'hash(into:)' instead
109 | return cachedHashCode
110 | }
[155/157] Compiling Antlr4 ATNState.swift
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/TokenFactory.swift:38:23: warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'TokenSourceAndStream' may have shared mutable state; this is an error in the Swift 6 language mode
31 | to avoid retain cycles.
32 | */
33 | public class TokenSourceAndStream {
| `- note: class 'TokenSourceAndStream' does not conform to the 'Sendable' protocol
34 | ///
35 | /// An empty TokenSourceAndStream which is used as the default value of
36 | /// _#source_ for tokens that do not have a source.
37 | ///
38 | public static let EMPTY = TokenSourceAndStream()
| |- warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'TokenSourceAndStream' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EMPTY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | public weak var tokenSource: TokenSource?
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:25:23: warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
12 | ///
13 |
14 | public class Vocabulary: Hashable {
| `- note: class 'Vocabulary' does not conform to the 'Sendable' protocol
15 | private static let EMPTY_NAMES: [String?] = [String?](repeating: "", count: 1)
16 |
:
23 | /// except _org.antlr.v4.runtime.Token#EOF_.
24 | ///
25 | public static let EMPTY_VOCABULARY: Vocabulary = Vocabulary(EMPTY_NAMES, EMPTY_NAMES, EMPTY_NAMES)
| |- warning: static property 'EMPTY_VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EMPTY_VOCABULARY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/ATNConfig.swift:135:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNConfig' to 'Hashable' by implementing 'hash(into:)' instead
133 | ///
134 |
135 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNConfig' to 'Hashable' by implementing 'hash(into:)' instead
136 | var hashCode = MurmurHash.initialize(7)
137 | hashCode = MurmurHash.update(hashCode, state.stateNumber)
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/SemanticContext.swift:25:23: warning: static property 'NONE' is not concurrency-safe because non-'Sendable' type 'SemanticContext' may have shared mutable state; this is an error in the Swift 6 language mode
18 | import Foundation
19 |
20 | public class SemanticContext: Hashable, CustomStringConvertible {
| `- note: class 'SemanticContext' does not conform to the 'Sendable' protocol
21 | ///
22 | /// The default _org.antlr.v4.runtime.atn.SemanticContext_, which is semantically equivalent to
23 | /// a predicate of the form `{true`?}.
24 | ///
25 | public static let NONE: SemanticContext = Predicate()
| |- warning: static property 'NONE' is not concurrency-safe because non-'Sendable' type 'SemanticContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NONE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/ATNConfigSet.swift:206:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNConfigSet' to 'Hashable' by implementing 'hash(into:)' instead
204 | }
205 |
206 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNConfigSet' to 'Hashable' by implementing 'hash(into:)' instead
207 | if isReadonly() {
208 | if cachedHashCode == -1 {
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/LexerMoreAction.swift:22:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerMoreAction' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ///
17 |
18 | public final class LexerMoreAction: LexerAction, CustomStringConvertible {
| `- note: class 'LexerMoreAction' does not conform to the 'Sendable' protocol
19 | ///
20 | /// Provides a singleton instance of this parameterless lexer action.
21 | ///
22 | public static let INSTANCE: LexerMoreAction = LexerMoreAction()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerMoreAction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/LexerPopModeAction.swift:23:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerPopModeAction' may have shared mutable state; this is an error in the Swift 6 language mode
17 | ///
18 |
19 | public final class LexerPopModeAction: LexerAction, CustomStringConvertible {
| `- note: class 'LexerPopModeAction' does not conform to the 'Sendable' protocol
20 | ///
21 | /// Provides a singleton instance of this parameterless lexer action.
22 | ///
23 | public static let INSTANCE: LexerPopModeAction = LexerPopModeAction()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerPopModeAction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/LexerSkipAction.swift:22:23: warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerSkipAction' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ///
17 |
18 | public final class LexerSkipAction: LexerAction, CustomStringConvertible {
| `- note: class 'LexerSkipAction' does not conform to the 'Sendable' protocol
19 | ///
20 | /// Provides a singleton instance of this parameterless lexer action.
21 | ///
22 | public static let INSTANCE: LexerSkipAction = LexerSkipAction()
| |- warning: static property 'INSTANCE' is not concurrency-safe because non-'Sendable' type 'LexerSkipAction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INSTANCE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/ATNSimulator.swift:14:23: warning: static property 'ERROR' is not concurrency-safe because non-'Sendable' type 'DFAState' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// Must distinguish between missing edge and edge we know leads nowhere
13 | ///
14 | public static let ERROR: DFAState = {
| |- warning: static property 'ERROR' is not concurrency-safe because non-'Sendable' type 'DFAState' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ERROR' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | let error = DFAState(ATNConfigSet())
16 | error.stateNumber = Int.max
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/dfa/DFAState.swift:34:20: note: class 'DFAState' does not conform to the 'Sendable' protocol
32 | ///
33 |
34 | public final class DFAState: Hashable, CustomStringConvertible {
| `- note: class 'DFAState' does not conform to the 'Sendable' protocol
35 | public internal(set) var stateNumber = -1
36 |
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 {
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/misc/BitSet.swift:1056:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BitSet' to 'Hashable' by implementing 'hash(into:)' instead
1054 | /// - returns: the hash code value for this bit set
1055 | ///
1056 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BitSet' to 'Hashable' by implementing 'hash(into:)' instead
1057 | var h: Int64 = 1234
1058 | var i: Int = wordsInUse
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/SemanticContext.swift:64:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SemanticContext' to 'Hashable' by implementing 'hash(into:)' instead
62 | }
63 |
64 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SemanticContext' to 'Hashable' by implementing 'hash(into:)' instead
65 | fatalError(#function + " must be overridden")
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Antlr4/atn/PredictionContext.swift:108:22: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'PredictionContext' to 'Hashable' by implementing 'hash(into:)' instead
106 | }
107 |
108 | public final var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'PredictionContext' to 'Hashable' by implementing 'hash(into:)' instead
109 | return cachedHashCode
110 | }
[155/157] Write Objects.LinkFileList
[156/157] Linking libAntlr4.dylib
Build complete! (15.94s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Antlr4",
"name" : "Antlr4",
"path" : "/Users/admin/builder/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"
}
Done.