Build Information
Failed to build SwiftBuild, reference main (b2b232), with Swift 6.1 for Android on 2 May 2026 00:22:28 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftlang/swift-build.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/swiftlang/swift-build
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at b2b2327 Promise: Resume the continuations outside the lock to avoid potential deadlock if invoked in a cancellation handler
Cloned https://github.com/swiftlang/swift-build.git
Revision (git rev-parse @):
b2b2327d9b5c9023780e2bd4b2512225066ef202
SUCCESS checkout https://github.com/swiftlang/swift-build.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/swiftlang/swift-build.git
https://github.com/swiftlang/swift-build.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d37fe7b8fba27dae59fb1d9d7dfa86b38b41ffb3975924aad6f05cb4cc3de131
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest
Fetching https://github.com/swiftlang/swift-driver.git
[1/37940] Fetching swift-driver
Fetched https://github.com/swiftlang/swift-driver.git from cache (2.76s)
Fetching https://github.com/swiftlang/swift-tools-protocols.git
[1/33101] Fetching swift-tools-protocols
Fetched https://github.com/swiftlang/swift-tools-protocols.git from cache (1.28s)
error: package 'swift-tools-protocols' @ 49678017c7b83a90a27f56b05c39a19bc2d1c608 is using Swift tools version 6.2.0 but the installed version is 6.1.3 in https://github.com/swiftlang/swift-tools-protocols.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d37fe7b8fba27dae59fb1d9d7dfa86b38b41ffb3975924aad6f05cb4cc3de131
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest
Updating https://github.com/swiftlang/swift-driver.git
Updated https://github.com/swiftlang/swift-driver.git (0.50s)
Updating https://github.com/swiftlang/swift-tools-protocols.git
Updated https://github.com/swiftlang/swift-tools-protocols.git (0.24s)
error: package 'swift-tools-protocols' @ 49678017c7b83a90a27f56b05c39a19bc2d1c608 is using Swift tools version 6.2.0 but the installed version is 6.1.3 in https://github.com/swiftlang/swift-tools-protocols.git
BUILD FAILURE 6.1 android