Build Information
Failed to build swift-corelibs-foundation, reference main (30e349), with Swift 6.2 for Android on 1 May 2026 12:56:26 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftlang/swift-corelibs-foundation.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-corelibs-foundation
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 30e3497 Remove temporary Data.range(of:options:in:) implementation (#5468)
Cloned https://github.com/swiftlang/swift-corelibs-foundation.git
Revision (git rev-parse @):
30e3497d5da2d41e7d71c9115c4fe96ff76ad785
SUCCESS checkout https://github.com/swiftlang/swift-corelibs-foundation.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/swiftlang/swift-corelibs-foundation.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:cb98f9856cb1288a0028ff0e63d4de86ca92d5e7890400e3e915f7ea3943ed55
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest
Fetching https://github.com/apple/swift-foundation-icu
[1/4707] Fetching swift-foundation-icu
Fetched https://github.com/apple/swift-foundation-icu from cache (12.14s)
Fetching https://github.com/apple/swift-foundation
[1/30287] Fetching swift-foundation
Fetched https://github.com/apple/swift-foundation from cache (20.85s)
Fetching https://github.com/swiftlang/swift-syntax
[1/75038] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (8.55s)
Fetching https://github.com/apple/swift-collections
[1/23894] Fetching swift-collections
Fetched https://github.com/apple/swift-collections from cache (1.80s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.1.6 (5.90s)
Creating working copy for https://github.com/apple/swift-foundation
Working copy of https://github.com/apple/swift-foundation resolved at main (437e7d0)
Creating working copy for https://github.com/apple/swift-foundation-icu
Working copy of https://github.com/apple/swift-foundation-icu resolved at main (f248868)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at main (51c8c23)
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.1.6
Building for debugging...
[0/650] Write sources
[23/650] Compiling _SwiftSyntaxCShims PlatformMutex.c
[24/650] Write swift-version--11D90AFD9DD3AB2.txt
In file included from /host/spi-builder-workspace/Sources/CoreFoundation/CFArray.c:13:
/host/spi-builder-workspace/Sources/CoreFoundation/internalInclude/CFInternal.h:102:10: fatal error: 'Block.h' file not found
102 | #include "Block.h"
| ^~~~~~~~~
1 error generated.
[25/650] Compiling CoreFoundation CFArray.c
[25/650] Compiling uprntf_p.cpp
[25/650] Compiling ustream.cpp
[25/650] Compiling uprintf.cpp
[25/650] Compiling uscanf_p.cpp
[25/650] Compiling uscanf.cpp
In file included from /host/spi-builder-workspace/Sources/CoreFoundation/CFApplicationPreferences.c:12:
/host/spi-builder-workspace/Sources/CoreFoundation/internalInclude/CFInternal.h:102:10: fatal error: 'Block.h' file not found
102 | #include "Block.h"
| ^~~~~~~~~
[25/650] Compiling CoreFoundation CFApplicationPreferences.c
[25/650] Compiling ustdio.cpp
BUILD FAILURE 6.2 android