The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PGExtras, reference main (c6dad1), with Swift 6.4 for Wasm on 18 Sep 2026 09:33:25 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886770-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/finestructure/swift-pg-extras.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/finestructure/swift-pg-extras
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at c6dad10 Fix sorting
Cloned https://github.com/finestructure/swift-pg-extras.git
Revision (git rev-parse @):
c6dad10b4fecaf9be81f36b87d2f0117d3ba6009
SUCCESS checkout https://github.com/finestructure/swift-pg-extras.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/finestructure/swift-pg-extras.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-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/cfilipov/texttable.git
[1/210] Fetching texttable
Fetched https://github.com/cfilipov/texttable.git (0.47s)
Fetching https://github.com/vapor/postgres-nio.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/18918] Fetching swift-argument-parser
[18919/34342] Fetching swift-argument-parser, postgres-nio
Fetched https://github.com/vapor/postgres-nio.git (0.87s)
Fetched https://github.com/apple/swift-argument-parser.git (0.88s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.8.2 (1.08s)
Computing version for https://github.com/vapor/postgres-nio.git
Computed https://github.com/vapor/postgres-nio.git at 1.33.1 (0.19s)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-metrics.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
[1/16065] Fetching swift-nio-ssl
[483/34607] Fetching swift-nio-ssl, swift-crypto
[991/37450] Fetching swift-nio-ssl, swift-crypto, swift-service-lifecycle
[992/40958] Fetching swift-nio-ssl, swift-crypto, swift-service-lifecycle, swift-metrics
[2383/49054] Fetching swift-nio-ssl, swift-crypto, swift-service-lifecycle, swift-metrics, swift-log
[46460/135076] Fetching swift-nio-ssl, swift-crypto, swift-service-lifecycle, swift-metrics, swift-log, swift-nio
Fetched https://github.com/swift-server/swift-service-lifecycle.git (1.07s)
Fetching https://github.com/apple/swift-collections.git
Fetched https://github.com/apple/swift-nio-ssl.git (1.08s)
Fetching https://github.com/apple/swift-atomics.git
[34448/116168] Fetching swift-crypto, swift-metrics, swift-log, swift-nio
Fetched https://github.com/apple/swift-metrics.git (1.23s)
Fetched https://github.com/apple/swift-log.git (1.23s)
Fetching https://github.com/apple/swift-nio-transport-services.git
[40908/104564] Fetching swift-crypto, swift-nio
Fetched https://github.com/apple/swift-crypto.git (1.24s)
[24087/86022] Fetching swift-nio
[57636/87897] Fetching swift-nio, swift-atomics
[60371/90760] Fetching swift-nio, swift-atomics, swift-nio-transport-services
Fetched https://github.com/apple/swift-atomics.git (0.56s)
[59385/88885] Fetching swift-nio, swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git (0.48s)
[61076/86022] Fetching swift-nio
[61077/113301] Fetching swift-nio, swift-collections
Fetched https://github.com/apple/swift-collections.git (1.17s)
Fetched https://github.com/apple/swift-nio.git (3.10s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (3.27s)
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.77s)
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.21s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (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/6898] Fetching swift-system
Fetched https://github.com/apple/swift-system.git (0.62s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.83s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.2 (1.13s)
Fetching https://github.com/apple/swift-asn1.git
[1/1983] 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)
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/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-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-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-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.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.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.15.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-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-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-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.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-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.8.2
Creating working copy for https://github.com/cfilipov/texttable.git
Working copy of https://github.com/cfilipov/texttable.git resolved at master (e032892)
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 1581]
[Planning 1317 / 1581]
[Planning deferred tasks]
[Constructing 1147 / 4103]
[Starting]
[234 / 1282]
[248 / 1348] SwiftASN1
[249 / 1348] _NIOBase64
[260 / 1348] CoreMetrics
[271 / 1348] CoreMetrics
[284 / 1348] TextTable
[284 / 1348] CryptoBoringWrapper
[295 / 1348] TextTable-product
[296 / 1348] _NIODataStructures
[299 / 1348] SwiftASN1
[305 / 1349] _NIOBase64
[309 / 1350] _NIOBase64
[319 / 1350] SwiftASN1
[320 / 1351] TextTable
[322 / 1351] TextTable
[325 / 1351] TextTable
[331 / 1351] Logging
[332 / 1351] Logging
[335 / 1351] Logging-product
[346 / 1353] InternalCollectionsUtilities
[349 / 1353] InternalCollectionsUtilities
[351 / 1353] Logging
[356 / 1354] CryptoBoringWrapper
[360 / 1354] Logging
[361 / 1354] CryptoBoringWrapper
[369 / 1358] CoreMetrics
[376 / 1368] OrderedCollections
[385 / 1369] ConcurrencyHelpers
[393 / 1371] OrderedCollections
[397 / 1372] CryptoBoringWrapper
[402 / 1372] ConcurrencyHelpers
[410 / 1380] Metrics
[413 / 1380] UnixSignals
[420 / 1389] Metrics
[423 / 1389] Metrics
[431 / 1390] UnixSignals
[434 / 1391] OrderedCollections
[437 / 1392] Crypto
[438 / 1392] OrderedCollections
[446 / 1392] OrderedCollections
[447 / 1392] CXKCP
[455 / 1404] ContainersPreview
[456 / 1413] Crypto
[468 / 1415] CNIODarwin
[474 / 1415] CNIOBoringSSL
[476 / 1415] CNIOBoringSSL
[484 / 1415] CNIOBoringSSL
[486 / 1415] CNIOBoringSSL
[488 / 1415] CNIOBoringSSL
[491 / 1415] CNIOBoringSSL
[504 / 1415] CNIOBoringSSL
[505 / 1416] CNIOBoringSSL
[508 / 1416] CNIOBoringSSL
[509 / 1416] CNIOBoringSSL
[511 / 1416] CNIOBoringSSL
[513 / 1416] CNIOBoringSSL
[516 / 1416] CNIOBoringSSL
[518 / 1416] CNIOBoringSSL
[519 / 1416] CNIOBoringSSL
[522 / 1416] CNIOBoringSSL
[533 / 1416] CNIOBoringSSL
[534 / 1416] CNIOBoringSSL
[537 / 1416] CNIOBoringSSL
[538 / 1416] CNIOBoringSSL
[541 / 1416] CNIOBoringSSL
[544 / 1416] CNIOBoringSSL
[546 / 1416] CNIOBoringSSL
[549 / 1416] CNIOBoringSSL
[551 / 1416] CNIOBoringSSL
[554 / 1416] CNIOBoringSSL
[559 / 1416] CNIOBoringSSL
[562 / 1416] CNIOBoringSSL
[564 / 1416] CNIOBoringSSL
[565 / 1416] CNIOBoringSSL
[566 / 1416] CNIOBoringSSL
[570 / 1416] CNIOBoringSSL
[571 / 1416] CNIOBoringSSL
[576 / 1416] CNIOBoringSSL
[577 / 1416] CNIOBoringSSL
[578 / 1416] CNIOBoringSSL
[581 / 1416] CNIOBoringSSL
[583 / 1416] CNIOBoringSSL
[588 / 1416] CNIOBoringSSL
[589 / 1416] CNIOBoringSSL
[591 / 1416] CNIOBoringSSL
[592 / 1416] CNIOBoringSSL
[595 / 1416] CNIOBoringSSL
[596 / 1416] CNIOBoringSSL
[598 / 1416] CNIOBoringSSL
[599 / 1416] CNIOBoringSSL
[601 / 1416] 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