The Swift Package Index logo.Swift Package Index

Build Information

Failed to build postgres-nio-macros, reference v0.2.2 (87068e), with Swift 6.4 for Wasm on 29 Sep 2026 06:57:26 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344845-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/lovetodream/postgres-nio-macros.git
Reference: v0.2.2
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
 * tag               v0.2.2     -> FETCH_HEAD
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 v0.2.2
========================================
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-54344845-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/swiftlang/swift-syntax.git
[1/15548] Fetching postgres-nio
Fetched https://github.com/vapor/postgres-nio.git (0.72s)
[1/80070] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git (3.54s)
Computing version for https://github.com/vapor/postgres-nio.git
Computed https://github.com/vapor/postgres-nio.git at 1.33.1 (3.78s)
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-collections.git
[1/2867] Fetching swift-nio-transport-services
[1693/11032] Fetching swift-nio-transport-services, swift-log
[1780/12917] Fetching swift-nio-transport-services, swift-log, swift-atomics
Fetched https://github.com/apple/swift-nio-transport-services.git (0.48s)
[1006/10050] Fetching swift-log, swift-atomics
Fetching https://github.com/apple/swift-metrics.git
[2383/12899] Fetching swift-log, swift-atomics, swift-service-lifecycle
Fetched https://github.com/swift-server/swift-service-lifecycle.git (0.58s)
Fetching https://github.com/apple/swift-crypto.git
[1/27779] Fetching swift-collections
[5835/31302] Fetching swift-collections, swift-metrics
Fetched https://github.com/apple/swift-metrics.git (0.49s)
Fetching https://github.com/apple/swift-nio-ssl.git
[17501/27779] Fetching swift-collections
[17502/46352] Fetching swift-collections, swift-crypto
[23895/132554] Fetching swift-collections, swift-crypto, swift-nio
[104971/149417] Fetching swift-collections, swift-crypto, swift-nio, swift-nio-ssl
Fetched https://github.com/apple/swift-crypto.git (1.33s)
[91195/130844] Fetching swift-collections, swift-nio, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-ssl.git (1.67s)
Fetched https://github.com/apple/swift-log.git (3.49s)
Fetched https://github.com/apple/swift-atomics.git (3.49s)
Fetched https://github.com/apple/swift-collections.git (3.50s)
Fetched https://github.com/apple/swift-nio.git (3.53s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (3.73s)
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.20s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6790] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git (0.69s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.90s)
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.22s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.1 (0.30s)
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.22s)
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.64s)
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.14s)
Fetching https://github.com/apple/swift-asn1.git
[1/1986] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.46s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.68s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 604.0.0 (1.17s)
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/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 604.0.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-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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.103.0
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-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/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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.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-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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.1
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 2075]
[Planning 1152 / 2075]
[Planning deferred tasks]
[Constructing 876 / 5156]
[Starting]
[250 / 1496] InternalCollectionsUtilities
[349 / 1522] SwiftSyntax601
[384 / 1522] SwiftSyntax602
[385 / 1522] _NIODataStructures
[396 / 1522] _NIOBase64
[402 / 1525] SwiftSyntax510
[410 / 1531] SwiftASN1
[425 / 1550] SwiftSyntax510
[432 / 1550] _NIOBase64
[438 / 1551] SwiftASN1
[439 / 1551] SwiftASN1
[442 / 1552] NIOConcurrencyHelpers
[447 / 1552] SwiftASN1
[451 / 1552] _NIODataStructures
[454 / 1552] NIOConcurrencyHelpers-product
[455 / 1552] NIOConcurrencyHelpers-product
[457 / 1557] Logging
[459 / 1566] Logging
[461 / 1575] CryptoBoringWrapper
[466 / 1591] CoreMetrics
[467 / 1592] ConcurrencyHelpers
[468 / 1592] NIOConcurrencyHelpers
[470 / 1593] NIOConcurrencyHelpers
[472 / 1593] ConcurrencyHelpers
[473 / 1593] Logging
[487 / 1593] Logging
[498 / 1593] InternalCollectionsUtilities
[509 / 1593] InternalCollectionsUtilities
[510 / 1593] InternalCollectionsUtilities
[513 / 1593] CryptoBoringWrapper
[516 / 1593] CryptoBoringWrapper
[517 / 1593] InternalCollectionsUtilities
[524 / 1593] InternalCollectionsUtilities
[525 / 1594] SpanPreview
[529 / 1594] Logging
[532 / 1594] UnixSignals
[534 / 1594]
[539 / 1594]
[546 / 1598] CNIOWindows
[554 / 1601] Atomics
[559 / 1619] CNIOWASI
[564 / 1619] SwiftSyntax
[565 / 1620] UnixSignals
[567 / 1622] CoreMetrics
[570 / 1623] SwiftSyntax
[571 / 1623] CXKCP
[572 / 1623] SwiftSyntax
[574 / 1623] SwiftSyntax
[581 / 1623] InternalCollectionsUtilities
[584 / 1623] InternalCollectionsUtilities
[587 / 1623] ConcurrencyHelpers
[590 / 1623] CoreMetrics
[592 / 1623] Atomics-product
[595 / 1623] Atomics
[596 / 1623] Atomics
[599 / 1628] SpanPreview
[601 / 1628] SpanPreview
[613 / 1628] CNIOBoringSSL
[613 / 1628] Atomics
[616 / 1629] CNIOBoringSSL
[617 / 1629] CNIOBoringSSL
[619 / 1629] CNIOBoringSSL
[621 / 1629] CNIOBoringSSL
[623 / 1629] CNIOBoringSSL
[625 / 1629] CNIOBoringSSL
[628 / 1629] CNIOBoringSSL
[633 / 1629] CNIOBoringSSL
[635 / 1629] CNIOBoringSSL
[636 / 1629] CNIOBoringSSL
[637 / 1629] CNIOBoringSSL
[638 / 1629] CNIOBoringSSL
[639 / 1629] CNIOBoringSSL
[641 / 1629] CNIOBoringSSL
[642 / 1629] CNIOBoringSSL
[643 / 1629] CNIOBoringSSL
[644 / 1629] CNIOBoringSSL
[645 / 1629] CNIOBoringSSL
[646 / 1629] CNIOBoringSSL
[647 / 1629] SwiftSyntax
[648 / 1629] CNIOBoringSSL
[654 / 1629] CNIOBoringSSL
[656 / 1629] CNIOBoringSSL
[657 / 1629] CNIOBoringSSL
[659 / 1629] CNIOBoringSSL
[662 / 1629] CNIOBoringSSL
[668 / 1629] CNIOBoringSSL
[671 / 1629] CNIOBoringSSL
[672 / 1629] CNIOBoringSSL
[673 / 1629] CNIOBoringSSL
[674 / 1629] CNIOBoringSSL
[675 / 1629] CNIOBoringSSL
[677 / 1629] CNIOBoringSSL
[678 / 1629] CNIOBoringSSL
[679 / 1629] CNIOBoringSSL
[680 / 1629] CNIOBoringSSL
[681 / 1629] CNIOBoringSSL
[684 / 1629] CNIOBoringSSL
[685 / 1629] CNIOBoringSSL
[688 / 1629] CNIOBoringSSL
[690 / 1629] CNIOBoringSSL
[691 / 1629] CNIOBoringSSL
[692 / 1629] CNIOBoringSSL
[694 / 1629] CNIOBoringSSL
[695 / 1629] CNIOBoringSSL
[696 / 1629] CNIOBoringSSL
[697 / 1629] CNIOBoringSSL
[698 / 1629] CNIOBoringSSL
[699 / 1629] SwiftSyntax
[701 / 1629] CNIOBoringSSL
[703 / 1629] CNIOBoringSSL
[704 / 1629] CNIOBoringSSL
[705 / 1629] CNIOBoringSSL
[708 / 1629] CNIOBoringSSL
[709 / 1629] CNIOBoringSSL
[711 / 1629] CNIOBoringSSL
[712 / 1629] CNIOBoringSSL
[713 / 1629] CNIOBoringSSL
[715 / 1629] CNIOBoringSSL
[716 / 1629] CNIOBoringSSL
[719 / 1629] CNIOBoringSSL
[720 / 1629] CNIOBoringSSL
[722 / 1629] CNIOBoringSSL
[724 / 1629] CNIOBoringSSL
[725 / 1629] CNIOBoringSSL
[726 / 1629] CNIOBoringSSL
[727 / 1629] CNIOBoringSSL
[729 / 1629] CNIOBoringSSL
[730 / 1629] CNIOBoringSSL
[732 / 1629] CNIOBoringSSL
[734 / 1629] CNIOBoringSSL
[736 / 1629] 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