The Swift Package Index logo.Swift Package Index

Build Information

Failed to build HealthKitOnFHIR, reference main (56bb65), with Swift 6.2 for Wasm on 16 Sep 2026 13:12:24 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/StanfordBDHG/HealthKitOnFHIR.git
Reference: main
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/StanfordBDHG/HealthKitOnFHIR
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 56bb659 Fix the HealthKit codes of three quantity type mappings (#73)
Cloned https://github.com/StanfordBDHG/HealthKitOnFHIR.git
Revision (git rev-parse @):
56bb659e972f179e926234d0dcb727649a4266cf
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/StanfordBDHG/HealthKitOnFHIR.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/StanfordBDHG/HealthKitOnFHIR.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:ff44196b45f83e5a0a99a627b185f548850d9bc1242e3dee2178fb1570812fe8
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/StanfordSpezi/SpeziFoundation.git
Fetching https://github.com/StanfordBDHG/FHIRModelsExtensions.git
Fetching https://github.com/apple/FHIRModels.git
[1/3189] Fetching spezifoundation
[97/3501] Fetching spezifoundation, fhirmodelsextensions
[1238/14996] Fetching spezifoundation, fhirmodelsextensions, fhirmodels
Fetched https://github.com/StanfordSpezi/SpeziFoundation.git from cache (0.52s)
[1117/11807] Fetching fhirmodelsextensions, fhirmodels
[4222/17947] Fetching fhirmodelsextensions, fhirmodels, swift-algorithms
[17948/97864] Fetching fhirmodelsextensions, fhirmodels, swift-algorithms, swift-syntax
Fetched https://github.com/StanfordBDHG/FHIRModelsExtensions.git from cache (2.99s)
Fetched https://github.com/apple/swift-algorithms.git from cache (2.99s)
Fetched https://github.com/apple/FHIRModels.git from cache (2.99s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (3.01s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (3.89s)
Fetching https://github.com/apple/swift-numerics.git
[1/6636] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.56s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (0.82s)
Computing version for https://github.com/apple/FHIRModels.git
Computed https://github.com/apple/FHIRModels.git at 0.8.0 (0.17s)
Computing version for https://github.com/StanfordBDHG/FHIRModelsExtensions.git
Computed https://github.com/StanfordBDHG/FHIRModelsExtensions.git at 0.1.2 (0.24s)
Fetching https://github.com/antlr/antlr4.git
[1/173041] Fetching antlr4
Fetched https://github.com/antlr/antlr4.git from cache (3.45s)
Computing version for https://github.com/antlr/antlr4.git
Computed https://github.com/antlr/antlr4.git at 4.13.2 (3.63s)
Computing version for https://github.com/StanfordSpezi/SpeziFoundation.git
Computed https://github.com/StanfordSpezi/SpeziFoundation.git at 2.7.7 (0.25s)
Fetching https://github.com/StanfordBDHG/ThreadLocal.git
Fetching https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Fetching https://github.com/StanfordBDHG/zstd.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-log
[1/735] Fetching xctruntimeassertions
[141/8818] Fetching xctruntimeassertions, swift-log
[2434/10693] Fetching xctruntimeassertions, swift-log, swift-atomics
[2609/10876] Fetching xctruntimeassertions, swift-log, swift-atomics, threadlocal
[5417/74033] Fetching xctruntimeassertions, swift-log, swift-atomics, threadlocal, zstd
Fetched https://github.com/StanfordBDHG/XCTRuntimeAssertions.git from cache (0.56s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.56s)
[14582/71423] Fetching swift-log, threadlocal, zstd
Fetched https://github.com/StanfordBDHG/ThreadLocal.git from cache (1.95s)
Fetched https://github.com/apple/swift-log from cache (1.96s)
Fetched https://github.com/StanfordBDHG/zstd.git from cache (1.98s)
Computing version for https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Computed https://github.com/StanfordBDHG/XCTRuntimeAssertions.git at 2.2.0 (2.19s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.14s)
Computing version for https://github.com/StanfordBDHG/ThreadLocal.git
Computed https://github.com/StanfordBDHG/ThreadLocal.git at 0.1.3 (0.14s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.13s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.15.1 (0.16s)
Computing version for https://github.com/StanfordBDHG/zstd.git
Computed https://github.com/StanfordBDHG/zstd.git at 1.5.8-beta.1 (0.17s)
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.15.1
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 602.0.0
Creating working copy for https://github.com/apple/FHIRModels.git
Working copy of https://github.com/apple/FHIRModels.git resolved at 0.8.0
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Working copy of https://github.com/StanfordBDHG/XCTRuntimeAssertions.git resolved at 2.2.0
Creating working copy for https://github.com/StanfordBDHG/FHIRModelsExtensions.git
Working copy of https://github.com/StanfordBDHG/FHIRModelsExtensions.git resolved at 0.1.2
Creating working copy for https://github.com/StanfordBDHG/ThreadLocal.git
Working copy of https://github.com/StanfordBDHG/ThreadLocal.git resolved at 0.1.3
Creating working copy for https://github.com/StanfordBDHG/zstd.git
Working copy of https://github.com/StanfordBDHG/zstd.git resolved at 1.5.8-beta.1
Creating working copy for https://github.com/antlr/antlr4.git
Working copy of https://github.com/antlr/antlr4.git resolved at 4.13.2
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Creating working copy for https://github.com/StanfordSpezi/SpeziFoundation.git
Working copy of https://github.com/StanfordSpezi/SpeziFoundation.git resolved at 2.7.7
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.19s)
Building for debugging...
[0/30] Write sources
[1/30] Copying HKSampleMapping.json.license
[2/30] Copying Info.plist
[4/30] Write sources
[8/30] Copying HKSampleMapping.json
[8/30] Write sources
[11/30] Copying Info.plist
[12/30] Write sources
[12/30] Copying HKSampleMapping.json.license
[15/30] Copying HKSampleMapping.json
[15/30] Write sources
[23/30] Compiling _NumericsShims _NumericsShims.c
[24/30] Write swift-version-24593BA9C3E375BF.txt
[26/331] Compiling RealModule RealFunctions.swift
[27/332] Compiling RealModule Float16+Real.swift
[28/332] Compiling RealModule RelaxedArithmetic.swift
[29/332] Compiling RealModule Real.swift
[30/332] Compiling RealModule Float80+Real.swift
[31/332] Compiling Antlr4 ANTLRErrorListener.swift
[32/332] Compiling Antlr4 ANTLRErrorStrategy.swift
[33/332] Compiling Antlr4 ANTLRFileStream.swift
[34/332] Compiling Antlr4 ANTLRInputStream.swift
[35/332] Compiling Antlr4 BailErrorStrategy.swift
[36/332] Compiling Antlr4 BaseErrorListener.swift
[37/332] Emitting module RealModule
[38/333] Wrapping AST for RealModule for debugging
[40/358] Compiling Algorithms Split.swift
[41/358] Compiling Algorithms Stride.swift
[42/358] Compiling Algorithms Suffix.swift
[43/361] Compiling FMCore FHIRIntegerRepresentable.swift
[44/361] Compiling FMCore FHIRType.swift
[45/362] Compiling FMCore FHIRIntegerRepresentable.swift
[46/362] Compiling FMCore Scanner+FHIR.swift
[47/362] Compiling FMCore FHIRType.swift
[48/362] Compiling Algorithms Trim.swift
[49/362] Compiling Algorithms Unique.swift
[50/362] Compiling Algorithms Windows.swift
[51/363] Compiling Algorithms Joined.swift
[52/363] Compiling Algorithms Keyed.swift
[53/363] Compiling Algorithms MinMax.swift
[54/363] Compiling Antlr4 InterpreterDataReader.swift
[55/363] Compiling Antlr4 Interval.swift
[56/363] Compiling Antlr4 IntervalSet.swift
[57/363] Compiling Antlr4 MultiMap.swift
[58/363] Compiling Antlr4 MurmurHash.swift
[59/363] Compiling Antlr4 Utils.swift
[60/363] Compiling Antlr4 ANTLRError.swift
[61/363] Compiling Antlr4 ANTLRException.swift
[62/363] Compiling Antlr4 ArrayExtension.swift
[63/363] Compiling Antlr4 CharacterExtension.swift
[64/363] Compiling Antlr4 IntStreamExtension.swift
[65/363] Compiling Antlr4 StringExtension.swift
[66/363] Compiling Antlr4 TokenExtension.swift
[67/363] Compiling Antlr4 UUIDExtension.swift
[68/363] Compiling Antlr4 CommonUtil.swift
[69/363] Compiling Antlr4 Mutex.swift
[70/363] Compiling Antlr4 Stack.swift
[71/363] Compiling Antlr4 AbstractParseTreeVisitor.swift
[72/363] Compiling Antlr4 ErrorNode.swift
[73/382] Compiling Antlr4 LexerPushModeAction.swift
[74/382] Compiling Antlr4 RuleStartState.swift
[75/382] Compiling Antlr4 RuleStopState.swift
[76/382] Compiling Antlr4 RuleTransition.swift
[77/382] Compiling Antlr4 SemanticContext.swift
[78/382] Compiling Antlr4 SetTransition.swift
[79/382] Compiling Antlr4 SingletonPredictionContext.swift
[80/382] Compiling Antlr4 StarBlockStartState.swift
[81/382] Compiling Antlr4 StarLoopEntryState.swift
[82/382] Compiling Antlr4 StarLoopbackState.swift
[83/382] Compiling Antlr4 TokensStartState.swift
[84/382] Compiling Antlr4 Transition.swift
[85/382] Compiling Antlr4 WildcardTransition.swift
[86/382] Compiling Antlr4 DFA.swift
[87/382] Compiling Antlr4 DFASerializer.swift
[88/382] Compiling Antlr4 DFAState.swift
[89/382] Compiling Antlr4 LexerDFASerializer.swift
[90/382] Compiling Antlr4 BitSet.swift
[91/382] Compiling Antlr4 DoubleKeyMap.swift
[92/382] Compiling Antlr4 WritableToken.swift
[93/382] Compiling Antlr4 DecisionInfo.swift
[94/382] Compiling Antlr4 DecisionState.swift
[95/382] Compiling Antlr4 DefaultATNConfig.swift
[96/382] Compiling Antlr4 EmptyPredictionContext.swift
[97/382] Compiling Antlr4 EpsilonTransition.swift
[98/382] Compiling Antlr4 ErrorInfo.swift
[99/382] Compiling Antlr4 LL1Analyzer.swift
[100/382] Compiling Antlr4 LexerATNConfig.swift
[101/382] Compiling Antlr4 LexerATNSimulator.swift
[102/382] Compiling Antlr4 LexerAction.swift
[103/382] Compiling Antlr4 LexerActionExecutor.swift
[104/382] Compiling Antlr4 LexerActionType.swift
[105/382] Compiling Antlr4 LexerChannelAction.swift
[106/382] Compiling Antlr4 LexerCustomAction.swift
[107/382] Compiling Antlr4 LexerIndexedCustomAction.swift
[108/382] Compiling Antlr4 LexerModeAction.swift
[109/382] Compiling Antlr4 LexerMoreAction.swift
[110/382] Compiling Antlr4 LexerPopModeAction.swift
[111/382] Compiling FMCore ExpressibleAsNSDate.swift
[112/382] Emitting module FMCore
[113/382] Compiling Algorithms AdjacentPairs.swift
[114/382] Compiling Algorithms Chain.swift
[115/382] Compiling FMCore FHIRDateComponents.swift
[116/382] Compiling Algorithms Product.swift
[123/382] Compiling Antlr4 RecognitionException.swift
[124/382] Compiling Antlr4 Recognizer.swift
[125/382] Compiling Antlr4 RuleContext.swift
[126/382] Compiling Antlr4 RuntimeMetaData.swift
[127/382] Compiling Antlr4 Token.swift
[128/382] Compiling Antlr4 TokenFactory.swift
[129/382] Compiling Antlr4 TokenSource.swift
[130/382] Compiling Antlr4 TokenStream.swift
[131/382] Compiling Antlr4 TokenStreamRewriter.swift
[132/382] Compiling Antlr4 UnbufferedCharStream.swift
[133/382] Compiling Antlr4 UnbufferedTokenStream.swift
[134/382] Compiling Antlr4 VocabularySingle.swift
[135/382] Compiling Algorithms Compacted.swift
[136/382] Compiling Algorithms Cycle.swift
[137/382] Compiling Algorithms EitherSequence.swift
[138/382] Compiling Algorithms FirstNonNil.swift
[139/382] Compiling Algorithms FlattenCollection.swift
[140/382] Compiling Algorithms Grouped.swift
[141/382] Compiling Algorithms Indexed.swift
[142/382] Compiling Algorithms Intersperse.swift
[143/382] Compiling FMCore FHIRDateParserError.swift
[144/382] Compiling Antlr4 LexerSkipAction.swift
[145/382] Compiling Antlr4 LexerTypeAction.swift
[146/382] Compiling Antlr4 LookaheadEventInfo.swift
[147/382] Compiling Antlr4 LookupATNConfig.swift
[148/382] Compiling Antlr4 LookupDictionary.swift
[149/382] Compiling Antlr4 LoopEndState.swift
[150/382] Compiling Antlr4 NotSetTransition.swift
[151/382] Compiling Antlr4 ParseInfo.swift
[152/382] Compiling Antlr4 ParserATNSimulator.swift
[153/382] Compiling Antlr4 PlusBlockStartState.swift
[154/382] Compiling Antlr4 PlusLoopbackState.swift
[155/382] Compiling Antlr4 PrecedencePredicateTransition.swift
[156/382] Compiling Antlr4 PredicateEvalInfo.swift
[157/382] Compiling Antlr4 PredicateTransition.swift
[158/382] Compiling Antlr4 PredictionContext.swift
[159/382] Compiling Antlr4 PredictionContextCache.swift
[160/382] Compiling Antlr4 PredictionMode.swift
[161/382] Compiling Antlr4 ProfilingATNSimulator.swift
[162/382] Compiling Antlr4 RangeTransition.swift
[163/382] Compiling Antlr4 IntSet.swift
[164/382] Compiling Antlr4 ATN.swift
[165/382] Compiling Antlr4 ATNConfig.swift
[166/382] Compiling Antlr4 ATNConfigSet.swift
[167/382] Compiling Antlr4 ATNDeserializationOptions.swift
[168/382] Compiling Antlr4 ATNDeserializer.swift
[169/382] Compiling Antlr4 ATNSimulator.swift
[170/382] Compiling Antlr4 ATNState.swift
[171/382] Compiling Antlr4 ATNType.swift
[172/382] Compiling Antlr4 AbstractPredicateTransition.swift
[173/382] Compiling Antlr4 ActionTransition.swift
[174/382] Compiling Antlr4 AmbiguityInfo.swift
[175/382] Compiling Antlr4 ArrayPredictionContext.swift
[176/382] Compiling Antlr4 AtomTransition.swift
[177/382] Compiling Antlr4 BasicBlockStartState.swift
[178/382] Compiling Antlr4 BasicState.swift
[179/382] Compiling Antlr4 BlockEndState.swift
[180/382] Compiling Antlr4 BlockStartState.swift
[181/382] Compiling Antlr4 ContextSensitivityInfo.swift
[182/382] Compiling Antlr4 DecisionEventInfo.swift
[185/382] Compiling Algorithms Chunked.swift
[186/382] Compiling Algorithms Combinations.swift
[198/382] Compiling Algorithms RandomSample.swift
[199/382] Compiling Algorithms Reductions.swift
[200/382] Compiling Algorithms Rotate.swift
[201/382] Compiling Algorithms Partition.swift
[202/382] Compiling Algorithms Permutations.swift
[203/382] Emitting module Antlr4
[208/382] Compiling FMCore TimeZone+FHIR.swift
[216/559] Compiling ModelsR4 CodeSystemDefinitionUseCodes.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[217/559] Compiling ModelsR4 CodeSystemDetectedIssueSeverity.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[218/559] Compiling ModelsR4 CodeSystemDeviceDefinitionParameterGroup.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[219/559] Compiling ModelsR4 CodeSystemDeviceMetricCalibrationState.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[220/559] Compiling ModelsR4 CodeSystemDeviceMetricCalibrationType.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[221/559] Compiling ModelsR4 CodeSystemDeviceMetricCategory.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[222/559] Compiling ModelsR4 CodeSystemDeviceMetricColor.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[223/559] Compiling ModelsR4 CodeSystemDeviceMetricOperationalStatus.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[224/559] Compiling ModelsR4 CodeSystemDeviceNameType.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[225/559] Compiling ModelsR4 Claim.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[226/559] Compiling ModelsR4 ClaimResponse.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[227/559] Compiling ModelsR4 ClinicalImpression.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[228/559] Compiling ModelsR4 CodeSystem.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[229/559] Compiling ModelsR4 CodeSystemAbstractType.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[230/559] Compiling ModelsR4 CodeSystemAccountStatus.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[231/559] Compiling ModelsR4 CodeSystemActionCardinalityBehavior.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[232/559] Compiling ModelsR4 CodeSystemActionConditionKind.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[233/559] Compiling ModelsR4 CodeSystemActionGroupingBehavior.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[234/559] Compiling ModelsR4 CodeSystemActionParticipantType.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[235/571] Compiling FMCore Scanner+FHIR.swift
/host/spi-builder-workspace/.build/checkouts/FHIRModels/Sources/FMCore/Scanner+FHIR.swift:32:47: error: cannot convert value of type 'NSString?' to expected argument type 'String?'
30 | 		}
31 | 		var string: NSString?
32 | 		if scanCharacters(from: characterSet, into: &string), let string = string {
   |                                               |- error: cannot convert value of type 'NSString?' to expected argument type 'String?'
   |                                               `- note: arguments to generic parameter 'Wrapped' ('NSString' and 'String') are expected to be equal
33 | 			return String(string)
34 | 		}
[236/571] Compiling FMCore TimeZone+FHIR.swift
[237/578] Compiling Antlr4 ParseTree.swift
[238/578] Compiling Antlr4 ParseTreeListener.swift
[239/578] Compiling Antlr4 ParseTreeProperty.swift
[240/578] Compiling Antlr4 ParseTreeVisitor.swift
[241/578] Compiling Antlr4 ParseTreeWalker.swift
[242/578] Compiling Antlr4 RuleNode.swift
[243/578] Compiling Antlr4 SyntaxTree.swift
[244/578] Compiling Antlr4 TerminalNode.swift
[245/578] Compiling Antlr4 TerminalNodeImpl.swift
[246/578] Compiling Antlr4 Tree.swift
[247/578] Compiling Antlr4 Trees.swift
[248/578] Compiling Antlr4 Chunk.swift
[249/578] Compiling Antlr4 ParseTreeMatch.swift
[250/578] Compiling Antlr4 ParseTreePattern.swift
[251/578] Compiling Antlr4 ParseTreePatternMatcher.swift
[252/578] Compiling Antlr4 RuleTagToken.swift
[253/578] Compiling Antlr4 TagChunk.swift
[254/578] Compiling Antlr4 TextChunk.swift
[255/578] Compiling Antlr4 TokenTagToken.swift
[256/578] Emitting module FMCore
error: emit-module command failed with exit code 1 (use -v to see invocation)
[257/578] Emitting module Antlr4
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[258/578] Compiling ModelsR4 CodeSystemAdverseEventCausalityAssessment.swift
[259/578] Compiling ModelsR4 CodeSystemAdverseEventCausalityMethod.swift
[260/578] Compiling ModelsR4 CodeSystemAdverseEventOutcome.swift
[261/578] Compiling ModelsR4 CodeSystemAdverseEventSeriousness.swift
[262/578] Compiling ModelsR4 CodeSystemAdverseEventSeverity.swift
[263/578] Compiling ModelsR4 CodeSystemAggregationMode.swift
[264/578] Compiling ModelsR4 CodeSystemAllergyIntoleranceCategory.swift
[265/578] Compiling ModelsR4 CodeSystemAllergyIntoleranceCertainty.swift
[266/578] Compiling ModelsR4 CodeSystemAllergyIntoleranceClinicalStatusCodes.swift
[267/578] Compiling ModelsR4 CodeSystemAllergyIntoleranceCriticality.swift
[268/578] Compiling ModelsR4 CodeSystemAllergyIntoleranceSeverity.swift
[269/578] Compiling ModelsR4 CodeSystemAllergyIntoleranceSubstanceExposureRisk.swift
[270/578] Compiling ModelsR4 CodeSystemAllergyIntoleranceType.swift
[271/578] Compiling ModelsR4 CodeSystemAllergyIntoleranceVerificationStatusCodes.swift
[272/578] Compiling ModelsR4 CodeSystemAnimalSpecies.swift
[273/578] Compiling ModelsR4 CodeSystemAppointmentStatus.swift
[274/578] Compiling ModelsR4 CodeSystemAssertionDirectionType.swift
[275/578] Compiling ModelsR4 CodeSystemAssertionOperatorType.swift
[276/578] Compiling ModelsR4 CodeSystemAssertionResponseTypes.swift
[277/578] Compiling ModelsR4 CodeSystemAuditEventAction.swift
[278/578] Compiling FMCore ExpressibleAsNSDate.swift
[279/579] Compiling ModelsR4 CodeSystemCodeSearchSupport.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[280/579] Compiling ModelsR4 CodeSystemCodeSystemContentMode.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[281/579] Compiling ModelsR4 CodeSystemCodeSystemHierarchyMeaning.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[282/579] Compiling ModelsR4 CodeSystemContractSubtypeCodes.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[283/579] Compiling ModelsR4 CodeSystemContractTermSubtypeCodes.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[284/579] Compiling ModelsR4 CodeSystemContractTermTypeCodes.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[285/579] Compiling ModelsR4 CodeSystemContractTypeCodes.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[286/579] Compiling ModelsR4 CodeSystemContributorType.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[287/579] Compiling ModelsR4 CodeSystemCopyNumberEvent.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[288/579] Compiling ModelsR4 CodeSystemCoverageClassCodes.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[289/579] Compiling ModelsR4 CodeSystemCoverageCopayTypeCodes.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[290/579] Compiling ModelsR4 CodeSystemCoverageEligibilityResponseAuthSupportCodes.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[291/579] Compiling ModelsR4 CodeSystemCoverageSelfPayCodes.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[292/579] Compiling ModelsR4 CodeSystemDataAbsentReason.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[293/579] Compiling ModelsR4 CodeSystemDataType.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[294/579] Compiling ModelsR4 CodeSystemDaysOfWeek.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[295/579] Compiling ModelsR4 CodeSystemDefinitionResourceType.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[296/579] Compiling ModelsR4 CodeSystemDefinitionStatus.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[297/579] Compiling ModelsR4 CodeSystemDefinitionTopic.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[298/579] Compiling ModelsR4 BiologicallyDerivedProduct.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[299/579] Compiling ModelsR4 BodyStructure.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[300/579] Compiling ModelsR4 Bundle.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[301/579] Compiling ModelsR4 Canonical.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[302/579] Compiling ModelsR4 CapabilityStatement.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[303/579] Compiling ModelsR4 CarePlan.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[304/579] Compiling ModelsR4 CareTeam.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[305/579] Compiling ModelsR4 CatalogEntry.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[306/579] Compiling ModelsR4 ChargeItem.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[307/579] Compiling ModelsR4 ChargeItemDefinition.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[308/579] Compiling ModelsR4 CodeSystemCommonTags.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[309/579] Compiling ModelsR4 CodeSystemCommunicationCategory.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[310/579] Compiling ModelsR4 CodeSystemCommunicationNotDoneReason.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[311/579] Compiling ModelsR4 CodeSystemCommunicationTopic.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[312/579] Compiling ModelsR4 CodeSystemCompartmentType.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[313/579] Compiling ModelsR4 CodeSystemCompositeMeasureScoring.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[314/579] Compiling ModelsR4 CodeSystemCompositionAttestationMode.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[315/579] Compiling ModelsR4 CodeSystemCompositionStatus.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[316/579] Compiling ModelsR4 CodeSystemConceptMapEquivalence.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[317/579] Compiling ModelsR4 CodeSystemConceptMapGroupUnmappedMode.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[318/579] Compiling ModelsR4 CodeSystemConceptSubsumptionOutcome.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[319/579] Compiling ModelsR4 CodeSystemConditionCategoryCodes.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[320/579] Compiling ModelsR4 CodeSystemConditionClinicalStatusCodes.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[321/579] Compiling ModelsR4 CodeSystemConditionState.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[322/579] Compiling ModelsR4 CodeSystemConditionVerificationStatus.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[323/579] Compiling ModelsR4 CodeSystemConditionalDeleteStatus.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[324/579] Compiling ModelsR4 CodeSystemConditionalReadStatus.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[325/579] Compiling ModelsR4 CodeSystemConformanceExpectation.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[326/579] Compiling ModelsR4 CodeSystemConsentActionCodes.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[327/579] Compiling ModelsR4 CodeSystemConsentCategoryCodes.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[328/579] Compiling ModelsR4 CodeSystemConsentDataMeaning.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[329/579] Compiling ModelsR4 CodeSystemConsentPolicyRuleCodes.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[330/579] Compiling ModelsR4 CodeSystemConsentProvisionType.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[331/579] Compiling ModelsR4 CodeSystemConsentScopeCodes.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[332/579] Compiling ModelsR4 CodeSystemConsentState.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[333/579] Compiling ModelsR4 CodeSystemBindingStrength.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[334/579] Compiling ModelsR4 CodeSystemBiologicallyDerivedProductCategory.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[335/579] Compiling ModelsR4 CodeSystemBiologicallyDerivedProductStatus.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[336/579] Compiling ModelsR4 CodeSystemAuditEventID.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[337/579] Compiling ModelsR4 CodeSystemBasicResourceTypes.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[338/579] Compiling ModelsR4 CodeSystemBenefitCostApplicability.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[339/579] Compiling ModelsR4 CodeSystemBenefitTermCodes.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[340/579] Compiling ModelsR4 CodeSystemBenefitTypeCodes.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[341/579] Compiling ModelsR4 Account.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[342/579] Compiling ModelsR4 ActivityDefinition.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[343/579] Compiling ModelsR4 Address.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[344/579] Compiling ModelsR4 AdverseEvent.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[345/579] Compiling ModelsR4 Age.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[346/579] Compiling ModelsR4 AllergyIntolerance.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[347/579] Compiling ModelsR4 Annotation.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[348/579] Compiling ModelsR4 Appointment.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[349/579] Compiling ModelsR4 AppointmentResponse.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[350/579] Compiling ModelsR4 Attachment.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[351/579] Compiling ModelsR4 AuditEvent.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[352/579] Compiling ModelsR4 BackboneElement.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[353/579] Compiling ModelsR4 Base64Binary.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[354/579] Compiling ModelsR4 Basic.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[355/579] Compiling ModelsR4 Binary.swift
/host/spi-builder-workspace/.build/checkouts/antlr4/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 |     ///
[356/579] Compiling ModelsR4 CodeSystemBiologicallyDerivedProductStorageScale.swift
[357/579] Compiling ModelsR4 CodeSystemBundleType.swift
[358/579] Compiling ModelsR4 CodeSystemCanPushUpdates.swift
[359/579] Compiling ModelsR4 CodeSystemCanonicalStatusCodesForFHIRResources.swift
[360/579] Compiling ModelsR4 CodeSystemCapabilityStatementKind.swift
[361/579] Compiling ModelsR4 CodeSystemCarePlanActivityStatus.swift
[362/579] Compiling ModelsR4 CodeSystemCareTeamStatus.swift
[363/579] Compiling ModelsR4 CodeSystemCatalogEntryRelationType.swift
[364/579] Compiling ModelsR4 CodeSystemCatalogType.swift
[365/579] Compiling ModelsR4 CodeSystemCertaintySubcomponentRating.swift
[366/579] Compiling ModelsR4 CodeSystemCertaintySubcomponentType.swift
[367/579] Compiling ModelsR4 CodeSystemChargeItemStatus.swift
[368/579] Compiling ModelsR4 CodeSystemChoiceListOrientation.swift
[369/579] Compiling ModelsR4 CodeSystemClaimCareTeamRoleCodes.swift
[370/579] Compiling ModelsR4 CodeSystemClaimInformationCategoryCodes.swift
[371/579] Compiling ModelsR4 CodeSystemClaimItemTypeCodes.swift
[372/579] Compiling ModelsR4 CodeSystemClaimPayeeResourceType.swift
[373/579] Compiling ModelsR4 CodeSystemClaimProcessingCodes.swift
[374/579] Compiling ModelsR4 CodeSystemClaimTypeCodes.swift
[376/579] Compiling FMCore FHIRDateComponents.swift
[379/579] Compiling FMCore FHIRDateParserError.swift
BUILD FAILURE 6.2 wasm