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.1 (34241d), with Swift 6.2 (beta) for Android on 10 Sep 2025 00:04:46 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tannerdsilva/SwiftSlash.git
Reference: 4.0.1
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.1      -> FETCH_HEAD
HEAD is now at 34241d5 improved cpu efficiency
Cloned https://github.com/tannerdsilva/SwiftSlash.git
Revision (git rev-parse @):
34241d583423136a89f8ef8d91c72edfbab10e08
SUCCESS checkout https://github.com/tannerdsilva/SwiftSlash.git at 4.0.1
========================================
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-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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_posix_helpers __cswiftslash_posix_helpers.c
[1/16] Write sources
[8/16] Compiling __cswiftslash_types __cswiftslash_types.c
[10/16] Compiling __cswiftslash_future __cswiftslash_future.c
[11/16] Compiling __cswiftslash_eventtrigger __cswiftslash_eventtrigger.c
[12/16] Compiling __cswiftslash_fifo __cswiftslash_fifo.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] Write swift-version-8C5A4AE7A8CE2BA.txt
[13/16] Compiling __cswiftslash_identified_list __cswiftslash_identified_list.c
BUILD FAILURE 6.2 android