The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PostgresBridge, reference 1.0.0-rc.4.6.1 (ca7be7), with Swift 6.4 for Wasm on 20 Sep 2026 12:30:43 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886770-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.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/SwifQL/PostgresBridge.git
Reference: 1.0.0-rc.4.6.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/SwifQL/PostgresBridge
 * tag               1.0.0-rc.4.6.1 -> FETCH_HEAD
HEAD is now at ca7be7f Syntax fix #6 by @tierracero
Cloned https://github.com/SwifQL/PostgresBridge.git
Revision (git rev-parse @):
ca7be7f2c2d3d76e3826a11156e735ff219fcb14
SUCCESS checkout https://github.com/SwifQL/PostgresBridge.git at 1.0.0-rc.4.6.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/SwifQL/PostgresBridge.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-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.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/vapor/postgres-nio.git
Fetching https://github.com/SwifQL/Bridges.git
[1/631] Fetching bridges
[632/16059] Fetching bridges, postgres-nio
Fetched https://github.com/SwifQL/Bridges.git (0.87s)
Fetched https://github.com/vapor/postgres-nio.git (0.87s)
Computing version for https://github.com/vapor/postgres-nio.git
Computed https://github.com/vapor/postgres-nio.git at 1.33.1 (1.08s)
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-nio.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-crypto.git
[1/16065] Fetching swift-nio-ssl
[2/18908] Fetching swift-nio-ssl, swift-service-lifecycle
[163/37457] Fetching swift-nio-ssl, swift-service-lifecycle, swift-crypto
[485/45553] Fetching swift-nio-ssl, swift-service-lifecycle, swift-crypto, swift-log
[3224/48416] Fetching swift-nio-ssl, swift-service-lifecycle, swift-crypto, swift-log, swift-nio-transport-services
Fetched https://github.com/swift-server/swift-service-lifecycle.git (0.76s)
[23863/45573] Fetching swift-nio-ssl, swift-crypto, swift-log, swift-nio-transport-services
Fetched https://github.com/apple/swift-log.git (0.77s)
[15928/37477] Fetching swift-nio-ssl, swift-crypto, swift-nio-transport-services
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-metrics.git
[23567/123550] Fetching swift-nio-ssl, swift-crypto, swift-nio-transport-services, swift-nio
Fetched https://github.com/apple/swift-nio-transport-services.git (1.06s)
[37406/120687] Fetching swift-nio-ssl, swift-crypto, swift-nio
Fetching https://github.com/apple/swift-atomics.git
Fetched https://github.com/apple/swift-nio-ssl.git (1.07s)
[22943/104622] Fetching swift-crypto, swift-nio
[70194/108130] Fetching swift-crypto, swift-nio, swift-metrics
Fetched https://github.com/apple/swift-crypto.git (1.35s)
[59456/89581] Fetching swift-nio, swift-metrics
Fetched https://github.com/apple/swift-metrics.git (0.58s)
[56809/86073] Fetching swift-nio
[57670/113425] Fetching swift-nio, swift-collections
[64863/115300] Fetching swift-nio, swift-collections, swift-atomics
Fetched https://github.com/apple/swift-atomics.git (0.54s)
[77645/113425] Fetching swift-nio, swift-collections
Fetched https://github.com/apple/swift-collections.git (1.26s)
Fetched https://github.com/apple/swift-nio.git (2.94s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (3.11s)
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.17s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6723] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git (0.56s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.75s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.5 (0.20s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (0.29s)
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-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.33s)
Fetching https://github.com/apple/swift-system.git
[1/6898] Fetching swift-system
Fetched https://github.com/apple/swift-system.git (0.65s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.86s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.2 (1.12s)
Fetching https://github.com/apple/swift-asn1.git
[1/1983] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.93s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (1.15s)
Computing version for https://github.com/SwifQL/Bridges.git
Computed https://github.com/SwifQL/Bridges.git at 1.0.0-rc.4.13.6 (0.24s)
Fetching https://github.com/SwifQL/SwifQL.git
Fetching https://github.com/vapor/async-kit.git
[1/2514] Fetching async-kit
[2515/5917] Fetching async-kit, swifql
Fetched https://github.com/vapor/async-kit.git (0.59s)
Fetched https://github.com/SwifQL/SwifQL.git (0.59s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.22.0 (0.75s)
Fetching https://github.com/apple/swift-algorithms.git
[1/6145] Fetching swift-algorithms
Fetched https://github.com/apple/swift-algorithms.git (0.53s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.72s)
Fetching https://github.com/apple/swift-numerics.git
[1/6636] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git (0.92s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (1.08s)
Computing version for https://github.com/SwifQL/SwifQL.git
Computed https://github.com/SwifQL/SwifQL.git at 2.0.0-beta.6.1.0 (0.14s)
Creating working copy for https://github.com/SwifQL/Bridges.git
Working copy of https://github.com/SwifQL/Bridges.git resolved at 1.0.0-rc.4.13.6
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/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-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.3
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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.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
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-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-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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.103.0
Creating working copy for https://github.com/SwifQL/SwifQL.git
Working copy of https://github.com/SwifQL/SwifQL.git resolved at 2.0.0-beta.6.1.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-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-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.5
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.6.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-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.37.5
Building for debugging...
[Computing dependencies]
[Provisioning 12 / 87]
[Pre-planning 1 / 1790]
[Planning 1120 / 1790]
[Planning deferred tasks]
[Constructing 865 / 4577]
[Starting]
[6 / 1357] Atomics-product
[270 / 1363] _AtomicsShims
[278 / 1397] SwiftASN1
[280 / 1408] _NIOBase64
[286 / 1408] _NIODataStructures
[299 / 1426] InternalCollectionsUtilities
[310 / 1426] _NumericsShims
[311 / 1434] InternalCollectionsUtilities
[312 / 1434] CryptoBoringWrapper
[324 / 1434] SwiftASN1
[338 / 1434] SwiftASN1-product
[340 / 1435] SwiftASN1
[345 / 1435] _NIOBase64
[347 / 1435] _NIOBase64
[350 / 1436] _NIODataStructures
[355 / 1437] SwifQL-product
[356 / 1437] SwifQL
[362 / 1437] RealModule
[363 / 1437] RealModule-product
[365 / 1437] RealModule-product
[368 / 1437] RealModule
[370 / 1438] RealModule
[373 / 1438] NIOConcurrencyHelpers
[374 / 1438] NIOConcurrencyHelpers
[375 / 1438] Logging-product
[379 / 1438] NIOConcurrencyHelpers
[381 / 1439] Logging
[386 / 1439] InternalCollectionsUtilities
[386 / 1439] Logging
[387 / 1439] InternalCollectionsUtilities
[388 / 1439] Logging
[392 / 1439] SwifQL
[396 / 1440] Logging
[402 / 1440] Logging
[405 / 1445] _RopeModule
[412 / 1471] Atomics
[414 / 1471] CryptoBoringWrapper
[427 / 1472] CNIOBoringSSL
[429 / 1473] CNIOBoringSSL
[430 / 1473] CNIOBoringSSL
[433 / 1473] CNIOBoringSSL
[434 / 1473] CNIOBoringSSL
[437 / 1473] CNIOBoringSSL
[444 / 1473] CNIOBoringSSL
[445 / 1473] CNIOBoringSSL
[447 / 1473] CNIOBoringSSL
[457 / 1473] CNIOBoringSSL
[459 / 1473] CNIOBoringSSL
[465 / 1473] CNIOBoringSSL
[467 / 1473] CNIOBoringSSL
[469 / 1473] CNIOBoringSSL
[473 / 1473] CNIOBoringSSL
[474 / 1473] CNIOBoringSSL
[478 / 1473] CNIOBoringSSL
[483 / 1473] CNIOBoringSSL
[485 / 1473] CNIOBoringSSL
[488 / 1473] CNIOBoringSSL
[489 / 1473] CNIOBoringSSL
[492 / 1473] CNIOBoringSSL
[496 / 1473] CNIOBoringSSL
[500 / 1473] CNIOBoringSSL
[502 / 1473] CNIOBoringSSL
[503 / 1473] CNIOBoringSSL
[508 / 1473] CNIOBoringSSL
[510 / 1473] CNIOBoringSSL
[512 / 1473] CNIOBoringSSL
[514 / 1473] CNIOBoringSSL
[516 / 1473] CNIOBoringSSL
[519 / 1473] CNIOBoringSSL
[521 / 1473] CNIOBoringSSL
[522 / 1473] CNIOBoringSSL
[524 / 1473] CNIOBoringSSL
[528 / 1473] CNIOBoringSSL
[530 / 1473] CNIOBoringSSL
[532 / 1473] CNIOBoringSSL
[534 / 1473] CNIOBoringSSL
[537 / 1473] CNIOBoringSSL
[538 / 1473] CNIOBoringSSL
[540 / 1473] CNIOBoringSSL
[541 / 1473] CNIOBoringSSL
[544 / 1473] CNIOBoringSSL
[545 / 1473] CNIOBoringSSL
[547 / 1473] CNIOBoringSSL
[548 / 1473] CNIOBoringSSL
[551 / 1473] CNIOBoringSSL
[552 / 1473] 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