Build Information
Failed to build LibDCSwift, reference main (af7ddb
), with Swift 5.10 for macOS (SPM) on 8 May 2025 07:30:48 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.61.3
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 af7ddb6 Remove unused variables
Cloned https://github.com/deepsealabs/libdc-swift.git
Revision (git rev-parse @):
af7ddb6ecabd684c5afd468f2f86a157046007b2
SUCCESS checkout https://github.com/deepsealabs/libdc-swift.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $PWD
https://github.com/deepsealabs/libdc-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
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:58:9: warning: 'DEBUG' macro redefined [-Wmacro-redefined]
#define DEBUG(context, ...) UNUSED(context)
^
<command line>:2:9: note: previous definition is here
#define DEBUG 1
^
1 warning generated.
[0/119] Compiling context.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:58:9: warning: 'DEBUG' macro redefined [-Wmacro-redefined]
#define DEBUG(context, ...) UNUSED(context)
^
<command line>:2:9: note: previous definition is here
#define DEBUG 1
^
1 warning generated.
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:58:9: warning: 'DEBUG' macro redefined [-Wmacro-redefined]
#define DEBUG(context, ...) UNUSED(context)
^
<command line>:2:9: note: previous definition is here
#define DEBUG 1
^
1 warning generated.
[1/119] Compiling cressi_edy.c
[1/119] Write sources
[1/119] Compiling cressi_edy_parser.c
[4/119] Compiling buffer.c
[5/119] Compiling ble.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:58:9: warning: 'DEBUG' macro redefined [-Wmacro-redefined]
#define DEBUG(context, ...) UNUSED(context)
^
<command line>:2:9: note: previous definition is here
#define DEBUG 1
^
1 warning generated.
[6/119] Compiling zeagle_n2ition3.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:58:9: warning: 'DEBUG' macro redefined [-Wmacro-redefined]
#define DEBUG(context, ...) UNUSED(context)
^
<command line>:2:9: note: previous definition is here
#define DEBUG 1
^
1 warning generated.
[7/119] Compiling cressi_goa.c
[8/119] Write swift-version-33747A42983211AE.txt
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:58:9: warning: 'DEBUG' macro redefined [-Wmacro-redefined]
#define DEBUG(context, ...) UNUSED(context)
^
<command line>:2:9: note: previous definition is here
#define DEBUG 1
^
1 warning generated.
[9/119] Compiling uwatec_smart_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:58:9: warning: 'DEBUG' macro redefined [-Wmacro-redefined]
#define DEBUG(context, ...) UNUSED(context)
^
<command line>:2:9: note: previous definition is here
#define DEBUG 1
^
1 warning generated.
[10/119] Compiling uwatec_smart.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:58:9: warning: 'DEBUG' macro redefined [-Wmacro-redefined]
#define DEBUG(context, ...) UNUSED(context)
^
<command line>:2:9: note: previous definition is here
#define DEBUG 1
^
1 warning generated.
[11/119] Compiling uwatec_memomouse_parser.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:58:9: warning: 'DEBUG' macro redefined [-Wmacro-redefined]
#define DEBUG(context, ...) UNUSED(context)
^
<command line>:2:9: note: previous definition is here
#define DEBUG 1
^
1 warning generated.
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:58:9: warning: 'DEBUG' macro redefined [-Wmacro-redefined]
#define DEBUG(context, ...) UNUSED(context)
^
<command line>:2:9: note: previous definition is here
#define DEBUG 1
^
1 warning generated.
[12/119] Compiling device.c
[13/119] 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:58:9: warning: 'DEBUG' macro redefined [-Wmacro-redefined]
#define DEBUG(context, ...) UNUSED(context)
^
<command line>:2:9: note: previous definition is here
#define DEBUG 1
^
1 warning generated.
[14/119] Compiling uwatec_aladin.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:58:9: warning: 'DEBUG' macro redefined [-Wmacro-redefined]
#define DEBUG(context, ...) UNUSED(context)
^
<command line>:2:9: note: previous definition is here
#define DEBUG 1
^
1 warning generated.
[15/119] Compiling usbhid.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:58:9: warning: 'DEBUG' macro redefined [-Wmacro-redefined]
#define DEBUG(context, ...) UNUSED(context)
^
<command line>:2:9: note: previous definition is here
#define DEBUG 1
^
1 warning generated.
[16/119] Compiling usb.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:58:9: warning: 'DEBUG' macro redefined [-Wmacro-redefined]
#define DEBUG(context, ...) UNUSED(context)
^
<command line>:2:9: note: previous definition is here
#define DEBUG 1
^
1 warning generated.
[17/119] Compiling atomics_cobalt_parser.c
[18/119] Compiling timer.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:58:9: warning: 'DEBUG' macro redefined [-Wmacro-redefined]
#define DEBUG(context, ...) UNUSED(context)
^
<command line>:2:9: note: previous definition is here
#define DEBUG 1
^
1 warning generated.
[19/119] 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:58:9: warning: 'DEBUG' macro redefined [-Wmacro-redefined]
#define DEBUG(context, ...) UNUSED(context)
^
<command line>:2:9: note: previous definition is here
#define DEBUG 1
^
1 warning generated.
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:58:9: warning: 'DEBUG' macro redefined [-Wmacro-redefined]
#define DEBUG(context, ...) UNUSED(context)
^
<command line>:2:9: note: previous definition is here
#define DEBUG 1
^
1 warning generated.
[20/119] Compiling suunto_vyper_parser.c
[21/119] Compiling tecdiving_divecomputereu.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:58:9: warning: 'DEBUG' macro redefined [-Wmacro-redefined]
#define DEBUG(context, ...) UNUSED(context)
^
<command line>:2:9: note: previous definition is here
#define DEBUG 1
^
1 warning generated.
[22/119] Compiling suunto_vyper2.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:58:9: warning: 'DEBUG' macro redefined [-Wmacro-redefined]
#define DEBUG(context, ...) UNUSED(context)
^
<command line>:2:9: note: previous definition is here
#define DEBUG 1
^
1 warning generated.
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:58:9: warning: 'DEBUG' macro redefined [-Wmacro-redefined]
#define DEBUG(context, ...) UNUSED(context)
^
<command line>:2:9: note: previous definition is here
#define DEBUG 1
^
1 warning generated.
[23/119] Compiling suunto_vyper.c
[24/119] 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:58:9: warning: 'DEBUG' macro redefined [-Wmacro-redefined]
#define DEBUG(context, ...) UNUSED(context)
^
<command line>:2:9: note: previous definition is here
#define DEBUG 1
^
1 warning generated.
[25/119] Compiling suunto_solution.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:58:9: warning: 'DEBUG' macro redefined [-Wmacro-redefined]
#define DEBUG(context, ...) UNUSED(context)
^
<command line>:2:9: note: previous definition is here
#define DEBUG 1
^
1 warning generated.
[26/119] 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:58:9: warning: 'DEBUG' macro redefined [-Wmacro-redefined]
#define DEBUG(context, ...) UNUSED(context)
^
<command line>:2:9: note: previous definition is here
#define DEBUG 1
^
1 warning generated.
[27/119] Compiling suunto_eonsteel.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:58:9: warning: 'DEBUG' macro redefined [-Wmacro-redefined]
#define DEBUG(context, ...) UNUSED(context)
^
<command line>:2:9: note: previous definition is here
#define DEBUG 1
^
1 warning generated.
[28/119] Compiling suunto_eonsteel_parser.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:58:9: warning: 'DEBUG' macro redefined [-Wmacro-redefined]
#define DEBUG(context, ...) UNUSED(context)
^
<command line>:2:9: note: previous definition is here
#define DEBUG 1
^
1 warning generated.
[29/119] Compiling suunto_eon.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:58:9: warning: 'DEBUG' macro redefined [-Wmacro-redefined]
#define DEBUG(context, ...) UNUSED(context)
^
<command line>:2:9: note: previous definition is here
#define DEBUG 1
^
1 warning generated.
[30/119] Compiling suunto_d9.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:58:9: warning: 'DEBUG' macro redefined [-Wmacro-redefined]
#define DEBUG(context, ...) UNUSED(context)
^
<command line>:2:9: note: previous definition is here
#define DEBUG 1
^
1 warning generated.
[31/119] Compiling suunto_d9_parser.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:58:9: warning: 'DEBUG' macro redefined [-Wmacro-redefined]
#define DEBUG(context, ...) UNUSED(context)
^
<command line>:2:9: note: previous definition is here
#define DEBUG 1
^
1 warning generated.
[32/119] Compiling cressi_goa_parser.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:58:9: warning: 'DEBUG' macro redefined [-Wmacro-redefined]
#define DEBUG(context, ...) UNUSED(context)
^
<command line>:2:9: note: previous definition is here
#define DEBUG 1
^
1 warning generated.
[33/119] Compiling bluetooth.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:58:9: warning: 'DEBUG' macro redefined [-Wmacro-redefined]
#define DEBUG(context, ...) UNUSED(context)
^
<command line>:2:9: note: previous definition is here
#define DEBUG 1
^
1 warning generated.
[34/119] Compiling suunto_common2.c
[35/119] Compiling configuredc.c
[36/119] Compiling suunto_common.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:58:9: warning: 'DEBUG' macro redefined [-Wmacro-redefined]
#define DEBUG(context, ...) UNUSED(context)
^
<command line>:2:9: note: previous definition is here
#define DEBUG 1
^
1 warning generated.
[37/119] 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:58:9: warning: 'DEBUG' macro redefined [-Wmacro-redefined]
#define DEBUG(context, ...) UNUSED(context)
^
<command line>:2:9: note: previous definition is here
#define DEBUG 1
^
1 warning generated.
[38/119] 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:58:9: warning: 'DEBUG' macro redefined [-Wmacro-redefined]
#define DEBUG(context, ...) UNUSED(context)
^
<command line>:2:9: note: previous definition is here
#define DEBUG 1
^
1 warning generated.
[39/119] Compiling socket.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:58:9: warning: 'DEBUG' macro redefined [-Wmacro-redefined]
#define DEBUG(context, ...) UNUSED(context)
^
<command line>:2:9: note: previous definition is here
#define DEBUG 1
^
/Users/admin/builder/spi-builder-workspace/libdivecomputer/src/shearwater_predator_parser.c:1104:31: error: expected ';' at end of declaration
unsigned int DC_ATTR_UNUSED timestamp = array_uint32_be (data + offset + 4);
^
;
1 warning and 1 error generated.
[40/119] Compiling shearwater_predator_parser.c
[40/119] Compiling reefnet_sensusultra_parser.c
[40/119] Compiling ringbuffer.c
[40/119] Compiling serial_posix.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:58:9: warning: 'DEBUG' macro redefined [-Wmacro-redefined]
#define DEBUG(context, ...) UNUSED(context)
^
<command line>:2:9: note: previous definition is here
#define DEBUG 1
^
[40/119] Compiling shearwater_petrel.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:58:9: warning: 'DEBUG' macro redefined [-Wmacro-redefined]
#define DEBUG(context, ...) UNUSED(context)
^
<command line>:2:9: note: previous definition is here
#define DEBUG 1
^
[40/119] Compiling shearwater_predator.c
[40/119] Compiling shearwater_common.c
[40/119] Compiling seac_screen.c
[40/119] Compiling seac_screen_parser.c
[40/119] Compiling BLEBridge.m
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/libdivecomputer/doc': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/libdivecomputer/m4': File not found.
BUILD FAILURE 5.10 macosSpm