Build Information
Failed to build valkey-swift, reference 1.6.0 (541f50), with Swift 6.2 for Wasm on 1 Nov 2026 08:18:27 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/valkey-io/valkey-swift.git
Reference: 1.6.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/valkey-io/valkey-swift
* tag 1.6.0 -> FETCH_HEAD
HEAD is now at 541f50f When removing a closed overflow connection from the connection pool ensure it is actually removed from the connection array. (#410)
Cloned https://github.com/valkey-io/valkey-swift.git
Revision (git rev-parse @):
541f50f8cb89fe8e15dbb50331be45f60a1d2f98
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/valkey-io/valkey-swift.git at 1.6.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/valkey-io/valkey-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:c2cc4df169d3c45015ced899e997f329be5fc90bdbfce388bd8981e1ea44d639
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-configuration.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/2892] Fetching swift-service-lifecycle
[696/7067] Fetching swift-service-lifecycle, swift-configuration
[1721/9934] Fetching swift-service-lifecycle, swift-configuration, swift-nio-transport-services
[4127/26828] Fetching swift-service-lifecycle, swift-configuration, swift-nio-transport-services, swift-nio-ssl
[26829/113541] Fetching swift-service-lifecycle, swift-configuration, swift-nio-transport-services, swift-nio-ssl, swift-nio
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (1.24s)
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (1.24s)
Fetched https://github.com/apple/swift-configuration.git from cache (1.24s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-collections.git
[34237/103607] Fetching swift-nio-ssl, swift-nio
Fetching https://github.com/apple/swift-atomics.git
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.25s)
[19944/86713] Fetching swift-nio
[58099/88616] Fetching swift-nio, swift-atomics
[59652/96931] Fetching swift-nio, swift-atomics, swift-log
Fetched https://github.com/apple/swift-atomics.git from cache (0.55s)
[69015/95028] Fetching swift-nio, swift-log
[69883/124470] Fetching swift-nio, swift-log, swift-collections
Fetched https://github.com/apple/swift-log.git from cache (1.39s)
Fetched https://github.com/apple/swift-collections.git from cache (1.41s)
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetched https://github.com/apple/swift-nio.git from cache (3.83s)
[1/6697] Fetching swift-distributed-tracing
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.67s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.28.0 (4.62s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.16.2 (0.15s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.17s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.4.0 (0.82s)
Fetching https://github.com/apple/swift-system
[1/7394] Fetching swift-system
Fetched https://github.com/apple/swift-system from cache (0.69s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.13.0 (0.83s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6825] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.58s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.7 (0.80s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.5 (0.32s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.7.3 (0.16s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.8.1 (0.19s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.104.0 (0.36s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.5 (0.20s)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.104.0
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.8.1
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.13.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.37.5
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.1.7
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.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.16.2
Creating working copy for https://github.com/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.7.3
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.28.0
Creating working copy for https://github.com/apple/swift-configuration.git
Working copy of https://github.com/apple/swift-configuration.git resolved at 1.4.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.7.5
warning: 'swift-distributed-tracing': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/InMemoryTracing/CMakeLists.txt
warning: 'swift-distributed-tracing': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Tracing/CMakeLists.txt
warning: 'swift-distributed-tracing': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/ServiceContextModule/CMakeLists.txt
warning: 'swift-distributed-tracing': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/CMakeLists.txt
Building for debugging...
[0/511] Compiling a_dup.cc
[1/511] Copying valkey-search-commands.json
[1/511] Copying valkey-json-commands.json
[1/511] Compiling f_string.cc
[1/511] Copying valkey-commands.json
[1/511] Copying valkey-bloom-commands.json
[1/511] Write sources
[1/511] Compiling posix_time.cc
[10/511] Compiling a_d2i_fp.cc
[10/511] Write sources
[10/511] Compiling a_i2d_fp.cc
[10/511] Write sources
[10/511] Compiling bio_mem.cc
/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.
[10/511] Compiling connect.cc
[18/511] Compiling CSystem shims.c
[55/511] Compiling CNIOWindows WSAStartup.c
[103/511] Compiling _CWASI _CWASI.c
[123/511] Compiling _AtomicsShims.c
[149/511] Compiling CNIOWindows shim.c
[447/511] Compiling a_gentm.cc
[456/511] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 wasm