The Swift Package Index logo.Swift Package Index

Build Information

Failed to build postgres-kit, reference main (139b0c), with Swift 6.4 for Wasm on 29 Sep 2026 10:36:36 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.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.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vapor/postgres-kit.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/vapor/postgres-kit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 139b0c4 Add PostgresConnection based SQLDatabase (#284)
Cloned https://github.com/vapor/postgres-kit.git
Revision (git rev-parse @):
139b0c4712d97eaec09d97afd592d394cdb9dbde
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/vapor/postgres-kit.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/vapor/postgres-kit.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.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-log.git
Fetching https://github.com/vapor/postgres-nio.git
Fetching https://github.com/vapor/async-kit.git
Fetching https://github.com/vapor/sql-kit.git
[1/8165] Fetching swift-log
[573/23726] Fetching swift-log, postgres-nio
[2436/26240] Fetching swift-log, postgres-nio, async-kit
Fetched https://github.com/vapor/async-kit.git (0.54s)
[15012/23726] Fetching swift-log, postgres-nio
Fetched https://github.com/apple/swift-log.git (0.58s)
[1/6358] Fetching sql-kit
Fetched https://github.com/vapor/sql-kit.git (1.13s)
Fetched https://github.com/vapor/postgres-nio.git (1.13s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.22.0 (1.31s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-algorithms.git
[1/6159] Fetching swift-algorithms
Fetched https://github.com/apple/swift-algorithms.git (0.53s)
[1/27802] Fetching swift-collections
[13902/114004] Fetching swift-collections, swift-nio
Fetched https://github.com/apple/swift-collections.git (3.48s)
Fetched https://github.com/apple/swift-nio.git (3.51s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (4.57s)
Fetching https://github.com/apple/swift-numerics.git
[1/6651] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git (0.64s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.84s)
Computing version for https://github.com/vapor/sql-kit.git
Computed https://github.com/vapor/sql-kit.git at 3.36.0 (0.15s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.15s)
Computing version for https://github.com/vapor/postgres-nio.git
Computed https://github.com/vapor/postgres-nio.git at 1.33.1 (0.17s)
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-crypto.git
[1/2867] Fetching swift-nio-transport-services
[2/4752] Fetching swift-nio-transport-services, swift-atomics
[705/23325] Fetching swift-nio-transport-services, swift-atomics, swift-crypto
[878/26848] Fetching swift-nio-transport-services, swift-atomics, swift-crypto, swift-metrics
[8834/29697] Fetching swift-nio-transport-services, swift-atomics, swift-crypto, swift-metrics, swift-service-lifecycle
Fetched https://github.com/apple/swift-metrics.git (0.59s)
[8117/26174] Fetching swift-nio-transport-services, swift-atomics, swift-crypto, swift-service-lifecycle
Fetched https://github.com/swift-server/swift-service-lifecycle.git (0.63s)
Fetched https://github.com/apple/swift-atomics.git (0.63s)
[4168/21440] Fetching swift-nio-transport-services, swift-crypto
[7326/38303] Fetching swift-nio-transport-services, swift-crypto, swift-nio-ssl
Fetched https://github.com/apple/swift-crypto.git (1.42s)
Fetched https://github.com/apple/swift-nio-transport-services.git (1.70s)
Fetched https://github.com/apple/swift-nio-ssl.git (1.71s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.88s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.1 (0.28s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (0.33s)
Fetching https://github.com/apple/swift-system.git
[1/6986] Fetching swift-system
Fetched https://github.com/apple/swift-system.git (0.68s)
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.87s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6790] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git (0.61s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.6 (0.84s)
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.18s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.11.0 (0.17s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.20s)
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.22s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.2 (1.14s)
Fetching https://github.com/apple/swift-asn1.git
[1/1986] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.51s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.72s)
Creating working copy for https://github.com/vapor/postgres-nio.git
Working copy of https://github.com/vapor/postgres-nio.git resolved at 1.33.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.6
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/vapor/sql-kit.git
Working copy of https://github.com/vapor/sql-kit.git resolved at 3.36.0
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
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-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
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/vapor/async-kit.git
Working copy of https://github.com/vapor/async-kit.git resolved at 1.22.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.7.1
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.5.2
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-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-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-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/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.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.12.0
Building for debugging...
[Computing dependencies]
[Provisioning 3 / 85]
[Pre-planning 1 / 1760]
[Planning 1196 / 1760]
[Planning deferred tasks]
[Constructing 866 / 4506]
[Starting]
[206 / 1345]
[266 / 1359] _NIODataStructures
[275 / 1388] SwiftASN1
[276 / 1405] SwiftASN1
[276 / 1405] _NIODataStructures
[288 / 1405] Logging
[288 / 1405] RealModule
[291 / 1405] RealModule
[302 / 1405] Logging
[312 / 1405] SwiftASN1
[313 / 1405] InternalCollectionsUtilities
[314 / 1405] SwiftASN1
[321 / 1405] SwiftASN1
[326 / 1405] SwiftASN1
[327 / 1405] SwiftASN1-product
[329 / 1406] SwiftASN1-product
[333 / 1406] RealModule
[334 / 1407] _NIODataStructures
[337 / 1407] _NIODataStructures
[341 / 1407] RealModule
[344 / 1407] NIOConcurrencyHelpers
[345 / 1407] NIOConcurrencyHelpers
[348 / 1407] NIOConcurrencyHelpers-product
[349 / 1407] NIOConcurrencyHelpers-product
[351 / 1407] Logging-product
[353 / 1408] RealModule
[357 / 1408] Logging
[358 / 1408] InternalCollectionsUtilities
[359 / 1408] InternalCollectionsUtilities
[361 / 1409] _RopeModule
[363 / 1409] SwiftASN1
[368 / 1410] InternalCollectionsUtilities
[370 / 1410] UnixSignals
[374 / 1411] CXKCPShims
[376 / 1416] CXKCP
[379 / 1416] CXKCP
[381 / 1417] CoreMetrics
[384 / 1418] Logging
[387 / 1418] CoreMetrics
[397 / 1427] CNIOWASI
[404 / 1427] InternalCollectionsUtilities
[406 / 1427] CryptoBoringWrapper
[407 / 1427] CryptoBoringWrapper
[409 / 1427] InternalCollectionsUtilities
[419 / 1429] InternalCollectionsUtilities
[428 / 1434] UnixSignals
[432 / 1443] _RopeModule
[436 / 1443] UnixSignals
[439 / 1443] UnixSignals
[444 / 1444] _RopeModule
[445 / 1445] _RopeModule
[446 / 1445] _RopeModule
[447 / 1445] CXKCP
[453 / 1445] RealModule
[455 / 1448] SpanPreview
[457 / 1452] OrderedCollections
[458 / 1452] SpanPreview
[460 / 1452] SpanPreview
[467 / 1470] SpanPreview
[469 / 1470] SpanPreview
[472 / 1470] _RopeModule
[480 / 1471] SpanPreview
[482 / 1471] OrderedCollections
[483 / 1471] OrderedCollections
[484 / 1471] OrderedCollections
[486 / 1471] OrderedCollections
[486 / 1471] Logging
[487 / 1471] Logging
[488 / 1471] Atomics
[490 / 1471] Atomics
[493 / 1472] _RopeModule
[495 / 1472] _RopeModule
[499 / 1475] HeapModule
[503 / 1485] Atomics
[507 / 1486] Atomics
[510 / 1495] HashTreeCollections
[511 / 1495] Metrics
[522 / 1495] CNIOBoringSSL
[523 / 1495] CNIOBoringSSL
[526 / 1495] OrderedCollections
[532 / 1495] CNIOBoringSSL
[533 / 1495] CNIOBoringSSL
[535 / 1495] CNIOBoringSSL
[537 / 1495] CNIOBoringSSL
[543 / 1496] CNIOBoringSSL
[545 / 1496] CNIOBoringSSL
[546 / 1496] CNIOBoringSSL
[547 / 1496] CNIOBoringSSL
[548 / 1496] CNIOBoringSSL
[549 / 1496] CNIOBoringSSL
[551 / 1496] CNIOBoringSSL
[552 / 1496] CNIOBoringSSL
[554 / 1496] CNIOBoringSSL
[555 / 1496] CNIOBoringSSL
[557 / 1496] CNIOBoringSSL
[559 / 1496] CNIOBoringSSL
[561 / 1496] CNIOBoringSSL
[563 / 1496] CNIOBoringSSL
[566 / 1496] CNIOBoringSSL
[571 / 1496] CNIOBoringSSL
[574 / 1496] CNIOBoringSSL
[575 / 1496] CNIOBoringSSL
[577 / 1496] CNIOBoringSSL
[580 / 1496] HashTreeCollections
[584 / 1496] CNIOBoringSSL
[586 / 1496] CNIOBoringSSL
[588 / 1496] CNIOBoringSSL
[589 / 1496] CNIOBoringSSL
[590 / 1496] CNIOBoringSSL
[592 / 1496] CNIOBoringSSL
[593 / 1496] CNIOBoringSSL
[594 / 1496] CNIOBoringSSL
[595 / 1496] CNIOBoringSSL
[597 / 1496] CNIOBoringSSL
[600 / 1496] CNIOBoringSSL
[601 / 1496] CNIOBoringSSL
[602 / 1496] CNIOBoringSSL
[605 / 1496] CNIOBoringSSL
[607 / 1496] CNIOBoringSSL
[608 / 1496] CNIOBoringSSL
[611 / 1496] CNIOBoringSSL
[612 / 1496] CNIOBoringSSL
[613 / 1496] CNIOBoringSSL
[615 / 1496] CNIOBoringSSL
[617 / 1496] CNIOBoringSSL
[618 / 1496] CNIOBoringSSL
[619 / 1496] CNIOBoringSSL
[621 / 1496] CNIOBoringSSL
[623 / 1496] CNIOBoringSSL
[626 / 1496] CNIOBoringSSL
[628 / 1496] CNIOBoringSSL
[629 / 1496] CNIOBoringSSL
[631 / 1496] CNIOBoringSSL
[633 / 1496] CNIOBoringSSL
[634 / 1496] CNIOBoringSSL
[635 / 1496] CNIOBoringSSL
[637 / 1496] CNIOBoringSSL
[638 / 1496] CNIOBoringSSL
[640 / 1496] CNIOBoringSSL
[641 / 1496] CNIOBoringSSL
[644 / 1496] CNIOBoringSSL
[645 / 1496] 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