Build Information
Failed to build valkey-swift, reference 1.6.0 (541f50), with Swift 6.4 for Wasm on 1 Nov 2026 08:19:04 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-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.4-latest swift build --swift-sdk swift-6.4.0-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.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-54344845-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.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:0ad19d16955074ecc72bbe910025b19c4e4614184c1a48afc82660d4c7620121
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
[1/8315] Fetching swift-log
[2/11182] Fetching swift-log, swift-nio-transport-services
[615/17879] Fetching swift-log, swift-nio-transport-services, swift-distributed-tracing
[1233/20771] Fetching swift-log, swift-nio-transport-services, swift-distributed-tracing, swift-service-lifecycle
[6755/37665] Fetching swift-log, swift-nio-transport-services, swift-distributed-tracing, swift-service-lifecycle, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-transport-services.git (0.50s)
[14266/34798] Fetching swift-log, swift-distributed-tracing, swift-service-lifecycle, swift-nio-ssl
Fetching https://github.com/apple/swift-collections.git
Fetched https://github.com/swift-server/swift-service-lifecycle.git (0.53s)
[13950/31906] Fetching swift-log, swift-distributed-tracing, swift-nio-ssl
Fetching https://github.com/apple/swift-configuration.git
Fetched https://github.com/apple/swift-log.git (0.56s)
Fetching https://github.com/apple/swift-atomics.git
[8049/23591] Fetching swift-distributed-tracing, swift-nio-ssl
Fetched https://github.com/apple/swift-distributed-tracing.git (0.63s)
[2366/16894] Fetching swift-nio-ssl
[10138/103607] Fetching swift-nio-ssl, swift-nio
[10984/107782] Fetching swift-nio-ssl, swift-nio, swift-configuration
[14552/109685] Fetching swift-nio-ssl, swift-nio, swift-configuration, swift-atomics
Fetched https://github.com/apple/swift-configuration.git (0.58s)
Fetched https://github.com/apple/swift-atomics.git (0.56s)
[22965/133049] Fetching swift-nio-ssl, swift-nio, swift-collections
Fetched https://github.com/apple/swift-nio-ssl.git (1.97s)
[89274/116155] Fetching swift-nio, swift-collections
Fetched https://github.com/apple/swift-collections.git (2.01s)
[70238/86713] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git (4.53s)
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.73s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.16.2 (0.17s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.18s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.4.0 (0.85s)
Fetching https://github.com/apple/swift-system
[1/7394] Fetching swift-system
Fetched https://github.com/apple/swift-system (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.86s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6825] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git (0.53s)
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.74s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.5 (0.25s)
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.20s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.104.0 (0.28s)
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-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-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-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-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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.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.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/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-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/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.13.0
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 1661]
[Planning 250 / 1661]
[Planning 816 / 1661]
[Planning 961 / 1661]
[Planning 1306 / 1661]
[Planning deferred tasks]
[Constructing 102 / 3812]
[Constructing 2037 / 3812]
[Starting]
[11 / 903]
[193 / 903] CNIOWindows
[248 / 910]
[256 / 933] ConcurrencyHelpers
[264 / 970] SystemPackage
[266 / 970] Instrumentation
[282 / 970] _NIODataStructures
[293 / 970] _CWASI
[300 / 970] ValkeyCommandsBuilder-product
[301 / 970] InternalCollectionsUtilities
[303 / 970] SystemPackage
[313 / 970] _NIODataStructures
[315 / 970] ValkeyCommandsBuilder-product
[317 / 971] _NIODataStructures
[320 / 971] _NIOBase64
[322 / 972] _NIODataStructures
[324 / 972] _NIODataStructures
[327 / 972] _NIODataStructures
[330 / 972] NIOConcurrencyHelpers
[331 / 972] NIOConcurrencyHelpers
[333 / 972] NIOConcurrencyHelpers
[334 / 972] NIOConcurrencyHelpers
[335 / 972] NIOConcurrencyHelpers-product
[338 / 972] Logging
[341 / 974] NIOConcurrencyHelpers
[345 / 974] NIOConcurrencyHelpers
[348 / 974] InternalCollectionsUtilities
[349 / 974] SpanPreview
[352 / 974] InternalCollectionsUtilities
[353 / 974] InternalCollectionsUtilities
[354 / 974] InternalCollectionsUtilities
[355 / 974] InternalCollectionsUtilities
[357 / 975] Instrumentation
[360 / 975] SystemPackage
[362 / 975] ServiceContextModule
[364 / 976] Instrumentation
[366 / 976] UnixSignals
[379 / 976]
[386 / 980] UnixSignals
[389 / 985] Instrumentation
[394 / 986] SpanPreview
[404 / 986] SpanPreview
[411 / 992] UnixSignals
[417 / 1001] ServiceContextModule
[422 / 1002] CNIOBoringSSL
[423 / 1003] CNIOBoringSSL
[424 / 1003] CNIOBoringSSL
/host/spi-builder-workspace/Package.swift: ValkeyCommandsBuilder-product: clang: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
[427 / 1003] CNIOBoringSSL
[428 / 1003] CNIOBoringSSL
[430 / 1003] CNIOBoringSSL
[431 / 1003] CNIOBoringSSL
[433 / 1003] CNIOBoringSSL
[434 / 1003] CNIOBoringSSL
[436 / 1003] CNIOBoringSSL
[441 / 1003] CNIOBoringSSL
[442 / 1003] CNIOBoringSSL
[445 / 1003] CNIOBoringSSL
[447 / 1003] CNIOBoringSSL
[450 / 1003] OrderedCollections
[451 / 1003] CNIOBoringSSL
[457 / 1003] CNIOBoringSSL
[459 / 1003] CNIOBoringSSL
[461 / 1003] CNIOBoringSSL
[464 / 1003] CNIOBoringSSL
[466 / 1003] CNIOBoringSSL
[467 / 1003] CNIOBoringSSL
[468 / 1003] CNIOBoringSSL
[471 / 1003] CNIOBoringSSL
[474 / 1003] CNIOBoringSSL
[477 / 1003] CNIOBoringSSL
[478 / 1003] CNIOBoringSSL
[480 / 1003] CNIOBoringSSL
[481 / 1003] CNIOBoringSSL
[485 / 1003] CNIOBoringSSL
[486 / 1003] CNIOBoringSSL
[487 / 1003] CNIOBoringSSL
[488 / 1003] CNIOBoringSSL
[491 / 1003] CNIOBoringSSL
[492 / 1003] CNIOBoringSSL
[493 / 1003] CNIOBoringSSL
[494 / 1003] CNIOBoringSSL
[495 / 1003] CNIOBoringSSL
[496 / 1003] CNIOBoringSSL
[497 / 1003] CNIOBoringSSL
[500 / 1003] CNIOBoringSSL
[501 / 1003] CNIOBoringSSL
[503 / 1003] CNIOBoringSSL
[504 / 1003] CNIOBoringSSL
[507 / 1003] CNIOBoringSSL
[508 / 1003] CNIOBoringSSL
[510 / 1003] CNIOBoringSSL
[513 / 1003] CNIOBoringSSL
[514 / 1003] CNIOBoringSSL
[515 / 1003] CNIOBoringSSL
[517 / 1003] CNIOBoringSSL
[519 / 1003] CNIOBoringSSL
[520 / 1003] CNIOBoringSSL
[521 / 1003] CNIOBoringSSL
[523 / 1003] CNIOBoringSSL
[524 / 1003] CNIOBoringSSL
[525 / 1003] CNIOBoringSSL
[527 / 1003] CNIOBoringSSL
[528 / 1003] CNIOBoringSSL
[529 / 1003] CNIOBoringSSL
[531 / 1003] CNIOBoringSSL
[533 / 1003] CNIOBoringSSL
[535 / 1003] CNIOBoringSSL
[537 / 1003] CNIOBoringSSL
[538 / 1003] CNIOBoringSSL
[541 / 1003] CNIOBoringSSL
[544 / 1003] 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.
[545 / 1003] CNIOBoringSSL
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.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_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
error: Build failed
BUILD FAILURE 6.4 wasm