Build Information
Failed to build SwiftPM, reference main (0e6ee8), with Swift 6.1 for Android on 1 May 2026 20:44:15 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/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-package-manager.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-package-manager
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 0e6ee87 Merge pull request #10009 from owenv/owenv/pluginfix
Cloned https://github.com/swiftlang/swift-package-manager.git
Revision (git rev-parse @):
0e6ee8781409c803bc6522bf07ac746ab8e5af45
SUCCESS checkout https://github.com/swiftlang/swift-package-manager.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/swiftlang/swift-package-manager.git
https://github.com/swiftlang/swift-package-manager.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
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/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-llbuild.git
[1/29511] Fetching swift-llbuild
Fetched https://github.com/swiftlang/swift-llbuild.git from cache (2.43s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/75038] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (5.43s)
Fetching https://github.com/apple/swift-argument-parser.git
[1/17557] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.03s)
Fetching https://github.com/apple/swift-crypto.git
[1/17457] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.26s)
Fetching https://github.com/apple/swift-system.git
[1/5601] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.48s)
Fetching https://github.com/apple/swift-collections.git
[1/23937] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.23s)
Fetching https://github.com/apple/swift-certificates.git
[1/7266] Fetching swift-certificates
Fetched https://github.com/apple/swift-certificates.git from cache (0.79s)
Fetching https://github.com/swiftlang/swift-toolchain-sqlite.git
[1/285] Fetching swift-toolchain-sqlite
Fetched https://github.com/swiftlang/swift-toolchain-sqlite.git from cache (1.27s)
Fetching https://github.com/swiftlang/swift-tools-support-core.git
[1/7226] Fetching swift-tools-support-core
Fetched https://github.com/swiftlang/swift-tools-support-core.git from cache (0.85s)
Fetching https://github.com/swiftlang/swift-driver.git
[1/37937] Fetching swift-driver
Fetched https://github.com/swiftlang/swift-driver.git from cache (3.81s)
Fetching https://github.com/swiftlang/swift-build.git
[1/25425] Fetching swift-build
Fetched https://github.com/swiftlang/swift-build.git from cache (3.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.94s)
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-2":/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-llbuild.git
Updated https://github.com/swiftlang/swift-llbuild.git (0.51s)
Updating https://github.com/swiftlang/swift-syntax.git
Updated https://github.com/swiftlang/swift-syntax.git (0.56s)
Updating https://github.com/apple/swift-argument-parser.git
Updated https://github.com/apple/swift-argument-parser.git (0.27s)
Updating https://github.com/apple/swift-crypto.git
Updated https://github.com/apple/swift-crypto.git (0.27s)
Updating https://github.com/apple/swift-system.git
Updated https://github.com/apple/swift-system.git (0.27s)
Updating https://github.com/apple/swift-collections.git
Updated https://github.com/apple/swift-collections.git (0.29s)
Updating https://github.com/apple/swift-certificates.git
Updated https://github.com/apple/swift-certificates.git (0.25s)
Updating https://github.com/swiftlang/swift-toolchain-sqlite.git
Updated https://github.com/swiftlang/swift-toolchain-sqlite.git (0.22s)
Updating https://github.com/swiftlang/swift-tools-support-core.git
Updated https://github.com/swiftlang/swift-tools-support-core.git (0.38s)
Updating https://github.com/swiftlang/swift-driver.git
Updated https://github.com/swiftlang/swift-driver.git (0.55s)
Updating https://github.com/swiftlang/swift-build.git
Updated https://github.com/swiftlang/swift-build.git (0.35s)
Updating https://github.com/swiftlang/swift-tools-protocols.git
Updated https://github.com/swiftlang/swift-tools-protocols.git (0.25s)
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