Build Information
Failed to build LibDCSwift, reference 1.4.1 (cef1a8), with Swift 6.2 for Android on 8 Dec 2025 14:46:12 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/deepsealabs/libdc-swift.git
Reference: 1.4.1
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
* tag 1.4.1 -> FETCH_HEAD
HEAD is now at cef1a84 update: changelog.md
Cloned https://github.com/deepsealabs/libdc-swift.git
Revision (git rev-parse @):
cef1a847d168d03cd38893f3b0f9129046178fa7
SUCCESS checkout https://github.com/deepsealabs/libdc-swift.git at 1.4.1
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/deepsealabs/libdc-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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:c3fe93b3f7c9edfd66b4287786a9b8caf7805f96d7219e301e257b4e0de911bb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/libdivecomputer/doc': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/libdivecomputer/m4': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/libdivecomputer/src/serial_win32.c': File not found.
Building for debugging...
[0/121] Compiling checksum.c
[1/121] Write sources
In file included from /host/spi-builder-workspace/libdivecomputer/src/bluetooth.c:51:
/host/spi-builder-workspace/libdivecomputer/src/context-private.h:58:9: warning: 'DEBUG' macro redefined [-Wmacro-redefined]
58 | #define DEBUG(context, ...) UNUSED(context)
| ^
<command line>:2:9: note: previous definition is here
2 | #define DEBUG 1
| ^
1 warning generated.
[2/121] Compiling bluetooth.c
[3/121] Write swift-version--6B0C4D200E742BB1.txt
[4/121] Compiling array.c
[4/121] Compiling ble.c
In file included from /host/spi-builder-workspace/libdivecomputer/src/atomics_cobalt.c:28:
/host/spi-builder-workspace/libdivecomputer/src/context-private.h:58:9: warning: 'DEBUG' macro redefined [-Wmacro-redefined]
58 | #define DEBUG(context, ...) UNUSED(context)
| ^
<command line>:2:9: note: previous definition is here
2 | #define DEBUG 1
| ^
1 warning generated.
[6/121] Compiling atomics_cobalt.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:58:9: warning: 'DEBUG' macro redefined [-Wmacro-redefined]
58 | #define DEBUG(context, ...) UNUSED(context)
| ^
<command line>:2:9: note: previous definition is here
2 | #define DEBUG 1
| ^
1 warning generated.
[7/121] Compiling atomics_cobalt_parser.c
[7/121] Compiling version.c
[8/121] Compiling buffer.c
In file included from /host/spi-builder-workspace/Sources/LibDCBridge/src/BLEBridge.m:1:
/host/spi-builder-workspace/Sources/LibDCBridge/include/BLEBridge.h:13:17: fatal error: 'Foundation/Foundation.h' file not found
13 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[10/121] Compiling BLEBridge.m
[10/121] Compiling configuredc.c
[10/121] Compiling uwatec_smart.c
[10/121] Compiling zeagle_n2ition3.c
[10/121] Compiling uwatec_memomouse_parser.c
[10/121] Compiling uwatec_aladin.c
[10/121] Compiling uwatec_smart_parser.c
[10/121] Compiling uwatec_memomouse.c
BUILD FAILURE 6.2 android