Build Information
Failed to build LibDCSwift, reference 1.22.0 (19d0e0), with Swift 6.2 for Linux on 19 Nov 2026 21:07:50 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344847-1":/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:linux-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/deepsealabs/libdc-swift.git
Reference: 1.22.0
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.22.0 -> FETCH_HEAD
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 1.22.0
========================================
Build
========================================
Selected platform: linux
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-54344847-1":/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:linux-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
linux-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:448fd83fd52215d086a1e24a6dfef7af36c159759f7d20bea90a3c7c927de91e
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.2-latest
[1/1] Compiling plugin ClibdcVerGeneratorPlugin
Building for debugging...
[1/128] Write sources
[2/128] Compiling ble.c
[3/128] Compiling array.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.
[4/128] Compiling atomics_cobalt_parser.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.
[5/128] Compiling transport_caps.c
[5/128] Compiling btserial.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.
[5/128] Compiling atomics_cobalt.c
[5/128] Compiling cable_open.c
[5/128] Compiling aes.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>
| ^~~~~~~~~~~~~~~~~~~~~~
[5/128] Compiling configuredc.c
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
| ^
[5/128] Compiling bluetooth.c
[5/128] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 linux