Build Information
Failed to build swift-ros2, reference main (85ca66), with Swift 6.1 for Android on 29 Apr 2026 21:00:23 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/youtalk/swift-ros2.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/youtalk/swift-ros2
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 85ca666 chore: pin 0.6.1 release URL + xcframework checksums (#56)
Submodule path 'vendor/cyclonedds': checked out '0bab1b248f3dc2e94d0a0c4d93cbf069035cf50c'
Submodule path 'vendor/zenoh-pico': checked out 'd2028ed42e8fcc05effbef90d6708305911c73a3'
Submodule 'vendor/cyclonedds' (https://github.com/youtalk/cyclonedds.git) registered for path 'vendor/cyclonedds'
Submodule 'vendor/zenoh-pico' (https://github.com/youtalk/zenoh-pico.git) registered for path 'vendor/zenoh-pico'
Cloning into '/host/spi-builder-workspace/vendor/cyclonedds'...
Cloning into '/host/spi-builder-workspace/vendor/zenoh-pico'...
Cloned https://github.com/youtalk/swift-ros2.git
Revision (git rev-parse @):
85ca666328600eaa7508ce79d699b1534008c6d1
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/youtalk/swift-ros2.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/youtalk/swift-ros2.git
https://github.com/youtalk/swift-ros2.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
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/vendor/zenoh-pico/src/system/void': File not found.
warning: couldn't find pc file for CycloneDDS
warning: couldn't find pc file for CycloneDDS
Building for debugging...
[0/132] Write sources
In file included from /host/spi-builder-workspace/Sources/CDDSBridge/raw_cdr_regression_bridge.c:12:
/host/spi-builder-workspace/Sources/CDDSBridge/include/raw_cdr_sertype.h:19:10: fatal error: 'dds/dds.h' file not found
19 | #include <dds/dds.h>
| ^~~~~~~~~~~
1 error generated.
[1/132] Compiling CDDSBridge raw_cdr_regression_bridge.c
[1/132] Compiling encoding.c
In file included from /host/spi-builder-workspace/Sources/CDDSBridge/raw_cdr_sertype.c:9:
/host/spi-builder-workspace/Sources/CDDSBridge/include/raw_cdr_sertype.h:19:10: fatal error: 'dds/dds.h' file not found
19 | #include <dds/dds.h>
| ^~~~~~~~~~~
1 error generated.
[1/132] Compiling CDDSBridge raw_cdr_sertype.c
[1/132] Compiling liveliness.c
[1/132] Compiling CDDSBridge dds_bridge.c
[1/132] Compiling api.c
[1/132] Compiling CZenohBridge zenoh_bridge.c
[1/132] Write swift-version-24593BA9C3E375BF.txt
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
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/vendor/zenoh-pico/src/system/void': File not found.
warning: couldn't find pc file for CycloneDDS
warning: couldn't find pc file for CycloneDDS
[0/1] Planning build
Building for debugging...
[0/131] Write sources
[8/131] Compiling checksum.c
[9/131] Compiling pointers.c
[10/131] Compiling string.c
[11/131] Compiling encoding.c
[12/131] Compiling utils.c
[13/131] Compiling read.c
[14/131] Compiling rx.c
[15/131] Compiling transport.c
[16/131] Compiling unicast.c
[17/131] Compiling transport.c
[18/131] Compiling lease.c
[19/131] Compiling rx.c
[20/131] Compiling uuid.c
[20/131] Write swift-version-24593BA9C3E375BF.txt
[22/131] Compiling link.c
[23/131] Compiling tx.c
[24/131] Compiling peer_entry.c
[25/131] Compiling read.c
[26/131] Compiling transport.c
[27/131] Compiling read.c
[28/131] Compiling multicast.c
[29/131] Compiling lease.c
[30/131] Compiling rx.c
[31/131] Compiling tx.c
[32/131] Compiling manager.c
[33/133] Compiling read.c
[34/133] Compiling rx.c
[35/140] Compiling platform.c
/host/spi-builder-workspace/vendor/zenoh-pico/src/system/unix/system.c:36:12: error: call to undeclared function 'getrandom'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
36 | while (getrandom(&ret, sizeof(uint8_t), 0) <= 0) {
| ^
/host/spi-builder-workspace/vendor/zenoh-pico/src/system/unix/system.c:49:12: error: call to undeclared function 'getrandom'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
49 | while (getrandom(&ret, sizeof(uint16_t), 0) <= 0) {
| ^
/host/spi-builder-workspace/vendor/zenoh-pico/src/system/unix/system.c:62:12: error: call to undeclared function 'getrandom'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
62 | while (getrandom(&ret, sizeof(uint32_t), 0) <= 0) {
| ^
/host/spi-builder-workspace/vendor/zenoh-pico/src/system/unix/system.c:75:12: error: call to undeclared function 'getrandom'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
75 | while (getrandom(&ret, sizeof(uint64_t), 0) <= 0) {
| ^
/host/spi-builder-workspace/vendor/zenoh-pico/src/system/unix/system.c:89:12: error: call to undeclared function 'getrandom'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
89 | while (getrandom(buf, len, 0) <= 0) {
| ^
5 errors generated.
[36/140] Compiling system.c
[36/140] Compiling lease.c
[36/140] Compiling utils.c
[36/140] Compiling serial.c
[36/140] Compiling raweth.c
[36/140] Compiling network.c
BUILD FAILURE 6.1 android