The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build LibDCSwift, reference v1.4.0 (af7ddb), with Swift 6.2 (beta) for macOS (SPM) on 23 Jun 2025 23:58:23 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/deepsealabs/libdc-swift.git
Reference: v1.4.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/deepsealabs/libdc-swift
 * tag               v1.4.0     -> FETCH_HEAD
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 v1.4.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/deepsealabs/libdc-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/119] Compiling array.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]
   58 | #define DEBUG(context, ...) UNUSED(context)
      |         ^
<command line>:2:9: note: previous definition is here
    2 | #define DEBUG 1
      |         ^
1 warning generated.
[1/119] Compiling atomics_cobalt_parser.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:58:9: warning: 'DEBUG' macro redefined [-Wmacro-redefined]
   58 | #define DEBUG(context, ...) UNUSED(context)
      |         ^
<command line>:2:9: note: previous definition is here
    2 | #define DEBUG 1
      |         ^
1 warning generated.
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]
   58 | #define DEBUG(context, ...) UNUSED(context)
      |         ^
<command line>:2:9: note: previous definition is here
    2 | #define DEBUG 1
      |         ^
1 warning generated.
[2/119] Compiling atomics_cobalt.c
[2/119] Write sources
[2/119] Compiling suunto_vyper_parser.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:58:9: warning: 'DEBUG' macro redefined [-Wmacro-redefined]
   58 | #define DEBUG(context, ...) UNUSED(context)
      |         ^
<command line>:2:9: note: previous definition is here
    2 | #define DEBUG 1
      |         ^
1 warning generated.
[5/119] Compiling oceanic_veo250_parser.c
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:58:9: warning: 'DEBUG' macro redefined [-Wmacro-redefined]
   58 | #define DEBUG(context, ...) UNUSED(context)
      |         ^
<command line>:2:9: note: previous definition is here
    2 | #define DEBUG 1
      |         ^
1 warning generated.
[6/119] Compiling mares_nemo.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]
   58 | #define DEBUG(context, ...) UNUSED(context)
      |         ^
<command line>:2:9: note: previous definition is here
    2 | #define DEBUG 1
      |         ^
1 warning generated.
[7/119] Compiling zeagle_n2ition3.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:58:9: warning: 'DEBUG' macro redefined [-Wmacro-redefined]
   58 | #define DEBUG(context, ...) UNUSED(context)
      |         ^
<command line>:2:9: note: previous definition is here
    2 | #define DEBUG 1
      |         ^
1 warning generated.
[8/119] Compiling oceanic_common.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:58:9: warning: 'DEBUG' macro redefined [-Wmacro-redefined]
   58 | #define DEBUG(context, ...) UNUSED(context)
      |         ^
<command line>:2:9: note: previous definition is here
    2 | #define DEBUG 1
      |         ^
1 warning generated.
[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]
   58 | #define DEBUG(context, ...) UNUSED(context)
      |         ^
<command line>:2:9: note: previous definition is here
    2 | #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]
   58 | #define DEBUG(context, ...) UNUSED(context)
      |         ^
<command line>:2:9: note: previous definition is here
    2 | #define DEBUG 1
      |         ^
1 warning generated.
[11/119] Compiling uwatec_memomouse_parser.c
[12/119] Write swift-version-1EA4D86E10B52AF.txt
[13/119] Compiling ble.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]
   58 | #define DEBUG(context, ...) UNUSED(context)
      |         ^
<command line>:2:9: note: previous definition is here
    2 | #define DEBUG 1
      |         ^
1 warning generated.
[14/119] Compiling usbhid.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]
   58 | #define DEBUG(context, ...) UNUSED(context)
      |         ^
<command line>:2:9: note: previous definition is here
    2 | #define DEBUG 1
      |         ^
1 warning generated.
[15/119] Compiling uwatec_aladin.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:58:9: warning: 'DEBUG' macro redefined [-Wmacro-redefined]
   58 | #define DEBUG(context, ...) UNUSED(context)
      |         ^
<command line>:2:9: note: previous definition is here
    2 | #define DEBUG 1
      |         ^
1 warning generated.
[16/119] Compiling uwatec_memomouse.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]
   58 | #define DEBUG(context, ...) UNUSED(context)
      |         ^
<command line>:2:9: note: previous definition is here
    2 | #define DEBUG 1
      |         ^
1 warning generated.
[17/119] 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:58:9: warning: 'DEBUG' macro redefined [-Wmacro-redefined]
   58 | #define DEBUG(context, ...) UNUSED(context)
      |         ^
<command line>:2:9: note: previous definition is here
    2 | #define DEBUG 1
      |         ^
1 warning generated.
[18/119] Compiling tecdiving_divecomputereu_parser.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]
   58 | #define DEBUG(context, ...) UNUSED(context)
      |         ^
<command line>:2:9: note: previous definition is here
    2 | #define DEBUG 1
      |         ^
1 warning generated.
[19/119] Compiling suunto_vyper2.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:58:9: warning: 'DEBUG' macro redefined [-Wmacro-redefined]
   58 | #define DEBUG(context, ...) UNUSED(context)
      |         ^
