The Swift Package Index logo.Swift Package Index

Build Information

Failed to build LibDCSwift, reference main (19d0e0), with Swift 6.4 for Linux on 19 Nov 2026 21:07:51 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344847-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:linux-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build 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:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/deepsealabs/libdc-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-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:linux-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
linux-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:ae77353026da6cfa76cb64e03699dfd34630b0508fc99928ef90ce82e8f715d8
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.4-latest
Building for debugging...
[Pre-planning 1 / 184]
[Starting]
In file included from /host/spi-builder-workspace/libdivecomputer/src/uwatec_memomouse_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__)
      |         ^
In file included from <built-in>:412:
<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/usbhid.c:58:
/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__)
      |         ^
In file included from <built-in>:412:
<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/uwatec_aladin.c:26:
/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__)
      |         ^
In file included from <built-in>:412:
<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/zeagle_n2ition3.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__)
      |         ^
In file included from <built-in>:412:
<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/uwatec_memomouse.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__)
      |         ^
In file included from <built-in>:412:
<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/uwatec_smart.c:26:
/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__)
      |         ^
In file included from <built-in>:412:
<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/usb.c:40:
/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__)
      |         ^
In file included from <built-in>:412:
<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/uwatec_smart_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__)
      |         ^
In file included from <built-in>:412:
<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/tecdiving_divecomputereu_parser.c:25:
/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__)
      |         ^
In file included from <built-in>:412:
<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/suunto_vyper2.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__)
      |         ^
In file included from <built-in>:412:
<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/tecdiving_divecomputereu.c:26:
/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__)
      |         ^
In file included from <built-in>:412:
<command line>:2:9: note: previous definition is here
    2 | #define DEBUG 1
      |         ^
1 warning generated.
[56 / 171] Clibdivecomputer
In file included from /host/spi-builder-workspace/libdivecomputer/src/suunto_vyper_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__)
      |         ^
In file included from <built-in>:412:
<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/suunto_solution_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__)
      |         ^
In file included from <built-in>:412:
<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/suunto_vyper.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__)
      |         ^
In file included from <built-in>:412:
<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/suunto_solution.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__)
      |         ^
In file included from <built-in>:412:
<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/suunto_eon_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__)
      |         ^
In file included from <built-in>:412:
<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/suunto_nautic_parser.c:57:
/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__)
      |         ^
In file included from <built-in>:412:
<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/suunto_eon.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__)
      |         ^
In file included from <built-in>:412:
<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/suunto_d9.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__)
      |         ^
In file included from <built-in>:412:
<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/suunto_d9_parser.c:26:
/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__)
      |         ^
In file included from <built-in>:412:
<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/suunto_eonsteel.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__)
      |         ^
In file included from <built-in>:412:
<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/suunto_nautic.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__)
      |         ^
In file included from <built-in>:412:
<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/suunto_eonsteel_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__)
      |         ^
In file included from <built-in>:412:
<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/sporasub_sp2_parser.c:25:
/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__)
      |         ^
In file included from <built-in>:412:
<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/suunto_common2.c:26:
/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__)
      |         ^
In file included from <built-in>:412:
<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/sporasub_sp2.c:26:
/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__)
      |         ^
In file included from <built-in>:412:
<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/socket.c:26:
/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__)
      |         ^
In file included from <built-in>:412:
<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/shearwater_petrel.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__)
      |         ^
In file included from <built-in>:412:
<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/seac_screen_common.c:23:
/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__)
      |         ^
In file included from <built-in>:412:
<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/shearwater_predator.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__)
      |         ^
In file included from <built-in>:412:
<command line>:2:9: note: previous definition is here
    2 | #define DEBUG 1
      |         ^
1 warning generated.
[77 / 171] Clibdivecomputer
In file included from /host/spi-builder-workspace/libdivecomputer/src/shearwater_predator_parser.c:29:
/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__)
      |         ^
In file included from <built-in>:412:
<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/seac_screen_parser.c:26:
/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__)
      |         ^
In file included from <built-in>:412:
<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/serial_posix.c:57:
/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__)
      |         ^
In file included from <built-in>:412:
<command line>:2:9: note: previous definition is here
    2 | #define DEBUG 1
      |         ^
/host/spi-builder-workspace/libdivecomputer/src/serial_posix.c:581:24: error: variable has incomplete type 'struct serial_struct'
  581 |                 struct serial_struct ss;
      |                                      ^
/host/spi-builder-workspace/libdivecomputer/src/serial_posix.c:581:10: note: forward declaration of 'struct serial_struct'
  581 |                 struct serial_struct ss;
      |                        ^
/host/spi-builder-workspace/libdivecomputer/src/serial_posix.c:590:16: error: use of undeclared identifier 'ASYNC_SPD_MASK'
  590 |                 ss.flags &= ~ASYNC_SPD_MASK;
      |                              ^~~~~~~~~~~~~~
/host/spi-builder-workspace/libdivecomputer/src/serial_posix.c:591:15: error: use of undeclared identifier 'ASYNC_SPD_CUST'
  591 |                 ss.flags |= ASYNC_SPD_CUST;
      |                             ^~~~~~~~~~~~~~
/host/spi-builder-workspace/libdivecomputer/src/serial_posix.c:632:23: error: variable has incomplete type 'struct serial_struct'
  632 |         struct serial_struct ss;
      |                              ^
/host/spi-builder-workspace/libdivecomputer/src/serial_posix.c:632:9: note: forward declaration of 'struct serial_struct'
  632 |         struct serial_struct ss;
      |                ^
/host/spi-builder-workspace/libdivecomputer/src/serial_posix.c:641:15: error: use of undeclared identifier 'ASYNC_LOW_LATENCY'
  641 |                 ss.flags |= ASYNC_LOW_LATENCY;
      |                             ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/libdivecomputer/src/serial_posix.c:643:16: error: use of undeclared identifier 'ASYNC_LOW_LATENCY'
  643 |                 ss.flags &= ~ASYNC_LOW_LATENCY;
      |                              ^~~~~~~~~~~~~~~~~
1 warning and 6 errors generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/LibDCSwift.build/Debug-linux-x86_64/Clibdivecomputer-t.build/Objects-normal/x86_64/serial_posix.o /host/spi-builder-workspace/libdivecomputer/src/serial_posix.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler failed with a nonzero exit code. Command line:     cd /host

    Using response file: /host/spi-builder-workspace/.build/out/Intermediates.noindex/LibDCSwift.build/Debug-linux-x86_64/Clibdivecomputer-t.build/Objects-normal/x86_64/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp

    /usr/bin/clang -x c -target x86_64-unknown-linux-gnu -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body --sysroot / @/host/spi-builder-workspace/.build/out/Intermediates.noindex/LibDCSwift.build/Debug-linux-x86_64/Clibdivecomputer-t.build/Objects-normal/x86_64/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/LibDCSwift.build/Debug-linux-x86_64/Clibdivecomputer-t.build/Objects-normal/x86_64/serial_posix.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/LibDCSwift.build/Debug-linux-x86_64/Clibdivecomputer-t.build/Objects-normal/x86_64/serial_posix.dia -c /host/spi-builder-workspace/libdivecomputer/src/serial_posix.c -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/LibDCSwift.build/Debug-linux-x86_64/Clibdivecomputer-t.build/Objects-normal/x86_64/serial_posix.o
In file included from /host/spi-builder-workspace/libdivecomputer/src/shearwater_common.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__)
      |         ^
In file included from <built-in>:412:
<command line>:2:9: note: previous definition is here
    2 | #define DEBUG 1
      |         ^
1 warning generated.
error: Build failed
BUILD FAILURE 6.4 linux