Build Information
Failed to build LibDCSwift, reference main (19d0e0), with Swift 6.1 for Android on 19 Nov 2026 21:07:54 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/deepsealabs/libdc-swift.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/deepsealabs/libdc-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 19d0e0e Merge pull request #93 from deepsealabs/feat/mac-l10-classic-bt
Submodule path 'libdivecomputer': checked out '1b201bb63b2870a4a0804a92b9ba1b7b003aadea'
Submodule 'libdivecomputer' (https://github.com/deepsealabs/libdivecomputer.git) registered for path 'libdivecomputer'
Cloning into '/host/spi-builder-workspace/libdivecomputer'...
Cloned https://github.com/deepsealabs/libdc-swift.git
Revision (git rev-parse @):
19d0e0ebb81ea382e433305e7848fcea0f184f0b
SUCCESS checkout https://github.com/deepsealabs/libdc-swift.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/deepsealabs/libdc-swift.git
https://github.com/deepsealabs/libdc-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-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.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 saguaro1/spi-images
Digest: sha256:4a2fa435ac333753e63ed6c656fe70fcece760f0601ff6567c222f81f55cb110
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
[1/1] Compiling plugin ClibdcVerGeneratorPlugin
Building for debugging...
[1/128] Compiling ble.c
[2/128] Compiling checksum.c
[3/128] Write sources
[4/128] Compiling common.c
In file included from /host/spi-builder-workspace/libdivecomputer/src/context.c:37:
/host/spi-builder-workspace/libdivecomputer/src/context-private.h:51:9: warning: 'DEBUG' macro redefined [-Wmacro-redefined]
51 | #define DEBUG(context, ...) dc_context_log (context, DC_LOGLEVEL_DEBUG, __FILE__, __LINE__, FUNCTION, __VA_ARGS__)
| ^
<command line>:2:9: note: previous definition is here
2 | #define DEBUG 1
| ^
1 warning generated.
[5/128] Compiling context.c
In file included from /host/spi-builder-workspace/libdivecomputer/src/atomics_cobalt_parser.c:27:
/host/spi-builder-workspace/libdivecomputer/src/context-private.h:51:9: warning: 'DEBUG' macro redefined [-Wmacro-redefined]
51 | #define DEBUG(context, ...) dc_context_log (context, DC_LOGLEVEL_DEBUG, __FILE__, __LINE__, FUNCTION, __VA_ARGS__)
| ^
<command line>:2:9: note: previous definition is here
2 | #define DEBUG 1
| ^
1 warning generated.
[6/128] Compiling atomics_cobalt_parser.c
In file included from /host/spi-builder-workspace/libdivecomputer/src/atomics_cobalt.c:28:
/host/spi-builder-workspace/libdivecomputer/src/context-private.h:51:9: warning: 'DEBUG' macro redefined [-Wmacro-redefined]
51 | #define DEBUG(context, ...) dc_context_log (context, DC_LOGLEVEL_DEBUG, __FILE__, __LINE__, FUNCTION, __VA_ARGS__)
| ^
<command line>:2:9: note: previous definition is here
2 | #define DEBUG 1
| ^
1 warning generated.
[7/128] Compiling atomics_cobalt.c
In file included from /host/spi-builder-workspace/Sources/LibDCBridge/src/transport_caps.c:1:
/host/spi-builder-workspace/Sources/LibDCBridge/include/configuredc.h:9:10: fatal error: 'TargetConditionals.h' file not found
9 | #include <TargetConditionals.h>
| ^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[8/128] Compiling transport_caps.c
In file included from /host/spi-builder-workspace/libdivecomputer/src/cochran_commander_parser.c:28:
/host/spi-builder-workspace/libdivecomputer/src/context-private.h:51:9: warning: 'DEBUG' macro redefined [-Wmacro-redefined]
51 | #define DEBUG(context, ...) dc_context_log (context, DC_LOGLEVEL_DEBUG, __FILE__, __LINE__, FUNCTION, __VA_ARGS__)
| ^
<command line>:2:9: note: previous definition is here
2 | #define DEBUG 1
| ^
1 warning generated.
In file included from /host/spi-builder-workspace/libdivecomputer/src/bluetooth.c:51:
/host/spi-builder-workspace/libdivecomputer/src/context-private.h:51:9: warning: 'DEBUG' macro redefined [-Wmacro-redefined]
51 | #define DEBUG(context, ...) dc_context_log (context, DC_LOGLEVEL_DEBUG, __FILE__, __LINE__, FUNCTION, __VA_ARGS__)
| ^
<command line>:2:9: note: previous definition is here
2 | #define DEBUG 1
| ^
1 warning generated.
[8/128] Compiling USBBridge.m
[8/128] Compiling cochran_commander_parser.c
[8/128] Compiling bluetooth.c
In file included from /host/spi-builder-workspace/Sources/LibDCBridge/src/cable_open.c:1:
/host/spi-builder-workspace/Sources/LibDCBridge/include/configuredc.h:9:10: fatal error: 'TargetConditionals.h' file not found
9 | #include <TargetConditionals.h>
| ^~~~~~~~~~~~~~~~~~~~~~
[8/128] Compiling cable_open.c
[8/128] Compiling btserial.c
In file included from /host/spi-builder-workspace/Sources/LibDCBridge/src/configuredc.c:1:
/host/spi-builder-workspace/Sources/LibDCBridge/include/configuredc.h:9:10: fatal error: 'TargetConditionals.h' file not found
9 | #include <TargetConditionals.h>
| ^~~~~~~~~~~~~~~~~~~~~~
[8/128] Compiling configuredc.c
[8/128] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:4a2fa435ac333753e63ed6c656fe70fcece760f0601ff6567c222f81f55cb110
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin ClibdcVerGeneratorPlugin
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/LibDCBridge/src/USBBridge.m:1:
/host/spi-builder-workspace/Sources/LibDCBridge/include/USBBridge.h:4:10: fatal error: 'TargetConditionals.h' file not found
4 | #include <TargetConditionals.h>
| ^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/121] Compiling USBBridge.m
[1/121] Compiling zeagle_n2ition3.c
In file included from /host/spi-builder-workspace/Sources/LibDCBridge/src/transport_caps.c:1:
/host/spi-builder-workspace/Sources/LibDCBridge/include/configuredc.h:9:10: fatal error: 'TargetConditionals.h' file not found
9 | #include <TargetConditionals.h>
| ^~~~~~~~~~~~~~~~~~~~~~
[1/121] Compiling transport_caps.c
[1/121] Compiling BLEBridge.m
In file included from /host/spi-builder-workspace/Sources/LibDCBridge/src/btserial.c:12:
/host/spi-builder-workspace/Sources/LibDCBridge/include/configuredc.h:9:10: fatal error: 'TargetConditionals.h' file not found
9 | #include <TargetConditionals.h>
| ^~~~~~~~~~~~~~~~~~~~~~
[1/121] Compiling btserial.c
[1/121] Compiling cable_open.c
[1/121] Compiling configuredc.c
[1/121] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 android