Build Information
Failed to build swift-cassandra-client, reference main (b85bad), with Swift 6.4 for Wasm on 12 Nov 2026 09:35: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.0-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-cassandra-client.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/apple/swift-cassandra-client
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at b85bade Run the documentation check on Swift 6.3 (#140)
Submodule path 'Sources/CDataStaxDriver/datastax-cpp-driver': checked out '90df2c9ca1aa184a746445698533c71f7f34a2e1'
Submodule path 'Sources/Clibuv/libuv': checked out '0c1fa696aa502eb749c2c4735005f41ba00a27b8'
Submodule 'datastax-cpp-driver' (https://github.com/datastax/cpp-driver.git) registered for path 'Sources/CDataStaxDriver/datastax-cpp-driver'
Submodule 'libuv' (https://github.com/libuv/libuv.git) registered for path 'Sources/Clibuv/libuv'
Cloning into '/host/spi-builder-workspace/Sources/CDataStaxDriver/datastax-cpp-driver'...
Cloning into '/host/spi-builder-workspace/Sources/Clibuv/libuv'...
Cloned https://github.com/apple/swift-cassandra-client.git
Revision (git rev-parse @):
b85badeb58cea394724836e36e0ee0ae1243c0a6
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/swift-cassandra-client.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/apple/swift-cassandra-client.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.0-RELEASE_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:366b789e191e803aab570d7212596991386521d71ea439b0666be689b4886df3
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/apple/swift-distributed-tracing
Fetching https://github.com/apple/swift-configuration.git
Fetching https://github.com/apple/swift-metrics
Fetching https://github.com/swift-otel/swift-otel-semantic-conventions
Fetching https://github.com/apple/swift-crypto.git
[1/18948] Fetching swift-crypto
[380/22563] Fetching swift-crypto, swift-metrics
[417/26765] Fetching swift-crypto, swift-metrics, swift-configuration
[6287/33466] Fetching swift-crypto, swift-metrics, swift-configuration, swift-distributed-tracing
Fetched https://github.com/apple/swift-metrics (0.53s)
[4390/29851] Fetching swift-crypto, swift-configuration, swift-distributed-tracing
Fetching https://github.com/apple/swift-atomics
Fetched https://github.com/apple/swift-configuration.git (0.65s)
Fetched https://github.com/apple/swift-distributed-tracing (0.65s)
Fetching https://github.com/apple/swift-nio-ssl
Fetching https://github.com/apple/swift-nio
[2464/18948] Fetching swift-crypto
[3602/21549] Fetching swift-crypto, swift-otel-semantic-conventions
Fetched https://github.com/swift-otel/swift-otel-semantic-conventions (0.84s)
[7580/18948] Fetching swift-crypto
[13265/20875] Fetching swift-crypto, swift-atomics
Fetched https://github.com/apple/swift-atomics (0.51s)
[1/16951] Fetching swift-nio-ssl
Fetching https://github.com/apple/swift-log
[16952/25301] Fetching swift-nio-ssl, swift-log
Fetched https://github.com/apple/swift-log (0.54s)
Fetched https://github.com/apple/swift-crypto.git (1.81s)
[1/86863] Fetching swift-nio
Fetched https://github.com/apple/swift-nio-ssl (1.24s)
Fetched https://github.com/apple/swift-nio (3.63s)
Computing version for https://github.com/apple/swift-nio-ssl
Computed https://github.com/apple/swift-nio-ssl at 2.37.2 (4.47s)
Computing version for https://github.com/swift-otel/swift-otel-semantic-conventions
Computed https://github.com/swift-otel/swift-otel-semantic-conventions at 1.44.0 (0.13s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.3.1 (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.19s)
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/swift-server/swift-service-lifecycle
Fetching https://github.com/apple/swift-system
[1/2892] Fetching swift-service-lifecycle
Fetched https://github.com/swift-server/swift-service-lifecycle (0.49s)
[1/7532] Fetching swift-system
[378/37454] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system (1.23s)
Fetched https://github.com/apple/swift-collections (1.24s)
Computing version for https://github.com/swift-server/swift-service-lifecycle
Computed https://github.com/swift-server/swift-service-lifecycle at 2.13.0 (1.37s)
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.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.77s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.17.0 (0.14s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.7.6 (0.21s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.105.0 (0.24s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.8.1 (0.15s)
Computing version for https://github.com/apple/swift-distributed-tracing
Computed https://github.com/apple/swift-distributed-tracing at 1.7.4 (0.13s)
Computing version for https://github.com/apple/swift-metrics
Computed https://github.com/apple/swift-metrics at 2.13.0 (0.13s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.1.1 (0.21s)
Fetching https://github.com/apple/swift-asn1.git
[1/2067] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.43s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.4 (0.59s)
Creating working copy for https://github.com/apple/swift-metrics
Working copy of https://github.com/apple/swift-metrics resolved at 2.13.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-system
Working copy of https://github.com/apple/swift-system resolved at 1.8.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.5.0
Creating working copy for https://github.com/apple/swift-nio-ssl
Working copy of https://github.com/apple/swift-nio-ssl resolved at 2.37.2
Creating working copy for https://github.com/apple/swift-distributed-tracing
Working copy of https://github.com/apple/swift-distributed-tracing resolved at 1.7.4
Creating working copy for https://github.com/apple/swift-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.105.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 5.1.1
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.17.0
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.7.6
Creating working copy for https://github.com/apple/swift-atomics
Working copy of https://github.com/apple/swift-atomics resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.4
Creating working copy for https://github.com/swift-otel/swift-otel-semantic-conventions
Working copy of https://github.com/swift-otel/swift-otel-semantic-conventions resolved at 1.44.0
Creating working copy for https://github.com/swift-server/swift-service-lifecycle
Working copy of https://github.com/swift-server/swift-service-lifecycle resolved at 2.13.0
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 1345]
[Planning 1198 / 1345]
[Planning deferred tasks]
[Constructing 1368 / 3689]
[161 / 1322] CNIOAtomics
[201 / 1368] SystemPackage
[201 / 1368] NIOConcurrencyHelpers
[219 / 1368] SystemPackage
[231 / 1368] _NIODataStructures
[239 / 1368] SystemPackage
[244 / 1369] _NIODataStructures
[251 / 1370] _NIODataStructures
[257 / 1370] Logging-product
[263 / 1370] InternalCollectionsUtilities
[267 / 1371] SpanPreview
[270 / 1372] SystemPackage
[281 / 1397] Instrumentation
[292 / 1398] ServiceContextModule
[300 / 1398] CoreMetrics
[301 / 1399] CoreMetrics
[310 / 1400] CryptoBoringWrapper
[314 / 1400] CryptoBoringWrapper
[321 / 1400]
In file included from /host/spi-builder-workspace/Sources/Clibuv/libuv/src/version.c:22:
In file included from /host/spi-builder-workspace/Sources/Clibuv/include/uv.h:68:
[1m/host/spi-builder-workspace/Sources/Clibuv/include/uv/unix.h:34:10: [0m[0;1;31mfatal error: [0m[1m'netdb.h' file not found[0m
34 | #include <netdb.h> [0;33m/* MAXHOSTNAMELEN on Solaris */[0m
| [0;1;32m ^~~~~~~~~
[0m1 error generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-cassandra-client.build/Debug-webassembly-wasm32/Clibuv-t.build/Objects-normal/wasm32/version.o /host/spi-builder-workspace/Sources/Clibuv/libuv/src/version.c 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-cassandra-client.build/Debug-webassembly-wasm32/Clibuv-t.build/Objects-normal/wasm32/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-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-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 -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 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -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-cassandra-client.build/Debug-webassembly-wasm32/Clibuv-t.build/Objects-normal/wasm32/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-cassandra-client.build/Debug-webassembly-wasm32/Clibuv-t.build/Objects-normal/wasm32/version.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-cassandra-client.build/Debug-webassembly-wasm32/Clibuv-t.build/Objects-normal/wasm32/version.dia -c /host/spi-builder-workspace/Sources/Clibuv/libuv/src/version.c -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-cassandra-client.build/Debug-webassembly-wasm32/Clibuv-t.build/Objects-normal/wasm32/version.o
error: Build failed
BUILD FAILURE 6.4 wasm