The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build swift-async-operations, reference main (21bac5), with Swift 6.2 for Wasm on 17 Oct 2025 03:12:46 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mtj0928/swift-async-operations.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/mtj0928/swift-async-operations
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 21bac5f Merge pull request #11 from mtj0928/update-readme
Cloned https://github.com/mtj0928/swift-async-operations.git
Revision (git rev-parse @):
21bac5f70f74ef4fbe4c8aaa13b27e99e2331436
SUCCESS checkout https://github.com/mtj0928/swift-async-operations.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/mtj0928/swift-async-operations.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f6b6b9bdb5d5605d727da337418fc455cd8a0394d3a815b70631008c48829755
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/embedded-swift-sdk.json
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 AsyncOperations
/host/spi-builder-workspace/Sources/AsyncOperations/AsyncSequence/AsyncSequence+AsyncForEach.swift:1:11: error: cannot find type 'AsyncSequence' in scope
 1 | extension AsyncSequence where Element: Sendable {
   |           `- error: cannot find type 'AsyncSequence' in scope
 2 |     /// An async function of `forEach`.
 3 |     ///
/host/spi-builder-workspace/Sources/AsyncOperations/Sequence/InternalForEach.swift:3:22: error: cannot find type 'ThrowingTaskGroup' in scope
 1 | extension Sequence where Element: Sendable {
 2 |     func internalForEach<T: Sendable>(
 3 |         group: inout ThrowingTaskGroup<(T, Int), any Error>,
   |                      `- error: cannot find type 'ThrowingTaskGroup' in scope
 4 |         numberOfConcurrentTasks: UInt,
 5 |         priority: TaskPriority?,
/host/spi-builder-workspace/Sources/AsyncOperations/Sequence/InternalForEach.swift:5:19: error: cannot find type 'TaskPriority' in scope
 3 |         group: inout ThrowingTaskGroup<(T, Int), any Error>,
 4 |         numberOfConcurrentTasks: UInt,
 5 |         priority: TaskPriority?,
   |                   `- error: cannot find type 'TaskPriority' in scope
 6 |         taskOperation: @escaping @Sendable (Element) async throws -> T,
 7 |         nextOperation: (T) -> ()
/host/spi-builder-workspace/Sources/AsyncOperations/Sequence/InternalForEach.swift:33:9: error: missing protocol 'AsyncSequence'
31 |         }
32 |
33 |         for try await (value, index) in group {
   |         `- error: missing protocol 'AsyncSequence'
34 |             results[index] = value
35 |             doNextOperationIfNeeded()
/host/spi-builder-workspace/Sources/AsyncOperations/Sequence/Sequence+AsyncAllSatisfy.swift:10:19: error: cannot find type 'TaskPriority' in scope
 8 |     public func asyncAllSatisfy(
 9 |         numberOfConcurrentTasks: UInt = numberOfConcurrentTasks,
10 |         priority: TaskPriority? = nil,
   |                   `- error: cannot find type 'TaskPriority' in scope
11 |         _ predicate: @escaping @Sendable (Element) async throws -> Bool
12 |     ) async rethrows -> Bool {
/host/spi-builder-workspace/Sources/AsyncOperations/Sequence/Sequence+AsyncAllSatisfy.swift:13:19: error: cannot find 'withThrowingTaskGroup' in scope
11 |         _ predicate: @escaping @Sendable (Element) async throws -> Bool
12 |     ) async rethrows -> Bool {
13 |         try await withThrowingTaskGroup(of: Bool.self) { group in
   |                   `- error: cannot find 'withThrowingTaskGroup' in scope
14 |             for (index, element) in self.enumerated() {
15 |                 if index >= numberOfConcurrentTasks {
/host/spi-builder-workspace/Sources/AsyncOperations/Sequence/Sequence+AsyncCompactMap.swift:10:19: error: cannot find type 'TaskPriority' in scope
 8 |     public func asyncCompactMap<T: Sendable>(
 9 |         numberOfConcurrentTasks: UInt = numberOfConcurrentTasks,
10 |         priority: TaskPriority? = nil,
   |                   `- error: cannot find type 'TaskPriority' in scope
11 |         _ transform: @escaping @Sendable (Element) async throws -> T?
12 |     ) async rethrows -> [T] {
/host/spi-builder-workspace/Sources/AsyncOperations/Sequence/Sequence+AsyncCompactMap.swift:13:19: error: cannot find 'withThrowingTaskGroup' in scope
11 |         _ transform: @escaping @Sendable (Element) async throws -> T?
12 |     ) async rethrows -> [T] {
13 |         try await withThrowingTaskGroup(of: (T?, Int).self) { group in
   |                   `- error: cannot find 'withThrowingTaskGroup' in scope
14 |             var values: [T] = []
15 |
/host/spi-builder-workspace/Sources/AsyncOperations/Sequence/Sequence+AsyncContains.swift:10:19: error: cannot find type 'TaskPriority' in scope
 8 |     public func asyncContains(
 9 |         numberOfConcurrentTasks: UInt = numberOfConcurrentTasks,
10 |         priority: TaskPriority? = nil,
   |                   `- error: cannot find type 'TaskPriority' in scope
11 |         where predicate: @escaping @Sendable (Element) async throws -> Bool
12 |     ) async rethrows -> Bool {
/host/spi-builder-workspace/Sources/AsyncOperations/Sequence/Sequence+AsyncContains.swift:13:19: error: cannot find 'withThrowingTaskGroup' in scope
11 |         where predicate: @escaping @Sendable (Element) async throws -> Bool
12 |     ) async rethrows -> Bool {
13 |         try await withThrowingTaskGroup(of: Bool.self) { group in
   |                   `- error: cannot find 'withThrowingTaskGroup' in scope
14 |             for (index, element) in self.enumerated() {
15 |                 if index >= numberOfConcurrentTasks {
/host/spi-builder-workspace/Sources/AsyncOperations/Sequence/Sequence+AsyncFilter.swift:10:19: error: cannot find type 'TaskPriority' in scope
 8 |     public func asyncFilter(
 9 |         numberOfConcurrentTasks: UInt = numberOfConcurrentTasks,
10 |         priority: TaskPriority? = nil,
   |                   `- error: cannot find type 'TaskPriority' in scope
11 |         _ isIncluded: @escaping @Sendable (Element) async throws -> Bool
12 |     ) async rethrows -> [Element] {
/host/spi-builder-workspace/Sources/AsyncOperations/Sequence/Sequence+AsyncFilter.swift:13:19: error: cannot find 'withThrowingTaskGroup' in scope
11 |         _ isIncluded: @escaping @Sendable (Element) async throws -> Bool
12 |     ) async rethrows -> [Element] {
13 |         try await withThrowingTaskGroup(of: (Element?, Int).self) { group in
   |                   `- error: cannot find 'withThrowingTaskGroup' in scope
14 |             var values: [Element] = []
15 |
/host/spi-builder-workspace/Sources/AsyncOperations/Sequence/Sequence+AsyncFirst.swift:12:19: error: cannot find type 'TaskPriority' in scope
10 |     public func asyncFirst(
11 |         numberOfConcurrentTasks: UInt = numberOfConcurrentTasks,
12 |         priority: TaskPriority? = nil,
   |                   `- error: cannot find type 'TaskPriority' in scope
13 |         where predicate: @escaping @Sendable (Element) async throws -> Bool
14 |     ) async rethrows -> Element? {
/host/spi-builder-workspace/Sources/AsyncOperations/withThrowingOrderedTaskGroup.swift:27:30: error: cannot find type 'Actor' in scope
 25 |     of childTaskResultType: ChildTaskResult.Type,
 26 |     returning returnType: GroupResult.Type = GroupResult.self,
 27 |     isolation: isolated (any Actor)? = #isolation,
    |                              `- error: cannot find type 'Actor' in scope
 28 |     body: (inout ThrowingOrderedTaskGroup<ChildTaskResult, any Error>) async throws -> GroupResult
 29 | ) async rethrows -> GroupResult {
/host/spi-builder-workspace/Sources/AsyncOperations/Sequence/Sequence+AsyncFlatMap.swift:10:19: error: cannot find type 'TaskPriority' in scope
 8 |     public func asyncFlatMap<T: Sendable>(
 9 |         numberOfConcurrentTasks: UInt = numberOfConcurrentTasks,
10 |         priority: TaskPriority? = nil,
   |                   `- error: cannot find type 'TaskPriority' in scope
11 |         _ transform: @escaping @Sendable (Element) async throws -> [T]
12 |     ) async rethrows -> [T] {
/host/spi-builder-workspace/Sources/AsyncOperations/Sequence/Sequence+AsyncFlatMap.swift:13:19: error: cannot find 'withThrowingTaskGroup' in scope
11 |         _ transform: @escaping @Sendable (Element) async throws -> [T]
12 |     ) async rethrows -> [T] {
13 |         try await withThrowingTaskGroup(of: ([T], Int).self) { group in
   |                   `- error: cannot find 'withThrowingTaskGroup' in scope
14 |             var values: [T] = []
15 |
/host/spi-builder-workspace/Sources/AsyncOperations/Sequence/Sequence+AsyncForEach.swift:9:19: error: cannot find type 'TaskPriority' in scope
 7 |     public func asyncForEach(
 8 |         numberOfConcurrentTasks: UInt = numberOfConcurrentTasks,
 9 |         priority: TaskPriority? = nil,
   |                   `- error: cannot find type 'TaskPriority' in scope
10 |         _ body: @escaping @Sendable (Element) async throws -> Void
11 |     ) async rethrows {
/host/spi-builder-workspace/Sources/AsyncOperations/Sequence/Sequence+AsyncForEach.swift:12:19: error: cannot find 'withThrowingTaskGroup' in scope
10 |         _ body: @escaping @Sendable (Element) async throws -> Void
11 |     ) async rethrows {
12 |         try await withThrowingTaskGroup(of: (Void, Int).self) { group in
   |                   `- error: cannot find 'withThrowingTaskGroup' in scope
13 |             try await internalForEach(
14 |                 group: &group,
/host/spi-builder-workspace/Sources/AsyncOperations/Sequence/Sequence+AsyncMap.swift:10:19: error: cannot find type 'TaskPriority' in scope
 8 |     public func asyncMap<T: Sendable>(
 9 |         numberOfConcurrentTasks: UInt = numberOfConcurrentTasks,
10 |         priority: TaskPriority? = nil,
   |                   `- error: cannot find type 'TaskPriority' in scope
11 |         _ transform: @escaping @Sendable (Element) async throws -> T
12 |     ) async rethrows -> [T] {
/host/spi-builder-workspace/Sources/AsyncOperations/Sequence/Sequence+AsyncMap.swift:13:19: error: cannot find 'withThrowingTaskGroup' in scope
11 |         _ transform: @escaping @Sendable (Element) async throws -> T
12 |     ) async rethrows -> [T] {
13 |         try await withThrowingTaskGroup(of: (T, Int).self) { group in
   |                   `- error: cannot find 'withThrowingTaskGroup' in scope
14 |             var values: [T] = []
15 |
/host/spi-builder-workspace/Sources/AsyncOperations/withOrderedTaskGroup.swift:24:30: error: cannot find type 'Actor' in scope
22 |     of childTaskResultType: ChildTaskResult.Type,
23 |     returning returnType: GroupResult.Type = GroupResult.self,
24 |     isolation: isolated (any Actor)? = #isolation,
   |                              `- error: cannot find type 'Actor' in scope
25 |     body: (inout OrderedTaskGroup<ChildTaskResult>) async -> GroupResult
26 | ) async -> GroupResult {
/host/spi-builder-workspace/Sources/AsyncOperations/withOrderedTaskGroup.swift:34:32: error: cannot find type 'TaskGroup' in scope
32 |
33 | public struct OrderedTaskGroup<ChildTaskResult: Sendable> {
34 |     private var internalGroup: TaskGroup<(Index, ChildTaskResult)>
   |                                `- error: cannot find type 'TaskGroup' in scope
35 |     private var addedTaskIndex: Index = 0
36 |     private var nextIndex: Index = 0
/host/spi-builder-workspace/Sources/AsyncOperations/withOrderedTaskGroup.swift:39:39: error: cannot find type 'TaskGroup' in scope
37 |     private var unreturnedResults: [Index: ChildTaskResult] = [:]
38 |
39 |     fileprivate init(_ internalGroup: TaskGroup<(Index, ChildTaskResult)>) {
   |                                       `- error: cannot find type 'TaskGroup' in scope
40 |         self.internalGroup = internalGroup
41 |     }
/host/spi-builder-workspace/Sources/AsyncOperations/withOrderedTaskGroup.swift:44:19: error: cannot find type 'TaskPriority' in scope
42 |
43 |     public mutating func addTask(
44 |         priority: TaskPriority? = nil,
   |                   `- error: cannot find type 'TaskPriority' in scope
45 |         operation: sending @escaping @isolated(any) () async -> ChildTaskResult
46 |     ) {
/host/spi-builder-workspace/Sources/AsyncOperations/withOrderedTaskGroup.swift:64:29: error: cannot find type 'AsyncSequence' in scope
62 | }
63 |
64 | extension OrderedTaskGroup: AsyncSequence, AsyncIteratorProtocol {
   |                             `- error: cannot find type 'AsyncSequence' in scope
65 |     public typealias Element = ChildTaskResult
66 |     public typealias Failure = Never
/host/spi-builder-workspace/Sources/AsyncOperations/withOrderedTaskGroup.swift:64:44: error: cannot find type 'AsyncIteratorProtocol' in scope
62 | }
63 |
64 | extension OrderedTaskGroup: AsyncSequence, AsyncIteratorProtocol {
   |                                            `- error: cannot find type 'AsyncIteratorProtocol' in scope
65 |     public typealias Element = ChildTaskResult
66 |     public typealias Failure = Never
/host/spi-builder-workspace/Sources/AsyncOperations/withOrderedTaskGroup.swift:27:11: error: cannot find 'withTaskGroup' in scope
25 |     body: (inout OrderedTaskGroup<ChildTaskResult>) async -> GroupResult
26 | ) async -> GroupResult {
27 |     await withTaskGroup(of: (Index, ChildTaskResult).self, returning: returnType) { group in
   |           `- error: cannot find 'withTaskGroup' in scope
28 |         var orderedTaskGroup = OrderedTaskGroup<ChildTaskResult>(group)
29 |         return await body(&orderedTaskGroup)
/host/spi-builder-workspace/Sources/AsyncOperations/withThrowingOrderedTaskGroup.swift:40:32: error: cannot find type 'ThrowingTaskGroup' in scope
 38 |
 39 | public struct ThrowingOrderedTaskGroup<ChildTaskResult: Sendable, Failure: Error> {
 40 |     private var internalGroup: ThrowingTaskGroup<(Index, ChildTaskResult), Failure>
    |                                `- error: cannot find type 'ThrowingTaskGroup' in scope
 41 |     private var addedTaskIndex: Index = 0
 42 |     private var nextIndex: Index = 0
/host/spi-builder-workspace/Sources/AsyncOperations/withThrowingOrderedTaskGroup.swift:45:27: error: cannot find type 'ThrowingTaskGroup' in scope
 43 |     private var unreturnedResults: [Index: Result<ChildTaskResult, Failure>] = [:]
 44 |
 45 |     init(_ internalGroup: ThrowingTaskGroup<(Index, ChildTaskResult), Failure>) {
    |                           `- error: cannot find type 'ThrowingTaskGroup' in scope
 46 |         self.internalGroup = internalGroup
 47 |     }
/host/spi-builder-workspace/Sources/AsyncOperations/withThrowingOrderedTaskGroup.swift:50:19: error: cannot find type 'TaskPriority' in scope
 48 |
 49 |     public mutating func addTask(
 50 |         priority: TaskPriority? = nil,
    |                   `- error: cannot find type 'TaskPriority' in scope
 51 |         operation: sending @escaping @isolated(any) () async throws(Failure) -> ChildTaskResult
 52 |     ) {
/host/spi-builder-workspace/Sources/AsyncOperations/withThrowingOrderedTaskGroup.swift:78:37: error: cannot find type 'AsyncSequence' in scope
 76 | }
 77 |
 78 | extension ThrowingOrderedTaskGroup: AsyncSequence, AsyncIteratorProtocol where Failure: Error {
    |                                     `- error: cannot find type 'AsyncSequence' in scope
 79 |     public typealias Element = ChildTaskResult
 80 |
/host/spi-builder-workspace/Sources/AsyncOperations/withThrowingOrderedTaskGroup.swift:78:52: error: cannot find type 'AsyncIteratorProtocol' in scope
 76 | }
 77 |
 78 | extension ThrowingOrderedTaskGroup: AsyncSequence, AsyncIteratorProtocol where Failure: Error {
    |                                                    `- error: cannot find type 'AsyncIteratorProtocol' in scope
 79 |     public typealias Element = ChildTaskResult
 80 |
/host/spi-builder-workspace/Sources/AsyncOperations/withThrowingOrderedTaskGroup.swift:30:15: error: cannot find 'withThrowingTaskGroup' in scope
 28 |     body: (inout ThrowingOrderedTaskGroup<ChildTaskResult, any Error>) async throws -> GroupResult
 29 | ) async rethrows -> GroupResult {
 30 |     try await withThrowingTaskGroup(
    |               `- error: cannot find 'withThrowingTaskGroup' in scope
 31 |         of: (Index, ChildTaskResult).self,
 32 |         returning: GroupResult.self
[4/4] Compiling AsyncOperations AsyncSequence+AsyncForEach.swift
/host/spi-builder-workspace/Sources/AsyncOperations/AsyncSequence/AsyncSequence+AsyncForEach.swift:1:11: error: cannot find type 'AsyncSequence' in scope
 1 | extension AsyncSequence where Element: Sendable {
   |           `- error: cannot find type 'AsyncSequence' in scope
 2 |     /// An async function of `forEach`.
 3 |     ///
/host/spi-builder-workspace/Sources/AsyncOperations/Sequence/InternalForEach.swift:3:22: error: cannot find type 'ThrowingTaskGroup' in scope
 1 | extension Sequence where Element: Sendable {
 2 |     func internalForEach<T: Sendable>(
 3 |         group: inout ThrowingTaskGroup<(T, Int), any Error>,
   |                      `- error: cannot find type 'ThrowingTaskGroup' in scope
 4 |         numberOfConcurrentTasks: UInt,
 5 |         priority: TaskPriority?,
/host/spi-builder-workspace/Sources/AsyncOperations/Sequence/InternalForEach.swift:5:19: error: cannot find type 'TaskPriority' in scope
 3 |         group: inout ThrowingTaskGroup<(T, Int), any Error>,
 4 |         numberOfConcurrentTasks: UInt,
 5 |         priority: TaskPriority?,
   |                   `- error: cannot find type 'TaskPriority' in scope
 6 |         taskOperation: @escaping @Sendable (Element) async throws -> T,
 7 |         nextOperation: (T) -> ()
/host/spi-builder-workspace/Sources/AsyncOperations/Sequence/InternalForEach.swift:33:9: error: missing protocol 'AsyncSequence'
31 |         }
32 |
33 |         for try await (value, index) in group {
   |         `- error: missing protocol 'AsyncSequence'
34 |             results[index] = value
35 |             doNextOperationIfNeeded()
/host/spi-builder-workspace/Sources/AsyncOperations/Sequence/Sequence+AsyncAllSatisfy.swift:10:19: error: cannot find type 'TaskPriority' in scope
 8 |     public func asyncAllSatisfy(
 9 |         numberOfConcurrentTasks: UInt = numberOfConcurrentTasks,
10 |         priority: TaskPriority? = nil,
   |                   `- error: cannot find type 'TaskPriority' in scope
11 |         _ predicate: @escaping @Sendable (Element) async throws -> Bool
12 |     ) async rethrows -> Bool {
/host/spi-builder-workspace/Sources/AsyncOperations/Sequence/Sequence+AsyncAllSatisfy.swift:13:19: error: cannot find 'withThrowingTaskGroup' in scope
11 |         _ predicate: @escaping @Sendable (Element) async throws -> Bool
12 |     ) async rethrows -> Bool {
13 |         try await withThrowingTaskGroup(of: Bool.self) { group in
   |                   `- error: cannot find 'withThrowingTaskGroup' in scope
14 |             for (index, element) in self.enumerated() {
15 |                 if index >= numberOfConcurrentTasks {
/host/spi-builder-workspace/Sources/AsyncOperations/Sequence/Sequence+AsyncCompactMap.swift:10:19: error: cannot find type 'TaskPriority' in scope
 8 |     public func asyncCompactMap<T: Sendable>(
 9 |         numberOfConcurrentTasks: UInt = numberOfConcurrentTasks,
10 |         priority: TaskPriority? = nil,
   |                   `- error: cannot find type 'TaskPriority' in scope
11 |         _ transform: @escaping @Sendable (Element) async throws -> T?
12 |     ) async rethrows -> [T] {
/host/spi-builder-workspace/Sources/AsyncOperations/Sequence/Sequence+AsyncCompactMap.swift:13:19: error: cannot find 'withThrowingTaskGroup' in scope
11 |         _ transform: @escaping @Sendable (Element) async throws -> T?
12 |     ) async rethrows -> [T] {
13 |         try await withThrowingTaskGroup(of: (T?, Int).self) { group in
   |                   `- error: cannot find 'withThrowingTaskGroup' in scope
14 |             var values: [T] = []
15 |
/host/spi-builder-workspace/Sources/AsyncOperations/Sequence/Sequence+AsyncContains.swift:10:19: error: cannot find type 'TaskPriority' in scope
 8 |     public func asyncContains(
 9 |         numberOfConcurrentTasks: UInt = numberOfConcurrentTasks,
10 |         priority: TaskPriority? = nil,
   |                   `- error: cannot find type 'TaskPriority' in scope
11 |         where predicate: @escaping @Sendable (Element) async throws -> Bool
12 |     ) async rethrows -> Bool {
/host/spi-builder-workspace/Sources/AsyncOperations/Sequence/Sequence+AsyncContains.swift:13:19: error: cannot find 'withThrowingTaskGroup' in scope
11 |         where predicate: @escaping @Sendable (Element) async throws -> Bool
12 |     ) async rethrows -> Bool {
13 |         try await withThrowingTaskGroup(of: Bool.self) { group in
   |                   `- error: cannot find 'withThrowingTaskGroup' in scope
14 |             for (index, element) in self.enumerated() {
15 |                 if index >= numberOfConcurrentTasks {
/host/spi-builder-workspace/Sources/AsyncOperations/Sequence/Sequence+AsyncFilter.swift:10:19: error: cannot find type 'TaskPriority' in scope
 8 |     public func asyncFilter(
 9 |         numberOfConcurrentTasks: UInt = numberOfConcurrentTasks,
10 |         priority: TaskPriority? = nil,
   |                   `- error: cannot find type 'TaskPriority' in scope
11 |         _ isIncluded: @escaping @Sendable (Element) async throws -> Bool
12 |     ) async rethrows -> [Element] {
/host/spi-builder-workspace/Sources/AsyncOperations/Sequence/Sequence+AsyncFilter.swift:13:19: error: cannot find 'withThrowingTaskGroup' in scope
11 |         _ isIncluded: @escaping @Sendable (Element) async throws -> Bool
12 |     ) async rethrows -> [Element] {
13 |         try await withThrowingTaskGroup(of: (Element?, Int).self) { group in
   |                   `- error: cannot find 'withThrowingTaskGroup' in scope
14 |             var values: [Element] = []
15 |
/host/spi-builder-workspace/Sources/AsyncOperations/Sequence/Sequence+AsyncFirst.swift:12:19: error: cannot find type 'TaskPriority' in scope
10 |     public func asyncFirst(
11 |         numberOfConcurrentTasks: UInt = numberOfConcurrentTasks,
12 |         priority: TaskPriority? = nil,
   |                   `- error: cannot find type 'TaskPriority' in scope
13 |         where predicate: @escaping @Sendable (Element) async throws -> Bool
14 |     ) async rethrows -> Element? {
/host/spi-builder-workspace/Sources/AsyncOperations/withThrowingOrderedTaskGroup.swift:27:30: error: cannot find type 'Actor' in scope
 25 |     of childTaskResultType: ChildTaskResult.Type,
 26 |     returning returnType: GroupResult.Type = GroupResult.self,
 27 |     isolation: isolated (any Actor)? = #isolation,
    |                              `- error: cannot find type 'Actor' in scope
 28 |     body: (inout ThrowingOrderedTaskGroup<ChildTaskResult, any Error>) async throws -> GroupResult
 29 | ) async rethrows -> GroupResult {
/host/spi-builder-workspace/Sources/AsyncOperations/Sequence/Sequence+AsyncFlatMap.swift:10:19: error: cannot find type 'TaskPriority' in scope
 8 |     public func asyncFlatMap<T: Sendable>(
 9 |         numberOfConcurrentTasks: UInt = numberOfConcurrentTasks,
10 |         priority: TaskPriority? = nil,
   |                   `- error: cannot find type 'TaskPriority' in scope
11 |         _ transform: @escaping @Sendable (Element) async throws -> [T]
12 |     ) async rethrows -> [T] {
/host/spi-builder-workspace/Sources/AsyncOperations/Sequence/Sequence+AsyncFlatMap.swift:13:19: error: cannot find 'withThrowingTaskGroup' in scope
11 |         _ transform: @escaping @Sendable (Element) async throws -> [T]
12 |     ) async rethrows -> [T] {
13 |         try await withThrowingTaskGroup(of: ([T], Int).self) { group in
   |                   `- error: cannot find 'withThrowingTaskGroup' in scope
14 |             var values: [T] = []
15 |
/host/spi-builder-workspace/Sources/AsyncOperations/Sequence/Sequence+AsyncForEach.swift:9:19: error: cannot find type 'TaskPriority' in scope
 7 |     public func asyncForEach(
 8 |         numberOfConcurrentTasks: UInt = numberOfConcurrentTasks,
 9 |         priority: TaskPriority? = nil,
   |                   `- error: cannot find type 'TaskPriority' in scope
10 |         _ body: @escaping @Sendable (Element) async throws -> Void
11 |     ) async rethrows {
/host/spi-builder-workspace/Sources/AsyncOperations/Sequence/Sequence+AsyncForEach.swift:12:19: error: cannot find 'withThrowingTaskGroup' in scope
10 |         _ body: @escaping @Sendable (Element) async throws -> Void
11 |     ) async rethrows {
12 |         try await withThrowingTaskGroup(of: (Void, Int).self) { group in
   |                   `- error: cannot find 'withThrowingTaskGroup' in scope
13 |             try await internalForEach(
14 |                 group: &group,
/host/spi-builder-workspace/Sources/AsyncOperations/Sequence/Sequence+AsyncMap.swift:10:19: error: cannot find type 'TaskPriority' in scope
 8 |     public func asyncMap<T: Sendable>(
 9 |         numberOfConcurrentTasks: UInt = numberOfConcurrentTasks,
10 |         priority: TaskPriority? = nil,
   |                   `- error: cannot find type 'TaskPriority' in scope
11 |         _ transform: @escaping @Sendable (Element) async throws -> T
12 |     ) async rethrows -> [T] {
/host/spi-builder-workspace/Sources/AsyncOperations/Sequence/Sequence+AsyncMap.swift:13:19: error: cannot find 'withThrowingTaskGroup' in scope
11 |         _ transform: @escaping @Sendable (Element) async throws -> T
12 |     ) async rethrows -> [T] {
13 |         try await withThrowingTaskGroup(of: (T, Int).self) { group in
   |                   `- error: cannot find 'withThrowingTaskGroup' in scope
14 |             var values: [T] = []
15 |
/host/spi-builder-workspace/Sources/AsyncOperations/withOrderedTaskGroup.swift:24:30: error: cannot find type 'Actor' in scope
22 |     of childTaskResultType: ChildTaskResult.Type,
23 |     returning returnType: GroupResult.Type = GroupResult.self,
24 |     isolation: isolated (any Actor)? = #isolation,
   |                              `- error: cannot find type 'Actor' in scope
25 |     body: (inout OrderedTaskGroup<ChildTaskResult>) async -> GroupResult
26 | ) async -> GroupResult {
/host/spi-builder-workspace/Sources/AsyncOperations/withOrderedTaskGroup.swift:34:32: error: cannot find type 'TaskGroup' in scope
32 |
33 | public struct OrderedTaskGroup<ChildTaskResult: Sendable> {
34 |     private var internalGroup: TaskGroup<(Index, ChildTaskResult)>
   |                                `- error: cannot find type 'TaskGroup' in scope
35 |     private var addedTaskIndex: Index = 0
36 |     private var nextIndex: Index = 0
/host/spi-builder-workspace/Sources/AsyncOperations/withOrderedTaskGroup.swift:39:39: error: cannot find type 'TaskGroup' in scope
37 |     private var unreturnedResults: [Index: ChildTaskResult] = [:]
38 |
39 |     fileprivate init(_ internalGroup: TaskGroup<(Index, ChildTaskResult)>) {
   |                                       `- error: cannot find type 'TaskGroup' in scope
40 |         self.internalGroup = internalGroup
41 |     }
/host/spi-builder-workspace/Sources/AsyncOperations/withOrderedTaskGroup.swift:44:19: error: cannot find type 'TaskPriority' in scope
42 |
43 |     public mutating func addTask(
44 |         priority: TaskPriority? = nil,
   |                   `- error: cannot find type 'TaskPriority' in scope
45 |         operation: sending @escaping @isolated(any) () async -> ChildTaskResult
46 |     ) {
/host/spi-builder-workspace/Sources/AsyncOperations/withOrderedTaskGroup.swift:64:29: error: cannot find type 'AsyncSequence' in scope
62 | }
63 |
64 | extension OrderedTaskGroup: AsyncSequence, AsyncIteratorProtocol {
   |                             `- error: cannot find type 'AsyncSequence' in scope
65 |     public typealias Element = ChildTaskResult
66 |     public typealias Failure = Never
/host/spi-builder-workspace/Sources/AsyncOperations/withOrderedTaskGroup.swift:64:44: error: cannot find type 'AsyncIteratorProtocol' in scope
62 | }
63 |
64 | extension OrderedTaskGroup: AsyncSequence, AsyncIteratorProtocol {
   |                                            `- error: cannot find type 'AsyncIteratorProtocol' in scope
65 |     public typealias Element = ChildTaskResult
66 |     public typealias Failure = Never
/host/spi-builder-workspace/Sources/AsyncOperations/withOrderedTaskGroup.swift:27:11: error: cannot find 'withTaskGroup' in scope
25 |     body: (inout OrderedTaskGroup<ChildTaskResult>) async -> GroupResult
26 | ) async -> GroupResult {
27 |     await withTaskGroup(of: (Index, ChildTaskResult).self, returning: returnType) { group in
   |           `- error: cannot find 'withTaskGroup' in scope
28 |         var orderedTaskGroup = OrderedTaskGroup<ChildTaskResult>(group)
29 |         return await body(&orderedTaskGroup)
/host/spi-builder-workspace/Sources/AsyncOperations/withThrowingOrderedTaskGroup.swift:40:32: error: cannot find type 'ThrowingTaskGroup' in scope
 38 |
 39 | public struct ThrowingOrderedTaskGroup<ChildTaskResult: Sendable, Failure: Error> {
 40 |     private var internalGroup: ThrowingTaskGroup<(Index, ChildTaskResult), Failure>
    |                                `- error: cannot find type 'ThrowingTaskGroup' in scope
 41 |     private var addedTaskIndex: Index = 0
 42 |     private var nextIndex: Index = 0
/host/spi-builder-workspace/Sources/AsyncOperations/withThrowingOrderedTaskGroup.swift:45:27: error: cannot find type 'ThrowingTaskGroup' in scope
 43 |     private var unreturnedResults: [Index: Result<ChildTaskResult, Failure>] = [:]
 44 |
 45 |     init(_ internalGroup: ThrowingTaskGroup<(Index, ChildTaskResult), Failure>) {
    |                           `- error: cannot find type 'ThrowingTaskGroup' in scope
 46 |         self.internalGroup = internalGroup
 47 |     }
/host/spi-builder-workspace/Sources/AsyncOperations/withThrowingOrderedTaskGroup.swift:50:19: error: cannot find type 'TaskPriority' in scope
 48 |
 49 |     public mutating func addTask(
 50 |         priority: TaskPriority? = nil,
    |                   `- error: cannot find type 'TaskPriority' in scope
 51 |         operation: sending @escaping @isolated(any) () async throws(Failure) -> ChildTaskResult
 52 |     ) {
/host/spi-builder-workspace/Sources/AsyncOperations/withThrowingOrderedTaskGroup.swift:78:37: error: cannot find type 'AsyncSequence' in scope
 76 | }
 77 |
 78 | extension ThrowingOrderedTaskGroup: AsyncSequence, AsyncIteratorProtocol where Failure: Error {
    |                                     `- error: cannot find type 'AsyncSequence' in scope
 79 |     public typealias Element = ChildTaskResult
 80 |
/host/spi-builder-workspace/Sources/AsyncOperations/withThrowingOrderedTaskGroup.swift:78:52: error: cannot find type 'AsyncIteratorProtocol' in scope
 76 | }
 77 |
 78 | extension ThrowingOrderedTaskGroup: AsyncSequence, AsyncIteratorProtocol where Failure: Error {
    |                                                    `- error: cannot find type 'AsyncIteratorProtocol' in scope
 79 |     public typealias Element = ChildTaskResult
 80 |
/host/spi-builder-workspace/Sources/AsyncOperations/withThrowingOrderedTaskGroup.swift:30:15: error: cannot find 'withThrowingTaskGroup' in scope
 28 |     body: (inout ThrowingOrderedTaskGroup<ChildTaskResult, any Error>) async throws -> GroupResult
 29 | ) async rethrows -> GroupResult {
 30 |     try await withThrowingTaskGroup(
    |               `- error: cannot find 'withThrowingTaskGroup' in scope
 31 |         of: (Index, ChildTaskResult).self,
 32 |         returning: GroupResult.self
/host/spi-builder-workspace/Sources/AsyncOperations/AsyncSequence/AsyncSequence+AsyncForEach.swift:1:25: error: 'where' clause cannot be applied to a non-generic top-level declaration
 1 | extension AsyncSequence where Element: Sendable {
   |                         `- error: 'where' clause cannot be applied to a non-generic top-level declaration
 2 |     /// An async function of `forEach`.
 3 |     ///
/host/spi-builder-workspace/Sources/AsyncOperations/AsyncSequence/AsyncSequence+AsyncForEach.swift:32:19: error: cannot find type 'TaskPriority' in scope
30 |     public func asyncForEach(
31 |         numberOfConcurrentTasks: UInt = numberOfConcurrentTasks,
32 |         priority: TaskPriority? = nil,
   |                   `- error: cannot find type 'TaskPriority' in scope
33 |         _ body: @escaping @Sendable (Element) async throws -> Void
34 |     ) async rethrows {
/host/spi-builder-workspace/Sources/AsyncOperations/AsyncSequence/AsyncSequence+AsyncForEach.swift:33:38: error: cannot find type 'Element' in scope
31 |         numberOfConcurrentTasks: UInt = numberOfConcurrentTasks,
32 |         priority: TaskPriority? = nil,
33 |         _ body: @escaping @Sendable (Element) async throws -> Void
   |                                      `- error: cannot find type 'Element' in scope
34 |     ) async rethrows {
35 |         try await withThrowingTaskGroup(of: Void.self) { group in
BUILD FAILURE 6.2 wasm