Build Information
Failed to build WebSocket, reference 0.2.0 (9f616c
), with Swift 6.2 (beta) for Android on 20 Jun 2025 06:00:24 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/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.2
Building package at path: $PWD
https://github.com/tesseract-one/WebSocket.swift.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-nio-ssl.git
Fetching https://github.com/apple/swift-nio.git
[1/14890] Fetching swift-nio-ssl
[2/91217] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (4.91s)
Fetched https://github.com/apple/swift-nio.git from cache (4.99s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.19.0 (5.77s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.40.0 (0.96s)
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
[10/456] Compiling CNIOSHA1 c_nio_sha1.c
[11/456] Write sources
[13/456] Compiling aesni-x86_64.linux.x86_64.S
[14/456] Compiling CNIOWindows shim.c
[15/456] Write swift-version-8C5A4AE7A8CE2BA.txt
[16/456] Compiling armv4-mont.ios.arm.S
[17/456] Compiling CNIOWindows WSAStartup.c
[18/456] Compiling vpaes-x86.linux.x86.S
[19/456] Compiling bn.c
[20/456] Compiling CNIOLinux liburing_shims.c
[21/456] Compiling CNIODarwin shim.c
[22/457] Compiling CNIOLinux shim.c
[23/459] Compiling CNIOHTTPParser c_nio_http_parser.c
[24/459] Compiling p256.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[26/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 |
[26/459] Compiling CNIOBoringSSLShims shims.c
[27/459] Compiling tls_record.cc
[28/459] Compiling tls13_enc.cc
[29/459] Compiling tls13_both.cc
[30/459] Compiling tls_method.cc
[31/459] Compiling tls13_server.cc
[32/459] Compiling tls13_client.cc
[33/459] Compiling t1_enc.cc
[34/459] Compiling ssl_stat.cc
[35/459] Compiling ssl_versions.cc
[36/459] Compiling ssl_transcript.cc
[37/459] Compiling ssl_privkey.cc
[38/459] Compiling ssl_session.cc
[39/459] Compiling ssl_x509.cc
[40/459] Compiling ssl_lib.cc
[41/459] Compiling ssl_file.cc
[42/459] Compiling ssl_key_share.cc
[43/459] Compiling ssl_cipher.cc
[44/459] Compiling ssl_buffer.cc
[45/459] Compiling ssl_cert.cc
[46/459] Compiling ssl_asn1.cc
[47/459] Compiling ssl_aead_ctx.cc
[49/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 |
[50/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 |
[50/459] Compiling handoff.cc
[50/459] Compiling s3_both.cc
[50/459] Compiling handshake_client.cc
[50/459] Compiling s3_lib.cc
[50/459] Compiling handshake_server.cc
[50/459] Compiling s3_pkt.cc
[50/459] Compiling handshake.cc
BUILD FAILURE 6.2 android