Build Information
Failed to build PostgresConnectionPool, reference main (9c51b0), with Swift 6.4 for Wasm on 31 Oct 2026 06:34:59 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.0-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Outdooractive/PostgresConnectionPool.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/Outdooractive/PostgresConnectionPool
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 9c51b0f Release 1.1.2
Cloned https://github.com/Outdooractive/PostgresConnectionPool.git
Revision (git rev-parse @):
9c51b0fa95acc4bfc5ce048c9dc2035812577694
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Outdooractive/PostgresConnectionPool.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/Outdooractive/PostgresConnectionPool.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.0-RELEASE_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:0ad19d16955074ecc72bbe910025b19c4e4614184c1a48afc82660d4c7620121
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/vapor/postgres-nio.git
Fetching https://github.com/apple/swift-collections
[1/2345] Fetching swift-docc-plugin
[48/4248] Fetching swift-docc-plugin, swift-atomics
[638/20043] Fetching swift-docc-plugin, swift-atomics, postgres-nio
Fetched https://github.com/apple/swift-atomics.git (0.53s)
[18140/18140] Fetching swift-docc-plugin, postgres-nio
[18141/47558] Fetching swift-docc-plugin, postgres-nio, swift-collections
Fetched https://github.com/swiftlang/swift-docc-plugin (0.67s)
[17855/45213] Fetching postgres-nio, swift-collections
Fetching https://github.com/vapor/postgres-kit
[45214/50794] Fetching postgres-nio, swift-collections, postgres-kit
Fetched https://github.com/vapor/postgres-kit (0.43s)
Fetched https://github.com/vapor/postgres-nio.git (1.62s)
Fetched https://github.com/apple/swift-collections (1.63s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (2.53s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3850] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.86s)
Computing version for https://github.com/vapor/postgres-kit
Computed https://github.com/vapor/postgres-kit at 2.17.0 (1.02s)
Fetching https://github.com/vapor/async-kit.git
Fetching https://github.com/vapor/sql-kit.git
[1/6358] Fetching sql-kit
[1655/8872] Fetching sql-kit, async-kit
Fetched https://github.com/vapor/async-kit.git (0.46s)
Fetched https://github.com/vapor/sql-kit.git (0.46s)
Computing version for https://github.com/vapor/postgres-nio.git
Computed https://github.com/vapor/postgres-nio.git at 1.33.2 (0.67s)
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-crypto.git
[1/3615] Fetching swift-metrics
[724/22484] Fetching swift-metrics, swift-crypto
[725/25351] Fetching swift-metrics, swift-crypto, swift-nio-transport-services
[1160/28243] Fetching swift-metrics, swift-crypto, swift-nio-transport-services, swift-service-lifecycle
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetched https://github.com/apple/swift-nio-transport-services.git (0.49s)
[7640/25376] Fetching swift-metrics, swift-crypto, swift-service-lifecycle
Fetching https://github.com/apple/swift-log.git
[14245/33762] Fetching swift-metrics, swift-crypto, swift-service-lifecycle, swift-log
[20640/50656] Fetching swift-metrics, swift-crypto, swift-service-lifecycle, swift-log, swift-nio-ssl
Fetched https://github.com/apple/swift-log.git (0.49s)
[26728/42270] Fetching swift-metrics, swift-crypto, swift-service-lifecycle, swift-nio-ssl
Fetched https://github.com/apple/swift-crypto.git (1.28s)
[15799/23401] Fetching swift-metrics, swift-service-lifecycle, swift-nio-ssl
[23402/110114] Fetching swift-metrics, swift-service-lifecycle, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-metrics.git (1.74s)
[57073/106499] Fetching swift-service-lifecycle, swift-nio-ssl, swift-nio
Fetched https://github.com/swift-server/swift-service-lifecycle.git (3.81s)
Fetched https://github.com/apple/swift-nio-ssl.git (3.34s)
Fetched https://github.com/apple/swift-nio.git (3.36s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.7.5 (4.09s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.14s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.19s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.22.0 (0.14s)
Fetching https://github.com/apple/swift-algorithms.git
[1/6159] Fetching swift-algorithms
Fetched https://github.com/apple/swift-algorithms.git (0.51s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.69s)
Fetching https://github.com/apple/swift-numerics.git
[1/6766] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git (0.53s)
Computing version for https://github.com/vapor/sql-kit.git
Computed https://github.com/vapor/sql-kit.git at 3.36.0 (0.67s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.13s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.16.2 (0.15s)
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.15s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.104.0 (0.27s)
Fetching https://github.com/apple/swift-system.git
[1/7394] Fetching swift-system
Fetched https://github.com/apple/swift-system.git (0.74s)
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.89s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6825] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git (0.55s)
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.74s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.13.0 (0.15s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (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.19s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.0.3 (0.95s)
Fetching https://github.com/apple/swift-asn1.git
[1/2051] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.41s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.61s)
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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.104.0
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.2
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-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.3
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.5.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-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-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-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.7.5
Creating working copy for https://github.com/vapor/postgres-kit
Working copy of https://github.com/vapor/postgres-kit resolved at 2.17.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.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-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.13.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.16.2
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/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.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/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-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 1760]
[Planning 1028 / 1760]
[Planning deferred tasks]
[Constructing 581 / 4524]
[Starting]
[130 / 1354] NIOConcurrencyHelpers
[262 / 1360]
[274 / 1378] _NumericsShims
[281 / 1426] RealModule
[282 / 1426] _NIOBase64
[284 / 1426] _NIODataStructures
[305 / 1426] CoreMetrics
[306 / 1426] NIOConcurrencyHelpers
[317 / 1426] SwiftASN1
[318 / 1426] CoreMetrics
[319 / 1426] SwiftASN1
[334 / 1426] SwiftASN1-product
[338 / 1426] SwiftASN1-product
[341 / 1426] RealModule
[342 / 1427] _NIOBase64
[347 / 1427] RealModule
[350 / 1428] RealModule
[354 / 1428] _NIODataStructures
[356 / 1428] SwiftASN1
[359 / 1428] Logging
[363 / 1429] RealModule
[365 / 1429] Logging
[370 / 1429] InternalCollectionsUtilities
[371 / 1430] _RopeModule
[375 / 1430] NIOConcurrencyHelpers
[379 / 1431] SwiftASN1
[384 / 1431] Logging
[387 / 1431] CryptoBoringWrapper
[388 / 1431] CryptoBoringWrapper
[389 / 1431] Crypto
[391 / 1432] Metrics
[396 / 1433] ConcurrencyHelpers
[400 / 1436] InternalCollectionsUtilities
[405 / 1439] CryptoBoringWrapper
[425 / 1449] InternalCollectionsUtilities
[432 / 1459] _RopeModule
[432 / 1459] Atomics
[434 / 1459] _RopeModule
[435 / 1460] _RopeModule
[436 / 1460] _RopeModule
[437 / 1460] UnixSignals
[450 / 1460] Atomics
[455 / 1460] ConcurrencyHelpers
[456 / 1460] CXKCP
[459 / 1460] Atomics
[460 / 1460] Atomics
[460 / 1460]
[467 / 1466] SpanPreview
[474 / 1475] SpanPreview
[479 / 1476] SpanPreview
[481 / 1476] SpanPreview
[483 / 1476] OrderedCollections
[484 / 1476] OrderedCollections
[485 / 1476] OrderedCollections
[486 / 1477] _RopeModule
[489 / 1480] UnixSignals
[493 / 1485] UnixSignals
[505 / 1485] CNIODarwin
[512 / 1485] CNIOBoringSSL
[513 / 1485] CNIOBoringSSL
[515 / 1485] CNIOBoringSSL
[515 / 1485] OrderedCollections
[524 / 1485] CNIOBoringSSL
[525 / 1486] OrderedCollections
[526 / 1486] CNIOBoringSSL
[527 / 1486] CNIOBoringSSL
[529 / 1486] CNIOBoringSSL
[532 / 1486] CNIOBoringSSL
[535 / 1486] CNIOBoringSSL
[537 / 1486] CNIOBoringSSL
[539 / 1486] CNIOBoringSSL
[541 / 1486] CNIOBoringSSL
[542 / 1486] CNIOBoringSSL
[545 / 1486] CNIOBoringSSL
[549 / 1486] CNIOBoringSSL
[551 / 1486] CNIOBoringSSL
[553 / 1486] CNIOBoringSSL
[557 / 1486] CNIOBoringSSL
[563 / 1486] CNIOBoringSSL
[566 / 1486] CNIOBoringSSL
[567 / 1486] CNIOBoringSSL
[569 / 1486] CNIOBoringSSL
[572 / 1486] CNIOBoringSSL
[573 / 1486] CNIOBoringSSL
[574 / 1486] CNIOBoringSSL
[576 / 1486] CNIOBoringSSL
[577 / 1486] CNIOBoringSSL
[580 / 1486] CNIOBoringSSL
[581 / 1486] CNIOBoringSSL
[582 / 1486] CNIOBoringSSL
[583 / 1486] CNIOBoringSSL
[584 / 1486] CNIOBoringSSL
[585 / 1486] CNIOBoringSSL
[587 / 1486] CNIOBoringSSL
[591 / 1486] CNIOBoringSSL
[592 / 1486] CNIOBoringSSL
[593 / 1486] CNIOBoringSSL
[596 / 1486] CNIOBoringSSL
[598 / 1486] CNIOBoringSSL
[599 / 1486] CNIOBoringSSL
[601 / 1486] CNIOBoringSSL
[604 / 1486] CNIOBoringSSL
[606 / 1486] CNIOBoringSSL
[608 / 1486] CNIOBoringSSL
[611 / 1486] CNIOBoringSSL
[614 / 1486] CNIOBoringSSL
[616 / 1486] CNIOBoringSSL
[621 / 1486] CNIOBoringSSL
[622 / 1486] CNIOBoringSSL
[624 / 1486] CNIOBoringSSL
[627 / 1486] CNIOBoringSSL
[628 / 1486] CNIOBoringSSL
[629 / 1486] CNIOBoringSSL
[631 / 1486] CNIOBoringSSL
[632 / 1486] CNIOBoringSSL
[635 / 1486] CNIOBoringSSL
[636 / 1486] CNIOBoringSSL
[1m/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/bio/socket_helper.cc:30:10: [0m[0;1;31mfatal error: [0m[1m'netdb.h' file not found[0m
30 | #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
error: Build failed
BUILD FAILURE 6.4 wasm