Build Information
Failed to build swiftly, reference main (34f95f), with Swift 6.4 for Wasm on 22 Nov 2026 02:36:56 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.0-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
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 34f95fb Disable assembly language in BoringSSL (#613)
Cloned https://github.com/swiftlang/swiftly.git
Revision (git rev-parse @):
34f95fb63e3de77e2be15b2b945d18f753f56c67
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-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.0-RELEASE_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:d7b72fae8894fba3c2632fd7068ea480e9b111160d8dd7b4d9df5fbcfe7a40ee
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/nicklockwood/SwiftFormat
Fetching https://github.com/apple/swift-openapi-generator
Fetching https://github.com/apple/swift-system
Fetching https://github.com/apple/swift-openapi-runtime
Fetching https://github.com/apple/swift-docc-plugin
[1/2381] Fetching swift-docc-plugin
[240/9713] Fetching swift-docc-plugin, swift-openapi-runtime
[6635/17332] Fetching swift-docc-plugin, swift-openapi-runtime, swift-system
Fetched https://github.com/apple/swift-docc-plugin (0.51s)
[7119/14951] Fetching swift-openapi-runtime, swift-system
Fetching https://github.com/apple/swift-tools-support-core.git
[14876/34113] Fetching swift-openapi-runtime, swift-system, swift-openapi-generator
Fetching https://github.com/swiftlang/swift-subprocess
Fetched https://github.com/apple/swift-system (0.66s)
[13464/26494] Fetching swift-openapi-runtime, swift-openapi-generator
Fetching https://github.com/apple/swift-nio.git
[24579/94041] Fetching swift-openapi-runtime, swift-openapi-generator, swiftformat
[31899/101490] Fetching swift-openapi-runtime, swift-openapi-generator, swiftformat, swift-tools-support-core
[39348/106605] Fetching swift-openapi-runtime, swift-openapi-generator, swiftformat, swift-tools-support-core, swift-subprocess
Fetched https://github.com/apple/swift-tools-support-core.git (0.56s)
[31950/99156] Fetching swift-openapi-runtime, swift-openapi-generator, swiftformat, swift-subprocess
Fetching https://github.com/swift-server/async-http-client
Fetched https://github.com/swiftlang/swift-subprocess (0.58s)
Fetching https://github.com/swift-server/swift-openapi-async-http-client
[33925/94041] Fetching swift-openapi-runtime, swift-openapi-generator, swiftformat
[35277/94690] Fetching swift-openapi-runtime, swift-openapi-generator, swiftformat, swift-openapi-async-http-client
Fetched https://github.com/swift-server/swift-openapi-async-http-client (0.35s)
Fetching https://github.com/apple/swift-argument-parser
[36627/94041] Fetching swift-openapi-runtime, swift-openapi-generator, swiftformat
[36628/180991] Fetching swift-openapi-runtime, swift-openapi-generator, swiftformat, swift-nio
[42814/197726] Fetching swift-openapi-runtime, swift-openapi-generator, swiftformat, swift-nio, async-http-client
[104074/217168] Fetching swift-openapi-runtime, swift-openapi-generator, swiftformat, swift-nio, async-http-client, swift-argument-parser
Fetched https://github.com/swift-server/async-http-client (1.31s)
[126203/200433] Fetching swift-openapi-runtime, swift-openapi-generator, swiftformat, swift-nio, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser (0.88s)
[108500/180991] Fetching swift-openapi-runtime, swift-openapi-generator, swiftformat, swift-nio
Fetched https://github.com/apple/swift-nio.git (3.58s)
[46759/94041] Fetching swift-openapi-runtime, swift-openapi-generator, swiftformat
Fetched https://github.com/apple/swift-openapi-runtime (18.52s)
Fetched https://github.com/apple/swift-openapi-generator (18.52s)
Fetched https://github.com/nicklockwood/SwiftFormat (18.79s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.49.18 (19.66s)
Computing version for https://github.com/swiftlang/swift-subprocess
Computed https://github.com/swiftlang/swift-subprocess at 1.0.0 (0.14s)
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 (0.91s)
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 (0.88s)
Fetching https://github.com/apple/swift-http-types
[1/1990] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types (0.43s)
Computing version for https://github.com/apple/swift-openapi-runtime
Computed https://github.com/apple/swift-openapi-runtime at 1.13.4 (0.58s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.8.0 (0.16s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (0.16s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3867] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.55s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.76s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.14s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.9.0 (0.16s)
Computing version for https://github.com/apple/swift-openapi-generator
Computed https://github.com/apple/swift-openapi-generator at 1.14.4 (0.20s)
Fetching https://github.com/mattpolzin/OpenAPIKit
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/apple/swift-algorithms
[1/6188] Fetching swift-algorithms
[4704/18098] Fetching swift-algorithms, yams
Fetched https://github.com/apple/swift-algorithms (0.94s)
Fetched https://github.com/jpsim/Yams (0.95s)
[1/186435] Fetching openapikit
Fetched https://github.com/mattpolzin/OpenAPIKit (5.92s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.1 (6.08s)
Fetching https://github.com/apple/swift-numerics.git
[1/6862] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git (0.89s)
Computing version for https://github.com/mattpolzin/OpenAPIKit
Computed https://github.com/mattpolzin/OpenAPIKit at 6.4.0 (1.05s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.14s)
Computing version for https://github.com/swift-server/async-http-client
Computed https://github.com/swift-server/async-http-client at 1.37.0 (0.16s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-configuration.git
Fetching https://github.com/apple/swift-service-context.git
Fetching https://github.com/apple/swift-nio-extras.git
[1/1552] Fetching swift-service-context
[126/10096] Fetching swift-service-context, swift-log
[3348/14342] Fetching swift-service-context, swift-log, swift-configuration
[4545/21132] Fetching swift-service-context, swift-log, swift-configuration, swift-nio-extras
[5228/27857] Fetching swift-service-context, swift-log, swift-configuration, swift-nio-extras, swift-distributed-tracing
Fetched https://github.com/apple/swift-service-context.git (0.55s)
Fetched https://github.com/apple/swift-nio-extras.git (0.55s)
Fetched https://github.com/apple/swift-configuration.git (0.55s)
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-http2.git
[1/1936] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git (0.77s)
Fetched https://github.com/apple/swift-log.git (0.77s)
Fetched https://github.com/apple/swift-distributed-tracing.git (0.77s)
[1/16966] Fetching swift-nio-ssl
[2/19847] Fetching swift-nio-ssl, swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git (0.50s)
[1359/29404] Fetching swift-nio-ssl, swift-nio-http2
Fetched https://github.com/apple/swift-nio-http2.git (1.19s)
Fetched https://github.com/apple/swift-nio-ssl.git (1.19s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.89s)
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.14s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.5.1 (0.13s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.7.4 (0.14s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.105.0 (0.24s)
Fetching https://github.com/apple/swift-collections.git
[1/30430] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.20s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.5.0 (1.41s)
Fetching https://github.com/swift-server/swift-service-lifecycle
[1/2898] Fetching swift-service-lifecycle
Fetched https://github.com/swift-server/swift-service-lifecycle (0.53s)
Computing version for https://github.com/swift-server/swift-service-lifecycle
Computed https://github.com/swift-server/swift-service-lifecycle at 2.13.0 (0.68s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6925] 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 (0.84s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.6 (0.22s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.17.2 (0.14s)
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.15s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.6 (0.17s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.35.2 (0.25s)
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/1284] Fetching swift-http-structured-headers
[721/3366] Fetching swift-http-structured-headers, swift-asn1
[3367/11055] Fetching swift-http-structured-headers, swift-asn1, swift-certificates
Fetched https://github.com/apple/swift-http-structured-headers.git (0.59s)
Fetched https://github.com/apple/swift-asn1.git (0.59s)
Fetched https://github.com/apple/swift-certificates.git (0.59s)
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 (0.74s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.4 (0.17s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.1 (0.19s)
Fetching https://github.com/apple/swift-crypto.git
[1/18987] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git (1.16s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.1.2 (1.39s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 6.2.2 (0.12s)
Creating working copy for https://github.com/apple/swift-openapi-runtime
Working copy of https://github.com/apple/swift-openapi-runtime resolved at 1.13.4
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-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.21.1
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.5.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.7.4
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/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-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-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/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.37.6
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-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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.17.2
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.37.0
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-openapi-generator
Working copy of https://github.com/apple/swift-openapi-generator resolved at 1.14.4
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.13.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-configuration.git
Working copy of https://github.com/apple/swift-configuration.git resolved at 1.5.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.7.6
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-system
Working copy of https://github.com/apple/swift-system resolved at 1.9.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.7
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.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.105.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.4
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/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/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 5.1.2
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/mattpolzin/OpenAPIKit
Working copy of https://github.com/mattpolzin/OpenAPIKit resolved at 6.4.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/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]
[Constructing description]
[Pre-planning 1 / 2562]
[Planning 977 / 2562]
[Planning 1667 / 2562]
[Planning 1732 / 2562]
[Planning 2198 / 2562]
[Planning 2375 / 2562]
[Planning deferred tasks]
[Constructing 684 / 5888]
[Starting]
[260 / 1260] NIOCore
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:
[1m/root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/sys/resource.h:2:2: [0m[0;1;31merror: [0m[1mWASI 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[0m
2 | #error WASI lacks process-associated clocks; to enable emulation of the `getrusage` function using \[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/.build/checkouts/swift-subprocess/Sources/_SubprocessCShims/process_shims.c:31:10: [0m[0;1;31mfatal error: [0m[1m'grp.h' file not found[0m
31 | #include <grp.h>[0m
| [0;1;32m ^~~~~~~
[0m2 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.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_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