The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build swift-cassandra-client, reference main (7d9915), with Swift 6.2 (beta) for Wasm on 1 Sep 2025 23:05:15 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
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 7d9915c Update internal typealias misspelling (#60)
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 @):
7d9915c25a7156ee4ccb32992d421d82853bebee
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.2
Building package at path:  $PWD
https://github.com/apple/swift-cassandra-client.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:3160178686d03086db4c1712d78c1980537bb37521128c64baade7f466b6b4aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-nio
Fetching https://github.com/apple/swift-atomics
Fetching https://github.com/apple/swift-log
Fetching https://github.com/apple/swift-nio-ssl
[1/1814] Fetching swift-atomics
[437/5717] Fetching swift-atomics, swift-log
[5718/20792] Fetching swift-atomics, swift-log, swift-nio-ssl
[9487/98746] Fetching swift-atomics, swift-log, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-log from cache (1.83s)
Fetched https://github.com/apple/swift-nio-ssl from cache (1.85s)
[54044/79768] Fetching swift-atomics, swift-nio
Fetched https://github.com/apple/swift-atomics from cache (5.81s)
Fetched https://github.com/apple/swift-nio from cache (5.91s)
Computing version for https://github.com/apple/swift-nio-ssl
Computed https://github.com/apple/swift-nio-ssl at 2.33.0 (6.38s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.3.0 (0.36s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.86.0 (0.66s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/4941] Fetching swift-system
[4745/22335] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.41s)
[3827/17394] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.06s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.2 (1.48s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (0.56s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.4 (0.34s)
Creating working copy for https://github.com/apple/swift-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.86.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.2
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.4
Creating working copy for https://github.com/apple/swift-atomics
Working copy of https://github.com/apple/swift-atomics resolved at 1.3.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.33.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.2.1
Building for debugging...
[0/585] Compiling strtok.c
[1/585] Write sources
In file included from /host/spi-builder-workspace/Sources/Clibuv/libuv/src/inet.c:27:
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.
In file included from /host/spi-builder-workspace/Sources/Clibuv/libuv/src/random.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.
[3/585] Compiling random.c
In file included from /host/spi-builder-workspace/Sources/Clibuv/libuv/src/unix/async.c:25:
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.
[3/585] Compiling async.c
[3/585] Compiling inet.c
[3/585] Compiling _AtomicsShims.c
In file included from /host/spi-builder-workspace/Sources/Clibuv/libuv/src/timer.c:21:
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 */
      |          ^~~~~~~~~
[3/585] Compiling timer.c
In file included from /host/spi-builder-workspace/Sources/Clibuv/libuv/src/strscpy.c:22:
In file included from /host/spi-builder-workspace/Sources/Clibuv/libuv/src/strscpy.h:29:
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.
[3/585] Compiling strscpy.c
[3/585] Write swift-version-24593BA9C3E375BF.txt
In file included from /host/spi-builder-workspace/Sources/Clibuv/libuv/src/threadpool.c:22:
In file included from /host/spi-builder-workspace/Sources/Clibuv/libuv/src/uv-common.h:40:
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 */
      |          ^~~~~~~~~
[3/585] Compiling threadpool.c
BUILD FAILURE 6.2 wasm