The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build KituraWebSocket, reference master (df9e17), with Swift 6.2 (beta) for Wasm on 18 Jun 2025 18:05:43 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kitura/Kitura-WebSocket-NIO.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/Kitura/Kitura-WebSocket-NIO
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at df9e174 Update github org references (#66)
Cloned https://github.com/Kitura/Kitura-WebSocket-NIO.git
Revision (git rev-parse @):
df9e1748c12e66b3c303412649a045d9706c70b9
SUCCESS checkout https://github.com/Kitura/Kitura-WebSocket-NIO.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/Kitura/Kitura-WebSocket-NIO.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/Kitura/BlueCryptor.git
Fetching https://github.com/Kitura/Kitura-NIO.git
Fetching https://github.com/Kitura/Kitura-WebSocket-Compression.git
[1/108] Fetching kitura-websocket-compression
[109/1762] Fetching kitura-websocket-compression, bluecryptor
[1763/5233] Fetching kitura-websocket-compression, bluecryptor, kitura-nio
[2018/3579] Fetching kitura-websocket-compression, kitura-nio
Fetched https://github.com/Kitura/BlueCryptor.git from cache (0.37s)
Fetched https://github.com/Kitura/Kitura-WebSocket-Compression.git from cache (0.50s)
Fetched https://github.com/Kitura/Kitura-NIO.git from cache (0.51s)
Computing version for https://github.com/Kitura/Kitura-WebSocket-Compression.git
Computed https://github.com/Kitura/Kitura-WebSocket-Compression.git at 0.1.200 (1.02s)
Fetching https://github.com/apple/swift-nio.git
[1/76327] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (5.29s)
Computing version for https://github.com/Kitura/BlueCryptor.git
Computed https://github.com/Kitura/BlueCryptor.git at 1.0.200 (5.78s)
Fetching https://github.com/Kitura/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git from cache (0.29s)
Computing version for https://github.com/Kitura/Kitura-NIO.git
Computed https://github.com/Kitura/Kitura-NIO.git at 2.4.200 (0.80s)
Fetching https://github.com/Kitura/LoggerAPI.git
Fetching https://github.com/Kitura/BlueSSLService.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/771] Fetching loggerapi
[109/2848] Fetching loggerapi, bluesslservice
[1229/8790] Fetching loggerapi, bluesslservice, swift-nio-extras
Fetched https://github.com/Kitura/LoggerAPI.git from cache (0.42s)
[1/14890] Fetching swift-nio-ssl
Fetched https://github.com/Kitura/BlueSSLService.git from cache (0.52s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.52s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.92s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 1.9.200 (2.48s)
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.50s)
Computing version for https://github.com/Kitura/BlueSSLService.git
Computed https://github.com/Kitura/BlueSSLService.git at 1.0.200 (1.05s)
Fetching https://github.com/Kitura/BlueSocket.git
[1/2942] Fetching bluesocket
Fetched https://github.com/Kitura/BlueSocket.git from cache (0.46s)
Computing version for https://github.com/Kitura/BlueSocket.git
Computed https://github.com/Kitura/BlueSocket.git at 1.0.200 (1.06s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (3.50s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.47s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.28.0 (0.64s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-asn1.git
[1/1590] Fetching swift-asn1
[781/6575] Fetching swift-asn1, swift-async-algorithms
[2260/9001] Fetching swift-asn1, swift-async-algorithms, swift-service-lifecycle
[2588/10798] Fetching swift-asn1, swift-async-algorithms, swift-service-lifecycle, swift-atomics
[5726/16982] Fetching swift-asn1, swift-async-algorithms, swift-service-lifecycle, swift-atomics, swift-certificates
[7631/22941] Fetching swift-asn1, swift-async-algorithms, swift-service-lifecycle, swift-atomics, swift-certificates, swift-algorithms
Fetched https://github.com/apple/swift-asn1.git from cache (0.45s)
[17608/21351] Fetching swift-async-algorithms, swift-service-lifecycle, swift-atomics, swift-certificates, swift-algorithms
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.51s)
Fetching https://github.com/apple/swift-http-types.git
Fetched https://github.com/apple/swift-atomics.git from cache (0.64s)
Fetching https://github.com/apple/swift-nio-http2.git
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.68s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.69s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.69s)
[1/1141] Fetching swift-http-structured-headers
[1142/2045] Fetching swift-http-structured-headers, swift-http-types
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.41s)
Fetched https://github.com/apple/swift-http-types.git from cache (0.35s)
[1/11532] Fetching swift-nio-http2
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.13s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.8.0 (2.22s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (0.55s)
Fetching https://github.com/apple/swift-collections.git
[1/16640] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.53s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.10.0 (3.36s)
Fetching https://github.com/apple/swift-crypto.git
[1/15270] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.64s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (4.27s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (0.58s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.50s)
Fetching https://github.com/apple/swift-numerics.git
[1/5757] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.52s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.26s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (0.49s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.67s)
Fetching https://github.com/apple/swift-system.git
[1/4428] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.44s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.32.0 (1.26s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.3.0 (0.53s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.56s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.93s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.82s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.36.0 (0.51s)
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
Creating working copy for https://github.com/Kitura/LoggerAPI.git
Working copy of https://github.com/Kitura/LoggerAPI.git resolved at 1.9.200
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.12.3
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.28.0
Creating working copy for https://github.com/Kitura/BlueSocket.git
Working copy of https://github.com/Kitura/BlueSocket.git resolved at 1.0.200
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.8.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
Creating working copy for https://github.com/Kitura/BlueCryptor.git
Working copy of https://github.com/Kitura/BlueCryptor.git resolved at 1.0.200
Creating working copy for https://github.com/Kitura/Kitura-NIO.git
Working copy of https://github.com/Kitura/Kitura-NIO.git resolved at 2.4.200
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.3.2
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.10.0
Creating working copy for https://github.com/Kitura/OpenSSL.git
Working copy of https://github.com/Kitura/OpenSSL.git resolved at 2.3.1
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
Creating working copy for https://github.com/Kitura/BlueSSLService.git
Working copy of https://github.com/Kitura/BlueSSLService.git resolved at 1.0.200
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
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.32.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.83.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/Kitura/Kitura-WebSocket-Compression.git
Working copy of https://github.com/Kitura/Kitura-WebSocket-Compression.git resolved at 0.1.200
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.36.0
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.0.4
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
warning: you may be able to install openssl using your system-packager:
    apt-get install openssl libssl-dev
warning: you may be able to install libz using your system-packager:
    apt-get install libz-dev
warning: you may be able to install openssl using your system-packager:
    apt-get install openssl libssl-dev
warning: you may be able to install libz using your system-packager:
    apt-get install libz-dev
Building for debugging...
[0/465] Write sources
[23/465] Compiling CNIOWindows shim.c
[24/465] Compiling CNIOWindows WSAStartup.c
[25/465] Compiling _AtomicsShims.c
[26/465] Compiling CNIOLinux shim.c
[27/465] Compiling CNIOWASI CNIOWASI.c
[28/465] Compiling CNIOLinux liburing_shims.c
[29/465] Compiling CNIOSHA1 c_nio_sha1.c
[30/465] Compiling CNIOLLHTTP c_nio_http.c
[31/465] Write swift-version-24593BA9C3E375BF.txt
[32/465] Compiling CNIODarwin shim.c
[33/468] Compiling fiat_p256_adx_sqr.S
[34/469] Compiling CNIOLLHTTP c_nio_api.c
[35/475] Compiling CNIOBoringSSLShims shims.c
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/bio/connect.cc:177:48: error: use of undeclared identifier 'SO_KEEPALIVE'
  177 |         ret = setsockopt(bio->num, SOL_SOCKET, SO_KEEPALIVE, (char *)&i,
      |                                                ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/bio/connect.cc:187:15: error: use of undeclared identifier 'connect'
  187 |         ret = connect(bio->num, (struct sockaddr *)&c->them, c->them_length);
      |               ^
2 errors generated.
[36/475] Compiling connect.cc
[36/475] Compiling CNIOLLHTTP c_nio_llhttp.c
[36/475] Compiling bio_mem.cc
[36/475] Compiling v3_akey.cc
BUILD FAILURE 6.2 wasm