The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-cassandra-client, reference main (165294), with Swift 6.4 for Wasm on 1 Dec 2026 04:21:16 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344847-1":/host -w "$PWD" -e GIT_HTTP_LOW_SPEED_LIMIT="100000" -e GIT_HTTP_LOW_SPEED_TIME="60" -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.2.0
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 1652948 Tighten configuration, types and raise the platform floor (#134)
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 @):
16529485e28f80257bfa9c95522608338f6da9e5
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-54344847-1":/host -w "$PWD" -e GIT_HTTP_LOW_SPEED_LIMIT="100000" -e GIT_HTTP_LOW_SPEED_TIME="60" -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:61ac2d22ee4f84f32b993ad4491df2ef854c699b4458dd3409681202d710fec9
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/apple/swift-atomics
Fetching https://github.com/apple/swift-configuration.git
Fetching https://github.com/apple/swift-distributed-tracing
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-metrics
Fetching https://github.com/apple/swift-nio-ssl
[1/3665] Fetching swift-metrics
[2/22688] Fetching swift-metrics, swift-crypto
[3/24624] Fetching swift-metrics, swift-crypto, swift-atomics
[169/28909] Fetching swift-metrics, swift-crypto, swift-atomics, swift-configuration
[519/35678] Fetching swift-metrics, swift-crypto, swift-atomics, swift-configuration, swift-distributed-tracing
[2446/52705] Fetching swift-metrics, swift-crypto, swift-atomics, swift-configuration, swift-distributed-tracing, swift-nio-ssl
Fetched https://github.com/apple/swift-configuration.git (0.61s)
Fetching https://github.com/apple/swift-log
[15806/48420] Fetching swift-metrics, swift-crypto, swift-atomics, swift-distributed-tracing, swift-nio-ssl
[38530/57017] Fetching swift-metrics, swift-crypto, swift-atomics, swift-distributed-tracing, swift-nio-ssl, swift-log
Fetched https://github.com/apple/swift-log (0.60s)
Fetching https://github.com/swift-otel/swift-otel-semantic-conventions
Fetched https://github.com/apple/swift-atomics (1.63s)
Fetched https://github.com/apple/swift-metrics (1.63s)
Fetched https://github.com/apple/swift-distributed-tracing (1.63s)
Fetching https://github.com/apple/swift-nio
[1/2679] Fetching swift-otel-semantic-conventions
Fetched https://github.com/apple/swift-nio-ssl (1.64s)
Fetched https://github.com/apple/swift-crypto.git (1.64s)
Fetched https://github.com/swift-otel/swift-otel-semantic-conventions (0.52s)
[1/87258] Fetching swift-nio
Fetched https://github.com/apple/swift-nio (3.46s)
Computing version for https://github.com/apple/swift-nio-ssl
Computed https://github.com/apple/swift-nio-ssl at 2.37.2 (5.28s)
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.14s)
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.5.1 (0.20s)
Fetching https://github.com/swift-server/swift-service-lifecycle
Fetching https://github.com/apple/swift-system
Fetching https://github.com/apple/swift-collections
[1/7655] Fetching swift-system
[7580/10592] Fetching swift-system, swift-service-lifecycle
[10593/41251] Fetching swift-system, swift-service-lifecycle, swift-collections
Fetched https://github.com/swift-server/swift-service-lifecycle (2.45s)
Fetched https://github.com/apple/swift-system (2.45s)
Fetched https://github.com/apple/swift-collections (2.46s)
Computing version for https://github.com/swift-server/swift-service-lifecycle
Computed https://github.com/swift-server/swift-service-lifecycle at 2.13.0 (2.60s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/7113] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git (0.59s)
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-collections
Computed https://github.com/apple/swift-collections at 1.7.7 (0.23s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.17.2 (0.15s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.105.2 (0.26s)
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-distributed-tracing
Computed https://github.com/apple/swift-distributed-tracing at 1.7.4 (0.14s)
Computing version for https://github.com/apple/swift-metrics
Computed https://github.com/apple/swift-metrics at 2.13.1 (0.15s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.2.0 (0.24s)
Fetching https://github.com/apple/swift-asn1.git
[1/2088] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.45s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.5 (0.64s)
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.17.2
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.1
Creating working copy for https://github.com/apple/swift-metrics
Working copy of https://github.com/apple/swift-metrics resolved at 2.13.1
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 5.2.0
Creating working copy for https://github.com/apple/swift-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.105.2
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-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.5
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
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.9.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-atomics
Working copy of https://github.com/apple/swift-atomics resolved at 1.3.1
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-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.7.7
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 1345]
[Planning 648 / 1345]
[Planning 1338 / 1345]
[Planning deferred tasks]
[Constructing 671 / 3675]
[Starting]
[179 / 1319] Logging
[186 / 1344] SystemPackage
[187 / 1344] _NIOBase64
[199 / 1344] Logging
[209 / 1344] SystemPackage
[210 / 1344] _NIOBase64
[213 / 1345] SystemPackage
[220 / 1345] _NIOBase64
[223 / 1345] _NIOBase64
[225 / 1345] NIOConcurrencyHelpers
[228 / 1346] NIOConcurrencyHelpers-product
[231 / 1346] _NIODataStructures
[234 / 1346] _NIODataStructures
[238 / 1347] SystemPackage
[241 / 1347] Logging
[247 / 1369] CoreMetrics
[250 / 1383] NIOConcurrencyHelpers
[251 / 1383] Instrumentation
[254 / 1383] Instrumentation
[266 / 1383] InternalCollectionsUtilities
[268 / 1384] Logging
[272 / 1384] Logging
[282 / 1384] ServiceContextModule
[283 / 1384] SpanPreview
[288 / 1384] CryptoBoringWrapper
[290 / 1385] InternalCollectionsUtilities
[295 / 1386] InternalCollectionsUtilities
[300 / 1386] InternalCollectionsUtilities
[305 / 1386] CryptoBoringWrapper
[306 / 1386] Metrics
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:
/host/spi-builder-workspace/Sources/Clibuv/include/uv/unix.h:34:10: fatal error: 'netdb.h' file not found
   34 | #include <netdb.h>  /* MAXHOSTNAMELEN on Solaris */
      |          ^~~~~~~~~
1 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