Build Information
Failed to build TaskSequencer, reference main (bab5b2
), with Swift 6.1 for Wasm on 29 May 2025 03:38:59 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/mrtksn/TaskSequencer.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/mrtksn/TaskSequencer
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at bab5b21 Create LICENSE
Cloned https://github.com/mrtksn/TaskSequencer.git
Revision (git rev-parse @):
bab5b214f6f0e87d69b0085fa3a46e2fa6680a34
SUCCESS checkout https://github.com/mrtksn/TaskSequencer.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/mrtksn/TaskSequencer.git
https://github.com/mrtksn/TaskSequencer.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "TaskSequencer",
"name" : "TaskSequencer",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "tvos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "TaskSequencer",
"targets" : [
"TaskSequencer"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "TaskSequencerTests",
"module_type" : "SwiftTarget",
"name" : "TaskSequencerTests",
"path" : "Tests/TaskSequencerTests",
"sources" : [
"TaskSequencerTests.swift"
],
"target_dependencies" : [
"TaskSequencer"
],
"type" : "test"
},
{
"c99name" : "TaskSequencer",
"module_type" : "SwiftTarget",
"name" : "TaskSequencer",
"path" : "Sources/TaskSequencer",
"product_memberships" : [
"TaskSequencer"
],
"sources" : [
"TaskSequencer.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module TaskSequencer
/host/spi-builder-workspace/Sources/TaskSequencer/TaskSequencer.swift:21:26: error: method does not override any method from its superclass
19 | }
20 |
21 | public override func main() {
| `- error: method does not override any method from its superclass
22 | if isCancelled { return }
23 | Thread.sleep(forTimeInterval: delay)
/host/spi-builder-workspace/Sources/TaskSequencer/TaskSequencer.swift:9:32: error: cannot find type 'Operation' in scope
7 | import Foundation
8 |
9 | public class DelayedOperation: Operation {
| `- error: cannot find type 'Operation' in scope
10 | var task: () -> Void
11 | var delay: TimeInterval
/host/spi-builder-workspace/Sources/TaskSequencer/TaskSequencer.swift:39:26: error: method does not override any method from its superclass
37 | }
38 |
39 | public override func main() {
| `- error: method does not override any method from its superclass
40 | guard !isCancelled else { return }
41 |
/host/spi-builder-workspace/Sources/TaskSequencer/TaskSequencer.swift:27:37: error: cannot find type 'Operation' in scope
25 | }
26 | }
27 | public class AsyncDelayedOperation: Operation {
| `- error: cannot find type 'Operation' in scope
28 | var task: () async -> Void
29 | var delay: TimeInterval
/host/spi-builder-workspace/Sources/TaskSequencer/TaskSequencer.swift:67:25: error: cannot find 'OperationQueue' in scope
65 |
66 | public class TaskSequencer {
67 | private let queue = OperationQueue()
| `- error: cannot find 'OperationQueue' in scope
68 | private var operations = [String: DelayedOperation]()
69 |
[4/4] Compiling TaskSequencer TaskSequencer.swift
/host/spi-builder-workspace/Sources/TaskSequencer/TaskSequencer.swift:21:26: error: method does not override any method from its superclass
19 | }
20 |
21 | public override func main() {
| `- error: method does not override any method from its superclass
22 | if isCancelled { return }
23 | Thread.sleep(forTimeInterval: delay)
/host/spi-builder-workspace/Sources/TaskSequencer/TaskSequencer.swift:9:32: error: cannot find type 'Operation' in scope
7 | import Foundation
8 |
9 | public class DelayedOperation: Operation {
| `- error: cannot find type 'Operation' in scope
10 | var task: () -> Void
11 | var delay: TimeInterval
/host/spi-builder-workspace/Sources/TaskSequencer/TaskSequencer.swift:39:26: error: method does not override any method from its superclass
37 | }
38 |
39 | public override func main() {
| `- error: method does not override any method from its superclass
40 | guard !isCancelled else { return }
41 |
/host/spi-builder-workspace/Sources/TaskSequencer/TaskSequencer.swift:27:37: error: cannot find type 'Operation' in scope
25 | }
26 | }
27 | public class AsyncDelayedOperation: Operation {
| `- error: cannot find type 'Operation' in scope
28 | var task: () async -> Void
29 | var delay: TimeInterval
/host/spi-builder-workspace/Sources/TaskSequencer/TaskSequencer.swift:67:25: error: cannot find 'OperationQueue' in scope
65 |
66 | public class TaskSequencer {
67 | private let queue = OperationQueue()
| `- error: cannot find 'OperationQueue' in scope
68 | private var operations = [String: DelayedOperation]()
69 |
/host/spi-builder-workspace/Sources/TaskSequencer/TaskSequencer.swift:18:9: error: 'super' cannot be used in class 'DelayedOperation' because it has no superclass
16 | self.delay = delay
17 | self.task = task
18 | super.init()
| `- error: 'super' cannot be used in class 'DelayedOperation' because it has no superclass
19 | }
20 |
/host/spi-builder-workspace/Sources/TaskSequencer/TaskSequencer.swift:22:12: error: cannot find 'isCancelled' in scope
20 |
21 | public override func main() {
22 | if isCancelled { return }
| `- error: cannot find 'isCancelled' in scope
23 | Thread.sleep(forTimeInterval: delay)
24 | task()
/host/spi-builder-workspace/Sources/TaskSequencer/TaskSequencer.swift:23:9: error: cannot find 'Thread' in scope
21 | public override func main() {
22 | if isCancelled { return }
23 | Thread.sleep(forTimeInterval: delay)
| `- error: cannot find 'Thread' in scope
24 | task()
25 | }
/host/spi-builder-workspace/Sources/TaskSequencer/TaskSequencer.swift:36:9: error: 'super' cannot be used in class 'AsyncDelayedOperation' because it has no superclass
34 | self.delay = delay
35 | self.task = task
36 | super.init()
| `- error: 'super' cannot be used in class 'AsyncDelayedOperation' because it has no superclass
37 | }
38 |
/host/spi-builder-workspace/Sources/TaskSequencer/TaskSequencer.swift:40:16: error: cannot find 'isCancelled' in scope
38 |
39 | public override func main() {
40 | guard !isCancelled else { return }
| `- error: cannot find 'isCancelled' in scope
41 |
42 | let taskGroup = DispatchGroup()
/host/spi-builder-workspace/Sources/TaskSequencer/TaskSequencer.swift:42:25: error: cannot find 'DispatchGroup' in scope
40 | guard !isCancelled else { return }
41 |
42 | let taskGroup = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
43 | taskGroup.enter()
44 |
/host/spi-builder-workspace/Sources/TaskSequencer/TaskSequencer.swift:50:20: error: cannot find 'isCancelled' in scope
48 |
49 | // Execute the async task
50 | guard !isCancelled else {
| `- error: cannot find 'isCancelled' in scope
51 | taskGroup.leave()
52 | return
/host/spi-builder-workspace/Sources/TaskSequencer/TaskSequencer.swift:95:29: error: value of type 'DelayedOperation' has no member 'addDependency'
93 |
94 | // Ensuring the actual task runs after the delay
95 | actualTaskOperation.addDependency(delayOperation)
| `- error: value of type 'DelayedOperation' has no member 'addDependency'
96 |
97 | // Add both operations to the queue
/host/spi-builder-workspace/Sources/TaskSequencer/TaskSequencer.swift:115:29: error: value of type 'AsyncDelayedOperation' has no member 'addDependency'
113 |
114 | // Ensuring the actual task runs after the delay
115 | actualTaskOperation.addDependency(delayOperation)
| `- error: value of type 'AsyncDelayedOperation' has no member 'addDependency'
116 |
117 | // Add both operations to the queue
/host/spi-builder-workspace/Sources/TaskSequencer/TaskSequencer.swift:125:25: error: value of type 'DelayedOperation' has no member 'cancel'
123 | /// - Parameter id: the id of the task to remove
124 | public func removeTaskByID(id: String) {
125 | operations[id]?.cancel()
| `- error: value of type 'DelayedOperation' has no member 'cancel'
126 | operations.removeValue(forKey: id)
127 | }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] Emitting module TaskSequencer
/host/spi-builder-workspace/Sources/TaskSequencer/TaskSequencer.swift:21:26: error: method does not override any method from its superclass
19 | }
20 |
21 | public override func main() {
| `- error: method does not override any method from its superclass
22 | if isCancelled { return }
23 | Thread.sleep(forTimeInterval: delay)
/host/spi-builder-workspace/Sources/TaskSequencer/TaskSequencer.swift:9:32: error: cannot find type 'Operation' in scope
7 | import Foundation
8 |
9 | public class DelayedOperation: Operation {
| `- error: cannot find type 'Operation' in scope
10 | var task: () -> Void
11 | var delay: TimeInterval
/host/spi-builder-workspace/Sources/TaskSequencer/TaskSequencer.swift:39:26: error: method does not override any method from its superclass
37 | }
38 |
39 | public override func main() {
| `- error: method does not override any method from its superclass
40 | guard !isCancelled else { return }
41 |
/host/spi-builder-workspace/Sources/TaskSequencer/TaskSequencer.swift:27:37: error: cannot find type 'Operation' in scope
25 | }
26 | }
27 | public class AsyncDelayedOperation: Operation {
| `- error: cannot find type 'Operation' in scope
28 | var task: () async -> Void
29 | var delay: TimeInterval
/host/spi-builder-workspace/Sources/TaskSequencer/TaskSequencer.swift:67:25: error: cannot find 'OperationQueue' in scope
65 |
66 | public class TaskSequencer {
67 | private let queue = OperationQueue()
| `- error: cannot find 'OperationQueue' in scope
68 | private var operations = [String: DelayedOperation]()
69 |
[3/3] Compiling TaskSequencer TaskSequencer.swift
/host/spi-builder-workspace/Sources/TaskSequencer/TaskSequencer.swift:21:26: error: method does not override any method from its superclass
19 | }
20 |
21 | public override func main() {
| `- error: method does not override any method from its superclass
22 | if isCancelled { return }
23 | Thread.sleep(forTimeInterval: delay)
/host/spi-builder-workspace/Sources/TaskSequencer/TaskSequencer.swift:9:32: error: cannot find type 'Operation' in scope
7 | import Foundation
8 |
9 | public class DelayedOperation: Operation {
| `- error: cannot find type 'Operation' in scope
10 | var task: () -> Void
11 | var delay: TimeInterval
/host/spi-builder-workspace/Sources/TaskSequencer/TaskSequencer.swift:39:26: error: method does not override any method from its superclass
37 | }
38 |
39 | public override func main() {
| `- error: method does not override any method from its superclass
40 | guard !isCancelled else { return }
41 |
/host/spi-builder-workspace/Sources/TaskSequencer/TaskSequencer.swift:27:37: error: cannot find type 'Operation' in scope
25 | }
26 | }
27 | public class AsyncDelayedOperation: Operation {
| `- error: cannot find type 'Operation' in scope
28 | var task: () async -> Void
29 | var delay: TimeInterval
/host/spi-builder-workspace/Sources/TaskSequencer/TaskSequencer.swift:67:25: error: cannot find 'OperationQueue' in scope
65 |
66 | public class TaskSequencer {
67 | private let queue = OperationQueue()
| `- error: cannot find 'OperationQueue' in scope
68 | private var operations = [String: DelayedOperation]()
69 |
/host/spi-builder-workspace/Sources/TaskSequencer/TaskSequencer.swift:18:9: error: 'super' cannot be used in class 'DelayedOperation' because it has no superclass
16 | self.delay = delay
17 | self.task = task
18 | super.init()
| `- error: 'super' cannot be used in class 'DelayedOperation' because it has no superclass
19 | }
20 |
/host/spi-builder-workspace/Sources/TaskSequencer/TaskSequencer.swift:22:12: error: cannot find 'isCancelled' in scope
20 |
21 | public override func main() {
22 | if isCancelled { return }
| `- error: cannot find 'isCancelled' in scope
23 | Thread.sleep(forTimeInterval: delay)
24 | task()
/host/spi-builder-workspace/Sources/TaskSequencer/TaskSequencer.swift:23:9: error: cannot find 'Thread' in scope
21 | public override func main() {
22 | if isCancelled { return }
23 | Thread.sleep(forTimeInterval: delay)
| `- error: cannot find 'Thread' in scope
24 | task()
25 | }
/host/spi-builder-workspace/Sources/TaskSequencer/TaskSequencer.swift:36:9: error: 'super' cannot be used in class 'AsyncDelayedOperation' because it has no superclass
34 | self.delay = delay
35 | self.task = task
36 | super.init()
| `- error: 'super' cannot be used in class 'AsyncDelayedOperation' because it has no superclass
37 | }
38 |
/host/spi-builder-workspace/Sources/TaskSequencer/TaskSequencer.swift:40:16: error: cannot find 'isCancelled' in scope
38 |
39 | public override func main() {
40 | guard !isCancelled else { return }
| `- error: cannot find 'isCancelled' in scope
41 |
42 | let taskGroup = DispatchGroup()
/host/spi-builder-workspace/Sources/TaskSequencer/TaskSequencer.swift:42:25: error: cannot find 'DispatchGroup' in scope
40 | guard !isCancelled else { return }
41 |
42 | let taskGroup = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
43 | taskGroup.enter()
44 |
/host/spi-builder-workspace/Sources/TaskSequencer/TaskSequencer.swift:50:20: error: cannot find 'isCancelled' in scope
48 |
49 | // Execute the async task
50 | guard !isCancelled else {
| `- error: cannot find 'isCancelled' in scope
51 | taskGroup.leave()
52 | return
/host/spi-builder-workspace/Sources/TaskSequencer/TaskSequencer.swift:95:29: error: value of type 'DelayedOperation' has no member 'addDependency'
93 |
94 | // Ensuring the actual task runs after the delay
95 | actualTaskOperation.addDependency(delayOperation)
| `- error: value of type 'DelayedOperation' has no member 'addDependency'
96 |
97 | // Add both operations to the queue
/host/spi-builder-workspace/Sources/TaskSequencer/TaskSequencer.swift:115:29: error: value of type 'AsyncDelayedOperation' has no member 'addDependency'
113 |
114 | // Ensuring the actual task runs after the delay
115 | actualTaskOperation.addDependency(delayOperation)
| `- error: value of type 'AsyncDelayedOperation' has no member 'addDependency'
116 |
117 | // Add both operations to the queue
/host/spi-builder-workspace/Sources/TaskSequencer/TaskSequencer.swift:125:25: error: value of type 'DelayedOperation' has no member 'cancel'
123 | /// - Parameter id: the id of the task to remove
124 | public func removeTaskByID(id: String) {
125 | operations[id]?.cancel()
| `- error: value of type 'DelayedOperation' has no member 'cancel'
126 | operations.removeValue(forKey: id)
127 | }
BUILD FAILURE 6.1 wasm