Build Information
Failed to build sebbu-networking, reference main (87d744), with Swift 6.1 for Android on 29 May 2025 18:01:52 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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MarSe32m/sebbu-networking.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-networking
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 87d7443 Fix NetworkUtils implementation
Cloned https://github.com/MarSe32m/sebbu-networking.git
Revision (git rev-parse @):
87d74434d852d42b2accc9884c4136be1575c1a7
SUCCESS checkout https://github.com/MarSe32m/sebbu-networking.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/MarSe32m/sebbu-networking.git
https://github.com/MarSe32m/sebbu-networking.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "sebbu-c-libuv",
"requirement" : {
"range" : [
{
"lower_bound" : "1.48.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/MarSe32m/sebbu-c-libuv.git"
},
{
"identity" : "swift-collections",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-collections.git"
}
],
"manifest_display_name" : "sebbu-networking",
"name" : "sebbu-networking",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "ios",
"version" : "16.0"
}
],
"products" : [
{
"name" : "SebbuNetworking",
"targets" : [
"SebbuNetworking"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SebbuNetworkingTests",
"module_type" : "SwiftTarget",
"name" : "SebbuNetworkingTests",
"path" : "Tests/SebbuNetworkingTests",
"sources" : [
"SebbuNetworkingExecuteTests.swift",
"SebbuNetworkingGetAddrInfoTests.swift",
"SebbuNetworkingSystemUtilsTests.swift",
"SebbuNetworkingTCPTests.swift",
"SebbuNetworkingTests.swift",
"SebbuNetworkingUDPTests.swift"
],
"target_dependencies" : [
"SebbuNetworking"
],
"type" : "test"
},
{
"c99name" : "SebbuNetworking",
"module_type" : "SwiftTarget",
"name" : "SebbuNetworking",
"path" : "Sources/SebbuNetworking",
"product_dependencies" : [
"SebbuCLibUV",
"DequeModule"
],
"product_memberships" : [
"SebbuNetworking"
],
"sources" : [
"Common/Allocators.swift",
"Common/DebugOnly.swift",
"Common/ErrorMap.swift",
"Common/EventLoop.swift",
"Common/EventLoopBound.swift",
"Common/IPAddress.swift",
"TCP/AsyncTCPChannel.swift",
"TCP/TCP.swift",
"TCP/TCPChannel.swift",
"TCP/TCPChannelContext.swift",
"UDP/AsyncUDPChannel.swift",
"UDP/UDP.swift",
"UDP/UDPChannel.swift",
"UDP/UDPChannelContext.swift",
"Utilities/FileDescriptorLimit.swift",
"Utilities/Lock.swift",
"Utilities/NetworkUtils.swift",
"Utilities/StringUtils.swift",
"Utilities/SystemUtils.swift",
"Utilities/Thread.swift",
"WebSocket/WebSocketClient.swift",
"WebSocket/WebSocketServer.swift"
],
"target_dependencies" : [
"CSebbuNetworking"
],
"type" : "library"
},
{
"c99name" : "CSebbuNetworking",
"module_type" : "ClangTarget",
"name" : "CSebbuNetworking",
"path" : "Sources/CSebbuNetworking",
"product_memberships" : [
"SebbuNetworking"
],
"sources" : [
"shim.c"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/MarSe32m/sebbu-c-libuv.git
[1/364] Fetching sebbu-c-libuv
[365/16955] Fetching sebbu-c-libuv, swift-collections
Fetched https://github.com/MarSe32m/sebbu-c-libuv.git from cache (0.41s)
[830/16591] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.53s)
Computing version for https://github.com/MarSe32m/sebbu-c-libuv.git
Computed https://github.com/MarSe32m/sebbu-c-libuv.git at 1.48.0 (2.68s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.80s)
Creating working copy for https://github.com/MarSe32m/sebbu-c-libuv.git
Working copy of https://github.com/MarSe32m/sebbu-c-libuv.git resolved at 1.48.0
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/40] Compiling inet.c
[0/40] Write sources
[2/40] Compiling fs-poll.c
[3/40] Write swift-version-24593BA9C3E375BF.txt
[4/40] Compiling strscpy.c
[5/40] Compiling uv-data-getter-setters.c
[6/40] Compiling random.c
[7/40] Compiling version.c
[8/40] Compiling idna.c
[9/40] Compiling udp.c
[10/40] Compiling uv-common.c
[11/40] Compiling tty.c
[12/40] Compiling random-getrandom.c
[13/40] Compiling tcp.c
[14/40] Compiling random-sysctl-linux.c
[15/40] Compiling stream.c
[16/40] Compiling signal.c
[17/40] Compiling random-devurandom.c
[18/40] Compiling poll.c
/host/spi-builder-workspace/.build/checkouts/sebbu-c-libuv/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/.build/checkouts/sebbu-c-libuv/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/.build/checkouts/sebbu-c-libuv/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/.build/checkouts/sebbu-c-libuv/Sources/SebbuCLibUV/src/unix/thread.c:203:13: error: use of undeclared identifier 'cpuset'
203 | CPU_ZERO(&cpuset);
| ^
/host/spi-builder-workspace/.build/checkouts/sebbu-c-libuv/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/.build/checkouts/sebbu-c-libuv/Sources/SebbuCLibUV/src/unix/thread.c:206:19: error: use of undeclared identifier 'cpuset'
206 | CPU_SET(i, &cpuset);
| ^
/host/spi-builder-workspace/.build/checkouts/sebbu-c-libuv/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/.build/checkouts/sebbu-c-libuv/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/.build/checkouts/sebbu-c-libuv/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/.build/checkouts/sebbu-c-libuv/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/.build/checkouts/sebbu-c-libuv/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/.build/checkouts/sebbu-c-libuv/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/.build/checkouts/sebbu-c-libuv/Sources/SebbuCLibUV/src/unix/thread.c:235:13: error: use of undeclared identifier 'cpuset'
235 | CPU_ZERO(&cpuset);
| ^
/host/spi-builder-workspace/.build/checkouts/sebbu-c-libuv/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/.build/checkouts/sebbu-c-libuv/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/.build/checkouts/sebbu-c-libuv/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/.build/checkouts/sebbu-c-libuv/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/.build/checkouts/sebbu-c-libuv/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/.build/checkouts/sebbu-c-libuv/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.
[19/40] Compiling thread.c
[19/40] Compiling linux.c
[19/40] Compiling loop-watcher.c
[19/40] Compiling process.c
/host/spi-builder-workspace/.build/checkouts/sebbu-c-libuv/Sources/SebbuCLibUV/src/unix/pipe.c[19/40] Compiling procfs-exepath.c
[19/40] Compiling pipe.c
[19/40] Compiling proctitle.c
[19/40] Compiling loop.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/21] Write sources
[2/22] Compiling loop.c
[3/22] Compiling process.c
/host/spi-builder-workspace/.build/checkouts/sebbu-c-libuv/Sources/SebbuCLibUV/src/unix/pipe.c:500:7: error: call to undeclared function 'pipe2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
500 | if (pipe2(temp, flags))
| ^
/host/spi-builder-workspace/.build/checkouts/sebbu-c-libuv/Sources/SebbuCLibUV/src/unix/pipe.c:500:7: note: did you mean 'pipe'?
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/unistd.h:275:5: note: 'pipe' declared here
275 | int pipe(int __fds[_Nonnull 2]);
| ^
1 error generated.
[4/22] Compiling pipe.c
[4/22] Compiling loop-watcher.c
[4/22] Compiling linux.c
[4/22] Compiling proctitle.c
/host/spi-builder-workspace/.build/checkouts/sebbu-c-libuv/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/.build/checkouts/sebbu-c-libuv/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/.build/checkouts/sebbu-c-libuv/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/.build/checkouts/sebbu-c-libuv/Sources/SebbuCLibUV/src/unix/thread.c:203:13: error: use of undeclared identifier 'cpuset'
203 | CPU_ZERO(&cpuset);
| ^
/host/spi-builder-workspace/.build/checkouts/sebbu-c-libuv/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/.build/checkouts/sebbu-c-libuv/Sources/SebbuCLibUV/src/unix/thread.c:206:19: error: use of undeclared identifier 'cpuset'
206 | CPU_SET(i, &cpuset);
| ^
/host/spi-builder-workspace/.build/checkouts/sebbu-c-libuv/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/.build/checkouts/sebbu-c-libuv/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/.build/checkouts/sebbu-c-libuv/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/.build/checkouts/sebbu-c-libuv/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/.build/checkouts/sebbu-c-libuv/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/.build/checkouts/sebbu-c-libuv/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/.build/checkouts/sebbu-c-libuv/Sources/SebbuCLibUV/src/unix/thread.c:235:13: error: use of undeclared identifier 'cpuset'
235 | CPU_ZERO(&cpuset);
| ^
/host/spi-builder-workspace/.build/checkouts/sebbu-c-libuv/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/.build/checkouts/sebbu-c-libuv/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/.build/checkouts/sebbu-c-libuv/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/.build/checkouts/sebbu-c-libuv/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/.build/checkouts/sebbu-c-libuv/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/.build/checkouts/sebbu-c-libuv/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();
| ^
[4/22] Compiling thread.c
[4/22] Compiling procfs-exepath.c
[4/22] Compiling getnameinfo.c
[4/22] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 android