Build Information
Failed to build postgres-for-swift-log, reference 0.0.1 (1e1a43), with Swift 6.4 for Wasm on 24 Sep 2026 06:54:44 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-3":/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: 0.0.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/atacan/postgres-for-swift-log
* tag 0.0.1 -> FETCH_HEAD
HEAD is now at 1e1a43a Create LICENSE
Cloned https://github.com/atacan/postgres-for-swift-log.git
Revision (git rev-parse @):
1e1a43acffc0320edf4169d91a6118e1dfff8f8c
SUCCESS checkout https://github.com/atacan/postgres-for-swift-log.git at 0.0.1
========================================
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-54344845-3":/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/swift-server/swift-service-lifecycle.git
Fetching https://github.com/vapor/postgres-nio
[1/2843] Fetching swift-service-lifecycle
[2844/18330] Fetching swift-service-lifecycle, postgres-nio
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/swift-server/swift-service-lifecycle.git (1.08s)
Fetched https://github.com/vapor/postgres-nio (1.08s)
[1/8165] Fetching swift-log
Fetched https://github.com/apple/swift-log.git (0.63s)
Computing version for https://github.com/vapor/postgres-nio
Computed https://github.com/vapor/postgres-nio at 1.33.1 (2.13s)
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-nio.git
[1/2863] Fetching swift-nio-transport-services
[2864/21412] Fetching swift-nio-transport-services, swift-crypto
Fetched https://github.com/apple/swift-nio-transport-services.git (0.60s)
[557/18549] Fetching swift-crypto
Fetching https://github.com/apple/swift-atomics.git
[929/46242] Fetching swift-crypto, swift-collections
[7858/132307] Fetching swift-crypto, swift-collections, swift-nio
[14473/134188] Fetching swift-crypto, swift-collections, swift-nio, swift-atomics
Fetched https://github.com/apple/swift-atomics.git (0.72s)
[29766/132307] Fetching swift-crypto, swift-collections, swift-nio
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-metrics.git
[119399/148372] Fetching swift-crypto, swift-collections, swift-nio, swift-nio-ssl
[120260/151888] Fetching swift-crypto, swift-collections, swift-nio, swift-nio-ssl, swift-metrics
Fetched https://github.com/apple/swift-metrics.git (0.65s)
[133753/148372] Fetching swift-crypto, swift-collections, swift-nio, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-ssl.git (2.50s)
Fetched https://github.com/apple/swift-crypto.git (6.38s)
Fetched https://github.com/apple/swift-collections.git (6.40s)
Fetched https://github.com/apple/swift-nio.git (6.43s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (6.87s)
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.65s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.98s)
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.41s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.0 (0.52s)
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.42s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.11.0 (0.35s)
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.42s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (0.61s)
Fetching https://github.com/apple/swift-system.git
[1/6916] Fetching swift-system
Fetched https://github.com/apple/swift-system.git (0.75s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (1.19s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.2 (2.01s)
Fetching https://github.com/apple/swift-asn1.git
[1/1983] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.56s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.97s)
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-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/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-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-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/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-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/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
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-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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.103.0
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 1463]
[Planning 239 / 1463]
[Planning 690 / 1463]
[Planning 1109 / 1463]
[Planning 1377 / 1463]
[Planning deferred tasks]
[Constructing 1 / 3844]
[Constructing 761 / 3844]
[Writing build description]
[Starting]
[67 / 1234] NIOTransportServices
[207 / 1234]
[221 / 1243] _AtomicsShims
[226 / 1255] CryptoBoringWrapper
[228 / 1290] SwiftASN1
[229 / 1290] _NIOBase64
[231 / 1290] _NIODataStructures
[242 / 1290] NIOConcurrencyHelpers
[248 / 1290] Logging
[259 / 1295] CoreMetrics
[260 / 1295] InternalCollectionsUtilities
[271 / 1295] SwiftASN1
[272 / 1295] SwiftASN1
[277 / 1295] SwiftASN1
[278 / 1295] SwiftASN1
[280 / 1296] SwiftASN1-product
[282 / 1296] _NIOBase64
[284 / 1296] _NIOBase64
[285 / 1296] _NIOBase64
[286 / 1296] NIOConcurrencyHelpers
[288 / 1297] _NIODataStructures
[290 / 1297] _NIODataStructures
[292 / 1297] _NIODataStructures
[294 / 1297] Logging
[296 / 1297] Logging
[296 / 1297] SwiftASN1
[298 / 1297] Logging
[299 / 1297] Logging
[300 / 1297] Logging-product
[301 / 1297] Logging-product
[302 / 1297] Logging-product
[304 / 1297] InternalCollectionsUtilities
[306 / 1298] InternalCollectionsUtilities
[308 / 1298] NIOConcurrencyHelpers
[309 / 1299] SwiftASN1
[310 / 1299] SpanPreview
[312 / 1299] SwiftASN1
[314 / 1299] SwiftASN1
[315 / 1299] InternalCollectionsUtilities
[317 / 1299] CryptoBoringWrapper
[319 / 1299] CryptoBoringWrapper
[320 / 1299] CryptoBoringWrapper
[323 / 1300] Logging
[331 / 1304] ConcurrencyHelpers
[331 / 1304]
[335 / 1304] CXKCP
[337 / 1305] SwiftASN1
[341 / 1311] OrderedCollections
[349 / 1320] SpanPreview
[358 / 1321] SpanPreview
[359 / 1321] SpanPreview
[360 / 1322] OrderedCollections
[361 / 1322] SpanPreview
[363 / 1323] OrderedCollections
[365 / 1323] OrderedCollections
[366 / 1323] InternalCollectionsUtilities
[368 / 1324] InternalCollectionsUtilities
[372 / 1324] CoreMetrics
[376 / 1324] CNIOWindows
[379 / 1324] CNIOWASI
[384 / 1325] UnixSignals
[386 / 1328] UnixSignals
[387 / 1328] UnixSignals
[389 / 1328] UnixSignals
[395 / 1331] Metrics
[396 / 1332] UnixSignals
[397 / 1332]
[405 / 1334] CNIOLinux
[406 / 1343] Atomics
[409 / 1343] CNIODarwin
[413 / 1352] CNIOFreeBSD
[416 / 1353] CNIOBoringSSL
[416 / 1353] CNIOBoringSSLShims
[419 / 1354] CNIOBoringSSL
[421 / 1354] CNIOBoringSSL
[423 / 1354] CNIOBoringSSL
[424 / 1354] CNIOBoringSSL
[427 / 1354] OrderedCollections
[432 / 1354] CNIOBoringSSL
[434 / 1354] CNIOBoringSSL
[435 / 1354] CNIOBoringSSL
[436 / 1354] CNIOBoringSSL
[438 / 1354] CNIOBoringSSL
[440 / 1354] CNIOBoringSSL
[441 / 1354] CNIOBoringSSL
[443 / 1354] CNIOBoringSSL
[444 / 1354] CNIOBoringSSL
[451 / 1354] CNIOBoringSSL
[452 / 1354] Crypto
[454 / 1354] Crypto
[460 / 1354] CNIOBoringSSL
[461 / 1354] CNIOBoringSSL
[465 / 1354] CNIOBoringSSL
[467 / 1354] CNIOBoringSSL
[468 / 1354] CNIOBoringSSL
[470 / 1354] CNIOBoringSSL
[471 / 1354] CNIOBoringSSL
[472 / 1354] CNIOBoringSSL
[474 / 1354] CNIOBoringSSL
[475 / 1354] CNIOBoringSSL
[478 / 1354] CNIOBoringSSL
[482 / 1354] CNIOBoringSSL
[484 / 1354] CNIOBoringSSL
[486 / 1354] CNIOBoringSSL
[487 / 1354] CNIOBoringSSL
[489 / 1354] CNIOBoringSSL
[490 / 1354] CNIOBoringSSL
[491 / 1354] CNIOBoringSSL
[493 / 1354] CNIOBoringSSL
[494 / 1354] CNIOBoringSSL
[495 / 1354] CNIOBoringSSL
[497 / 1354] CNIOBoringSSL
[498 / 1354] CNIOBoringSSL
[499 / 1354] CNIOBoringSSL
[500 / 1354] CNIOBoringSSL
[502 / 1354] CNIOBoringSSL
[504 / 1354] CNIOBoringSSL
[505 / 1354] CNIOBoringSSL
[509 / 1354] CNIOBoringSSL
[510 / 1354] CNIOBoringSSL
[511 / 1354] CNIOBoringSSL
[512 / 1354] CNIOBoringSSL
[513 / 1354] CNIOBoringSSL
[514 / 1354] CNIOBoringSSL
[516 / 1354] CNIOBoringSSL
[517 / 1354] CNIOBoringSSL
[518 / 1354] CNIOBoringSSL
[519 / 1354] CNIOBoringSSL
[521 / 1354] CNIOBoringSSL
[523 / 1354] CNIOBoringSSL
[524 / 1354] CNIOBoringSSL
[526 / 1354] CNIOBoringSSL
[528 / 1354] CNIOBoringSSL
[529 / 1354] CNIOBoringSSL
[531 / 1354] CNIOBoringSSL
[532 / 1354] CNIOBoringSSL
[534 / 1354] CNIOBoringSSL
[536 / 1354] CNIOBoringSSL
[537 / 1354] CNIOBoringSSL
[538 / 1354] CNIOBoringSSL
[539 / 1354] CNIOBoringSSL
[540 / 1354] CNIOBoringSSL
[541 / 1354] CNIOBoringSSL
[542 / 1354] CNIOBoringSSL
[544 / 1354] CNIOBoringSSL
[546 / 1354] CNIOBoringSSL
[548 / 1354] CNIOBoringSSL
[549 / 1354] CNIOBoringSSL
[550 / 1354] 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