The Swift Package Index logo.Swift Package Index

Build Information

Successful build of LibDCSwift, reference main (19d0e0), with Swift 6.3 for macOS (SPM) on 19 Nov 2026 21:22:30 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.5.0.app xcrun swift build --arch arm64

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 /Users/admin/builder/spi-builder-workspace/.git/
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 '/Users/admin/builder/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:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/deepsealabs/libdc-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.5.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin ClibdcVerGeneratorPlugin
Building for debugging...
[1/128] Compiling checksum.c
[2/128] Write swift-version-69A768CDF2A0BEE1.txt
[3/128] Write sources
[4/128] Compiling array.c
[5/128] Compiling aes.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/citizen_aqualand.c:26:
/Users/admin/builder/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 citizen_aqualand.c
[7/128] Compiling ble.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/atomics_cobalt.c:28:
/Users/admin/builder/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 atomics_cobalt.c
[9/128] Compiling cable_open.c
[10/128] Compiling buffer.c
[11/128] Compiling version.c
[12/128] Compiling configuredc.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/zeagle_n2ition3.c:27:
/Users/admin/builder/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.
[13/128] Compiling zeagle_n2ition3.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/uwatec_smart_parser.c:28:
/Users/admin/builder/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.
[14/128] Compiling uwatec_smart_parser.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/uwatec_memomouse_parser.c:27:
/Users/admin/builder/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.
[15/128] Compiling uwatec_memomouse_parser.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/uwatec_smart.c:26:
/Users/admin/builder/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.
[16/128] Compiling uwatec_smart.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/usbhid.c:58:
/Users/admin/builder/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.
[17/128] Compiling usbhid.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/uwatec_memomouse.c:27:
/Users/admin/builder/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.
[18/128] Compiling uwatec_memomouse.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/uwatec_aladin.c:26:
/Users/admin/builder/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.
[19/128] Compiling uwatec_aladin.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/bluetooth.c:51:
/Users/admin/builder/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.
[20/128] Compiling bluetooth.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/usb.c:40:
/Users/admin/builder/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.
[21/128] Compiling usb.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/tecdiving_divecomputereu_parser.c:25:
/Users/admin/builder/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.
[22/128] Compiling tecdiving_divecomputereu_parser.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/suunto_vyper_parser.c:27:
/Users/admin/builder/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.
[23/128] Compiling suunto_vyper_parser.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/tecdiving_divecomputereu.c:26:
/Users/admin/builder/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.
[24/128] Compiling tecdiving_divecomputereu.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/atomics_cobalt_parser.c:27:
/Users/admin/builder/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.
[25/128] Compiling atomics_cobalt_parser.c
In file included from /Users/admin/builder/spi-builder-workspace/Sources/LibDCBridge/src/btserial.c:26:
/Users/admin/builder/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.
[26/128] Compiling btserial.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/suunto_vyper2.c:27:
/Users/admin/builder/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.
[27/128] Compiling suunto_vyper2.c
[28/128] Compiling timer.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/suunto_vyper.c:28:
/Users/admin/builder/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.
[29/128] Compiling suunto_vyper.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/suunto_solution_parser.c:27:
/Users/admin/builder/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.
[30/128] Compiling suunto_solution_parser.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/suunto_solution.c:27:
/Users/admin/builder/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.
[31/128] Compiling suunto_solution.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/suunto_nautic_parser.c:57:
/Users/admin/builder/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.
[32/128] Compiling suunto_nautic_parser.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/suunto_eon_parser.c:27:
/Users/admin/builder/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.
[33/128] Compiling suunto_eon_parser.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/suunto_eonsteel.c:27:
/Users/admin/builder/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.
[34/128] Compiling suunto_eonsteel.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/suunto_eon.c:27:
/Users/admin/builder/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 /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/suunto_nautic.c:28:
/Users/admin/builder/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.
[35/128] Compiling suunto_eon.c
[36/128] Compiling suunto_nautic.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/suunto_d9_parser.c:26:
/Users/admin/builder/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.
[37/128] Compiling suunto_d9_parser.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/suunto_eonsteel_parser.c:28:
/Users/admin/builder/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.
[38/128] Compiling suunto_eonsteel_parser.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/suunto_d9.c:28:
/Users/admin/builder/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.
[39/128] Compiling suunto_d9.c
[40/128] Compiling suunto_common.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/suunto_common2.c:26:
/Users/admin/builder/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.
[41/128] Compiling suunto_common2.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/sporasub_sp2_parser.c:25:
/Users/admin/builder/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.
[42/128] Compiling sporasub_sp2_parser.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/sporasub_sp2.c:26:
/Users/admin/builder/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.
[43/128] Compiling sporasub_sp2.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/socket.c:26:
/Users/admin/builder/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.
[44/128] Compiling socket.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/shearwater_predator.c:27:
/Users/admin/builder/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.
[45/128] Compiling shearwater_predator.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/shearwater_predator_parser.c:29:
/Users/admin/builder/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.
[46/128] Compiling shearwater_predator_parser.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/shearwater_petrel.c:27:
/Users/admin/builder/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.
[47/128] Compiling shearwater_petrel.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/seac_screen_parser.c:26:
/Users/admin/builder/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.
[48/128] Compiling seac_screen_parser.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/seac_screen_common.c:23:
/Users/admin/builder/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 /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/shearwater_common.c:27:
/Users/admin/builder/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.
[49/128] Compiling seac_screen_common.c
[50/128] Compiling shearwater_common.c
[51/128] Compiling ringbuffer.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/seac_screen.c:27:
/Users/admin/builder/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.
[52/128] Compiling seac_screen.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/reefnet_sensusultra_parser.c:28:
/Users/admin/builder/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.
[53/128] Compiling reefnet_sensusultra_parser.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/reefnet_sensuspro_parser.c:28:
/Users/admin/builder/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.
[54/128] Compiling reefnet_sensuspro_parser.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/reefnet_sensus_parser.c:27:
/Users/admin/builder/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.
[55/128] Compiling reefnet_sensus_parser.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/reefnet_sensuspro.c:26:
/Users/admin/builder/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.
[56/128] Compiling reefnet_sensuspro.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/reefnet_sensusultra.c:27:
/Users/admin/builder/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.
[57/128] Compiling reefnet_sensusultra.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/rbstream.c:26:
/Users/admin/builder/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 /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/reefnet_sensus.c:26:
/Users/admin/builder/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.
[58/128] Compiling rbstream.c
[59/128] Compiling reefnet_sensus.c
[60/128] Compiling platform.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/packet.c:29:
/Users/admin/builder/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.
[61/128] Compiling packet.c
[62/128] Compiling oceans_s1_common.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/pelagic_i330r.c:31:
/Users/admin/builder/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.
[63/128] Compiling pelagic_i330r.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/parser.c:70:
/Users/admin/builder/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.
[64/128] Compiling parser.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/oceans_s1_parser.c:29:
/Users/admin/builder/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.
[65/128] Compiling oceans_s1_parser.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/oceans_s1.c:30:
/Users/admin/builder/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.
[66/128] Compiling oceans_s1.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/oceanic_vtpro_parser.c:28:
/Users/admin/builder/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.
[67/128] Compiling oceanic_vtpro_parser.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/oceanic_vtpro.c:28:
/Users/admin/builder/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.
[68/128] Compiling oceanic_vtpro.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/oceanic_veo250.c:27:
/Users/admin/builder/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.
[69/128] Compiling oceanic_veo250.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/oceanic_veo250_parser.c:28:
/Users/admin/builder/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.
[70/128] Compiling oceanic_veo250_parser.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/oceanic_common.c:27:
/Users/admin/builder/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.
[71/128] Compiling oceanic_common.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/oceanic_atom2_parser.c:28:
/Users/admin/builder/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.
[72/128] Compiling oceanic_atom2_parser.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/oceanic_atom2.c:29:
/Users/admin/builder/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.
[73/128] Compiling oceanic_atom2.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/mclean_extreme_parser.c:28:
/Users/admin/builder/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.
[74/128] Compiling mclean_extreme_parser.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/mares_puck.c:28:
/Users/admin/builder/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.
[75/128] Compiling mares_puck.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/mclean_extreme.c:26:
/Users/admin/builder/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.
[76/128] Compiling mclean_extreme.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/mares_nemo_parser.c:28:
/Users/admin/builder/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.
[77/128] Compiling mares_nemo_parser.c
[78/128] Compiling transport_caps.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/serial_posix.c:57:
/Users/admin/builder/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 /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/mares_nemo.c:27:
/Users/admin/builder/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.
[79/128] Compiling serial_posix.c
[80/128] Compiling mares_nemo.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/mares_iconhd_parser.c:27:
/Users/admin/builder/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.
[81/128] Compiling mares_iconhd_parser.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/mares_darwin_parser.c:28:
/Users/admin/builder/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.
[82/128] Compiling mares_darwin_parser.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/mares_darwin.c:30:
/Users/admin/builder/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.
[83/128] Compiling mares_darwin.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/mares_iconhd.c:26:
/Users/admin/builder/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.
[84/128] Compiling mares_iconhd.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/mares_common.c:26:
/Users/admin/builder/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.
[85/128] Compiling mares_common.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/liquivision_lynx_parser.c:28:
/Users/admin/builder/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.
[86/128] Compiling liquivision_lynx_parser.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/iterator.c:26:
/Users/admin/builder/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.
[87/128] Compiling iterator.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/liquivision_lynx.c:29:
/Users/admin/builder/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.
[88/128] Compiling liquivision_lynx.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/irda.c:47:
/Users/admin/builder/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.
[89/128] Compiling irda.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/ihex.c:28:
/Users/admin/builder/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.
[90/128] Compiling ihex.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/iostream.c:29:
/Users/admin/builder/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.
[91/128] Compiling iostream.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/hw_ostc_parser.c:29:
/Users/admin/builder/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.
[92/128] Compiling hw_ostc_parser.c
[93/128] Compiling heatshrink_decoder.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/hw_ostc.c:26:
/Users/admin/builder/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.
[94/128] Compiling hw_ostc.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/hdlc.c:28:
/Users/admin/builder/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.
[95/128] Compiling hdlc.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/hw_ostc3.c:28:
/Users/admin/builder/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.
[96/128] Compiling hw_ostc3.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/halcyon_symbios_parser.c:28:
/Users/admin/builder/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.
[97/128] Compiling halcyon_symbios_parser.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/halcyon_symbios.c:27:
/Users/admin/builder/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.
[98/128] Compiling halcyon_symbios.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/divesystem_idive_parser.c:25:
/Users/admin/builder/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.
[99/128] Compiling divesystem_idive_parser.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/diverite_nitekq_parser.c:27:
/Users/admin/builder/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.
[100/128] Compiling diverite_nitekq_parser.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/divesystem_idive.c:27:
/Users/admin/builder/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.
[101/128] Compiling divesystem_idive.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/divesoft_freedom.c:27:
/Users/admin/builder/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.
[102/128] Compiling divesoft_freedom.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/divesoft_freedom_parser.c:28:
/Users/admin/builder/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.
[103/128] Compiling divesoft_freedom_parser.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/diverite_nitekq.c:27:
/Users/admin/builder/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.
[104/128] Compiling diverite_nitekq.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/device.c:72:
/Users/admin/builder/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.
[105/128] Compiling device.c
[106/128] Compiling descriptor.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/deepsix_excursion_parser.c:30:
/Users/admin/builder/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.
[107/128] Compiling deepsix_excursion_parser.c
[108/128] Compiling datetime.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/deepblu_cosmiq_parser.c:28:
/Users/admin/builder/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.
[109/128] Compiling deepblu_cosmiq_parser.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/deepsix_excursion.c:27:
/Users/admin/builder/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.
[110/128] Compiling deepsix_excursion.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/deepblu_cosmiq.c:27:
/Users/admin/builder/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.
[111/128] Compiling deepblu_cosmiq.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/custom.c:28:
/Users/admin/builder/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.
[112/128] Compiling custom.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/cressi_leonardo_parser.c:25:
/Users/admin/builder/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.
[113/128] Compiling cressi_leonardo_parser.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/cressi_leonardo.c:27:
/Users/admin/builder/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.
[114/128] Compiling cressi_leonardo.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/cressi_goa_parser.c:25:
/Users/admin/builder/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.
[115/128] Compiling cressi_goa_parser.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/cressi_goa.c:29:
/Users/admin/builder/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.
[116/128] Compiling cressi_goa.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/context.c:37:
/Users/admin/builder/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.
[117/128] Compiling context.c
[118/128] Compiling common.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/cressi_edy_parser.c:25:
/Users/admin/builder/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.
[119/128] Compiling cressi_edy_parser.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/cressi_edy.c:27:
/Users/admin/builder/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.
[120/128] Compiling cressi_edy.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/cochran_commander_parser.c:28:
/Users/admin/builder/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.
[121/128] Compiling cochran_commander_parser.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/citizen_aqualand_parser.c:27:
/Users/admin/builder/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.
[122/128] Compiling citizen_aqualand_parser.c
In file included from /Users/admin/builder/spi-builder-workspace/libdivecomputer/src/cochran_commander.c:27:
/Users/admin/builder/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.
[123/128] Compiling cochran_commander.c
[124/128] Compiling USBBridge.m
[125/128] Compiling BLEBridge.m
[126/128] Write Objects.LinkFileList
[127/164] Linking libLibDCBridge.dylib
[129/164] Emitting module LibDCSwift
[130/167] Compiling LibDCSwift CableError.swift
[131/167] Compiling LibDCSwift HIDCableSession.swift
[132/167] Compiling LibDCSwift HIDDeviceIO.swift
[133/167] Compiling LibDCSwift HIDStream.swift
[134/167] Compiling LibDCSwift IOKitCableDiscovery.swift
[135/167] Compiling LibDCSwift SerialCableSession.swift
[136/167] Compiling LibDCSwift USBCableSession.swift
[137/167] Compiling LibDCSwift USBComputers.swift
[138/167] Compiling LibDCSwift AutoSyncPolicy.swift
/Users/admin/builder/spi-builder-workspace/Sources/LibDCSwift/AutoSync/NauticAutoSync.swift:369:19: warning: capture of 'attempt' with non-Sendable type 'ConnectAttempt' in a '@Sendable' closure [#SendableClosureCaptures]
367 |         // Wall-clock, so a device that slept past the deadline fires as soon as it wakes.
368 |         DispatchQueue.global().asyncAfter(wallDeadline: .now() + timeout) { [weak self, connector = self.connector] in
369 |             guard attempt.expire() else { return }
    |                   `- warning: capture of 'attempt' with non-Sendable type 'ConnectAttempt' in a '@Sendable' closure [#SendableClosureCaptures]
370 |             self?.emit(.log("No connection after \(Int(timeout)) s: \(Self.unreachableHint)"))
371 |             self?.emit(.watchUnreachable(after: timeout))
    :
722 |
723 | /// Settles the race between a connect finishing and its timeout firing.
724 | private final class ConnectAttempt {
    |                     `- note: class 'ConnectAttempt' does not conform to the 'Sendable' protocol
725 |     private let lock = NSLock()
726 |     private var settled = false
/Users/admin/builder/spi-builder-workspace/Sources/LibDCSwift/AutoSync/NauticAutoSync.swift:370:13: warning: capture of 'self' with non-Sendable type 'NauticAutoSync?' in a '@Sendable' closure [#SendableClosureCaptures]
 24 | ///
 25 | /// Never writes to the watch: dives stay unsynchronised for the Suunto app.
 26 | public final class NauticAutoSync {
    |                    `- note: class 'NauticAutoSync' does not conform to the 'Sendable' protocol
 27 |     public struct Configuration {
 28 |         public var reconnect: ReconnectPolicy = .suuntoApp
    :
368 |         DispatchQueue.global().asyncAfter(wallDeadline: .now() + timeout) { [weak self, connector = self.connector] in
369 |             guard attempt.expire() else { return }
370 |             self?.emit(.log("No connection after \(Int(timeout)) s: \(Self.unreachableHint)"))
    |             `- warning: capture of 'self' with non-Sendable type 'NauticAutoSync?' in a '@Sendable' closure [#SendableClosureCaptures]
371 |             self?.emit(.watchUnreachable(after: timeout))
372 |             connector.cancelConnect()
/Users/admin/builder/spi-builder-workspace/Sources/LibDCSwift/AutoSync/NauticAutoSync.swift:372:13: warning: capture of 'connector' with non-Sendable type 'any NauticSyncConnector' in a '@Sendable' closure [#SendableClosureCaptures]
370 |             self?.emit(.log("No connection after \(Int(timeout)) s: \(Self.unreachableHint)"))
371 |             self?.emit(.watchUnreachable(after: timeout))
372 |             connector.cancelConnect()
    |             `- warning: capture of 'connector' with non-Sendable type 'any NauticSyncConnector' in a '@Sendable' closure [#SendableClosureCaptures]
373 |         }
374 |         do {
/Users/admin/builder/spi-builder-workspace/Sources/LibDCSwift/AutoSync/NauticSyncLink.swift:29:17: note: protocol 'NauticSyncConnector' does not conform to the 'Sendable' protocol
 27 |
 28 | /// Finds and opens the watch.
 29 | public protocol NauticSyncConnector: AnyObject {
    |                 `- note: protocol 'NauticSyncConnector' does not conform to the 'Sendable' protocol
 30 |     /// Returns true once the watch is seen, false after `timeout` (nil waits indefinitely).
 31 |     func waitUntilPresent(timeout: TimeInterval?) async throws -> Bool
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[139/167] Compiling LibDCSwift CoreBluetoothNauticConnector.swift
/Users/admin/builder/spi-builder-workspace/Sources/LibDCSwift/AutoSync/NauticAutoSync.swift:369:19: warning: capture of 'attempt' with non-Sendable type 'ConnectAttempt' in a '@Sendable' closure [#SendableClosureCaptures]
367 |         // Wall-clock, so a device that slept past the deadline fires as soon as it wakes.
368 |         DispatchQueue.global().asyncAfter(wallDeadline: .now() + timeout) { [weak self, connector = self.connector] in
369 |             guard attempt.expire() else { return }
    |                   `- warning: capture of 'attempt' with non-Sendable type 'ConnectAttempt' in a '@Sendable' closure [#SendableClosureCaptures]
370 |             self?.emit(.log("No connection after \(Int(timeout)) s: \(Self.unreachableHint)"))
371 |             self?.emit(.watchUnreachable(after: timeout))
    :
722 |
723 | /// Settles the race between a connect finishing and its timeout firing.
724 | private final class ConnectAttempt {
    |                     `- note: class 'ConnectAttempt' does not conform to the 'Sendable' protocol
725 |     private let lock = NSLock()
726 |     private var settled = false
/Users/admin/builder/spi-builder-workspace/Sources/LibDCSwift/AutoSync/NauticAutoSync.swift:370:13: warning: capture of 'self' with non-Sendable type 'NauticAutoSync?' in a '@Sendable' closure [#SendableClosureCaptures]
 24 | ///
 25 | /// Never writes to the watch: dives stay unsynchronised for the Suunto app.
 26 | public final class NauticAutoSync {
    |                    `- note: class 'NauticAutoSync' does not conform to the 'Sendable' protocol
 27 |     public struct Configuration {
 28 |         public var reconnect: ReconnectPolicy = .suuntoApp
    :
368 |         DispatchQueue.global().asyncAfter(wallDeadline: .now() + timeout) { [weak self, connector = self.connector] in
369 |             guard attempt.expire() else { return }
370 |             self?.emit(.log("No connection after \(Int(timeout)) s: \(Self.unreachableHint)"))
    |             `- warning: capture of 'self' with non-Sendable type 'NauticAutoSync?' in a '@Sendable' closure [#SendableClosureCaptures]
371 |             self?.emit(.watchUnreachable(after: timeout))
372 |             connector.cancelConnect()
/Users/admin/builder/spi-builder-workspace/Sources/LibDCSwift/AutoSync/NauticAutoSync.swift:372:13: warning: capture of 'connector' with non-Sendable type 'any NauticSyncConnector' in a '@Sendable' closure [#SendableClosureCaptures]
370 |             self?.emit(.log("No connection after \(Int(timeout)) s: \(Self.unreachableHint)"))
371 |             self?.emit(.watchUnreachable(after: timeout))
372 |             connector.cancelConnect()
    |             `- warning: capture of 'connector' with non-Sendable type 'any NauticSyncConnector' in a '@Sendable' closure [#SendableClosureCaptures]
373 |         }
374 |         do {
/Users/admin/builder/spi-builder-workspace/Sources/LibDCSwift/AutoSync/NauticSyncLink.swift:29:17: note: protocol 'NauticSyncConnector' does not conform to the 'Sendable' protocol
 27 |
 28 | /// Finds and opens the watch.
 29 | public protocol NauticSyncConnector: AnyObject {
    |                 `- note: protocol 'NauticSyncConnector' does not conform to the 'Sendable' protocol
 30 |     /// Returns true once the watch is seen, false after `timeout` (nil waits indefinitely).
 31 |     func waitUntilPresent(timeout: TimeInterval?) async throws -> Bool
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[140/167] Compiling LibDCSwift NauticAutoSync.swift
/Users/admin/builder/spi-builder-workspace/Sources/LibDCSwift/AutoSync/NauticAutoSync.swift:369:19: warning: capture of 'attempt' with non-Sendable type 'ConnectAttempt' in a '@Sendable' closure [#SendableClosureCaptures]
367 |         // Wall-clock, so a device that slept past the deadline fires as soon as it wakes.
368 |         DispatchQueue.global().asyncAfter(wallDeadline: .now() + timeout) { [weak self, connector = self.connector] in
369 |             guard attempt.expire() else { return }
    |                   `- warning: capture of 'attempt' with non-Sendable type 'ConnectAttempt' in a '@Sendable' closure [#SendableClosureCaptures]
370 |             self?.emit(.log("No connection after \(Int(timeout)) s: \(Self.unreachableHint)"))
371 |             self?.emit(.watchUnreachable(after: timeout))
    :
722 |
723 | /// Settles the race between a connect finishing and its timeout firing.
724 | private final class ConnectAttempt {
    |                     `- note: class 'ConnectAttempt' does not conform to the 'Sendable' protocol
725 |     private let lock = NSLock()
726 |     private var settled = false
/Users/admin/builder/spi-builder-workspace/Sources/LibDCSwift/AutoSync/NauticAutoSync.swift:370:13: warning: capture of 'self' with non-Sendable type 'NauticAutoSync?' in a '@Sendable' closure [#SendableClosureCaptures]
 24 | ///
 25 | /// Never writes to the watch: dives stay unsynchronised for the Suunto app.
 26 | public final class NauticAutoSync {
    |                    `- note: class 'NauticAutoSync' does not conform to the 'Sendable' protocol
 27 |     public struct Configuration {
 28 |         public var reconnect: ReconnectPolicy = .suuntoApp
    :
368 |         DispatchQueue.global().asyncAfter(wallDeadline: .now() + timeout) { [weak self, connector = self.connector] in
369 |             guard attempt.expire() else { return }
370 |             self?.emit(.log("No connection after \(Int(timeout)) s: \(Self.unreachableHint)"))
    |             `- warning: capture of 'self' with non-Sendable type 'NauticAutoSync?' in a '@Sendable' closure [#SendableClosureCaptures]
371 |             self?.emit(.watchUnreachable(after: timeout))
372 |             connector.cancelConnect()
/Users/admin/builder/spi-builder-workspace/Sources/LibDCSwift/AutoSync/NauticAutoSync.swift:372:13: warning: capture of 'connector' with non-Sendable type 'any NauticSyncConnector' in a '@Sendable' closure [#SendableClosureCaptures]
370 |             self?.emit(.log("No connection after \(Int(timeout)) s: \(Self.unreachableHint)"))
371 |             self?.emit(.watchUnreachable(after: timeout))
372 |             connector.cancelConnect()
    |             `- warning: capture of 'connector' with non-Sendable type 'any NauticSyncConnector' in a '@Sendable' closure [#SendableClosureCaptures]
373 |         }
374 |         do {
/Users/admin/builder/spi-builder-workspace/Sources/LibDCSwift/AutoSync/NauticSyncLink.swift:29:17: note: protocol 'NauticSyncConnector' does not conform to the 'Sendable' protocol
 27 |
 28 | /// Finds and opens the watch.
 29 | public protocol NauticSyncConnector: AnyObject {
    |                 `- note: protocol 'NauticSyncConnector' does not conform to the 'Sendable' protocol
 30 |     /// Returns true once the watch is seen, false after `timeout` (nil waits indefinitely).
 31 |     func waitUntilPresent(timeout: TimeInterval?) async throws -> Bool
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[141/167] Compiling LibDCSwift NauticSyncLink.swift
/Users/admin/builder/spi-builder-workspace/Sources/LibDCSwift/AutoSync/NauticAutoSync.swift:369:19: warning: capture of 'attempt' with non-Sendable type 'ConnectAttempt' in a '@Sendable' closure [#SendableClosureCaptures]
367 |         // Wall-clock, so a device that slept past the deadline fires as soon as it wakes.
368 |         DispatchQueue.global().asyncAfter(wallDeadline: .now() + timeout) { [weak self, connector = self.connector] in
369 |             guard attempt.expire() else { return }
    |                   `- warning: capture of 'attempt' with non-Sendable type 'ConnectAttempt' in a '@Sendable' closure [#SendableClosureCaptures]
370 |             self?.emit(.log("No connection after \(Int(timeout)) s: \(Self.unreachableHint)"))
371 |             self?.emit(.watchUnreachable(after: timeout))
    :
722 |
723 | /// Settles the race between a connect finishing and its timeout firing.
724 | private final class ConnectAttempt {
    |                     `- note: class 'ConnectAttempt' does not conform to the 'Sendable' protocol
725 |     private let lock = NSLock()
726 |     private var settled = false
/Users/admin/builder/spi-builder-workspace/Sources/LibDCSwift/AutoSync/NauticAutoSync.swift:370:13: warning: capture of 'self' with non-Sendable type 'NauticAutoSync?' in a '@Sendable' closure [#SendableClosureCaptures]
 24 | ///
 25 | /// Never writes to the watch: dives stay unsynchronised for the Suunto app.
 26 | public final class NauticAutoSync {
    |                    `- note: class 'NauticAutoSync' does not conform to the 'Sendable' protocol
 27 |     public struct Configuration {
 28 |         public var reconnect: ReconnectPolicy = .suuntoApp
    :
368 |         DispatchQueue.global().asyncAfter(wallDeadline: .now() + timeout) { [weak self, connector = self.connector] in
369 |             guard attempt.expire() else { return }
370 |             self?.emit(.log("No connection after \(Int(timeout)) s: \(Self.unreachableHint)"))
    |             `- warning: capture of 'self' with non-Sendable type 'NauticAutoSync?' in a '@Sendable' closure [#SendableClosureCaptures]
371 |             self?.emit(.watchUnreachable(after: timeout))
372 |             connector.cancelConnect()
/Users/admin/builder/spi-builder-workspace/Sources/LibDCSwift/AutoSync/NauticAutoSync.swift:372:13: warning: capture of 'connector' with non-Sendable type 'any NauticSyncConnector' in a '@Sendable' closure [#SendableClosureCaptures]
370 |             self?.emit(.log("No connection after \(Int(timeout)) s: \(Self.unreachableHint)"))
371 |             self?.emit(.watchUnreachable(after: timeout))
372 |             connector.cancelConnect()
    |             `- warning: capture of 'connector' with non-Sendable type 'any NauticSyncConnector' in a '@Sendable' closure [#SendableClosureCaptures]
373 |         }
374 |         do {
/Users/admin/builder/spi-builder-workspace/Sources/LibDCSwift/AutoSync/NauticSyncLink.swift:29:17: note: protocol 'NauticSyncConnector' does not conform to the 'Sendable' protocol
 27 |
 28 | /// Finds and opens the watch.
 29 | public protocol NauticSyncConnector: AnyObject {
    |                 `- note: protocol 'NauticSyncConnector' does not conform to the 'Sendable' protocol
 30 |     /// Returns true once the watch is seen, false after `timeout` (nil waits indefinitely).
 31 |     func waitUntilPresent(timeout: TimeInterval?) async throws -> Bool
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[142/167] Compiling LibDCSwift DCIOStreamBackend.swift
[143/167] Compiling LibDCSwift DCRecording.swift
[144/167] Compiling LibDCSwift ScriptedStream.swift
[145/167] Compiling LibDCSwift TapStream.swift
[146/167] Compiling LibDCSwift DiveLogRetriever.swift
[147/167] Compiling LibDCSwift LibDCSwift.swift
[148/167] Compiling LibDCSwift Logger.swift
[149/167] Compiling LibDCSwift DeviceConfiguration.swift
[150/167] Compiling LibDCSwift SuuntoNauticExplorer.swift
[151/167] Compiling LibDCSwift SuuntoNauticResume.swift
[152/167] Compiling LibDCSwift DCTransport.swift
[153/167] Compiling LibDCSwift BLELinkState.swift
[154/167] Compiling LibDCSwift BLEManager.swift
[155/167] Compiling LibDCSwift CableDiscovery.swift
[156/167] Compiling LibDCSwift CableEndpoint.swift
[157/167] Compiling LibDCSwift GenericParser.swift
[158/167] Compiling LibDCSwift RetrievalCloseCoordinator.swift
[159/167] Compiling LibDCSwift DiveComputerSession.swift
[160/167] Compiling LibDCSwift DCCustomStream.swift
[161/167] Compiling LibDCSwift DeviceCatalog.swift
[162/167] Compiling LibDCSwift DiveComputerIdentity.swift
[163/167] Compiling LibDCSwift DiveDataViewModel.swift
[164/167] Compiling LibDCSwift DeviceFingerprint.swift
[165/167] Compiling LibDCSwift DiveData.swift
[166/167] Compiling LibDCSwift SampleData.swift
[167/167] Compiling LibDCSwift StoredDevice.swift
Build complete! (17.34s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "LibDCSwift",
  "name" : "LibDCSwift",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "LibDCSwift",
      "targets" : [
        "LibDCSwift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "LibDCBridge",
      "targets" : [
        "LibDCBridge"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    },
    {
      "name" : "ClibdcVerGeneratorPlugin",
      "targets" : [
        "ClibdcVerGeneratorPlugin"
      ],
      "type" : {
        "plugin" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "LibDCSwiftTests",
      "module_type" : "SwiftTarget",
      "name" : "LibDCSwiftTests",
      "path" : "Tests/LibDCSwiftTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/LibDCSwiftTests/Fixtures/Hardware",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/LibDCSwiftTests/Fixtures/hw_ostc_mk2_synthetic.dcrec",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/LibDCSwiftTests/Fixtures/logbook_entries_multi.bin",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/LibDCSwiftTests/Fixtures/reefnet_sensus_synthetic.dcrec",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/LibDCSwiftTests/Fixtures/shearwater_petrel_serial_synthetic.dcrec",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/LibDCSwiftTests/Fixtures/suunto_nautic_1787752091.golden.json",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/LibDCSwiftTests/Fixtures/suunto_nautic_1787752091.sbem",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "BLELinkStateTests.swift",
        "BluetoothSerialStreamTests.swift",
        "CableErrorTests.swift",
        "CustomStreamParityTests.swift",
        "DescriptorMatchingTests.swift",
        "DescriptorTransportLookupTests.swift",
        "DeviceCatalogTests.swift",
        "DiveComputerIdentityTests.swift",
        "DiveComputerSessionTests.swift",
        "DownloadOutcomeTests.swift",
        "EmptyReadTests.swift",
        "FingerprintIdentityTests.swift",
        "GenericParserSampleTests.swift",
        "GoldenParserTests.swift",
        "HIDCableSessionTests.swift",
        "HIDComputerFakes.swift",
        "HIDDiscoveryTests.swift",
        "HIDHardwareTests.swift",
        "HIDStreamTests.swift",
        "HIDTestSupport.swift",
        "LibDCLogSinkTests.swift",
        "NauticAutoSyncPolicyTests.swift",
        "OpenDeviceOnIOStreamTests.swift",
        "PelagicBLENameTests.swift",
        "RecordReplayTests.swift",
        "RejectedDiveTests.swift",
        "RetrievalCloseTests.swift",
        "RetrievalFlagTests.swift",
        "RetrievalSeamTests.swift",
        "SerialBuildConfigTests.swift",
        "SerialCableSessionTests.swift",
        "SerialCableTestSupport.swift",
        "SerialDiscoveryTests.swift",
        "SerialHardwareTests.swift",
        "SerialReplayTests.swift",
        "SessionClockTests.swift",
        "SessionIdentityTests.swift",
        "ShearwaterSerialReplayTests.swift",
        "StorageInjectionTests.swift",
        "StoredDeviceTransportTests.swift",
        "StreamTestSupport.swift",
        "SuuntoNauticParserTests.swift",
        "SuuntoNauticTransportTests.swift",
        "TankPressureTests.swift",
        "TapStreamTests.swift",
        "USBCableSessionTests.swift",
        "USBComputerFakes.swift",
        "USBDiscoveryTests.swift",
        "USBHardwareTests.swift",
        "USBReplayTests.swift",
        "USBStreamTests.swift",
        "USBTestSupport.swift"
      ],
      "target_dependencies" : [
        "LibDCSwift",
        "LibDCBridge",
        "Clibdivecomputer"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LibDCSwift",
      "module_type" : "SwiftTarget",
      "name" : "LibDCSwift",
      "path" : "Sources/LibDCSwift",
      "product_memberships" : [
        "LibDCSwift"
      ],
      "sources" : [
        "AutoSync/AutoSyncPolicy.swift",
        "AutoSync/CoreBluetoothNauticConnector.swift",
        "AutoSync/NauticAutoSync.swift",
        "AutoSync/NauticSyncLink.swift",
        "BLELinkState.swift",
        "BLEManager.swift",
        "Cable/CableDiscovery.swift",
        "Cable/CableEndpoint.swift",
        "Cable/CableError.swift",
        "Cable/HIDCableSession.swift",
        "Cable/HIDDeviceIO.swift",
        "Cable/HIDStream.swift",
        "Cable/IOKitCableDiscovery.swift",
        "Cable/SerialCableSession.swift",
        "Cable/USBCableSession.swift",
        "Cable/USBComputers.swift",
        "DiveLogRetriever.swift",
        "LibDCSwift.swift",
        "Logger.swift",
        "Models/DeviceConfiguration.swift",
        "Models/DeviceFingerprint.swift",
        "Models/DiveData.swift",
        "Models/SampleData.swift",
        "Models/StoredDevice.swift",
        "Parser/GenericParser.swift",
        "RetrievalCloseCoordinator.swift",
        "Session/DiveComputerSession.swift",
        "Streams/DCCustomStream.swift",
        "Streams/DCIOStreamBackend.swift",
        "Streams/DCRecording.swift",
        "Streams/ScriptedStream.swift",
        "Streams/TapStream.swift",
        "SuuntoNauticExplorer.swift",
        "SuuntoNauticResume.swift",
        "Transport/DCTransport.swift",
        "Transport/DeviceCatalog.swift",
        "Transport/DiveComputerIdentity.swift",
        "ViewModels/DiveDataViewModel.swift"
      ],
      "target_dependencies" : [
        "LibDCBridge",
        "Clibdivecomputer"
      ],
      "type" : "library"
    },
    {
      "c99name" : "LibDCBridge",
      "module_type" : "ClangTarget",
      "name" : "LibDCBridge",
      "path" : "Sources/LibDCBridge",
      "product_memberships" : [
        "LibDCSwift",
        "LibDCBridge"
      ],
      "sources" : [
        "src/BLEBridge.m",
        "src/USBBridge.m",
        "src/btserial.c",
        "src/cable_open.c",
        "src/configuredc.c",
        "src/transport_caps.c"
      ],
      "target_dependencies" : [
        "Clibdivecomputer"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Clibdivecomputer",
      "module_type" : "ClangTarget",
      "name" : "Clibdivecomputer",
      "path" : "libdivecomputer",
      "product_memberships" : [
        "LibDCSwift",
        "LibDCBridge"
      ],
      "sources" : [
        "src/aes.c",
        "src/array.c",
        "src/atomics_cobalt.c",
        "src/atomics_cobalt_parser.c",
        "src/ble.c",
        "src/bluetooth.c",
        "src/buffer.c",
        "src/checksum.c",
        "src/citizen_aqualand.c",
        "src/citizen_aqualand_parser.c",
        "src/cochran_commander.c",
        "src/cochran_commander_parser.c",
        "src/common.c",
        "src/context.c",
        "src/cressi_edy.c",
        "src/cressi_edy_parser.c",
        "src/cressi_goa.c",
        "src/cressi_goa_parser.c",
        "src/cressi_leonardo.c",
        "src/cressi_leonardo_parser.c",
        "src/custom.c",
        "src/datetime.c",
        "src/deepblu_cosmiq.c",
        "src/deepblu_cosmiq_parser.c",
        "src/deepsix_excursion.c",
        "src/deepsix_excursion_parser.c",
        "src/descriptor.c",
        "src/device.c",
        "src/diverite_nitekq.c",
        "src/diverite_nitekq_parser.c",
        "src/divesoft_freedom.c",
        "src/divesoft_freedom_parser.c",
        "src/divesystem_idive.c",
        "src/divesystem_idive_parser.c",
        "src/halcyon_symbios.c",
        "src/halcyon_symbios_parser.c",
        "src/hdlc.c",
        "src/heatshrink/heatshrink_decoder.c",
        "src/hw_ostc.c",
        "src/hw_ostc3.c",
        "src/hw_ostc_parser.c",
        "src/ihex.c",
        "src/iostream.c",
        "src/irda.c",
        "src/iterator.c",
        "src/liquivision_lynx.c",
        "src/liquivision_lynx_parser.c",
        "src/mares_common.c",
        "src/mares_darwin.c",
        "src/mares_darwin_parser.c",
        "src/mares_iconhd.c",
        "src/mares_iconhd_parser.c",
        "src/mares_nemo.c",
        "src/mares_nemo_parser.c",
        "src/mares_puck.c",
        "src/mclean_extreme.c",
        "src/mclean_extreme_parser.c",
        "src/oceanic_atom2.c",
        "src/oceanic_atom2_parser.c",
        "src/oceanic_common.c",
        "src/oceanic_veo250.c",
        "src/oceanic_veo250_parser.c",
        "src/oceanic_vtpro.c",
        "src/oceanic_vtpro_parser.c",
        "src/oceans_s1.c",
        "src/oceans_s1_common.c",
        "src/oceans_s1_parser.c",
        "src/packet.c",
        "src/parser.c",
        "src/pelagic_i330r.c",
        "src/platform.c",
        "src/rbstream.c",
        "src/reefnet_sensus.c",
        "src/reefnet_sensus_parser.c",
        "src/reefnet_sensuspro.c",
        "src/reefnet_sensuspro_parser.c",
        "src/reefnet_sensusultra.c",
        "src/reefnet_sensusultra_parser.c",
        "src/ringbuffer.c",
        "src/seac_screen.c",
        "src/seac_screen_common.c",
        "src/seac_screen_parser.c",
        "src/serial_posix.c",
        "src/shearwater_common.c",
        "src/shearwater_petrel.c",
        "src/shearwater_predator.c",
        "src/shearwater_predator_parser.c",
        "src/socket.c",
        "src/sporasub_sp2.c",
        "src/sporasub_sp2_parser.c",
        "src/suunto_common.c",
        "src/suunto_common2.c",
        "src/suunto_d9.c",
        "src/suunto_d9_parser.c",
        "src/suunto_eon.c",
        "src/suunto_eon_parser.c",
        "src/suunto_eonsteel.c",
        "src/suunto_eonsteel_parser.c",
        "src/suunto_nautic.c",
        "src/suunto_nautic_parser.c",
        "src/suunto_solution.c",
        "src/suunto_solution_parser.c",
        "src/suunto_vyper.c",
        "src/suunto_vyper2.c",
        "src/suunto_vyper_parser.c",
        "src/tecdiving_divecomputereu.c",
        "src/tecdiving_divecomputereu_parser.c",
        "src/timer.c",
        "src/usb.c",
        "src/usbhid.c",
        "src/uwatec_aladin.c",
        "src/uwatec_memomouse.c",
        "src/uwatec_memomouse_parser.c",
        "src/uwatec_smart.c",
        "src/uwatec_smart_parser.c",
        "src/version.c",
        "src/zeagle_n2ition3.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ClibdcVerGeneratorPlugin",
      "module_type" : "PluginTarget",
      "name" : "ClibdcVerGeneratorPlugin",
      "path" : "Plugins/ClibdcVerGeneratorPlugin",
      "plugin_capability" : {
        "intent" : {
          "description" : "Generate libdivecomputer version.h",
          "type" : "custom",
          "verb" : "libdc-version-header"
        },
        "permissions" : [
          {
            "network_scope" : {
              "none" : {
              }
            },
            "reason" : "The plugin generates the libdivecomputer version.h file",
            "type" : "writeToPackageDirectory"
          }
        ],
        "type" : "command"
      },
      "product_memberships" : [
        "ClibdcVerGeneratorPlugin"
      ],
      "sources" : [
        "ClibdcVerGeneratorPlugin.swift"
      ],
      "type" : "plugin"
    }
  ],
  "tools_version" : "5.10"
}
Done.