Build Information
Failed to build postgres-nio, reference 1.34.0-beta.2 (6ca5e9), with Swift 6.4 for Wasm on 24 Nov 2026 14:16:25 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-58779149-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/vapor/postgres-nio.git
Reference: 1.34.0-beta.2
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/vapor/postgres-nio
* tag 1.34.0-beta.2 -> FETCH_HEAD
HEAD is now at 6ca5e99 Implement distributed tracing (#687)
Cloned https://github.com/vapor/postgres-nio.git
Revision (git rev-parse @):
6ca5e99627536d3888b9923aca13a99d30bb6727
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/vapor/postgres-nio.git at 1.34.0-beta.2
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/vapor/postgres-nio.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-58779149-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:6e96de89237e7c0ea2deedfd5eb0c8fe8422d29c0e185f62352b98a0ea224104
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-metrics.git
[1/8584] Fetching swift-log
[1804/27607] Fetching swift-log, swift-crypto
[7213/34338] Fetching swift-log, swift-crypto, swift-distributed-tracing
[11702/51332] Fetching swift-log, swift-crypto, swift-distributed-tracing, swift-nio-ssl
Fetched https://github.com/apple/swift-log.git (0.53s)
[8213/42748] Fetching swift-crypto, swift-distributed-tracing, swift-nio-ssl
Fetching https://github.com/apple/swift-nio.git
[9825/45667] Fetching swift-crypto, swift-distributed-tracing, swift-nio-ssl, swift-service-lifecycle
[9826/49323] Fetching swift-crypto, swift-distributed-tracing, swift-nio-ssl, swift-service-lifecycle, swift-metrics
Fetched https://github.com/apple/swift-metrics.git (0.71s)
Fetching https://github.com/apple/swift-nio-transport-services.git
[16243/45667] Fetching swift-crypto, swift-distributed-tracing, swift-nio-ssl, swift-service-lifecycle
[45668/48548] Fetching swift-crypto, swift-distributed-tracing, swift-nio-ssl, swift-service-lifecycle, swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git (0.47s)
Fetching https://github.com/apple/swift-collections.git
Fetched https://github.com/swift-server/swift-service-lifecycle.git (1.36s)
Fetched https://github.com/apple/swift-distributed-tracing.git (1.36s)
Fetching https://github.com/apple/swift-atomics.git
Fetched https://github.com/apple/swift-nio-ssl.git (1.37s)
Fetched https://github.com/apple/swift-crypto.git (1.38s)
[1/87132] Fetching swift-nio
[27012/89068] Fetching swift-nio, swift-atomics
[33616/119568] Fetching swift-nio, swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git (0.56s)
[49753/117632] Fetching swift-nio, swift-collections
Fetched https://github.com/apple/swift-collections.git (1.46s)
[70577/87132] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git (3.46s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.7.4 (4.14s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.15s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.13.1 (0.14s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.28.0 (0.14s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.13.0 (0.13s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6995] 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.78s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.6 (0.24s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.17.2 (0.15s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.7 (0.19s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.105.2 (0.26s)
Fetching https://github.com/apple/swift-system.git
[1/7601] Fetching swift-system
Fetched https://github.com/apple/swift-system.git (0.79s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.9.0 (0.99s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.2.0 (1.09s)
Fetching https://github.com/apple/swift-asn1.git
[1/2088] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.47s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.5 (0.66s)
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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.17.2
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.6
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.37.7
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/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.28.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.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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.105.2
Creating working copy for https://github.com/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.7.4
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.13.1
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.13.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Building for debugging...
[Computing dependencies]
[Provisioning 11 / 77]
[Pre-planning 1 / 1695]
[Planning 1075 / 1695]
[Planning deferred tasks]
[Constructing 964 / 4284]
[Starting]
[227 / 1291]
[247 / 1347] InternalCollectionsUtilities
[248 / 1355] Logging
[249 / 1355] _NIOBase64
[252 / 1355] _NIODataStructures
[272 / 1355] ConcurrencyHelpers
[284 / 1355] InternalCollectionsUtilities
[296 / 1355] SwiftASN1
[307 / 1356] _NIOBase64
[310 / 1356] SwiftASN1
[311 / 1356] NIOConcurrencyHelpers
[316 / 1357] _NIODataStructures
[320 / 1357] Logging-product
[325 / 1358] Logging-product
[330 / 1358] SpanPreview
[334 / 1358] InternalCollectionsUtilities
[337 / 1359] Instrumentation
[343 / 1360] Instrumentation
[351 / 1360] Metrics
[359 / 1362] CXKCP
[369 / 1372] CryptoBoringWrapper
[370 / 1373] InternalCollectionsUtilities
[380 / 1374] CryptoBoringWrapper
[384 / 1374]
[409 / 1383] SpanPreview
[411 / 1386] UnixSignals
[430 / 1398] ServiceContextModule
[435 / 1407] OrderedCollections
[437 / 1407] CNIOBoringSSL
[439 / 1407] CNIOBoringSSL
[441 / 1407] CNIOBoringSSL
[444 / 1407] CNIOBoringSSL
[452 / 1407] CNIOBoringSSL
[453 / 1407] Atomics
[455 / 1407] Atomics
[460 / 1407] CNIOBoringSSL
[464 / 1407] CNIOBoringSSL
[464 / 1407] OrderedCollections
[466 / 1407] CNIOBoringSSL
[473 / 1407] CNIOBoringSSL
[474 / 1407] CNIOBoringSSL
[475 / 1407] CNIOBoringSSL
[476 / 1407] CNIOBoringSSL
[478 / 1407] CNIOBoringSSL
[479 / 1407] CNIOBoringSSL
[483 / 1407] CNIOBoringSSL
[486 / 1407] CNIOBoringSSL
[491 / 1407] CNIOBoringSSL
[495 / 1407] CNIOBoringSSL
[496 / 1407] CNIOBoringSSL
[498 / 1407] CNIOBoringSSL
[499 / 1407] CNIOBoringSSL
[500 / 1407] CNIOBoringSSL
[501 / 1407] CNIOBoringSSL
[503 / 1407] CNIOBoringSSL
[505 / 1407] CNIOBoringSSL
[506 / 1407] CNIOBoringSSL
[510 / 1407] CNIOBoringSSL
[512 / 1407] CNIOBoringSSL
[514 / 1407] CNIOBoringSSL
[515 / 1407] CNIOBoringSSL
[518 / 1407] CNIOBoringSSL
[520 / 1407] CNIOBoringSSL
[524 / 1407] CNIOBoringSSL
[525 / 1407] CNIOBoringSSL
[526 / 1407] CNIOBoringSSL
[527 / 1407] CNIOBoringSSL
[530 / 1407] CNIOBoringSSL
[532 / 1407] CNIOBoringSSL
[534 / 1407] CNIOBoringSSL
[536 / 1407] CNIOBoringSSL
[538 / 1407] CNIOBoringSSL
[540 / 1407] CNIOBoringSSL
[542 / 1407] CNIOBoringSSL
[543 / 1407] CNIOBoringSSL
[545 / 1407] CNIOBoringSSL
[546 / 1407] CNIOBoringSSL
[547 / 1407] CNIOBoringSSL
[548 / 1407] CNIOBoringSSL
[549 / 1407] CNIOBoringSSL
[550 / 1407] CNIOBoringSSL
[553 / 1407] CNIOBoringSSL
[554 / 1407] CNIOBoringSSL
[557 / 1407] CNIOBoringSSL
[558 / 1407] CNIOBoringSSL
[560 / 1407] CNIOBoringSSL
[561 / 1407] CNIOBoringSSL
[563 / 1407] CNIOBoringSSL
[566 / 1407] CNIOBoringSSL
[1m/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/bio/socket_helper.cc:31:10: [0m[0;1;31mfatal error: [0m[1m'netdb.h' file not found[0m
31 | #include <netdb.h>[0m
| [0;1;32m ^~~~~~~~~
[0m1 error generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-ssl.build/Debug-webassembly-wasm32/CNIOBoringSSL-t.build/Objects-normal/wasm32/socket_helper.o /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/bio/socket_helper.cc 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-nio-ssl.build/Debug-webassembly-wasm32/CNIOBoringSSL-t.build/Objects-normal/wasm32/11b881b950eb02e21769317df93e9b41d1d7f0348e4e0901ae810dce93ca1a57-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-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -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 -w -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 -Wno-newline-eof -Wno-c++11-extensions -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -Wno-sign-conversion -Wno-infinite-recursion -Wno-move -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-range-loop-analysis -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-nio-ssl.build/Debug-webassembly-wasm32/CNIOBoringSSL-t.build/Objects-normal/wasm32/11b881b950eb02e21769317df93e9b41d1d7f0348e4e0901ae810dce93ca1a57-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-ssl.build/Debug-webassembly-wasm32/CNIOBoringSSL-t.build/Objects-normal/wasm32/socket_helper.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-ssl.build/Debug-webassembly-wasm32/CNIOBoringSSL-t.build/Objects-normal/wasm32/socket_helper.dia -c /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/bio/socket_helper.cc -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-ssl.build/Debug-webassembly-wasm32/CNIOBoringSSL-t.build/Objects-normal/wasm32/socket_helper.o
[571 / 1407] CNIOBoringSSL
error: Build failed
BUILD FAILURE 6.4 wasm