The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Antlr4, reference dev (7d5770), with Swift 6.3 for Wasm on 14 Apr 2026 21:37:14 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/antlr/antlr4.git
Reference: dev
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/antlr/antlr4
 * branch            dev        -> FETCH_HEAD
 * [new branch]      dev        -> origin/dev
HEAD is now at 7d57703 - Typescript runtime: adding .js to to imports in d.ts files (#4826)
Cloned https://github.com/antlr/antlr4.git
Revision (git rev-parse @):
7d5770395bb7b02eb56e7c62662cb1d7c08f42a3
SUCCESS checkout https://github.com/antlr/antlr4.git at dev
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/antlr/antlr4.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/runtime/Swift/Tests/Antlr4Tests/runtime/Swift/Tests/VisitorCalc.g4': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/runtime/Swift/Tests/Antlr4Tests/runtime/Swift/Tests/LexerA.g4': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/runtime/Swift/Tests/Antlr4Tests/runtime/Swift/Tests/LexerB.g4': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/runtime/Swift/Tests/Antlr4Tests/runtime/Swift/Tests/Threading.g4': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/runtime/Swift/Tests/Antlr4Tests/runtime/Swift/Tests/VisitorBasic.g4': File not found.
Building for debugging...
[0/7] Write sources
[1/7] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/143] Emitting module Antlr4
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[4/162] Compiling Antlr4 InterpreterDataReader.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[5/162] Compiling Antlr4 Interval.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[6/162] Compiling Antlr4 IntervalSet.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[7/162] Compiling Antlr4 MultiMap.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[8/162] Compiling Antlr4 MurmurHash.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[9/162] Compiling Antlr4 Utils.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[10/162] Compiling Antlr4 ANTLRError.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[11/162] Compiling Antlr4 ANTLRException.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[12/162] Compiling Antlr4 ArrayExtension.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[13/162] Compiling Antlr4 CharacterExtension.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[14/162] Compiling Antlr4 IntStreamExtension.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[15/162] Compiling Antlr4 StringExtension.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[16/162] Compiling Antlr4 TokenExtension.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[17/162] Compiling Antlr4 UUIDExtension.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[18/162] Compiling Antlr4 CommonUtil.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[19/162] Compiling Antlr4 Mutex.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[20/162] Compiling Antlr4 Stack.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[21/162] Compiling Antlr4 AbstractParseTreeVisitor.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[22/162] Compiling Antlr4 ErrorNode.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[23/162] Compiling Antlr4 RuleStartState.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[24/162] Compiling Antlr4 RuleStopState.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[25/162] Compiling Antlr4 RuleTransition.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[26/162] Compiling Antlr4 SemanticContext.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[27/162] Compiling Antlr4 SetTransition.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[28/162] Compiling Antlr4 SingletonPredictionContext.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[29/162] Compiling Antlr4 StarBlockStartState.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[30/162] Compiling Antlr4 StarLoopEntryState.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[31/162] Compiling Antlr4 StarLoopbackState.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[32/162] Compiling Antlr4 TokensStartState.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[33/162] Compiling Antlr4 Transition.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[34/162] Compiling Antlr4 WildcardTransition.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[35/162] Compiling Antlr4 DFA.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[36/162] Compiling Antlr4 DFASerializer.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[37/162] Compiling Antlr4 DFAState.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[38/162] Compiling Antlr4 LexerDFASerializer.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[39/162] Compiling Antlr4 BitSet.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[40/162] Compiling Antlr4 DoubleKeyMap.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[41/162] Compiling Antlr4 IntSet.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[42/162] Compiling Antlr4 DecisionInfo.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/atn/EpsilonTransition.swift:12:33: warning: function call causes an infinite recursion
10 |     private let outermostPrecedenceReturnInside: Int
11 |
12 |     public convenience override init(_ target: ATNState) {
   |                                 `- warning: function call causes an infinite recursion
13 |         self.init(target, -1)
14 |     }
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[43/162] Compiling Antlr4 DecisionState.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/atn/EpsilonTransition.swift:12:33: warning: function call causes an infinite recursion
10 |     private let outermostPrecedenceReturnInside: Int
11 |
12 |     public convenience override init(_ target: ATNState) {
   |                                 `- warning: function call causes an infinite recursion
13 |         self.init(target, -1)
14 |     }
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[44/162] Compiling Antlr4 DefaultATNConfig.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/atn/EpsilonTransition.swift:12:33: warning: function call causes an infinite recursion
10 |     private let outermostPrecedenceReturnInside: Int
11 |
12 |     public convenience override init(_ target: ATNState) {
   |                                 `- warning: function call causes an infinite recursion
13 |         self.init(target, -1)
14 |     }
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[45/162] Compiling Antlr4 EmptyPredictionContext.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/atn/EpsilonTransition.swift:12:33: warning: function call causes an infinite recursion
10 |     private let outermostPrecedenceReturnInside: Int
11 |
12 |     public convenience override init(_ target: ATNState) {
   |                                 `- warning: function call causes an infinite recursion
13 |         self.init(target, -1)
14 |     }
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[46/162] Compiling Antlr4 EpsilonTransition.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/atn/EpsilonTransition.swift:12:33: warning: function call causes an infinite recursion
10 |     private let outermostPrecedenceReturnInside: Int
11 |
12 |     public convenience override init(_ target: ATNState) {
   |                                 `- warning: function call causes an infinite recursion
13 |         self.init(target, -1)
14 |     }
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[47/162] Compiling Antlr4 ErrorInfo.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/atn/EpsilonTransition.swift:12:33: warning: function call causes an infinite recursion
10 |     private let outermostPrecedenceReturnInside: Int
11 |
12 |     public convenience override init(_ target: ATNState) {
   |                                 `- warning: function call causes an infinite recursion
13 |         self.init(target, -1)
14 |     }
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[48/162] Compiling Antlr4 LL1Analyzer.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/atn/EpsilonTransition.swift:12:33: warning: function call causes an infinite recursion
10 |     private let outermostPrecedenceReturnInside: Int
11 |
12 |     public convenience override init(_ target: ATNState) {
   |                                 `- warning: function call causes an infinite recursion
13 |         self.init(target, -1)
14 |     }
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[49/162] Compiling Antlr4 LexerATNConfig.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/atn/EpsilonTransition.swift:12:33: warning: function call causes an infinite recursion
10 |     private let outermostPrecedenceReturnInside: Int
11 |
12 |     public convenience override init(_ target: ATNState) {
   |                                 `- warning: function call causes an infinite recursion
13 |         self.init(target, -1)
14 |     }
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[50/162] Compiling Antlr4 LexerATNSimulator.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/atn/EpsilonTransition.swift:12:33: warning: function call causes an infinite recursion
10 |     private let outermostPrecedenceReturnInside: Int
11 |
12 |     public convenience override init(_ target: ATNState) {
   |                                 `- warning: function call causes an infinite recursion
13 |         self.init(target, -1)
14 |     }
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[51/162] Compiling Antlr4 LexerAction.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/atn/EpsilonTransition.swift:12:33: warning: function call causes an infinite recursion
10 |     private let outermostPrecedenceReturnInside: Int
11 |
12 |     public convenience override init(_ target: ATNState) {
   |                                 `- warning: function call causes an infinite recursion
13 |         self.init(target, -1)
14 |     }
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[52/162] Compiling Antlr4 LexerActionExecutor.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/atn/EpsilonTransition.swift:12:33: warning: function call causes an infinite recursion
10 |     private let outermostPrecedenceReturnInside: Int
11 |
12 |     public convenience override init(_ target: ATNState) {
   |                                 `- warning: function call causes an infinite recursion
13 |         self.init(target, -1)
14 |     }
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[53/162] Compiling Antlr4 LexerActionType.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/atn/EpsilonTransition.swift:12:33: warning: function call causes an infinite recursion
10 |     private let outermostPrecedenceReturnInside: Int
11 |
12 |     public convenience override init(_ target: ATNState) {
   |                                 `- warning: function call causes an infinite recursion
13 |         self.init(target, -1)
14 |     }
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[54/162] Compiling Antlr4 LexerChannelAction.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/atn/EpsilonTransition.swift:12:33: warning: function call causes an infinite recursion
10 |     private let outermostPrecedenceReturnInside: Int
11 |
12 |     public convenience override init(_ target: ATNState) {
   |                                 `- warning: function call causes an infinite recursion
13 |         self.init(target, -1)
14 |     }
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[55/162] Compiling Antlr4 LexerCustomAction.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/atn/EpsilonTransition.swift:12:33: warning: function call causes an infinite recursion
10 |     private let outermostPrecedenceReturnInside: Int
11 |
12 |     public convenience override init(_ target: ATNState) {
   |                                 `- warning: function call causes an infinite recursion
13 |         self.init(target, -1)
14 |     }
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[56/162] Compiling Antlr4 LexerIndexedCustomAction.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/atn/EpsilonTransition.swift:12:33: warning: function call causes an infinite recursion
10 |     private let outermostPrecedenceReturnInside: Int
11 |
12 |     public convenience override init(_ target: ATNState) {
   |                                 `- warning: function call causes an infinite recursion
13 |         self.init(target, -1)
14 |     }
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[57/162] Compiling Antlr4 LexerModeAction.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/atn/EpsilonTransition.swift:12:33: warning: function call causes an infinite recursion
10 |     private let outermostPrecedenceReturnInside: Int
11 |
12 |     public convenience override init(_ target: ATNState) {
   |                                 `- warning: function call causes an infinite recursion
13 |         self.init(target, -1)
14 |     }
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[58/162] Compiling Antlr4 LexerMoreAction.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/atn/EpsilonTransition.swift:12:33: warning: function call causes an infinite recursion
10 |     private let outermostPrecedenceReturnInside: Int
11 |
12 |     public convenience override init(_ target: ATNState) {
   |                                 `- warning: function call causes an infinite recursion
13 |         self.init(target, -1)
14 |     }
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[59/162] Compiling Antlr4 LexerPopModeAction.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/atn/EpsilonTransition.swift:12:33: warning: function call causes an infinite recursion
10 |     private let outermostPrecedenceReturnInside: Int
11 |
12 |     public convenience override init(_ target: ATNState) {
   |                                 `- warning: function call causes an infinite recursion
13 |         self.init(target, -1)
14 |     }
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[60/162] Compiling Antlr4 LexerPushModeAction.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/atn/EpsilonTransition.swift:12:33: warning: function call causes an infinite recursion
10 |     private let outermostPrecedenceReturnInside: Int
11 |
12 |     public convenience override init(_ target: ATNState) {
   |                                 `- warning: function call causes an infinite recursion
13 |         self.init(target, -1)
14 |     }
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[61/162] Compiling Antlr4 ParseTree.swift
[62/162] Compiling Antlr4 ParseTreeListener.swift
[63/162] Compiling Antlr4 ParseTreeProperty.swift
[64/162] Compiling Antlr4 ParseTreeVisitor.swift
[65/162] Compiling Antlr4 ParseTreeWalker.swift
[66/162] Compiling Antlr4 RuleNode.swift
[67/162] Compiling Antlr4 SyntaxTree.swift
[68/162] Compiling Antlr4 TerminalNode.swift
[69/162] Compiling Antlr4 TerminalNodeImpl.swift
[70/162] Compiling Antlr4 Tree.swift
[71/162] Compiling Antlr4 Trees.swift
[72/162] Compiling Antlr4 Chunk.swift
[73/162] Compiling Antlr4 ParseTreeMatch.swift
[74/162] Compiling Antlr4 ParseTreePattern.swift
[75/162] Compiling Antlr4 ParseTreePatternMatcher.swift
[76/162] Compiling Antlr4 RuleTagToken.swift
[77/162] Compiling Antlr4 TagChunk.swift
[78/162] Compiling Antlr4 TextChunk.swift
[79/162] Compiling Antlr4 TokenTagToken.swift
[80/162] Compiling Antlr4 ATN.swift
[81/162] Compiling Antlr4 ATNConfig.swift
[82/162] Compiling Antlr4 ATNConfigSet.swift
[83/162] Compiling Antlr4 ATNDeserializationOptions.swift
[84/162] Compiling Antlr4 ATNDeserializer.swift
[85/162] Compiling Antlr4 ATNSimulator.swift
[86/162] Compiling Antlr4 ATNState.swift
[87/162] Compiling Antlr4 ATNType.swift
[88/162] Compiling Antlr4 AbstractPredicateTransition.swift
[89/162] Compiling Antlr4 ActionTransition.swift
[90/162] Compiling Antlr4 AmbiguityInfo.swift
[91/162] Compiling Antlr4 ArrayPredictionContext.swift
[92/162] Compiling Antlr4 AtomTransition.swift
[93/162] Compiling Antlr4 BasicBlockStartState.swift
[94/162] Compiling Antlr4 BasicState.swift
[95/162] Compiling Antlr4 BlockEndState.swift
[96/162] Compiling Antlr4 BlockStartState.swift
[97/162] Compiling Antlr4 ContextSensitivityInfo.swift
[98/162] Compiling Antlr4 DecisionEventInfo.swift
[99/162] Compiling Antlr4 ANTLRErrorListener.swift
[100/162] Compiling Antlr4 ANTLRErrorStrategy.swift
[101/162] Compiling Antlr4 ANTLRFileStream.swift
[102/162] Compiling Antlr4 ANTLRInputStream.swift
[103/162] Compiling Antlr4 BailErrorStrategy.swift
[104/162] Compiling Antlr4 BaseErrorListener.swift
[105/162] Compiling Antlr4 BufferedTokenStream.swift
[106/162] Compiling Antlr4 CharStream.swift
[107/162] Compiling Antlr4 CommonToken.swift
[108/162] Compiling Antlr4 CommonTokenFactory.swift
[109/162] Compiling Antlr4 CommonTokenStream.swift
[110/162] Compiling Antlr4 ConsoleErrorListener.swift
[111/162] Compiling Antlr4 DefaultErrorStrategy.swift
[112/162] Compiling Antlr4 DiagnosticErrorListener.swift
[113/162] Compiling Antlr4 FailedPredicateException.swift
[114/162] Compiling Antlr4 InputMismatchException.swift
[115/162] Compiling Antlr4 IntStream.swift
[116/162] Compiling Antlr4 InterpreterRuleContext.swift
[117/162] Compiling Antlr4 Lexer.swift
[118/162] Compiling Antlr4 LexerInterpreter.swift
[119/162] Compiling Antlr4 LexerNoViableAltException.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[120/162] Compiling Antlr4 ListTokenSource.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[121/162] Compiling Antlr4 NoViableAltException.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[122/162] Compiling Antlr4 Parser.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[123/162] Compiling Antlr4 ParserInterpreter.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[124/162] Compiling Antlr4 ParserRuleContext.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[125/162] Compiling Antlr4 ProxyErrorListener.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[126/162] Compiling Antlr4 RecognitionException.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[127/162] Compiling Antlr4 Recognizer.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[128/162] Compiling Antlr4 RuleContext.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[129/162] Compiling Antlr4 RuntimeMetaData.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[130/162] Compiling Antlr4 Token.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[131/162] Compiling Antlr4 TokenFactory.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[132/162] Compiling Antlr4 TokenSource.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[133/162] Compiling Antlr4 TokenStream.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[134/162] Compiling Antlr4 TokenStreamRewriter.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[135/162] Compiling Antlr4 UnbufferedCharStream.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[136/162] Compiling Antlr4 UnbufferedTokenStream.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[137/162] Compiling Antlr4 VocabularySingle.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[138/162] Compiling Antlr4 WritableToken.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[139/162] Compiling Antlr4 LexerSkipAction.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[140/162] Compiling Antlr4 LexerTypeAction.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[141/162] Compiling Antlr4 LookaheadEventInfo.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[142/162] Compiling Antlr4 LookupATNConfig.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[143/162] Compiling Antlr4 LookupDictionary.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[144/162] Compiling Antlr4 LoopEndState.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[145/162] Compiling Antlr4 NotSetTransition.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[146/162] Compiling Antlr4 ParseInfo.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[147/162] Compiling Antlr4 ParserATNSimulator.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[148/162] Compiling Antlr4 PlusBlockStartState.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[149/162] Compiling Antlr4 PlusLoopbackState.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[150/162] Compiling Antlr4 PrecedencePredicateTransition.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[151/162] Compiling Antlr4 PredicateEvalInfo.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[152/162] Compiling Antlr4 PredicateTransition.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[153/162] Compiling Antlr4 PredictionContext.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[154/162] Compiling Antlr4 PredictionContextCache.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[155/162] Compiling Antlr4 PredictionMode.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[156/162] Compiling Antlr4 ProfilingATNSimulator.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
[157/162] Compiling Antlr4 RangeTransition.swift
/host/spi-builder-workspace/runtime/Swift/Sources/Antlr4/misc/utils/Mutex.swift:12:29: error: cannot find 'DispatchSemaphore' in scope
10 |     /// The mutex instance.
11 |     ///
12 |     private let semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
13 |
14 |     ///
BUILD FAILURE 6.3 wasm