The Swift Package Index logo.Swift Package Index

Build Information

Failed to build postgres-migrations, reference 1.2.0 (90d8fd), with Swift 6.4 for Wasm on 17 Sep 2026 03:56:54 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>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hummingbird-project/postgres-migrations.git
Reference: 1.2.0
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/hummingbird-project/postgres-migrations
 * tag               1.2.0      -> FETCH_HEAD
HEAD is now at 90d8fd9 Add configurable migration table name (#10)
Cloned https://github.com/hummingbird-project/postgres-migrations.git
Revision (git rev-parse @):
90d8fd9e365c26c0a0f4cbe498fdf10532704419
SUCCESS checkout https://github.com/hummingbird-project/postgres-migrations.git at 1.2.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/hummingbird-project/postgres-migrations.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.git
[1/15112] Fetching postgres-nio
Fetched https://github.com/vapor/postgres-nio.git (1.64s)
Computing version for https://github.com/vapor/postgres-nio.git
Computed https://github.com/vapor/postgres-nio.git at 1.33.1 (1.83s)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/18531] Fetching swift-crypto
[187/34595] Fetching swift-crypto, swift-nio-ssl
[879/42686] Fetching swift-crypto, swift-nio-ssl, swift-log
[4967/45529] Fetching swift-crypto, swift-nio-ssl, swift-log, swift-service-lifecycle
[4968/48392] Fetching swift-crypto, swift-nio-ssl, swift-log, swift-service-lifecycle, swift-nio-transport-services
Fetched https://github.com/swift-server/swift-service-lifecycle.git (0.55s)
[15700/45549] Fetching swift-crypto, swift-nio-ssl, swift-log, swift-nio-transport-services
Fetching https://github.com/apple/swift-atomics.git
[37767/131499] Fetching swift-crypto, swift-nio-ssl, swift-log, swift-nio-transport-services, swift-nio
[42957/133374] Fetching swift-crypto, swift-nio-ssl, swift-log, swift-nio-transport-services, swift-nio, swift-atomics
Fetched https://github.com/apple/swift-atomics.git (0.63s)
Fetched https://github.com/apple/swift-nio-transport-services.git (1.18s)
[48703/128636] Fetching swift-crypto, swift-nio-ssl, swift-log, swift-nio
Fetching https://github.com/apple/swift-metrics.git
Fetched https://github.com/apple/swift-nio-ssl.git (1.19s)
[33498/112572] Fetching swift-crypto, swift-log, swift-nio
[79912/116080] Fetching swift-crypto, swift-log, swift-nio, swift-metrics
Fetching https://github.com/apple/swift-collections.git
[116081/143354] Fetching swift-crypto, swift-log, swift-nio, swift-metrics, swift-collections
Fetched https://github.com/apple/swift-metrics.git (2.23s)
Fetched https://github.com/apple/swift-collections.git (1.59s)
Fetched https://github.com/apple/swift-log.git (4.01s)
Fetched https://github.com/apple/swift-crypto.git (4.02s)
Fetched https://github.com/apple/swift-nio.git (4.05s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (4.34s)
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.17s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6723] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git (0.57s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.76s)
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.20s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (0.28s)
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.18s)
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.4 (0.21s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.102.0 (0.32s)
Fetching https://github.com/apple/swift-system.git
[1/6898] Fetching swift-system
Fetched https://github.com/apple/swift-system.git (0.68s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.90s)
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/1983] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (1.08s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.2 (1.30s)
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-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.2
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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.6.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.102.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-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.37.4
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-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/postgres-nio.git
Working copy of https://github.com/vapor/postgres-nio.git resolved at 1.33.1
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 1463]
[Planning 660 / 1463]
[Planning 1306 / 1463]
[Planning deferred tasks]
[Constructing 764 / 3844]
[Starting]
[209 / 1234] swift-crypto_CXKCP
[228 / 1281] Logging
[229 / 1299] SwiftASN1
[230 / 1299] _NIOBase64
[232 / 1299] _NIOBase64
[247 / 1299] Logging
[260 / 1299] ConcurrencyHelpers
[262 / 1299] InternalCollectionsUtilities
[277 / 1299] SwiftASN1
[278 / 1299] SwiftASN1
[281 / 1300] SwiftASN1
[288 / 1300] SwiftASN1
[292 / 1300] _NIOBase64
[296 / 1301] NIOConcurrencyHelpers
[300 / 1301] _NIODataStructures
[301 / 1301] NIOConcurrencyHelpers
[303 / 1301] Logging
[305 / 1301] Logging-product
[308 / 1301] Logging
[311 / 1301] InternalCollectionsUtilities
[313 / 1302] NIOConcurrencyHelpers
[315 / 1302] NIOConcurrencyHelpers
[317 / 1302] CryptoBoringWrapper
[319 / 1302] CryptoBoringWrapper
[321 / 1303] CryptoBoringWrapper
[321 / 1303] Logging
[326 / 1304] CryptoBoringWrapper
[332 / 1304] Metrics
[333 / 1304] ContainersPreview
[335 / 1304] UnixSignals
[343 / 1309] CXKCP
[348 / 1319] ConcurrencyHelpers
[355 / 1320] UnixSignals
[361 / 1320] InternalCollectionsUtilities
[364 / 1320] Atomics
[365 / 1321] UnixSignals
[368 / 1321] Atomics
[370 / 1323] Metrics
[373 / 1335] Metrics
[376 / 1335] Metrics
[377 / 1335] Metrics
[382 / 1335] OrderedCollections
[383 / 1336] OrderedCollections
[384 / 1336] OrderedCollections
[385 / 1336] OrderedCollections
[387 / 1336] Atomics
[388 / 1336] Metrics
[395 / 1337] Metrics-product
[401 / 1339] ContainersPreview
[412 / 1349] CNIOFreeBSD
[423 / 1358] ContainersPreview
[430 / 1358] OrderedCollections
[433 / 1359] CNIOBoringSSL
[435 / 1359] CNIOBoringSSL
[437 / 1359] CNIOBoringSSL
[438 / 1359] OrderedCollections
[443 / 1359] CNIOBoringSSL
[445 / 1359] CNIOBoringSSL
[446 / 1359] CNIOBoringSSL
[448 / 1359] CNIOBoringSSL
[454 / 1359] CNIOBoringSSL
[455 / 1359] CNIOBoringSSL
[456 / 1359] CNIOBoringSSL
[458 / 1359] Crypto
[467 / 1359] CNIOBoringSSL
[469 / 1359] CNIOBoringSSL
[470 / 1359] CNIOBoringSSL
[474 / 1359] CNIOBoringSSL
[476 / 1359] CNIOBoringSSL
[480 / 1359] CNIOBoringSSL
[484 / 1359] CNIOBoringSSL
[486 / 1359] CNIOBoringSSL
[488 / 1359] CNIOBoringSSL
[489 / 1359] CNIOBoringSSL
[491 / 1359] CNIOBoringSSL
[493 / 1359] CNIOBoringSSL
[494 / 1359] CNIOBoringSSL
[496 / 1359] CNIOBoringSSL
[500 / 1359] CNIOBoringSSL
[503 / 1359] CNIOBoringSSL
[504 / 1359] CNIOBoringSSL
[507 / 1359] CNIOBoringSSL
[509 / 1359] CNIOBoringSSL
[510 / 1359] CNIOBoringSSL
[513 / 1359] CNIOBoringSSL
[517 / 1359] CNIOBoringSSL
[518 / 1359] CNIOBoringSSL
[519 / 1359] CNIOBoringSSL
[520 / 1359] CNIOBoringSSL
[521 / 1359] CNIOBoringSSL
[523 / 1359] CNIOBoringSSL
[525 / 1359] CNIOBoringSSL
[526 / 1359] CNIOBoringSSL
[528 / 1359] CNIOBoringSSL
[529 / 1359] CNIOBoringSSL
[530 / 1359] CNIOBoringSSL
[532 / 1359] CNIOBoringSSL
[533 / 1359] CNIOBoringSSL
[536 / 1359] CNIOBoringSSL
[537 / 1359] CNIOBoringSSL
[538 / 1359] CNIOBoringSSL
[539 / 1359] CNIOBoringSSL
[541 / 1359] CNIOBoringSSL
[542 / 1359] CNIOBoringSSL
[545 / 1359] CNIOBoringSSL
[546 / 1359] CNIOBoringSSL
[548 / 1359] CNIOBoringSSL
[550 / 1359] CNIOBoringSSL
[552 / 1359] CNIOBoringSSL
[554 / 1359] CNIOBoringSSL
[555 / 1359] 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.b[558 / 1359] CNIOBoringSSL
uild/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