Build Information
Failed to build ResearchKitOnFHIR, reference 2.0.10 (56622e), with Swift 6.2 for Wasm on 19 Apr 2026 14:55:20 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/StanfordBDHG/ResearchKitOnFHIR.git
Reference: 2.0.10
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 2.0.10 -> FETCH_HEAD
HEAD is now at 56622e4 limit FHIRModels dependency
Cloned https://github.com/StanfordBDHG/ResearchKitOnFHIR.git
Revision (git rev-parse @):
56622e4cc17f2d640aae5e518f963a0ea7fb08e9
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/StanfordBDHG/ResearchKitOnFHIR.git at 2.0.10
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/StanfordBDHG/ResearchKitOnFHIR.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/apple/FHIRModels.git
Fetching https://github.com/StanfordBDHG/ResearchKit.git
Fetching https://github.com/antlr/antlr4.git
[1/168098] Fetching antlr4
[2/177879] Fetching antlr4, fhirmodels
[29442/218829] Fetching antlr4, fhirmodels, researchkit
Fetched https://github.com/apple/FHIRModels.git from cache (1.59s)
[22220/209048] Fetching antlr4, researchkit
Fetched https://github.com/antlr/antlr4.git from cache (13.44s)
Fetched https://github.com/StanfordBDHG/ResearchKit.git from cache (13.60s)
Computing version for https://github.com/apple/FHIRModels.git
Computed https://github.com/apple/FHIRModels.git at 0.8.0 (15.99s)
Computing version for https://github.com/antlr/antlr4.git
Computed https://github.com/antlr/antlr4.git at 4.13.2 (0.67s)
Computing version for https://github.com/StanfordBDHG/ResearchKit.git
Computed https://github.com/StanfordBDHG/ResearchKit.git at 3.1.4 (0.51s)
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/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
warning: 'spi-builder-workspace': found 13 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/FHIRQuestionnaires/Resources/MultipleEnableWhen.json.license
/host/spi-builder-workspace/Sources/FHIRQuestionnaires/Resources/NumberExample.json.license
/host/spi-builder-workspace/Sources/FHIRQuestionnaires/Resources/PHQ-9.json.license
/host/spi-builder-workspace/Sources/FHIRQuestionnaires/Resources/ImageCapture.json.license
/host/spi-builder-workspace/Sources/FHIRQuestionnaires/Resources/DateTimeExample.json.license
/host/spi-builder-workspace/Sources/FHIRQuestionnaires/Resources/GCS.json.license
/host/spi-builder-workspace/Sources/FHIRQuestionnaires/Resources/FormExample.json.license
/host/spi-builder-workspace/Sources/FHIRQuestionnaires/Resources/GAD-7.json.license
/host/spi-builder-workspace/Sources/FHIRQuestionnaires/Resources/IPSS.json.license
/host/spi-builder-workspace/Sources/FHIRQuestionnaires/Resources/ContainedValueSetExample.json.license
/host/spi-builder-workspace/Sources/FHIRQuestionnaires/Resources/TextValidationExample.json.license
/host/spi-builder-workspace/Sources/FHIRQuestionnaires/Resources/SliderExample.json.license
/host/spi-builder-workspace/Sources/FHIRQuestionnaires/Resources/SkipLogicExample.json.license
warning: 'spi-builder-workspace': found 4 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/FHIRPathParser/Generated/FHIRPathParser.swift.license
/host/spi-builder-workspace/Sources/FHIRPathParser/Generated/FHIRPathVisitor.swift.license
/host/spi-builder-workspace/Sources/FHIRPathParser/Generated/FHIRPathBaseVisitor.swift.license
/host/spi-builder-workspace/Sources/FHIRPathParser/Generated/FHIRPathLexer.swift.license
Building for debugging...
[0/21] Write sources
[0/21] Copying PHQ-9.json
[0/21] Copying SkipLogicExample.json
[0/21] Copying NumberExample.json
[0/21] Copying MultipleEnableWhen.json
[0/21] Copying ImageCapture.json
[0/21] Copying IPSS.json
[0/21] Copying GAD-7.json
[0/21] Copying GCS.json
[0/21] Copying FormExample.json
[0/21] Copying DateTimeExample.json
[0/21] Copying ContainedValueSetExample.json
[0/21] Write sources
[1/21] Copying SliderExample.json
[1/21] Write sources
[2/21] Copying TextValidationExample.json
[20/21] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/69] 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)
[23/172] Emitting module FMCore
[24/173] 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)
[25/173] 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)
[26/173] 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)
[27/173] 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)
[28/173] 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)
[29/173] Compiling FMCore FHIRIntegerRepresentable.swift
[30/173] Compiling FMCore FHIRType.swift
BUILD FAILURE 6.2 wasm