The Swift Package Index logo.Swift Package Index

Build Information

Failed to build HealthKitOnFHIR, reference 2.0.0-beta.3 (25b9ca), with Swift 6.2 for Wasm on 19 Apr 2026 17:52:02 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/StanfordBDHG/HealthKitOnFHIR.git
Reference: 2.0.0-beta.3
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
 * tag               2.0.0-beta.3 -> FETCH_HEAD
HEAD is now at 25b9ca3 limit FHIRModels dependency (#70)
Cloned https://github.com/StanfordBDHG/HealthKitOnFHIR.git
Revision (git rev-parse @):
25b9ca380ccd98a07f32940083d9e2da05d89bf0
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/StanfordBDHG/HealthKitOnFHIR.git at 2.0.0-beta.3
========================================
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-4606859-1":/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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:2a8b2d9e022a9894c61e0736af7cdaa1ee64c002dbb133a55c0d7e8980b3ad16
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
Fetching https://github.com/StanfordBDHG/FHIRModelsExtensions.git
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/StanfordSpezi/SpeziFoundation.git
Fetching https://github.com/apple/FHIRModels.git
Fetching https://github.com/apple/swift-algorithms.git
[1/260] Fetching fhirmodelsextensions
[261/3286] Fetching fhirmodelsextensions, spezifoundation
[2168/9344] Fetching fhirmodelsextensions, spezifoundation, swift-algorithms
[6862/19125] Fetching fhirmodelsextensions, spezifoundation, swift-algorithms, fhirmodels
[7105/94108] Fetching fhirmodelsextensions, spezifoundation, swift-algorithms, fhirmodels, swift-syntax
Fetched https://github.com/StanfordBDHG/FHIRModelsExtensions.git from cache (0.81s)
[7875/93848] Fetching spezifoundation, swift-algorithms, fhirmodels, swift-syntax
Fetched https://github.com/StanfordSpezi/SpeziFoundation.git from cache (0.81s)
[5006/90822] Fetching swift-algorithms, fhirmodels, swift-syntax
Fetched https://github.com/apple/swift-algorithms.git from cache (2.18s)
Fetched https://github.com/apple/FHIRModels.git from cache (2.22s)
[13497/74983] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (11.37s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (15.56s)
Fetching https://github.com/apple/swift-numerics.git
[1/6416] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.83s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (1.99s)
Computing version for https://github.com/apple/FHIRModels.git
Computed https://github.com/apple/FHIRModels.git at 0.8.0 (0.93s)
Computing version for https://github.com/StanfordBDHG/FHIRModelsExtensions.git
Computed https://github.com/StanfordBDHG/FHIRModelsExtensions.git at 0.1.2 (1.23s)
Fetching https://github.com/antlr/antlr4.git
[1/168098] Fetching antlr4
Fetched https://github.com/antlr/antlr4.git from cache (13.00s)
Computing version for https://github.com/antlr/antlr4.git
Computed https://github.com/antlr/antlr4.git at 4.13.2 (13.86s)
Computing version for https://github.com/StanfordSpezi/SpeziFoundation.git
Computed https://github.com/StanfordSpezi/SpeziFoundation.git at 2.7.6 (1.30s)
Fetching https://github.com/StanfordBDHG/zstd.git
Fetching https://github.com/StanfordBDHG/ThreadLocal.git
Fetching https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Fetching https://github.com/apple/swift-log
Fetching https://github.com/apple/swift-atomics.git
[1/63157] Fetching zstd
[2/63892] Fetching zstd, xctruntimeassertions
[355/65712] Fetching zstd, xctruntimeassertions, swift-atomics
[1969/72347] Fetching zstd, xctruntimeassertions, swift-atomics, swift-log
[4916/72530] Fetching zstd, xctruntimeassertions, swift-atomics, swift-log, threadlocal
Fetched https://github.com/StanfordBDHG/XCTRuntimeAssertions.git from cache (1.17s)
Fetched https://github.com/StanfordBDHG/ThreadLocal.git from cache (1.18s)
Fetched https://github.com/apple/swift-log from cache (1.18s)
Fetched https://github.com/apple/swift-atomics.git from cache (1.18s)
[12000/63157] Fetching zstd
Fetched https://github.com/StanfordBDHG/zstd.git from cache (8.37s)
Computing version for https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Computed https://github.com/StanfordBDHG/XCTRuntimeAssertions.git at 2.2.0 (9.34s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.92s)
Computing version for https://github.com/StanfordBDHG/ThreadLocal.git
Computed https://github.com/StanfordBDHG/ThreadLocal.git at 0.1.3 (0.72s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.69s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.12.0 (0.74s)
Computing version for https://github.com/StanfordBDHG/zstd.git
Computed https://github.com/StanfordBDHG/zstd.git at 1.5.8-beta.1 (0.78s)
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/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/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/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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.12.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/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/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/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/StanfordSpezi/SpeziFoundation.git
Working copy of https://github.com/StanfordSpezi/SpeziFoundation.git resolved at 2.7.6
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.60s)
Building for debugging...
[0/30] Write sources
[0/30] Copying HKSampleMapping.json.license
[0/30] Copying HKSampleMapping.json
[0/30] Write sources
[0/30] Copying Info.plist
[0/30] Write sources
[0/30] Copying HKSampleMapping.json.license
[0/30] Write sources
[0/30] Copying Info.plist
[0/30] Write sources
[23/30] Compiling _NumericsShims _NumericsShims.c
[24/30] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[26/331] 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 |     ///
[27/350] Compiling FMCore FHIRType.swift
[28/351] Compiling RealModule Float16+Real.swift
[29/352] Compiling Antlr4 ATN.swift
[30/352] Compiling Antlr4 ATNConfig.swift
[31/352] Compiling FMCore FHIRIntegerRepresentable.swift
[32/352] Compiling RealModule RealFunctions.swift
[33/352] Compiling RealModule Real.swift
[34/352] Compiling RealModule Float80+Real.swift
[35/352] Compiling Antlr4 ATNConfigSet.swift
[36/352] Compiling Antlr4 ATNDeserializationOptions.swift
[37/352] Compiling Antlr4 ATNDeserializer.swift
[38/352] Compiling Antlr4 ATNSimulator.swift
[39/352] Emitting module RealModule
[40/352] Compiling RealModule RelaxedArithmetic.swift
[41/353] Wrapping AST for RealModule for debugging
[43/378] Compiling Algorithms Split.swift
[44/378] Compiling Algorithms Stride.swift
[45/378] Compiling Algorithms Suffix.swift
[46/381] Compiling Algorithms RandomSample.swift
[47/381] Compiling Algorithms Reductions.swift
[48/381] Compiling Algorithms Rotate.swift
[49/381] Compiling FMCore FHIRType.swift
[50/382] Compiling Algorithms Partition.swift
[51/382] Compiling Algorithms Permutations.swift
[52/382] Compiling Algorithms Product.swift
[53/382] Compiling Algorithms Joined.swift
[54/382] Compiling Algorithms Keyed.swift
[55/382] Compiling Algorithms MinMax.swift
[56/382] Compiling Algorithms Trim.swift
[57/382] Compiling Algorithms Unique.swift
[58/382] Compiling Algorithms Windows.swift
[59/382] Compiling Algorithms FlattenCollection.swift
[60/382] Compiling Algorithms Grouped.swift
[61/382] Compiling Algorithms Indexed.swift
[62/382] Compiling Algorithms Intersperse.swift
[63/382] Compiling FMCore FHIRDateParserError.swift
[64/382] Compiling FMCore TimeZone+FHIR.swift
[65/382] Compiling FMCore Scanner+FHIR.swift
[66/382] Compiling Algorithms AdjacentPairs.swift
[67/382] Compiling Algorithms Chain.swift
[68/382] Emitting module FMCore
[69/382] Compiling FMCore FHIRDateComponents.swift
[70/382] Compiling Antlr4 LexerTypeAction.swift
[71/382] Compiling Antlr4 LookaheadEventInfo.swift
[72/382] Compiling Antlr4 LookupATNConfig.swift
[73/382] Compiling Antlr4 LookupDictionary.swift
[74/382] Compiling Antlr4 LoopEndState.swift
[75/382] Compiling Antlr4 NotSetTransition.swift
[76/382] Compiling Antlr4 ParseInfo.swift
[77/382] Compiling Antlr4 ParserATNSimulator.swift
[78/382] Compiling Antlr4 PlusBlockStartState.swift
[79/382] Compiling Antlr4 PlusLoopbackState.swift
[80/382] Compiling Antlr4 PrecedencePredicateTransition.swift
[81/382] Compiling Antlr4 PredicateEvalInfo.swift
[82/382] Compiling Antlr4 PredicateTransition.swift
[83/382] Compiling Antlr4 PredictionContext.swift
[84/382] Compiling Antlr4 PredictionContextCache.swift
[85/382] Compiling Antlr4 PredictionMode.swift
[86/382] Compiling Antlr4 ProfilingATNSimulator.swift
[87/382] Compiling Antlr4 RangeTransition.swift
[88/382] Compiling Antlr4 LexerNoViableAltException.swift
[89/382] Compiling FMCore ExpressibleAsNSDate.swift
[91/402] Compiling Antlr4 InterpreterDataReader.swift
[92/402] Compiling Antlr4 Interval.swift
[93/402] Compiling Antlr4 IntervalSet.swift
[94/402] Compiling Antlr4 MultiMap.swift
[95/402] Compiling Antlr4 MurmurHash.swift
[96/402] Compiling Antlr4 Utils.swift
[97/402] Compiling Antlr4 ANTLRError.swift
[98/402] Compiling Antlr4 ANTLRException.swift
[99/402] Compiling Antlr4 ArrayExtension.swift
[100/402] Compiling Antlr4 CharacterExtension.swift
[101/402] Compiling Antlr4 IntStreamExtension.swift
[102/402] Compiling Antlr4 StringExtension.swift
[103/402] Compiling Antlr4 TokenExtension.swift
[104/402] Compiling Antlr4 UUIDExtension.swift
[105/402] Compiling Antlr4 CommonUtil.swift
[106/402] Compiling Antlr4 Mutex.swift
[107/402] Compiling Antlr4 Stack.swift
[108/402] Compiling Antlr4 AbstractParseTreeVisitor.swift
[109/402] Compiling Antlr4 ErrorNode.swift
[110/402] Compiling Antlr4 RuleStartState.swift
[111/402] Compiling Antlr4 RuleStopState.swift
[112/402] Compiling Antlr4 RuleTransition.swift
[113/402] Compiling Antlr4 SemanticContext.swift
[114/402] Compiling Antlr4 SetTransition.swift
[115/402] Compiling Antlr4 SingletonPredictionContext.swift
[116/402] Compiling Antlr4 StarBlockStartState.swift
[117/402] Compiling Antlr4 StarLoopEntryState.swift
[118/402] Compiling Antlr4 StarLoopbackState.swift
[119/402] Compiling Antlr4 TokensStartState.swift
[120/402] Compiling Antlr4 Transition.swift
[121/402] Compiling Antlr4 WildcardTransition.swift
[122/402] Compiling Antlr4 DFA.swift
[123/402] Compiling Antlr4 DFASerializer.swift
[124/402] Compiling Antlr4 DFAState.swift
[125/402] Compiling Antlr4 LexerDFASerializer.swift
[126/402] Compiling Antlr4 BitSet.swift
[127/402] Compiling Antlr4 DoubleKeyMap.swift
[128/402] Compiling Antlr4 IntSet.swift
[129/402] Compiling Algorithms Compacted.swift
[130/402] Compiling Algorithms Cycle.swift
[131/402] Compiling Algorithms EitherSequence.swift
[132/402] Compiling Algorithms FirstNonNil.swift
[135/402] Compiling Algorithms Chunked.swift
[136/402] Compiling Algorithms Combinations.swift
[137/402] Compiling Antlr4 DecisionInfo.swift
[138/402] Compiling Antlr4 DecisionState.swift
[139/402] Compiling Antlr4 DefaultATNConfig.swift
[140/402] Compiling Antlr4 EmptyPredictionContext.swift
[141/402] Compiling Antlr4 EpsilonTransition.swift
[142/402] Compiling Antlr4 ErrorInfo.swift
[143/402] Compiling Antlr4 LL1Analyzer.swift
[144/402] Compiling Antlr4 LexerATNConfig.swift
[145/402] Compiling Antlr4 LexerATNSimulator.swift
[146/402] Compiling Antlr4 LexerAction.swift
[147/402] Compiling Antlr4 LexerActionExecutor.swift
[148/402] Compiling Antlr4 LexerActionType.swift
[149/402] Compiling Antlr4 LexerChannelAction.swift
[150/402] Compiling Antlr4 LexerCustomAction.swift
[151/402] Compiling Antlr4 LexerIndexedCustomAction.swift
[152/402] Compiling Antlr4 LexerModeAction.swift
[153/402] Compiling Antlr4 LexerMoreAction.swift
[154/402] Compiling Antlr4 LexerPopModeAction.swift
[155/402] Compiling Antlr4 LexerPushModeAction.swift
[156/402] Compiling Antlr4 ListTokenSource.swift
[157/402] Compiling Antlr4 NoViableAltException.swift
[158/402] Compiling Antlr4 Parser.swift
[159/402] Compiling Antlr4 ParserInterpreter.swift
[160/402] Compiling Antlr4 ParserRuleContext.swift
[161/402] Compiling Antlr4 ProxyErrorListener.swift
[162/402] Compiling Antlr4 RecognitionException.swift
[163/402] Compiling Antlr4 Recognizer.swift
[164/402] Compiling Antlr4 RuleContext.swift
[165/402] Compiling Antlr4 RuntimeMetaData.swift
[166/402] Compiling Antlr4 Token.swift
[167/402] Compiling Antlr4 TokenFactory.swift
[168/402] Compiling Antlr4 TokenSource.swift
[169/402] Compiling Antlr4 TokenStream.swift
[170/402] Compiling Antlr4 TokenStreamRewriter.swift
[171/402] Compiling Antlr4 UnbufferedCharStream.swift
[172/402] Compiling Antlr4 UnbufferedTokenStream.swift
[173/402] Compiling Antlr4 VocabularySingle.swift
[174/402] Compiling Antlr4 WritableToken.swift
[202/402] Compiling Antlr4 CommonToken.swift
[203/402] Compiling Antlr4 CommonTokenFactory.swift
[204/402] Compiling Antlr4 CommonTokenStream.swift
[205/402] Compiling Antlr4 ConsoleErrorListener.swift
[206/402] Compiling Antlr4 DefaultErrorStrategy.swift
[207/402] Compiling Antlr4 DiagnosticErrorListener.swift
[208/402] Compiling Antlr4 FailedPredicateException.swift
[209/402] Compiling Antlr4 InputMismatchException.swift
[210/402] Compiling Antlr4 IntStream.swift
[211/402] Compiling Antlr4 InterpreterRuleContext.swift
[212/402] Compiling Antlr4 Lexer.swift
[213/402] Compiling Antlr4 LexerInterpreter.swift
[214/402] Compiling Antlr4 LexerSkipAction.swift
[215/402] Emitting module Antlr4
[216/578] Compiling ModelsR4 CodeSystemAllergyIntoleranceSeverity.swift
[217/578] Compiling ModelsR4 CodeSystemAllergyIntoleranceSubstanceExposureRisk.swift
[218/578] Compiling ModelsR4 CodeSystemAllergyIntoleranceType.swift
[219/578] Compiling ModelsR4 CodeSystemAllergyIntoleranceVerificationStatusCodes.swift
[220/578] Compiling ModelsR4 CodeSystemAnimalSpecies.swift
[221/578] Compiling ModelsR4 CodeSystemAppointmentStatus.swift
[222/578] Compiling ModelsR4 CodeSystemAssertionDirectionType.swift
[223/578] Compiling ModelsR4 CodeSystemAssertionOperatorType.swift
[224/578] Compiling ModelsR4 CodeSystemAssertionResponseTypes.swift
[225/578] Compiling ModelsR4 CodeSystemAuditEventAction.swift
[226/578] Compiling ModelsR4 CodeSystemAuditEventID.swift
[227/578] Compiling ModelsR4 CodeSystemBasicResourceTypes.swift
[228/578] Compiling ModelsR4 CodeSystemBenefitCostApplicability.swift
[229/578] Compiling ModelsR4 CodeSystemBenefitTermCodes.swift
[230/578] Compiling ModelsR4 CodeSystemBenefitTypeCodes.swift
[231/578] Compiling ModelsR4 CodeSystemConstraintSeverity.swift
[232/578] Compiling ModelsR4 CodeSystemContactEntityType.swift
[233/578] Compiling ModelsR4 CodeSystemContactPointSystem.swift
[234/578] Compiling ModelsR4 CodeSystemContactPointUse.swift
[235/578] Compiling ModelsR4 CodeSystemClaimCareTeamRoleCodes.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 |     ///
[236/578] Compiling ModelsR4 CodeSystemClaimInformationCategoryCodes.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 |     ///
[237/578] Compiling ModelsR4 CodeSystemClaimItemTypeCodes.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 |     ///
[238/578] Compiling ModelsR4 CodeSystemClaimPayeeResourceType.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 |     ///
[239/578] Compiling ModelsR4 CodeSystemClaimProcessingCodes.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 |     ///
[240/578] Compiling ModelsR4 CodeSystemClaimTypeCodes.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 |     ///
[241/578] 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 |     ///
[242/578] 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 |     ///
[243/578] 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 |     ///
[244/578] Compiling ModelsR4 CodeSystemAdverseEventCausalityAssessment.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 |     ///
[245/578] Compiling ModelsR4 CodeSystemAdverseEventCausalityMethod.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 |     ///
[246/578] Compiling ModelsR4 CodeSystemAdverseEventOutcome.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 |     ///
[247/578] Compiling ModelsR4 CodeSystemAdverseEventSeriousness.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 |     ///
[248/578] Compiling ModelsR4 CodeSystemAdverseEventSeverity.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 |     ///
[249/578] Compiling ModelsR4 CodeSystemAggregationMode.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 |     ///
[250/578] Compiling ModelsR4 CodeSystemAllergyIntoleranceCategory.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 |     ///
[251/578] Compiling ModelsR4 CodeSystemAllergyIntoleranceCertainty.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 |     ///
[252/578] Compiling ModelsR4 CodeSystemAllergyIntoleranceClinicalStatusCodes.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 |     ///
[253/578] Compiling ModelsR4 CodeSystemAllergyIntoleranceCriticality.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 |     ///
[254/578] Compiling FMCore TimeZone+FHIR.swift
[255/578] 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 |     ///
[256/578] 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 |     ///
[257/578] 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 |     ///
[258/578] 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 |     ///
[259/578] 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 |     ///
[260/578] 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 |     ///
[261/578] 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 |     ///
[262/578] 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 |     ///
[263/578] 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 |     ///
[264/578] 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 |     ///
[265/578] 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 |     ///
[266/578] 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 |     ///
[267/578] 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 |     ///
[268/578] 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 |     ///
[269/578] 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 |     ///
[270/578] 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 |     ///
[271/578] 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 |     ///
[272/578] 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 |     ///
[273/578] 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 |     ///
[274/578] 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 |     ///
[275/578] 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 |     ///
[276/578] 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 |     ///
[277/578] 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 |     ///
[278/578] 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 |     ///
[279/578] 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 |     ///
[280/578] 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 |     ///
[281/578] 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 |     ///
[282/578] 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 |     ///
[283/578] 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 |     ///
[284/578] 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 |     ///
[285/578] 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 |     ///
[286/578] 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 |     ///
[287/578] 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 |     ///
[288/578] 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 |     ///
[289/578] 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 |     ///
[290/578] 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 |     ///
[291/578] 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 |     ///
[292/578] 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 |     ///
[293/578] Compiling FMCore ExpressibleAsNSDate.swift
[294/578] Compiling FMCore FHIRDateComponents.swift
[295/578] 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 |     ///
[296/578] 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 |     ///
[297/578] 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 |     ///
[298/578] 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 |     ///
[299/578] 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 |     ///
[300/578] 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 |     ///
[301/578] 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 |     ///
[302/578] 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 |     ///
[303/578] 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 |     ///
[304/578] 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 |     ///
[305/578] 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 |     ///
[306/578] 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 |     ///
[307/578] 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 |     ///
[308/578] 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 |     ///
[309/578] 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 |     ///
[310/578] 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 |     ///
[311/578] 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 |     ///
[312/578] 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 |     ///
[313/578] 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 |     ///
[314/578] 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 |     ///
[315/578] 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 |     ///
[316/578] 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 |     ///
[317/578] 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 |     ///
[318/578] 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 |     ///
[319/578] 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 |     ///
[320/578] 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 |     ///
[321/578] Compiling ModelsR4 CodeSystemBiologicallyDerivedProductStorageScale.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/578] Compiling ModelsR4 CodeSystemBundleType.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/578] Compiling ModelsR4 CodeSystemCanPushUpdates.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/578] Compiling ModelsR4 CodeSystemCanonicalStatusCodesForFHIRResources.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/578] Compiling ModelsR4 CodeSystemCapabilityStatementKind.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/578] Compiling ModelsR4 CodeSystemCarePlanActivityStatus.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/578] Compiling ModelsR4 CodeSystemCareTeamStatus.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/578] Compiling ModelsR4 CodeSystemCatalogEntryRelationType.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/578] Compiling ModelsR4 CodeSystemCatalogType.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/578] Compiling ModelsR4 CodeSystemCertaintySubcomponentRating.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/578] Compiling ModelsR4 CodeSystemCertaintySubcomponentType.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/578] Compiling ModelsR4 CodeSystemChargeItemStatus.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/578] Compiling ModelsR4 CodeSystemChoiceListOrientation.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/578] Compiling FMCore FHIRDateParserError.swift
[335/578] Compiling ModelsR4 Claim.swift
[336/578] Compiling ModelsR4 ClaimResponse.swift
[337/578] Compiling ModelsR4 ClinicalImpression.swift
[338/578] Compiling ModelsR4 CodeSystem.swift
[339/578] Compiling ModelsR4 CodeSystemAbstractType.swift
[340/578] Compiling ModelsR4 CodeSystemAccountStatus.swift
[341/578] Compiling ModelsR4 CodeSystemActionCardinalityBehavior.swift
[342/578] Compiling ModelsR4 CodeSystemActionConditionKind.swift
[343/578] Compiling ModelsR4 CodeSystemActionGroupingBehavior.swift
[344/578] Compiling ModelsR4 CodeSystemActionParticipantType.swift
[345/578] Compiling ModelsR4 CodeSystemActionPrecheckBehavior.swift
[346/578] Compiling ModelsR4 CodeSystemActionRelationshipType.swift
[347/578] Compiling ModelsR4 CodeSystemActionRequiredBehavior.swift
[348/578] Compiling ModelsR4 CodeSystemActionSelectionBehavior.swift
[349/578] Compiling ModelsR4 CodeSystemActionType.swift
[350/578] Compiling ModelsR4 CodeSystemActivityDefinitionCategory.swift
[351/578] Compiling ModelsR4 CodeSystemAdditionalMaterialCodes.swift
[352/578] Compiling ModelsR4 CodeSystemAddressType.swift
[353/578] Compiling ModelsR4 CodeSystemAddressUse.swift
[354/578] Emitting module FMCore
[357/578] Compiling FMCore FHIRIntegerRepresentable.swift
[358/578] 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 | 		}
BUILD FAILURE 6.2 wasm