Build Information
Failed to build ResearchKit, reference 3.1.4 (d1d523), with Swift 6.2 for Android on 25 Jan 2026 14:16:52 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/StanfordBDHG/ResearchKit.git
Reference: 3.1.4
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/ResearchKit
* tag 3.1.4 -> FETCH_HEAD
HEAD is now at d1d523e Create XCFrameworks for release 3.1.4
Updating files: 84% (2910/3458)
Updating files: 85% (2940/3458)
Updating files: 86% (2974/3458)
Updating files: 87% (3009/3458)
Updating files: 88% (3044/3458)
Updating files: 89% (3078/3458)
Updating files: 90% (3113/3458)
Updating files: 91% (3147/3458)
Updating files: 92% (3182/3458)
Updating files: 93% (3216/3458)
Updating files: 94% (3251/3458)
Updating files: 95% (3286/3458)
Updating files: 96% (3320/3458)
Updating files: 97% (3355/3458)
Updating files: 98% (3389/3458)
Updating files: 99% (3424/3458)
Updating files: 100% (3458/3458)
Updating files: 100% (3458/3458), done.
Cloned https://github.com/StanfordBDHG/ResearchKit.git
Revision (git rev-parse @):
d1d523e9e738b7ad9c97ca6101aada1c041ea9da
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/StanfordBDHG/ResearchKit.git at 3.1.4
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/StanfordBDHG/ResearchKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:8a4b1a21be66190a249873405d75b6572f433dd9078c4755af4bedee2c8584a9
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--3EE9C60077A20DAF.txt
[3/8] Compiling ResearchKitSwiftUI ORKOrderedTaskView.swift
<unknown>:0: error: module compiled with Swift 6.2 cannot be imported by the Swift 6.2.3 compiler: /root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64/android/Swift.swiftmodule/aarch64-unknown-linux-android.swiftmodule
[4/8] Compiling ResearchKitSwiftUI ORKLifecycle.swift
<unknown>:0: error: module compiled with Swift 6.2 cannot be imported by the Swift 6.2.3 compiler: /root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64/android/Swift.swiftmodule/aarch64-unknown-linux-android.swiftmodule
[5/8] Compiling ResearchKitSwiftUI TaskResult.swift
<unknown>:0: error: module compiled with Swift 6.2 cannot be imported by the Swift 6.2.3 compiler: /root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64/android/Swift.swiftmodule/aarch64-unknown-linux-android.swiftmodule
[6/8] Compiling ResearchKitSwiftUI Export.swift
<unknown>:0: error: module compiled with Swift 6.2 cannot be imported by the Swift 6.2.3 compiler: /root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64/android/Swift.swiftmodule/aarch64-unknown-linux-android.swiftmodule
[7/8] Compiling ResearchKitSwiftUI CancelBehavior.swift
<unknown>:0: error: module compiled with Swift 6.2 cannot be imported by the Swift 6.2.3 compiler: /root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64/android/Swift.swiftmodule/aarch64-unknown-linux-android.swiftmodule
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/8] Emitting module ResearchKitSwiftUI
<unknown>:0: error: module compiled with Swift 6.2 cannot be imported by the Swift 6.2.3 compiler: /root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64/android/Swift.swiftmodule/aarch64-unknown-linux-android.swiftmodule
BUILD FAILURE 6.2 android