The Swift Package Index logo.Swift Package Index

Build Information

Failed to build TaskSequencer, reference main (bab5b2), with Swift 6.3 for Wasm on 14 Apr 2026 06:26:40 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
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.3
Building package at path:  $PWD
https://github.com/mrtksn/TaskSequencer.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-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: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: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: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: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: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: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: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: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: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: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.3 wasm