The Swift Package Index logo.Swift Package Index

Build Information

Failed to build postgres-nio, reference 1.34.0-beta.1 (464a13), with Swift 6.4 for Wasm on 2 Oct 2026 21:50:46 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-2":/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.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vapor/postgres-nio.git
Reference: 1.34.0-beta.1
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.1 -> FETCH_HEAD
HEAD is now at 464a137 Allow subquery interpolation (#665)
Cloned https://github.com/vapor/postgres-nio.git
Revision (git rev-parse @):
464a1376283b3db7ed57049bc786e2c9cd3f6b1c
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/vapor/postgres-nio.git at 1.34.0-beta.1
========================================
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-54344844-2":/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.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-metrics.git
[1/3546] Fetching swift-metrics
[3512/11778] Fetching swift-metrics, swift-log
[3513/14627] Fetching swift-metrics, swift-log, swift-service-lifecycle
[6331/17494] Fetching swift-metrics, swift-log, swift-service-lifecycle, swift-nio-transport-services
Fetched https://github.com/apple/swift-metrics.git (0.57s)
[9804/13948] Fetching swift-log, swift-service-lifecycle, swift-nio-transport-services
Fetching https://github.com/apple/swift-collections.git
[10629/32520] Fetching swift-log, swift-service-lifecycle, swift-nio-transport-services, swift-crypto
Fetched https://github.com/apple/swift-log.git (0.68s)
Fetching https://github.com/apple/swift-atomics.git
[4595/24288] Fetching swift-service-lifecycle, swift-nio-transport-services, swift-crypto
Fetched https://github.com/apple/swift-nio-transport-services.git (0.83s)
Fetching https://github.com/apple/swift-nio-ssl.git
[5078/21421] Fetching swift-service-lifecycle, swift-crypto
[5636/107686] Fetching swift-service-lifecycle, swift-crypto, swift-nio
[31846/109571] Fetching swift-service-lifecycle, swift-crypto, swift-nio, swift-atomics
Fetched https://github.com/apple/swift-atomics.git (0.55s)
[58744/107686] Fetching swift-service-lifecycle, swift-crypto, swift-nio
[72996/136224] Fetching swift-service-lifecycle, swift-crypto, swift-nio, swift-collections
Fetched https://github.com/apple/swift-crypto.git (1.60s)
[76927/117652] Fetching swift-service-lifecycle, swift-nio, swift-collections
[80074/134506] Fetching swift-service-lifecycle, swift-nio, swift-collections, swift-nio-ssl
Fetched https://github.com/apple/swift-collections.git (1.46s)
[92683/105968] Fetching swift-service-lifecycle, swift-nio, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-ssl.git (1.84s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git (3.47s)
Fetched https://github.com/apple/swift-nio.git (3.51s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (3.70s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.12.0 (0.18s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6799] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git (0.53s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.73s)
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.22s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.1 (0.30s)
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.20s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.11.0 (0.18s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.5 (0.23s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (0.34s)
Fetching https://github.com/apple/swift-system.git
[1/7090] Fetching swift-system
Fetched https://github.com/apple/swift-system.git (0.71s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.93s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.0.0 (1.16s)
Fetching https://github.com/apple/swift-asn1.git
[1/1986] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.89s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (1.13s)
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.1
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.103.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 5.0.0
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.5
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.12.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.8.1
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.3
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-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.11.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
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.1
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 1577]
[Planning 783 / 1577]
[Planning 1168 / 1577]
[Planning 1554 / 1577]
[Planning deferred tasks]
[Constructing 765 / 4043]
[Starting]
[215 / 1256]
[239 / 1291] SwiftASN1
[241 / 1318] Logging
[241 / 1318] CoreMetrics
[254 / 1318] CoreMetrics
[264 / 1318] _NIOBase64
[265 / 1318] CryptoBoringWrapper
[273 / 1318] CryptoBoringWrapper
[278 / 1318] SwiftASN1
[288 / 1318] SwiftASN1-product
[290 / 1318] SwiftASN1-product
[292 / 1318] SwiftASN1
[295 / 1319] _NIOBase64
[298 / 1319] _NIOBase64
[300 / 1320] _NIODataStructures
[304 / 1320] NIOConcurrencyHelpers
[306 / 1320] Logging
[308 / 1320] Logging-product
[309 / 1320] Logging-product
[312 / 1321] NIOConcurrencyHelpers
[316 / 1321] InternalCollectionsUtilities
[318 / 1321] SpanPreview
[320 / 1322] SpanPreview
[322 / 1322] SwiftASN1
[325 / 1322] SwiftASN1
[328 / 1322] CryptoBoringWrapper
[330 / 1322] CryptoBoringWrapper
[331 / 1322] CryptoBoringWrapper
[334 / 1323] Crypto
[339 / 1323] Logging
[344 / 1327] _NIODataStructures
[348 / 1335] SpanPreview
[352 / 1337] SpanPreview
[360 / 1355] ConcurrencyHelpers
[375 / 1357] SpanPreview
[384 / 1357] OrderedCollections
[386 / 1358] CryptoBoringWrapper
[388 / 1359] OrderedCollections
[389 / 1359] SpanPreview
[392 / 1360] OrderedCollections
[393 / 1360] OrderedCollections
[394 / 1360] Metrics
[396 / 1360] Metrics-product
[407 / 1361] Atomics
[410 / 1361] ConcurrencyHelpers
[415 / 1361] Atomics
[420 / 1361]
[423 / 1362] CNIOOpenBSD
[427 / 1371] CNIOFreeBSD
[431 / 1371] CNIOBoringSSLShims
[433 / 1371] CNIODarwin
[437 / 1371] CXKCP
[439 / 1372] CNIOBoringSSL
[442 / 1372] OrderedCollections
[446 / 1372] CNIOBoringSSL
[448 / 1372] CNIOBoringSSL
[450 / 1372] CNIOBoringSSL
[454 / 1372] CNIOBoringSSL
[457 / 1372] CNIOBoringSSL
[461 / 1372] CNIOBoringSSL
[463 / 1372] CNIOBoringSSL
[465 / 1372] CNIOBoringSSL
[466 / 1373] CNIOBoringSSL
[467 / 1373] CNIOBoringSSL
[469 / 1373] CNIOBoringSSL
[476 / 1373] CNIOBoringSSL
[477 / 1373] CNIOBoringSSL
[480 / 1373] CNIOBoringSSL
[484 / 1373] CNIOBoringSSL
[487 / 1373] CNIOBoringSSL
[490 / 1373] CNIOBoringSSL
[496 / 1373] CNIOBoringSSL
[498 / 1373] CNIOBoringSSL
[499 / 1373] CNIOBoringSSL
[501 / 1373] CNIOBoringSSL
[502 / 1373] CNIOBoringSSL
[505 / 1373] CNIOBoringSSL
[508 / 1373] CNIOBoringSSL
[509 / 1373] CNIOBoringSSL
[512 / 1373] CNIOBoringSSL
[513 / 1373] CNIOBoringSSL
[515 / 1373] CNIOBoringSSL
[516 / 1373] CNIOBoringSSL
[517 / 1373] CNIOBoringSSL
[520 / 1373] CNIOBoringSSL
[521 / 1373] CNIOBoringSSL
[522 / 1373] CNIOBoringSSL
[526 / 1373] CNIOBoringSSL
[527 / 1373] CNIOBoringSSL
[529 / 1373] CNIOBoringSSL
[530 / 1373] CNIOBoringSSL
[532 / 1373] CNIOBoringSSL
[535 / 1373] CNIOBoringSSL
[537 / 1373] CNIOBoringSSL
[540 / 1373] CNIOBoringSSL
[542 / 1373] CNIOBoringSSL
[544 / 1373] CNIOBoringSSL
[546 / 1373] CNIOBoringSSL
[548 / 1373] CNIOBoringSSL
[550 / 1373] CNIOBoringSSL
[552 / 1373] CNIOBoringSSL
[554 / 1373] CNIOBoringSSL
[555 / 1373] CNIOBoringSSL
[557 / 1373] CNIOBoringSSL
[559 / 1373] CNIOBoringSSL
[561 / 1373] CNIOBoringSSL
[562 / 1373] CNIOBoringSSL
[564 / 1373] CNIOBoringSSL
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/bio/socket_helper.cc:30:10: fatal error: 'netdb.h' file not found
   30 | #include <netdb.h>
      |          ^~~~~~~~~
1 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.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_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
error: Build failed
BUILD FAILURE 6.4 wasm