The Swift Package Index logo.Swift Package Index

Build Information

Failed to build postgres-kit, reference 2.17.0 (139b0c), with Swift 6.4 for Wasm on 29 Sep 2026 10:48:22 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-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.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vapor/postgres-kit.git
Reference: 2.17.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/vapor/postgres-kit
 * tag               2.17.0     -> FETCH_HEAD
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 2.17.0
========================================
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-54344843-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-log.git
Fetching https://github.com/vapor/async-kit.git
Fetching https://github.com/vapor/sql-kit.git
Fetching https://github.com/vapor/postgres-nio.git
[1/2514] Fetching async-kit
[2515/10679] Fetching async-kit, swift-log
[10680/17037] Fetching async-kit, swift-log, sql-kit
[11316/32598] Fetching async-kit, swift-log, sql-kit, postgres-nio
Fetched https://github.com/vapor/async-kit.git (1.48s)
Fetched https://github.com/vapor/sql-kit.git (1.48s)
Fetched https://github.com/apple/swift-log.git (1.48s)
Fetched https://github.com/vapor/postgres-nio.git (1.48s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.22.0 (1.77s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-collections.git
[1/6159] Fetching swift-algorithms
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/apple/swift-algorithms.git (0.63s)
[1/27802] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.54s)
[1/86202] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git (3.65s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (5.81s)
Fetching https://github.com/apple/swift-numerics.git
[1/6651] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git (0.68s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (1.00s)
Computing version for https://github.com/vapor/sql-kit.git
Computed https://github.com/vapor/sql-kit.git at 3.36.0 (0.25s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.24s)
Computing version for https://github.com/vapor/postgres-nio.git
Computed https://github.com/vapor/postgres-nio.git at 1.33.1 (0.29s)
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
[1/18573] Fetching swift-crypto
[2/22096] Fetching swift-crypto, swift-metrics
[4197/24945] Fetching swift-crypto, swift-metrics, swift-service-lifecycle
Fetched https://github.com/swift-server/swift-service-lifecycle.git (0.60s)
Fetched https://github.com/apple/swift-metrics.git (0.60s)
[2044/18573] Fetching swift-crypto
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-atomics.git
[18574/21440] Fetching swift-crypto, swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git (0.54s)
Fetched https://github.com/apple/swift-crypto.git (1.85s)
[1/1885] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git (0.81s)
[1/16863] Fetching swift-nio-ssl
Fetched https://github.com/apple/swift-nio-ssl.git (2.06s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (3.53s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.1 (0.29s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (0.38s)
Fetching https://github.com/apple/swift-system.git
[1/6986] Fetching swift-system
Fetched https://github.com/apple/swift-system.git (0.82s)
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 (1.09s)
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.67s)
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.91s)
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.19s)
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.21s)
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.29s)
Fetching https://github.com/apple/swift-asn1.git
[1/1986] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (1.06s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (1.56s)
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/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-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.8.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/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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.1
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-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-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-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-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-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-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-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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.5.2
Building for debugging...
[Computing dependencies]
[Provisioning 7 / 85]
[Pre-planning 1 / 1760]
[Planning 607 / 1760]
[Planning 1541 / 1760]
[Planning deferred tasks]
[Constructing 572 / 4506]
[Starting]
[212 / 1345] CNIOLinux
[274 / 1392] SwiftASN1
[275 / 1401] RealModule
[276 / 1401] _NIOBase64
[286 / 1401] _NIODataStructures
[288 / 1401] Logging
[299 / 1401] SwiftASN1
[299 / 1401] InternalCollectionsUtilities
[311 / 1401] SwiftASN1
[312 / 1401] SwiftASN1
[319 / 1402] SwiftASN1
[322 / 1402] _NIOBase64
[324 / 1402] _NIOBase64
[327 / 1403] _NIODataStructures
[330 / 1403] RealModule
[335 / 1403] NIOConcurrencyHelpers
[337 / 1403] NIOConcurrencyHelpers-product
[343 / 1404] RealModule
[347 / 1404] Logging
[352 / 1405] Logging-product
[355 / 1405] Logging
[358 / 1405] _RopeModule
[362 / 1406] HeapModule
[368 / 1422] CoreMetrics
[369 / 1422] ConcurrencyHelpers
[371 / 1425] ConcurrencyHelpers
[374 / 1426] CryptoBoringWrapper
[379 / 1426] ConcurrencyHelpers
[395 / 1426] Crypto
[397 / 1426] CoreMetrics
[403 / 1436] Atomics
[415 / 1436] Atomics
[418 / 1437] ConcurrencyHelpers
[419 / 1438] InternalCollectionsUtilities
[425 / 1438] Atomics
[428 / 1439] Atomics
[430 / 1439] CryptoBoringWrapper
[436 / 1440] CNIOLinux
[444 / 1449] _RopeModule
[446 / 1450] CNIOBoringSSL
[447 / 1450] CNIOBoringSSL
[448 / 1450] CNIOBoringSSL
[451 / 1450] CNIOBoringSSL
[452 / 1450] CNIOBoringSSL
[453 / 1451] CNIOBoringSSL
[454 / 1451] Atomics
[462 / 1451] CNIOBoringSSL
[464 / 1451] CNIOBoringSSL
[466 / 1451] CNIOBoringSSL
[470 / 1451] CNIOBoringSSL
[473 / 1451] CNIOBoringSSL
[474 / 1451] CNIOBoringSSL
[477 / 1451] _RopeModule
[482 / 1451] CNIOBoringSSL
[485 / 1451] CNIOBoringSSL
[488 / 1451] CNIOBoringSSL
[490 / 1451] CNIOBoringSSL
[491 / 1451] CNIOBoringSSL
[493 / 1451] CNIOBoringSSL
[502 / 1451] CNIOBoringSSL
[506 / 1451] CNIOBoringSSL
[507 / 1451] CNIOBoringSSL
[509 / 1451] CNIOBoringSSL
[511 / 1451] CNIOBoringSSL
[514 / 1451] CNIOBoringSSL
[517 / 1451] CNIOBoringSSL
[518 / 1451] CNIOBoringSSL
[521 / 1451] CNIOBoringSSL
[524 / 1451] CNIOBoringSSL
[526 / 1451] CNIOBoringSSL
[530 / 1451] CNIOBoringSSL
[532 / 1451] CNIOBoringSSL
[533 / 1451] CNIOBoringSSL
[536 / 1451] CNIOBoringSSL
[537 / 1451] CNIOBoringSSL
[539 / 1451] CNIOBoringSSL
[540 / 1451] CNIOBoringSSL
[542 / 1451] CNIOBoringSSL
[544 / 1451] CNIOBoringSSL
[548 / 1451] CNIOBoringSSL
[550 / 1451] CNIOBoringSSL
[553 / 1451] CNIOBoringSSL
[554 / 1451] CNIOBoringSSL
[556 / 1451] CNIOBoringSSL
[559 / 1451] CNIOBoringSSL
[561 / 1451] CNIOBoringSSL
[563 / 1451] CNIOBoringSSL
[565 / 1451] CNIOBoringSSL
[567 / 1451] CNIOBoringSSL
[568 / 1451] CNIOBoringSSL
[572 / 1451] CNIOBoringSSL
[573 / 1451] 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