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 swift-uv, reference master (1c65d1), with Swift 6.2 (beta) for Android on 22 Jun 2025 08:33:53 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/RussBaz/swift-uv.git
Reference: master
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/RussBaz/swift-uv
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 1c65d1e Possible dependency fix workaround on Linux?
Cloned https://github.com/RussBaz/swift-uv.git
Revision (git rev-parse @):
1c65d1edefc0dfbdc19b75f655b4ce99fb092db7
SUCCESS checkout https://github.com/RussBaz/swift-uv.git at master
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/RussBaz/swift-uv.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/RussBaz/mini-alloc
[1/43] Fetching mini-alloc
[44/16683] Fetching mini-alloc, swift-collections
Fetched https://github.com/RussBaz/mini-alloc from cache (1.24s)
Fetched https://github.com/apple/swift-collections.git from cache (1.27s)
Computing version for https://github.com/RussBaz/mini-alloc
Computed https://github.com/RussBaz/mini-alloc at 1.0.2 (1.67s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.72s)
Creating working copy for https://github.com/RussBaz/mini-alloc
Working copy of https://github.com/RussBaz/mini-alloc resolved at 1.0.2
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Building for debugging...
[0/62] Write sources
[11/62] Compiling getaddrinfo.c
[12/62] Compiling uv-data-getter-setters.c
[13/62] Compiling inet.c
[14/62] Write swift-version-8C5A4AE7A8CE2BA.txt
[14/62] Compiling threadpool.c
[16/62] Compiling version.c
[17/62] Compiling getnameinfo.c
[18/62] Compiling linux.c
[19/62] Compiling uv-common.c
[20/64] Compiling tty.c
[21/69] Compiling tcp.c
/host/spi-builder-workspace/Sources/Clibuv/src/unix/thread.c:188:3: error: use of undeclared identifier 'cpu_set_t'
  188 |   uv__cpu_set_t cpuset;
      |   ^
/host/spi-builder-workspace/Sources/Clibuv/src/unix/thread.c:46:24: note: expanded from macro 'uv__cpu_set_t'
   46 | # define uv__cpu_set_t cpu_set_t
      |                        ^
/host/spi-builder-workspace/Sources/Clibuv/src/unix/thread.c:203:3: error: call to undeclared function 'CPU_ZERO'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  203 |   CPU_ZERO(&cpuset);
      |   ^
/host/spi-builder-workspace/Sources/Clibuv/src/unix/thread.c:203:13: error: use of undeclared identifier 'cpuset'
  203 |   CPU_ZERO(&cpuset);
      |             ^
/host/spi-builder-workspace/Sources/Clibuv/src/unix/thread.c:206:7: error: call to undeclared function 'CPU_SET'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  206 |       CPU_SET(i, &cpuset);
      |       ^
/host/spi-builder-workspace/Sources/Clibuv/src/unix/thread.c:206:19: error: use of undeclared identifier 'cpuset'
  206 |       CPU_SET(i, &cpuset);
      |                   ^
/host/spi-builder-workspace/Sources/Clibuv/src/unix/thread.c:209:7: error: call to undeclared function 'sched_setaffinity'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  209 |   if (sched_setaffinity(pthread_gettid_np(*tid), sizeof(cpuset), &cpuset))
      |       ^
/host/spi-builder-workspace/Sources/Clibuv/src/unix/thread.c:209:57: error: use of undeclared identifier 'cpuset'
  209 |   if (sched_setaffinity(pthread_gettid_np(*tid), sizeof(cpuset), &cpuset))
      |                                                         ^
/host/spi-builder-workspace/Sources/Clibuv/src/unix/thread.c:209:67: error: use of undeclared identifier 'cpuset'
  209 |   if (sched_setaffinity(pthread_gettid_np(*tid), sizeof(cpuset), &cpuset))
      |                                                                   ^
/host/spi-builder-workspace/Sources/Clibuv/src/unix/thread.c:226:3: error: use of undeclared identifier 'cpu_set_t'
  226 |   uv__cpu_set_t cpuset;
      |   ^
/host/spi-builder-workspace/Sources/Clibuv/src/unix/thread.c:46:24: note: expanded from macro 'uv__cpu_set_t'
   46 | # define uv__cpu_set_t cpu_set_t
      |                        ^
/host/spi-builder-workspace/Sources/Clibuv/src/unix/thread.c:235:3: error: call to undeclared function 'CPU_ZERO'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  235 |   CPU_ZERO(&cpuset);
      |   ^
/host/spi-builder-workspace/Sources/Clibuv/src/unix/thread.c:235:13: error: use of undeclared identifier 'cpuset'
  235 |   CPU_ZERO(&cpuset);
      |             ^
/host/spi-builder-workspace/Sources/Clibuv/src/unix/thread.c:237:7: error: call to undeclared function 'sched_getaffinity'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  237 |   if (sched_getaffinity(pthread_gettid_np(*tid), sizeof(cpuset), &cpuset))
      |       ^
/host/spi-builder-workspace/Sources/Clibuv/src/unix/thread.c:237:57: error: use of undeclared identifier 'cpuset'
  237 |   if (sched_getaffinity(pthread_gettid_np(*tid), sizeof(cpuset), &cpuset))
      |                                                         ^
/host/spi-builder-workspace/Sources/Clibuv/src/unix/thread.c:237:67: error: use of undeclared identifier 'cpuset'
  237 |   if (sched_getaffinity(pthread_gettid_np(*tid), sizeof(cpuset), &cpuset))
      |                                                                   ^
/host/spi-builder-workspace/Sources/Clibuv/src/unix/thread.c:247:20: error: call to undeclared function 'CPU_ISSET'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  247 |     cpumask[i] = !!CPU_ISSET(i, &cpuset);
      |                    ^
/host/spi-builder-workspace/Sources/Clibuv/src/unix/thread.c:247:34: error: use of undeclared identifier 'cpuset'
  247 |     cpumask[i] = !!CPU_ISSET(i, &cpuset);
      |                                  ^
/host/spi-builder-workspace/Sources/Clibuv/src/unix/thread.c:271:9: error: call to undeclared function 'sched_getcpu'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  271 |   cpu = sched_getcpu();
      |         ^
17 errors generated.
[22/78] Compiling thread.c
[22/78] Compiling stream.c
[22/78] Compiling random-getrandom.c
[22/78] Compiling random-sysctl-linux.c
[22/78] Compiling signal.c
[22/78] Compiling udp.c
BUILD FAILURE 6.2 android