The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build LibDCSwift, reference 1.3.0 (f6d94f), with Swift 5.10 for Linux on 4 Feb 2025 07:08:28 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/deepsealabs/libdc-swift.git
Reference: 1.3.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               1.3.0      -> FETCH_HEAD
HEAD is now at f6d94f0 update: changelog.md
Cloned https://github.com/deepsealabs/libdc-swift.git
Revision (git rev-parse @):
f6d94f01f358e7a96126e1089132b779af9e67ec
SUCCESS checkout https://github.com/deepsealabs/libdc-swift.git at 1.3.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-4606859-0":/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:8b386ca1081dd55ec0944429387f246ccb59ef99c9c8cbb418b0abd78460b38f
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Building for debugging...
In file included from /host/spi-builder-workspace/libdivecomputer/src/iterator.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.
[0/117] Compiling iterator.c
In file included from /host/spi-builder-workspace/libdivecomputer/src/iostream.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.
[1/117] Compiling iostream.c
In file included from /host/spi-builder-workspace/libdivecomputer/src/irda.c:47:
/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.
[1/117] Compiling irda.c
[2/117] Write sources
In file included from /host/spi-builder-workspace/libdivecomputer/src/liquivision_lynx_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
        ^
1 warning generated.
In file included from /host/spi-builder-workspace/libdivecomputer/src/mares_common.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.
[4/117] Compiling liquivision_lynx_parser.c
[4/117] Compiling mares_common.c
In file included from /host/spi-builder-workspace/libdivecomputer/src/liquivision_lynx.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.
[6/117] Compiling liquivision_lynx.c
In file included from /host/spi-builder-workspace/libdivecomputer/src/hw_ostc_parser.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.
[7/117] Compiling hw_ostc_parser.c
In file included from /host/spi-builder-workspace/libdivecomputer/src/hw_ostc3.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.
[8/117] Compiling hw_ostc3.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.
[9/117] Compiling BLEBridge.m
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/117] Compiling zeagle_n2ition3.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
        ^
1 warning generated.
[9/117] Compiling uwatec_smart.c
[9/117] Compiling uwatec_memomouse.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
        ^
[9/117] Compiling uwatec_memomouse_parser.c
[9/117] 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
        ^
[9/117] Compiling uwatec_smart_parser.c
[9/117] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 5.10 linux