The Swift Package Index logo.Swift Package Index

Build Information

Failed to build sebbu-c-libuv, reference main (25cb76), with Swift 6.1 for Android on 29 May 2025 14:45:14 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MarSe32m/sebbu-c-libuv.git
Reference: main
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/MarSe32m/sebbu-c-libuv
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 25cb766 Moved SebbuLibUV to sebbu-networking
Cloned https://github.com/MarSe32m/sebbu-c-libuv.git
Revision (git rev-parse @):
25cb76606cfc2eb4ad65206239177692c6614768
SUCCESS checkout https://github.com/MarSe32m/sebbu-c-libuv.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/MarSe32m/sebbu-c-libuv.git
https://github.com/MarSe32m/sebbu-c-libuv.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "sebbu-c-libuv",
  "name" : "sebbu-c-libuv",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "SebbuCLibUV",
      "targets" : [
        "SebbuCLibUV"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SebbuCLibUV",
      "module_type" : "ClangTarget",
      "name" : "SebbuCLibUV",
      "path" : "Sources/SebbuCLibUV",
      "product_memberships" : [
        "SebbuCLibUV"
      ],
      "sources" : [
        "src/fs-poll.c",
        "src/idna.c",
        "src/inet.c",
        "src/random.c",
        "src/strscpy.c",
        "src/strtok.c",
        "src/thread-common.c",
        "src/threadpool.c",
        "src/timer.c",
        "src/unix/async.c",
        "src/unix/core.c",
        "src/unix/dl.c",
        "src/unix/fs.c",
        "src/unix/getaddrinfo.c",
        "src/unix/getnameinfo.c",
        "src/unix/linux.c",
        "src/unix/loop-watcher.c",
        "src/unix/loop.c",
        "src/unix/pipe.c",
        "src/unix/poll.c",
        "src/unix/process.c",
        "src/unix/procfs-exepath.c",
        "src/unix/proctitle.c",
        "src/unix/random-devurandom.c",
        "src/unix/random-getrandom.c",
        "src/unix/random-sysctl-linux.c",
        "src/unix/signal.c",
        "src/unix/stream.c",
        "src/unix/tcp.c",
        "src/unix/thread.c",
        "src/unix/tty.c",
        "src/unix/udp.c",
        "src/uv-common.c",
        "src/uv-data-getter-setters.c",
        "src/version.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/35] Compiling strtok.c
[1/35] Compiling idna.c
[1/35] Compiling dl.c
[3/35] Compiling version.c
[4/35] Compiling strscpy.c
[5/35] Compiling inet.c
/host/spi-builder-workspace/Sources/SebbuCLibUV/src/unix/core.c:1528:10: error: use of undeclared identifier 'CPU_SETSIZE'
 1528 |   return CPU_SETSIZE;
      |          ^
/host/spi-builder-workspace/Sources/SebbuCLibUV/src/unix/core.c:1875:3: error: use of undeclared identifier 'cpu_set_t'
 1875 |   cpu_set_t set;
      |   ^
/host/spi-builder-workspace/Sources/SebbuCLibUV/src/unix/core.c:1880:26: error: use of undeclared identifier 'set'
 1880 |   memset(&set, 0, sizeof(set));
      |                          ^
/host/spi-builder-workspace/Sources/SebbuCLibUV/src/unix/core.c:1880:11: error: use of undeclared identifier 'set'
 1880 |   memset(&set, 0, sizeof(set));
      |           ^
/host/spi-builder-workspace/Sources/SebbuCLibUV/src/unix/core.c:1886:12: error: call to undeclared function 'sched_getaffinity'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
 1886 |   if (0 == sched_getaffinity(0, sizeof(set), &set))
      |            ^
/host/spi-builder-workspace/Sources/SebbuCLibUV/src/unix/core.c:1886:40: error: use of undeclared identifier 'set'
 1886 |   if (0 == sched_getaffinity(0, sizeof(set), &set))
      |                                        ^
/host/spi-builder-workspace/Sources/SebbuCLibUV/src/unix/core.c:1886:47: error: use of undeclared identifier 'set'
 1886 |   if (0 == sched_getaffinity(0, sizeof(set), &set))
      |                                               ^
/host/spi-builder-workspace/Sources/SebbuCLibUV/src/unix/core.c:1887:10: error: call to undeclared function 'CPU_COUNT'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
 1887 |     rc = CPU_COUNT(&set);
      |          ^
/host/spi-builder-workspace/Sources/SebbuCLibUV/src/unix/core.c:1887:21: error: use of undeclared identifier 'set'
 1887 |     rc = CPU_COUNT(&set);
      |                     ^
9 errors generated.
[6/35] Compiling core.c
[6/35] Compiling random.c
[6/35] Compiling fs-poll.c
[6/35] Compiling udp.c
[6/35] Compiling uv-common.c
[6/35] Compiling thread.c
[6/35] Compiling uv-data-getter-setters.c
[6/35] Compiling tty.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/29] Compiling tcp.c
/host/spi-builder-workspace/Sources/SebbuCLibUV/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/SebbuCLibUV/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/SebbuCLibUV/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/SebbuCLibUV/src/unix/thread.c:203:13: error: use of undeclared identifier 'cpuset'
  203 |   CPU_ZERO(&cpuset);
      |             ^
/host/spi-builder-workspace/Sources/SebbuCLibUV/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/SebbuCLibUV/src/unix/thread.c:206:19: error: use of undeclared identifier 'cpuset'
  206 |       CPU_SET(i, &cpuset);
      |                   ^
/host/spi-builder-workspace/Sources/SebbuCLibUV/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/SebbuCLibUV/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/SebbuCLibUV/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/SebbuCLibUV/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/SebbuCLibUV/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/SebbuCLibUV/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/SebbuCLibUV/src/unix/thread.c:235:13: error: use of undeclared identifier 'cpuset'
  235 |   CPU_ZERO(&cpuset);
      |             ^
/host/spi-builder-workspace/Sources/SebbuCLibUV/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/SebbuCLibUV/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/SebbuCLibUV/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/SebbuCLibUV/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/SebbuCLibUV/src/unix/thread.c:247:34: error: use of undeclared identifier 'cpuset'
  247 |     cpumask[i] = !!CPU_ISSET(i, &cpuset);
      |                                  ^
/host/spi-builder-workspace/Sources/SebbuCLibUV/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.
[1/29] Compiling thread.c
[1/29] Compiling random-sysctl-linux.c
[1/29] Compiling signal.c
[1/29] Compiling udp.c
[1/29] Compiling uv-data-getter-setters.c
[1/29] Compiling stream.c
[1/29] Compiling uv-common.c
[1/29] Compiling tty.c
BUILD FAILURE 6.1 android