Build Information
Failed to build postgres-nio-macros, reference main (87068e), with Swift 6.4 for Wasm on 29 Sep 2026 06:59:56 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-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.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/lovetodream/postgres-nio-macros.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/lovetodream/postgres-nio-macros
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 87068eb Allow using Swift Syntax for Swift 6.4 - #7 (#7)
Cloned https://github.com/lovetodream/postgres-nio-macros.git
Revision (git rev-parse @):
87068eb87719f5c1552f9462a45fe16a5a66c05c
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/lovetodream/postgres-nio-macros.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/lovetodream/postgres-nio-macros.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-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.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/swiftlang/swift-syntax.git
Fetching https://github.com/vapor/postgres-nio.git
[1/15548] Fetching postgres-nio
[15549/95618] Fetching postgres-nio, swift-syntax
Fetched https://github.com/vapor/postgres-nio.git (3.46s)
Fetched https://github.com/swiftlang/swift-syntax.git (3.48s)
Computing version for https://github.com/vapor/postgres-nio.git
Computed https://github.com/vapor/postgres-nio.git at 1.33.1 (3.67s)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-metrics.git
[1/8165] Fetching swift-log
[2778/11014] Fetching swift-log, swift-service-lifecycle
[3296/14537] Fetching swift-log, swift-service-lifecycle, swift-metrics
[8343/33110] Fetching swift-log, swift-service-lifecycle, swift-metrics, swift-crypto
Fetched https://github.com/swift-server/swift-service-lifecycle.git (0.57s)
[12431/30261] Fetching swift-log, swift-metrics, swift-crypto
Fetching https://github.com/apple/swift-collections.git
[14475/47124] Fetching swift-log, swift-metrics, swift-crypto, swift-nio-ssl
[20280/133326] Fetching swift-log, swift-metrics, swift-crypto, swift-nio-ssl, swift-nio
[78683/161105] Fetching swift-log, swift-metrics, swift-crypto, swift-nio-ssl, swift-nio, swift-collections
Fetched https://github.com/apple/swift-metrics.git (2.02s)
[132584/157582] Fetching swift-log, swift-crypto, swift-nio-ssl, swift-nio, swift-collections
Fetching https://github.com/apple/swift-atomics.git
Fetched https://github.com/apple/swift-crypto.git (2.05s)
[114873/139009] Fetching swift-log, swift-nio-ssl, swift-nio, swift-collections
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetched https://github.com/apple/swift-nio-ssl.git (2.06s)
[98872/122146] Fetching swift-log, swift-nio, swift-collections
Fetched https://github.com/apple/swift-collections.git (1.63s)
[76265/94367] Fetching swift-log, swift-nio
[94368/96252] Fetching swift-log, swift-nio, swift-atomics
[95066/99119] Fetching swift-log, swift-nio, swift-atomics, swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git (0.59s)
Fetched https://github.com/apple/swift-atomics.git (0.61s)
Fetched https://github.com/apple/swift-log.git (3.57s)
Fetched https://github.com/apple/swift-nio.git (3.61s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (3.81s)
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.18s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6790] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git (1.18s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (1.38s)
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.21s)
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-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.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.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/6986] Fetching swift-system
Fetched https://github.com/apple/swift-system.git (0.67s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.89s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.2 (1.15s)
Fetching https://github.com/apple/swift-asn1.git
[1/1986] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.47s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.70s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 604.0.0 (1.18s)
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/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-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.6
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-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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.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-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-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.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.103.0
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 604.0.0
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 2075]
[Planning 1334 / 2075]
[Planning deferred tasks]
[Constructing 773 / 5156]
[Starting]
[264 / 1496] CryptoBoringWrapper
[350 / 1525] SwiftSyntax600
[391 / 1525] SwiftSyntax603
[392 / 1525] _NIODataStructures
[396 / 1525] _NIODataStructures
[414 / 1536] SwiftSyntax509
[425 / 1572] InternalCollectionsUtilities
[430 / 1590] ConcurrencyHelpers
[434 / 1590] Logging
[451 / 1590] Logging
[470 / 1591] SwiftASN1
[471 / 1591] _NIODataStructures
[473 / 1591] _NIODataStructures
[484 / 1591] SwiftASN1
[485 / 1591] SwiftASN1
[486 / 1591] NIOConcurrencyHelpers
[488 / 1591] NIOConcurrencyHelpers
[489 / 1591] NIOConcurrencyHelpers
[490 / 1591] NIOConcurrencyHelpers-product
[493 / 1591] NIOConcurrencyHelpers-product
[494 / 1591] NIOConcurrencyHelpers-product
[496 / 1591] Logging
[499 / 1591] Logging
[500 / 1592] InternalCollectionsUtilities
[502 / 1592] InternalCollectionsUtilities
[504 / 1593] InternalCollectionsUtilities
[505 / 1593] NIOConcurrencyHelpers
[506 / 1593] SpanPreview
[510 / 1593] Logging
[512 / 1594] Logging
[517 / 1594] SwiftASN1
[526 / 1594] SwiftASN1
[527 / 1594] CryptoBoringWrapper
[528 / 1594] Crypto
[531 / 1594] Metrics
[533 / 1594] UnixSignals
[538 / 1594]
[548 / 1599] CNIOLinux
[556 / 1608] CNIOPosix
[561 / 1609] CNIODarwin
[567 / 1609] CNIOBoringSSLShims
[570 / 1610] CNIOBoringSSL
[571 / 1611] CNIOBoringSSL
[574 / 1612] CNIOBoringSSL
[575 / 1612] CNIOBoringSSL
[577 / 1612] CNIOBoringSSL
[579 / 1612] CNIOBoringSSL
[583 / 1612] CNIOBoringSSL
[586 / 1612] CNIOBoringSSL
[588 / 1612] CNIOBoringSSL
[589 / 1612] CNIOBoringSSL
[590 / 1612] CNIOBoringSSL
[591 / 1612] CNIOBoringSSL
[594 / 1612] Atomics
[598 / 1612] Atomics
[602 / 1612] CNIOBoringSSL
[603 / 1612] CNIOBoringSSL
[604 / 1612] CNIOBoringSSL
[606 / 1612] CNIOBoringSSL
[607 / 1612] CNIOBoringSSL
[608 / 1612] CNIOBoringSSL
[610 / 1612] CNIOBoringSSL
[612 / 1612] CNIOBoringSSL
[613 / 1612] CNIOBoringSSL
[618 / 1612] CNIOBoringSSL
[626 / 1612] CNIOBoringSSL
[627 / 1612] CNIOBoringSSL
[629 / 1612] CNIOBoringSSL
[630 / 1612] CNIOBoringSSL
[632 / 1612] CNIOBoringSSL
[634 / 1612] CNIOBoringSSL
[635 / 1612] CNIOBoringSSL
[636 / 1612] CNIOBoringSSL
[639 / 1612] CNIOBoringSSL
[641 / 1612] CNIOBoringSSL
[642 / 1612] CNIOBoringSSL
[643 / 1612] CNIOBoringSSL
[645 / 1612] CNIOBoringSSL
[646 / 1612] CNIOBoringSSL
[648 / 1612] CNIOBoringSSL
[650 / 1612] CNIOBoringSSL
[652 / 1612] CNIOBoringSSL
[654 / 1612] CNIOBoringSSL
[656 / 1612] CNIOBoringSSL
[657 / 1612] CNIOBoringSSL
[660 / 1612] CNIOBoringSSL
[661 / 1612] CNIOBoringSSL
[663 / 1612] CNIOBoringSSL
[667 / 1612] CNIOBoringSSL
[668 / 1612] CNIOBoringSSL
[669 / 1612] CNIOBoringSSL
[670 / 1612] CNIOBoringSSL
[672 / 1612] CNIOBoringSSL
[674 / 1612] CNIOBoringSSL
[675 / 1612] CNIOBoringSSL
[676 / 1612] CNIOBoringSSL
[678 / 1612] CNIOBoringSSL
[679 / 1612] CNIOBoringSSL
[682 / 1612] CNIOBoringSSL
[684 / 1612] CNIOBoringSSL
[686 / 1612] CNIOBoringSSL
[688 / 1612] CNIOBoringSSL
[690 / 1612] CNIOBoringSSL
[691 / 1612] CNIOBoringSSL
[693 / 1612] 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