The Swift Package Index logo.Swift Package Index

Build Information

Failed to build valkey-swift, reference main (3ba6e6), with Swift 6.4 for Wasm on 19 Nov 2026 19:39:59 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344849-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.0-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/valkey-io/valkey-swift.git
Reference: main
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
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 3ba6e68 Add command changes for valkey-json 1.1 (#418)
Cloned https://github.com/valkey-io/valkey-swift.git
Revision (git rev-parse @):
3ba6e68937eff40c1d0cb9c27cd0a4519c13339d
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/valkey-io/valkey-swift.git at main
========================================
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-54344849-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.0-RELEASE_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:d7b72fae8894fba3c2632fd7068ea480e9b111160d8dd7b4d9df5fbcfe7a40ee
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/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/2881] Fetching swift-nio-transport-services
[117/7125] Fetching swift-nio-transport-services, swift-configuration
[675/10023] Fetching swift-nio-transport-services, swift-configuration, swift-service-lifecycle
[2304/16748] Fetching swift-nio-transport-services, swift-configuration, swift-service-lifecycle, swift-distributed-tracing
[9085/33714] Fetching swift-nio-transport-services, swift-configuration, swift-service-lifecycle, swift-distributed-tracing, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-transport-services.git (0.47s)
[9803/30833] Fetching swift-configuration, swift-service-lifecycle, swift-distributed-tracing, swift-nio-ssl
Fetching https://github.com/apple/swift-collections.git
Fetched https://github.com/swift-server/swift-service-lifecycle.git (0.51s)
[10877/27935] Fetching swift-configuration, swift-distributed-tracing, swift-nio-ssl
Fetching https://github.com/apple/swift-metrics.git
[24204/114885] Fetching swift-configuration, swift-distributed-tracing, swift-nio-ssl, swift-nio
[24714/118528] Fetching swift-configuration, swift-distributed-tracing, swift-nio-ssl, swift-nio, swift-metrics
Fetched https://github.com/apple/swift-metrics.git (0.52s)
[34022/114885] Fetching swift-configuration, swift-distributed-tracing, swift-nio-ssl, swift-nio
Fetching https://github.com/apple/swift-atomics.git
[58369/145118] Fetching swift-configuration, swift-distributed-tracing, swift-nio-ssl, swift-nio, swift-collections
Fetched https://github.com/apple/swift-configuration.git (1.36s)
Fetched https://github.com/apple/swift-distributed-tracing.git (1.36s)
Fetching https://github.com/apple/swift-log.git
[75751/134149] Fetching swift-nio-ssl, swift-nio, swift-collections
Fetched https://github.com/apple/swift-nio-ssl.git (1.37s)
[59654/117183] Fetching swift-nio, swift-collections
[62943/119119] Fetching swift-nio, swift-collections, swift-atomics
Fetched https://github.com/apple/swift-atomics.git (0.50s)
[78211/117183] Fetching swift-nio, swift-collections
[94577/125726] Fetching swift-nio, swift-collections, swift-log
Fetched https://github.com/apple/swift-log.git (0.51s)
[99793/117183] Fetching swift-nio, swift-collections
Fetched https://github.com/apple/swift-collections.git (1.45s)
[73038/86950] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git (3.19s)
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.36s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.15s)
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.13s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6869] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git (0.60s)
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.78s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.6 (0.22s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.17.2 (0.14s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.5.0 (0.78s)
Fetching https://github.com/apple/swift-system
[1/7619] Fetching swift-system
Fetched https://github.com/apple/swift-system (0.69s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.13.1 (0.84s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.7.4 (0.14s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.9.0 (0.17s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.105.0 (0.25s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.6 (0.17s)
Creating working copy for https://github.com/apple/swift-configuration.git
Working copy of https://github.com/apple/swift-configuration.git resolved at 1.5.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.7.4
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.6
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.17.2
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-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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.105.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.7
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.6
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-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.13.1
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.9.0
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 1720]
[Planning 1010 / 1720]
[Planning deferred tasks]
[Constructing 2439 / 3951]
[172 / 934] InternalCollectionsUtilities
[265 / 979] SystemPackage
[267 / 988] SystemPackage
[268 / 988] _NIOBase64
[282 / 988] NIOConcurrencyHelpers
[286 / 988] SystemPackage
[296 / 988] InternalCollectionsUtilities
[304 / 988] ValkeyCommandsBuilder-product
[306 / 989] _NIOBase64
[308 / 989] _NIOBase64
[311 / 989] _NIODataStructures
[314 / 990] SystemPackage
[317 / 990] _NIODataStructures
[320 / 990] _NIODataStructures
[323 / 990] NIOConcurrencyHelpers
[327 / 991] ValkeyCommandsBuilder-product
[331 / 991] Logging
[333 / 991] Logging-product
[340 / 992] NIOConcurrencyHelpers
[343 / 992] SpanPreview
[344 / 992] Logging
[352 / 1009] Instrumentation
[368 / 1013] Instrumentation
[381 / 1014] UnixSignals
[414 / 1025] ConcurrencyHelpers
[416 / 1026] CNIOBoringSSL
[417 / 1026] CNIOBoringSSL
[421 / 1027] CNIOBoringSSL
[424 / 1027] CNIOBoringSSL
[436 / 1027] CNIOBoringSSL
[437 / 1027] CNIOBoringSSL
[440 / 1027] Atomics
[448 / 1027] CNIOBoringSSL
[451 / 1027] CNIOBoringSSL
[452 / 1027] CNIOBoringSSL
[455 / 1027] CNIOBoringSSL
[460 / 1027] CNIOBoringSSL
[467 / 1027] CNIOBoringSSL
[468 / 1027] CNIOBoringSSL
[473 / 1027] CNIOBoringSSL
[474 / 1027] CNIOBoringSSL
[475 / 1027] CNIOBoringSSL
[476 / 1027] CNIOBoringSSL
[482 / 1027] CNIOBoringSSL
[484 / 1027] CNIOBoringSSL
[489 / 1027] CNIOBoringSSL
[493 / 1027] CNIOBoringSSL
[496 / 1027] CNIOBoringSSL
[499 / 1027] CNIOBoringSSL
[500 / 1027] CNIOBoringSSL
[501 / 1027] CNIOBoringSSL
[505 / 1027] CNIOBoringSSL
[509 / 1027] CNIOBoringSSL
[511 / 1027] CNIOBoringSSL
[512 / 1027] CNIOBoringSSL
[515 / 1027] CNIOBoringSSL
[517 / 1027] CNIOBoringSSL
[519 / 1027] CNIOBoringSSL
[521 / 1027] CNIOBoringSSL
[522 / 1027] CNIOBoringSSL
[524 / 1027] CNIOBoringSSL
[526 / 1027] CNIOBoringSSL
[527 / 1027] CNIOBoringSSL
[529 / 1027] CNIOBoringSSL
[532 / 1027] CNIOBoringSSL
[534 / 1027] CNIOBoringSSL
[535 / 1027] CNIOBoringSSL
[537 / 1027] CNIOBoringSSL
[539 / 1027] CNIOBoringSSL
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/bio/socket_helper.cc:31:10: fatal error: 'netdb.h' file not found
   31 | #include <netdb.h>
      |          ^~~~~~~~~
1 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.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