Build Information
Failed to build ChaosTesting, reference v1.1.0 (acf622), with Swift 6.1 for Wasm on 17 Oct 2026 08:54:52 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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/elegantchaos/ChaosTesting.git
Reference: v1.1.0
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/elegantchaos/ChaosTesting
* tag v1.1.0 -> FETCH_HEAD
HEAD is now at acf6222 Merge pull request #1 from elegantchaos/feature/scratch-directory
Cloned https://github.com/elegantchaos/ChaosTesting.git
Revision (git rev-parse @):
acf62226583bf35d94537730087a25f95ca8d296
SUCCESS checkout https://github.com/elegantchaos/ChaosTesting.git at v1.1.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/elegantchaos/ChaosTesting.git
https://github.com/elegantchaos/ChaosTesting.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
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.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:8209621f35c5a12749e7df75bbcb99eccb508d0196da99f6ac3bcf5f4827df31
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/8] Compiling ChaosTesting WaitUntil.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[4/8] Emitting module ChaosTesting
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/ChaosTesting/TestScratchDirectory.swift:23:42: warning: 'getpid()' is deprecated: WASI lacks process identifiers; to enable emulation of the `getpid` function using a placeholder value, which doesn't reflect the host PID of the program, compile with -D_WASI_EMULATED_GETPID and link with -lwasi-emulated-getpid
21 | let parent = URL.temporaryDirectory.appending(path: name, directoryHint: .isDirectory)
22 | removeAbandonedFolders(in: parent)
23 | let root = parent.appending(path: "\(getpid())", directoryHint: .isDirectory)
| `- warning: 'getpid()' is deprecated: WASI lacks process identifiers; to enable emulation of the `getpid` function using a placeholder value, which doesn't reflect the host PID of the program, compile with -D_WASI_EMULATED_GETPID and link with -lwasi-emulated-getpid
24 | try? FileManager.default.createDirectory(at: root, withIntermediateDirectories: true)
25 | atexit {
[5/8] Compiling ChaosTesting TestScratchDirectory.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/ChaosTesting/TestScratchDirectory.swift:23:42: warning: 'getpid()' is deprecated: WASI lacks process identifiers; to enable emulation of the `getpid` function using a placeholder value, which doesn't reflect the host PID of the program, compile with -D_WASI_EMULATED_GETPID and link with -lwasi-emulated-getpid
21 | let parent = URL.temporaryDirectory.appending(path: name, directoryHint: .isDirectory)
22 | removeAbandonedFolders(in: parent)
23 | let root = parent.appending(path: "\(getpid())", directoryHint: .isDirectory)
| `- warning: 'getpid()' is deprecated: WASI lacks process identifiers; to enable emulation of the `getpid` function using a placeholder value, which doesn't reflect the host PID of the program, compile with -D_WASI_EMULATED_GETPID and link with -lwasi-emulated-getpid
24 | try? FileManager.default.createDirectory(at: root, withIntermediateDirectories: true)
25 | atexit {
/host/spi-builder-workspace/Sources/ChaosTesting/TestScratchDirectory.swift:49:5: error: cannot find 'kill' in scope
47 | /// Whether a process with this identifier is still running.
48 | private static func isRunning(_ pid: pid_t) -> Bool {
49 | kill(pid, 0) == 0 || errno != ESRCH
| `- error: cannot find 'kill' in scope
50 | }
51 | }
[6/8] Compiling ChaosTesting TestingSupport.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[7/8] Compiling ChaosTesting URL+SystemPaths.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[8/8] Compiling ChaosTesting TestSettings.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:8209621f35c5a12749e7df75bbcb99eccb508d0196da99f6ac3bcf5f4827df31
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/7] Compiling ChaosTesting TestScratchDirectory.swift
/host/spi-builder-workspace/Sources/ChaosTesting/TestScratchDirectory.swift:23:42: warning: 'getpid()' is deprecated: WASI lacks process identifiers; to enable emulation of the `getpid` function using a placeholder value, which doesn't reflect the host PID of the program, compile with -D_WASI_EMULATED_GETPID and link with -lwasi-emulated-getpid
21 | let parent = URL.temporaryDirectory.appending(path: name, directoryHint: .isDirectory)
22 | removeAbandonedFolders(in: parent)
23 | let root = parent.appending(path: "\(getpid())", directoryHint: .isDirectory)
| `- warning: 'getpid()' is deprecated: WASI lacks process identifiers; to enable emulation of the `getpid` function using a placeholder value, which doesn't reflect the host PID of the program, compile with -D_WASI_EMULATED_GETPID and link with -lwasi-emulated-getpid
24 | try? FileManager.default.createDirectory(at: root, withIntermediateDirectories: true)
25 | atexit {
/host/spi-builder-workspace/Sources/ChaosTesting/TestScratchDirectory.swift:49:5: error: cannot find 'kill' in scope
47 | /// Whether a process with this identifier is still running.
48 | private static func isRunning(_ pid: pid_t) -> Bool {
49 | kill(pid, 0) == 0 || errno != ESRCH
| `- error: cannot find 'kill' in scope
50 | }
51 | }
[3/7] Compiling ChaosTesting WaitUntil.swift
[4/7] Compiling ChaosTesting URL+SystemPaths.swift
[5/7] Emitting module ChaosTesting
/host/spi-builder-workspace/Sources/ChaosTesting/TestScratchDirectory.swift:23:42: warning: 'getpid()' is deprecated: WASI lacks process identifiers; to enable emulation of the `getpid` function using a placeholder value, which doesn't reflect the host PID of the program, compile with -D_WASI_EMULATED_GETPID and link with -lwasi-emulated-getpid
21 | let parent = URL.temporaryDirectory.appending(path: name, directoryHint: .isDirectory)
22 | removeAbandonedFolders(in: parent)
23 | let root = parent.appending(path: "\(getpid())", directoryHint: .isDirectory)
| `- warning: 'getpid()' is deprecated: WASI lacks process identifiers; to enable emulation of the `getpid` function using a placeholder value, which doesn't reflect the host PID of the program, compile with -D_WASI_EMULATED_GETPID and link with -lwasi-emulated-getpid
24 | try? FileManager.default.createDirectory(at: root, withIntermediateDirectories: true)
25 | atexit {
[6/7] Compiling ChaosTesting TestSettings.swift
[7/7] Compiling ChaosTesting TestingSupport.swift
BUILD FAILURE 6.1 wasm