Build Information
Failed to build valkey-swift, reference 1.5.0 (59d04f), with Swift 6.4 for Wasm on 27 Sep 2026 03:50:32 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-0":/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.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/valkey-io/valkey-swift.git
Reference: 1.5.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.5.0 -> FETCH_HEAD
HEAD is now at 59d04ff Fix typo in channel handler state machine (#401)
Cloned https://github.com/valkey-io/valkey-swift.git
Revision (git rev-parse @):
59d04ff34b513410e0a6d48d917e95bce7032ae3
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/valkey-io/valkey-swift.git at 1.5.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/valkey-io/valkey-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-0":/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.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/apple/swift-configuration.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-distributed-tracing.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/3813] Fetching swift-configuration
[1336/6656] Fetching swift-configuration, swift-service-lifecycle
[2698/13018] Fetching swift-configuration, swift-service-lifecycle, swift-distributed-tracing
[6460/15885] Fetching swift-configuration, swift-service-lifecycle, swift-distributed-tracing, swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git (0.58s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git (0.58s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/apple/swift-distributed-tracing.git (0.58s)
Fetching https://github.com/apple/swift-atomics.git
[1/16869] Fetching swift-nio-ssl
[2/103037] Fetching swift-nio-ssl, swift-nio
[6202/111202] Fetching swift-nio-ssl, swift-nio, swift-log
[22914/113087] Fetching swift-nio-ssl, swift-nio, swift-log, swift-atomics
Fetched https://github.com/apple/swift-log.git (0.56s)
[30303/104922] Fetching swift-nio-ssl, swift-nio, swift-atomics
Fetched https://github.com/apple/swift-atomics.git (0.61s)
[34619/103037] Fetching swift-nio-ssl, swift-nio
[36511/130816] Fetching swift-nio-ssl, swift-nio, swift-collections
Fetched https://github.com/apple/swift-collections.git (1.42s)
[90974/103037] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git (2.07s)
[85307/86168] Fetching swift-nio
Fetched https://github.com/apple/swift-configuration.git (3.29s)
Fetched https://github.com/apple/swift-nio.git (3.34s)
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 (3.54s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.5.0 (0.18s)
Fetching https://github.com/apple/swift-service-context.git
[1/1386] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git (0.45s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.3.0 (0.62s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.2.1 (0.97s)
Fetching https://github.com/apple/swift-system
[1/6983] Fetching swift-system
Fetched https://github.com/apple/swift-system (0.68s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.86s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.12.0 (0.17s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6737] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git (0.61s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.80s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.6 (0.21s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.1 (0.28s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (0.33s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.8.1 (0.20s)
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.21s)
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.12.0
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.5.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.1.6
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.1
Creating working copy for https://github.com/apple/swift-configuration.git
Working copy of https://github.com/apple/swift-configuration.git resolved at 1.2.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.15.1
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-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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.103.0
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.3.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/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.28.0
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 1662]
[Planning 873 / 1662]
[Planning deferred tasks]
[Constructing 2273 / 3822]
[155 / 903] NIOConcurrencyHelpers
[256 / 942] SystemPackage
[257 / 942] ServiceContextModule
[267 / 942] _NIODataStructures
[271 / 951] _NIODataStructures
[277 / 951] NIOConcurrencyHelpers
[287 / 951] ValkeyCommandsBuilder-product
[288 / 951] ValkeyCommandsBuilder-product
[290 / 951] _NIODataStructures
[298 / 952] _NIOBase64
[300 / 952] _NIOBase64
[301 / 952] _NIOBase64
[303 / 953] _NIODataStructures
[310 / 953] ServiceContextModule
[311 / 953] ServiceContextModule-product
[313 / 953] ServiceContextModule-product
[317 / 955] ValkeyCommandsBuilder-product
[320 / 955] ServiceContextModule
[323 / 955] ServiceContextModule
[325 / 955] Logging
[326 / 955] Logging
[328 / 955] Logging-product
[333 / 955]
[336 / 958] ConcurrencyHelpers
[341 / 970] InternalCollectionsUtilities
[342 / 970] InternalCollectionsUtilities
[343 / 970] InternalCollectionsUtilities
[344 / 970] ConcurrencyHelpers
[346 / 971] ConcurrencyHelpers
[351 / 971] InternalCollectionsUtilities
/host/spi-builder-workspace/Package.swift: ValkeyCommandsBuilder-product: clang: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
[355 / 972] SystemPackage
[357 / 973] SystemPackage
[365 / 978] UnixSignals
[370 / 987] Atomics
[375 / 987] ServiceContextModule
[376 / 987] InternalCollectionsUtilities
[385 / 988] UnixSignals
[387 / 988] UnixSignals
[390 / 988]
[395 / 995] CNIOPosix
[401 / 995] Instrumentation
[406 / 995] Instrumentation
[417 / 1005] CNIOLinux
[422 / 1005] CNIOBoringSSL
[425 / 1006] CNIOBoringSSL
[428 / 1007] Tracing
[429 / 1007] CNIOBoringSSL
[436 / 1007] CNIOBoringSSL
[437 / 1007] CNIOBoringSSL
[439 / 1007] CNIOBoringSSL
[440 / 1007] CNIOBoringSSL
[447 / 1007] CNIOBoringSSL
[453 / 1007] CNIOBoringSSL
[455 / 1007] CNIOBoringSSL
[457 / 1007] CNIOBoringSSL
[458 / 1007] Atomics
[460 / 1008] CNIOBoringSSL
[462 / 1008] CNIOBoringSSL
[463 / 1008] CNIOBoringSSL
[465 / 1008] CNIOBoringSSL
[468 / 1008] CNIOBoringSSL
[469 / 1008] CNIOBoringSSL
[470 / 1008] CNIOBoringSSL
[473 / 1008] CNIOBoringSSL
[474 / 1008] CNIOBoringSSL
[478 / 1008] CNIOBoringSSL
[482 / 1008] CNIOBoringSSL
[484 / 1008] CNIOBoringSSL
[487 / 1008] CNIOBoringSSL
[488 / 1008] CNIOBoringSSL
[490 / 1008] CNIOBoringSSL
[493 / 1008] CNIOBoringSSL
[496 / 1008] CNIOBoringSSL
[499 / 1008] CNIOBoringSSL
[501 / 1008] CNIOBoringSSL
[502 / 1008] CNIOBoringSSL
[504 / 1008] CNIOBoringSSL
[505 / 1008] CNIOBoringSSL
[509 / 1008] CNIOBoringSSL
[512 / 1008] CNIOBoringSSL
[514 / 1008] CNIOBoringSSL
[515 / 1008] CNIOBoringSSL
[516 / 1008] CNIOBoringSSL
[518 / 1008] CNIOBoringSSL
[519 / 1008] CNIOBoringSSL
[520 / 1008] CNIOBoringSSL
[521 / 1008] CNIOBoringSSL
[522 / 1008] CNIOBoringSSL
[526 / 1008] CNIOBoringSSL
[529 / 1008] CNIOBoringSSL
[530 / 1008] CNIOBoringSSL
[532 / 1008] CNIOBoringSSL
[533 / 1008] CNIOBoringSSL
[534 / 1008] CNIOBoringSSL
[536 / 1008] CNIOBoringSSL
[537 / 1008] CNIOBoringSSL
[538 / 1008] CNIOBoringSSL
[540 / 1008] CNIOBoringSSL
[542 / 1008] CNIOBoringSSL
[544 / 1008] CNIOBoringSSL
[545 / 1008] CNIOBoringSSL
[548 / 1008] CNIOBoringSSL
[551 / 1008] CNIOBoringSSL
[553 / 1008] CNIOBoringSSL
[554 / 1008] CNIOBoringSSL
[1m/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/bio/socket_helper.cc:30:10: [0m[0;1;31mfatal error: [0m[1m'netdb.h' file not found[0m
30 | #include <netdb.h>[0m
| [0;1;32m ^~~~~~~~~
[0m1 error generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-ssl.build/Debug-webassembly-wasm32/CNIOBoringSSL-t.build/Objects-normal/wasm32/socket_helper.o /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/bio/socket_helper.cc normal wasm32 c++ com.apple.compilers.llvm.clang.1_0.compiler failed with a nonzero exit code. Command line: cd /host
Using response file: /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-ssl.build/Debug-webassembly-wasm32/CNIOBoringSSL-t.build/Objects-normal/wasm32/11b881b950eb02e21769317df93e9b41d1d7f0348e4e0901ae810dce93ca1a57-common-args.resp
/usr/bin/clang -x c++ -target wasm32-unknown-wasip1 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -w -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -Wno-sign-conversion -Wno-infinite-recursion -Wno-move -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-range-loop-analysis -Wno-semicolon-before-method-body --sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk @/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-ssl.build/Debug-webassembly-wasm32/CNIOBoringSSL-t.build/Objects-normal/wasm32/11b881b950eb02e21769317df93e9b41d1d7f0348e4e0901ae810dce93ca1a57-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-ssl.build/Debug-webassembly-wasm32/CNIOBoringSSL-t.build/Objects-normal/wasm32/socket_helper.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-ssl.build/Debug-webassembly-wasm32/CNIOBoringSSL-t.build/Objects-normal/wasm32/socket_helper.dia -c /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/bio/socket_helper.cc -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-ssl.build/Debug-webassembly-wasm32/CNIOBoringSSL-t.build/Objects-normal/wasm32/socket_helper.o
[555 / 1008] CNIOBoringSSL
error: Build failed
BUILD FAILURE 6.4 wasm