Build Information
Failed to build postgres-for-swift-log, reference main (08201f), with Swift 6.4 for Wasm on 24 Sep 2026 06:54:25 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-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>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/atacan/postgres-for-swift-log.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/atacan/postgres-for-swift-log
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 08201f0 Add Swift package badges to README
Cloned https://github.com/atacan/postgres-for-swift-log.git
Revision (git rev-parse @):
08201f0257e839f2ad4ea4b9f02d8d28f7589680
SUCCESS checkout https://github.com/atacan/postgres-for-swift-log.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/atacan/postgres-for-swift-log.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-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
Fetching https://github.com/swift-server/swift-service-lifecycle.git
[1/2843] Fetching swift-service-lifecycle
Fetched https://github.com/swift-server/swift-service-lifecycle.git (0.56s)
[1/15487] Fetching postgres-nio
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/vapor/postgres-nio (1.10s)
[1/8165] Fetching swift-log
Fetched https://github.com/apple/swift-log.git (0.67s)
Computing version for https://github.com/vapor/postgres-nio
Computed https://github.com/vapor/postgres-nio at 1.33.1 (2.10s)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-collections.git
[1/16065] Fetching swift-nio-ssl
[3054/43758] Fetching swift-nio-ssl, swift-collections
[13529/129823] Fetching swift-nio-ssl, swift-collections, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git (1.95s)
[81914/113758] Fetching swift-collections, swift-nio
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetched https://github.com/apple/swift-collections.git (2.01s)
[55943/86065] Fetching swift-nio
[63690/88928] Fetching swift-nio, swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git (0.56s)
[67992/86065] Fetching swift-nio
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-metrics.git
[86066/89581] Fetching swift-nio, swift-metrics
[86137/108130] Fetching swift-nio, swift-metrics, swift-crypto
[90324/110011] Fetching swift-nio, swift-metrics, swift-crypto, swift-atomics
Fetched https://github.com/apple/swift-metrics.git (1.73s)
Fetched https://github.com/apple/swift-atomics.git (1.74s)
Fetched https://github.com/apple/swift-crypto.git (1.77s)
Fetched https://github.com/apple/swift-nio.git (6.93s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (7.26s)
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.35s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6732] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git (0.66s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (1.05s)
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.40s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.0 (0.51s)
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.33s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.11.0 (0.29s)
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.36s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (0.59s)
Fetching https://github.com/apple/swift-system.git
[1/6916] Fetching swift-system
Fetched https://github.com/apple/swift-system.git (0.69s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (1.07s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.2 (1.92s)
Fetching https://github.com/apple/swift-asn1.git
[20/1983] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.52s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.93s)
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/postgres-nio
Working copy of https://github.com/vapor/postgres-nio resolved at 1.33.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-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-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-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/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.7.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/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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.5.2
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 1463]
[Planning 332 / 1463]
[Planning 1001 / 1463]
[Planning 1407 / 1463]
[Planning deferred tasks]
[Constructing 55 / 3844]
[Constructing 854 / 3844]
[Constructing 3766 / 3844]
[Starting]
[65 / 1234] PostgresNIO
[174 / 1234] CNIOPosix
[219 / 1246] swift-crypto_CXKCP
[225 / 1272] InternalCollectionsUtilities
[226 / 1282] SwiftASN1
[226 / 1282] _NIODataStructures
[234 / 1282] _NIOBase64
[244 / 1287] Logging
[251 / 1290] _NIODataStructures
[255 / 1290] CoreMetrics
[270 / 1290] SwiftASN1
[270 / 1290] _NIODataStructures
[277 / 1290] SwiftASN1
[278 / 1290] SwiftASN1-product
[279 / 1290] _NIOBase64
[281 / 1291] _NIOBase64
[283 / 1291] _NIOBase64
[285 / 1291] _NIOBase64
[286 / 1291] NIOConcurrencyHelpers-product
[288 / 1291] NIOConcurrencyHelpers
[290 / 1292] _NIODataStructures
[292 / 1292] _NIODataStructures
[296 / 1292] _NIODataStructures
[298 / 1293] SwiftASN1
[300 / 1293] Logging
[301 / 1293] SwiftASN1
[304 / 1293] SwiftASN1
[307 / 1294] InternalCollectionsUtilities
[310 / 1294] SpanPreview
[311 / 1294] SpanPreview
[314 / 1294] Metrics
[315 / 1294] Metrics
[318 / 1295] UnixSignals
[324 / 1305] Atomics
[326 / 1305] Atomics
[330 / 1314] CXKCP
[331 / 1314] CXKCP
[337 / 1315] CNIOPosix
[350 / 1315] CNIOAtomics
[351 / 1315] CCryptoBoringSSLShims
[352 / 1315] CryptoBoringWrapper
[354 / 1315] CNIOAtomics
[359 / 1315] CryptoBoringWrapper
[362 / 1316] InternalCollectionsUtilities
[363 / 1316] CryptoBoringWrapper
[364 / 1316] InternalCollectionsUtilities
[366 / 1317] InternalCollectionsUtilities
[367 / 1317] InternalCollectionsUtilities
[368 / 1317] CryptoBoringWrapper
[373 / 1317] ConcurrencyHelpers
[376 / 1317] CNIOAtomics
[381 / 1317] Atomics
[381 / 1317]
[383 / 1317] CryptoBoringWrapper
[385 / 1318] CNIOBoringSSL
[386 / 1318] CNIOBoringSSL
[387 / 1318] CNIOBoringSSL
[394 / 1318] CNIOBoringSSL
[397 / 1318] CNIOBoringSSL
[399 / 1318] CNIOBoringSSL
[400 / 1318] CNIOBoringSSL
[401 / 1318] CNIOBoringSSL
[402 / 1318] CNIOBoringSSL
[403 / 1318] CNIOBoringSSL
[404 / 1318] CNIOBoringSSL
[405 / 1318] CNIOBoringSSL
[407 / 1318] CNIOBoringSSL
[409 / 1318] CNIOBoringSSL
[410 / 1318] CNIOBoringSSL
[412 / 1318] CNIOBoringSSL
[413 / 1318] CNIOBoringSSL
[415 / 1318] CNIOBoringSSL
[417 / 1318] CNIOBoringSSL
[419 / 1318] CNIOBoringSSL
[420 / 1319] CNIOBoringSSL
[421 / 1319] CNIOBoringSSL
[422 / 1319] CNIOBoringSSL
[424 / 1319] CNIOBoringSSL
[426 / 1319] CNIOBoringSSL
[427 / 1319] CNIOBoringSSL
[429 / 1319] CNIOBoringSSL
[430 / 1319] CNIOBoringSSL
[432 / 1319] CNIOBoringSSL
[434 / 1319] CNIOBoringSSL
[437 / 1319] CNIOBoringSSL
[438 / 1319] CNIOBoringSSL
[439 / 1319] CNIOBoringSSL
[441 / 1319] CNIOBoringSSL
[443 / 1319] CNIOBoringSSL
[444 / 1319] CNIOBoringSSL
[445 / 1319] CNIOBoringSSL
[448 / 1319] CNIOBoringSSL
[449 / 1319] CNIOBoringSSL
[451 / 1319] CNIOBoringSSL
[452 / 1319] CNIOBoringSSL
[454 / 1319] CNIOBoringSSL
[455 / 1319] CNIOBoringSSL
[457 / 1319] CNIOBoringSSL
[459 / 1319] CNIOBoringSSL
[460 / 1319] CNIOBoringSSL
[461 / 1319] CNIOBoringSSL
[462 / 1319] CNIOBoringSSL
[463 / 1319] CNIOBoringSSL
[465 / 1319] CNIOBoringSSL
[467 / 1319] CNIOBoringSSL
[468 / 1319] CNIOBoringSSL
[470 / 1319] CNIOBoringSSL
[472 / 1319] CNIOBoringSSL
[473 / 1319] CNIOBoringSSL
[474 / 1319] CNIOBoringSSL
[475 / 1319] CNIOBoringSSL
[476 / 1319] CNIOBoringSSL
[477 / 1319] CNIOBoringSSL
[479 / 1319] CNIOBoringSSL
[480 / 1319] CNIOBoringSSL
[482 / 1319] CNIOBoringSSL
[483 / 1319] CNIOBoringSSL
[484 / 1319] CNIOBoringSSL
[485 / 1319] CNIOBoringSSL
[488 / 1319] CNIOBoringSSL
[489 / 1319] CNIOBoringSSL
[490 / 1319] CNIOBoringSSL
[492 / 1319] CNIOBoringSSL
[494 / 1319] CNIOBoringSSL
[495 / 1319] CNIOBoringSSL
[496 / 1319] CNIOBoringSSL
[498 / 1319] CNIOBoringSSL
[499 / 1319] CNIOBoringSSL
[501 / 1319] CNIOBoringSSL
[502 / 1319] CNIOBoringSSL
[503 / 1319] CNIOBoringSSL
[505 / 1319] CNIOBoringSSL
[507 / 1319] 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.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