Build Information
Failed to build RuntimeAssertions, reference 2.1.0 (d3394b
), with Swift 6.1 for Wasm on 31 May 2025 05:41:56 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Reference: 2.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/StanfordBDHG/XCTRuntimeAssertions
* tag 2.1.0 -> FETCH_HEAD
HEAD is now at d3394b8 negative assertions (#21)
Cloned https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Revision (git rev-parse @):
d3394b8c432f4e3d30cdf14cb5892695e923b06d
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/StanfordBDHG/XCTRuntimeAssertions.git at 2.1.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "RuntimeAssertions",
"name" : "RuntimeAssertions",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "visionos",
"version" : "1.0"
},
{
"name" : "watchos",
"version" : "9.0"
},
{
"name" : "tvos",
"version" : "16.0"
},
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "RuntimeAssertions",
"targets" : [
"RuntimeAssertions"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "RuntimeAssertionsTesting",
"targets" : [
"RuntimeAssertionsTesting"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "XCTRuntimeAssertions",
"targets" : [
"XCTRuntimeAssertions"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "XCTRuntimeAssertionsTests",
"module_type" : "SwiftTarget",
"name" : "XCTRuntimeAssertionsTests",
"path" : "Tests/XCTRuntimeAssertionsTests",
"sources" : [
"XCTRuntimeAssertionsTests.swift",
"XCTRuntimePreconditionsTests.swift"
],
"target_dependencies" : [
"XCTRuntimeAssertions"
],
"type" : "test"
},
{
"c99name" : "XCTRuntimeAssertions",
"module_type" : "SwiftTarget",
"name" : "XCTRuntimeAssertions",
"path" : "Sources/XCTRuntimeAssertions",
"product_memberships" : [
"XCTRuntimeAssertions"
],
"sources" : [
"Deprecations.swift",
"XCTRuntimeAssertion.swift",
"XCTRuntimePrecondition.swift"
],
"target_dependencies" : [
"RuntimeAssertions"
],
"type" : "library"
},
{
"c99name" : "RuntimeAssertionsTests",
"module_type" : "SwiftTarget",
"name" : "RuntimeAssertionsTests",
"path" : "Tests/RuntimeAssertionsTests",
"sources" : [
"RuntimeAssertionsTests.swift",
"RuntimePreconditionsTests.swift"
],
"target_dependencies" : [
"RuntimeAssertions",
"RuntimeAssertionsTesting"
],
"type" : "test"
},
{
"c99name" : "RuntimeAssertionsTesting",
"module_type" : "SwiftTarget",
"name" : "RuntimeAssertionsTesting",
"path" : "Sources/RuntimeAssertionsTesting",
"product_memberships" : [
"RuntimeAssertionsTesting"
],
"sources" : [
"RuntimeAssertion.swift",
"RuntimePrecondition.swift"
],
"target_dependencies" : [
"RuntimeAssertions"
],
"type" : "library"
},
{
"c99name" : "RuntimeAssertions",
"module_type" : "SwiftTarget",
"name" : "RuntimeAssertions",
"path" : "Sources/RuntimeAssertions",
"product_memberships" : [
"RuntimeAssertions",
"RuntimeAssertionsTesting",
"XCTRuntimeAssertions"
],
"sources" : [
"Assert.swift",
"Counter.swift",
"DebugOnly.swift",
"NeverReturn.swift",
"Precondition.swift",
"RuntimeAssertion.swift",
"RuntimeAssertionInjection.swift",
"RuntimePrecondition.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/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 finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/12] Compiling RuntimeAssertions Assert.swift
[6/12] Emitting module RuntimeAssertions
/host/spi-builder-workspace/Sources/RuntimeAssertions/NeverReturn.swift:16:25: error: value of type 'RunLoop' has no member 'run'
14 | // This is unfortunate but as far as I can see the only feasible way to return Never without calling a runtime crashing function, e.g. `fatalError()`.
15 | repeat {
16 | RunLoop.current.run()
| `- error: value of type 'RunLoop' has no member 'run'
17 | } while (true)
18 | }
[7/13] Compiling RuntimeAssertions RuntimeAssertion.swift
[8/13] Compiling RuntimeAssertions RuntimeAssertionInjection.swift
[9/13] Compiling RuntimeAssertions DebugOnly.swift
[10/13] Compiling RuntimeAssertions Counter.swift
[11/13] Compiling RuntimeAssertions Precondition.swift
[12/13] Compiling RuntimeAssertions NeverReturn.swift
/host/spi-builder-workspace/Sources/RuntimeAssertions/NeverReturn.swift:16:25: error: value of type 'RunLoop' has no member 'run'
14 | // This is unfortunate but as far as I can see the only feasible way to return Never without calling a runtime crashing function, e.g. `fatalError()`.
15 | repeat {
16 | RunLoop.current.run()
| `- error: value of type 'RunLoop' has no member 'run'
17 | } while (true)
18 | }
[13/13] Compiling RuntimeAssertions RuntimePrecondition.swift
/host/spi-builder-workspace/Sources/RuntimeAssertions/RuntimePrecondition.swift:31:25: error: cannot find 'DispatchQueue' in scope
29 |
30 | // We have to run the operation on a `DispatchQueue` as we have to call `RunLoop.current.run()` in the `preconditionFailure` call.
31 | let dispatchQueue = DispatchQueue(label: "RuntimePrecondition-\(injection.id)")
| `- error: cannot find 'DispatchQueue' in scope
32 |
33 | let expressionWorkItem = DispatchWorkItem {
/host/spi-builder-workspace/Sources/RuntimeAssertions/RuntimePrecondition.swift:33:30: error: cannot find 'DispatchWorkItem' in scope
31 | let dispatchQueue = DispatchQueue(label: "RuntimePrecondition-\(injection.id)")
32 |
33 | let expressionWorkItem = DispatchWorkItem {
| `- error: cannot find 'DispatchWorkItem' in scope
34 | injection.withInjection(expression)
35 | }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/9] Compiling RuntimeAssertions DebugOnly.swift
[3/9] Compiling RuntimeAssertions Assert.swift
[4/9] Compiling RuntimeAssertions Counter.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/10] Emitting module RuntimeAssertions
/host/spi-builder-workspace/Sources/RuntimeAssertions/NeverReturn.swift:16:25: error: value of type 'RunLoop' has no member 'run'
14 | // This is unfortunate but as far as I can see the only feasible way to return Never without calling a runtime crashing function, e.g. `fatalError()`.
15 | repeat {
16 | RunLoop.current.run()
| `- error: value of type 'RunLoop' has no member 'run'
17 | } while (true)
18 | }
[6/10] Compiling RuntimeAssertions RuntimeAssertion.swift
[7/10] Compiling RuntimeAssertions NeverReturn.swift
/host/spi-builder-workspace/Sources/RuntimeAssertions/NeverReturn.swift:16:25: error: value of type 'RunLoop' has no member 'run'
14 | // This is unfortunate but as far as I can see the only feasible way to return Never without calling a runtime crashing function, e.g. `fatalError()`.
15 | repeat {
16 | RunLoop.current.run()
| `- error: value of type 'RunLoop' has no member 'run'
17 | } while (true)
18 | }
[8/10] Compiling RuntimeAssertions Precondition.swift
[9/10] Compiling RuntimeAssertions RuntimeAssertionInjection.swift
[10/10] Compiling RuntimeAssertions RuntimePrecondition.swift
/host/spi-builder-workspace/Sources/RuntimeAssertions/RuntimePrecondition.swift:31:25: error: cannot find 'DispatchQueue' in scope
29 |
30 | // We have to run the operation on a `DispatchQueue` as we have to call `RunLoop.current.run()` in the `preconditionFailure` call.
31 | let dispatchQueue = DispatchQueue(label: "RuntimePrecondition-\(injection.id)")
| `- error: cannot find 'DispatchQueue' in scope
32 |
33 | let expressionWorkItem = DispatchWorkItem {
/host/spi-builder-workspace/Sources/RuntimeAssertions/RuntimePrecondition.swift:33:30: error: cannot find 'DispatchWorkItem' in scope
31 | let dispatchQueue = DispatchQueue(label: "RuntimePrecondition-\(injection.id)")
32 |
33 | let expressionWorkItem = DispatchWorkItem {
| `- error: cannot find 'DispatchWorkItem' in scope
34 | injection.withInjection(expression)
35 | }
BUILD FAILURE 6.1 wasm