Build Information
Failed to build Timeout, reference main (da7999
), with Swift 6.1 for Wasm on 10 Jun 2025 00:31:00 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/swhitty/swift-timeout.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/swhitty/swift-timeout
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at da7999b imports
Cloned https://github.com/swhitty/swift-timeout.git
Revision (git rev-parse @):
da7999b795522b1b57fc45fe947732f35517d4ad
SUCCESS checkout https://github.com/swhitty/swift-timeout.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/swhitty/swift-timeout.git
https://github.com/swhitty/swift-timeout.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "Timeout",
"name" : "Timeout",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "Timeout",
"targets" : [
"Timeout"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "TimeoutTests",
"module_type" : "SwiftTarget",
"name" : "TimeoutTests",
"path" : "Tests",
"sources" : [
"AsyncTimeoutSequenceTests.swift",
"AsyncTimeoutSequenceXCTests.swift",
"MutexTests.swift",
"MutexXCTests.swift",
"Task+SleepIndefinitelyTests.swift",
"withThrowingTimeoutTests.swift",
"withThrowingTimeoutXCTests.swift"
],
"target_dependencies" : [
"Timeout"
],
"type" : "test"
},
{
"c99name" : "Timeout",
"module_type" : "SwiftTarget",
"name" : "Timeout",
"path" : "Sources",
"product_memberships" : [
"Timeout"
],
"sources" : [
"AsyncTimeoutSequence.swift",
"Mutex.swift",
"MutexSwift5.swift",
"Task+SleepIndefinitely.swift",
"TimeoutController.swift",
"Transferring.swift",
"withThrowingTimeout.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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 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/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/10] Compiling Timeout MutexSwift5.swift
[4/10] Compiling Timeout Mutex.swift
/host/spi-builder-workspace/Sources/Mutex.swift:38:18: error: cannot find type 'Storage' in scope
36 | // Backports the Swift 6 type Mutex<Value> to all Darwin platforms
37 | struct Mutex<Value: ~Copyable>: ~Copyable {
38 | let storage: Storage<Value>
| `- error: cannot find type 'Storage' in scope
39 |
40 | init(_ initialValue: consuming sending Value) {
/host/spi-builder-workspace/Sources/Mutex.swift:41:24: error: cannot find 'Storage' in scope
39 |
40 | init(_ initialValue: consuming sending Value) {
41 | self.storage = Storage(initialValue)
| `- error: cannot find 'Storage' in scope
42 | }
43 |
[5/10] Compiling Timeout Task+SleepIndefinitely.swift
/host/spi-builder-workspace/Sources/Mutex.swift:38:18: error: cannot find type 'Storage' in scope
36 | // Backports the Swift 6 type Mutex<Value> to all Darwin platforms
37 | struct Mutex<Value: ~Copyable>: ~Copyable {
38 | let storage: Storage<Value>
| `- error: cannot find type 'Storage' in scope
39 |
40 | init(_ initialValue: consuming sending Value) {
[6/10] Compiling Timeout Transferring.swift
[7/10] Compiling Timeout withThrowingTimeout.swift
[8/10] Compiling Timeout TimeoutController.swift
/host/spi-builder-workspace/Sources/Mutex.swift:38:18: error: cannot find type 'Storage' in scope
36 | // Backports the Swift 6 type Mutex<Value> to all Darwin platforms
37 | struct Mutex<Value: ~Copyable>: ~Copyable {
38 | let storage: Storage<Value>
| `- error: cannot find type 'Storage' in scope
39 |
40 | init(_ initialValue: consuming sending Value) {
[9/10] Compiling Timeout AsyncTimeoutSequence.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/10] Emitting module Timeout
/host/spi-builder-workspace/Sources/Mutex.swift:38:18: error: cannot find type 'Storage' in scope
36 | // Backports the Swift 6 type Mutex<Value> to all Darwin platforms
37 | struct Mutex<Value: ~Copyable>: ~Copyable {
38 | let storage: Storage<Value>
| `- error: cannot find type 'Storage' in scope
39 |
40 | init(_ initialValue: consuming sending Value) {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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 Timeout MutexSwift5.swift
[3/9] Compiling Timeout TimeoutController.swift
/host/spi-builder-workspace/Sources/Mutex.swift:38:18: error: cannot find type 'Storage' in scope
36 | // Backports the Swift 6 type Mutex<Value> to all Darwin platforms
37 | struct Mutex<Value: ~Copyable>: ~Copyable {
38 | let storage: Storage<Value>
| `- error: cannot find type 'Storage' in scope
39 |
40 | init(_ initialValue: consuming sending Value) {
[4/9] Compiling Timeout Mutex.swift
/host/spi-builder-workspace/Sources/Mutex.swift:38:18: error: cannot find type 'Storage' in scope
36 | // Backports the Swift 6 type Mutex<Value> to all Darwin platforms
37 | struct Mutex<Value: ~Copyable>: ~Copyable {
38 | let storage: Storage<Value>
| `- error: cannot find type 'Storage' in scope
39 |
40 | init(_ initialValue: consuming sending Value) {
/host/spi-builder-workspace/Sources/Mutex.swift:41:24: error: cannot find 'Storage' in scope
39 |
40 | init(_ initialValue: consuming sending Value) {
41 | self.storage = Storage(initialValue)
| `- error: cannot find 'Storage' in scope
42 | }
43 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/9] Emitting module Timeout
/host/spi-builder-workspace/Sources/Mutex.swift:38:18: error: cannot find type 'Storage' in scope
36 | // Backports the Swift 6 type Mutex<Value> to all Darwin platforms
37 | struct Mutex<Value: ~Copyable>: ~Copyable {
38 | let storage: Storage<Value>
| `- error: cannot find type 'Storage' in scope
39 |
40 | init(_ initialValue: consuming sending Value) {
[6/9] Compiling Timeout AsyncTimeoutSequence.swift
[7/9] Compiling Timeout Transferring.swift
[8/9] Compiling Timeout withThrowingTimeout.swift
[9/9] Compiling Timeout Task+SleepIndefinitely.swift
/host/spi-builder-workspace/Sources/Mutex.swift:38:18: error: cannot find type 'Storage' in scope
36 | // Backports the Swift 6 type Mutex<Value> to all Darwin platforms
37 | struct Mutex<Value: ~Copyable>: ~Copyable {
38 | let storage: Storage<Value>
| `- error: cannot find type 'Storage' in scope
39 |
40 | init(_ initialValue: consuming sending Value) {
BUILD FAILURE 6.1 wasm