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 5.10 for Linux on 8 May 2025 00:09:01 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/deepsealabs/libdc-swift.git
Reference: v1.4.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/deepsealabs/libdc-swift
 * tag               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:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/deepsealabs/libdc-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:616ef225d0085997f26355ad9695b1159b91f6187a43f9ff135cb59d096bc97d
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/libdivecomputer/m4': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/libdivecomputer/doc': File not found.
Building for debugging...
[0/119] Compiling buffer.c
[1/119] Compiling checksum.c
[2/119] Write sources
In file included from /host/spi-builder-workspace/libdivecomputer/src/atomics_cobalt_parser.c:27:
/host/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 /host/spi-builder-workspace/libdivecomputer/src/bluetooth.c:51:
/host/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.
[3/119] Compiling atomics_cobalt_parser.c
[3/119] Compiling bluetooth.c
In file included from /host/spi-builder-workspace/libdivecomputer/src/atomics_cobalt.c:28:
/host/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.
[5/119] Compiling atomics_cobalt.c
In file included from /host/spi-builder-workspace/libdivecomputer/src/rbstream.c:26:
/host/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 rbstream.c
In file included from /host/spi-builder-workspace/libdivecomputer/src/cressi_leonardo.c:27:
/host/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_leonardo.c
In file included from /host/spi-builder-workspace/libdivecomputer/src/cressi_goa.c:29:
/host/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.
[8/119] Compiling cressi_goa.c
In file included from /host/spi-builder-workspace/libdivecomputer/src/zeagle_n2ition3.c:27:
/host/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 zeagle_n2ition3.c
In file included from /host/spi-builder-workspace/Sources/LibDCBridge/src/BLEBridge.m:1:
/host/spi-builder-workspace/Sources/LibDCBridge/include/BLEBridge.h:10:17: fatal error: module 'Foundation' not found
        @import Foundation;
         ~~~~~~~^~~~~~~~~~
1 error generated.
[10/119] Compiling BLEBridge.m
In file included from /host/spi-builder-workspace/libdivecomputer/src/uwatec_memomouse.c:27:
/host/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
        ^
[10/119] Compiling uwatec_memomouse.c
[10/119] Compiling uwatec_aladin.c
[10/119] Compiling configuredc.c
In file included from /host/spi-builder-workspace/libdivecomputer/src/uwatec_smart_parser.c:28:
/host/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
        ^
[10/119] Compiling uwatec_smart_parser.c
In file included from /host/spi-builder-workspace/libdivecomputer/src/uwatec_memomouse_parser.c:27:
/host/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
        ^
[10/119] Compiling uwatec_memomouse_parser.c
In file included from /host/spi-builder-workspace/libdivecomputer/src/uwatec_smart.c:26:
/host/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
        ^
[10/119] Compiling uwatec_smart.c
[10/119] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 5.10 linux