Build Information
Failed to build swift-cassandra-client, reference 0.14.1 (0a956b), with Swift 6.4 for Wasm on 28 Oct 2026 17:20:41 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886768-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: 0.14.1
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
* tag 0.14.1 -> FETCH_HEAD
HEAD is now at 0a956be Widen accepted versions of swift-crypto dependency (#137)
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 @):
0a956bed65ce72b76dd6d5c0703f4e29cf6f70d1
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/swift-cassandra-client.git at 0.14.1
========================================
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-53886768-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:0ad19d16955074ecc72bbe910025b19c4e4614184c1a48afc82660d4c7620121
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/swift-otel/swift-otel-semantic-conventions
Fetching https://github.com/apple/swift-log
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/apple/swift-crypto.git
[1/8381] Fetching swift-log
[8382/10977] Fetching swift-log, swift-otel-semantic-conventions
[10252/17674] Fetching swift-log, swift-otel-semantic-conventions, swift-distributed-tracing
Fetched https://github.com/apple/swift-distributed-tracing (1.17s)
Fetching https://github.com/apple/swift-atomics
[1/18859] Fetching swift-crypto
[1322/23033] Fetching swift-crypto, swift-configuration
[2703/26648] Fetching swift-crypto, swift-configuration, swift-metrics
[12453/28541] Fetching swift-crypto, swift-configuration, swift-metrics, swift-atomics
Fetched https://github.com/apple/swift-log (2.17s)
Fetching https://github.com/apple/swift-nio-ssl
Fetched https://github.com/apple/swift-configuration.git (2.17s)
Fetched https://github.com/swift-otel/swift-otel-semantic-conventions (2.17s)
Fetching https://github.com/apple/swift-nio
[23137/24367] Fetching swift-crypto, swift-metrics, swift-atomics
Fetched https://github.com/apple/swift-crypto.git (2.40s)
[4335/5508] Fetching swift-metrics, swift-atomics
Fetched https://github.com/apple/swift-atomics (1.44s)
[1/16894] Fetching swift-nio-ssl
[16895/103581] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-metrics (3.68s)
Fetched https://github.com/apple/swift-nio-ssl (1.52s)
[867/86687] Fetching swift-nio
Fetched https://github.com/apple/swift-nio (10.96s)
Computing version for https://github.com/apple/swift-nio-ssl
Computed https://github.com/apple/swift-nio-ssl at 2.37.2 (13.32s)
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.15s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.4.0 (0.19s)
Fetching https://github.com/apple/swift-system
Fetching https://github.com/swift-server/swift-service-lifecycle
Fetching https://github.com/apple/swift-collections
[1/2886] Fetching swift-service-lifecycle
[290/32248] Fetching swift-service-lifecycle, swift-collections
[6971/39642] Fetching swift-service-lifecycle, swift-collections, swift-system
Fetched https://github.com/swift-server/swift-service-lifecycle (1.33s)
Fetched https://github.com/apple/swift-system (1.33s)
Fetched https://github.com/apple/swift-collections (1.34s)
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.48s)
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.97s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.7 (1.15s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.16.2 (0.14s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.7.5 (0.22s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.104.0 (0.24s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.8.1 (0.16s)
Computing version for https://github.com/apple/swift-distributed-tracing
Computed https://github.com/apple/swift-distributed-tracing at 1.7.3 (0.13s)
Computing version for https://github.com/apple/swift-metrics
Computed https://github.com/apple/swift-metrics at 2.13.0 (0.14s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.0.3 (0.22s)
Fetching https://github.com/apple/swift-asn1.git
[1/2051] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.61s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.78s)
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 5.0.3
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.3
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/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.16.2
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.7.5
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-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
Working copy of https://github.com/apple/swift-nio resolved at 2.104.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-metrics
Working copy of https://github.com/apple/swift-metrics resolved at 2.13.0
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-distributed-tracing
Working copy of https://github.com/apple/swift-distributed-tracing resolved at 1.7.3
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 1139 / 1345]
[Planning deferred tasks]
[Constructing 1257 / 3689]
[60 / 1322] _AtomicsShims
[200 / 1358] CryptoBoringWrapper
[204 / 1393] SystemPackage
[207 / 1393] _NIOBase64
[228 / 1393] Logging
[231 / 1393] Logging
[251 / 1393] SystemPackage
[252 / 1393] _NIOBase64
[261 / 1394] SystemPackage
[267 / 1394] NIOConcurrencyHelpers
[270 / 1394] NIOConcurrencyHelpers-product
[276 / 1395] _NIODataStructures
[287 / 1397] NIOConcurrencyHelpers
[290 / 1397] NIOConcurrencyHelpers
[295 / 1397] Instrumentation
[302 / 1397] CryptoBoringWrapper
[307 / 1399] Instrumentation
[314 / 1399] CryptoBoringWrapper
[316 / 1399] CoreMetrics
[320 / 1399] CryptoBoringWrapper
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
In file included from /host/spi-builder-workspace/Sources/Clibuv/libuv/src/uv-data-getter-setters.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/uv-data-getter-setters.o /host/spi-builder-workspace/Sources/Clibuv/libuv/src/uv-data-getter-setters.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/uv-data-getter-setters.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-cassandra-client.build/Debug-webassembly-wasm32/Clibuv-t.build/Objects-normal/wasm32/uv-data-getter-setters.dia -c /host/spi-builder-workspace/Sources/Clibuv/libuv/src/uv-data-getter-setters.c -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-cassandra-client.build/Debug-webassembly-wasm32/Clibuv-t.build/Objects-normal/wasm32/uv-data-getter-setters.o
error: Build failed
BUILD FAILURE 6.4 wasm