Build Information
Failed to build Antlr4, reference master (c95f13
), with Swift 6.1 for Wasm on 27 May 2025 08:39:51 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
| `- warning: variable 'alt' was never mutated; consider changing to 'let' constant
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
63 | decisions[decision].timeInPrediction += (stop - start)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:62:13: warning: variable 'stop' was never mutated; consider changing to 'let' constant
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
| `- warning: variable 'stop' was never mutated; consider changing to 'let' constant
63 | decisions[decision].timeInPrediction += (stop - start)
64 | decisions[decision].invocations += 1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:66:13: warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
64 | decisions[decision].invocations += 1
65 |
66 | var SLL_k: Int64 = Int64(_sllStopIndex - _startIndex + 1)
| `- warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
67 | decisions[decision].SLL_TotalLook += SLL_k
68 | decisions[decision].SLL_MinLook = decisions[decision].SLL_MinLook == 0 ? SLL_k : min(decisions[decision].SLL_MinLook, SLL_k)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:76:17: warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
74 |
75 | if _llStopIndex >= 0 {
76 | var LL_k: Int64 = Int64(_llStopIndex - _startIndex + 1)
| `- warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
77 | decisions[decision].LL_TotalLook += LL_k
78 | decisions[decision].LL_MinLook = decisions[decision].LL_MinLook == 0 ? LL_k : min(decisions[decision].LL_MinLook, LL_k)
/host/spi-builder-workspace/Sources/Antlr4/atn/ATNState.swift:126:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
124 |
125 |
126 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
127 | return stateNumber
128 | }
/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
62 | }
63 |
64 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SemanticContext' to 'Hashable' by implementing 'hash(into:)' instead
65 | fatalError(#function + " must be overridden")
66 | }
/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
106 | }
107 |
108 | public final var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'PredictionContext' to 'Hashable' by implementing 'hash(into:)' instead
109 | return cachedHashCode
110 | }
/host/spi-builder-workspace/Sources/Antlr4/dfa/DFAState.swift:112:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'DFAState' to 'Hashable' by implementing 'hash(into:)' instead
110 |
111 |
112 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'DFAState' to 'Hashable' by implementing 'hash(into:)' instead
113 | var hash = MurmurHash.initialize(7)
114 | hash = MurmurHash.update(hash, configs.hashValue)
/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
1054 | /// - returns: the hash code value for this bit set
1055 | ///
1056 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BitSet' to 'Hashable' by implementing 'hash(into:)' instead
1057 | var h: Int64 = 1234
1058 | var i: Int = wordsInUse
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
481 | return MurmurHash.finish(hash, intervals.count * 2)
482 | }
483 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
156 | }
157 |
158 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
159 | return Unmanaged.passUnretained(self).toOpaque().hashValue
160 | // return unsafeAddress(of: self).hashValue
[101/157] Compiling Antlr4 RuleStopState.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:56:13: warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
54 | override
55 | public func adaptivePredict(_ input: TokenStream, _ decision: Int,_ outerContext: ParserRuleContext?) throws -> Int {
56 | var outerContext = outerContext
| `- warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
57 | self._sllStopIndex = -1
58 | self._llStopIndex = -1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:60:13: warning: variable 'start' was never mutated; consider changing to 'let' constant
58 | self._llStopIndex = -1
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
| `- warning: variable 'start' was never mutated; consider changing to 'let' constant
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:61:13: warning: variable 'alt' was never mutated; consider changing to 'let' constant
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
| `- warning: variable 'alt' was never mutated; consider changing to 'let' constant
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
63 | decisions[decision].timeInPrediction += (stop - start)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:62:13: warning: variable 'stop' was never mutated; consider changing to 'let' constant
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
| `- warning: variable 'stop' was never mutated; consider changing to 'let' constant
63 | decisions[decision].timeInPrediction += (stop - start)
64 | decisions[decision].invocations += 1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:66:13: warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
64 | decisions[decision].invocations += 1
65 |
66 | var SLL_k: Int64 = Int64(_sllStopIndex - _startIndex + 1)
| `- warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
67 | decisions[decision].SLL_TotalLook += SLL_k
68 | decisions[decision].SLL_MinLook = decisions[decision].SLL_MinLook == 0 ? SLL_k : min(decisions[decision].SLL_MinLook, SLL_k)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:76:17: warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
74 |
75 | if _llStopIndex >= 0 {
76 | var LL_k: Int64 = Int64(_llStopIndex - _startIndex + 1)
| `- warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
77 | decisions[decision].LL_TotalLook += LL_k
78 | decisions[decision].LL_MinLook = decisions[decision].LL_MinLook == 0 ? LL_k : min(decisions[decision].LL_MinLook, LL_k)
/host/spi-builder-workspace/Sources/Antlr4/atn/ATNState.swift:126:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
124 |
125 |
126 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
127 | return stateNumber
128 | }
/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
62 | }
63 |
64 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SemanticContext' to 'Hashable' by implementing 'hash(into:)' instead
65 | fatalError(#function + " must be overridden")
66 | }
/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
106 | }
107 |
108 | public final var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'PredictionContext' to 'Hashable' by implementing 'hash(into:)' instead
109 | return cachedHashCode
110 | }
/host/spi-builder-workspace/Sources/Antlr4/dfa/DFAState.swift:112:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'DFAState' to 'Hashable' by implementing 'hash(into:)' instead
110 |
111 |
112 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'DFAState' to 'Hashable' by implementing 'hash(into:)' instead
113 | var hash = MurmurHash.initialize(7)
114 | hash = MurmurHash.update(hash, configs.hashValue)
/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
1054 | /// - returns: the hash code value for this bit set
1055 | ///
1056 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BitSet' to 'Hashable' by implementing 'hash(into:)' instead
1057 | var h: Int64 = 1234
1058 | var i: Int = wordsInUse
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
481 | return MurmurHash.finish(hash, intervals.count * 2)
482 | }
483 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
156 | }
157 |
158 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
159 | return Unmanaged.passUnretained(self).toOpaque().hashValue
160 | // return unsafeAddress(of: self).hashValue
[102/157] Compiling Antlr4 RuleTransition.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:56:13: warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
54 | override
55 | public func adaptivePredict(_ input: TokenStream, _ decision: Int,_ outerContext: ParserRuleContext?) throws -> Int {
56 | var outerContext = outerContext
| `- warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
57 | self._sllStopIndex = -1
58 | self._llStopIndex = -1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:60:13: warning: variable 'start' was never mutated; consider changing to 'let' constant
58 | self._llStopIndex = -1
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
| `- warning: variable 'start' was never mutated; consider changing to 'let' constant
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:61:13: warning: variable 'alt' was never mutated; consider changing to 'let' constant
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
| `- warning: variable 'alt' was never mutated; consider changing to 'let' constant
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
63 | decisions[decision].timeInPrediction += (stop - start)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:62:13: warning: variable 'stop' was never mutated; consider changing to 'let' constant
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
| `- warning: variable 'stop' was never mutated; consider changing to 'let' constant
63 | decisions[decision].timeInPrediction += (stop - start)
64 | decisions[decision].invocations += 1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:66:13: warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
64 | decisions[decision].invocations += 1
65 |
66 | var SLL_k: Int64 = Int64(_sllStopIndex - _startIndex + 1)
| `- warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
67 | decisions[decision].SLL_TotalLook += SLL_k
68 | decisions[decision].SLL_MinLook = decisions[decision].SLL_MinLook == 0 ? SLL_k : min(decisions[decision].SLL_MinLook, SLL_k)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:76:17: warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
74 |
75 | if _llStopIndex >= 0 {
76 | var LL_k: Int64 = Int64(_llStopIndex - _startIndex + 1)
| `- warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
77 | decisions[decision].LL_TotalLook += LL_k
78 | decisions[decision].LL_MinLook = decisions[decision].LL_MinLook == 0 ? LL_k : min(decisions[decision].LL_MinLook, LL_k)
/host/spi-builder-workspace/Sources/Antlr4/atn/ATNState.swift:126:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
124 |
125 |
126 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
127 | return stateNumber
128 | }
/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
62 | }
63 |
64 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SemanticContext' to 'Hashable' by implementing 'hash(into:)' instead
65 | fatalError(#function + " must be overridden")
66 | }
/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
106 | }
107 |
108 | public final var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'PredictionContext' to 'Hashable' by implementing 'hash(into:)' instead
109 | return cachedHashCode
110 | }
/host/spi-builder-workspace/Sources/Antlr4/dfa/DFAState.swift:112:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'DFAState' to 'Hashable' by implementing 'hash(into:)' instead
110 |
111 |
112 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'DFAState' to 'Hashable' by implementing 'hash(into:)' instead
113 | var hash = MurmurHash.initialize(7)
114 | hash = MurmurHash.update(hash, configs.hashValue)
/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
1054 | /// - returns: the hash code value for this bit set
1055 | ///
1056 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BitSet' to 'Hashable' by implementing 'hash(into:)' instead
1057 | var h: Int64 = 1234
1058 | var i: Int = wordsInUse
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
481 | return MurmurHash.finish(hash, intervals.count * 2)
482 | }
483 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
156 | }
157 |
158 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
159 | return Unmanaged.passUnretained(self).toOpaque().hashValue
160 | // return unsafeAddress(of: self).hashValue
[103/157] Compiling Antlr4 SemanticContext.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:56:13: warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
54 | override
55 | public func adaptivePredict(_ input: TokenStream, _ decision: Int,_ outerContext: ParserRuleContext?) throws -> Int {
56 | var outerContext = outerContext
| `- warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
57 | self._sllStopIndex = -1
58 | self._llStopIndex = -1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:60:13: warning: variable 'start' was never mutated; consider changing to 'let' constant
58 | self._llStopIndex = -1
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
| `- warning: variable 'start' was never mutated; consider changing to 'let' constant
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:61:13: warning: variable 'alt' was never mutated; consider changing to 'let' constant
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
| `- warning: variable 'alt' was never mutated; consider changing to 'let' constant
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
63 | decisions[decision].timeInPrediction += (stop - start)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:62:13: warning: variable 'stop' was never mutated; consider changing to 'let' constant
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
| `- warning: variable 'stop' was never mutated; consider changing to 'let' constant
63 | decisions[decision].timeInPrediction += (stop - start)
64 | decisions[decision].invocations += 1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:66:13: warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
64 | decisions[decision].invocations += 1
65 |
66 | var SLL_k: Int64 = Int64(_sllStopIndex - _startIndex + 1)
| `- warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
67 | decisions[decision].SLL_TotalLook += SLL_k
68 | decisions[decision].SLL_MinLook = decisions[decision].SLL_MinLook == 0 ? SLL_k : min(decisions[decision].SLL_MinLook, SLL_k)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:76:17: warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
74 |
75 | if _llStopIndex >= 0 {
76 | var LL_k: Int64 = Int64(_llStopIndex - _startIndex + 1)
| `- warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
77 | decisions[decision].LL_TotalLook += LL_k
78 | decisions[decision].LL_MinLook = decisions[decision].LL_MinLook == 0 ? LL_k : min(decisions[decision].LL_MinLook, LL_k)
/host/spi-builder-workspace/Sources/Antlr4/atn/ATNState.swift:126:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
124 |
125 |
126 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
127 | return stateNumber
128 | }
/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
62 | }
63 |
64 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SemanticContext' to 'Hashable' by implementing 'hash(into:)' instead
65 | fatalError(#function + " must be overridden")
66 | }
/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
106 | }
107 |
108 | public final var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'PredictionContext' to 'Hashable' by implementing 'hash(into:)' instead
109 | return cachedHashCode
110 | }
/host/spi-builder-workspace/Sources/Antlr4/dfa/DFAState.swift:112:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'DFAState' to 'Hashable' by implementing 'hash(into:)' instead
110 |
111 |
112 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'DFAState' to 'Hashable' by implementing 'hash(into:)' instead
113 | var hash = MurmurHash.initialize(7)
114 | hash = MurmurHash.update(hash, configs.hashValue)
/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
1054 | /// - returns: the hash code value for this bit set
1055 | ///
1056 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BitSet' to 'Hashable' by implementing 'hash(into:)' instead
1057 | var h: Int64 = 1234
1058 | var i: Int = wordsInUse
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
481 | return MurmurHash.finish(hash, intervals.count * 2)
482 | }
483 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
156 | }
157 |
158 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
159 | return Unmanaged.passUnretained(self).toOpaque().hashValue
160 | // return unsafeAddress(of: self).hashValue
[104/157] Compiling Antlr4 SetTransition.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:56:13: warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
54 | override
55 | public func adaptivePredict(_ input: TokenStream, _ decision: Int,_ outerContext: ParserRuleContext?) throws -> Int {
56 | var outerContext = outerContext
| `- warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
57 | self._sllStopIndex = -1
58 | self._llStopIndex = -1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:60:13: warning: variable 'start' was never mutated; consider changing to 'let' constant
58 | self._llStopIndex = -1
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
| `- warning: variable 'start' was never mutated; consider changing to 'let' constant
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:61:13: warning: variable 'alt' was never mutated; consider changing to 'let' constant
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
| `- warning: variable 'alt' was never mutated; consider changing to 'let' constant
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
63 | decisions[decision].timeInPrediction += (stop - start)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:62:13: warning: variable 'stop' was never mutated; consider changing to 'let' constant
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
| `- warning: variable 'stop' was never mutated; consider changing to 'let' constant
63 | decisions[decision].timeInPrediction += (stop - start)
64 | decisions[decision].invocations += 1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:66:13: warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
64 | decisions[decision].invocations += 1
65 |
66 | var SLL_k: Int64 = Int64(_sllStopIndex - _startIndex + 1)
| `- warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
67 | decisions[decision].SLL_TotalLook += SLL_k
68 | decisions[decision].SLL_MinLook = decisions[decision].SLL_MinLook == 0 ? SLL_k : min(decisions[decision].SLL_MinLook, SLL_k)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:76:17: warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
74 |
75 | if _llStopIndex >= 0 {
76 | var LL_k: Int64 = Int64(_llStopIndex - _startIndex + 1)
| `- warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
77 | decisions[decision].LL_TotalLook += LL_k
78 | decisions[decision].LL_MinLook = decisions[decision].LL_MinLook == 0 ? LL_k : min(decisions[decision].LL_MinLook, LL_k)
/host/spi-builder-workspace/Sources/Antlr4/atn/ATNState.swift:126:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
124 |
125 |
126 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
127 | return stateNumber
128 | }
/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
62 | }
63 |
64 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SemanticContext' to 'Hashable' by implementing 'hash(into:)' instead
65 | fatalError(#function + " must be overridden")
66 | }
/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
106 | }
107 |
108 | public final var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'PredictionContext' to 'Hashable' by implementing 'hash(into:)' instead
109 | return cachedHashCode
110 | }
/host/spi-builder-workspace/Sources/Antlr4/dfa/DFAState.swift:112:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'DFAState' to 'Hashable' by implementing 'hash(into:)' instead
110 |
111 |
112 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'DFAState' to 'Hashable' by implementing 'hash(into:)' instead
113 | var hash = MurmurHash.initialize(7)
114 | hash = MurmurHash.update(hash, configs.hashValue)
/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
1054 | /// - returns: the hash code value for this bit set
1055 | ///
1056 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BitSet' to 'Hashable' by implementing 'hash(into:)' instead
1057 | var h: Int64 = 1234
1058 | var i: Int = wordsInUse
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
481 | return MurmurHash.finish(hash, intervals.count * 2)
482 | }
483 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
156 | }
157 |
158 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
159 | return Unmanaged.passUnretained(self).toOpaque().hashValue
160 | // return unsafeAddress(of: self).hashValue
[105/157] Compiling Antlr4 SingletonPredictionContext.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:56:13: warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
54 | override
55 | public func adaptivePredict(_ input: TokenStream, _ decision: Int,_ outerContext: ParserRuleContext?) throws -> Int {
56 | var outerContext = outerContext
| `- warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
57 | self._sllStopIndex = -1
58 | self._llStopIndex = -1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:60:13: warning: variable 'start' was never mutated; consider changing to 'let' constant
58 | self._llStopIndex = -1
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
| `- warning: variable 'start' was never mutated; consider changing to 'let' constant
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:61:13: warning: variable 'alt' was never mutated; consider changing to 'let' constant
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
| `- warning: variable 'alt' was never mutated; consider changing to 'let' constant
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
63 | decisions[decision].timeInPrediction += (stop - start)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:62:13: warning: variable 'stop' was never mutated; consider changing to 'let' constant
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
| `- warning: variable 'stop' was never mutated; consider changing to 'let' constant
63 | decisions[decision].timeInPrediction += (stop - start)
64 | decisions[decision].invocations += 1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:66:13: warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
64 | decisions[decision].invocations += 1
65 |
66 | var SLL_k: Int64 = Int64(_sllStopIndex - _startIndex + 1)
| `- warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
67 | decisions[decision].SLL_TotalLook += SLL_k
68 | decisions[decision].SLL_MinLook = decisions[decision].SLL_MinLook == 0 ? SLL_k : min(decisions[decision].SLL_MinLook, SLL_k)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:76:17: warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
74 |
75 | if _llStopIndex >= 0 {
76 | var LL_k: Int64 = Int64(_llStopIndex - _startIndex + 1)
| `- warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
77 | decisions[decision].LL_TotalLook += LL_k
78 | decisions[decision].LL_MinLook = decisions[decision].LL_MinLook == 0 ? LL_k : min(decisions[decision].LL_MinLook, LL_k)
/host/spi-builder-workspace/Sources/Antlr4/atn/ATNState.swift:126:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
124 |
125 |
126 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
127 | return stateNumber
128 | }
/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
62 | }
63 |
64 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SemanticContext' to 'Hashable' by implementing 'hash(into:)' instead
65 | fatalError(#function + " must be overridden")
66 | }
/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
106 | }
107 |
108 | public final var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'PredictionContext' to 'Hashable' by implementing 'hash(into:)' instead
109 | return cachedHashCode
110 | }
/host/spi-builder-workspace/Sources/Antlr4/dfa/DFAState.swift:112:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'DFAState' to 'Hashable' by implementing 'hash(into:)' instead
110 |
111 |
112 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'DFAState' to 'Hashable' by implementing 'hash(into:)' instead
113 | var hash = MurmurHash.initialize(7)
114 | hash = MurmurHash.update(hash, configs.hashValue)
/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
1054 | /// - returns: the hash code value for this bit set
1055 | ///
1056 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BitSet' to 'Hashable' by implementing 'hash(into:)' instead
1057 | var h: Int64 = 1234
1058 | var i: Int = wordsInUse
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
481 | return MurmurHash.finish(hash, intervals.count * 2)
482 | }
483 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
156 | }
157 |
158 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
159 | return Unmanaged.passUnretained(self).toOpaque().hashValue
160 | // return unsafeAddress(of: self).hashValue
[106/157] Compiling Antlr4 StarBlockStartState.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:56:13: warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
54 | override
55 | public func adaptivePredict(_ input: TokenStream, _ decision: Int,_ outerContext: ParserRuleContext?) throws -> Int {
56 | var outerContext = outerContext
| `- warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
57 | self._sllStopIndex = -1
58 | self._llStopIndex = -1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:60:13: warning: variable 'start' was never mutated; consider changing to 'let' constant
58 | self._llStopIndex = -1
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
| `- warning: variable 'start' was never mutated; consider changing to 'let' constant
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:61:13: warning: variable 'alt' was never mutated; consider changing to 'let' constant
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
| `- warning: variable 'alt' was never mutated; consider changing to 'let' constant
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
63 | decisions[decision].timeInPrediction += (stop - start)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:62:13: warning: variable 'stop' was never mutated; consider changing to 'let' constant
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
| `- warning: variable 'stop' was never mutated; consider changing to 'let' constant
63 | decisions[decision].timeInPrediction += (stop - start)
64 | decisions[decision].invocations += 1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:66:13: warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
64 | decisions[decision].invocations += 1
65 |
66 | var SLL_k: Int64 = Int64(_sllStopIndex - _startIndex + 1)
| `- warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
67 | decisions[decision].SLL_TotalLook += SLL_k
68 | decisions[decision].SLL_MinLook = decisions[decision].SLL_MinLook == 0 ? SLL_k : min(decisions[decision].SLL_MinLook, SLL_k)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:76:17: warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
74 |
75 | if _llStopIndex >= 0 {
76 | var LL_k: Int64 = Int64(_llStopIndex - _startIndex + 1)
| `- warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
77 | decisions[decision].LL_TotalLook += LL_k
78 | decisions[decision].LL_MinLook = decisions[decision].LL_MinLook == 0 ? LL_k : min(decisions[decision].LL_MinLook, LL_k)
/host/spi-builder-workspace/Sources/Antlr4/atn/ATNState.swift:126:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
124 |
125 |
126 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
127 | return stateNumber
128 | }
/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
62 | }
63 |
64 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SemanticContext' to 'Hashable' by implementing 'hash(into:)' instead
65 | fatalError(#function + " must be overridden")
66 | }
/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
106 | }
107 |
108 | public final var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'PredictionContext' to 'Hashable' by implementing 'hash(into:)' instead
109 | return cachedHashCode
110 | }
/host/spi-builder-workspace/Sources/Antlr4/dfa/DFAState.swift:112:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'DFAState' to 'Hashable' by implementing 'hash(into:)' instead
110 |
111 |
112 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'DFAState' to 'Hashable' by implementing 'hash(into:)' instead
113 | var hash = MurmurHash.initialize(7)
114 | hash = MurmurHash.update(hash, configs.hashValue)
/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
1054 | /// - returns: the hash code value for this bit set
1055 | ///
1056 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BitSet' to 'Hashable' by implementing 'hash(into:)' instead
1057 | var h: Int64 = 1234
1058 | var i: Int = wordsInUse
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
481 | return MurmurHash.finish(hash, intervals.count * 2)
482 | }
483 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
156 | }
157 |
158 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
159 | return Unmanaged.passUnretained(self).toOpaque().hashValue
160 | // return unsafeAddress(of: self).hashValue
[107/157] Compiling Antlr4 StarLoopEntryState.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:56:13: warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
54 | override
55 | public func adaptivePredict(_ input: TokenStream, _ decision: Int,_ outerContext: ParserRuleContext?) throws -> Int {
56 | var outerContext = outerContext
| `- warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
57 | self._sllStopIndex = -1
58 | self._llStopIndex = -1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:60:13: warning: variable 'start' was never mutated; consider changing to 'let' constant
58 | self._llStopIndex = -1
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
| `- warning: variable 'start' was never mutated; consider changing to 'let' constant
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:61:13: warning: variable 'alt' was never mutated; consider changing to 'let' constant
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
| `- warning: variable 'alt' was never mutated; consider changing to 'let' constant
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
63 | decisions[decision].timeInPrediction += (stop - start)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:62:13: warning: variable 'stop' was never mutated; consider changing to 'let' constant
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
| `- warning: variable 'stop' was never mutated; consider changing to 'let' constant
63 | decisions[decision].timeInPrediction += (stop - start)
64 | decisions[decision].invocations += 1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:66:13: warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
64 | decisions[decision].invocations += 1
65 |
66 | var SLL_k: Int64 = Int64(_sllStopIndex - _startIndex + 1)
| `- warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
67 | decisions[decision].SLL_TotalLook += SLL_k
68 | decisions[decision].SLL_MinLook = decisions[decision].SLL_MinLook == 0 ? SLL_k : min(decisions[decision].SLL_MinLook, SLL_k)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:76:17: warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
74 |
75 | if _llStopIndex >= 0 {
76 | var LL_k: Int64 = Int64(_llStopIndex - _startIndex + 1)
| `- warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
77 | decisions[decision].LL_TotalLook += LL_k
78 | decisions[decision].LL_MinLook = decisions[decision].LL_MinLook == 0 ? LL_k : min(decisions[decision].LL_MinLook, LL_k)
/host/spi-builder-workspace/Sources/Antlr4/atn/ATNState.swift:126:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
124 |
125 |
126 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
127 | return stateNumber
128 | }
/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
62 | }
63 |
64 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SemanticContext' to 'Hashable' by implementing 'hash(into:)' instead
65 | fatalError(#function + " must be overridden")
66 | }
/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
106 | }
107 |
108 | public final var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'PredictionContext' to 'Hashable' by implementing 'hash(into:)' instead
109 | return cachedHashCode
110 | }
/host/spi-builder-workspace/Sources/Antlr4/dfa/DFAState.swift:112:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'DFAState' to 'Hashable' by implementing 'hash(into:)' instead
110 |
111 |
112 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'DFAState' to 'Hashable' by implementing 'hash(into:)' instead
113 | var hash = MurmurHash.initialize(7)
114 | hash = MurmurHash.update(hash, configs.hashValue)
/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
1054 | /// - returns: the hash code value for this bit set
1055 | ///
1056 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BitSet' to 'Hashable' by implementing 'hash(into:)' instead
1057 | var h: Int64 = 1234
1058 | var i: Int = wordsInUse
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
481 | return MurmurHash.finish(hash, intervals.count * 2)
482 | }
483 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
156 | }
157 |
158 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
159 | return Unmanaged.passUnretained(self).toOpaque().hashValue
160 | // return unsafeAddress(of: self).hashValue
[108/157] Compiling Antlr4 StarLoopbackState.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:56:13: warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
54 | override
55 | public func adaptivePredict(_ input: TokenStream, _ decision: Int,_ outerContext: ParserRuleContext?) throws -> Int {
56 | var outerContext = outerContext
| `- warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
57 | self._sllStopIndex = -1
58 | self._llStopIndex = -1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:60:13: warning: variable 'start' was never mutated; consider changing to 'let' constant
58 | self._llStopIndex = -1
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
| `- warning: variable 'start' was never mutated; consider changing to 'let' constant
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:61:13: warning: variable 'alt' was never mutated; consider changing to 'let' constant
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
| `- warning: variable 'alt' was never mutated; consider changing to 'let' constant
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
63 | decisions[decision].timeInPrediction += (stop - start)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:62:13: warning: variable 'stop' was never mutated; consider changing to 'let' constant
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
| `- warning: variable 'stop' was never mutated; consider changing to 'let' constant
63 | decisions[decision].timeInPrediction += (stop - start)
64 | decisions[decision].invocations += 1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:66:13: warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
64 | decisions[decision].invocations += 1
65 |
66 | var SLL_k: Int64 = Int64(_sllStopIndex - _startIndex + 1)
| `- warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
67 | decisions[decision].SLL_TotalLook += SLL_k
68 | decisions[decision].SLL_MinLook = decisions[decision].SLL_MinLook == 0 ? SLL_k : min(decisions[decision].SLL_MinLook, SLL_k)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:76:17: warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
74 |
75 | if _llStopIndex >= 0 {
76 | var LL_k: Int64 = Int64(_llStopIndex - _startIndex + 1)
| `- warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
77 | decisions[decision].LL_TotalLook += LL_k
78 | decisions[decision].LL_MinLook = decisions[decision].LL_MinLook == 0 ? LL_k : min(decisions[decision].LL_MinLook, LL_k)
/host/spi-builder-workspace/Sources/Antlr4/atn/ATNState.swift:126:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
124 |
125 |
126 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
127 | return stateNumber
128 | }
/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
62 | }
63 |
64 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SemanticContext' to 'Hashable' by implementing 'hash(into:)' instead
65 | fatalError(#function + " must be overridden")
66 | }
/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
106 | }
107 |
108 | public final var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'PredictionContext' to 'Hashable' by implementing 'hash(into:)' instead
109 | return cachedHashCode
110 | }
/host/spi-builder-workspace/Sources/Antlr4/dfa/DFAState.swift:112:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'DFAState' to 'Hashable' by implementing 'hash(into:)' instead
110 |
111 |
112 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'DFAState' to 'Hashable' by implementing 'hash(into:)' instead
113 | var hash = MurmurHash.initialize(7)
114 | hash = MurmurHash.update(hash, configs.hashValue)
/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
1054 | /// - returns: the hash code value for this bit set
1055 | ///
1056 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BitSet' to 'Hashable' by implementing 'hash(into:)' instead
1057 | var h: Int64 = 1234
1058 | var i: Int = wordsInUse
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
481 | return MurmurHash.finish(hash, intervals.count * 2)
482 | }
483 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
156 | }
157 |
158 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
159 | return Unmanaged.passUnretained(self).toOpaque().hashValue
160 | // return unsafeAddress(of: self).hashValue
[109/157] Compiling Antlr4 TokensStartState.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:56:13: warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
54 | override
55 | public func adaptivePredict(_ input: TokenStream, _ decision: Int,_ outerContext: ParserRuleContext?) throws -> Int {
56 | var outerContext = outerContext
| `- warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
57 | self._sllStopIndex = -1
58 | self._llStopIndex = -1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:60:13: warning: variable 'start' was never mutated; consider changing to 'let' constant
58 | self._llStopIndex = -1
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
| `- warning: variable 'start' was never mutated; consider changing to 'let' constant
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:61:13: warning: variable 'alt' was never mutated; consider changing to 'let' constant
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
| `- warning: variable 'alt' was never mutated; consider changing to 'let' constant
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
63 | decisions[decision].timeInPrediction += (stop - start)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:62:13: warning: variable 'stop' was never mutated; consider changing to 'let' constant
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
| `- warning: variable 'stop' was never mutated; consider changing to 'let' constant
63 | decisions[decision].timeInPrediction += (stop - start)
64 | decisions[decision].invocations += 1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:66:13: warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
64 | decisions[decision].invocations += 1
65 |
66 | var SLL_k: Int64 = Int64(_sllStopIndex - _startIndex + 1)
| `- warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
67 | decisions[decision].SLL_TotalLook += SLL_k
68 | decisions[decision].SLL_MinLook = decisions[decision].SLL_MinLook == 0 ? SLL_k : min(decisions[decision].SLL_MinLook, SLL_k)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:76:17: warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
74 |
75 | if _llStopIndex >= 0 {
76 | var LL_k: Int64 = Int64(_llStopIndex - _startIndex + 1)
| `- warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
77 | decisions[decision].LL_TotalLook += LL_k
78 | decisions[decision].LL_MinLook = decisions[decision].LL_MinLook == 0 ? LL_k : min(decisions[decision].LL_MinLook, LL_k)
/host/spi-builder-workspace/Sources/Antlr4/atn/ATNState.swift:126:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
124 |
125 |
126 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
127 | return stateNumber
128 | }
/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
62 | }
63 |
64 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SemanticContext' to 'Hashable' by implementing 'hash(into:)' instead
65 | fatalError(#function + " must be overridden")
66 | }
/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
106 | }
107 |
108 | public final var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'PredictionContext' to 'Hashable' by implementing 'hash(into:)' instead
109 | return cachedHashCode
110 | }
/host/spi-builder-workspace/Sources/Antlr4/dfa/DFAState.swift:112:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'DFAState' to 'Hashable' by implementing 'hash(into:)' instead
110 |
111 |
112 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'DFAState' to 'Hashable' by implementing 'hash(into:)' instead
113 | var hash = MurmurHash.initialize(7)
114 | hash = MurmurHash.update(hash, configs.hashValue)
/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
1054 | /// - returns: the hash code value for this bit set
1055 | ///
1056 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BitSet' to 'Hashable' by implementing 'hash(into:)' instead
1057 | var h: Int64 = 1234
1058 | var i: Int = wordsInUse
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
481 | return MurmurHash.finish(hash, intervals.count * 2)
482 | }
483 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
156 | }
157 |
158 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
159 | return Unmanaged.passUnretained(self).toOpaque().hashValue
160 | // return unsafeAddress(of: self).hashValue
[110/157] Compiling Antlr4 Transition.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:56:13: warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
54 | override
55 | public func adaptivePredict(_ input: TokenStream, _ decision: Int,_ outerContext: ParserRuleContext?) throws -> Int {
56 | var outerContext = outerContext
| `- warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
57 | self._sllStopIndex = -1
58 | self._llStopIndex = -1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:60:13: warning: variable 'start' was never mutated; consider changing to 'let' constant
58 | self._llStopIndex = -1
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
| `- warning: variable 'start' was never mutated; consider changing to 'let' constant
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:61:13: warning: variable 'alt' was never mutated; consider changing to 'let' constant
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
| `- warning: variable 'alt' was never mutated; consider changing to 'let' constant
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
63 | decisions[decision].timeInPrediction += (stop - start)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:62:13: warning: variable 'stop' was never mutated; consider changing to 'let' constant
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
| `- warning: variable 'stop' was never mutated; consider changing to 'let' constant
63 | decisions[decision].timeInPrediction += (stop - start)
64 | decisions[decision].invocations += 1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:66:13: warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
64 | decisions[decision].invocations += 1
65 |
66 | var SLL_k: Int64 = Int64(_sllStopIndex - _startIndex + 1)
| `- warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
67 | decisions[decision].SLL_TotalLook += SLL_k
68 | decisions[decision].SLL_MinLook = decisions[decision].SLL_MinLook == 0 ? SLL_k : min(decisions[decision].SLL_MinLook, SLL_k)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:76:17: warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
74 |
75 | if _llStopIndex >= 0 {
76 | var LL_k: Int64 = Int64(_llStopIndex - _startIndex + 1)
| `- warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
77 | decisions[decision].LL_TotalLook += LL_k
78 | decisions[decision].LL_MinLook = decisions[decision].LL_MinLook == 0 ? LL_k : min(decisions[decision].LL_MinLook, LL_k)
/host/spi-builder-workspace/Sources/Antlr4/atn/ATNState.swift:126:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
124 |
125 |
126 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
127 | return stateNumber
128 | }
/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
62 | }
63 |
64 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SemanticContext' to 'Hashable' by implementing 'hash(into:)' instead
65 | fatalError(#function + " must be overridden")
66 | }
/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
106 | }
107 |
108 | public final var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'PredictionContext' to 'Hashable' by implementing 'hash(into:)' instead
109 | return cachedHashCode
110 | }
/host/spi-builder-workspace/Sources/Antlr4/dfa/DFAState.swift:112:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'DFAState' to 'Hashable' by implementing 'hash(into:)' instead
110 |
111 |
112 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'DFAState' to 'Hashable' by implementing 'hash(into:)' instead
113 | var hash = MurmurHash.initialize(7)
114 | hash = MurmurHash.update(hash, configs.hashValue)
/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
1054 | /// - returns: the hash code value for this bit set
1055 | ///
1056 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BitSet' to 'Hashable' by implementing 'hash(into:)' instead
1057 | var h: Int64 = 1234
1058 | var i: Int = wordsInUse
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
481 | return MurmurHash.finish(hash, intervals.count * 2)
482 | }
483 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
156 | }
157 |
158 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
159 | return Unmanaged.passUnretained(self).toOpaque().hashValue
160 | // return unsafeAddress(of: self).hashValue
[111/157] Compiling Antlr4 WildcardTransition.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:56:13: warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
54 | override
55 | public func adaptivePredict(_ input: TokenStream, _ decision: Int,_ outerContext: ParserRuleContext?) throws -> Int {
56 | var outerContext = outerContext
| `- warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
57 | self._sllStopIndex = -1
58 | self._llStopIndex = -1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:60:13: warning: variable 'start' was never mutated; consider changing to 'let' constant
58 | self._llStopIndex = -1
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
| `- warning: variable 'start' was never mutated; consider changing to 'let' constant
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:61:13: warning: variable 'alt' was never mutated; consider changing to 'let' constant
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
| `- warning: variable 'alt' was never mutated; consider changing to 'let' constant
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
63 | decisions[decision].timeInPrediction += (stop - start)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:62:13: warning: variable 'stop' was never mutated; consider changing to 'let' constant
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
| `- warning: variable 'stop' was never mutated; consider changing to 'let' constant
63 | decisions[decision].timeInPrediction += (stop - start)
64 | decisions[decision].invocations += 1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:66:13: warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
64 | decisions[decision].invocations += 1
65 |
66 | var SLL_k: Int64 = Int64(_sllStopIndex - _startIndex + 1)
| `- warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
67 | decisions[decision].SLL_TotalLook += SLL_k
68 | decisions[decision].SLL_MinLook = decisions[decision].SLL_MinLook == 0 ? SLL_k : min(decisions[decision].SLL_MinLook, SLL_k)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:76:17: warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
74 |
75 | if _llStopIndex >= 0 {
76 | var LL_k: Int64 = Int64(_llStopIndex - _startIndex + 1)
| `- warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
77 | decisions[decision].LL_TotalLook += LL_k
78 | decisions[decision].LL_MinLook = decisions[decision].LL_MinLook == 0 ? LL_k : min(decisions[decision].LL_MinLook, LL_k)
/host/spi-builder-workspace/Sources/Antlr4/atn/ATNState.swift:126:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
124 |
125 |
126 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
127 | return stateNumber
128 | }
/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
62 | }
63 |
64 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SemanticContext' to 'Hashable' by implementing 'hash(into:)' instead
65 | fatalError(#function + " must be overridden")
66 | }
/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
106 | }
107 |
108 | public final var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'PredictionContext' to 'Hashable' by implementing 'hash(into:)' instead
109 | return cachedHashCode
110 | }
/host/spi-builder-workspace/Sources/Antlr4/dfa/DFAState.swift:112:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'DFAState' to 'Hashable' by implementing 'hash(into:)' instead
110 |
111 |
112 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'DFAState' to 'Hashable' by implementing 'hash(into:)' instead
113 | var hash = MurmurHash.initialize(7)
114 | hash = MurmurHash.update(hash, configs.hashValue)
/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
1054 | /// - returns: the hash code value for this bit set
1055 | ///
1056 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BitSet' to 'Hashable' by implementing 'hash(into:)' instead
1057 | var h: Int64 = 1234
1058 | var i: Int = wordsInUse
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
481 | return MurmurHash.finish(hash, intervals.count * 2)
482 | }
483 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
156 | }
157 |
158 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
159 | return Unmanaged.passUnretained(self).toOpaque().hashValue
160 | // return unsafeAddress(of: self).hashValue
[112/157] Compiling Antlr4 DFA.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:56:13: warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
54 | override
55 | public func adaptivePredict(_ input: TokenStream, _ decision: Int,_ outerContext: ParserRuleContext?) throws -> Int {
56 | var outerContext = outerContext
| `- warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
57 | self._sllStopIndex = -1
58 | self._llStopIndex = -1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:60:13: warning: variable 'start' was never mutated; consider changing to 'let' constant
58 | self._llStopIndex = -1
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
| `- warning: variable 'start' was never mutated; consider changing to 'let' constant
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:61:13: warning: variable 'alt' was never mutated; consider changing to 'let' constant
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
| `- warning: variable 'alt' was never mutated; consider changing to 'let' constant
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
63 | decisions[decision].timeInPrediction += (stop - start)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:62:13: warning: variable 'stop' was never mutated; consider changing to 'let' constant
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
| `- warning: variable 'stop' was never mutated; consider changing to 'let' constant
63 | decisions[decision].timeInPrediction += (stop - start)
64 | decisions[decision].invocations += 1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:66:13: warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
64 | decisions[decision].invocations += 1
65 |
66 | var SLL_k: Int64 = Int64(_sllStopIndex - _startIndex + 1)
| `- warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
67 | decisions[decision].SLL_TotalLook += SLL_k
68 | decisions[decision].SLL_MinLook = decisions[decision].SLL_MinLook == 0 ? SLL_k : min(decisions[decision].SLL_MinLook, SLL_k)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:76:17: warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
74 |
75 | if _llStopIndex >= 0 {
76 | var LL_k: Int64 = Int64(_llStopIndex - _startIndex + 1)
| `- warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
77 | decisions[decision].LL_TotalLook += LL_k
78 | decisions[decision].LL_MinLook = decisions[decision].LL_MinLook == 0 ? LL_k : min(decisions[decision].LL_MinLook, LL_k)
/host/spi-builder-workspace/Sources/Antlr4/atn/ATNState.swift:126:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
124 |
125 |
126 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
127 | return stateNumber
128 | }
/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
62 | }
63 |
64 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SemanticContext' to 'Hashable' by implementing 'hash(into:)' instead
65 | fatalError(#function + " must be overridden")
66 | }
/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
106 | }
107 |
108 | public final var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'PredictionContext' to 'Hashable' by implementing 'hash(into:)' instead
109 | return cachedHashCode
110 | }
/host/spi-builder-workspace/Sources/Antlr4/dfa/DFAState.swift:112:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'DFAState' to 'Hashable' by implementing 'hash(into:)' instead
110 |
111 |
112 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'DFAState' to 'Hashable' by implementing 'hash(into:)' instead
113 | var hash = MurmurHash.initialize(7)
114 | hash = MurmurHash.update(hash, configs.hashValue)
/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
1054 | /// - returns: the hash code value for this bit set
1055 | ///
1056 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BitSet' to 'Hashable' by implementing 'hash(into:)' instead
1057 | var h: Int64 = 1234
1058 | var i: Int = wordsInUse
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
481 | return MurmurHash.finish(hash, intervals.count * 2)
482 | }
483 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
156 | }
157 |
158 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
159 | return Unmanaged.passUnretained(self).toOpaque().hashValue
160 | // return unsafeAddress(of: self).hashValue
[113/157] Compiling Antlr4 DFASerializer.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:56:13: warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
54 | override
55 | public func adaptivePredict(_ input: TokenStream, _ decision: Int,_ outerContext: ParserRuleContext?) throws -> Int {
56 | var outerContext = outerContext
| `- warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
57 | self._sllStopIndex = -1
58 | self._llStopIndex = -1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:60:13: warning: variable 'start' was never mutated; consider changing to 'let' constant
58 | self._llStopIndex = -1
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
| `- warning: variable 'start' was never mutated; consider changing to 'let' constant
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:61:13: warning: variable 'alt' was never mutated; consider changing to 'let' constant
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
| `- warning: variable 'alt' was never mutated; consider changing to 'let' constant
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
63 | decisions[decision].timeInPrediction += (stop - start)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:62:13: warning: variable 'stop' was never mutated; consider changing to 'let' constant
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
| `- warning: variable 'stop' was never mutated; consider changing to 'let' constant
63 | decisions[decision].timeInPrediction += (stop - start)
64 | decisions[decision].invocations += 1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:66:13: warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
64 | decisions[decision].invocations += 1
65 |
66 | var SLL_k: Int64 = Int64(_sllStopIndex - _startIndex + 1)
| `- warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
67 | decisions[decision].SLL_TotalLook += SLL_k
68 | decisions[decision].SLL_MinLook = decisions[decision].SLL_MinLook == 0 ? SLL_k : min(decisions[decision].SLL_MinLook, SLL_k)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:76:17: warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
74 |
75 | if _llStopIndex >= 0 {
76 | var LL_k: Int64 = Int64(_llStopIndex - _startIndex + 1)
| `- warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
77 | decisions[decision].LL_TotalLook += LL_k
78 | decisions[decision].LL_MinLook = decisions[decision].LL_MinLook == 0 ? LL_k : min(decisions[decision].LL_MinLook, LL_k)
/host/spi-builder-workspace/Sources/Antlr4/atn/ATNState.swift:126:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
124 |
125 |
126 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
127 | return stateNumber
128 | }
/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
62 | }
63 |
64 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SemanticContext' to 'Hashable' by implementing 'hash(into:)' instead
65 | fatalError(#function + " must be overridden")
66 | }
/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
106 | }
107 |
108 | public final var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'PredictionContext' to 'Hashable' by implementing 'hash(into:)' instead
109 | return cachedHashCode
110 | }
/host/spi-builder-workspace/Sources/Antlr4/dfa/DFAState.swift:112:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'DFAState' to 'Hashable' by implementing 'hash(into:)' instead
110 |
111 |
112 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'DFAState' to 'Hashable' by implementing 'hash(into:)' instead
113 | var hash = MurmurHash.initialize(7)
114 | hash = MurmurHash.update(hash, configs.hashValue)
/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
1054 | /// - returns: the hash code value for this bit set
1055 | ///
1056 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BitSet' to 'Hashable' by implementing 'hash(into:)' instead
1057 | var h: Int64 = 1234
1058 | var i: Int = wordsInUse
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
481 | return MurmurHash.finish(hash, intervals.count * 2)
482 | }
483 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
156 | }
157 |
158 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
159 | return Unmanaged.passUnretained(self).toOpaque().hashValue
160 | // return unsafeAddress(of: self).hashValue
[114/157] Compiling Antlr4 DFAState.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:56:13: warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
54 | override
55 | public func adaptivePredict(_ input: TokenStream, _ decision: Int,_ outerContext: ParserRuleContext?) throws -> Int {
56 | var outerContext = outerContext
| `- warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
57 | self._sllStopIndex = -1
58 | self._llStopIndex = -1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:60:13: warning: variable 'start' was never mutated; consider changing to 'let' constant
58 | self._llStopIndex = -1
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
| `- warning: variable 'start' was never mutated; consider changing to 'let' constant
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:61:13: warning: variable 'alt' was never mutated; consider changing to 'let' constant
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
| `- warning: variable 'alt' was never mutated; consider changing to 'let' constant
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
63 | decisions[decision].timeInPrediction += (stop - start)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:62:13: warning: variable 'stop' was never mutated; consider changing to 'let' constant
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
| `- warning: variable 'stop' was never mutated; consider changing to 'let' constant
63 | decisions[decision].timeInPrediction += (stop - start)
64 | decisions[decision].invocations += 1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:66:13: warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
64 | decisions[decision].invocations += 1
65 |
66 | var SLL_k: Int64 = Int64(_sllStopIndex - _startIndex + 1)
| `- warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
67 | decisions[decision].SLL_TotalLook += SLL_k
68 | decisions[decision].SLL_MinLook = decisions[decision].SLL_MinLook == 0 ? SLL_k : min(decisions[decision].SLL_MinLook, SLL_k)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:76:17: warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
74 |
75 | if _llStopIndex >= 0 {
76 | var LL_k: Int64 = Int64(_llStopIndex - _startIndex + 1)
| `- warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
77 | decisions[decision].LL_TotalLook += LL_k
78 | decisions[decision].LL_MinLook = decisions[decision].LL_MinLook == 0 ? LL_k : min(decisions[decision].LL_MinLook, LL_k)
/host/spi-builder-workspace/Sources/Antlr4/atn/ATNState.swift:126:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
124 |
125 |
126 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
127 | return stateNumber
128 | }
/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
62 | }
63 |
64 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SemanticContext' to 'Hashable' by implementing 'hash(into:)' instead
65 | fatalError(#function + " must be overridden")
66 | }
/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
106 | }
107 |
108 | public final var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'PredictionContext' to 'Hashable' by implementing 'hash(into:)' instead
109 | return cachedHashCode
110 | }
/host/spi-builder-workspace/Sources/Antlr4/dfa/DFAState.swift:112:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'DFAState' to 'Hashable' by implementing 'hash(into:)' instead
110 |
111 |
112 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'DFAState' to 'Hashable' by implementing 'hash(into:)' instead
113 | var hash = MurmurHash.initialize(7)
114 | hash = MurmurHash.update(hash, configs.hashValue)
/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
1054 | /// - returns: the hash code value for this bit set
1055 | ///
1056 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BitSet' to 'Hashable' by implementing 'hash(into:)' instead
1057 | var h: Int64 = 1234
1058 | var i: Int = wordsInUse
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
481 | return MurmurHash.finish(hash, intervals.count * 2)
482 | }
483 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
156 | }
157 |
158 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
159 | return Unmanaged.passUnretained(self).toOpaque().hashValue
160 | // return unsafeAddress(of: self).hashValue
[115/157] Compiling Antlr4 LexerDFASerializer.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:56:13: warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
54 | override
55 | public func adaptivePredict(_ input: TokenStream, _ decision: Int,_ outerContext: ParserRuleContext?) throws -> Int {
56 | var outerContext = outerContext
| `- warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
57 | self._sllStopIndex = -1
58 | self._llStopIndex = -1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:60:13: warning: variable 'start' was never mutated; consider changing to 'let' constant
58 | self._llStopIndex = -1
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
| `- warning: variable 'start' was never mutated; consider changing to 'let' constant
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:61:13: warning: variable 'alt' was never mutated; consider changing to 'let' constant
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
| `- warning: variable 'alt' was never mutated; consider changing to 'let' constant
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
63 | decisions[decision].timeInPrediction += (stop - start)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:62:13: warning: variable 'stop' was never mutated; consider changing to 'let' constant
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
| `- warning: variable 'stop' was never mutated; consider changing to 'let' constant
63 | decisions[decision].timeInPrediction += (stop - start)
64 | decisions[decision].invocations += 1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:66:13: warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
64 | decisions[decision].invocations += 1
65 |
66 | var SLL_k: Int64 = Int64(_sllStopIndex - _startIndex + 1)
| `- warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
67 | decisions[decision].SLL_TotalLook += SLL_k
68 | decisions[decision].SLL_MinLook = decisions[decision].SLL_MinLook == 0 ? SLL_k : min(decisions[decision].SLL_MinLook, SLL_k)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:76:17: warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
74 |
75 | if _llStopIndex >= 0 {
76 | var LL_k: Int64 = Int64(_llStopIndex - _startIndex + 1)
| `- warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
77 | decisions[decision].LL_TotalLook += LL_k
78 | decisions[decision].LL_MinLook = decisions[decision].LL_MinLook == 0 ? LL_k : min(decisions[decision].LL_MinLook, LL_k)
/host/spi-builder-workspace/Sources/Antlr4/atn/ATNState.swift:126:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
124 |
125 |
126 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
127 | return stateNumber
128 | }
/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
62 | }
63 |
64 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SemanticContext' to 'Hashable' by implementing 'hash(into:)' instead
65 | fatalError(#function + " must be overridden")
66 | }
/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
106 | }
107 |
108 | public final var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'PredictionContext' to 'Hashable' by implementing 'hash(into:)' instead
109 | return cachedHashCode
110 | }
/host/spi-builder-workspace/Sources/Antlr4/dfa/DFAState.swift:112:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'DFAState' to 'Hashable' by implementing 'hash(into:)' instead
110 |
111 |
112 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'DFAState' to 'Hashable' by implementing 'hash(into:)' instead
113 | var hash = MurmurHash.initialize(7)
114 | hash = MurmurHash.update(hash, configs.hashValue)
/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
1054 | /// - returns: the hash code value for this bit set
1055 | ///
1056 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BitSet' to 'Hashable' by implementing 'hash(into:)' instead
1057 | var h: Int64 = 1234
1058 | var i: Int = wordsInUse
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
481 | return MurmurHash.finish(hash, intervals.count * 2)
482 | }
483 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
156 | }
157 |
158 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
159 | return Unmanaged.passUnretained(self).toOpaque().hashValue
160 | // return unsafeAddress(of: self).hashValue
[116/157] Compiling Antlr4 BitSet.swift
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:56:13: warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
54 | override
55 | public func adaptivePredict(_ input: TokenStream, _ decision: Int,_ outerContext: ParserRuleContext?) throws -> Int {
56 | var outerContext = outerContext
| `- warning: variable 'outerContext' was never mutated; consider changing to 'let' constant
57 | self._sllStopIndex = -1
58 | self._llStopIndex = -1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:60:13: warning: variable 'start' was never mutated; consider changing to 'let' constant
58 | self._llStopIndex = -1
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
| `- warning: variable 'start' was never mutated; consider changing to 'let' constant
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:61:13: warning: variable 'alt' was never mutated; consider changing to 'let' constant
59 | self.currentDecision = decision
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
| `- warning: variable 'alt' was never mutated; consider changing to 'let' constant
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
63 | decisions[decision].timeInPrediction += (stop - start)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:62:13: warning: variable 'stop' was never mutated; consider changing to 'let' constant
60 | var start: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime(); // expensive but useful info
61 | var alt: Int = try super.adaptivePredict(input, decision, outerContext)
62 | var stop: Int64 = Int64(Date().timeIntervalSince1970) //System.nanoTime();
| `- warning: variable 'stop' was never mutated; consider changing to 'let' constant
63 | decisions[decision].timeInPrediction += (stop - start)
64 | decisions[decision].invocations += 1
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:66:13: warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
64 | decisions[decision].invocations += 1
65 |
66 | var SLL_k: Int64 = Int64(_sllStopIndex - _startIndex + 1)
| `- warning: variable 'SLL_k' was never mutated; consider changing to 'let' constant
67 | decisions[decision].SLL_TotalLook += SLL_k
68 | decisions[decision].SLL_MinLook = decisions[decision].SLL_MinLook == 0 ? SLL_k : min(decisions[decision].SLL_MinLook, SLL_k)
/host/spi-builder-workspace/Sources/Antlr4/atn/ProfilingATNSimulator.swift:76:17: warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
74 |
75 | if _llStopIndex >= 0 {
76 | var LL_k: Int64 = Int64(_llStopIndex - _startIndex + 1)
| `- warning: variable 'LL_k' was never mutated; consider changing to 'let' constant
77 | decisions[decision].LL_TotalLook += LL_k
78 | decisions[decision].LL_MinLook = decisions[decision].LL_MinLook == 0 ? LL_k : min(decisions[decision].LL_MinLook, LL_k)
/host/spi-builder-workspace/Sources/Antlr4/atn/ATNState.swift:126:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
124 |
125 |
126 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ATNState' to 'Hashable' by implementing 'hash(into:)' instead
127 | return stateNumber
128 | }
/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
62 | }
63 |
64 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SemanticContext' to 'Hashable' by implementing 'hash(into:)' instead
65 | fatalError(#function + " must be overridden")
66 | }
/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
106 | }
107 |
108 | public final var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'PredictionContext' to 'Hashable' by implementing 'hash(into:)' instead
109 | return cachedHashCode
110 | }
/host/spi-builder-workspace/Sources/Antlr4/dfa/DFAState.swift:112:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'DFAState' to 'Hashable' by implementing 'hash(into:)' instead
110 |
111 |
112 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'DFAState' to 'Hashable' by implementing 'hash(into:)' instead
113 | var hash = MurmurHash.initialize(7)
114 | hash = MurmurHash.update(hash, configs.hashValue)
/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
1054 | /// - returns: the hash code value for this bit set
1055 | ///
1056 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BitSet' to 'Hashable' by implementing 'hash(into:)' instead
1057 | var h: Int64 = 1234
1058 | var i: Int = wordsInUse
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
481 | return MurmurHash.finish(hash, intervals.count * 2)
482 | }
483 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
/host/spi-builder-workspace/Sources/Antlr4/VocabularySingle.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
156 | }
157 |
158 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Vocabulary' to 'Hashable' by implementing 'hash(into:)' instead
159 | return Unmanaged.passUnretained(self).toOpaque().hashValue
160 | // return unsafeAddress(of: self).hashValue
[117/157] Compiling Antlr4 DoubleKeyMap.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:65:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
63 |
64 |
65 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
66 | var hash: Int = 23
67 | hash = hash * 31 + a
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
481 | return MurmurHash.finish(hash, intervals.count * 2)
482 | }
483 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:329:13: warning: variable 'myIntervals' was never mutated; consider changing to 'let' constant
327 | }
328 |
329 | var myIntervals = self.intervals
| `- warning: variable 'myIntervals' was never mutated; consider changing to 'let' constant
330 | var theirIntervals = (other as! IntervalSet).intervals
331 | var intersection: IntervalSet? = nil
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:330:13: warning: variable 'theirIntervals' was never mutated; consider changing to 'let' constant
328 |
329 | var myIntervals = self.intervals
330 | var theirIntervals = (other as! IntervalSet).intervals
| `- warning: variable 'theirIntervals' was never mutated; consider changing to 'let' constant
331 | var intersection: IntervalSet? = nil
332 | let mySize = myIntervals.count
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:9: error: cannot find 'pthread_mutex_init' in scope
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:36: error: 'nil' requires a contextual type
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: 'nil' requires a contextual type
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:31:9: error: cannot find 'pthread_mutex_lock' in scope
29 | @discardableResult
30 | func synchronized<R>(closure: () throws -> R) rethrows -> R {
31 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
32 | defer {
33 | pthread_mutex_unlock(&mutex)
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:33:13: error: cannot find 'pthread_mutex_unlock' in scope
31 | pthread_mutex_lock(&mutex)
32 | defer {
33 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
34 | }
35 | return try closure()
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:40:9: error: cannot find 'pthread_mutex_destroy' in scope
38 | deinit {
39 | // free the mutex resource
40 | pthread_mutex_destroy(&mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
41 | }
42 | }
[118/157] Compiling Antlr4 IntSet.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:65:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
63 |
64 |
65 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
66 | var hash: Int = 23
67 | hash = hash * 31 + a
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
481 | return MurmurHash.finish(hash, intervals.count * 2)
482 | }
483 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:329:13: warning: variable 'myIntervals' was never mutated; consider changing to 'let' constant
327 | }
328 |
329 | var myIntervals = self.intervals
| `- warning: variable 'myIntervals' was never mutated; consider changing to 'let' constant
330 | var theirIntervals = (other as! IntervalSet).intervals
331 | var intersection: IntervalSet? = nil
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:330:13: warning: variable 'theirIntervals' was never mutated; consider changing to 'let' constant
328 |
329 | var myIntervals = self.intervals
330 | var theirIntervals = (other as! IntervalSet).intervals
| `- warning: variable 'theirIntervals' was never mutated; consider changing to 'let' constant
331 | var intersection: IntervalSet? = nil
332 | let mySize = myIntervals.count
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:9: error: cannot find 'pthread_mutex_init' in scope
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:36: error: 'nil' requires a contextual type
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: 'nil' requires a contextual type
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:31:9: error: cannot find 'pthread_mutex_lock' in scope
29 | @discardableResult
30 | func synchronized<R>(closure: () throws -> R) rethrows -> R {
31 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
32 | defer {
33 | pthread_mutex_unlock(&mutex)
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:33:13: error: cannot find 'pthread_mutex_unlock' in scope
31 | pthread_mutex_lock(&mutex)
32 | defer {
33 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
34 | }
35 | return try closure()
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:40:9: error: cannot find 'pthread_mutex_destroy' in scope
38 | deinit {
39 | // free the mutex resource
40 | pthread_mutex_destroy(&mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
41 | }
42 | }
[119/157] Compiling Antlr4 Interval.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:65:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
63 |
64 |
65 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
66 | var hash: Int = 23
67 | hash = hash * 31 + a
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
481 | return MurmurHash.finish(hash, intervals.count * 2)
482 | }
483 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:329:13: warning: variable 'myIntervals' was never mutated; consider changing to 'let' constant
327 | }
328 |
329 | var myIntervals = self.intervals
| `- warning: variable 'myIntervals' was never mutated; consider changing to 'let' constant
330 | var theirIntervals = (other as! IntervalSet).intervals
331 | var intersection: IntervalSet? = nil
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:330:13: warning: variable 'theirIntervals' was never mutated; consider changing to 'let' constant
328 |
329 | var myIntervals = self.intervals
330 | var theirIntervals = (other as! IntervalSet).intervals
| `- warning: variable 'theirIntervals' was never mutated; consider changing to 'let' constant
331 | var intersection: IntervalSet? = nil
332 | let mySize = myIntervals.count
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:9: error: cannot find 'pthread_mutex_init' in scope
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:36: error: 'nil' requires a contextual type
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: 'nil' requires a contextual type
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:31:9: error: cannot find 'pthread_mutex_lock' in scope
29 | @discardableResult
30 | func synchronized<R>(closure: () throws -> R) rethrows -> R {
31 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
32 | defer {
33 | pthread_mutex_unlock(&mutex)
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:33:13: error: cannot find 'pthread_mutex_unlock' in scope
31 | pthread_mutex_lock(&mutex)
32 | defer {
33 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
34 | }
35 | return try closure()
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:40:9: error: cannot find 'pthread_mutex_destroy' in scope
38 | deinit {
39 | // free the mutex resource
40 | pthread_mutex_destroy(&mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
41 | }
42 | }
[120/157] Compiling Antlr4 IntervalSet.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:65:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
63 |
64 |
65 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
66 | var hash: Int = 23
67 | hash = hash * 31 + a
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
481 | return MurmurHash.finish(hash, intervals.count * 2)
482 | }
483 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:329:13: warning: variable 'myIntervals' was never mutated; consider changing to 'let' constant
327 | }
328 |
329 | var myIntervals = self.intervals
| `- warning: variable 'myIntervals' was never mutated; consider changing to 'let' constant
330 | var theirIntervals = (other as! IntervalSet).intervals
331 | var intersection: IntervalSet? = nil
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:330:13: warning: variable 'theirIntervals' was never mutated; consider changing to 'let' constant
328 |
329 | var myIntervals = self.intervals
330 | var theirIntervals = (other as! IntervalSet).intervals
| `- warning: variable 'theirIntervals' was never mutated; consider changing to 'let' constant
331 | var intersection: IntervalSet? = nil
332 | let mySize = myIntervals.count
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:9: error: cannot find 'pthread_mutex_init' in scope
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:36: error: 'nil' requires a contextual type
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: 'nil' requires a contextual type
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:31:9: error: cannot find 'pthread_mutex_lock' in scope
29 | @discardableResult
30 | func synchronized<R>(closure: () throws -> R) rethrows -> R {
31 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
32 | defer {
33 | pthread_mutex_unlock(&mutex)
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:33:13: error: cannot find 'pthread_mutex_unlock' in scope
31 | pthread_mutex_lock(&mutex)
32 | defer {
33 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
34 | }
35 | return try closure()
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:40:9: error: cannot find 'pthread_mutex_destroy' in scope
38 | deinit {
39 | // free the mutex resource
40 | pthread_mutex_destroy(&mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
41 | }
42 | }
[121/157] Compiling Antlr4 MultiMap.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:65:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
63 |
64 |
65 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
66 | var hash: Int = 23
67 | hash = hash * 31 + a
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
481 | return MurmurHash.finish(hash, intervals.count * 2)
482 | }
483 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:329:13: warning: variable 'myIntervals' was never mutated; consider changing to 'let' constant
327 | }
328 |
329 | var myIntervals = self.intervals
| `- warning: variable 'myIntervals' was never mutated; consider changing to 'let' constant
330 | var theirIntervals = (other as! IntervalSet).intervals
331 | var intersection: IntervalSet? = nil
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:330:13: warning: variable 'theirIntervals' was never mutated; consider changing to 'let' constant
328 |
329 | var myIntervals = self.intervals
330 | var theirIntervals = (other as! IntervalSet).intervals
| `- warning: variable 'theirIntervals' was never mutated; consider changing to 'let' constant
331 | var intersection: IntervalSet? = nil
332 | let mySize = myIntervals.count
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:9: error: cannot find 'pthread_mutex_init' in scope
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:36: error: 'nil' requires a contextual type
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: 'nil' requires a contextual type
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:31:9: error: cannot find 'pthread_mutex_lock' in scope
29 | @discardableResult
30 | func synchronized<R>(closure: () throws -> R) rethrows -> R {
31 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
32 | defer {
33 | pthread_mutex_unlock(&mutex)
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:33:13: error: cannot find 'pthread_mutex_unlock' in scope
31 | pthread_mutex_lock(&mutex)
32 | defer {
33 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
34 | }
35 | return try closure()
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:40:9: error: cannot find 'pthread_mutex_destroy' in scope
38 | deinit {
39 | // free the mutex resource
40 | pthread_mutex_destroy(&mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
41 | }
42 | }
[122/157] Compiling Antlr4 MurmurHash.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:65:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
63 |
64 |
65 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
66 | var hash: Int = 23
67 | hash = hash * 31 + a
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
481 | return MurmurHash.finish(hash, intervals.count * 2)
482 | }
483 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:329:13: warning: variable 'myIntervals' was never mutated; consider changing to 'let' constant
327 | }
328 |
329 | var myIntervals = self.intervals
| `- warning: variable 'myIntervals' was never mutated; consider changing to 'let' constant
330 | var theirIntervals = (other as! IntervalSet).intervals
331 | var intersection: IntervalSet? = nil
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:330:13: warning: variable 'theirIntervals' was never mutated; consider changing to 'let' constant
328 |
329 | var myIntervals = self.intervals
330 | var theirIntervals = (other as! IntervalSet).intervals
| `- warning: variable 'theirIntervals' was never mutated; consider changing to 'let' constant
331 | var intersection: IntervalSet? = nil
332 | let mySize = myIntervals.count
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:9: error: cannot find 'pthread_mutex_init' in scope
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:36: error: 'nil' requires a contextual type
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: 'nil' requires a contextual type
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:31:9: error: cannot find 'pthread_mutex_lock' in scope
29 | @discardableResult
30 | func synchronized<R>(closure: () throws -> R) rethrows -> R {
31 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
32 | defer {
33 | pthread_mutex_unlock(&mutex)
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:33:13: error: cannot find 'pthread_mutex_unlock' in scope
31 | pthread_mutex_lock(&mutex)
32 | defer {
33 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
34 | }
35 | return try closure()
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:40:9: error: cannot find 'pthread_mutex_destroy' in scope
38 | deinit {
39 | // free the mutex resource
40 | pthread_mutex_destroy(&mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
41 | }
42 | }
[123/157] Compiling Antlr4 Utils.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:65:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
63 |
64 |
65 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
66 | var hash: Int = 23
67 | hash = hash * 31 + a
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
481 | return MurmurHash.finish(hash, intervals.count * 2)
482 | }
483 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:329:13: warning: variable 'myIntervals' was never mutated; consider changing to 'let' constant
327 | }
328 |
329 | var myIntervals = self.intervals
| `- warning: variable 'myIntervals' was never mutated; consider changing to 'let' constant
330 | var theirIntervals = (other as! IntervalSet).intervals
331 | var intersection: IntervalSet? = nil
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:330:13: warning: variable 'theirIntervals' was never mutated; consider changing to 'let' constant
328 |
329 | var myIntervals = self.intervals
330 | var theirIntervals = (other as! IntervalSet).intervals
| `- warning: variable 'theirIntervals' was never mutated; consider changing to 'let' constant
331 | var intersection: IntervalSet? = nil
332 | let mySize = myIntervals.count
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:9: error: cannot find 'pthread_mutex_init' in scope
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:36: error: 'nil' requires a contextual type
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: 'nil' requires a contextual type
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:31:9: error: cannot find 'pthread_mutex_lock' in scope
29 | @discardableResult
30 | func synchronized<R>(closure: () throws -> R) rethrows -> R {
31 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
32 | defer {
33 | pthread_mutex_unlock(&mutex)
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:33:13: error: cannot find 'pthread_mutex_unlock' in scope
31 | pthread_mutex_lock(&mutex)
32 | defer {
33 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
34 | }
35 | return try closure()
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:40:9: error: cannot find 'pthread_mutex_destroy' in scope
38 | deinit {
39 | // free the mutex resource
40 | pthread_mutex_destroy(&mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
41 | }
42 | }
[124/157] Compiling Antlr4 ANTLRError.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:65:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
63 |
64 |
65 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
66 | var hash: Int = 23
67 | hash = hash * 31 + a
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
481 | return MurmurHash.finish(hash, intervals.count * 2)
482 | }
483 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:329:13: warning: variable 'myIntervals' was never mutated; consider changing to 'let' constant
327 | }
328 |
329 | var myIntervals = self.intervals
| `- warning: variable 'myIntervals' was never mutated; consider changing to 'let' constant
330 | var theirIntervals = (other as! IntervalSet).intervals
331 | var intersection: IntervalSet? = nil
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:330:13: warning: variable 'theirIntervals' was never mutated; consider changing to 'let' constant
328 |
329 | var myIntervals = self.intervals
330 | var theirIntervals = (other as! IntervalSet).intervals
| `- warning: variable 'theirIntervals' was never mutated; consider changing to 'let' constant
331 | var intersection: IntervalSet? = nil
332 | let mySize = myIntervals.count
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:9: error: cannot find 'pthread_mutex_init' in scope
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:36: error: 'nil' requires a contextual type
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: 'nil' requires a contextual type
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:31:9: error: cannot find 'pthread_mutex_lock' in scope
29 | @discardableResult
30 | func synchronized<R>(closure: () throws -> R) rethrows -> R {
31 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
32 | defer {
33 | pthread_mutex_unlock(&mutex)
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:33:13: error: cannot find 'pthread_mutex_unlock' in scope
31 | pthread_mutex_lock(&mutex)
32 | defer {
33 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
34 | }
35 | return try closure()
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:40:9: error: cannot find 'pthread_mutex_destroy' in scope
38 | deinit {
39 | // free the mutex resource
40 | pthread_mutex_destroy(&mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
41 | }
42 | }
[125/157] Compiling Antlr4 ANTLRException.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:65:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
63 |
64 |
65 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
66 | var hash: Int = 23
67 | hash = hash * 31 + a
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
481 | return MurmurHash.finish(hash, intervals.count * 2)
482 | }
483 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:329:13: warning: variable 'myIntervals' was never mutated; consider changing to 'let' constant
327 | }
328 |
329 | var myIntervals = self.intervals
| `- warning: variable 'myIntervals' was never mutated; consider changing to 'let' constant
330 | var theirIntervals = (other as! IntervalSet).intervals
331 | var intersection: IntervalSet? = nil
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:330:13: warning: variable 'theirIntervals' was never mutated; consider changing to 'let' constant
328 |
329 | var myIntervals = self.intervals
330 | var theirIntervals = (other as! IntervalSet).intervals
| `- warning: variable 'theirIntervals' was never mutated; consider changing to 'let' constant
331 | var intersection: IntervalSet? = nil
332 | let mySize = myIntervals.count
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:9: error: cannot find 'pthread_mutex_init' in scope
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:36: error: 'nil' requires a contextual type
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: 'nil' requires a contextual type
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:31:9: error: cannot find 'pthread_mutex_lock' in scope
29 | @discardableResult
30 | func synchronized<R>(closure: () throws -> R) rethrows -> R {
31 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
32 | defer {
33 | pthread_mutex_unlock(&mutex)
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:33:13: error: cannot find 'pthread_mutex_unlock' in scope
31 | pthread_mutex_lock(&mutex)
32 | defer {
33 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
34 | }
35 | return try closure()
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:40:9: error: cannot find 'pthread_mutex_destroy' in scope
38 | deinit {
39 | // free the mutex resource
40 | pthread_mutex_destroy(&mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
41 | }
42 | }
[126/157] Compiling Antlr4 ArrayExtension.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:65:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
63 |
64 |
65 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
66 | var hash: Int = 23
67 | hash = hash * 31 + a
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
481 | return MurmurHash.finish(hash, intervals.count * 2)
482 | }
483 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:329:13: warning: variable 'myIntervals' was never mutated; consider changing to 'let' constant
327 | }
328 |
329 | var myIntervals = self.intervals
| `- warning: variable 'myIntervals' was never mutated; consider changing to 'let' constant
330 | var theirIntervals = (other as! IntervalSet).intervals
331 | var intersection: IntervalSet? = nil
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:330:13: warning: variable 'theirIntervals' was never mutated; consider changing to 'let' constant
328 |
329 | var myIntervals = self.intervals
330 | var theirIntervals = (other as! IntervalSet).intervals
| `- warning: variable 'theirIntervals' was never mutated; consider changing to 'let' constant
331 | var intersection: IntervalSet? = nil
332 | let mySize = myIntervals.count
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:9: error: cannot find 'pthread_mutex_init' in scope
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:36: error: 'nil' requires a contextual type
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: 'nil' requires a contextual type
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:31:9: error: cannot find 'pthread_mutex_lock' in scope
29 | @discardableResult
30 | func synchronized<R>(closure: () throws -> R) rethrows -> R {
31 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
32 | defer {
33 | pthread_mutex_unlock(&mutex)
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:33:13: error: cannot find 'pthread_mutex_unlock' in scope
31 | pthread_mutex_lock(&mutex)
32 | defer {
33 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
34 | }
35 | return try closure()
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:40:9: error: cannot find 'pthread_mutex_destroy' in scope
38 | deinit {
39 | // free the mutex resource
40 | pthread_mutex_destroy(&mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
41 | }
42 | }
[127/157] Compiling Antlr4 CharacterExtension.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:65:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
63 |
64 |
65 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
66 | var hash: Int = 23
67 | hash = hash * 31 + a
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
481 | return MurmurHash.finish(hash, intervals.count * 2)
482 | }
483 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:329:13: warning: variable 'myIntervals' was never mutated; consider changing to 'let' constant
327 | }
328 |
329 | var myIntervals = self.intervals
| `- warning: variable 'myIntervals' was never mutated; consider changing to 'let' constant
330 | var theirIntervals = (other as! IntervalSet).intervals
331 | var intersection: IntervalSet? = nil
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:330:13: warning: variable 'theirIntervals' was never mutated; consider changing to 'let' constant
328 |
329 | var myIntervals = self.intervals
330 | var theirIntervals = (other as! IntervalSet).intervals
| `- warning: variable 'theirIntervals' was never mutated; consider changing to 'let' constant
331 | var intersection: IntervalSet? = nil
332 | let mySize = myIntervals.count
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:9: error: cannot find 'pthread_mutex_init' in scope
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:36: error: 'nil' requires a contextual type
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: 'nil' requires a contextual type
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:31:9: error: cannot find 'pthread_mutex_lock' in scope
29 | @discardableResult
30 | func synchronized<R>(closure: () throws -> R) rethrows -> R {
31 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
32 | defer {
33 | pthread_mutex_unlock(&mutex)
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:33:13: error: cannot find 'pthread_mutex_unlock' in scope
31 | pthread_mutex_lock(&mutex)
32 | defer {
33 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
34 | }
35 | return try closure()
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:40:9: error: cannot find 'pthread_mutex_destroy' in scope
38 | deinit {
39 | // free the mutex resource
40 | pthread_mutex_destroy(&mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
41 | }
42 | }
[128/157] Compiling Antlr4 IntStreamExtension.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:65:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
63 |
64 |
65 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
66 | var hash: Int = 23
67 | hash = hash * 31 + a
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
481 | return MurmurHash.finish(hash, intervals.count * 2)
482 | }
483 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:329:13: warning: variable 'myIntervals' was never mutated; consider changing to 'let' constant
327 | }
328 |
329 | var myIntervals = self.intervals
| `- warning: variable 'myIntervals' was never mutated; consider changing to 'let' constant
330 | var theirIntervals = (other as! IntervalSet).intervals
331 | var intersection: IntervalSet? = nil
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:330:13: warning: variable 'theirIntervals' was never mutated; consider changing to 'let' constant
328 |
329 | var myIntervals = self.intervals
330 | var theirIntervals = (other as! IntervalSet).intervals
| `- warning: variable 'theirIntervals' was never mutated; consider changing to 'let' constant
331 | var intersection: IntervalSet? = nil
332 | let mySize = myIntervals.count
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:9: error: cannot find 'pthread_mutex_init' in scope
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:36: error: 'nil' requires a contextual type
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: 'nil' requires a contextual type
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:31:9: error: cannot find 'pthread_mutex_lock' in scope
29 | @discardableResult
30 | func synchronized<R>(closure: () throws -> R) rethrows -> R {
31 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
32 | defer {
33 | pthread_mutex_unlock(&mutex)
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:33:13: error: cannot find 'pthread_mutex_unlock' in scope
31 | pthread_mutex_lock(&mutex)
32 | defer {
33 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
34 | }
35 | return try closure()
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:40:9: error: cannot find 'pthread_mutex_destroy' in scope
38 | deinit {
39 | // free the mutex resource
40 | pthread_mutex_destroy(&mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
41 | }
42 | }
[129/157] Compiling Antlr4 StringExtension.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:65:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
63 |
64 |
65 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
66 | var hash: Int = 23
67 | hash = hash * 31 + a
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
481 | return MurmurHash.finish(hash, intervals.count * 2)
482 | }
483 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:329:13: warning: variable 'myIntervals' was never mutated; consider changing to 'let' constant
327 | }
328 |
329 | var myIntervals = self.intervals
| `- warning: variable 'myIntervals' was never mutated; consider changing to 'let' constant
330 | var theirIntervals = (other as! IntervalSet).intervals
331 | var intersection: IntervalSet? = nil
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:330:13: warning: variable 'theirIntervals' was never mutated; consider changing to 'let' constant
328 |
329 | var myIntervals = self.intervals
330 | var theirIntervals = (other as! IntervalSet).intervals
| `- warning: variable 'theirIntervals' was never mutated; consider changing to 'let' constant
331 | var intersection: IntervalSet? = nil
332 | let mySize = myIntervals.count
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:9: error: cannot find 'pthread_mutex_init' in scope
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:36: error: 'nil' requires a contextual type
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: 'nil' requires a contextual type
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:31:9: error: cannot find 'pthread_mutex_lock' in scope
29 | @discardableResult
30 | func synchronized<R>(closure: () throws -> R) rethrows -> R {
31 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
32 | defer {
33 | pthread_mutex_unlock(&mutex)
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:33:13: error: cannot find 'pthread_mutex_unlock' in scope
31 | pthread_mutex_lock(&mutex)
32 | defer {
33 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
34 | }
35 | return try closure()
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:40:9: error: cannot find 'pthread_mutex_destroy' in scope
38 | deinit {
39 | // free the mutex resource
40 | pthread_mutex_destroy(&mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
41 | }
42 | }
[130/157] Compiling Antlr4 TokenExtension.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:65:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
63 |
64 |
65 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
66 | var hash: Int = 23
67 | hash = hash * 31 + a
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
481 | return MurmurHash.finish(hash, intervals.count * 2)
482 | }
483 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:329:13: warning: variable 'myIntervals' was never mutated; consider changing to 'let' constant
327 | }
328 |
329 | var myIntervals = self.intervals
| `- warning: variable 'myIntervals' was never mutated; consider changing to 'let' constant
330 | var theirIntervals = (other as! IntervalSet).intervals
331 | var intersection: IntervalSet? = nil
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:330:13: warning: variable 'theirIntervals' was never mutated; consider changing to 'let' constant
328 |
329 | var myIntervals = self.intervals
330 | var theirIntervals = (other as! IntervalSet).intervals
| `- warning: variable 'theirIntervals' was never mutated; consider changing to 'let' constant
331 | var intersection: IntervalSet? = nil
332 | let mySize = myIntervals.count
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:9: error: cannot find 'pthread_mutex_init' in scope
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:36: error: 'nil' requires a contextual type
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: 'nil' requires a contextual type
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:31:9: error: cannot find 'pthread_mutex_lock' in scope
29 | @discardableResult
30 | func synchronized<R>(closure: () throws -> R) rethrows -> R {
31 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
32 | defer {
33 | pthread_mutex_unlock(&mutex)
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:33:13: error: cannot find 'pthread_mutex_unlock' in scope
31 | pthread_mutex_lock(&mutex)
32 | defer {
33 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
34 | }
35 | return try closure()
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:40:9: error: cannot find 'pthread_mutex_destroy' in scope
38 | deinit {
39 | // free the mutex resource
40 | pthread_mutex_destroy(&mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
41 | }
42 | }
[131/157] Compiling Antlr4 UUIDExtension.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:65:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
63 |
64 |
65 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
66 | var hash: Int = 23
67 | hash = hash * 31 + a
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
481 | return MurmurHash.finish(hash, intervals.count * 2)
482 | }
483 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:329:13: warning: variable 'myIntervals' was never mutated; consider changing to 'let' constant
327 | }
328 |
329 | var myIntervals = self.intervals
| `- warning: variable 'myIntervals' was never mutated; consider changing to 'let' constant
330 | var theirIntervals = (other as! IntervalSet).intervals
331 | var intersection: IntervalSet? = nil
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:330:13: warning: variable 'theirIntervals' was never mutated; consider changing to 'let' constant
328 |
329 | var myIntervals = self.intervals
330 | var theirIntervals = (other as! IntervalSet).intervals
| `- warning: variable 'theirIntervals' was never mutated; consider changing to 'let' constant
331 | var intersection: IntervalSet? = nil
332 | let mySize = myIntervals.count
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:9: error: cannot find 'pthread_mutex_init' in scope
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:36: error: 'nil' requires a contextual type
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: 'nil' requires a contextual type
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:31:9: error: cannot find 'pthread_mutex_lock' in scope
29 | @discardableResult
30 | func synchronized<R>(closure: () throws -> R) rethrows -> R {
31 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
32 | defer {
33 | pthread_mutex_unlock(&mutex)
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:33:13: error: cannot find 'pthread_mutex_unlock' in scope
31 | pthread_mutex_lock(&mutex)
32 | defer {
33 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
34 | }
35 | return try closure()
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:40:9: error: cannot find 'pthread_mutex_destroy' in scope
38 | deinit {
39 | // free the mutex resource
40 | pthread_mutex_destroy(&mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
41 | }
42 | }
[132/157] Compiling Antlr4 CommonUtil.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:65:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
63 |
64 |
65 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
66 | var hash: Int = 23
67 | hash = hash * 31 + a
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
481 | return MurmurHash.finish(hash, intervals.count * 2)
482 | }
483 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:329:13: warning: variable 'myIntervals' was never mutated; consider changing to 'let' constant
327 | }
328 |
329 | var myIntervals = self.intervals
| `- warning: variable 'myIntervals' was never mutated; consider changing to 'let' constant
330 | var theirIntervals = (other as! IntervalSet).intervals
331 | var intersection: IntervalSet? = nil
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:330:13: warning: variable 'theirIntervals' was never mutated; consider changing to 'let' constant
328 |
329 | var myIntervals = self.intervals
330 | var theirIntervals = (other as! IntervalSet).intervals
| `- warning: variable 'theirIntervals' was never mutated; consider changing to 'let' constant
331 | var intersection: IntervalSet? = nil
332 | let mySize = myIntervals.count
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:9: error: cannot find 'pthread_mutex_init' in scope
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:36: error: 'nil' requires a contextual type
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: 'nil' requires a contextual type
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:31:9: error: cannot find 'pthread_mutex_lock' in scope
29 | @discardableResult
30 | func synchronized<R>(closure: () throws -> R) rethrows -> R {
31 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
32 | defer {
33 | pthread_mutex_unlock(&mutex)
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:33:13: error: cannot find 'pthread_mutex_unlock' in scope
31 | pthread_mutex_lock(&mutex)
32 | defer {
33 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
34 | }
35 | return try closure()
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:40:9: error: cannot find 'pthread_mutex_destroy' in scope
38 | deinit {
39 | // free the mutex resource
40 | pthread_mutex_destroy(&mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
41 | }
42 | }
[133/157] Compiling Antlr4 Mutex.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:65:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
63 |
64 |
65 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
66 | var hash: Int = 23
67 | hash = hash * 31 + a
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
481 | return MurmurHash.finish(hash, intervals.count * 2)
482 | }
483 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:329:13: warning: variable 'myIntervals' was never mutated; consider changing to 'let' constant
327 | }
328 |
329 | var myIntervals = self.intervals
| `- warning: variable 'myIntervals' was never mutated; consider changing to 'let' constant
330 | var theirIntervals = (other as! IntervalSet).intervals
331 | var intersection: IntervalSet? = nil
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:330:13: warning: variable 'theirIntervals' was never mutated; consider changing to 'let' constant
328 |
329 | var myIntervals = self.intervals
330 | var theirIntervals = (other as! IntervalSet).intervals
| `- warning: variable 'theirIntervals' was never mutated; consider changing to 'let' constant
331 | var intersection: IntervalSet? = nil
332 | let mySize = myIntervals.count
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:9: error: cannot find 'pthread_mutex_init' in scope
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:36: error: 'nil' requires a contextual type
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: 'nil' requires a contextual type
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:31:9: error: cannot find 'pthread_mutex_lock' in scope
29 | @discardableResult
30 | func synchronized<R>(closure: () throws -> R) rethrows -> R {
31 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
32 | defer {
33 | pthread_mutex_unlock(&mutex)
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:33:13: error: cannot find 'pthread_mutex_unlock' in scope
31 | pthread_mutex_lock(&mutex)
32 | defer {
33 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
34 | }
35 | return try closure()
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:40:9: error: cannot find 'pthread_mutex_destroy' in scope
38 | deinit {
39 | // free the mutex resource
40 | pthread_mutex_destroy(&mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
41 | }
42 | }
[134/157] Compiling Antlr4 Stack.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:65:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
63 |
64 |
65 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
66 | var hash: Int = 23
67 | hash = hash * 31 + a
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
481 | return MurmurHash.finish(hash, intervals.count * 2)
482 | }
483 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:329:13: warning: variable 'myIntervals' was never mutated; consider changing to 'let' constant
327 | }
328 |
329 | var myIntervals = self.intervals
| `- warning: variable 'myIntervals' was never mutated; consider changing to 'let' constant
330 | var theirIntervals = (other as! IntervalSet).intervals
331 | var intersection: IntervalSet? = nil
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:330:13: warning: variable 'theirIntervals' was never mutated; consider changing to 'let' constant
328 |
329 | var myIntervals = self.intervals
330 | var theirIntervals = (other as! IntervalSet).intervals
| `- warning: variable 'theirIntervals' was never mutated; consider changing to 'let' constant
331 | var intersection: IntervalSet? = nil
332 | let mySize = myIntervals.count
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:9: error: cannot find 'pthread_mutex_init' in scope
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:36: error: 'nil' requires a contextual type
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: 'nil' requires a contextual type
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:31:9: error: cannot find 'pthread_mutex_lock' in scope
29 | @discardableResult
30 | func synchronized<R>(closure: () throws -> R) rethrows -> R {
31 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
32 | defer {
33 | pthread_mutex_unlock(&mutex)
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:33:13: error: cannot find 'pthread_mutex_unlock' in scope
31 | pthread_mutex_lock(&mutex)
32 | defer {
33 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
34 | }
35 | return try closure()
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:40:9: error: cannot find 'pthread_mutex_destroy' in scope
38 | deinit {
39 | // free the mutex resource
40 | pthread_mutex_destroy(&mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
41 | }
42 | }
[135/157] Compiling Antlr4 AbstractParseTreeVisitor.swift
/host/spi-builder-workspace/Sources/Antlr4/misc/Interval.swift:65:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
63 |
64 |
65 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Interval' to 'Hashable' by implementing 'hash(into:)' instead
66 | var hash: Int = 23
67 | hash = hash * 31 + a
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:483:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
481 | return MurmurHash.finish(hash, intervals.count * 2)
482 | }
483 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'IntervalSet' to 'Hashable' by implementing 'hash(into:)' instead
484 | var hash = MurmurHash.initialize()
485 | for I: Interval in intervals {
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:329:13: warning: variable 'myIntervals' was never mutated; consider changing to 'let' constant
327 | }
328 |
329 | var myIntervals = self.intervals
| `- warning: variable 'myIntervals' was never mutated; consider changing to 'let' constant
330 | var theirIntervals = (other as! IntervalSet).intervals
331 | var intersection: IntervalSet? = nil
/host/spi-builder-workspace/Sources/Antlr4/misc/IntervalSet.swift:330:13: warning: variable 'theirIntervals' was never mutated; consider changing to 'let' constant
328 |
329 | var myIntervals = self.intervals
330 | var theirIntervals = (other as! IntervalSet).intervals
| `- warning: variable 'theirIntervals' was never mutated; consider changing to 'let' constant
331 | var intersection: IntervalSet? = nil
332 | let mySize = myIntervals.count
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:9: error: cannot find 'pthread_mutex_init' in scope
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:19:36: error: 'nil' requires a contextual type
17 | ///
18 | init() {
19 | pthread_mutex_init(&mutex, nil)
| `- error: 'nil' requires a contextual type
20 | }
21 |
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:31:9: error: cannot find 'pthread_mutex_lock' in scope
29 | @discardableResult
30 | func synchronized<R>(closure: () throws -> R) rethrows -> R {
31 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
32 | defer {
33 | pthread_mutex_unlock(&mutex)
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:33:13: error: cannot find 'pthread_mutex_unlock' in scope
31 | pthread_mutex_lock(&mutex)
32 | defer {
33 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
34 | }
35 | return try closure()
/host/spi-builder-workspace/Sources/Antlr4/misc/utils/Mutex.swift:40:9: error: cannot find 'pthread_mutex_destroy' in scope
38 | deinit {
39 | // free the mutex resource
40 | pthread_mutex_destroy(&mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
41 | }
42 | }
[136/157] Compiling Antlr4 ErrorNode.swift
[137/157] Compiling Antlr4 ParseTree.swift
[138/157] Compiling Antlr4 ParseTreeListener.swift
[139/157] Compiling Antlr4 ParseTreeVisitor.swift
[140/157] Compiling Antlr4 ParseTreeWalker.swift
[141/157] Compiling Antlr4 RuleNode.swift
[142/157] Compiling Antlr4 SyntaxTree.swift
[143/157] Compiling Antlr4 TerminalNode.swift
[144/157] Compiling Antlr4 TerminalNodeImpl.swift
[145/157] Compiling Antlr4 Tree.swift
[146/157] Compiling Antlr4 Trees.swift
[147/157] Compiling Antlr4 Chunk.swift
[148/157] Compiling Antlr4 ParseTreeMatch.swift
[149/157] Compiling Antlr4 ParseTreePattern.swift
[150/157] Compiling Antlr4 ParseTreePatternMatcher.swift
[151/157] Compiling Antlr4 RuleTagToken.swift
[152/157] Compiling Antlr4 TagChunk.swift
[153/157] Compiling Antlr4 TextChunk.swift
[154/157] Compiling Antlr4 TokenTagToken.swift
BUILD FAILURE 6.1 wasm