Build Information
Failed to build swift-uv, reference master (1c65d1
), with Swift 6.1 for Android on 29 May 2025 20:40:37 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/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.1
Building package at path: $PWD
https://github.com/RussBaz/swift-uv.git
https://github.com/RussBaz/swift-uv.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "mini-alloc",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/RussBaz/mini-alloc"
},
{
"identity" : "swift-collections",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.4",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-collections.git"
}
],
"manifest_display_name" : "swift-uv",
"name" : "swift-uv",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "14.0"
}
],
"products" : [
{
"name" : "UVCore",
"targets" : [
"UVCore"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "UVServer",
"targets" : [
"UVServer"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "HelloServer",
"targets" : [
"HelloServer"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "uvTests",
"module_type" : "SwiftTarget",
"name" : "uvTests",
"path" : "Tests/uvTests",
"sources" : [
"uvTests.swift"
],
"target_dependencies" : [
"UVCore"
],
"type" : "test"
},
{
"c99name" : "UVServer",
"module_type" : "SwiftTarget",
"name" : "UVServer",
"path" : "Sources/UVServer",
"product_memberships" : [
"UVServer",
"HelloServer"
],
"sources" : [
"UVServer.swift"
],
"target_dependencies" : [
"UVCore"
],
"type" : "library"
},
{
"c99name" : "UVCore",
"module_type" : "SwiftTarget",
"name" : "UVCore",
"path" : "Sources/UVCore",
"product_dependencies" : [
"MA",
"Collections"
],
"product_memberships" : [
"UVCore",
"UVServer",
"HelloServer"
],
"sources" : [
"Jobs/UVJobs.swift",
"Jobs/UVTask.swift",
"Scheduled/UVScheduledManager.swift",
"TCP/RawHandlers/TcpBuffer.swift",
"TCP/RawHandlers/TcpConnection.swift",
"TCP/RawHandlers/TcpServer.swift",
"TCP/UVTcpBuffer.swift",
"TCP/UVTcpChannel.swift",
"TCP/UVTcpConnection.swift",
"TCP/UVTcpConnectionController.swift",
"TCP/UVTcpManager.swift",
"TCP/UVTcpResponse.swift",
"TCP/UVTcpServer.swift",
"TCP/UVTcpServerSetup.swift",
"UVError.swift",
"UVExecutionThread.swift",
"UVExecutor.swift",
"Utilities/UVAddressRepresentable.swift",
"Utilities/UVFIFOQueue.swift",
"Utilities/UVHandlerRepresentable.swift",
"Utilities/UVManualMemoryConvertible.swift",
"Utilities/UVRequestRepresentable.swift",
"Utilities/UVStreamRepresentable.swift"
],
"target_dependencies" : [
"Clibuv"
],
"type" : "library"
},
{
"c99name" : "HelloServer",
"module_type" : "SwiftTarget",
"name" : "HelloServer",
"path" : "Sources/HelloServer",
"product_memberships" : [
"HelloServer"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"UVCore",
"UVServer"
],
"type" : "executable"
},
{
"c99name" : "Clibuv",
"module_type" : "ClangTarget",
"name" : "Clibuv",
"path" : "Sources/Clibuv",
"product_memberships" : [
"UVCore",
"UVServer",
"HelloServer"
],
"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" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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 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
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/RussBaz/mini-alloc
[1/16591] Fetching swift-collections
[665/16634] Fetching swift-collections, mini-alloc
Fetched https://github.com/RussBaz/mini-alloc from cache (2.11s)
Fetched https://github.com/apple/swift-collections.git from cache (2.16s)
Computing version for https://github.com/RussBaz/mini-alloc
Computed https://github.com/RussBaz/mini-alloc at 1.0.2 (3.76s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.42s)
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
Creating working copy for https://github.com/RussBaz/mini-alloc
Working copy of https://github.com/RussBaz/mini-alloc resolved at 1.0.2
Building for debugging...
[0/62] Write sources
[11/62] Compiling version.c
[12/62] Compiling thread-common.c
[13/62] Compiling random.c
[14/62] Compiling strscpy.c
[15/62] Compiling async.c
[16/62] Compiling uv-data-getter-setters.c
/host/spi-builder-workspace/Sources/Clibuv/src/unix/core.c:1538:10: error: use of undeclared identifier 'CPU_SETSIZE'
1538 | return CPU_SETSIZE;
| ^
/host/spi-builder-workspace/Sources/Clibuv/src/unix/core.c:1906:3: error: use of undeclared identifier 'cpu_set_t'
1906 | cpu_set_t set;
| ^
/host/spi-builder-workspace/Sources/Clibuv/src/unix/core.c:1908:26: error: use of undeclared identifier 'set'
1908 | memset(&set, 0, sizeof(set));
| ^
/host/spi-builder-workspace/Sources/Clibuv/src/unix/core.c:1908:11: error: use of undeclared identifier 'set'
1908 | memset(&set, 0, sizeof(set));
| ^
/host/spi-builder-workspace/Sources/Clibuv/src/unix/core.c:1914:12: error: call to undeclared function 'sched_getaffinity'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
1914 | if (0 == sched_getaffinity(0, sizeof(set), &set))
| ^
/host/spi-builder-workspace/Sources/Clibuv/src/unix/core.c:1914:40: error: use of undeclared identifier 'set'
1914 | if (0 == sched_getaffinity(0, sizeof(set), &set))
| ^
/host/spi-builder-workspace/Sources/Clibuv/src/unix/core.c:1914:47: error: use of undeclared identifier 'set'
1914 | if (0 == sched_getaffinity(0, sizeof(set), &set))
| ^
/host/spi-builder-workspace/Sources/Clibuv/src/unix/core.c:1915:10: error: call to undeclared function 'CPU_COUNT'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
1915 | rc = uv__cpu_count(&set);
| ^
/host/spi-builder-workspace/Sources/Clibuv/src/unix/core.c:1883:32: note: expanded from macro 'uv__cpu_count'
1883 | # define uv__cpu_count(cpuset) CPU_COUNT(cpuset)
| ^
/host/spi-builder-workspace/Sources/Clibuv/src/unix/core.c:1915:25: error: use of undeclared identifier 'set'
1915 | rc = uv__cpu_count(&set);
| ^
9 errors generated.
[17/62] Compiling core.c
[17/62] Compiling udp.c
[17/62] Compiling uv-common.c
[17/62] Compiling thread.c
[17/62] Compiling tty.c
[17/62] Compiling tcp.c
[17/62] Write swift-version-24593BA9C3E375BF.txt
[17/62] Compiling strtok.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/45] Compiling udp.c
[1/45] Compiling tty.c
[2/45] 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.
[3/45] Compiling thread.c
[3/45] Compiling random-devurandom.c
[3/45] Compiling random-sysctl-linux.c
[3/45] Compiling random-getrandom.c
[3/45] Compiling stream.c
[3/45] Compiling signal.c
[3/45] Compiling uv-common.c
[3/45] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 android