The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftAge, reference main (bc9670), with Swift 6.4 for Wasm on 19 Sep 2026 19:20:56 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344847-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/joshjacob/SwiftAge.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/joshjacob/SwiftAge
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at bc96704 Merge pull request #8 from joshjacob/feature/loggingAndErrors
Cloned https://github.com/joshjacob/SwiftAge.git
Revision (git rev-parse @):
bc96704343ff8025a89528f63a260186ec720d4c
SUCCESS checkout https://github.com/joshjacob/SwiftAge.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/joshjacob/SwiftAge.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-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/joshjacob/antlr4
[1/134531] Fetching antlr4
Fetched https://github.com/joshjacob/antlr4 (2.62s)
Fetching https://github.com/vapor/postgres-nio.git
[1/15428] Fetching postgres-nio
Fetched https://github.com/vapor/postgres-nio.git (1.54s)
Computing version for https://github.com/vapor/postgres-nio.git
Computed https://github.com/vapor/postgres-nio.git at 1.33.1 (1.75s)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-crypto.git
[1/8096] Fetching swift-log
[2/24161] Fetching swift-log, swift-nio-ssl
[8981/42710] Fetching swift-log, swift-nio-ssl, swift-crypto
[9062/45553] Fetching swift-log, swift-nio-ssl, swift-crypto, swift-service-lifecycle
[10958/49061] Fetching swift-log, swift-nio-ssl, swift-crypto, swift-service-lifecycle, swift-metrics
[36635/135134] Fetching swift-log, swift-nio-ssl, swift-crypto, swift-service-lifecycle, swift-metrics, swift-nio
Fetched https://github.com/swift-server/swift-service-lifecycle.git (1.05s)
Fetched https://github.com/apple/swift-metrics.git (1.05s)
[61647/128783] Fetching swift-log, swift-nio-ssl, swift-crypto, swift-nio
Fetched https://github.com/apple/swift-log.git (1.06s)
Fetching https://github.com/apple/swift-collections.git
[54411/120687] Fetching swift-nio-ssl, swift-crypto, swift-nio
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetched https://github.com/apple/swift-nio-ssl.git (1.07s)
[40068/104622] Fetching swift-crypto, swift-nio
Fetched https://github.com/apple/swift-crypto.git (1.27s)
[52505/86073] Fetching swift-nio
[59392/88936] Fetching swift-nio, swift-nio-transport-services
[63891/90811] Fetching swift-nio, swift-nio-transport-services, swift-atomics
Fetched https://github.com/apple/swift-nio-transport-services.git (0.50s)
[65570/87948] Fetching swift-nio, swift-atomics
[68153/115300] Fetching swift-nio, swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git (1.13s)
Fetched https://github.com/apple/swift-collections.git (1.15s)
Fetched https://github.com/apple/swift-nio.git (3.00s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (3.16s)
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 (1.12s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (1.32s)
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.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.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/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.89s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.2 (1.12s)
Fetching https://github.com/apple/swift-asn1.git
[1/1983] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.97s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (1.19s)
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.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-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-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-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-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-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.6.0
Creating working copy for https://github.com/joshjacob/antlr4
Working copy of https://github.com/joshjacob/antlr4 resolved at dev (f6dc2ec)
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-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-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/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.12.0
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 1522]
[Planning 1409 / 1522]
[Planning deferred tasks]
[Constructing 1257 / 3971]
[Starting]
[234 / 1270] CoreMetrics
[242 / 1317] SwiftASN1
[243 / 1317] _NIOBase64
[246 / 1317] _NIOBase64
[255 / 1317] Logging
[261 / 1317] InternalCollectionsUtilities
[268 / 1317] InternalCollectionsUtilities
[279 / 1317] SwiftASN1
[289 / 1317] SwiftASN1
[290 / 1317] SwiftASN1
[292 / 1317] SwiftASN1-product
[298 / 1319] _NIODataStructures
[302 / 1319] NIOConcurrencyHelpers
[304 / 1319] NIOConcurrencyHelpers
[305 / 1319] NIOConcurrencyHelpers-product
[309 / 1319] Logging
[312 / 1319] Logging-product
[317 / 1320] InternalCollectionsUtilities
[321 / 1321] SwiftASN1
[328 / 1321] InternalCollectionsUtilities
[330 / 1322] InternalCollectionsUtilities
[335 / 1322] Logging
[340 / 1322] CoreMetrics
[351 / 1326] CNIOWindows
[369 / 1326] CNIOBoringSSL
[376 / 1328] InternalCollectionsUtilities
[379 / 1329] CNIOBoringSSL
[384 / 1329] CNIOBoringSSL
[385 / 1330] CNIOBoringSSL
[395 / 1330] CNIOBoringSSL
[399 / 1330] CNIOBoringSSL
[405 / 1330] CNIOBoringSSL
[408 / 1330] CNIOBoringSSL
[413 / 1330] CNIOBoringSSL
[415 / 1330] CNIOBoringSSL
[424 / 1330] CNIOBoringSSL
[425 / 1330] CNIOBoringSSL
[428 / 1330] CNIOBoringSSL
[429 / 1330] CNIOBoringSSL
[432 / 1330] CNIOBoringSSL
[434 / 1330] CNIOBoringSSL
[437 / 1330] CNIOBoringSSL
[440 / 1330] CNIOBoringSSL
[442 / 1330] CNIOBoringSSL
[445 / 1330] CNIOBoringSSL
[449 / 1330] CNIOBoringSSL
[450 / 1330] CNIOBoringSSL
[455 / 1330] CNIOBoringSSL
[456 / 1330] CNIOBoringSSL
[458 / 1330] CNIOBoringSSL
[462 / 1330] CNIOBoringSSL
[466 / 1330] CNIOBoringSSL
[468 / 1330] CNIOBoringSSL
[471 / 1330] CNIOBoringSSL
[472 / 1330] CNIOBoringSSL
[474 / 1330] CNIOBoringSSL
[477 / 1330] CNIOBoringSSL
[479 / 1330] CNIOBoringSSL
[481 / 1330] CNIOBoringSSL
[483 / 1330] CNIOBoringSSL
[484 / 1330] CNIOBoringSSL
[486 / 1330] CNIOBoringSSL
[488 / 1330] CNIOBoringSSL
[491 / 1330] CNIOBoringSSL
[493 / 1330] CNIOBoringSSL
[495 / 1330] 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