The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swiftly, reference main (c8cf2e), with Swift 6.4 for Wasm on 28 Sep 2026 16:04:08 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-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.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/swiftlang/swiftly.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/swiftlang/swiftly
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at c8cf2e3 Add Ubuntu 26.04 and Debian 13 to the PR checks (#585)
Cloned https://github.com/swiftlang/swiftly.git
Revision (git rev-parse @):
c8cf2e35bfca9e7c219d840cb605f81bcf009256
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swiftlang/swiftly.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/swiftlang/swiftly.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-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.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/apple/swift-openapi-runtime
Fetching https://github.com/nicklockwood/SwiftFormat
Fetching https://github.com/apple/swift-system
Fetching https://github.com/swiftlang/swift-subprocess
Fetching https://github.com/apple/swift-openapi-generator
Fetching https://github.com/apple/swift-docc-plugin
[1/2345] Fetching swift-docc-plugin
[25/9303] Fetching swift-docc-plugin, swift-openapi-runtime
[5107/14079] Fetching swift-docc-plugin, swift-openapi-runtime, swift-subprocess
Fetched https://github.com/apple/swift-openapi-runtime (0.62s)
[6357/7121] Fetching swift-docc-plugin, swift-subprocess
Fetching https://github.com/apple/swift-tools-support-core.git
[6884/14107] Fetching swift-docc-plugin, swift-subprocess, swift-system
Fetched https://github.com/apple/swift-docc-plugin (0.63s)
[4586/11762] Fetching swift-subprocess, swift-system
[11763/30198] Fetching swift-subprocess, swift-system, swift-openapi-generator
Fetched https://github.com/swiftlang/swift-subprocess (0.80s)
Fetched https://github.com/apple/swift-system (0.80s)
Fetching https://github.com/swift-server/swift-openapi-async-http-client
Fetching https://github.com/swift-server/async-http-client
[185/18436] Fetching swift-openapi-generator
Fetched https://github.com/apple/swift-openapi-generator (1.06s)
Fetching https://github.com/apple/swift-argument-parser
[1/7405] Fetching swift-tools-support-core
[7406/8055] Fetching swift-tools-support-core, swift-openapi-async-http-client
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/apple/swift-tools-support-core.git (0.68s)
[1/16398] Fetching async-http-client
[1805/35346] Fetching async-http-client, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser (1.12s)
Fetched https://github.com/swift-server/swift-openapi-async-http-client (1.45s)
Fetched https://github.com/swift-server/async-http-client (1.46s)
[1/86202] Fetching swift-nio
[56895/145196] Fetching swift-nio, swiftformat
Fetched https://github.com/apple/swift-nio.git (5.67s)
[11553/58994] Fetching swiftformat
Fetched https://github.com/nicklockwood/SwiftFormat (31.90s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.49.18 (33.70s)
Computing version for https://github.com/swiftlang/swift-subprocess
Computed https://github.com/swiftlang/swift-subprocess at 1.0.0 (0.41s)
Computing version for https://github.com/apple/swift-tools-support-core.git
Computed https://github.com/apple/swift-tools-support-core.git at 0.8.0 (1.95s)
Computing version for https://github.com/swift-server/swift-openapi-async-http-client
Computed https://github.com/swift-server/swift-openapi-async-http-client at 1.5.0 (1.97s)
Fetching https://github.com/apple/swift-http-types
[1/1939] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types (1.02s)
Computing version for https://github.com/apple/swift-openapi-runtime
Computed https://github.com/apple/swift-openapi-runtime at 1.12.1 (2.12s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (1.02s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[39/3832] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.66s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.17s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.30s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.8.0 (0.96s)
Computing version for https://github.com/apple/swift-openapi-generator
Computed https://github.com/apple/swift-openapi-generator at 1.13.1 (1.89s)
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/apple/swift-algorithms
[1/6159] Fetching swift-algorithms
[6160/18020] Fetching swift-algorithms, yams
Fetching https://github.com/mattpolzin/OpenAPIKit
Fetched https://github.com/apple/swift-algorithms (1.15s)
[6761/11861] Fetching yams
Fetched https://github.com/jpsim/Yams (2.69s)
[1/175167] Fetching openapikit
Fetched https://github.com/mattpolzin/OpenAPIKit (7.30s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.1 (8.81s)
Fetching https://github.com/apple/swift-numerics.git
[1/6640] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git (0.72s)
Computing version for https://github.com/mattpolzin/OpenAPIKit
Computed https://github.com/mattpolzin/OpenAPIKit at 6.4.0 (1.01s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.32s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.8.1 (0.44s)
Computing version for https://github.com/swift-server/async-http-client
Computed https://github.com/swift-server/async-http-client at 1.36.2 (0.36s)
Fetching https://github.com/apple/swift-service-context.git
Fetching https://github.com/apple/swift-nio-transport-services.git
[14/1387] Fetching swift-service-context
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-atomics.git
Fetched https://github.com/apple/swift-service-context.git (0.61s)
Fetching https://github.com/apple/swift-nio-http2.git
[29/2867] Fetching swift-nio-transport-services
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/apple/swift-nio-transport-services.git (0.83s)
Fetching https://github.com/apple/swift-nio-ssl.git
[1/6363] Fetching swift-distributed-tracing
[65/13056] Fetching swift-distributed-tracing, swift-nio-extras
[9553/14941] Fetching swift-distributed-tracing, swift-nio-extras, swift-atomics
[14942/23106] Fetching swift-distributed-tracing, swift-nio-extras, swift-atomics, swift-log
[15432/35361] Fetching swift-distributed-tracing, swift-nio-extras, swift-atomics, swift-log, swift-nio-http2
Fetched https://github.com/apple/swift-distributed-tracing.git (0.82s)
[10824/28998] Fetching swift-nio-extras, swift-atomics, swift-log, swift-nio-http2
Fetching https://github.com/apple/swift-configuration.git
Fetched https://github.com/apple/swift-nio-extras.git (0.90s)
Fetched https://github.com/apple/swift-atomics.git (0.90s)
[10862/20420] Fetching swift-log, swift-nio-http2
Fetched https://github.com/apple/swift-log.git (0.78s)
[2942/12255] Fetching swift-nio-http2
[12256/29118] Fetching swift-nio-http2, swift-nio-ssl
[13606/32931] Fetching swift-nio-http2, swift-nio-ssl, swift-configuration
Fetched https://github.com/apple/swift-configuration.git (0.74s)
[16134/29118] Fetching swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-http2.git (1.75s)
[10118/16863] Fetching swift-nio-ssl
Fetched https://github.com/apple/swift-nio-ssl.git (2.23s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.3.0 (3.36s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.5.0 (0.39s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.2.1 (0.47s)
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/swift-server/swift-service-lifecycle
[1/2843] Fetching swift-service-lifecycle
Fetched https://github.com/swift-server/swift-service-lifecycle (0.64s)
[1/27779] Fetching swift-collections
Fetched https://github.com/apple/swift-collections (1.82s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (2.16s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (0.60s)
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.40s)
Computing version for https://github.com/swift-server/swift-service-lifecycle
Computed https://github.com/swift-server/swift-service-lifecycle at 2.12.0 (0.33s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6737] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git (2.70s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (3.08s)
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.42s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.7.1 (0.56s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.46.0 (0.38s)
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.43s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.35.1 (0.58s)
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-asn1.git
[1/7584] Fetching swift-certificates
[7624/9570] Fetching swift-certificates, swift-asn1
[7598/10823] Fetching swift-certificates, swift-asn1, swift-http-structured-headers
Fetched https://github.com/apple/swift-certificates.git (1.13s)
Fetched https://github.com/apple/swift-asn1.git (1.14s)
Fetched https://github.com/apple/swift-http-structured-headers.git (1.16s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.7.0 (1.51s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.39s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.0 (0.41s)
Fetching https://github.com/apple/swift-crypto.git
[1/18573] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git (2.38s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.0.0 (2.86s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 6.2.2 (0.30s)
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.7.1
Creating working copy for https://github.com/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-http-types
Working copy of https://github.com/apple/swift-http-types resolved at 1.8.0
Creating working copy for https://github.com/apple/swift-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-openapi-runtime
Working copy of https://github.com/apple/swift-openapi-runtime resolved at 1.12.1
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 6.2.2
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-tools-support-core.git
Working copy of https://github.com/apple/swift-tools-support-core.git resolved at 0.8.0
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.35.1
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/swiftlang/swift-subprocess
Working copy of https://github.com/swiftlang/swift-subprocess resolved at 1.0.0
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-openapi-async-http-client
Working copy of https://github.com/swift-server/swift-openapi-async-http-client resolved at 1.5.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-openapi-generator
Working copy of https://github.com/apple/swift-openapi-generator resolved at 1.13.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/swift-server/async-http-client
Working copy of https://github.com/swift-server/async-http-client resolved at 1.36.2
Creating working copy for https://github.com/apple/swift-configuration.git
Working copy of https://github.com/apple/swift-configuration.git resolved at 1.2.1
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-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
Working copy of https://github.com/swift-server/swift-service-lifecycle resolved at 2.12.0
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.8.1
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.5.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.0
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.21.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.46.0
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.7.0
Creating working copy for https://github.com/mattpolzin/OpenAPIKit
Working copy of https://github.com/mattpolzin/OpenAPIKit resolved at 6.4.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-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.49.18
warning: 'spi-builder-workspace': you may be able to install libarchive using your system-packager:
    apt-get install libarchive-dev
Building for debugging...
[Computing dependencies]
[Provisioning 1 / 124]
[Constructing description]
[Pre-planning 1 / 2531]
[Planning 1 / 2531]
[Planning 909 / 2531]
[Planning 1165 / 2531]
[Planning 1461 / 2531]
[Planning 1588 / 2531]
[Planning 1753 / 2531]
[Planning 2092 / 2531]
[Planning 2348 / 2531]
[Planning 2515 / 2531]
[Planning deferred tasks]
[Constructing 1 / 5800]
[Constructing 665 / 5800]
[Constructing 3895 / 5800]
[Starting]
[1 / 1241]
[113 / 1241] SwiftlyWebsiteAPI
[300 / 1241] CNIOOpenBSD
[383 / 1245] TSCLibc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-subprocess/Sources/_SubprocessCShims/process_shims.c:23:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-subprocess/Sources/_SubprocessCShims/include/process_shims.h:20:
/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/include/wasm32-wasip1/sys/resource.h:2:2: error: WASI lacks process-associated clocks; to enable emulation of the `getrusage` function using the wall clock, which isn't sensitive to whether the program is running or suspended, compile with -D_WASI_EMULATED_PROCESS_CLOCKS and link with -lwasi-emulated-process-clocks
    2 | #error WASI lacks process-associated clocks; to enable emulation of the `getrusage` function using \
      |  ^
/host/spi-builder-workspace/.build/checkouts/swift-subprocess/Sources/_SubprocessCShims/process_shims.c:31:10: fatal error: 'grp.h' file not found
   31 | #include <grp.h>
      |          ^~~~~~~
2 errors generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-subprocess.build/Debug-webassembly-wasm32/_SubprocessCShims-t.build/Objects-normal/wasm32/process_shims.o /host/spi-builder-workspace/.build/checkouts/swift-subprocess/Sources/_SubprocessCShims/process_shims.c 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-subprocess.build/Debug-webassembly-wasm32/_SubprocessCShims-t.build/Objects-normal/wasm32/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-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-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 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -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-subprocess.build/Debug-webassembly-wasm32/_SubprocessCShims-t.build/Objects-normal/wasm32/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-subprocess.build/Debug-webassembly-wasm32/_SubprocessCShims-t.build/Objects-normal/wasm32/process_shims.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-subprocess.build/Debug-webassembly-wasm32/_SubprocessCShims-t.build/Objects-normal/wasm32/process_shims.dia -c /host/spi-builder-workspace/.build/checkouts/swift-subprocess/Sources/_SubprocessCShims/process_shims.c -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-subprocess.build/Debug-webassembly-wasm32/_SubprocessCShims-t.build/Objects-normal/wasm32/process_shims.o
error: Build failed
BUILD FAILURE 6.4 wasm