Build Information
Failed to build SwiftCPython, reference main (950944), with Swift 6.3 for Android on 10 Nov 2026 00:49:16 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/libswiftpy/cpython.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/libswiftpy/cpython
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 950944f Add a minimal Swift package that embeds CPython
Cloned https://github.com/libswiftpy/cpython.git
Revision (git rev-parse @):
950944f0f3aaeaa1cc9dee6b583d83d6567e6514
SUCCESS checkout https://github.com/libswiftpy/cpython.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.3
Building package at path: $PWD
https://github.com/libswiftpy/cpython.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:f1b12a8bbb93f80209cd253d0506a5c4ae234ca70cdb982449927d0de54267f8
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.3-latest
Building for debugging...
[0/8] Copying PythonHome
[1/8] Write sources
[3/8] Write swift-version-272D24FF697CF451.txt
[5/12] Compiling Python resource_bundle_accessor.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Swift/Sources/CPython/shim.h:6:10: error: 'TargetConditionals.h' file not found
4 | // per build, and TargetConditionals picks the right one — including telling
5 | // an iOS simulator destination apart from a device.
6 | #include <TargetConditionals.h>
| `- error: 'TargetConditionals.h' file not found
7 |
8 | #if TARGET_OS_SIMULATOR
/host/spi-builder-workspace/Swift/Sources/Python/Python.swift:1:8: error: could not build C module 'CPython'
1 | import CPython
| `- error: could not build C module 'CPython'
2 |
3 | import Foundation
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/12] Emitting module Python
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Swift/Sources/CPython/shim.h:6:10: error: 'TargetConditionals.h' file not found
4 | // per build, and TargetConditionals picks the right one — including telling
5 | // an iOS simulator destination apart from a device.
6 | #include <TargetConditionals.h>
| `- error: 'TargetConditionals.h' file not found
7 |
8 | #if TARGET_OS_SIMULATOR
/host/spi-builder-workspace/Swift/Sources/Python/Python.swift:1:8: error: could not build C module 'CPython'
1 | import CPython
| `- error: could not build C module 'CPython'
2 |
3 | import Foundation
[7/12] Compiling Python Python.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Swift/Sources/CPython/shim.h:6:10: error: 'TargetConditionals.h' file not found
4 | // per build, and TargetConditionals picks the right one — including telling
5 | // an iOS simulator destination apart from a device.
6 | #include <TargetConditionals.h>
| `- error: 'TargetConditionals.h' file not found
7 |
8 | #if TARGET_OS_SIMULATOR
/host/spi-builder-workspace/Swift/Sources/Python/Python.swift:1:8: error: could not build C module 'CPython'
1 | import CPython
| `- error: could not build C module 'CPython'
2 |
3 | import Foundation
[8/12] Compiling Python PythonOutput.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Swift/Sources/CPython/shim.h:6:10: error: 'TargetConditionals.h' file not found
4 | // per build, and TargetConditionals picks the right one — including telling
5 | // an iOS simulator destination apart from a device.
6 | #include <TargetConditionals.h>
| `- error: 'TargetConditionals.h' file not found
7 |
8 | #if TARGET_OS_SIMULATOR
/host/spi-builder-workspace/Swift/Sources/Python/Python.swift:1:8: error: could not build C module 'CPython'
1 | import CPython
| `- error: could not build C module 'CPython'
2 |
3 | import Foundation
BUILD FAILURE 6.3 android