The Swift Package Index logo.Swift Package Index

Build Information

Failed to build postgres-migrations, reference main (795927), with Swift 6.4 for Wasm on 27 Oct 2026 20:45:37 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344845-2":/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.0-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hummingbird-project/postgres-migrations.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/hummingbird-project/postgres-migrations
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 795927f Update from hummingbird-project-template 019e1b8aa391332dbbf6cd013c2ccc042a08dcba (#31)
Cloned https://github.com/hummingbird-project/postgres-migrations.git
Revision (git rev-parse @):
795927f3e520f264da4bb049ceee9d059be9cf16
SUCCESS checkout https://github.com/hummingbird-project/postgres-migrations.git at main
========================================
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-54344845-2":/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.0-RELEASE_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:0ad19d16955074ecc72bbe910025b19c4e4614184c1a48afc82660d4c7620121
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/15684] Fetching postgres-nio
Fetched https://github.com/vapor/postgres-nio.git (0.65s)
Computing version for https://github.com/vapor/postgres-nio.git
Computed https://github.com/vapor/postgres-nio.git at 1.33.2 (0.82s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-crypto.git
[1/8381] Fetching swift-log
[85/11990] Fetching swift-log, swift-metrics
[86/30849] Fetching swift-log, swift-metrics, swift-crypto
[3871/47743] Fetching swift-log, swift-metrics, swift-crypto, swift-nio-ssl
[4710/50629] Fetching swift-log, swift-metrics, swift-crypto, swift-nio-ssl, swift-service-lifecycle
Fetched https://github.com/apple/swift-metrics.git (0.51s)
Fetching https://github.com/apple/swift-atomics.git
[13582/47020] Fetching swift-log, swift-crypto, swift-nio-ssl, swift-service-lifecycle
[33820/133711] Fetching swift-log, swift-crypto, swift-nio-ssl, swift-service-lifecycle, swift-nio
[34764/135604] Fetching swift-log, swift-crypto, swift-nio-ssl, swift-service-lifecycle, swift-nio, swift-atomics
Fetched https://github.com/apple/swift-atomics.git (0.55s)
[49318/133711] Fetching swift-log, swift-crypto, swift-nio-ssl, swift-service-lifecycle, swift-nio
Fetching https://github.com/apple/swift-collections.git
Fetched https://github.com/apple/swift-nio-ssl.git (1.38s)
[76940/116817] Fetching swift-log, swift-crypto, swift-service-lifecycle, swift-nio
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetched https://github.com/swift-server/swift-service-lifecycle.git (1.51s)
[81856/113931] Fetching swift-log, swift-crypto, swift-nio
Fetched https://github.com/apple/swift-crypto.git (1.52s)
[63864/95072] Fetching swift-log, swift-nio
[66465/97939] Fetching swift-log, swift-nio, swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git (0.45s)
[67918/95072] Fetching swift-log, swift-nio
[68199/124434] Fetching swift-log, swift-nio, swift-collections
Fetched https://github.com/apple/swift-collections.git (1.53s)
[84670/95072] Fetching swift-log, swift-nio
Fetched https://github.com/apple/swift-log.git (4.16s)
Fetched https://github.com/apple/swift-nio.git (4.22s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (4.53s)
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.30s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.13.0 (0.29s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6825] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git (0.65s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.7 (1.02s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.16.2 (0.35s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.5 (0.46s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.12.0 (0.32s)
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.34s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.104.0 (0.52s)
Fetching https://github.com/apple/swift-system.git
[1/7381] Fetching swift-system
Fetched https://github.com/apple/swift-system.git (0.81s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (1.16s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.0.3 (1.65s)
Fetching https://github.com/apple/swift-asn1.git
[21/2051] 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.88s)
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.5
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.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.12.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.13.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 5.0.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/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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.16.2
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.104.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-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-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-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.7
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 1433]
[Planning 315 / 1433]
[Planning 898 / 1433]
[Planning 1308 / 1433]
[Planning deferred tasks]
[Constructing 102 / 3791]
[Constructing 1139 / 3791]
[Starting]
[68 / 1231] _AtomicsShims
[205 / 1231]
[220 / 1242] _NIODataStructures
[226 / 1284] SwiftASN1
[227 / 1293] Logging
[227 / 1293] CoreMetrics
[230 / 1293] _NIOBase64
[239 / 1293] _NIODataStructures
[250 / 1293] _NIOBase64
[252 / 1293] Logging
[254 / 1293] Logging
[269 / 1293] SwiftASN1
[273 / 1293] SwiftASN1
[277 / 1293] SwiftASN1
[278 / 1293] SwiftASN1-product
[281 / 1294] _NIOBase64
[281 / 1294] SwiftASN1-product
[285 / 1294] _NIOBase64
[286 / 1294] _NIOBase64
[291 / 1295] Logging
[292 / 1295] _NIODataStructures
[296 / 1295] Logging-product
[297 / 1295] Logging
[300 / 1295] InternalCollectionsUtilities
[301 / 1295] SpanPreview
[304 / 1295] NIOConcurrencyHelpers
[305 / 1296] NIOConcurrencyHelpers
[307 / 1297] InternalCollectionsUtilities
[312 / 1297] SwiftASN1
[314 / 1297] SwiftASN1
[317 / 1298] Logging
[320 / 1298] Logging
[323 / 1298] Logging
[325 / 1298] Metrics
[331 / 1304] SpanPreview
[335 / 1308] CXKCP
[339 / 1317] SpanPreview
[349 / 1317] SpanPreview
[357 / 1318] CryptoBoringWrapper
[359 / 1319] InternalCollectionsUtilities
[362 / 1320] OrderedCollections
[363 / 1320] OrderedCollections
[365 / 1321] InternalCollectionsUtilities
[366 / 1321] CryptoBoringWrapper
[370 / 1321] CoreMetrics
[371 / 1321] UnixSignals
[374 / 1321] CoreMetrics
[377 / 1326] Crypto
[379 / 1327] CNIOWASI
[389 / 1328] Atomics
[396 / 1345] Crypto
[397 / 1345] CNIOLinux
[398 / 1346] Metrics-product
[401 / 1346] Metrics
[403 / 1347] Crypto
[404 / 1347] Crypto
[404 / 1347] CXKCP
[412 / 1347] Crypto
[413 / 1347] OrderedCollections
[417 / 1347] ConcurrencyHelpers
[418 / 1347] ConcurrencyHelpers
[419 / 1347] ConcurrencyHelpers
[431 / 1347] Atomics
[433 / 1347] Atomics-product
[437 / 1351] UnixSignals
[438 / 1351]
[450 / 1351] CNIOBoringSSL
[452 / 1352] CNIOBoringSSL
[457 / 1352] CNIOBoringSSL
[457 / 1352] Atomics
[459 / 1353] CNIOBoringSSL
[460 / 1353] Crypto
[462 / 1353] CNIOBoringSSL
[463 / 1354] CNIOBoringSSL
[465 / 1354] CNIOBoringSSL
[467 / 1354] CNIOBoringSSL
[470 / 1354] CNIOBoringSSL
[472 / 1354] CNIOBoringSSL
[475 / 1354] CNIOBoringSSL
[477 / 1354] CNIOBoringSSL
[480 / 1354] CNIOBoringSSL
[483 / 1354] CNIOBoringSSL
[484 / 1354] CNIOBoringSSL
[485 / 1354] CNIOBoringSSL
[488 / 1354] CNIOBoringSSL
[489 / 1354] CNIOBoringSSL
[492 / 1354] CNIOBoringSSL
[494 / 1354] CNIOBoringSSL
[499 / 1354] CNIOBoringSSL
[501 / 1354] CNIOBoringSSL
[502 / 1354] CNIOBoringSSL
[504 / 1354] CNIOBoringSSL
[509 / 1354] CNIOBoringSSL
[512 / 1354] CNIOBoringSSL
[515 / 1354] CNIOBoringSSL
[521 / 1354] CNIOBoringSSL
[523 / 1354] CNIOBoringSSL
[529 / 1354] CNIOBoringSSL
[531 / 1354] CNIOBoringSSL
[534 / 1354] CNIOBoringSSL
[537 / 1354] CNIOBoringSSL
[540 / 1354] CNIOBoringSSL
[544 / 1354] CNIOBoringSSL
[547 / 1354] CNIOBoringSSL
[549 / 1354] CNIOBoringSSL
[551 / 1354] CNIOBoringSSL
[553 / 1354] CNIOBoringSSL
[555 / 1354] CNIOBoringSSL
[556 / 1354] CNIOBoringSSL
[559 / 1354] CNIOBoringSSL
[561 / 1354] CNIOBoringSSL
[563 / 1354] CNIOBoringSSL
[566 / 1354] CNIOBoringSSL
[568 / 1354] 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.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_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