The Swift Package Index logo.Swift Package Index

Build Information

Failed to build WebSocket, reference 0.2.0 (9f616c), with Swift 6.3 for Wasm on 22 Apr 2026 12:14:42 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.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:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/tesseract-one/WebSocket.swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/apple/swift-nio-ssl.git
[1/15432] Fetching swift-nio-ssl
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.33s)
[1/83206] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (8.69s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.19.0 (13.43s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.40.0 (0.85s)
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
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
Building for debugging...
[0/456] Write sources
[12/456] Compiling CNIOWindows shim.c
[13/456] Compiling CNIOWindows WSAStartup.c
[14/456] Write swift-version-24593BA9C3E375BF.txt
[15/456] Compiling CNIOLinux liburing_shims.c
[16/456] Compiling CNIOLinux shim.c
[17/456] Compiling CNIODarwin shim.c
[18/456] Compiling CNIOSHA1 c_nio_sha1.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/459] Emitting module _NIODataStructures
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/_NIODataStructures/Heap.swift:197:28: error: cannot find 'log2' in scope
195 |
196 |             func height(index: Int) -> Int {
197 |                 return Int(log2(Double(index + 1)))
    |                            `- error: cannot find 'log2' in scope
198 |             }
199 |             let myHeight = height(index: index)
[20/459] Compiling CNIOHTTPParser c_nio_http_parser.c
[21/459] Compiling CNIOBoringSSLShims shims.c
[22/459] Compiling tls_record.cc
[23/459] Compiling tls_method.cc
[24/459] Compiling tls13_server.cc
[25/459] Compiling tls13_enc.cc
[26/459] Compiling tls13_client.cc
[27/459] Compiling tls13_both.cc
[28/459] Compiling t1_enc.cc
[29/459] Compiling ssl_transcript.cc
[30/459] Compiling ssl_versions.cc
[31/459] Compiling ssl_x509.cc
[32/459] Compiling ssl_stat.cc
[33/459] Compiling ssl_session.cc
[34/459] Compiling ssl_privkey.cc
[35/459] Compiling ssl_key_share.cc
[36/459] Compiling ssl_file.cc
[37/459] Compiling ssl_lib.cc
[38/459] Compiling ssl_cipher.cc
[39/459] Compiling ssl_cert.cc
[40/459] Compiling ssl_buffer.cc
[41/459] Compiling ssl_asn1.cc
[42/459] Compiling s3_lib.cc
[44/459] Compiling _NIODataStructures PriorityQueue.swift
[44/459] Compiling s3_pkt.cc
[46/459] Compiling _NIODataStructures Heap.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/_NIODataStructures/Heap.swift:197:28: error: cannot find 'log2' in scope
195 |
196 |             func height(index: Int) -> Int {
197 |                 return Int(log2(Double(index + 1)))
    |                            `- error: cannot find 'log2' in scope
198 |             }
199 |             let myHeight = height(index: index)
[46/459] Compiling handshake.cc
[46/459] Compiling ssl_aead_ctx.cc
[46/459] Compiling s3_both.cc
[46/459] Compiling handshake_client.cc
[46/459] Compiling handoff.cc
[46/459] Compiling extensions.cc
[46/459] Compiling handshake_server.cc
BUILD FAILURE 6.3 wasm