The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ResearchKitOnFHIR, reference 3.0.0-beta.2 (e4c36e), with Swift 6.3 for Wasm on 19 Apr 2026 14:49:53 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/StanfordBDHG/ResearchKitOnFHIR.git
Reference: 3.0.0-beta.2
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/ResearchKitOnFHIR
 * tag               3.0.0-beta.2 -> FETCH_HEAD
HEAD is now at e4c36e7 limit FHIRModels dependency (#102)
Cloned https://github.com/StanfordBDHG/ResearchKitOnFHIR.git
Revision (git rev-parse @):
e4c36e742a3fd310b11f7185c4fc766a9e394bd1
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/StanfordBDHG/ResearchKitOnFHIR.git at 3.0.0-beta.2
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/StanfordBDHG/ResearchKitOnFHIR.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/StanfordBDHG/ResearchKit.git
Fetching https://github.com/StanfordBDHG/FHIRModelsExtensions.git
Fetching https://github.com/apple/FHIRModels.git
[1/260] Fetching fhirmodelsextensions
[261/10041] Fetching fhirmodelsextensions, fhirmodels
[10042/50991] Fetching fhirmodelsextensions, fhirmodels, researchkit
Fetched https://github.com/apple/FHIRModels.git from cache (1.63s)
[2308/41210] Fetching fhirmodelsextensions, researchkit
Fetched https://github.com/StanfordBDHG/FHIRModelsExtensions.git from cache (18.24s)
Fetched https://github.com/StanfordBDHG/ResearchKit.git from cache (19.24s)
Computing version for https://github.com/apple/FHIRModels.git
Computed https://github.com/apple/FHIRModels.git at 0.8.0 (25.40s)
Computing version for https://github.com/StanfordBDHG/FHIRModelsExtensions.git
Computed https://github.com/StanfordBDHG/FHIRModelsExtensions.git at 0.1.2 (0.97s)
Fetching https://github.com/antlr/antlr4.git
[1/168098] Fetching antlr4
Fetched https://github.com/antlr/antlr4.git from cache (12.90s)
Computing version for https://github.com/antlr/antlr4.git
Computed https://github.com/antlr/antlr4.git at 4.13.2 (14.28s)
Computing version for https://github.com/StanfordBDHG/ResearchKit.git
Computed https://github.com/StanfordBDHG/ResearchKit.git at 3.1.4 (1.21s)
Creating working copy for https://github.com/StanfordBDHG/ResearchKit.git
Working copy of https://github.com/StanfordBDHG/ResearchKit.git resolved at 3.1.4
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/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/FHIRModels.git
Working copy of https://github.com/apple/FHIRModels.git resolved at 0.8.0
Building for debugging...
[0/8] Write sources
[7/8] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/159] 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 |     ///
[10/178] Compiling ResearchKitSwiftUI TaskResult.swift
/host/spi-builder-workspace/.build/checkouts/ResearchKit/Sources/ResearchKitSwiftUI/Export.swift:9:19: error: no such module 'ResearchKit'
 7 | //
 8 |
 9 | @_exported import ResearchKit
   |                   `- error: no such module 'ResearchKit'
10 | @_exported import ResearchKitUI
11 | #if os(iOS)
[11/178] Compiling FMCore FHIRIntegerRepresentable.swift
[12/179] Compiling ResearchKitSwiftUI ORKOrderedTaskView.swift
/host/spi-builder-workspace/.build/checkouts/ResearchKit/Sources/ResearchKitSwiftUI/Export.swift:9:19: error: no such module 'ResearchKit'
 7 | //
 8 |
 9 | @_exported import ResearchKit
   |                   `- error: no such module 'ResearchKit'
10 | @_exported import ResearchKitUI
11 | #if os(iOS)
[13/179] Compiling ResearchKitSwiftUI CancelBehavior.swift
/host/spi-builder-workspace/.build/checkouts/ResearchKit/Sources/ResearchKitSwiftUI/Export.swift:9:19: error: no such module 'ResearchKit'
 7 | //
 8 |
 9 | @_exported import ResearchKit
   |                   `- error: no such module 'ResearchKit'
10 | @_exported import ResearchKitUI
11 | #if os(iOS)
[14/179] Compiling ResearchKitSwiftUI Export.swift
/host/spi-builder-workspace/.build/checkouts/ResearchKit/Sources/ResearchKitSwiftUI/Export.swift:9:19: error: no such module 'ResearchKit'
 7 | //
 8 |
 9 | @_exported import ResearchKit
   |                   `- error: no such module 'ResearchKit'
10 | @_exported import ResearchKitUI
11 | #if os(iOS)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/179] Compiling ResearchKitSwiftUI ORKLifecycle.swift
/host/spi-builder-workspace/.build/checkouts/ResearchKit/Sources/ResearchKitSwiftUI/Export.swift:9:19: error: no such module 'ResearchKit'
 7 | //
 8 |
 9 | @_exported import ResearchKit
   |                   `- error: no such module 'ResearchKit'
10 | @_exported import ResearchKitUI
11 | #if os(iOS)
[16/179] Emitting module ResearchKitSwiftUI
/host/spi-builder-workspace/.build/checkouts/ResearchKit/Sources/ResearchKitSwiftUI/Export.swift:9:19: error: no such module 'ResearchKit'
 7 | //
 8 |
 9 | @_exported import ResearchKit
   |                   `- error: no such module 'ResearchKit'
10 | @_exported import ResearchKitUI
11 | #if os(iOS)
[17/179] Compiling FMCore FHIRType.swift
BUILD FAILURE 6.3 wasm