<command line>:2:9: note: previous definition is here
    2 | #define DEBUG 1
      |         ^
1 warning generated.
[20/119] Compiling tecdiving_divecomputereu.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]
   58 | #define DEBUG(context, ...) UNUSED(context)
      |         ^
<command line>:2:9: note: previous definition is here
    2 | #define DEBUG 1
      |         ^
1 warning generated.
[21/119] 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:58:9: warning: 'DEBUG' macro redefined [-Wmacro-redefined]
   58 | #define DEBUG(context, ...) UNUSED(context)
      |         ^
<command line>:2:9: note: previous definition is here
    2 | #define DEBUG 1
      |         ^
1 warning generated.
[22/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]
   58 | #define DEBUG(context, ...) UNUSED(context)
      |         ^
<command line>:2:9: note: previous definition is here
    2 | #define DEBUG 1
      |         ^
1 warning generated.
[23/119] Compiling suunto_solution.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:58:9: warning: 'DEBUG' macro redefined [-Wmacro-redefined]
   58 | #define DEBUG(context, ...) UNUSED(context)
      |         ^
<command line>:2:9: note: previous definition is here
    2 | #define DEBUG 1
      |         ^
1 warning generated.
[24/119] Compiling mares_iconhd_parser.c
[25/119] Compiling configuredc.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]
   58 | #define DEBUG(context, ...) UNUSED(context)
      |         ^
<command line>:2:9: note: previous definition is here
    2 | #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]
   58 | #define DEBUG(context, ...) UNUSED(context)
      |         ^
<command line>:2:9: note: previous definition is here
    2 | #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_eon.c:27:
/Users/admin/builder/spi-builder-workspace/libdivecomputer/src/context-private.h:58:9: warning: 'DEBUG' macro redefined [-Wmacro-redefined]
   58 | #define DEBUG(context, ...) UNUSED(context)
      |         ^
<command line>:2:9: note: previous definition is here
    2 | #define DEBUG 1
      |         ^
1 warning generated.
[28/119] Compiling suunto_eon.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]
   58 | #define DEBUG(context, ...) UNUSED(context)
      |         ^
<command line>:2:9: note: previous definition is here
    2 | #define DEBUG 1
      |         ^
1 warning generated.
[29/119] 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:58:9: warning: 'DEBUG' macro redefined [-Wmacro-redefined]
   58 | #define DEBUG(context, ...) UNUSED(context)
      |         ^
<command line>:2:9: note: previous definition is here
    2 | #define DEBUG 1
      |         ^
1 warning generated.
[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]
   58 | #define DEBUG(context, ...) UNUSED(context)
      |         ^
<command line>:2:9: note: previous definition is here
    2 | #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/suunto_common2.c:26:
/Users/admin/builder/spi-builder-workspace/libdivecomputer/src/context-private.h:58:9: warning: 'DEBUG' macro redefined [-Wmacro-redefined]
   58 | #define DEBUG(context, ...) UNUSED(context)
      |         ^
<command line>:2:9: note: previous definition is here
    2 | #define DEBUG 1
      |         ^
1 warning generated.
[32/119] Compiling suunto_common2.c
[33/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]
   58 | #define DEBUG(context, ...) UNUSED(context)
      |         ^
<command line>:2:9: note: previous definition is here
    2 | #define DEBUG 1
      |         ^
1 warning generated.
[34/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]
   58 | #define DEBUG(context, ...) UNUSED(context)
      |         ^
<command line>:2:9: note: previous definition is here
    2 | #define DEBUG 1
      |         ^
1 warning generated.
[35/119] Compiling sporasub_sp2.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]
   58 | #define DEBUG(context, ...) UNUSED(context)
      |         ^
<command line>:2:9: note: previous definition is here
    2 | #define DEBUG 1
      |         ^
/Users/admin/builder/spi-builder-workspace/libdivecomputer/src/shearwater_predator_parser.c:1104:31: error: expected ';' at end of declaration
 1104 |                         unsigned int DC_ATTR_UNUSED timestamp = array_uint32_be (data + offset + 4);
      |                                                    ^
      |                                                    ;
1 warning and 1 error generated.
[36/119] Compiling shearwater_predator_parser.c
[36/119] Compiling shearwater_common.c
[36/119] Compiling seac_screen_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:58:9: warning: 'DEBUG' macro redefined [-Wmacro-redefined]
   58 | #define DEBUG(context, ...) UNUSED(context)
      |         ^
<command line>:2:9: note: previous definition is here
    2 | #define DEBUG 1
      |         ^
[36/119] Compiling shearwater_petrel.c
[36/119] Compiling socket.c
[36/119] Compiling serial_posix.c
[36/119] Compiling bluetooth.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]
   58 | #define DEBUG(context, ...) UNUSED(context)
      |         ^
<command line>:2:9: note: previous definition is here
    2 | #define DEBUG 1
      |         ^
[36/119] Compiling shearwater_predator.c
[36/119] Compiling timer.c
[36/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 6.2 macosSpm