Build Information
Failed to build ChaosTesting, reference v1.1.0 (acf622), with Swift 6.3 for Wasm on 17 Oct 2026 08:50:27 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344849-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.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 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.3
Building package at path: $PWD
https://github.com/elegantchaos/ChaosTesting.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344849-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.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:11aa8e4a9dbcd813ae44128d01e945c51d260b4dfda77b6bb7d997d0cc236164
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/8] Compiling ChaosTesting URL+SystemPaths.swift
[4/8] Compiling ChaosTesting WaitUntil.swift
[5/8] Compiling ChaosTesting TestingSupport.swift
[6/8] 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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
24 | try? FileManager.default.createDirectory(at: root, withIntermediateDirectories: true)
25 | atexit {
/host/spi-builder-workspace/Sources/ChaosTesting/TestSettings.swift:30:59: warning: conformance of 'TestSettings' to protocol 'Sendable' is already unavailable
28 | ///
29 | /// Tests that need any of that should use ``persistentSuite(prefix:)`` instead.
30 | public final class TestSettings: UserDefaults, @unchecked Sendable {
| | `- warning: conformance of 'TestSettings' to protocol 'Sendable' is already unavailable
| `- note: 'TestSettings' inherits conformance to protocol 'Sendable' from superclass here
31 | /// The suite every instance is nominally attached to. Nothing is ever written to it.
32 | public static let suiteName = "ChaosTesting.TestSettings"
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[7/8] Compiling ChaosTesting TestSettings.swift
/host/spi-builder-workspace/Sources/ChaosTesting/TestSettings.swift:30:59: warning: conformance of 'TestSettings' to protocol 'Sendable' is already unavailable
28 | ///
29 | /// Tests that need any of that should use ``persistentSuite(prefix:)`` instead.
30 | public final class TestSettings: UserDefaults, @unchecked Sendable {
| | `- warning: conformance of 'TestSettings' to protocol 'Sendable' is already unavailable
| `- note: 'TestSettings' inherits conformance to protocol 'Sendable' from superclass here
31 | /// The suite every instance is nominally attached to. Nothing is ever written to it.
32 | public static let suiteName = "ChaosTesting.TestSettings"
[8/8] 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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
BUILD FAILURE 6.3 wasm