The Swift Package Index logo.Swift Package Index

Build Information

Failed to build valkey-swift, reference main (8b9bfa), with Swift 6.4 for Wasm on 19 Oct 2026 09:38:51 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-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.3
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 8b9bfad Add typed LATENCY LATEST events (#405)
Cloned https://github.com/valkey-io/valkey-swift.git
Revision (git rev-parse @):
8b9bfad1a8ff22bab0065c31e4df4ac101525134
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-54344844-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:7a2e5502d3bb6640f9b2bbb1dadf9967024364ce9ed0ed0bd80cf1b699d193fd
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-configuration.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/4091] Fetching swift-configuration
[2/10753] Fetching swift-configuration, swift-distributed-tracing
[8356/27641] Fetching swift-configuration, swift-distributed-tracing, swift-nio-ssl
[18861/114205] Fetching swift-configuration, swift-distributed-tracing, swift-nio-ssl, swift-nio
[24624/117085] Fetching swift-configuration, swift-distributed-tracing, swift-nio-ssl, swift-nio, swift-service-lifecycle
Fetched https://github.com/swift-server/swift-service-lifecycle.git (1.12s)
Fetching https://github.com/apple/swift-collections.git
[36298/114205] Fetching swift-configuration, swift-distributed-tracing, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git (1.29s)
Fetching https://github.com/apple/swift-log.git
[30663/97317] Fetching swift-configuration, swift-distributed-tracing, swift-nio
[36724/100184] Fetching swift-configuration, swift-distributed-tracing, swift-nio, swift-nio-transport-services
[60366/108489] Fetching swift-configuration, swift-distributed-tracing, swift-nio, swift-nio-transport-services, swift-log
Fetched https://github.com/apple/swift-log.git (0.52s)
Fetching https://github.com/apple/swift-atomics.git
[66726/100184] Fetching swift-configuration, swift-distributed-tracing, swift-nio, swift-nio-transport-services
[69888/129088] Fetching swift-configuration, swift-distributed-tracing, swift-nio, swift-nio-transport-services, swift-collections
[82894/130977] Fetching swift-configuration, swift-distributed-tracing, swift-nio, swift-nio-transport-services, swift-collections, swift-atomics
Fetched https://github.com/apple/swift-atomics.git (0.47s)
[89828/129088] Fetching swift-configuration, swift-distributed-tracing, swift-nio, swift-nio-transport-services, swift-collections
Fetched https://github.com/apple/swift-collections.git (1.55s)
[74215/100184] Fetching swift-configuration, swift-distributed-tracing, swift-nio, swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git (5.21s)
Fetched https://github.com/apple/swift-configuration.git (5.21s)
Fetched https://github.com/apple/swift-distributed-tracing.git (5.21s)
Fetched https://github.com/apple/swift-nio.git (5.24s)
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 (5.41s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.16s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.2.2 (0.79s)
Fetching https://github.com/apple/swift-system
[1/7331] Fetching swift-system
Fetched https://github.com/apple/swift-system (0.67s)
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.82s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6821] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git (0.57s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.16.1 (0.73s)
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.18s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.3 (0.23s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.7.2 (0.15s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.8.1 (0.17s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.104.0 (0.26s)
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.19s)
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.2
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.1
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-collections.git
Working copy of https://github.com/apple/swift-collections.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-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.5
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.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-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-system
Working copy of https://github.com/apple/swift-system resolved at 1.8.1
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 1661]
[Planning 984 / 1661]
[Planning deferred tasks]
[Constructing 2227 / 3812]
[162 / 903] Logging
[255 / 940] SystemPackage
[257 / 957] Logging
[257 / 957] _NIODataStructures
[270 / 957] NIOConcurrencyHelpers
[281 / 957] ValkeyCommandsBuilder-product
[289 / 957] _NIOBase64
[292 / 958] InternalCollectionsUtilities
[300 / 958] _NIOBase64
[302 / 959] _NIOBase64
[307 / 959] _NIODataStructures
[309 / 959] _NIODataStructures
[312 / 959] NIOConcurrencyHelpers
[318 / 960] NIOConcurrencyHelpers-product
[322 / 960] Logging
[328 / 961] SpanPreview
[334 / 961] InternalCollectionsUtilities
[336 / 961] InternalCollectionsUtilities
[348 / 985] Instrumentation
[377 / 986] CNIOFreeBSD
[380 / 986] CNIODarwin
[381 / 986] CNIOBoringSSL
[388 / 987] CNIOBoringSSL
[389 / 987] CNIOBoringSSL
[400 / 987] CNIOBoringSSL
[401 / 987] Atomics
[404 / 987] Atomics
[414 / 987] CNIOBoringSSL
[415 / 987] CNIOBoringSSL
[416 / 987] CNIOBoringSSL
[426 / 987] CNIOBoringSSL
[431 / 987] CNIOBoringSSL
[432 / 987] CNIOBoringSSL
[434 / 987] CNIOBoringSSL
[437 / 987] CNIOBoringSSL
[440 / 987] CNIOBoringSSL
[441 / 987] CNIOBoringSSL
[445 / 987] CNIOBoringSSL
[447 / 987] CNIOBoringSSL
[448 / 987] CNIOBoringSSL
[449 / 987] CNIOBoringSSL
[452 / 987] CNIOBoringSSL
[456 / 987] CNIOBoringSSL
[457 / 987] CNIOBoringSSL
[459 / 987] CNIOBoringSSL
[463 / 987] CNIOBoringSSL
[465 / 987] CNIOBoringSSL
[467 / 987] CNIOBoringSSL
[469 / 987] CNIOBoringSSL
[475 / 987] CNIOBoringSSL
[477 / 987] CNIOBoringSSL
[479 / 987] CNIOBoringSSL
[481 / 987] CNIOBoringSSL
[483 / 987] CNIOBoringSSL
[486 / 987] CNIOBoringSSL
[488 / 987] CNIOBoringSSL
[491 / 987] CNIOBoringSSL
[493 / 987] CNIOBoringSSL
[495 / 987] CNIOBoringSSL
[498 / 987] CNIOBoringSSL
[501 / 987] CNIOBoringSSL
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/bio/socket_helper.cc:30:10: fatal error: 'netdb.h' file not found
   30 | #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
[502 / 987] CNIOBoringSSL
error: Build failed
BUILD FAILURE 6.4 wasm