The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build swift-corelibs-foundation, reference main (94ef6a), with Swift 6.2 (beta) for Android on 22 Aug 2025 06:58:04 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
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 94ef6ab Merge pull request #5259 from iCharlesHu/charles/decimal-pow
Cloned https://github.com/swiftlang/swift-corelibs-foundation.git
Revision (git rev-parse @):
94ef6ab1e680bd342897671106ed3ba79ba89d70
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-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:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/apple/swift-foundation-icu
[1/3842] Fetching swift-foundation-icu
Fetched https://github.com/apple/swift-foundation-icu from cache (9.14s)
Fetching https://github.com/apple/swift-foundation
[1/23575] Fetching swift-foundation
Fetched https://github.com/apple/swift-foundation from cache (12.81s)
Fetching https://github.com/swiftlang/swift-syntax
[1/71758] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (8.47s)
Fetching https://github.com/apple/swift-collections
[1/17354] Fetching swift-collections
Fetched https://github.com/apple/swift-collections from cache (1.28s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.2.1 (2.04s)
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.2.1
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at main (9453f46)
Creating working copy for https://github.com/apple/swift-foundation-icu
Working copy of https://github.com/apple/swift-foundation-icu resolved at main (2113033)
Creating working copy for https://github.com/apple/swift-foundation
Working copy of https://github.com/apple/swift-foundation resolved at main (574d608)
Building for debugging...
[0/633] Write sources
[21/633] Compiling _SwiftSyntaxCShims PlatformMutex.c
[22/633] Write swift-version-8C5A4AE7A8CE2BA.txt
In file included from /host/spi-builder-workspace/Sources/CoreFoundation/CFAttributedString.c:15:
In file included from /host/spi-builder-workspace/Sources/CoreFoundation/include/ForFoundationOnly.h:23:
In file included from /host/spi-builder-workspace/Sources/CoreFoundation/include/CFPropertyList.h:17:
/host/spi-builder-workspace/Sources/CoreFoundation/include/CFStream.h:22:10: fatal error: 'dispatch/dispatch.h' file not found
   22 | #include <dispatch/dispatch.h>
      |          ^~~~~~~~~~~~~~~~~~~~~
1 error generated.
[23/633] Compiling CoreFoundation CFAttributedString.c
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.
[23/633] Compiling CoreFoundation CFArray.c
[23/633] 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"
      |          ^~~~~~~~~
1 error generated.
[23/633] Compiling CoreFoundation CFApplicationPreferences.c
[23/633] Compiling uscanf_p.cpp
[23/633] Compiling ustdio.cpp
[23/633] Compiling ustream.cpp
In file included from /host/spi-builder-workspace/Sources/CoreFoundation/CFBag.c:12:
/host/spi-builder-workspace/Sources/CoreFoundation/internalInclude/CFInternal.h:102:10: fatal error: 'Block.h' file not found
  102 | #include "Block.h"
      |          ^~~~~~~~~
[23/633] Compiling CoreFoundation CFBag.c
BUILD FAILURE 6.2 android