Build Information
Failed to build WebSocket, reference 0.2.0 (9f616c
), with Swift 6.1 for Android on 28 May 2025 16:04:59 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>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tesseract-one/WebSocket.swift.git
Reference: 0.2.0
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/tesseract-one/WebSocket.swift
* tag 0.2.0 -> FETCH_HEAD
HEAD is now at 9f616c3 updated readme
Cloned https://github.com/tesseract-one/WebSocket.swift.git
Revision (git rev-parse @):
9f616c35127c83651d3112f8bdb41284d3c5c213
SUCCESS checkout https://github.com/tesseract-one/WebSocket.swift.git at 0.2.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/tesseract-one/WebSocket.swift.git
https://github.com/tesseract-one/WebSocket.swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.40.0",
"upper_bound" : "2.41.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
},
{
"identity" : "swift-nio-ssl",
"requirement" : {
"range" : [
{
"lower_bound" : "2.19.0",
"upper_bound" : "2.20.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio-ssl.git"
}
],
"manifest_display_name" : "WebSocket",
"name" : "WebSocket",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "WebSocket",
"targets" : [
"WebSocket"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "WebSocketTests",
"module_type" : "SwiftTarget",
"name" : "WebSocketTests",
"path" : "Tests/WebSocketTests",
"sources" : [
"WebSocketTests.swift"
],
"target_dependencies" : [
"WebSocket"
],
"type" : "test"
},
{
"c99name" : "WebSocket",
"module_type" : "SwiftTarget",
"name" : "WebSocket",
"path" : "Sources/WebSocket",
"product_dependencies" : [
"NIO",
"NIOHTTP1",
"NIOWebSocket",
"NIOConcurrencyHelpers",
"NIOFoundationCompat",
"NIOSSL"
],
"product_memberships" : [
"WebSocket"
],
"sources" : [
"Data.swift",
"Error.swift",
"EventLoopGroup.swift",
"FrameBuffer.swift",
"Handler.swift",
"InitialRequestHandler.swift",
"ReExport.swift",
"State.swift",
"WebSocket.swift"
],
"type" : "library"
}
],
"tools_version" : "5.4"
}
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 -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
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/14843] Fetching swift-nio-ssl
[2228/90936] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.91s)
[50983/76093] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (7.64s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.19.0 (8.51s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.40.0 (0.63s)
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.19.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.40.0
Building for debugging...
[0/456] Write sources
[12/456] Compiling CNIOWindows WSAStartup.c
[13/456] Compiling CNIOWindows shim.c
[14/456] Compiling CNIODarwin shim.c
[15/456] Compiling CNIOLinux liburing_shims.c
[16/456] Compiling CNIOSHA1 c_nio_sha1.c
[17/456] Compiling CNIOLinux shim.c
[18/456] Write swift-version-24593BA9C3E375BF.txt
[19/456] Compiling CNIOHTTPParser c_nio_http_parser.c
[20/459] Compiling CNIOBoringSSLShims shims.c
[21/459] Compiling tls_method.cc
[22/459] Compiling tls13_server.cc
[23/459] Compiling ssl_x509.cc
[24/459] Compiling tls13_enc.cc
[25/459] Compiling tls13_both.cc
[26/459] Compiling tls13_client.cc
[27/459] Compiling tls_record.cc
[28/459] Compiling t1_enc.cc
[29/459] Compiling ssl_transcript.cc
[31/459] Compiling _NIODataStructures PriorityQueue.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/_NIODataStructures/Heap.swift:17:8: error: no such module 'Glibc'
15 | import Darwin.C
16 | #elseif os(Linux) || os(FreeBSD) || os(Android)
17 | import Glibc
| `- error: no such module 'Glibc'
18 | #endif
19 |
[32/459] Compiling _NIODataStructures Heap.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/_NIODataStructures/Heap.swift:17:8: error: no such module 'Glibc'
15 | import Darwin.C
16 | #elseif os(Linux) || os(FreeBSD) || os(Android)
17 | import Glibc
| `- error: no such module 'Glibc'
18 | #endif
19 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[33/459] Emitting module _NIODataStructures
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/_NIODataStructures/Heap.swift:17:8: error: no such module 'Glibc'
15 | import Darwin.C
16 | #elseif os(Linux) || os(FreeBSD) || os(Android)
17 | import Glibc
| `- error: no such module 'Glibc'
18 | #endif
19 |
[33/459] Compiling ssl_file.cc
[34/459] Compiling ssl_versions.cc
[35/459] Compiling ssl_stat.cc
[35/459] Compiling ssl_session.cc
[35/459] Compiling ssl_privkey.cc
[35/459] Compiling ssl_lib.cc
[35/459] Compiling ssl_cipher.cc
[35/459] Compiling ssl_key_share.cc
[35/459] Compiling ssl_cert.cc
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/425] Compiling ssl_stat.cc
[1/425] Compiling ssl_buffer.cc
[2/425] Compiling ssl_privkey.cc
[3/425] Compiling ssl_key_share.cc
[4/425] Compiling ssl_cipher.cc
[5/425] Compiling ssl_cert.cc
[6/425] Write swift-version-24593BA9C3E375BF.txt
[7/425] Compiling ssl_session.cc
[8/425] Compiling ssl_lib.cc
[10/428] Compiling _NIODataStructures PriorityQueue.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/_NIODataStructures/Heap.swift:17:8: error: no such module 'Glibc'
15 | import Darwin.C
16 | #elseif os(Linux) || os(FreeBSD) || os(Android)
17 | import Glibc
| `- error: no such module 'Glibc'
18 | #endif
19 |
[11/428] Compiling _NIODataStructures Heap.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/_NIODataStructures/Heap.swift:17:8: error: no such module 'Glibc'
15 | import Darwin.C
16 | #elseif os(Linux) || os(FreeBSD) || os(Android)
17 | import Glibc
| `- error: no such module 'Glibc'
18 | #endif
19 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/428] Emitting module _NIODataStructures
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/_NIODataStructures/Heap.swift:17:8: error: no such module 'Glibc'
15 | import Darwin.C
16 | #elseif os(Linux) || os(FreeBSD) || os(Android)
17 | import Glibc
| `- error: no such module 'Glibc'
18 | #endif
19 |
[12/428] Compiling ssl_asn1.cc
[12/428] Compiling s3_pkt.cc
[12/428] Compiling s3_both.cc
[12/428] Compiling s3_lib.cc
[12/428] Compiling ssl_aead_ctx.cc
[12/428] Compiling handshake_client.cc
[12/428] Compiling handshake_server.cc
BUILD FAILURE 6.1 android