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 SwiftSlash, reference 4.0.0 (8400ad), with Swift 6.2 (beta) for Android on 24 Jun 2025 00:32:38 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tannerdsilva/SwiftSlash.git
Reference: 4.0.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/tannerdsilva/SwiftSlash
 * tag               4.0.0      -> FETCH_HEAD
HEAD is now at 8400ad9 v4.0.0 release - a new era
Cloned https://github.com/tannerdsilva/SwiftSlash.git
Revision (git rev-parse @):
8400ad9f72c4e91490b40048ac9f8475be562207
SUCCESS checkout https://github.com/tannerdsilva/SwiftSlash.git at 4.0.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/tannerdsilva/SwiftSlash.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Building for debugging...
[0/16] Compiling __cswiftslash_types __cswiftslash_types.c
[1/16] Write sources
[9/16] Compiling __cswiftslash_eventtrigger __cswiftslash_eventtrigger.c
[10/16] Compiling __cswiftslash_posix_helpers __cswiftslash_posix_helpers.c
[11/16] Compiling __cswiftslash_fifo __cswiftslash_fifo.c
[12/16] Compiling __cswiftslash_future __cswiftslash_future.c
/host/spi-builder-workspace/Sources/__cswiftslash_threads/__cswiftslash_threads.c:23:2: error: call to undeclared function 'pthread_setcancelstate'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   23 |         pthread_setcancelstate(PTHREAD_CANCEL_DISABLE, NULL);
      |         ^
/host/spi-builder-workspace/Sources/__cswiftslash_threads/__cswiftslash_threads.c:23:25: error: use of undeclared identifier 'PTHREAD_CANCEL_DISABLE'
   23 |         pthread_setcancelstate(PTHREAD_CANCEL_DISABLE, NULL);
      |                                ^
/host/spi-builder-workspace/Sources/__cswiftslash_threads/__cswiftslash_threads.c:24:2: error: call to undeclared function 'pthread_setcanceltype'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   24 |         pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, NULL);
      |         ^
/host/spi-builder-workspace/Sources/__cswiftslash_threads/__cswiftslash_threads.c:24:24: error: use of undeclared identifier 'PTHREAD_CANCEL_DEFERRED'
   24 |         pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, NULL);
      |                               ^
/host/spi-builder-workspace/Sources/__cswiftslash_threads/__cswiftslash_threads.c:30:25: error: use of undeclared identifier 'PTHREAD_CANCEL_ENABLE'
   30 |         pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, NULL);
      |                                ^
/host/spi-builder-workspace/Sources/__cswiftslash_threads/__cswiftslash_threads.c:31:2: error: call to undeclared function 'pthread_testcancel'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   31 |         pthread_testcancel();
      |         ^
6 errors generated.
[13/16] Compiling __cswiftslash_threads __cswiftslash_threads.c
[13/16] Compiling __cswiftslash_identified_list __cswiftslash_identified_list.c
[13/16] Write swift-version-8C5A4AE7A8CE2BA.txt
BUILD FAILURE 6.2 android