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 0.5.0 (85f017), with Swift 6.2 (beta) for Wasm on 23 Jun 2025 02:11:19 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" 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.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-cassandra-client.git
Reference: 0.5.0
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.5.0      -> FETCH_HEAD
HEAD is now at 85f017c Require cxx17 and require NIOSSL 2.29.3 (#47)
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 @):
85f017c2dfd772330bd2c0c98b2b9623297bd598
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/swift-cassandra-client.git at 0.5.0
========================================
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-4606859-2":/host -w "$PWD" 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:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-nio-ssl
Fetching https://github.com/apple/swift-atomics
Fetching https://github.com/apple/swift-log
Fetching https://github.com/apple/swift-nio
[1/3836] Fetching swift-log
[78/5633] Fetching swift-log, swift-atomics
[5634/81972] Fetching swift-log, swift-atomics, swift-nio
[7161/96862] Fetching swift-log, swift-atomics, swift-nio, swift-nio-ssl
Fetched https://github.com/apple/swift-log from cache (0.51s)
[6340/93026] Fetching swift-atomics, swift-nio, swift-nio-ssl
Fetched https://github.com/apple/swift-atomics from cache (2.82s)
[71381/91229] Fetching swift-nio, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-ssl from cache (2.85s)
[57255/76339] Fetching swift-nio
Fetched https://github.com/apple/swift-nio from cache (5.60s)
Computing version for https://github.com/apple/swift-nio-ssl
Computed https://github.com/apple/swift-nio-ssl at 2.32.0 (6.25s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.3.0 (0.42s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.83.0 (0.91s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/4436] Fetching swift-system
[4437/21076] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.45s)
[832/16640] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.30s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (1.73s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.80s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.3 (0.63s)
Creating working copy for https://github.com/apple/swift-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.83.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.32.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.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.5.0
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.3
Creating working copy for https://github.com/apple/swift-atomics
Working copy of https://github.com/apple/swift-atomics resolved at 1.3.0
Building for debugging...
[0/584] Compiling strtok.c
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/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 */
      |          ^~~~~~~~~
1 error generated.
[1/584] Compiling threadpool.c
[1/584] Compiling inet.c
In file included from /host/spi-builder-workspace/Sources/Clibuv/libuv/src/idna.c:20:
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.
[1/584] Compiling idna.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 */
      |          ^~~~~~~~~
[1/584] Compiling timer.c
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.
[1/584] Compiling random.c
In file included from /host/spi-builder-workspace/Sources/Clibuv/libuv/src/fs-poll.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/584] Compiling fs-poll.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/584] Compiling strscpy.c
[1/584] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 wasm