Build Information
Failed to build swift-async-dns-resolver, reference main (5aefa6), with Swift 6.3 for Wasm on 9 Oct 2026 22:39:04 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-1":/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.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-async-dns-resolver.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-async-dns-resolver
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 5aefa6d Housekeeping: replace repo-level CODE_OF_CONDUCT (#89)
Submodule path 'Sources/CAsyncDNSResolver/c-ares': checked out '3ac47ee46edd8ea40370222f91613fc16c434853'
Submodule 'c-ares' (https://github.com/c-ares/c-ares.git) registered for path 'Sources/CAsyncDNSResolver/c-ares'
Cloning into '/host/spi-builder-workspace/Sources/CAsyncDNSResolver/c-ares'...
Cloned https://github.com/apple/swift-async-dns-resolver.git
Revision (git rev-parse @):
5aefa6d4f32271d32b84ffee92e85013c7b7a5de
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/swift-async-dns-resolver.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/apple/swift-async-dns-resolver.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-1":/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.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:df2e9038ff906af397ec7b7e13902ccb183f8867606bc33419e44453a9abdb4b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Building for debugging...
[0/93] Compiling ares_android.c
/host/spi-builder-workspace/Sources/CAsyncDNSResolver/c-ares/src/lib/ares_gethostbyaddr.c:34:12: fatal error: 'netdb.h' file not found
34 | # include <netdb.h>
| ^~~~~~~~~
1 error generated.
[1/93] Compiling ares_gethostbyaddr.c
[1/93] Compiling ares_close_sockets.c
/host/spi-builder-workspace/Sources/CAsyncDNSResolver/c-ares/src/lib/ares_addrinfo_localhost.c:34:12: fatal error: 'netdb.h' file not found
34 | # include <netdb.h>
| ^~~~~~~~~
1 error generated.
[1/93] Compiling ares_addrinfo_localhost.c
/host/spi-builder-workspace/Sources/CAsyncDNSResolver/c-ares/src/lib/ares_gethostbyname.c:34:12: fatal error: 'netdb.h' file not found
34 | # include <netdb.h>
| ^~~~~~~~~
1 error generated.
[1/93] Compiling ares_gethostbyname.c
[1/93] Compiling ares_metrics.c
/host/spi-builder-workspace/Sources/CAsyncDNSResolver/c-ares/src/lib/ares_getnameinfo.c:39:12: fatal error: 'netdb.h' file not found
39 | # include <netdb.h>
| ^~~~~~~~~
1 error generated.
[1/93] Compiling ares_getnameinfo.c
[1/93] Compiling ares_cancel.c
[1/93] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.3 wasm