Build Information
Failed to build Antlr4, reference master (c95f13), with Swift 6.3 for Wasm on 10 Apr 2026 12:54:01 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
159 | return Unmanaged.passUnretained(self).toOpaque().hashValue
160 | // return unsafeAddress(of: self).hashValue
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:65:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
66 | var hash: Int = 23
67 | hash = hash * 31 + a
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[113/158] Compiling Antlr4 TokenSource.swift
/host/spi-builder-workspace/Sources/Antlr4/Parser.swift:944:13: warning: variable 'ruleNames' was never mutated; consider changing to 'let' constant
942 | public func getRuleInvocationStack(_ p: RuleContext?) -> [String] {
943 | var p = p
944 | var ruleNames = getRuleNames()
| `- warning: variable 'ruleNames' was never mutated; consider changing to 'let' constant
945 | var stack = [String]()
946 | while let pWrap = p {
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
1057 | var h: Int64 = 1234
1058 | var i: Int = wordsInUse
/host/spi-builder-workspace/Sources/Antlr4/atn/ATNState.swift:126:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
127 | return stateNumber
128 | }
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
159 | return Unmanaged.passUnretained(self).toOpaque().hashValue
160 | // return unsafeAddress(of: self).hashValue
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:65:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
66 | var hash: Int = 23
67 | hash = hash * 31 + a
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[114/158] Compiling Antlr4 TokenStream.swift
/host/spi-builder-workspace/Sources/Antlr4/Parser.swift:944:13: warning: variable 'ruleNames' was never mutated; consider changing to 'let' constant
942 | public func getRuleInvocationStack(_ p: RuleContext?) -> [String] {
943 | var p = p
944 | var ruleNames = getRuleNames()
| `- warning: variable 'ruleNames' was never mutated; consider changing to 'let' constant
945 | var stack = [String]()
946 | while let pWrap = p {
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
1057 | var h: Int64 = 1234
1058 | var i: Int = wordsInUse
/host/spi-builder-workspace/Sources/Antlr4/atn/ATNState.swift:126:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
127 | return stateNumber
128 | }
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
159 | return Unmanaged.passUnretained(self).toOpaque().hashValue
160 | // return unsafeAddress(of: self).hashValue
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:65:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
66 | var hash: Int = 23
67 | hash = hash * 31 + a
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[115/158] Compiling Antlr4 TokenStreamRewriter.swift
/host/spi-builder-workspace/Sources/Antlr4/Parser.swift:944:13: warning: variable 'ruleNames' was never mutated; consider changing to 'let' constant
942 | public func getRuleInvocationStack(_ p: RuleContext?) -> [String] {
943 | var p = p
944 | var ruleNames = getRuleNames()
| `- warning: variable 'ruleNames' was never mutated; consider changing to 'let' constant
945 | var stack = [String]()
946 | while let pWrap = p {
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
1057 | var h: Int64 = 1234
1058 | var i: Int = wordsInUse
/host/spi-builder-workspace/Sources/Antlr4/atn/ATNState.swift:126:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
127 | return stateNumber
128 | }
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
159 | return Unmanaged.passUnretained(self).toOpaque().hashValue
160 | // return unsafeAddress(of: self).hashValue
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:65:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
66 | var hash: Int = 23
67 | hash = hash * 31 + a
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[116/158] Compiling Antlr4 UnbufferedCharStream.swift
/host/spi-builder-workspace/Sources/Antlr4/Parser.swift:944:13: warning: variable 'ruleNames' was never mutated; consider changing to 'let' constant
942 | public func getRuleInvocationStack(_ p: RuleContext?) -> [String] {
943 | var p = p
944 | var ruleNames = getRuleNames()
| `- warning: variable 'ruleNames' was never mutated; consider changing to 'let' constant
945 | var stack = [String]()
946 | while let pWrap = p {
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
1057 | var h: Int64 = 1234
1058 | var i: Int = wordsInUse
/host/spi-builder-workspace/Sources/Antlr4/atn/ATNState.swift:126:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
127 | return stateNumber
128 | }
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
159 | return Unmanaged.passUnretained(self).toOpaque().hashValue
160 | // return unsafeAddress(of: self).hashValue
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:65:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
66 | var hash: Int = 23
67 | hash = hash * 31 + a
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[117/158] Compiling Antlr4 UnbufferedTokenStream.swift
/host/spi-builder-workspace/Sources/Antlr4/Parser.swift:944:13: warning: variable 'ruleNames' was never mutated; consider changing to 'let' constant
942 | public func getRuleInvocationStack(_ p: RuleContext?) -> [String] {
943 | var p = p
944 | var ruleNames = getRuleNames()
| `- warning: variable 'ruleNames' was never mutated; consider changing to 'let' constant
945 | var stack = [String]()
946 | while let pWrap = p {
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
1057 | var h: Int64 = 1234
1058 | var i: Int = wordsInUse
/host/spi-builder-workspace/Sources/Antlr4/atn/ATNState.swift:126:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
127 | return stateNumber
128 | }
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
159 | return Unmanaged.passUnretained(self).toOpaque().hashValue
160 | // return unsafeAddress(of: self).hashValue
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:65:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
66 | var hash: Int = 23
67 | hash = hash * 31 + a
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[118/158] Compiling Antlr4 LexerPopModeAction.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerAction.swift:59:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LexerAction' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
57 | }
58 |
59 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LexerAction' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
60 | fatalError(#function + " must be overridden")
61 | }
/host/spi-builder-workspace/Sources/Antlr4/atn/LookupATNConfig.swift:23:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LookupATNConfig' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
21 | config = old
22 | }
23 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LookupATNConfig' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
24 |
25 | var hashCode: Int = 7
/host/spi-builder-workspace/Sources/Antlr4/atn/ATNState.swift:126:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
127 | return stateNumber
128 | }
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:43:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
41 | ///
42 | public func getLLDecisions() -> Array<Int> {
43 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
44 | var LL: Array<Int> = Array<Int>()
45 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:62:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
60 | ///
61 | public func getTotalTimeInPrediction() -> Int64 {
62 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
63 | var t: Int64 = 0
64 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:77:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
75 | ///
76 | public func getTotalSLLLookaheadOps() -> Int64 {
77 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
78 | var k: Int64 = 0
79 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:92:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
90 | ///
91 | public func getTotalLLLookaheadOps() -> Int64 {
92 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
93 | var k: Int64 = 0
94 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:106:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
104 | ///
105 | public func getTotalSLLATNLookaheadOps() -> Int64 {
106 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
107 | var k: Int64 = 0
108 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:120:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
118 | ///
119 | public func getTotalLLATNLookaheadOps() -> Int64 {
120 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
121 | var k: Int64 = 0
122 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:138:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
136 | ///
137 | public func getTotalATNLookaheadOps() -> Int64 {
138 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
139 | var k: Int64 = 0
140 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParserATNSimulator.swift:562:13: warning: variable 'edges' was never mutated; consider changing to 'let' constant
560 | ///
561 | func getExistingTargetState(_ previousD: DFAState, _ t: Int) -> DFAState? {
562 | var edges = previousD.edges
| `- warning: variable 'edges' was never mutated; consider changing to 'let' constant
563 | if edges == nil || (t + 1) < 0 || (t + 1) >= (edges!.count) {
564 | return nil
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
109 | return cachedHashCode
110 | }
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
65 | fatalError(#function + " must be overridden")
66 | }
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
136 | var hashCode = MurmurHash.initialize(7)
137 | hashCode = MurmurHash.update(hashCode, state.stateNumber)
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
1057 | var h: Int64 = 1234
1058 | var i: Int = wordsInUse
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
159 | return Unmanaged.passUnretained(self).toOpaque().hashValue
160 | // return unsafeAddress(of: self).hashValue
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[119/158] Compiling Antlr4 LexerPushModeAction.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerAction.swift:59:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LexerAction' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
57 | }
58 |
59 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LexerAction' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
60 | fatalError(#function + " must be overridden")
61 | }
/host/spi-builder-workspace/Sources/Antlr4/atn/LookupATNConfig.swift:23:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LookupATNConfig' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
21 | config = old
22 | }
23 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LookupATNConfig' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
24 |
25 | var hashCode: Int = 7
/host/spi-builder-workspace/Sources/Antlr4/atn/ATNState.swift:126:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
127 | return stateNumber
128 | }
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:43:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
41 | ///
42 | public func getLLDecisions() -> Array<Int> {
43 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
44 | var LL: Array<Int> = Array<Int>()
45 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:62:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
60 | ///
61 | public func getTotalTimeInPrediction() -> Int64 {
62 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
63 | var t: Int64 = 0
64 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:77:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
75 | ///
76 | public func getTotalSLLLookaheadOps() -> Int64 {
77 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
78 | var k: Int64 = 0
79 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:92:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
90 | ///
91 | public func getTotalLLLookaheadOps() -> Int64 {
92 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
93 | var k: Int64 = 0
94 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:106:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
104 | ///
105 | public func getTotalSLLATNLookaheadOps() -> Int64 {
106 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
107 | var k: Int64 = 0
108 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:120:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
118 | ///
119 | public func getTotalLLATNLookaheadOps() -> Int64 {
120 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
121 | var k: Int64 = 0
122 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:138:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
136 | ///
137 | public func getTotalATNLookaheadOps() -> Int64 {
138 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
139 | var k: Int64 = 0
140 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParserATNSimulator.swift:562:13: warning: variable 'edges' was never mutated; consider changing to 'let' constant
560 | ///
561 | func getExistingTargetState(_ previousD: DFAState, _ t: Int) -> DFAState? {
562 | var edges = previousD.edges
| `- warning: variable 'edges' was never mutated; consider changing to 'let' constant
563 | if edges == nil || (t + 1) < 0 || (t + 1) >= (edges!.count) {
564 | return nil
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
109 | return cachedHashCode
110 | }
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
65 | fatalError(#function + " must be overridden")
66 | }
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
136 | var hashCode = MurmurHash.initialize(7)
137 | hashCode = MurmurHash.update(hashCode, state.stateNumber)
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
1057 | var h: Int64 = 1234
1058 | var i: Int = wordsInUse
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
159 | return Unmanaged.passUnretained(self).toOpaque().hashValue
160 | // return unsafeAddress(of: self).hashValue
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[120/158] Compiling Antlr4 LexerSkipAction.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerAction.swift:59:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LexerAction' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
57 | }
58 |
59 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LexerAction' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
60 | fatalError(#function + " must be overridden")
61 | }
/host/spi-builder-workspace/Sources/Antlr4/atn/LookupATNConfig.swift:23:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LookupATNConfig' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
21 | config = old
22 | }
23 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LookupATNConfig' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
24 |
25 | var hashCode: Int = 7
/host/spi-builder-workspace/Sources/Antlr4/atn/ATNState.swift:126:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
127 | return stateNumber
128 | }
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:43:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
41 | ///
42 | public func getLLDecisions() -> Array<Int> {
43 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
44 | var LL: Array<Int> = Array<Int>()
45 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:62:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
60 | ///
61 | public func getTotalTimeInPrediction() -> Int64 {
62 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
63 | var t: Int64 = 0
64 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:77:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
75 | ///
76 | public func getTotalSLLLookaheadOps() -> Int64 {
77 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
78 | var k: Int64 = 0
79 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:92:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
90 | ///
91 | public func getTotalLLLookaheadOps() -> Int64 {
92 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
93 | var k: Int64 = 0
94 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:106:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
104 | ///
105 | public func getTotalSLLATNLookaheadOps() -> Int64 {
106 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
107 | var k: Int64 = 0
108 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:120:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
118 | ///
119 | public func getTotalLLATNLookaheadOps() -> Int64 {
120 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
121 | var k: Int64 = 0
122 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:138:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
136 | ///
137 | public func getTotalATNLookaheadOps() -> Int64 {
138 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
139 | var k: Int64 = 0
140 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParserATNSimulator.swift:562:13: warning: variable 'edges' was never mutated; consider changing to 'let' constant
560 | ///
561 | func getExistingTargetState(_ previousD: DFAState, _ t: Int) -> DFAState? {
562 | var edges = previousD.edges
| `- warning: variable 'edges' was never mutated; consider changing to 'let' constant
563 | if edges == nil || (t + 1) < 0 || (t + 1) >= (edges!.count) {
564 | return nil
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
109 | return cachedHashCode
110 | }
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
65 | fatalError(#function + " must be overridden")
66 | }
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
136 | var hashCode = MurmurHash.initialize(7)
137 | hashCode = MurmurHash.update(hashCode, state.stateNumber)
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
1057 | var h: Int64 = 1234
1058 | var i: Int = wordsInUse
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
159 | return Unmanaged.passUnretained(self).toOpaque().hashValue
160 | // return unsafeAddress(of: self).hashValue
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[121/158] Compiling Antlr4 LexerTypeAction.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerAction.swift:59:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LexerAction' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
57 | }
58 |
59 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LexerAction' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
60 | fatalError(#function + " must be overridden")
61 | }
/host/spi-builder-workspace/Sources/Antlr4/atn/LookupATNConfig.swift:23:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LookupATNConfig' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
21 | config = old
22 | }
23 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LookupATNConfig' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
24 |
25 | var hashCode: Int = 7
/host/spi-builder-workspace/Sources/Antlr4/atn/ATNState.swift:126:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
127 | return stateNumber
128 | }
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:43:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
41 | ///
42 | public func getLLDecisions() -> Array<Int> {
43 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
44 | var LL: Array<Int> = Array<Int>()
45 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:62:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
60 | ///
61 | public func getTotalTimeInPrediction() -> Int64 {
62 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
63 | var t: Int64 = 0
64 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:77:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
75 | ///
76 | public func getTotalSLLLookaheadOps() -> Int64 {
77 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
78 | var k: Int64 = 0
79 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:92:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
90 | ///
91 | public func getTotalLLLookaheadOps() -> Int64 {
92 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
93 | var k: Int64 = 0
94 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:106:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
104 | ///
105 | public func getTotalSLLATNLookaheadOps() -> Int64 {
106 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
107 | var k: Int64 = 0
108 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:120:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
118 | ///
119 | public func getTotalLLATNLookaheadOps() -> Int64 {
120 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
121 | var k: Int64 = 0
122 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:138:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
136 | ///
137 | public func getTotalATNLookaheadOps() -> Int64 {
138 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
139 | var k: Int64 = 0
140 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParserATNSimulator.swift:562:13: warning: variable 'edges' was never mutated; consider changing to 'let' constant
560 | ///
561 | func getExistingTargetState(_ previousD: DFAState, _ t: Int) -> DFAState? {
562 | var edges = previousD.edges
| `- warning: variable 'edges' was never mutated; consider changing to 'let' constant
563 | if edges == nil || (t + 1) < 0 || (t + 1) >= (edges!.count) {
564 | return nil
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
109 | return cachedHashCode
110 | }
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
65 | fatalError(#function + " must be overridden")
66 | }
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
136 | var hashCode = MurmurHash.initialize(7)
137 | hashCode = MurmurHash.update(hashCode, state.stateNumber)
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
1057 | var h: Int64 = 1234
1058 | var i: Int = wordsInUse
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
159 | return Unmanaged.passUnretained(self).toOpaque().hashValue
160 | // return unsafeAddress(of: self).hashValue
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[122/158] Compiling Antlr4 LookaheadEventInfo.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerAction.swift:59:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LexerAction' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
57 | }
58 |
59 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LexerAction' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
60 | fatalError(#function + " must be overridden")
61 | }
/host/spi-builder-workspace/Sources/Antlr4/atn/LookupATNConfig.swift:23:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LookupATNConfig' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
21 | config = old
22 | }
23 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LookupATNConfig' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
24 |
25 | var hashCode: Int = 7
/host/spi-builder-workspace/Sources/Antlr4/atn/ATNState.swift:126:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
127 | return stateNumber
128 | }
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:43:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
41 | ///
42 | public func getLLDecisions() -> Array<Int> {
43 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
44 | var LL: Array<Int> = Array<Int>()
45 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:62:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
60 | ///
61 | public func getTotalTimeInPrediction() -> Int64 {
62 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
63 | var t: Int64 = 0
64 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:77:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
75 | ///
76 | public func getTotalSLLLookaheadOps() -> Int64 {
77 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
78 | var k: Int64 = 0
79 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:92:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
90 | ///
91 | public func getTotalLLLookaheadOps() -> Int64 {
92 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
93 | var k: Int64 = 0
94 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:106:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
104 | ///
105 | public func getTotalSLLATNLookaheadOps() -> Int64 {
106 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
107 | var k: Int64 = 0
108 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:120:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
118 | ///
119 | public func getTotalLLATNLookaheadOps() -> Int64 {
120 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
121 | var k: Int64 = 0
122 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:138:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
136 | ///
137 | public func getTotalATNLookaheadOps() -> Int64 {
138 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
139 | var k: Int64 = 0
140 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParserATNSimulator.swift:562:13: warning: variable 'edges' was never mutated; consider changing to 'let' constant
560 | ///
561 | func getExistingTargetState(_ previousD: DFAState, _ t: Int) -> DFAState? {
562 | var edges = previousD.edges
| `- warning: variable 'edges' was never mutated; consider changing to 'let' constant
563 | if edges == nil || (t + 1) < 0 || (t + 1) >= (edges!.count) {
564 | return nil
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
109 | return cachedHashCode
110 | }
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
65 | fatalError(#function + " must be overridden")
66 | }
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
136 | var hashCode = MurmurHash.initialize(7)
137 | hashCode = MurmurHash.update(hashCode, state.stateNumber)
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
1057 | var h: Int64 = 1234
1058 | var i: Int = wordsInUse
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
159 | return Unmanaged.passUnretained(self).toOpaque().hashValue
160 | // return unsafeAddress(of: self).hashValue
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[123/158] Compiling Antlr4 LookupATNConfig.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerAction.swift:59:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LexerAction' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
57 | }
58 |
59 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LexerAction' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
60 | fatalError(#function + " must be overridden")
61 | }
/host/spi-builder-workspace/Sources/Antlr4/atn/LookupATNConfig.swift:23:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LookupATNConfig' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
21 | config = old
22 | }
23 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LookupATNConfig' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
24 |
25 | var hashCode: Int = 7
/host/spi-builder-workspace/Sources/Antlr4/atn/ATNState.swift:126:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
127 | return stateNumber
128 | }
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:43:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
41 | ///
42 | public func getLLDecisions() -> Array<Int> {
43 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
44 | var LL: Array<Int> = Array<Int>()
45 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:62:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
60 | ///
61 | public func getTotalTimeInPrediction() -> Int64 {
62 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
63 | var t: Int64 = 0
64 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:77:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
75 | ///
76 | public func getTotalSLLLookaheadOps() -> Int64 {
77 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
78 | var k: Int64 = 0
79 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:92:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
90 | ///
91 | public func getTotalLLLookaheadOps() -> Int64 {
92 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
93 | var k: Int64 = 0
94 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:106:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
104 | ///
105 | public func getTotalSLLATNLookaheadOps() -> Int64 {
106 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
107 | var k: Int64 = 0
108 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:120:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
118 | ///
119 | public func getTotalLLATNLookaheadOps() -> Int64 {
120 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
121 | var k: Int64 = 0
122 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:138:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
136 | ///
137 | public func getTotalATNLookaheadOps() -> Int64 {
138 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
139 | var k: Int64 = 0
140 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParserATNSimulator.swift:562:13: warning: variable 'edges' was never mutated; consider changing to 'let' constant
560 | ///
561 | func getExistingTargetState(_ previousD: DFAState, _ t: Int) -> DFAState? {
562 | var edges = previousD.edges
| `- warning: variable 'edges' was never mutated; consider changing to 'let' constant
563 | if edges == nil || (t + 1) < 0 || (t + 1) >= (edges!.count) {
564 | return nil
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
109 | return cachedHashCode
110 | }
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
65 | fatalError(#function + " must be overridden")
66 | }
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
136 | var hashCode = MurmurHash.initialize(7)
137 | hashCode = MurmurHash.update(hashCode, state.stateNumber)
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
1057 | var h: Int64 = 1234
1058 | var i: Int = wordsInUse
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
159 | return Unmanaged.passUnretained(self).toOpaque().hashValue
160 | // return unsafeAddress(of: self).hashValue
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[124/158] Compiling Antlr4 LookupDictionary.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerAction.swift:59:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LexerAction' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
57 | }
58 |
59 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LexerAction' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
60 | fatalError(#function + " must be overridden")
61 | }
/host/spi-builder-workspace/Sources/Antlr4/atn/LookupATNConfig.swift:23:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LookupATNConfig' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
21 | config = old
22 | }
23 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LookupATNConfig' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
24 |
25 | var hashCode: Int = 7
/host/spi-builder-workspace/Sources/Antlr4/atn/ATNState.swift:126:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
127 | return stateNumber
128 | }
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:43:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
41 | ///
42 | public func getLLDecisions() -> Array<Int> {
43 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
44 | var LL: Array<Int> = Array<Int>()
45 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:62:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
60 | ///
61 | public func getTotalTimeInPrediction() -> Int64 {
62 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
63 | var t: Int64 = 0
64 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:77:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
75 | ///
76 | public func getTotalSLLLookaheadOps() -> Int64 {
77 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
78 | var k: Int64 = 0
79 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:92:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
90 | ///
91 | public func getTotalLLLookaheadOps() -> Int64 {
92 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
93 | var k: Int64 = 0
94 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:106:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
104 | ///
105 | public func getTotalSLLATNLookaheadOps() -> Int64 {
106 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
107 | var k: Int64 = 0
108 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:120:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
118 | ///
119 | public func getTotalLLATNLookaheadOps() -> Int64 {
120 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
121 | var k: Int64 = 0
122 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:138:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
136 | ///
137 | public func getTotalATNLookaheadOps() -> Int64 {
138 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
139 | var k: Int64 = 0
140 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParserATNSimulator.swift:562:13: warning: variable 'edges' was never mutated; consider changing to 'let' constant
560 | ///
561 | func getExistingTargetState(_ previousD: DFAState, _ t: Int) -> DFAState? {
562 | var edges = previousD.edges
| `- warning: variable 'edges' was never mutated; consider changing to 'let' constant
563 | if edges == nil || (t + 1) < 0 || (t + 1) >= (edges!.count) {
564 | return nil
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
109 | return cachedHashCode
110 | }
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
65 | fatalError(#function + " must be overridden")
66 | }
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
136 | var hashCode = MurmurHash.initialize(7)
137 | hashCode = MurmurHash.update(hashCode, state.stateNumber)
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
1057 | var h: Int64 = 1234
1058 | var i: Int = wordsInUse
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
159 | return Unmanaged.passUnretained(self).toOpaque().hashValue
160 | // return unsafeAddress(of: self).hashValue
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[125/158] Compiling Antlr4 LoopEndState.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerAction.swift:59:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LexerAction' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
57 | }
58 |
59 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LexerAction' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
60 | fatalError(#function + " must be overridden")
61 | }
/host/spi-builder-workspace/Sources/Antlr4/atn/LookupATNConfig.swift:23:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LookupATNConfig' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
21 | config = old
22 | }
23 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LookupATNConfig' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
24 |
25 | var hashCode: Int = 7
/host/spi-builder-workspace/Sources/Antlr4/atn/ATNState.swift:126:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
127 | return stateNumber
128 | }
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:43:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
41 | ///
42 | public func getLLDecisions() -> Array<Int> {
43 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
44 | var LL: Array<Int> = Array<Int>()
45 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:62:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
60 | ///
61 | public func getTotalTimeInPrediction() -> Int64 {
62 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
63 | var t: Int64 = 0
64 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:77:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
75 | ///
76 | public func getTotalSLLLookaheadOps() -> Int64 {
77 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
78 | var k: Int64 = 0
79 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:92:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
90 | ///
91 | public func getTotalLLLookaheadOps() -> Int64 {
92 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
93 | var k: Int64 = 0
94 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:106:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
104 | ///
105 | public func getTotalSLLATNLookaheadOps() -> Int64 {
106 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
107 | var k: Int64 = 0
108 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:120:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
118 | ///
119 | public func getTotalLLATNLookaheadOps() -> Int64 {
120 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
121 | var k: Int64 = 0
122 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:138:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
136 | ///
137 | public func getTotalATNLookaheadOps() -> Int64 {
138 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
139 | var k: Int64 = 0
140 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParserATNSimulator.swift:562:13: warning: variable 'edges' was never mutated; consider changing to 'let' constant
560 | ///
561 | func getExistingTargetState(_ previousD: DFAState, _ t: Int) -> DFAState? {
562 | var edges = previousD.edges
| `- warning: variable 'edges' was never mutated; consider changing to 'let' constant
563 | if edges == nil || (t + 1) < 0 || (t + 1) >= (edges!.count) {
564 | return nil
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
109 | return cachedHashCode
110 | }
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
65 | fatalError(#function + " must be overridden")
66 | }
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
136 | var hashCode = MurmurHash.initialize(7)
137 | hashCode = MurmurHash.update(hashCode, state.stateNumber)
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
1057 | var h: Int64 = 1234
1058 | var i: Int = wordsInUse
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
159 | return Unmanaged.passUnretained(self).toOpaque().hashValue
160 | // return unsafeAddress(of: self).hashValue
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[126/158] Compiling Antlr4 NotSetTransition.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerAction.swift:59:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LexerAction' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
57 | }
58 |
59 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LexerAction' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
60 | fatalError(#function + " must be overridden")
61 | }
/host/spi-builder-workspace/Sources/Antlr4/atn/LookupATNConfig.swift:23:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LookupATNConfig' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
21 | config = old
22 | }
23 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LookupATNConfig' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
24 |
25 | var hashCode: Int = 7
/host/spi-builder-workspace/Sources/Antlr4/atn/ATNState.swift:126:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
127 | return stateNumber
128 | }
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:43:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
41 | ///
42 | public func getLLDecisions() -> Array<Int> {
43 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
44 | var LL: Array<Int> = Array<Int>()
45 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:62:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
60 | ///
61 | public func getTotalTimeInPrediction() -> Int64 {
62 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
63 | var t: Int64 = 0
64 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:77:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
75 | ///
76 | public func getTotalSLLLookaheadOps() -> Int64 {
77 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
78 | var k: Int64 = 0
79 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:92:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
90 | ///
91 | public func getTotalLLLookaheadOps() -> Int64 {
92 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
93 | var k: Int64 = 0
94 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:106:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
104 | ///
105 | public func getTotalSLLATNLookaheadOps() -> Int64 {
106 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
107 | var k: Int64 = 0
108 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:120:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
118 | ///
119 | public func getTotalLLATNLookaheadOps() -> Int64 {
120 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
121 | var k: Int64 = 0
122 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:138:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
136 | ///
137 | public func getTotalATNLookaheadOps() -> Int64 {
138 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
139 | var k: Int64 = 0
140 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParserATNSimulator.swift:562:13: warning: variable 'edges' was never mutated; consider changing to 'let' constant
560 | ///
561 | func getExistingTargetState(_ previousD: DFAState, _ t: Int) -> DFAState? {
562 | var edges = previousD.edges
| `- warning: variable 'edges' was never mutated; consider changing to 'let' constant
563 | if edges == nil || (t + 1) < 0 || (t + 1) >= (edges!.count) {
564 | return nil
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
109 | return cachedHashCode
110 | }
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
65 | fatalError(#function + " must be overridden")
66 | }
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
136 | var hashCode = MurmurHash.initialize(7)
137 | hashCode = MurmurHash.update(hashCode, state.stateNumber)
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
1057 | var h: Int64 = 1234
1058 | var i: Int = wordsInUse
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
159 | return Unmanaged.passUnretained(self).toOpaque().hashValue
160 | // return unsafeAddress(of: self).hashValue
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[127/158] Compiling Antlr4 ParseInfo.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerAction.swift:59:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LexerAction' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
57 | }
58 |
59 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LexerAction' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
60 | fatalError(#function + " must be overridden")
61 | }
/host/spi-builder-workspace/Sources/Antlr4/atn/LookupATNConfig.swift:23:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LookupATNConfig' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
21 | config = old
22 | }
23 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LookupATNConfig' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
24 |
25 | var hashCode: Int = 7
/host/spi-builder-workspace/Sources/Antlr4/atn/ATNState.swift:126:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
127 | return stateNumber
128 | }
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:43:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
41 | ///
42 | public func getLLDecisions() -> Array<Int> {
43 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
44 | var LL: Array<Int> = Array<Int>()
45 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:62:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
60 | ///
61 | public func getTotalTimeInPrediction() -> Int64 {
62 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
63 | var t: Int64 = 0
64 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:77:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
75 | ///
76 | public func getTotalSLLLookaheadOps() -> Int64 {
77 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
78 | var k: Int64 = 0
79 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:92:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
90 | ///
91 | public func getTotalLLLookaheadOps() -> Int64 {
92 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
93 | var k: Int64 = 0
94 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:106:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
104 | ///
105 | public func getTotalSLLATNLookaheadOps() -> Int64 {
106 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
107 | var k: Int64 = 0
108 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:120:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
118 | ///
119 | public func getTotalLLATNLookaheadOps() -> Int64 {
120 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
121 | var k: Int64 = 0
122 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:138:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
136 | ///
137 | public func getTotalATNLookaheadOps() -> Int64 {
138 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
139 | var k: Int64 = 0
140 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParserATNSimulator.swift:562:13: warning: variable 'edges' was never mutated; consider changing to 'let' constant
560 | ///
561 | func getExistingTargetState(_ previousD: DFAState, _ t: Int) -> DFAState? {
562 | var edges = previousD.edges
| `- warning: variable 'edges' was never mutated; consider changing to 'let' constant
563 | if edges == nil || (t + 1) < 0 || (t + 1) >= (edges!.count) {
564 | return nil
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
109 | return cachedHashCode
110 | }
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
65 | fatalError(#function + " must be overridden")
66 | }
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
136 | var hashCode = MurmurHash.initialize(7)
137 | hashCode = MurmurHash.update(hashCode, state.stateNumber)
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
1057 | var h: Int64 = 1234
1058 | var i: Int = wordsInUse
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
159 | return Unmanaged.passUnretained(self).toOpaque().hashValue
160 | // return unsafeAddress(of: self).hashValue
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[128/158] Compiling Antlr4 ParserATNSimulator.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerAction.swift:59:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LexerAction' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
57 | }
58 |
59 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LexerAction' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
60 | fatalError(#function + " must be overridden")
61 | }
/host/spi-builder-workspace/Sources/Antlr4/atn/LookupATNConfig.swift:23:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LookupATNConfig' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
21 | config = old
22 | }
23 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LookupATNConfig' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
24 |
25 | var hashCode: Int = 7
/host/spi-builder-workspace/Sources/Antlr4/atn/ATNState.swift:126:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
127 | return stateNumber
128 | }
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:43:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
41 | ///
42 | public func getLLDecisions() -> Array<Int> {
43 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
44 | var LL: Array<Int> = Array<Int>()
45 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:62:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
60 | ///
61 | public func getTotalTimeInPrediction() -> Int64 {
62 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
63 | var t: Int64 = 0
64 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:77:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
75 | ///
76 | public func getTotalSLLLookaheadOps() -> Int64 {
77 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
78 | var k: Int64 = 0
79 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:92:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
90 | ///
91 | public func getTotalLLLookaheadOps() -> Int64 {
92 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
93 | var k: Int64 = 0
94 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:106:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
104 | ///
105 | public func getTotalSLLATNLookaheadOps() -> Int64 {
106 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
107 | var k: Int64 = 0
108 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:120:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
118 | ///
119 | public func getTotalLLATNLookaheadOps() -> Int64 {
120 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
121 | var k: Int64 = 0
122 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:138:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
136 | ///
137 | public func getTotalATNLookaheadOps() -> Int64 {
138 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
139 | var k: Int64 = 0
140 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParserATNSimulator.swift:562:13: warning: variable 'edges' was never mutated; consider changing to 'let' constant
560 | ///
561 | func getExistingTargetState(_ previousD: DFAState, _ t: Int) -> DFAState? {
562 | var edges = previousD.edges
| `- warning: variable 'edges' was never mutated; consider changing to 'let' constant
563 | if edges == nil || (t + 1) < 0 || (t + 1) >= (edges!.count) {
564 | return nil
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
109 | return cachedHashCode
110 | }
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
65 | fatalError(#function + " must be overridden")
66 | }
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
136 | var hashCode = MurmurHash.initialize(7)
137 | hashCode = MurmurHash.update(hashCode, state.stateNumber)
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
1057 | var h: Int64 = 1234
1058 | var i: Int = wordsInUse
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
159 | return Unmanaged.passUnretained(self).toOpaque().hashValue
160 | // return unsafeAddress(of: self).hashValue
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[129/158] Compiling Antlr4 PlusBlockStartState.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerAction.swift:59:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LexerAction' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
57 | }
58 |
59 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LexerAction' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
60 | fatalError(#function + " must be overridden")
61 | }
/host/spi-builder-workspace/Sources/Antlr4/atn/LookupATNConfig.swift:23:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LookupATNConfig' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
21 | config = old
22 | }
23 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LookupATNConfig' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
24 |
25 | var hashCode: Int = 7
/host/spi-builder-workspace/Sources/Antlr4/atn/ATNState.swift:126:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
127 | return stateNumber
128 | }
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:43:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
41 | ///
42 | public func getLLDecisions() -> Array<Int> {
43 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
44 | var LL: Array<Int> = Array<Int>()
45 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:62:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
60 | ///
61 | public func getTotalTimeInPrediction() -> Int64 {
62 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
63 | var t: Int64 = 0
64 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:77:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
75 | ///
76 | public func getTotalSLLLookaheadOps() -> Int64 {
77 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
78 | var k: Int64 = 0
79 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:92:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
90 | ///
91 | public func getTotalLLLookaheadOps() -> Int64 {
92 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
93 | var k: Int64 = 0
94 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:106:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
104 | ///
105 | public func getTotalSLLATNLookaheadOps() -> Int64 {
106 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
107 | var k: Int64 = 0
108 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:120:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
118 | ///
119 | public func getTotalLLATNLookaheadOps() -> Int64 {
120 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
121 | var k: Int64 = 0
122 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:138:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
136 | ///
137 | public func getTotalATNLookaheadOps() -> Int64 {
138 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
139 | var k: Int64 = 0
140 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParserATNSimulator.swift:562:13: warning: variable 'edges' was never mutated; consider changing to 'let' constant
560 | ///
561 | func getExistingTargetState(_ previousD: DFAState, _ t: Int) -> DFAState? {
562 | var edges = previousD.edges
| `- warning: variable 'edges' was never mutated; consider changing to 'let' constant
563 | if edges == nil || (t + 1) < 0 || (t + 1) >= (edges!.count) {
564 | return nil
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
109 | return cachedHashCode
110 | }
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
65 | fatalError(#function + " must be overridden")
66 | }
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
136 | var hashCode = MurmurHash.initialize(7)
137 | hashCode = MurmurHash.update(hashCode, state.stateNumber)
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
1057 | var h: Int64 = 1234
1058 | var i: Int = wordsInUse
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
159 | return Unmanaged.passUnretained(self).toOpaque().hashValue
160 | // return unsafeAddress(of: self).hashValue
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[130/158] Compiling Antlr4 PlusLoopbackState.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerAction.swift:59:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LexerAction' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
57 | }
58 |
59 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LexerAction' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
60 | fatalError(#function + " must be overridden")
61 | }
/host/spi-builder-workspace/Sources/Antlr4/atn/LookupATNConfig.swift:23:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LookupATNConfig' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
21 | config = old
22 | }
23 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LookupATNConfig' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
24 |
25 | var hashCode: Int = 7
/host/spi-builder-workspace/Sources/Antlr4/atn/ATNState.swift:126:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
127 | return stateNumber
128 | }
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:43:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
41 | ///
42 | public func getLLDecisions() -> Array<Int> {
43 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
44 | var LL: Array<Int> = Array<Int>()
45 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:62:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
60 | ///
61 | public func getTotalTimeInPrediction() -> Int64 {
62 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
63 | var t: Int64 = 0
64 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:77:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
75 | ///
76 | public func getTotalSLLLookaheadOps() -> Int64 {
77 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
78 | var k: Int64 = 0
79 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:92:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
90 | ///
91 | public func getTotalLLLookaheadOps() -> Int64 {
92 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
93 | var k: Int64 = 0
94 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:106:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
104 | ///
105 | public func getTotalSLLATNLookaheadOps() -> Int64 {
106 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
107 | var k: Int64 = 0
108 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:120:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
118 | ///
119 | public func getTotalLLATNLookaheadOps() -> Int64 {
120 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
121 | var k: Int64 = 0
122 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:138:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
136 | ///
137 | public func getTotalATNLookaheadOps() -> Int64 {
138 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
139 | var k: Int64 = 0
140 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParserATNSimulator.swift:562:13: warning: variable 'edges' was never mutated; consider changing to 'let' constant
560 | ///
561 | func getExistingTargetState(_ previousD: DFAState, _ t: Int) -> DFAState? {
562 | var edges = previousD.edges
| `- warning: variable 'edges' was never mutated; consider changing to 'let' constant
563 | if edges == nil || (t + 1) < 0 || (t + 1) >= (edges!.count) {
564 | return nil
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
109 | return cachedHashCode
110 | }
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
65 | fatalError(#function + " must be overridden")
66 | }
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
136 | var hashCode = MurmurHash.initialize(7)
137 | hashCode = MurmurHash.update(hashCode, state.stateNumber)
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
1057 | var h: Int64 = 1234
1058 | var i: Int = wordsInUse
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
159 | return Unmanaged.passUnretained(self).toOpaque().hashValue
160 | // return unsafeAddress(of: self).hashValue
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[131/158] Compiling Antlr4 PrecedencePredicateTransition.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerAction.swift:59:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LexerAction' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
57 | }
58 |
59 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LexerAction' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
60 | fatalError(#function + " must be overridden")
61 | }
/host/spi-builder-workspace/Sources/Antlr4/atn/LookupATNConfig.swift:23:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LookupATNConfig' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
21 | config = old
22 | }
23 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LookupATNConfig' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
24 |
25 | var hashCode: Int = 7
/host/spi-builder-workspace/Sources/Antlr4/atn/ATNState.swift:126:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
127 | return stateNumber
128 | }
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:43:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
41 | ///
42 | public func getLLDecisions() -> Array<Int> {
43 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
44 | var LL: Array<Int> = Array<Int>()
45 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:62:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
60 | ///
61 | public func getTotalTimeInPrediction() -> Int64 {
62 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
63 | var t: Int64 = 0
64 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:77:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
75 | ///
76 | public func getTotalSLLLookaheadOps() -> Int64 {
77 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
78 | var k: Int64 = 0
79 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:92:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
90 | ///
91 | public func getTotalLLLookaheadOps() -> Int64 {
92 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
93 | var k: Int64 = 0
94 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:106:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
104 | ///
105 | public func getTotalSLLATNLookaheadOps() -> Int64 {
106 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
107 | var k: Int64 = 0
108 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:120:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
118 | ///
119 | public func getTotalLLATNLookaheadOps() -> Int64 {
120 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
121 | var k: Int64 = 0
122 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:138:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
136 | ///
137 | public func getTotalATNLookaheadOps() -> Int64 {
138 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
139 | var k: Int64 = 0
140 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParserATNSimulator.swift:562:13: warning: variable 'edges' was never mutated; consider changing to 'let' constant
560 | ///
561 | func getExistingTargetState(_ previousD: DFAState, _ t: Int) -> DFAState? {
562 | var edges = previousD.edges
| `- warning: variable 'edges' was never mutated; consider changing to 'let' constant
563 | if edges == nil || (t + 1) < 0 || (t + 1) >= (edges!.count) {
564 | return nil
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
109 | return cachedHashCode
110 | }
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
65 | fatalError(#function + " must be overridden")
66 | }
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
136 | var hashCode = MurmurHash.initialize(7)
137 | hashCode = MurmurHash.update(hashCode, state.stateNumber)
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
1057 | var h: Int64 = 1234
1058 | var i: Int = wordsInUse
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
159 | return Unmanaged.passUnretained(self).toOpaque().hashValue
160 | // return unsafeAddress(of: self).hashValue
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[132/158] Compiling Antlr4 PredicateEvalInfo.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerAction.swift:59:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LexerAction' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
57 | }
58 |
59 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LexerAction' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
60 | fatalError(#function + " must be overridden")
61 | }
/host/spi-builder-workspace/Sources/Antlr4/atn/LookupATNConfig.swift:23:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LookupATNConfig' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
21 | config = old
22 | }
23 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LookupATNConfig' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
24 |
25 | var hashCode: Int = 7
/host/spi-builder-workspace/Sources/Antlr4/atn/ATNState.swift:126:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
127 | return stateNumber
128 | }
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:43:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
41 | ///
42 | public func getLLDecisions() -> Array<Int> {
43 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
44 | var LL: Array<Int> = Array<Int>()
45 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:62:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
60 | ///
61 | public func getTotalTimeInPrediction() -> Int64 {
62 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
63 | var t: Int64 = 0
64 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:77:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
75 | ///
76 | public func getTotalSLLLookaheadOps() -> Int64 {
77 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
78 | var k: Int64 = 0
79 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:92:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
90 | ///
91 | public func getTotalLLLookaheadOps() -> Int64 {
92 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
93 | var k: Int64 = 0
94 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:106:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
104 | ///
105 | public func getTotalSLLATNLookaheadOps() -> Int64 {
106 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
107 | var k: Int64 = 0
108 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:120:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
118 | ///
119 | public func getTotalLLATNLookaheadOps() -> Int64 {
120 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
121 | var k: Int64 = 0
122 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:138:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
136 | ///
137 | public func getTotalATNLookaheadOps() -> Int64 {
138 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
139 | var k: Int64 = 0
140 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParserATNSimulator.swift:562:13: warning: variable 'edges' was never mutated; consider changing to 'let' constant
560 | ///
561 | func getExistingTargetState(_ previousD: DFAState, _ t: Int) -> DFAState? {
562 | var edges = previousD.edges
| `- warning: variable 'edges' was never mutated; consider changing to 'let' constant
563 | if edges == nil || (t + 1) < 0 || (t + 1) >= (edges!.count) {
564 | return nil
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
109 | return cachedHashCode
110 | }
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
65 | fatalError(#function + " must be overridden")
66 | }
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
136 | var hashCode = MurmurHash.initialize(7)
137 | hashCode = MurmurHash.update(hashCode, state.stateNumber)
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
1057 | var h: Int64 = 1234
1058 | var i: Int = wordsInUse
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
159 | return Unmanaged.passUnretained(self).toOpaque().hashValue
160 | // return unsafeAddress(of: self).hashValue
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[133/158] Compiling Antlr4 PredicateTransition.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerAction.swift:59:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LexerAction' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
57 | }
58 |
59 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LexerAction' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
60 | fatalError(#function + " must be overridden")
61 | }
/host/spi-builder-workspace/Sources/Antlr4/atn/LookupATNConfig.swift:23:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LookupATNConfig' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
21 | config = old
22 | }
23 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LookupATNConfig' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
24 |
25 | var hashCode: Int = 7
/host/spi-builder-workspace/Sources/Antlr4/atn/ATNState.swift:126:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
127 | return stateNumber
128 | }
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:43:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
41 | ///
42 | public func getLLDecisions() -> Array<Int> {
43 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
44 | var LL: Array<Int> = Array<Int>()
45 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:62:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
60 | ///
61 | public func getTotalTimeInPrediction() -> Int64 {
62 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
63 | var t: Int64 = 0
64 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:77:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
75 | ///
76 | public func getTotalSLLLookaheadOps() -> Int64 {
77 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
78 | var k: Int64 = 0
79 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:92:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
90 | ///
91 | public func getTotalLLLookaheadOps() -> Int64 {
92 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
93 | var k: Int64 = 0
94 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:106:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
104 | ///
105 | public func getTotalSLLATNLookaheadOps() -> Int64 {
106 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
107 | var k: Int64 = 0
108 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:120:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
118 | ///
119 | public func getTotalLLATNLookaheadOps() -> Int64 {
120 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
121 | var k: Int64 = 0
122 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:138:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
136 | ///
137 | public func getTotalATNLookaheadOps() -> Int64 {
138 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
139 | var k: Int64 = 0
140 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParserATNSimulator.swift:562:13: warning: variable 'edges' was never mutated; consider changing to 'let' constant
560 | ///
561 | func getExistingTargetState(_ previousD: DFAState, _ t: Int) -> DFAState? {
562 | var edges = previousD.edges
| `- warning: variable 'edges' was never mutated; consider changing to 'let' constant
563 | if edges == nil || (t + 1) < 0 || (t + 1) >= (edges!.count) {
564 | return nil
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
109 | return cachedHashCode
110 | }
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
65 | fatalError(#function + " must be overridden")
66 | }
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
136 | var hashCode = MurmurHash.initialize(7)
137 | hashCode = MurmurHash.update(hashCode, state.stateNumber)
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
1057 | var h: Int64 = 1234
1058 | var i: Int = wordsInUse
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
159 | return Unmanaged.passUnretained(self).toOpaque().hashValue
160 | // return unsafeAddress(of: self).hashValue
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[134/158] Compiling Antlr4 PredictionContext.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerAction.swift:59:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LexerAction' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
57 | }
58 |
59 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LexerAction' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
60 | fatalError(#function + " must be overridden")
61 | }
/host/spi-builder-workspace/Sources/Antlr4/atn/LookupATNConfig.swift:23:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LookupATNConfig' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
21 | config = old
22 | }
23 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LookupATNConfig' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
24 |
25 | var hashCode: Int = 7
/host/spi-builder-workspace/Sources/Antlr4/atn/ATNState.swift:126:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
127 | return stateNumber
128 | }
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:43:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
41 | ///
42 | public func getLLDecisions() -> Array<Int> {
43 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
44 | var LL: Array<Int> = Array<Int>()
45 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:62:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
60 | ///
61 | public func getTotalTimeInPrediction() -> Int64 {
62 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
63 | var t: Int64 = 0
64 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:77:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
75 | ///
76 | public func getTotalSLLLookaheadOps() -> Int64 {
77 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
78 | var k: Int64 = 0
79 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:92:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
90 | ///
91 | public func getTotalLLLookaheadOps() -> Int64 {
92 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
93 | var k: Int64 = 0
94 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:106:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
104 | ///
105 | public func getTotalSLLATNLookaheadOps() -> Int64 {
106 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
107 | var k: Int64 = 0
108 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:120:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
118 | ///
119 | public func getTotalLLATNLookaheadOps() -> Int64 {
120 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
121 | var k: Int64 = 0
122 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:138:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
136 | ///
137 | public func getTotalATNLookaheadOps() -> Int64 {
138 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
139 | var k: Int64 = 0
140 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParserATNSimulator.swift:562:13: warning: variable 'edges' was never mutated; consider changing to 'let' constant
560 | ///
561 | func getExistingTargetState(_ previousD: DFAState, _ t: Int) -> DFAState? {
562 | var edges = previousD.edges
| `- warning: variable 'edges' was never mutated; consider changing to 'let' constant
563 | if edges == nil || (t + 1) < 0 || (t + 1) >= (edges!.count) {
564 | return nil
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
109 | return cachedHashCode
110 | }
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
65 | fatalError(#function + " must be overridden")
66 | }
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
136 | var hashCode = MurmurHash.initialize(7)
137 | hashCode = MurmurHash.update(hashCode, state.stateNumber)
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
1057 | var h: Int64 = 1234
1058 | var i: Int = wordsInUse
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
159 | return Unmanaged.passUnretained(self).toOpaque().hashValue
160 | // return unsafeAddress(of: self).hashValue
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[135/158] Compiling Antlr4 PredictionContextCache.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerAction.swift:59:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LexerAction' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
57 | }
58 |
59 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LexerAction' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
60 | fatalError(#function + " must be overridden")
61 | }
/host/spi-builder-workspace/Sources/Antlr4/atn/LookupATNConfig.swift:23:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LookupATNConfig' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
21 | config = old
22 | }
23 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LookupATNConfig' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
24 |
25 | var hashCode: Int = 7
/host/spi-builder-workspace/Sources/Antlr4/atn/ATNState.swift:126:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
127 | return stateNumber
128 | }
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:43:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
41 | ///
42 | public func getLLDecisions() -> Array<Int> {
43 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
44 | var LL: Array<Int> = Array<Int>()
45 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:62:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
60 | ///
61 | public func getTotalTimeInPrediction() -> Int64 {
62 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
63 | var t: Int64 = 0
64 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:77:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
75 | ///
76 | public func getTotalSLLLookaheadOps() -> Int64 {
77 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
78 | var k: Int64 = 0
79 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:92:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
90 | ///
91 | public func getTotalLLLookaheadOps() -> Int64 {
92 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
93 | var k: Int64 = 0
94 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:106:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
104 | ///
105 | public func getTotalSLLATNLookaheadOps() -> Int64 {
106 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
107 | var k: Int64 = 0
108 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:120:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
118 | ///
119 | public func getTotalLLATNLookaheadOps() -> Int64 {
120 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
121 | var k: Int64 = 0
122 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:138:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
136 | ///
137 | public func getTotalATNLookaheadOps() -> Int64 {
138 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
139 | var k: Int64 = 0
140 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParserATNSimulator.swift:562:13: warning: variable 'edges' was never mutated; consider changing to 'let' constant
560 | ///
561 | func getExistingTargetState(_ previousD: DFAState, _ t: Int) -> DFAState? {
562 | var edges = previousD.edges
| `- warning: variable 'edges' was never mutated; consider changing to 'let' constant
563 | if edges == nil || (t + 1) < 0 || (t + 1) >= (edges!.count) {
564 | return nil
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
109 | return cachedHashCode
110 | }
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
65 | fatalError(#function + " must be overridden")
66 | }
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
136 | var hashCode = MurmurHash.initialize(7)
137 | hashCode = MurmurHash.update(hashCode, state.stateNumber)
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
1057 | var h: Int64 = 1234
1058 | var i: Int = wordsInUse
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
159 | return Unmanaged.passUnretained(self).toOpaque().hashValue
160 | // return unsafeAddress(of: self).hashValue
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[136/158] Compiling Antlr4 PredictionMode.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/LexerAction.swift:59:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LexerAction' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
57 | }
58 |
59 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LexerAction' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
60 | fatalError(#function + " must be overridden")
61 | }
/host/spi-builder-workspace/Sources/Antlr4/atn/LookupATNConfig.swift:23:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LookupATNConfig' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
21 | config = old
22 | }
23 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LookupATNConfig' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
24 |
25 | var hashCode: Int = 7
/host/spi-builder-workspace/Sources/Antlr4/atn/ATNState.swift:126:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
127 | return stateNumber
128 | }
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:43:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
41 | ///
42 | public func getLLDecisions() -> Array<Int> {
43 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
44 | var LL: Array<Int> = Array<Int>()
45 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:62:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
60 | ///
61 | public func getTotalTimeInPrediction() -> Int64 {
62 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
63 | var t: Int64 = 0
64 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:77:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
75 | ///
76 | public func getTotalSLLLookaheadOps() -> Int64 {
77 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
78 | var k: Int64 = 0
79 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:92:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
90 | ///
91 | public func getTotalLLLookaheadOps() -> Int64 {
92 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
93 | var k: Int64 = 0
94 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:106:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
104 | ///
105 | public func getTotalSLLATNLookaheadOps() -> Int64 {
106 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
107 | var k: Int64 = 0
108 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:120:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
118 | ///
119 | public func getTotalLLATNLookaheadOps() -> Int64 {
120 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
121 | var k: Int64 = 0
122 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParseInfo.swift:138:13: warning: variable 'decisions' was never mutated; consider changing to 'let' constant
136 | ///
137 | public func getTotalATNLookaheadOps() -> Int64 {
138 | var decisions: [DecisionInfo] = atnSimulator.getDecisionInfo()
| `- warning: variable 'decisions' was never mutated; consider changing to 'let' constant
139 | var k: Int64 = 0
140 | let length = decisions.count
/host/spi-builder-workspace/Sources/Antlr4/atn/ParserATNSimulator.swift:562:13: warning: variable 'edges' was never mutated; consider changing to 'let' constant
560 | ///
561 | func getExistingTargetState(_ previousD: DFAState, _ t: Int) -> DFAState? {
562 | var edges = previousD.edges
| `- warning: variable 'edges' was never mutated; consider changing to 'let' constant
563 | if edges == nil || (t + 1) < 0 || (t + 1) >= (edges!.count) {
564 | return nil
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
109 | return cachedHashCode
110 | }
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
65 | fatalError(#function + " must be overridden")
66 | }
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
136 | var hashCode = MurmurHash.initialize(7)
137 | hashCode = MurmurHash.update(hashCode, state.stateNumber)
/host/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
1057 | var h: Int64 = 1234
1058 | var i: Int = wordsInUse
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
159 | return Unmanaged.passUnretained(self).toOpaque().hashValue
160 | // return unsafeAddress(of: self).hashValue
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[137/158] Compiling Antlr4 ErrorNode.swift
[138/158] Compiling Antlr4 ParseTree.swift
[139/158] Compiling Antlr4 ParseTreeListener.swift
[140/158] Compiling Antlr4 ParseTreeVisitor.swift
[141/158] Compiling Antlr4 ParseTreeWalker.swift
[142/158] Compiling Antlr4 RuleNode.swift
[143/158] Compiling Antlr4 SyntaxTree.swift
[144/158] Compiling Antlr4 TerminalNode.swift
[145/158] Compiling Antlr4 TerminalNodeImpl.swift
[146/158] Compiling Antlr4 Tree.swift
[147/158] Compiling Antlr4 Trees.swift
[148/158] Compiling Antlr4 Chunk.swift
[149/158] Compiling Antlr4 ParseTreeMatch.swift
[150/158] Compiling Antlr4 ParseTreePattern.swift
[151/158] Compiling Antlr4 ParseTreePatternMatcher.swift
[152/158] Compiling Antlr4 RuleTagToken.swift
[153/158] Compiling Antlr4 TagChunk.swift
[154/158] Compiling Antlr4 TextChunk.swift
[155/158] Compiling Antlr4 TokenTagToken.swift
BUILD FAILURE 6.3 wasm