The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ParseCareKit, reference main (97c1cd), with Swift 6.2 for Wasm on 31 Jan 2026 02:29:08 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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

293 |           return element
294 |         } catch {
295 |           self.state = .finished
    |                         `- error: cannot infer contextual base in reference to member 'finished'
296 |           throw error
297 |         }
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Interspersed/AsyncInterspersedSequence.swift:308:24: error: value of type 'Base' has no member 'makeAsyncIterator'
306 |   @inlinable
307 |   public func makeAsyncIterator() -> Iterator {
308 |     Iterator(self.base.makeAsyncIterator(), every: self.every, separator: self.separator)
    |                        `- error: value of type 'Base' has no member 'makeAsyncIterator'
309 |   }
310 | }
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Interspersed/AsyncInterspersedSequence.swift:391:27: error: cannot infer contextual base in reference to member 'finished'
389 |
390 |           guard let element = element else {
391 |             self.state = .finished
    |                           `- error: cannot infer contextual base in reference to member 'finished'
392 |             return nil
393 |           }
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Interspersed/AsyncInterspersedSequence.swift:395:27: error: cannot infer contextual base in reference to member 'separator'
393 |           }
394 |           if self.every == 1 {
395 |             self.state = .separator
    |                           `- error: cannot infer contextual base in reference to member 'separator'
396 |           } else {
397 |             self.state = .element(1)
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Interspersed/AsyncInterspersedSequence.swift:397:27: error: cannot infer contextual base in reference to member 'element'
395 |             self.state = .separator
396 |           } else {
397 |             self.state = .element(1)
    |                           `- error: cannot infer contextual base in reference to member 'element'
398 |           }
399 |           return element
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Interspersed/AsyncInterspersedSequence.swift:401:25: error: cannot infer contextual base in reference to member 'finished'
399 |           return element
400 |         } catch {
401 |           self.state = .finished
    |                         `- error: cannot infer contextual base in reference to member 'finished'
402 |           throw error
403 |         }
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Interspersed/AsyncInterspersedSequence.swift:408:27: error: cannot infer contextual base in reference to member 'finished'
406 |         do {
407 |           guard let element = try await iterator.next() else {
408 |             self.state = .finished
    |                           `- error: cannot infer contextual base in reference to member 'finished'
409 |             return nil
410 |           }
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Interspersed/AsyncInterspersedSequence.swift:411:25: error: cannot infer contextual base in reference to member 'start'
409 |             return nil
410 |           }
411 |           self.state = .start(element)
    |                         `- error: cannot infer contextual base in reference to member 'start'
412 |           switch self.separator {
413 |           case .syncClosure(let closure):
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Interspersed/AsyncInterspersedSequence.swift:420:25: error: cannot infer contextual base in reference to member 'finished'
418 |           }
419 |         } catch {
420 |           self.state = .finished
    |                         `- error: cannot infer contextual base in reference to member 'finished'
421 |           throw error
422 |         }
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Interspersed/AsyncInterspersedSequence.swift:427:27: error: cannot infer contextual base in reference to member 'finished'
425 |         do {
426 |           guard let element = try await iterator.next() else {
427 |             self.state = .finished
    |                           `- error: cannot infer contextual base in reference to member 'finished'
428 |             return nil
429 |           }
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Interspersed/AsyncInterspersedSequence.swift:432:27: error: cannot infer contextual base in reference to member 'separator'
430 |           let newCount = count + 1
431 |           if self.every == newCount {
432 |             self.state = .separator
    |                           `- error: cannot infer contextual base in reference to member 'separator'
433 |           } else {
434 |             self.state = .element(newCount)
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Interspersed/AsyncInterspersedSequence.swift:434:27: error: cannot infer contextual base in reference to member 'element'
432 |             self.state = .separator
433 |           } else {
434 |             self.state = .element(newCount)
    |                           `- error: cannot infer contextual base in reference to member 'element'
435 |           }
436 |           return element
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Interspersed/AsyncInterspersedSequence.swift:438:25: error: cannot infer contextual base in reference to member 'finished'
436 |           return element
437 |         } catch {
438 |           self.state = .finished
    |                         `- error: cannot infer contextual base in reference to member 'finished'
439 |           throw error
440 |         }
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Interspersed/AsyncInterspersedSequence.swift:451:24: error: value of type 'Base' has no member 'makeAsyncIterator'
449 |   @inlinable
450 |   public func makeAsyncIterator() -> Iterator {
451 |     Iterator(self.base.makeAsyncIterator(), every: self.every, separator: self.separator)
    |                        `- error: value of type 'Base' has no member 'makeAsyncIterator'
452 |   }
453 | }
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Locking.swift:39:49: error: cannot find type 'Primitive' in scope
 37 |   #endif
 38 |
 39 |   typealias PlatformLock = UnsafeMutablePointer<Primitive>
    |                                                 `- error: cannot find type 'Primitive' in scope
 40 |   let platformLock: PlatformLock
 41 |
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Locking.swift:134:63: error: 'Primitive' is not a member type of struct 'AsyncAlgorithms.Lock'
 26 | #endif
 27 |
 28 | internal struct Lock {
    |                 `- note: 'Lock' declared here
 29 |   #if canImport(Darwin)
 30 |   typealias Primitive = os_unfair_lock
    :
132 |
133 | struct ManagedCriticalState<State> {
134 |   private final class LockedBuffer: ManagedBuffer<State, Lock.Primitive> {
    |                                                               `- error: 'Primitive' is not a member type of struct 'AsyncAlgorithms.Lock'
135 |     deinit {
136 |       withUnsafeMutablePointerToElements { Lock.deinitialize($0) }
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Locking.swift:136:7: error: type of expression is ambiguous without a type annotation
134 |   private final class LockedBuffer: ManagedBuffer<State, Lock.Primitive> {
135 |     deinit {
136 |       withUnsafeMutablePointerToElements { Lock.deinitialize($0) }
    |       `- error: type of expression is ambiguous without a type annotation
137 |     }
138 |   }
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Locking.swift:143:12: error: type of expression is ambiguous without a type annotation
141 |
142 |   init(_ initial: State) {
143 |     buffer = LockedBuffer.create(minimumCapacity: 1) { buffer in
    |            `- error: type of expression is ambiguous without a type annotation
144 |       buffer.withUnsafeMutablePointerToElements { Lock.initialize($0) }
145 |       return initial
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/AsyncMerge2Sequence.swift:21:9: error: 'Element' is not a member type of type 'Base1'
 19 | ) -> AsyncMerge2Sequence<Base1, Base2>
 20 | where
 21 |   Base1.Element == Base2.Element,
    |         `- error: 'Element' is not a member type of type 'Base1'
 22 |   Base1: Sendable,
 23 |   Base2: Sendable,
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/AsyncMerge2Sequence.swift:21:26: error: 'Element' is not a member type of type 'Base2'
 19 | ) -> AsyncMerge2Sequence<Base1, Base2>
 20 | where
 21 |   Base1.Element == Base2.Element,
    |                          `- error: 'Element' is not a member type of type 'Base2'
 22 |   Base1: Sendable,
 23 |   Base2: Sendable,
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/AsyncMerge2Sequence.swift:24:9: error: 'Element' is not a member type of type 'Base1'
 22 |   Base1: Sendable,
 23 |   Base2: Sendable,
 24 |   Base1.Element: Sendable
    |         `- error: 'Element' is not a member type of type 'Base1'
 25 | {
 26 |   return AsyncMerge2Sequence(base1, base2)
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/AsyncMerge2Sequence.swift:36:9: error: 'Element' is not a member type of type 'Base1'
 34 | >: Sendable
 35 | where
 36 |   Base1.Element == Base2.Element,
    |         `- error: 'Element' is not a member type of type 'Base1'
 37 |   Base1: Sendable,
 38 |   Base2: Sendable,
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/AsyncMerge2Sequence.swift:36:26: error: 'Element' is not a member type of type 'Base2'
 34 | >: Sendable
 35 | where
 36 |   Base1.Element == Base2.Element,
    |                          `- error: 'Element' is not a member type of type 'Base2'
 37 |   Base1: Sendable,
 38 |   Base2: Sendable,
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/AsyncMerge2Sequence.swift:39:9: error: 'Element' is not a member type of type 'Base1'
 37 |   Base1: Sendable,
 38 |   Base2: Sendable,
 39 |   Base1.Element: Sendable
    |         `- error: 'Element' is not a member type of type 'Base1'
 40 | {
 41 |   public typealias Element = Base1.Element
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/AsyncMerge2Sequence.swift:41:36: error: 'Element' is not a member type of type 'Base1'
 39 |   Base1.Element: Sendable
 40 | {
 41 |   public typealias Element = Base1.Element
    |                                    `- error: 'Element' is not a member type of type 'Base1'
 42 |
 43 |   private let base1: Base1
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStorage.swift:14:10: error: cannot find type 'AsyncSequence' in scope
 12 | @available(AsyncAlgorithms 1.0, *)
 13 | final class MergeStorage<
 14 |   Base1: AsyncSequence,
    |          `- error: cannot find type 'AsyncSequence' in scope
 15 |   Base2: AsyncSequence,
 16 |   Base3: AsyncSequence
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStorage.swift:15:10: error: cannot find type 'AsyncSequence' in scope
 13 | final class MergeStorage<
 14 |   Base1: AsyncSequence,
 15 |   Base2: AsyncSequence,
    |          `- error: cannot find type 'AsyncSequence' in scope
 16 |   Base3: AsyncSequence
 17 | >: @unchecked Sendable
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStorage.swift:16:10: error: cannot find type 'AsyncSequence' in scope
 14 |   Base1: AsyncSequence,
 15 |   Base2: AsyncSequence,
 16 |   Base3: AsyncSequence
    |          `- error: cannot find type 'AsyncSequence' in scope
 17 | >: @unchecked Sendable
 18 | where
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/AsyncMerge2Sequence.swift:91:25: error: 'rethrows' function must take a throwing function argument
 89 |       }
 90 |
 91 |       func next() async rethrows -> Element? {
    |                         `- error: 'rethrows' function must take a throwing function argument
 92 |         try await storage.next()
 93 |       }
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/AsyncMerge2Sequence.swift:102:39: error: 'rethrows' function must take a throwing function argument
100 |     }
101 |
102 |     public mutating func next() async rethrows -> Element? {
    |                                       `- error: 'rethrows' function must take a throwing function argument
103 |       try await internalClass.next()
104 |     }
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/AsyncMerge2Sequence.swift:76:27: error: cannot find type 'AsyncIteratorProtocol' in scope
 74 | extension AsyncMerge2Sequence {
 75 |   @available(AsyncAlgorithms 1.0, *)
 76 |   public struct Iterator: AsyncIteratorProtocol {
    |                           `- error: cannot find type 'AsyncIteratorProtocol' in scope
 77 |     /// This class is needed to hook the deinit to observe once all references to the ``AsyncIterator`` are dropped.
 78 |     ///
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/AsyncMerge3Sequence.swift:22:9: error: 'Element' is not a member type of type 'Base1'
 20 | >(_ base1: Base1, _ base2: Base2, _ base3: Base3) -> AsyncMerge3Sequence<Base1, Base2, Base3>
 21 | where
 22 |   Base1.Element == Base2.Element,
    |         `- error: 'Element' is not a member type of type 'Base1'
 23 |   Base1.Element == Base3.Element,
 24 |   Base1: Sendable,
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/AsyncMerge3Sequence.swift:22:26: error: 'Element' is not a member type of type 'Base2'
 20 | >(_ base1: Base1, _ base2: Base2, _ base3: Base3) -> AsyncMerge3Sequence<Base1, Base2, Base3>
 21 | where
 22 |   Base1.Element == Base2.Element,
    |                          `- error: 'Element' is not a member type of type 'Base2'
 23 |   Base1.Element == Base3.Element,
 24 |   Base1: Sendable,
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/AsyncMerge3Sequence.swift:23:9: error: 'Element' is not a member type of type 'Base1'
 21 | where
 22 |   Base1.Element == Base2.Element,
 23 |   Base1.Element == Base3.Element,
    |         `- error: 'Element' is not a member type of type 'Base1'
 24 |   Base1: Sendable,
 25 |   Base2: Sendable,
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/AsyncMerge3Sequence.swift:23:26: error: 'Element' is not a member type of type 'Base3'
 21 | where
 22 |   Base1.Element == Base2.Element,
 23 |   Base1.Element == Base3.Element,
    |                          `- error: 'Element' is not a member type of type 'Base3'
 24 |   Base1: Sendable,
 25 |   Base2: Sendable,
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/AsyncMerge3Sequence.swift:27:9: error: 'Element' is not a member type of type 'Base1'
 25 |   Base2: Sendable,
 26 |   Base3: Sendable,
 27 |   Base1.Element: Sendable
    |         `- error: 'Element' is not a member type of type 'Base1'
 28 | {
 29 |   return AsyncMerge3Sequence(base1, base2, base3)
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/AsyncMerge3Sequence.swift:40:9: error: 'Element' is not a member type of type 'Base1'
 38 | >: Sendable
 39 | where
 40 |   Base1.Element == Base2.Element,
    |         `- error: 'Element' is not a member type of type 'Base1'
 41 |   Base1.Element == Base3.Element,
 42 |   Base1: Sendable,
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/AsyncMerge3Sequence.swift:40:26: error: 'Element' is not a member type of type 'Base2'
 38 | >: Sendable
 39 | where
 40 |   Base1.Element == Base2.Element,
    |                          `- error: 'Element' is not a member type of type 'Base2'
 41 |   Base1.Element == Base3.Element,
 42 |   Base1: Sendable,
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/AsyncMerge3Sequence.swift:41:9: error: 'Element' is not a member type of type 'Base1'
 39 | where
 40 |   Base1.Element == Base2.Element,
 41 |   Base1.Element == Base3.Element,
    |         `- error: 'Element' is not a member type of type 'Base1'
 42 |   Base1: Sendable,
 43 |   Base2: Sendable,
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/AsyncMerge3Sequence.swift:41:26: error: 'Element' is not a member type of type 'Base3'
 39 | where
 40 |   Base1.Element == Base2.Element,
 41 |   Base1.Element == Base3.Element,
    |                          `- error: 'Element' is not a member type of type 'Base3'
 42 |   Base1: Sendable,
 43 |   Base2: Sendable,
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/AsyncMerge3Sequence.swift:45:9: error: 'Element' is not a member type of type 'Base1'
 43 |   Base2: Sendable,
 44 |   Base3: Sendable,
 45 |   Base1.Element: Sendable
    |         `- error: 'Element' is not a member type of type 'Base1'
 46 | {
 47 |   public typealias Element = Base1.Element
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/AsyncMerge3Sequence.swift:47:36: error: 'Element' is not a member type of type 'Base1'
 45 |   Base1.Element: Sendable
 46 | {
 47 |   public typealias Element = Base1.Element
    |                                    `- error: 'Element' is not a member type of type 'Base1'
 48 |
 49 |   private let base1: Base1
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/AsyncMerge3Sequence.swift:71:32: error: cannot find type 'AsyncSequence' in scope
 69 |
 70 | @available(AsyncAlgorithms 1.0, *)
 71 | extension AsyncMerge3Sequence: AsyncSequence {
    |                                `- error: cannot find type 'AsyncSequence' in scope
 72 |   @available(AsyncAlgorithms 1.0, *)
 73 |   public func makeAsyncIterator() -> Iterator {
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/AsyncMerge3Sequence.swift:101:25: error: 'rethrows' function must take a throwing function argument
 99 |       }
100 |
101 |       func next() async rethrows -> Element? {
    |                         `- error: 'rethrows' function must take a throwing function argument
102 |         try await storage.next()
103 |       }
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/AsyncMerge3Sequence.swift:112:39: error: 'rethrows' function must take a throwing function argument
110 |     }
111 |
112 |     public mutating func next() async rethrows -> Element? {
    |                                       `- error: 'rethrows' function must take a throwing function argument
113 |       try await internalClass.next()
114 |     }
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/AsyncMerge3Sequence.swift:86:27: error: cannot find type 'AsyncIteratorProtocol' in scope
 84 | extension AsyncMerge3Sequence {
 85 |   @available(AsyncAlgorithms 1.0, *)
 86 |   public struct Iterator: AsyncIteratorProtocol {
    |                           `- error: cannot find type 'AsyncIteratorProtocol' in scope
 87 |     /// This class is needed to hook the deinit to observe once all references to the ``AsyncIterator`` are dropped.
 88 |     ///
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStateMachine.swift:20:10: error: cannot find type 'AsyncSequence' in scope
 18 | @available(AsyncAlgorithms 1.0, *)
 19 | struct MergeStateMachine<
 20 |   Base1: AsyncSequence,
    |          `- error: cannot find type 'AsyncSequence' in scope
 21 |   Base2: AsyncSequence,
 22 |   Base3: AsyncSequence
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStateMachine.swift:21:10: error: cannot find type 'AsyncSequence' in scope
 19 | struct MergeStateMachine<
 20 |   Base1: AsyncSequence,
 21 |   Base2: AsyncSequence,
    |          `- error: cannot find type 'AsyncSequence' in scope
 22 |   Base3: AsyncSequence
 23 | >
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStateMachine.swift:22:10: error: cannot find type 'AsyncSequence' in scope
 20 |   Base1: AsyncSequence,
 21 |   Base2: AsyncSequence,
 22 |   Base3: AsyncSequence
    |          `- error: cannot find type 'AsyncSequence' in scope
 23 | >
 24 | where
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStateMachine.swift:25:9: error: 'Element' is not a member type of type 'Base1'
 23 | >
 24 | where
 25 |   Base1.Element == Base2.Element,
    |         `- error: 'Element' is not a member type of type 'Base1'
 26 |   Base1.Element == Base3.Element,
 27 |   Base1: Sendable,
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStateMachine.swift:25:26: error: 'Element' is not a member type of type 'Base2'
 23 | >
 24 | where
 25 |   Base1.Element == Base2.Element,
    |                          `- error: 'Element' is not a member type of type 'Base2'
 26 |   Base1.Element == Base3.Element,
 27 |   Base1: Sendable,
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStateMachine.swift:26:9: error: 'Element' is not a member type of type 'Base1'
 24 | where
 25 |   Base1.Element == Base2.Element,
 26 |   Base1.Element == Base3.Element,
    |         `- error: 'Element' is not a member type of type 'Base1'
 27 |   Base1: Sendable,
 28 |   Base2: Sendable,
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStateMachine.swift:26:26: error: 'Element' is not a member type of type 'Base3'
 24 | where
 25 |   Base1.Element == Base2.Element,
 26 |   Base1.Element == Base3.Element,
    |                          `- error: 'Element' is not a member type of type 'Base3'
 27 |   Base1: Sendable,
 28 |   Base2: Sendable,
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStateMachine.swift:30:9: error: 'Element' is not a member type of type 'Base1'
 28 |   Base2: Sendable,
 29 |   Base3: Sendable,
 30 |   Base1.Element: Sendable
    |         `- error: 'Element' is not a member type of type 'Base1'
 31 | {
 32 |   typealias Element = Base1.Element
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStateMachine.swift:32:29: error: 'Element' is not a member type of type 'Base1'
 30 |   Base1.Element: Sendable
 31 | {
 32 |   typealias Element = Base1.Element
    |                             `- error: 'Element' is not a member type of type 'Base1'
 33 |
 34 |   private enum State {
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStateMachine.swift:44:13: error: cannot find type 'Task' in scope
 42 |     /// The state after `makeAsyncIterator` was called and we created our `Task` to consume the upstream.
 43 |     case merging(
 44 |       task: Task<Void, Never>,
    |             `- error: cannot find type 'Task' in scope
 45 |       buffer: Deque<Element>,
 46 |       upstreamContinuations: [UnsafeContinuation<Void, Error>],
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStateMachine.swift:46:31: error: cannot find type 'UnsafeContinuation' in scope
 44 |       task: Task<Void, Never>,
 45 |       buffer: Deque<Element>,
 46 |       upstreamContinuations: [UnsafeContinuation<Void, Error>],
    |                               `- error: cannot find type 'UnsafeContinuation' in scope
 47 |       upstreamsFinished: Int,
 48 |       downstreamContinuation: UnsafeContinuation<Element?, Error>?
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStateMachine.swift:48:31: error: cannot find type 'UnsafeContinuation' in scope
 46 |       upstreamContinuations: [UnsafeContinuation<Void, Error>],
 47 |       upstreamsFinished: Int,
 48 |       downstreamContinuation: UnsafeContinuation<Element?, Error>?
    |                               `- error: cannot find type 'UnsafeContinuation' in scope
 49 |     )
 50 |
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStateMachine.swift:94:13: error: cannot find type 'Task' in scope
 92 |     /// all upstream continuations need to be resumed with a `CancellationError`.
 93 |     case cancelTaskAndUpstreamContinuations(
 94 |       task: Task<Void, Never>,
    |             `- error: cannot find type 'Task' in scope
 95 |       upstreamContinuations: [UnsafeContinuation<Void, Error>]
 96 |     )
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStateMachine.swift:95:31: error: cannot find type 'UnsafeContinuation' in scope
 93 |     case cancelTaskAndUpstreamContinuations(
 94 |       task: Task<Void, Never>,
 95 |       upstreamContinuations: [UnsafeContinuation<Void, Error>]
    |                               `- error: cannot find type 'UnsafeContinuation' in scope
 96 |     )
 97 |     /// Indicates that nothing should be done.
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStateMachine.swift:141:37: error: cannot find type 'Task' in scope
139 |   }
140 |
141 |   mutating func taskStarted(_ task: Task<Void, Never>) {
    |                                     `- error: cannot find type 'Task' in scope
142 |     switch state {
143 |     case .initial:
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStateMachine.swift:167:29: error: cannot find type 'UnsafeContinuation' in scope
165 |     /// Indicates that the continuation should be resumed which will lead to calling `next` on the upstream.
166 |     case resumeContinuation(
167 |       upstreamContinuation: UnsafeContinuation<Void, Error>
    |                             `- error: cannot find type 'UnsafeContinuation' in scope
168 |     )
169 |     /// Indicates that the continuation should be resumed with an Error because another upstream sequence threw.
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStateMachine.swift:171:29: error: cannot find type 'UnsafeContinuation' in scope
169 |     /// Indicates that the continuation should be resumed with an Error because another upstream sequence threw.
170 |     case resumeContinuationWithError(
171 |       upstreamContinuation: UnsafeContinuation<Void, Error>,
    |                             `- error: cannot find type 'UnsafeContinuation' in scope
172 |       error: Error
173 |     )
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStateMachine.swift:178:52: error: cannot find type 'UnsafeContinuation' in scope
176 |   }
177 |
178 |   mutating func childTaskSuspended(_ continuation: UnsafeContinuation<Void, Error>) -> ChildTaskSuspendedAction {
    |                                                    `- error: cannot find type 'UnsafeContinuation' in scope
179 |     switch state {
180 |     case .initial:
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStateMachine.swift:232:31: error: cannot find type 'UnsafeContinuation' in scope
230 |     /// Indicates that the downstream continuation should be resumed with the element.
231 |     case resumeContinuation(
232 |       downstreamContinuation: UnsafeContinuation<Element?, Error>,
    |                               `- error: cannot find type 'UnsafeContinuation' in scope
233 |       element: Element
234 |     )
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStateMachine.swift:300:13: error: cannot find type 'Task' in scope
298 |     /// Indicates that the task and the upstream continuations should be cancelled.
299 |     case cancelTaskAndUpstreamContinuations(
300 |       task: Task<Void, Never>,
    |             `- error: cannot find type 'Task' in scope
301 |       upstreamContinuations: [UnsafeContinuation<Void, Error>]
302 |     )
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStateMachine.swift:301:31: error: cannot find type 'UnsafeContinuation' in scope
299 |     case cancelTaskAndUpstreamContinuations(
300 |       task: Task<Void, Never>,
301 |       upstreamContinuations: [UnsafeContinuation<Void, Error>]
    |                               `- error: cannot find type 'UnsafeContinuation' in scope
302 |     )
303 |     /// Indicates that the downstream continuation should be resumed with `nil` and
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStateMachine.swift:306:31: error: cannot find type 'UnsafeContinuation' in scope
304 |     /// the task and the upstream continuations should be cancelled.
305 |     case resumeContinuationWithNilAndCancelTaskAndUpstreamContinuations(
306 |       downstreamContinuation: UnsafeContinuation<Element?, Error>,
    |                               `- error: cannot find type 'UnsafeContinuation' in scope
307 |       task: Task<Void, Never>,
308 |       upstreamContinuations: [UnsafeContinuation<Void, Error>]
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStateMachine.swift:307:13: error: cannot find type 'Task' in scope
305 |     case resumeContinuationWithNilAndCancelTaskAndUpstreamContinuations(
306 |       downstreamContinuation: UnsafeContinuation<Element?, Error>,
307 |       task: Task<Void, Never>,
    |             `- error: cannot find type 'Task' in scope
308 |       upstreamContinuations: [UnsafeContinuation<Void, Error>]
309 |     )
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStateMachine.swift:308:31: error: cannot find type 'UnsafeContinuation' in scope
306 |       downstreamContinuation: UnsafeContinuation<Element?, Error>,
307 |       task: Task<Void, Never>,
308 |       upstreamContinuations: [UnsafeContinuation<Void, Error>]
    |                               `- error: cannot find type 'UnsafeContinuation' in scope
309 |     )
310 |     /// Indicates that nothing should be done.
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStateMachine.swift:395:13: error: cannot find type 'Task' in scope
393 |     /// Indicates that the task and the upstream continuations should be cancelled.
394 |     case cancelTaskAndUpstreamContinuations(
395 |       task: Task<Void, Never>,
    |             `- error: cannot find type 'Task' in scope
396 |       upstreamContinuations: [UnsafeContinuation<Void, Error>]
397 |     )
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStateMachine.swift:396:31: error: cannot find type 'UnsafeContinuation' in scope
394 |     case cancelTaskAndUpstreamContinuations(
395 |       task: Task<Void, Never>,
396 |       upstreamContinuations: [UnsafeContinuation<Void, Error>]
    |                               `- error: cannot find type 'UnsafeContinuation' in scope
397 |     )
398 |     /// Indicates that the downstream continuation should be resumed with the `error` and
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStateMachine.swift:401:31: error: cannot find type 'UnsafeContinuation' in scope
399 |     /// the task and the upstream continuations should be cancelled.
400 |     case resumeContinuationWithErrorAndCancelTaskAndUpstreamContinuations(
401 |       downstreamContinuation: UnsafeContinuation<Element?, Error>,
    |                               `- error: cannot find type 'UnsafeContinuation' in scope
402 |       error: Error,
403 |       task: Task<Void, Never>,
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStateMachine.swift:403:13: error: cannot find type 'Task' in scope
401 |       downstreamContinuation: UnsafeContinuation<Element?, Error>,
402 |       error: Error,
403 |       task: Task<Void, Never>,
    |             `- error: cannot find type 'Task' in scope
404 |       upstreamContinuations: [UnsafeContinuation<Void, Error>]
405 |     )
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStateMachine.swift:404:31: error: cannot find type 'UnsafeContinuation' in scope
402 |       error: Error,
403 |       task: Task<Void, Never>,
404 |       upstreamContinuations: [UnsafeContinuation<Void, Error>]
    |                               `- error: cannot find type 'UnsafeContinuation' in scope
405 |     )
406 |     /// Indicates that nothing should be done.
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStateMachine.swift:462:31: error: cannot find type 'UnsafeContinuation' in scope
460 |     /// task and the upstream continuations should be cancelled.
461 |     case resumeDownstreamContinuationWithNilAndCancelTaskAndUpstreamContinuations(
462 |       downstreamContinuation: UnsafeContinuation<Element?, Error>,
    |                               `- error: cannot find type 'UnsafeContinuation' in scope
463 |       task: Task<Void, Never>,
464 |       upstreamContinuations: [UnsafeContinuation<Void, Error>]
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStateMachine.swift:463:13: error: cannot find type 'Task' in scope
461 |     case resumeDownstreamContinuationWithNilAndCancelTaskAndUpstreamContinuations(
462 |       downstreamContinuation: UnsafeContinuation<Element?, Error>,
463 |       task: Task<Void, Never>,
    |             `- error: cannot find type 'Task' in scope
464 |       upstreamContinuations: [UnsafeContinuation<Void, Error>]
465 |     )
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStateMachine.swift:464:31: error: cannot find type 'UnsafeContinuation' in scope
462 |       downstreamContinuation: UnsafeContinuation<Element?, Error>,
463 |       task: Task<Void, Never>,
464 |       upstreamContinuations: [UnsafeContinuation<Void, Error>]
    |                               `- error: cannot find type 'UnsafeContinuation' in scope
465 |     )
466 |     /// Indicates that the task and the upstream continuations should be cancelled.
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStateMachine.swift:468:13: error: cannot find type 'Task' in scope
466 |     /// Indicates that the task and the upstream continuations should be cancelled.
467 |     case cancelTaskAndUpstreamContinuations(
468 |       task: Task<Void, Never>,
    |             `- error: cannot find type 'Task' in scope
469 |       upstreamContinuations: [UnsafeContinuation<Void, Error>]
470 |     )
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStateMachine.swift:469:31: error: cannot find type 'UnsafeContinuation' in scope
467 |     case cancelTaskAndUpstreamContinuations(
468 |       task: Task<Void, Never>,
469 |       upstreamContinuations: [UnsafeContinuation<Void, Error>]
    |                               `- error: cannot find type 'UnsafeContinuation' in scope
470 |     )
471 |     /// Indicates that nothing should be done.
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStateMachine.swift:605:31: error: cannot find type 'UnsafeContinuation' in scope
603 |     /// Indicates that the upstream continuations should be resumed to demand new elements.
604 |     case resumeUpstreamContinuations(
605 |       upstreamContinuations: [UnsafeContinuation<Void, Error>]
    |                               `- error: cannot find type 'UnsafeContinuation' in scope
606 |     )
607 |   }
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStateMachine.swift:609:40: error: cannot find type 'UnsafeContinuation' in scope
607 |   }
608 |
609 |   mutating func next(for continuation: UnsafeContinuation<Element?, Error>) -> NextForAction {
    |                                        `- error: cannot find type 'UnsafeContinuation' in scope
610 |     switch state {
611 |     case .initial,
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStateMachine.swift:107:19: error: '_' can only appear in a pattern or on the left side of an assignment
105 |       return .none
106 |
107 |     case .merging(_, _, _, _, .some):
    |                   `- error: '_' can only appear in a pattern or on the left side of an assignment
108 |       // An iterator was deinitialized while we have a suspended continuation.
109 |       preconditionFailure(
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStateMachine.swift:113:29: error: '_' can only appear in a pattern or on the left side of an assignment
111 |       )
112 |
113 |     case let .merging(task, _, upstreamContinuations, _, .none):
    |                             `- error: '_' can only appear in a pattern or on the left side of an assignment
114 |       // The iterator was dropped which signals that the consumer is finished.
115 |       // We can transition to finished now and need to clean everything up.
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStateMachine.swift:148:18: error: cannot infer contextual base in reference to member 'init'
146 |       state = .merging(
147 |         task: task,
148 |         buffer: .init(),
    |                  `- error: cannot infer contextual base in reference to member 'init'
149 |         upstreamContinuations: [],  // This should reserve capacity in the variadic generics case
150 |         upstreamsFinished: 0,
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStateMachine.swift:151:33: error: 'nil' requires a contextual type
149 |         upstreamContinuations: [],  // This should reserve capacity in the variadic generics case
150 |         upstreamsFinished: 0,
151 |         downstreamContinuation: nil
    |                                 `- error: 'nil' requires a contextual type
152 |       )
153 |
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStateMachine.swift:184:19: error: '_' can only appear in a pattern or on the left side of an assignment
182 |       preconditionFailure("Internal inconsistency current state \(self.state) and received childTaskSuspended()")
183 |
184 |     case .merging(_, _, _, _, .some):
    |                   `- error: '_' can only appear in a pattern or on the left side of an assignment
185 |       // We have outstanding demand so request the next element
186 |       return .resumeContinuation(upstreamContinuation: continuation)
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStateMachine.swift:188:92: error: cannot infer contextual base in reference to member 'none'
186 |       return .resumeContinuation(upstreamContinuation: continuation)
187 |
188 |     case .merging(let task, let buffer, var upstreamContinuations, let upstreamsFinished, .none):
    |                                                                                            `- error: cannot infer contextual base in reference to member 'none'
189 |       // There is no outstanding demand from the downstream
190 |       // so we are storing the continuation and resume it once there is demand.
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStateMachine.swift:200:33: error: 'nil' requires a contextual type
198 |         upstreamContinuations: upstreamContinuations,
199 |         upstreamsFinished: upstreamsFinished,
200 |         downstreamContinuation: nil
    |                                 `- error: 'nil' requires a contextual type
201 |       )
202 |
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStateMachine.swift:211:16: error: cannot find 'CancellationError' in scope
209 |       return .resumeContinuationWithError(
210 |         upstreamContinuation: continuation,
211 |         error: CancellationError()
    |                `- error: cannot find 'CancellationError' in scope
212 |       )
213 |
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStateMachine.swift:220:16: error: cannot find 'CancellationError' in scope
218 |       return .resumeContinuationWithError(
219 |         upstreamContinuation: continuation,
220 |         error: CancellationError()
    |                `- error: cannot find 'CancellationError' in scope
221 |       )
222 |
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStateMachine.swift:245:80: error: cannot infer contextual base in reference to member 'some'
243 |       preconditionFailure("Internal inconsistency current state \(self.state) and received elementProduced()")
244 |
245 |     case let .merging(task, buffer, upstreamContinuations, upstreamsFinished, .some(downstreamContinuation)):
    |                                                                                `- error: cannot infer contextual base in reference to member 'some'
246 |       // We produced an element and have an outstanding downstream continuation
247 |       // this means we can go right ahead and resume the continuation with that element
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStateMachine.swift:263:92: error: cannot infer contextual base in reference to member 'none'
261 |       )
262 |
263 |     case .merging(let task, var buffer, let upstreamContinuations, let upstreamsFinished, .none):
    |                                                                                            `- error: cannot infer contextual base in reference to member 'none'
264 |       // There is not outstanding downstream continuation so we must buffer the element
265 |       // This happens if we race our upstream sequences to produce elements
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStateMachine.swift:255:33: error: 'nil' requires a contextual type
253 |         upstreamContinuations: upstreamContinuations,
254 |         upstreamsFinished: upstreamsFinished,
255 |         downstreamContinuation: nil
    |                                 `- error: 'nil' requires a contextual type
256 |       )
257 |
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStateMachine.swift:276:33: error: 'nil' requires a contextual type
274 |         upstreamContinuations: upstreamContinuations,
275 |         upstreamsFinished: upstreamsFinished,
276 |         downstreamContinuation: nil
    |                                 `- error: 'nil' requires a contextual type
277 |       )
278 |
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStateMachine.swift:355:92: error: cannot infer contextual base in reference to member 'none'
353 |       )
354 |
355 |     case .merging(let task, let buffer, let upstreamContinuations, var upstreamsFinished, .none):
    |                                                                                            `- error: cannot infer contextual base in reference to member 'none'
356 |       // First we increment our counter of finished upstreams
357 |       upstreamsFinished += 1
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStateMachine.swift:364:33: error: 'nil' requires a contextual type
362 |         upstreamContinuations: upstreamContinuations,
363 |         upstreamsFinished: upstreamsFinished,
364 |         downstreamContinuation: nil
    |                                 `- error: 'nil' requires a contextual type
365 |       )
366 |
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStateMachine.swift:415:60: error: '_' can only appear in a pattern or on the left side of an assignment
413 |       preconditionFailure("Internal inconsistency current state \(self.state) and received upstreamThrew()")
414 |
415 |     case let .merging(task, buffer, upstreamContinuations, _, .some(downstreamContinuation)):
    |                                                            `- error: '_' can only appear in a pattern or on the left side of an assignment
416 |       // An upstream threw an error and we have a downstream continuation.
417 |       // We just need to resume the downstream continuation with the error and cancel everything
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStateMachine.swift:430:60: error: '_' can only appear in a pattern or on the left side of an assignment
428 |       )
429 |
430 |     case let .merging(task, buffer, upstreamContinuations, _, .none):
    |                                                            `- error: '_' can only appear in a pattern or on the left side of an assignment
431 |       // An upstream threw an error and we don't have a downstream continuation.
432 |       // We need to store the error and wait for the downstream to consume the
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStateMachine.swift:484:29: error: '_' can only appear in a pattern or on the left side of an assignment
482 |       return .none
483 |
484 |     case let .merging(task, _, upstreamContinuations, _, .some(downstreamContinuation)):
    |                             `- error: '_' can only appear in a pattern or on the left side of an assignment
485 |       // The downstream Task got cancelled so we need to cancel our upstream Task
486 |       // and resume all continuations. We can also transition to finished.
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStateMachine.swift:495:29: error: '_' can only appear in a pattern or on the left side of an assignment
493 |       )
494 |
495 |     case let .merging(task, _, upstreamContinuations, _, .none):
    |                             `- error: '_' can only appear in a pattern or on the left side of an assignment
496 |       // The downstream Task got cancelled so we need to cancel our upstream Task
497 |       // and resume all continuations. We can also transition to finished.
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStateMachine.swift:544:19: error: '_' can only appear in a pattern or on the left side of an assignment
542 |       return .startTaskAndSuspendDownstreamTask(base1, base2, base3)
543 |
544 |     case .merging(_, _, _, _, .some):
    |                   `- error: '_' can only appear in a pattern or on the left side of an assignment
545 |       // We have multiple AsyncIterators iterating the sequence
546 |       preconditionFailure("Internal inconsistency current state \(self.state) and received next()")
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStateMachine.swift:548:92: error: cannot infer contextual base in reference to member 'none'
546 |       preconditionFailure("Internal inconsistency current state \(self.state) and received next()")
547 |
548 |     case .merging(let task, var buffer, let upstreamContinuations, let upstreamsFinished, .none):
    |                                                                                            `- error: cannot infer contextual base in reference to member 'none'
549 |       state = .modifying
550 |
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStateMachine.swift:558:35: error: 'nil' requires a contextual type
556 |           upstreamContinuations: upstreamContinuations,
557 |           upstreamsFinished: upstreamsFinished,
558 |           downstreamContinuation: nil
    |                                   `- error: 'nil' requires a contextual type
559 |         )
560 |
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStateMachine.swift:569:33: error: 'nil' requires a contextual type
567 |         upstreamContinuations: upstreamContinuations,
568 |         upstreamsFinished: upstreamsFinished,
569 |         downstreamContinuation: nil
    |                                 `- error: 'nil' requires a contextual type
570 |       )
571 |
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStateMachine.swift:572:30: error: cannot infer contextual base in reference to member 'success'
570 |       )
571 |
572 |       return .returnElement(.success(element))
    |                              `- error: cannot infer contextual base in reference to member 'success'
573 |
574 |     case .upstreamFailure(var buffer, let error):
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStateMachine.swift:590:30: error: cannot infer contextual base in reference to member 'success'
588 |       )
589 |
590 |       return .returnElement(.success(element))
    |                              `- error: cannot infer contextual base in reference to member 'success'
591 |
592 |     case .finished:
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStateMachine.swift:612:16: error: '_' can only appear in a pattern or on the left side of an assignment
610 |     switch state {
611 |     case .initial,
612 |       .merging(_, _, _, _, .some),
    |                `- error: '_' can only appear in a pattern or on the left side of an assignment
613 |       .upstreamFailure,
614 |       .finished:
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStateMachine.swift:619:80: error: cannot infer contextual base in reference to member 'none'
617 |       preconditionFailure("Internal inconsistency current state \(self.state) and received next(for:)")
618 |
619 |     case let .merging(task, buffer, upstreamContinuations, upstreamsFinished, .none):
    |                                                                                `- error: cannot infer contextual base in reference to member 'none'
620 |       // We suspended the task and need signal the upstreams
621 |       state = .merging(
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStorage.swift:19:9: error: 'Element' is not a member type of type 'Base1'
 17 | >: @unchecked Sendable
 18 | where
 19 |   Base1.Element == Base2.Element,
    |         `- error: 'Element' is not a member type of type 'Base1'
 20 |   Base1.Element == Base3.Element,
 21 |   Base1: Sendable,
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStorage.swift:19:26: error: 'Element' is not a member type of type 'Base2'
 17 | >: @unchecked Sendable
 18 | where
 19 |   Base1.Element == Base2.Element,
    |                          `- error: 'Element' is not a member type of type 'Base2'
 20 |   Base1.Element == Base3.Element,
 21 |   Base1: Sendable,
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStorage.swift:20:9: error: 'Element' is not a member type of type 'Base1'
 18 | where
 19 |   Base1.Element == Base2.Element,
 20 |   Base1.Element == Base3.Element,
    |         `- error: 'Element' is not a member type of type 'Base1'
 21 |   Base1: Sendable,
 22 |   Base2: Sendable,
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStorage.swift:20:26: error: 'Element' is not a member type of type 'Base3'
 18 | where
 19 |   Base1.Element == Base2.Element,
 20 |   Base1.Element == Base3.Element,
    |                          `- error: 'Element' is not a member type of type 'Base3'
 21 |   Base1: Sendable,
 22 |   Base2: Sendable,
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStorage.swift:24:9: error: 'Element' is not a member type of type 'Base1'
 22 |   Base2: Sendable,
 23 |   Base3: Sendable,
 24 |   Base1.Element: Sendable
    |         `- error: 'Element' is not a member type of type 'Base1'
 25 | {
 26 |   typealias Element = Base1.Element
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStorage.swift:26:29: error: 'Element' is not a member type of type 'Base1'
 24 |   Base1.Element: Sendable
 25 | {
 26 |   typealias Element = Base1.Element
    |                             `- error: 'Element' is not a member type of type 'Base1'
 27 |
 28 |   /// The lock that protects our state.
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStorage.swift:62:21: error: 'rethrows' function must take a throwing function argument
 60 |   }
 61 |
 62 |   func next() async rethrows -> Element? {
    |                     `- error: 'rethrows' function must take a throwing function argument
 63 |     // We need to handle cancellation here because we are creating a continuation
 64 |     // and because we need to cancel the `Task` we created to consume the upstream
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStorage.swift:208:25: error: cannot find type 'ThrowingTaskGroup' in scope
206 |   private func iterateAsyncSequence<AsyncSequence: _Concurrency.AsyncSequence>(
207 |     _ base: AsyncSequence,
208 |     in taskGroup: inout ThrowingTaskGroup<Void, Error>
    |                         `- error: cannot find type 'ThrowingTaskGroup' in scope
209 |   ) where AsyncSequence.Element == Base1.Element, AsyncSequence: Sendable {
210 |     // For each upstream sequence we are adding a child task that
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStorage.swift:206:52: error: cannot find type '_Concurrency' in scope
204 |   }
205 |
206 |   private func iterateAsyncSequence<AsyncSequence: _Concurrency.AsyncSequence>(
    |                                                    `- error: cannot find type '_Concurrency' in scope
207 |     _ base: AsyncSequence,
208 |     in taskGroup: inout ThrowingTaskGroup<Void, Error>
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStorage.swift:209:25: error: 'Element' is not a member type of type 'AsyncSequence'
207 |     _ base: AsyncSequence,
208 |     in taskGroup: inout ThrowingTaskGroup<Void, Error>
209 |   ) where AsyncSequence.Element == Base1.Element, AsyncSequence: Sendable {
    |                         `- error: 'Element' is not a member type of type 'AsyncSequence'
210 |     // For each upstream sequence we are adding a child task that
211 |     // is consuming the upstream sequence
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStorage.swift:209:42: error: 'Element' is not a member type of type 'Base1'
207 |     _ base: AsyncSequence,
208 |     in taskGroup: inout ThrowingTaskGroup<Void, Error>
209 |   ) where AsyncSequence.Element == Base1.Element, AsyncSequence: Sendable {
    |                                          `- error: 'Element' is not a member type of type 'Base1'
210 |     // For each upstream sequence we are adding a child task that
211 |     // is consuming the upstream sequence
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStorage.swift:53:59: error: cannot find 'CancellationError' in scope
 51 |       upstreamContinuations
 52 |     ):
 53 |       upstreamContinuations.forEach { $0.resume(throwing: CancellationError()) }
    |                                                           `- error: cannot find 'CancellationError' in scope
 54 |
 55 |       task.cancel()
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStorage.swift:156:16: error: cannot find 'Task' in scope
154 |     // This creates a new `Task` that is iterating the upstream
155 |     // sequences. We must store it to cancel it at the right times.
156 |     let task = Task {
    |                `- error: cannot find 'Task' in scope
157 |       await withThrowingTaskGroup(of: Void.self) { group in
158 |         self.iterateAsyncSequence(base1, in: &group)
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStorage.swift:157:13: error: cannot find 'withThrowingTaskGroup' in scope
155 |     // sequences. We must store it to cancel it at the right times.
156 |     let task = Task {
157 |       await withThrowingTaskGroup(of: Void.self) { group in
    |             `- error: cannot find 'withThrowingTaskGroup' in scope
158 |         self.iterateAsyncSequence(base1, in: &group)
159 |         self.iterateAsyncSequence(base2, in: &group)
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStorage.swift:181:67: error: cannot find 'CancellationError' in scope
179 |               upstreamContinuations
180 |             ):
181 |               upstreamContinuations.forEach { $0.resume(throwing: CancellationError()) }
    |                                                                   `- error: cannot find 'CancellationError' in scope
182 |
183 |               task.cancel()
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStorage.swift:190:67: error: cannot find 'CancellationError' in scope
188 |               upstreamContinuations
189 |             ):
190 |               upstreamContinuations.forEach { $0.resume(throwing: CancellationError()) }
    |                                                                   `- error: cannot find 'CancellationError' in scope
191 |
192 |               task.cancel()
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStorage.swift:220:19: error: cannot find 'withUnsafeThrowingContinuation' in scope
218 |         // element from upstream. This continuation is only resumed
219 |         // if the downstream consumer called `next` to signal his demand.
220 |         try await withUnsafeThrowingContinuation { continuation in
    |                   `- error: cannot find 'withUnsafeThrowingContinuation' in scope
221 |           let action = self.lock.withLock {
222 |             self.stateMachine.childTaskSuspended(continuation)
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStorage.swift:273:65: error: cannot find 'CancellationError' in scope
271 |             upstreamContinuations
272 |           ):
273 |             upstreamContinuations.forEach { $0.resume(throwing: CancellationError()) }
    |                                                                 `- error: cannot find 'CancellationError' in scope
274 |             task.cancel()
275 |
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStorage.swift:284:65: error: cannot find 'CancellationError' in scope
282 |             upstreamContinuations
283 |           ):
284 |             upstreamContinuations.forEach { $0.resume(throwing: CancellationError()) }
    |                                                                 `- error: cannot find 'CancellationError' in scope
285 |             task.cancel()
286 |
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Merge/MergeStorage.swift:213:27: error: value of type 'AsyncSequence' has no member 'makeAsyncIterator'
211 |     // is consuming the upstream sequence
212 |     taskGroup.addTask {
213 |       var iterator = base.makeAsyncIterator()
    |                           `- error: value of type 'AsyncSequence' has no member 'makeAsyncIterator'
214 |
215 |       // This is our upstream consumption loop
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel+Internal.swift:119:24: error: cannot find type 'Mutex' in scope
 117 |   final class _Storage: Sendable {
 118 |     @usableFromInline
 119 |     let _stateMachine: Mutex<_StateMachine>
     |                        `- error: cannot find type 'Mutex' in scope
 120 |
 121 |     @inlinable
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel+Internal.swift:293:21: error: cannot find type 'UnsafeContinuation' in scope
 291 |     func enqueueProducer(
 292 |       callbackToken: UInt64,
 293 |       continuation: UnsafeContinuation<Void, any Error>
     |                     `- error: cannot find type 'UnsafeContinuation' in scope
 294 |     ) {
 295 |       let action = self._stateMachine.withLock {
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel+Internal.swift:394:40: error: cannot find type 'Actor' in scope
 392 |
 393 |     @inlinable
 394 |     func next(isolation: isolated (any Actor)? = #isolation) async throws -> Element? {
     |                                        `- error: cannot find type 'Actor' in scope
 395 |       let action = self._stateMachine.withLock {
 396 |         $0.next()
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel+Internal.swift:434:47: error: cannot find type 'Actor' in scope
 432 |
 433 |     @inlinable
 434 |     func suspendNext(isolation: isolated (any Actor)? = #isolation) async throws -> Element? {
     |                                               `- error: cannot find type 'Actor' in scope
 435 |       try await withTaskCancellationHandler {
 436 |         try await withUnsafeThrowingContinuation { (continuation: UnsafeContinuation<Element?, Error>) in
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel+Internal.swift:622:31: error: cannot find type 'UnsafeContinuation' in scope
 620 |       /// should be resumed with an error and `onTermination`s should be called.
 621 |       case resumeConsumerAndCallOnTerminations(
 622 |         consumerContinuation: UnsafeContinuation<Element?, Error>,
     |                               `- error: cannot find type 'UnsafeContinuation' in scope
 623 |         failure: Failure?,
 624 |         onTerminations: _TinyArray<(UInt64, @Sendable () -> Void)>
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel+Internal.swift:1720:21: error: cannot find type 'UnsafeContinuation' in scope
1718 | enum _MultiProducerSingleConsumerSuspendedProducer {
1719 |   case closure((Result<Void, Error>) -> Void)
1720 |   case continuation(UnsafeContinuation<Void, Error>)
     |                     `- error: cannot find type 'UnsafeContinuation' in scope
1721 | }
1722 |
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel+Internal.swift:954:23: error: cannot find type 'UnsafeContinuation' in scope
 952 |       /// Indicates that the consumer should be resumed and the producer should be notified to produce more.
 953 |       case resumeConsumerAndReturnProduceMore(
 954 |         continuation: UnsafeContinuation<Element?, Error>,
     |                       `- error: cannot find type 'UnsafeContinuation' in scope
 955 |         element: SendableConsumeOnceBox<Element>
 956 |       )
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel+Internal.swift:959:23: error: cannot find type 'UnsafeContinuation' in scope
 957 |       /// Indicates that the consumer should be resumed and the producer should be suspended.
 958 |       case resumeConsumerAndReturnEnqueue(
 959 |         continuation: UnsafeContinuation<Element?, Error>,
     |                       `- error: cannot find type 'UnsafeContinuation' in scope
 960 |         element: SendableConsumeOnceBox<Element>,
 961 |         callbackToken: UInt64
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel+Internal.swift:1102:27: error: cannot find type 'UnsafeContinuation' in scope
1100 |     enum EnqueueContinuationAction {
1101 |       /// Indicates that the producer should be notified to produce more.
1102 |       case resumeProducer(UnsafeContinuation<Void, any Error>)
     |                           `- error: cannot find type 'UnsafeContinuation' in scope
1103 |       /// Indicates that the producer should be notified about an error.
1104 |       case resumeProducerWithError(UnsafeContinuation<Void, any Error>, Error)
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel+Internal.swift:1104:36: error: cannot find type 'UnsafeContinuation' in scope
1102 |       case resumeProducer(UnsafeContinuation<Void, any Error>)
1103 |       /// Indicates that the producer should be notified about an error.
1104 |       case resumeProducerWithError(UnsafeContinuation<Void, any Error>, Error)
     |                                    `- error: cannot find type 'UnsafeContinuation' in scope
1105 |     }
1106 |
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel+Internal.swift:1110:21: error: cannot find type 'UnsafeContinuation' in scope
1108 |     mutating func enqueueContinuation(
1109 |       callbackToken: UInt64,
1110 |       continuation: UnsafeContinuation<Void, any Error>
     |                     `- error: cannot find type 'UnsafeContinuation' in scope
1111 |     ) -> EnqueueContinuationAction? {
1112 |       switch consume self._state {
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel+Internal.swift:1199:31: error: cannot find type 'UnsafeContinuation' in scope
1197 |       /// should be resumed with an error and `onTermination`s should be called.
1198 |       case resumeConsumerAndCallOnTerminations(
1199 |         consumerContinuation: UnsafeContinuation<Element?, Error>,
     |                               `- error: cannot find type 'UnsafeContinuation' in scope
1200 |         failure: Failure?,
1201 |         onTerminations: _TinyArray<(UInt64, @Sendable () -> Void)>
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel+Internal.swift:1356:38: error: cannot find type 'UnsafeContinuation' in scope
1354 |     enum SuspendNextAction: ~Copyable {
1355 |       /// Indicates that the consumer should be resumed.
1356 |       case resumeConsumerWithElement(UnsafeContinuation<Element?, Error>, SendableConsumeOnceBox<Element>)
     |                                      `- error: cannot find type 'UnsafeContinuation' in scope
1357 |       /// Indicates that the consumer and all producers should be resumed.
1358 |       case resumeConsumerWithElementAndProducers(
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel+Internal.swift:1359:9: error: cannot find type 'UnsafeContinuation' in scope
1357 |       /// Indicates that the consumer and all producers should be resumed.
1358 |       case resumeConsumerWithElementAndProducers(
1359 |         UnsafeContinuation<Element?, Error>,
     |         `- error: cannot find type 'UnsafeContinuation' in scope
1360 |         SendableConsumeOnceBox<Element>,
1361 |         _TinyArray<_MultiProducerSingleConsumerSuspendedProducer>
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel+Internal.swift:1365:9: error: cannot find type 'UnsafeContinuation' in scope
1363 |       /// Indicates that the consumer should be resumed with the failure and that `onTermination`s should be called.
1364 |       case resumeConsumerWithFailureAndCallOnTerminations(
1365 |         UnsafeContinuation<Element?, Error>,
     |         `- error: cannot find type 'UnsafeContinuation' in scope
1366 |         Failure?,
1367 |         _TinyArray<(UInt64, @Sendable () -> Void)>
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel+Internal.swift:1370:34: error: cannot find type 'UnsafeContinuation' in scope
1368 |       )
1369 |       /// Indicates that the consumer should be resumed with `nil`.
1370 |       case resumeConsumerWithNil(UnsafeContinuation<Element?, Error>)
     |                                  `- error: cannot find type 'UnsafeContinuation' in scope
1371 |     }
1372 |
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel+Internal.swift:1374:45: error: cannot find type 'UnsafeContinuation' in scope
1372 |
1373 |     @inlinable
1374 |     mutating func suspendNext(continuation: UnsafeContinuation<Element?, Error>) -> SuspendNextAction? {
     |                                             `- error: cannot find type 'UnsafeContinuation' in scope
1375 |       switch consume self._state {
1376 |       case .channeling(var channeling):
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel+Internal.swift:1448:9: error: cannot find type 'UnsafeContinuation' in scope
1446 |       /// Indicates that the continuation should be resumed with nil, the producers should be finished and call onTerminations.
1447 |       case resumeConsumerWithNilAndCallOnTerminations(
1448 |         UnsafeContinuation<Element?, Error>,
     |         `- error: cannot find type 'UnsafeContinuation' in scope
1449 |         _TinyArray<(UInt64, @Sendable () -> Void)>
1450 |       )
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel+Internal.swift:1529:33: error: cannot find type 'UnsafeContinuation' in scope
1527 |       /// The optional consumer continuation.
1528 |       @usableFromInline
1529 |       var consumerContinuation: UnsafeContinuation<Element?, Error>?
     |                                 `- error: cannot find type 'UnsafeContinuation' in scope
1530 |
1531 |       /// The producer continuations.
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel+Internal.swift:1566:31: error: cannot find type 'UnsafeContinuation' in scope
1564 |         onTerminations: _TinyArray<(UInt64, @Sendable () -> Void)> = .init(),
1565 |         buffer: Deque<SendableConsumeOnceBox<Element>>,
1566 |         consumerContinuation: UnsafeContinuation<Element?, Error>? = nil,
     |                               `- error: cannot find type 'UnsafeContinuation' in scope
1567 |         producerContinuations: Deque<(UInt64, _MultiProducerSingleConsumerSuspendedProducer)>,
1568 |         cancelledAsyncProducers: Deque<UInt64>,
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel+Internal.swift:125:28: error: cannot find 'Mutex' in scope
 123 |       backpressureStrategy: _InternalBackpressureStrategy
 124 |     ) {
 125 |       self._stateMachine = Mutex<_StateMachine>(_StateMachine(backpressureStrategy: backpressureStrategy))
     |                            `- error: cannot find 'Mutex' in scope
 126 |     }
 127 |
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel+Internal.swift:157:28: error: cannot infer contextual base in reference to member 'failure'
 155 |           switch producerContinuation {
 156 |           case .closure(let onProduceMore):
 157 |             onProduceMore(.failure(MultiProducerSingleConsumerAsyncChannelAlreadyFinishedError()))
     |                            `- error: cannot infer contextual base in reference to member 'failure'
 158 |           case .continuation(let continuation):
 159 |             continuation.resume(throwing: MultiProducerSingleConsumerAsyncChannelAlreadyFinishedError())
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel+Internal.swift:188:28: error: cannot infer contextual base in reference to member 'failure'
 186 |           switch producerContinuation {
 187 |           case .closure(let onProduceMore):
 188 |             onProduceMore(.failure(MultiProducerSingleConsumerAsyncChannelAlreadyFinishedError()))
     |                            `- error: cannot infer contextual base in reference to member 'failure'
 189 |           case .continuation(let continuation):
 190 |             continuation.resume(throwing: MultiProducerSingleConsumerAsyncChannelAlreadyFinishedError())
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel+Internal.swift:219:28: error: cannot infer contextual base in reference to member 'failure'
 217 |           switch producerContinuation {
 218 |           case .closure(let onProduceMore):
 219 |             onProduceMore(.failure(MultiProducerSingleConsumerAsyncChannelAlreadyFinishedError()))
     |                            `- error: cannot infer contextual base in reference to member 'failure'
 220 |           case .continuation(let continuation):
 221 |             continuation.resume(throwing: MultiProducerSingleConsumerAsyncChannelAlreadyFinishedError())
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel+Internal.swift:248:50: error: 'nil' requires a contextual type
 246 |           consumerContinuation.resume(throwing: error)
 247 |         case .none:
 248 |           consumerContinuation.resume(returning: nil)
     |                                                  `- error: 'nil' requires a contextual type
 249 |         }
 250 |
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel+Internal.swift:348:34: error: cannot find 'CancellationError' in scope
 346 |         switch onProduceMore {
 347 |         case .closure(let onProduceMore):
 348 |           onProduceMore(.failure(CancellationError()))
     |                                  `- error: cannot find 'CancellationError' in scope
 349 |         case .continuation(let continuation):
 350 |           continuation.resume(throwing: CancellationError())
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel+Internal.swift:348:26: error: cannot infer contextual base in reference to member 'failure'
 346 |         switch onProduceMore {
 347 |         case .closure(let onProduceMore):
 348 |           onProduceMore(.failure(CancellationError()))
     |                          `- error: cannot infer contextual base in reference to member 'failure'
 349 |         case .continuation(let continuation):
 350 |           continuation.resume(throwing: CancellationError())
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel+Internal.swift:350:41: error: cannot find 'CancellationError' in scope
 348 |           onProduceMore(.failure(CancellationError()))
 349 |         case .continuation(let continuation):
 350 |           continuation.resume(throwing: CancellationError())
     |                                         `- error: cannot find 'CancellationError' in scope
 351 |         }
 352 |
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel+Internal.swift:373:50: error: 'nil' requires a contextual type
 371 |           consumerContinuation.resume(throwing: error)
 372 |         case .none:
 373 |           consumerContinuation.resume(returning: nil)
     |                                                  `- error: 'nil' requires a contextual type
 374 |         }
 375 |
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel+Internal.swift:382:28: error: cannot infer contextual base in reference to member 'failure'
 380 |           switch producerContinuation {
 381 |           case .closure(let onProduceMore):
 382 |             onProduceMore(.failure(MultiProducerSingleConsumerAsyncChannelAlreadyFinishedError()))
     |                            `- error: cannot infer contextual base in reference to member 'failure'
 383 |           case .continuation(let continuation):
 384 |             continuation.resume(throwing: MultiProducerSingleConsumerAsyncChannelAlreadyFinishedError())
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel+Internal.swift:407:28: error: cannot infer contextual base in reference to member 'success'
 405 |           switch producerContinuation {
 406 |           case .closure(let onProduceMore):
 407 |             onProduceMore(.success(()))
     |                            `- error: cannot infer contextual base in reference to member 'success'
 408 |           case .continuation(let continuation):
 409 |             continuation.resume()
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel+Internal.swift:435:17: error: cannot find 'withTaskCancellationHandler' in scope
 433 |     @inlinable
 434 |     func suspendNext(isolation: isolated (any Actor)? = #isolation) async throws -> Element? {
 435 |       try await withTaskCancellationHandler {
     |                 `- error: cannot find 'withTaskCancellationHandler' in scope
 436 |         try await withUnsafeThrowingContinuation { (continuation: UnsafeContinuation<Element?, Error>) in
 437 |           let action = self._stateMachine.withLock {
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel+Internal.swift:436:19: error: cannot find 'withUnsafeThrowingContinuation' in scope
 434 |     func suspendNext(isolation: isolated (any Actor)? = #isolation) async throws -> Element? {
 435 |       try await withTaskCancellationHandler {
 436 |         try await withUnsafeThrowingContinuation { (continuation: UnsafeContinuation<Element?, Error>) in
     |                   `- error: cannot find 'withUnsafeThrowingContinuation' in scope
 437 |           let action = self._stateMachine.withLock {
 438 |             $0.suspendNext(continuation: continuation)
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel+Internal.swift:436:67: error: cannot find type 'UnsafeContinuation' in scope
 434 |     func suspendNext(isolation: isolated (any Actor)? = #isolation) async throws -> Element? {
 435 |       try await withTaskCancellationHandler {
 436 |         try await withUnsafeThrowingContinuation { (continuation: UnsafeContinuation<Element?, Error>) in
     |                                                                   `- error: cannot find type 'UnsafeContinuation' in scope
 437 |           let action = self._stateMachine.withLock {
 438 |             $0.suspendNext(continuation: continuation)
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel+Internal.swift:528:20: error: cannot infer contextual base in reference to member 'init'
 526 |           iteratorInitialized: false,
 527 |           sequenceInitialized: false,
 528 |           buffer: .init(),
     |                    `- error: cannot infer contextual base in reference to member 'init'
 529 |           producerContinuations: .init(),
 530 |           cancelledAsyncProducers: .init(),
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel+Internal.swift:529:35: error: cannot infer contextual base in reference to member 'init'
 527 |           sequenceInitialized: false,
 528 |           buffer: .init(),
 529 |           producerContinuations: .init(),
     |                                   `- error: cannot infer contextual base in reference to member 'init'
 530 |           cancelledAsyncProducers: .init(),
 531 |           hasOutstandingDemand: true,
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel+Internal.swift:530:37: error: cannot infer contextual base in reference to member 'init'
 528 |           buffer: .init(),
 529 |           producerContinuations: .init(),
 530 |           cancelledAsyncProducers: .init(),
     |                                     `- error: cannot infer contextual base in reference to member 'init'
 531 |           hasOutstandingDemand: true,
 532 |           activeProducers: 0,
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel+Internal.swift:675:17: error: type 'MultiProducerSingleConsumerAsyncChannel<Element, Failure>._Storage._StateMachine.SourceDeinitialized?' has no member 'resumeConsumerAndCallOnTerminations'
 673 |         )
 674 |
 675 |         return .resumeConsumerAndCallOnTerminations(
     |                 `- error: type 'MultiProducerSingleConsumerAsyncChannel<Element, Failure>._Storage._StateMachine.SourceDeinitialized?' has no member 'resumeConsumerAndCallOnTerminations'
 676 |           consumerContinuation: consumerContinuation,
 677 |           failure: nil,
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel+Internal.swift:677:20: error: 'nil' requires a contextual type
 675 |         return .resumeConsumerAndCallOnTerminations(
 676 |           consumerContinuation: consumerContinuation,
 677 |           failure: nil,
     |                    `- error: 'nil' requires a contextual type
 678 |           onTerminations: channeling.onTerminations
 679 |         )
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel+Internal.swift:1069:58: error: cannot find 'CancellationError' in scope
1067 |           self = .init(state: .channeling(channeling))
1068 |
1069 |           return .resumeProducerWithError(onProduceMore, CancellationError())
     |                                                          `- error: cannot find 'CancellationError' in scope
1070 |         } else if channeling.hasOutstandingDemand {
1071 |           // We hit an edge case here where we wrote but the consuming thread got interleaved
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel+Internal.swift:1119:57: error: cannot find 'CancellationError' in scope
1117 |           self = .init(state: .channeling(channeling))
1118 |
1119 |           return .resumeProducerWithError(continuation, CancellationError())
     |                                                         `- error: cannot find 'CancellationError' in scope
1120 |         } else if channeling.hasOutstandingDemand {
1121 |           // We hit an edge case here where we wrote but the consuming thread got interleaved
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel+Internal.swift:1119:19: error: type 'MultiProducerSingleConsumerAsyncChannel<Element, Failure>._Storage._StateMachine.EnqueueContinuationAction?' has no member 'resumeProducerWithError'
1117 |           self = .init(state: .channeling(channeling))
1118 |
1119 |           return .resumeProducerWithError(continuation, CancellationError())
     |                   `- error: type 'MultiProducerSingleConsumerAsyncChannel<Element, Failure>._Storage._StateMachine.EnqueueContinuationAction?' has no member 'resumeProducerWithError'
1120 |         } else if channeling.hasOutstandingDemand {
1121 |           // We hit an edge case here where we wrote but the consuming thread got interleaved
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel+Internal.swift:1124:19: error: type 'MultiProducerSingleConsumerAsyncChannel<Element, Failure>._Storage._StateMachine.EnqueueContinuationAction?' has no member 'resumeProducer'
1122 |           self = .init(state: .channeling(channeling))
1123 |
1124 |           return .resumeProducer(continuation)
     |                   `- error: type 'MultiProducerSingleConsumerAsyncChannel<Element, Failure>._Storage._StateMachine.EnqueueContinuationAction?' has no member 'resumeProducer'
1125 |         } else {
1126 |           channeling.suspendedProducers.append((callbackToken, .continuation(continuation)))
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel+Internal.swift:1126:41: error: no exact matches in call to instance method 'append'
1124 |           return .resumeProducer(continuation)
1125 |         } else {
1126 |           channeling.suspendedProducers.append((callbackToken, .continuation(continuation)))
     |                                         |- error: no exact matches in call to instance method 'append'
     |                                         `- note: found candidate with type '(__owned _) -> ()'
1127 |           self = .init(state: .channeling(channeling))
1128 |
/host/spi-builder-workspace/.build/checkouts/swift-collections/Sources/DequeModule/Deque+Collection.swift:682:24: note: found this candidate
680 |   /// - Complexity: Amortized O(`newElements.count`).
681 |   @inlinable
682 |   public mutating func append(contentsOf newElements: some Sequence<Element>) {
    |                        `- note: found this candidate
683 |     let done: Void? = newElements.withContiguousStorageIfAvailable { source in
684 |       _storage.ensureUnique(minimumCapacity: count + source.count)
    :
722 |   /// - Complexity: Amortized O(`newElements.count`).
723 |   @inlinable
724 |   public mutating func append(
    |                        `- note: found this candidate
725 |     contentsOf newElements: some Collection<Element>
726 |   ) {
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel+Internal.swift:1126:65: error: cannot infer contextual base in reference to member 'continuation'
1124 |           return .resumeProducer(continuation)
1125 |         } else {
1126 |           channeling.suspendedProducers.append((callbackToken, .continuation(continuation)))
     |                                                                 `- error: cannot infer contextual base in reference to member 'continuation'
1127 |           self = .init(state: .channeling(channeling))
1128 |
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel+Internal.swift:1137:17: error: type 'MultiProducerSingleConsumerAsyncChannel<Element, Failure>._Storage._StateMachine.EnqueueContinuationAction?' has no member 'resumeProducerWithError'
1135 |         self = .init(state: .sourceFinished(sourceFinished))
1136 |
1137 |         return .resumeProducerWithError(continuation, MultiProducerSingleConsumerAsyncChannelAlreadyFinishedError())
     |                 `- error: type 'MultiProducerSingleConsumerAsyncChannel<Element, Failure>._Storage._StateMachine.EnqueueContinuationAction?' has no member 'resumeProducerWithError'
1138 |
1139 |       case .finished(let finished):
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel+Internal.swift:1144:17: error: type 'MultiProducerSingleConsumerAsyncChannel<Element, Failure>._Storage._StateMachine.EnqueueContinuationAction?' has no member 'resumeProducerWithError'
1142 |         self = .init(state: .finished(finished))
1143 |
1144 |         return .resumeProducerWithError(continuation, MultiProducerSingleConsumerAsyncChannelAlreadyFinishedError())
     |                 `- error: type 'MultiProducerSingleConsumerAsyncChannel<Element, Failure>._Storage._StateMachine.EnqueueContinuationAction?' has no member 'resumeProducerWithError'
1145 |       }
1146 |     }
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel+Internal.swift:1248:17: error: type 'MultiProducerSingleConsumerAsyncChannel<Element, Failure>._Storage._StateMachine.FinishAction?' has no member 'resumeConsumerAndCallOnTerminations'
1246 |         )
1247 |
1248 |         return .resumeConsumerAndCallOnTerminations(
     |                 `- error: type 'MultiProducerSingleConsumerAsyncChannel<Element, Failure>._Storage._StateMachine.FinishAction?' has no member 'resumeConsumerAndCallOnTerminations'
1249 |           consumerContinuation: consumerContinuation,
1250 |           failure: failure,
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel+Internal.swift:1399:19: error: type 'MultiProducerSingleConsumerAsyncChannel<Element, Failure>._Storage._StateMachine.SuspendNextAction?' has no member 'resumeConsumerWithElement'
1397 |           self = .init(state: .channeling(channeling))
1398 |
1399 |           return .resumeConsumerWithElement(continuation, element)
     |                   `- error: type 'MultiProducerSingleConsumerAsyncChannel<Element, Failure>._Storage._StateMachine.SuspendNextAction?' has no member 'resumeConsumerWithElement'
1400 |         }
1401 |         // There is demand and we have to resume our producers
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel+Internal.swift:1406:17: error: type 'MultiProducerSingleConsumerAsyncChannel<Element, Failure>._Storage._StateMachine.SuspendNextAction?' has no member 'resumeConsumerWithElementAndProducers'
1404 |         self = .init(state: .channeling(channeling))
1405 |
1406 |         return .resumeConsumerWithElementAndProducers(
     |                 `- error: type 'MultiProducerSingleConsumerAsyncChannel<Element, Failure>._Storage._StateMachine.SuspendNextAction?' has no member 'resumeConsumerWithElementAndProducers'
1407 |           continuation,
1408 |           element,
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel+Internal.swift:1426:19: error: type 'MultiProducerSingleConsumerAsyncChannel<Element, Failure>._Storage._StateMachine.SuspendNextAction?' has no member 'resumeConsumerWithFailureAndCallOnTerminations'
1424 |           )
1425 |
1426 |           return .resumeConsumerWithFailureAndCallOnTerminations(
     |                   `- error: type 'MultiProducerSingleConsumerAsyncChannel<Element, Failure>._Storage._StateMachine.SuspendNextAction?' has no member 'resumeConsumerWithFailureAndCallOnTerminations'
1427 |             continuation,
1428 |             sourceFinished.failure,
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel+Internal.swift:1434:17: error: type 'MultiProducerSingleConsumerAsyncChannel<Element, Failure>._Storage._StateMachine.SuspendNextAction?' has no member 'resumeConsumerWithElement'
1432 |         self = .init(state: .sourceFinished(sourceFinished))
1433 |
1434 |         return .resumeConsumerWithElement(continuation, element)
     |                 `- error: type 'MultiProducerSingleConsumerAsyncChannel<Element, Failure>._Storage._StateMachine.SuspendNextAction?' has no member 'resumeConsumerWithElement'
1435 |
1436 |       case .finished(let finished):
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel+Internal.swift:1439:17: error: type 'MultiProducerSingleConsumerAsyncChannel<Element, Failure>._Storage._StateMachine.SuspendNextAction?' has no member 'resumeConsumerWithNil'
1437 |         self = .init(state: .finished(finished))
1438 |
1439 |         return .resumeConsumerWithNil(continuation)
     |                 `- error: type 'MultiProducerSingleConsumerAsyncChannel<Element, Failure>._Storage._StateMachine.SuspendNextAction?' has no member 'resumeConsumerWithNil'
1440 |       }
1441 |     }
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel+Internal.swift:1482:17: error: type 'MultiProducerSingleConsumerAsyncChannel<Element, Failure>._Storage._StateMachine.CancelNextAction?' has no member 'resumeConsumerWithNilAndCallOnTerminations'
1480 |           "Internal inconsistency. Unexpected producer continuations."
1481 |         )
1482 |         return .resumeConsumerWithNilAndCallOnTerminations(
     |                 `- error: type 'MultiProducerSingleConsumerAsyncChannel<Element, Failure>._Storage._StateMachine.CancelNextAction?' has no member 'resumeConsumerWithNilAndCallOnTerminations'
1483 |           consumerContinuation,
1484 |           channeling.onTerminations
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel.swift:205:30: error: cannot find type 'Actor' in scope
203 |   @inlinable
204 |   public mutating func next(
205 |     isolation: isolated (any Actor)? = #isolation
    |                              `- error: cannot find type 'Actor' in scope
206 |   ) async throws(Failure) -> Element? {
207 |     do {
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel.swift:531:36: error: cannot find type 'AsyncSequence' in scope
529 |     @inlinable
530 |     public mutating nonisolated(nonsending) func send<S>(contentsOf sequence: consuming sending S) async throws
531 |     where Element == S.Element, S: AsyncSequence, Element: Copyable, S: Sendable, Element: Sendable {
    |                                    `- error: cannot find type 'AsyncSequence' in scope
532 |       for try await element in sequence {
533 |         try await self.send(contentsOf: CollectionOfOne(element))
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel.swift:531:24: error: 'Element' is not a member type of type 'S'
529 |     @inlinable
530 |     public mutating nonisolated(nonsending) func send<S>(contentsOf sequence: consuming sending S) async throws
531 |     where Element == S.Element, S: AsyncSequence, Element: Copyable, S: Sendable, Element: Sendable {
    |                        `- error: 'Element' is not a member type of type 'S'
532 |       for try await element in sequence {
533 |         try await self.send(contentsOf: CollectionOfOne(element))
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel.swift:645:32: error: cannot find type 'AsyncSequence' in scope
643 | @available(AsyncAlgorithms 1.1, *)
644 | extension MultiProducerSingleConsumerAsyncChannel where Element: Copyable {
645 |   struct ChannelAsyncSequence: AsyncSequence {
    |                                `- error: cannot find type 'AsyncSequence' in scope
646 |     @usableFromInline
647 |     final class _Backing: Sendable {
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel.swift:673:45: error: cannot find type 'AsyncSequence' in scope
671 |   /// - Important: The returned asynchronous sequence only supports a single iterator to be created and
672 |   /// will fatal error at runtime on subsequent calls to `makeAsyncIterator`.
673 |   public consuming func elements() -> some (AsyncSequence<Element, Failure> & Sendable) {
    |                                             `- error: cannot find type 'AsyncSequence' in scope
674 |     ChannelAsyncSequence(_backing: .init(storage: self.storage))
675 |   }
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel.swift:673:39: error: 'some' types are only permitted in properties, subscripts, and functions
671 |   /// - Important: The returned asynchronous sequence only supports a single iterator to be created and
672 |   /// will fatal error at runtime on subsequent calls to `makeAsyncIterator`.
673 |   public consuming func elements() -> some (AsyncSequence<Element, Failure> & Sendable) {
    |                                       `- error: 'some' types are only permitted in properties, subscripts, and functions
674 |     ChannelAsyncSequence(_backing: .init(storage: self.storage))
675 |   }
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel.swift:714:38: error: cannot find type 'Actor' in scope
712 |     @inlinable
713 |     mutating func next(
714 |       isolation actor: isolated (any Actor)? = #isolation
    |                                      `- error: cannot find type 'Actor' in scope
715 |     ) async throws(Failure) -> Element? {
716 |       do {
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel.swift:680:20: error: cannot find type 'AsyncIteratorProtocol' in scope
678 | @available(AsyncAlgorithms 1.1, *)
679 | extension MultiProducerSingleConsumerAsyncChannel.ChannelAsyncSequence where Element: Copyable {
680 |   struct Iterator: AsyncIteratorProtocol {
    |                    `- error: cannot find type 'AsyncIteratorProtocol' in scope
681 |     @usableFromInline
682 |     final class _Backing {
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel.swift:473:19: error: cannot find 'withTaskCancellationHandler' in scope
471 |         let id = callbackToken._id
472 |         let storage = self._storage
473 |         try await withTaskCancellationHandler {
    |                   `- error: cannot find 'withTaskCancellationHandler' in scope
474 |           try await withUnsafeThrowingContinuation { continuation in
475 |             self._storage.enqueueProducer(
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel.swift:474:21: error: cannot find 'withUnsafeThrowingContinuation' in scope
472 |         let storage = self._storage
473 |         try await withTaskCancellationHandler {
474 |           try await withUnsafeThrowingContinuation { continuation in
    |                     `- error: cannot find 'withUnsafeThrowingContinuation' in scope
475 |             self._storage.enqueueProducer(
476 |               callbackToken: id,
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel.swift:475:42: error: incorrect argument label in call (have 'callbackToken:continuation:', expected 'callbackToken:onProduceMore:')
473 |         try await withTaskCancellationHandler {
474 |           try await withUnsafeThrowingContinuation { continuation in
475 |             self._storage.enqueueProducer(
    |                                          `- error: incorrect argument label in call (have 'callbackToken:continuation:', expected 'callbackToken:onProduceMore:')
476 |               callbackToken: id,
477 |               continuation: continuation
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel.swift:508:19: error: cannot find 'withTaskCancellationHandler' in scope
506 |         let id = callbackHandle._id
507 |         let storage = self._storage
508 |         try await withTaskCancellationHandler {
    |                   `- error: cannot find 'withTaskCancellationHandler' in scope
509 |           try await withUnsafeThrowingContinuation { continuation in
510 |             self._storage.enqueueProducer(
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel.swift:509:21: error: cannot find 'withUnsafeThrowingContinuation' in scope
507 |         let storage = self._storage
508 |         try await withTaskCancellationHandler {
509 |           try await withUnsafeThrowingContinuation { continuation in
    |                     `- error: cannot find 'withUnsafeThrowingContinuation' in scope
510 |             self._storage.enqueueProducer(
511 |               callbackToken: id,
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel.swift:510:42: error: incorrect argument label in call (have 'callbackToken:continuation:', expected 'callbackToken:onProduceMore:')
508 |         try await withTaskCancellationHandler {
509 |           try await withUnsafeThrowingContinuation { continuation in
510 |             self._storage.enqueueProducer(
    |                                          `- error: incorrect argument label in call (have 'callbackToken:continuation:', expected 'callbackToken:onProduceMore:')
511 |               callbackToken: id,
512 |               continuation: continuation
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel.swift:532:7: error: missing protocol 'AsyncSequence'
530 |     public mutating nonisolated(nonsending) func send<S>(contentsOf sequence: consuming sending S) async throws
531 |     where Element == S.Element, S: AsyncSequence, Element: Copyable, S: Sendable, Element: Sendable {
532 |       for try await element in sequence {
    |       `- error: missing protocol 'AsyncSequence'
533 |         try await self.send(contentsOf: CollectionOfOne(element))
534 |       }
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerAsyncChannel.swift:706:64: error: 'nil' requires a contextual type
704 |     mutating func next() async throws -> Element? {
705 |       do {
706 |         return try await self._backing.storage.next(isolation: nil)
    |                                                                `- error: 'nil' requires a contextual type
707 |       } catch {
708 |         throw error as! Failure
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/RangeReplaceableCollection.swift:18:84: error: 'Element' is not a member type of type 'Source'
16 |   /// - Parameter source: The asynchronous sequence of elements for the new collection.
17 |   @inlinable
18 |   public init<Source: AsyncSequence>(_ source: Source) async rethrows where Source.Element == Element {
   |                                                                                    `- error: 'Element' is not a member type of type 'Source'
19 |     self.init()
20 |     for try await item in source {
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/RangeReplaceableCollection.swift:18:62: error: 'rethrows' function must take a throwing function argument
16 |   /// - Parameter source: The asynchronous sequence of elements for the new collection.
17 |   @inlinable
18 |   public init<Source: AsyncSequence>(_ source: Source) async rethrows where Source.Element == Element {
   |                                                              `- error: 'rethrows' function must take a throwing function argument
19 |     self.init()
20 |     for try await item in source {
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/RangeReplaceableCollection.swift:20:5: error: missing protocol 'AsyncSequence'
18 |   public init<Source: AsyncSequence>(_ source: Source) async rethrows where Source.Element == Element {
19 |     self.init()
20 |     for try await item in source {
   |     `- error: missing protocol 'AsyncSequence'
21 |       append(item)
22 |     }
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/SetAlgebra.swift:20:23: error: cannot find type 'AsyncSequence' in scope
18 |   /// - Parameter source: The elements to use as members of the new set.
19 |   @inlinable
20 |   public init<Source: AsyncSequence>(_ source: Source) async rethrows where Source.Element == Element {
   |                       `- error: cannot find type 'AsyncSequence' in scope
21 |     self.init()
22 |     for try await item in source {
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/SetAlgebra.swift:20:84: error: 'Element' is not a member type of type 'Source'
18 |   /// - Parameter source: The elements to use as members of the new set.
19 |   @inlinable
20 |   public init<Source: AsyncSequence>(_ source: Source) async rethrows where Source.Element == Element {
   |                                                                                    `- error: 'Element' is not a member type of type 'Source'
21 |     self.init()
22 |     for try await item in source {
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/SetAlgebra.swift:20:62: error: 'rethrows' function must take a throwing function argument
18 |   /// - Parameter source: The elements to use as members of the new set.
19 |   @inlinable
20 |   public init<Source: AsyncSequence>(_ source: Source) async rethrows where Source.Element == Element {
   |                                                              `- error: 'rethrows' function must take a throwing function argument
21 |     self.init()
22 |     for try await item in source {
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/SetAlgebra.swift:22:5: error: missing protocol 'AsyncSequence'
20 |   public init<Source: AsyncSequence>(_ source: Source) async rethrows where Source.Element == Element {
21 |     self.init()
22 |     for try await item in source {
   |     `- error: missing protocol 'AsyncSequence'
23 |       insert(item)
24 |     }
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/AsyncZip2Sequence.swift:15:24: error: cannot find type 'AsyncSequence' in scope
13 | /// and emits a tuple of the values.
14 | @available(AsyncAlgorithms 1.0, *)
15 | public func zip<Base1: AsyncSequence, Base2: AsyncSequence>(
   |                        `- error: cannot find type 'AsyncSequence' in scope
16 |   _ base1: Base1,
17 |   _ base2: Base2
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/AsyncZip2Sequence.swift:15:46: error: cannot find type 'AsyncSequence' in scope
13 | /// and emits a tuple of the values.
14 | @available(AsyncAlgorithms 1.0, *)
15 | public func zip<Base1: AsyncSequence, Base2: AsyncSequence>(
   |                                              `- error: cannot find type 'AsyncSequence' in scope
16 |   _ base1: Base1,
17 |   _ base2: Base2
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/AsyncZip2Sequence.swift:25:40: error: cannot find type 'AsyncSequence' in scope
23 | /// and emits a tuple of the values.
24 | @available(AsyncAlgorithms 1.0, *)
25 | public struct AsyncZip2Sequence<Base1: AsyncSequence, Base2: AsyncSequence>: AsyncSequence, Sendable
   |                                        `- error: cannot find type 'AsyncSequence' in scope
26 | where Base1: Sendable, Base1.Element: Sendable, Base2: Sendable, Base2.Element: Sendable {
27 |   public typealias Element = (Base1.Element, Base2.Element)
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/AsyncZip2Sequence.swift:25:62: error: cannot find type 'AsyncSequence' in scope
23 | /// and emits a tuple of the values.
24 | @available(AsyncAlgorithms 1.0, *)
25 | public struct AsyncZip2Sequence<Base1: AsyncSequence, Base2: AsyncSequence>: AsyncSequence, Sendable
   |                                                              `- error: cannot find type 'AsyncSequence' in scope
26 | where Base1: Sendable, Base1.Element: Sendable, Base2: Sendable, Base2.Element: Sendable {
27 |   public typealias Element = (Base1.Element, Base2.Element)
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/AsyncZip2Sequence.swift:26:30: error: 'Element' is not a member type of type 'Base1'
24 | @available(AsyncAlgorithms 1.0, *)
25 | public struct AsyncZip2Sequence<Base1: AsyncSequence, Base2: AsyncSequence>: AsyncSequence, Sendable
26 | where Base1: Sendable, Base1.Element: Sendable, Base2: Sendable, Base2.Element: Sendable {
   |                              `- error: 'Element' is not a member type of type 'Base1'
27 |   public typealias Element = (Base1.Element, Base2.Element)
28 |   public typealias AsyncIterator = Iterator
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/AsyncZip2Sequence.swift:26:72: error: 'Element' is not a member type of type 'Base2'
24 | @available(AsyncAlgorithms 1.0, *)
25 | public struct AsyncZip2Sequence<Base1: AsyncSequence, Base2: AsyncSequence>: AsyncSequence, Sendable
26 | where Base1: Sendable, Base1.Element: Sendable, Base2: Sendable, Base2.Element: Sendable {
   |                                                                        `- error: 'Element' is not a member type of type 'Base2'
27 |   public typealias Element = (Base1.Element, Base2.Element)
28 |   public typealias AsyncIterator = Iterator
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/AsyncZip2Sequence.swift:27:37: error: 'Element' is not a member type of type 'Base1'
25 | public struct AsyncZip2Sequence<Base1: AsyncSequence, Base2: AsyncSequence>: AsyncSequence, Sendable
26 | where Base1: Sendable, Base1.Element: Sendable, Base2: Sendable, Base2.Element: Sendable {
27 |   public typealias Element = (Base1.Element, Base2.Element)
   |                                     `- error: 'Element' is not a member type of type 'Base1'
28 |   public typealias AsyncIterator = Iterator
29 |
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/AsyncZip2Sequence.swift:27:52: error: 'Element' is not a member type of type 'Base2'
25 | public struct AsyncZip2Sequence<Base1: AsyncSequence, Base2: AsyncSequence>: AsyncSequence, Sendable
26 | where Base1: Sendable, Base1.Element: Sendable, Base2: Sendable, Base2.Element: Sendable {
27 |   public typealias Element = (Base1.Element, Base2.Element)
   |                                                    `- error: 'Element' is not a member type of type 'Base2'
28 |   public typealias AsyncIterator = Iterator
29 |
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStorage.swift:13:31: error: cannot find type 'AsyncSequence' in scope
 11 |
 12 | @available(AsyncAlgorithms 1.0, *)
 13 | final class ZipStorage<Base1: AsyncSequence, Base2: AsyncSequence, Base3: AsyncSequence>: Sendable
    |                               `- error: cannot find type 'AsyncSequence' in scope
 14 | where
 15 |   Base1: Sendable,
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStorage.swift:13:53: error: cannot find type 'AsyncSequence' in scope
 11 |
 12 | @available(AsyncAlgorithms 1.0, *)
 13 | final class ZipStorage<Base1: AsyncSequence, Base2: AsyncSequence, Base3: AsyncSequence>: Sendable
    |                                                     `- error: cannot find type 'AsyncSequence' in scope
 14 | where
 15 |   Base1: Sendable,
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStorage.swift:13:75: error: cannot find type 'AsyncSequence' in scope
 11 |
 12 | @available(AsyncAlgorithms 1.0, *)
 13 | final class ZipStorage<Base1: AsyncSequence, Base2: AsyncSequence, Base3: AsyncSequence>: Sendable
    |                                                                           `- error: cannot find type 'AsyncSequence' in scope
 14 | where
 15 |   Base1: Sendable,
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/AsyncZip2Sequence.swift:54:25: error: 'rethrows' function must take a throwing function argument
52 |       }
53 |
54 |       func next() async rethrows -> Element? {
   |                         `- error: 'rethrows' function must take a throwing function argument
55 |         guard let element = try await self.storage.next() else {
56 |           return nil
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/AsyncZip2Sequence.swift:69:39: error: 'rethrows' function must take a throwing function argument
67 |     }
68 |
69 |     public mutating func next() async rethrows -> Element? {
   |                                       `- error: 'rethrows' function must take a throwing function argument
70 |       try await self.internalClass.next()
71 |     }
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/AsyncZip2Sequence.swift:42:27: error: cannot find type 'AsyncIteratorProtocol' in scope
40 |   }
41 |
42 |   public struct Iterator: AsyncIteratorProtocol {
   |                           `- error: cannot find type 'AsyncIteratorProtocol' in scope
43 |     final class InternalClass {
44 |       private let storage: ZipStorage<Base1, Base2, Base2>
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/AsyncZip2Sequence.swift:25:78: error: cannot find type 'AsyncSequence' in scope
23 | /// and emits a tuple of the values.
24 | @available(AsyncAlgorithms 1.0, *)
25 | public struct AsyncZip2Sequence<Base1: AsyncSequence, Base2: AsyncSequence>: AsyncSequence, Sendable
   |                                                                              `- error: cannot find type 'AsyncSequence' in scope
26 | where Base1: Sendable, Base1.Element: Sendable, Base2: Sendable, Base2.Element: Sendable {
27 |   public typealias Element = (Base1.Element, Base2.Element)
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStorage.swift:47:40: error: 'Element' is not a member type of type 'Base1'
 45 |   }
 46 |
 47 |   func next() async rethrows -> (Base1.Element, Base2.Element, Base3.Element?)? {
    |                                        `- error: 'Element' is not a member type of type 'Base1'
 48 |     try await withTaskCancellationHandler {
 49 |       let result = await withUnsafeContinuation { continuation in
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStorage.swift:47:55: error: 'Element' is not a member type of type 'Base2'
 45 |   }
 46 |
 47 |   func next() async rethrows -> (Base1.Element, Base2.Element, Base3.Element?)? {
    |                                                       `- error: 'Element' is not a member type of type 'Base2'
 48 |     try await withTaskCancellationHandler {
 49 |       let result = await withUnsafeContinuation { continuation in
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStorage.swift:47:70: error: 'Element' is not a member type of type 'Base3'
 45 |   }
 46 |
 47 |   func next() async rethrows -> (Base1.Element, Base2.Element, Base3.Element?)? {
    |                                                                      `- error: 'Element' is not a member type of type 'Base3'
 48 |     try await withTaskCancellationHandler {
 49 |       let result = await withUnsafeContinuation { continuation in
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/AsyncZip3Sequence.swift:15:24: error: cannot find type 'AsyncSequence' in scope
13 | /// and emits a tuple of the values.
14 | @available(AsyncAlgorithms 1.0, *)
15 | public func zip<Base1: AsyncSequence, Base2: AsyncSequence, Base3: AsyncSequence>(
   |                        `- error: cannot find type 'AsyncSequence' in scope
16 |   _ base1: Base1,
17 |   _ base2: Base2,
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/AsyncZip3Sequence.swift:15:46: error: cannot find type 'AsyncSequence' in scope
13 | /// and emits a tuple of the values.
14 | @available(AsyncAlgorithms 1.0, *)
15 | public func zip<Base1: AsyncSequence, Base2: AsyncSequence, Base3: AsyncSequence>(
   |                                              `- error: cannot find type 'AsyncSequence' in scope
16 |   _ base1: Base1,
17 |   _ base2: Base2,
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/AsyncZip3Sequence.swift:15:68: error: cannot find type 'AsyncSequence' in scope
13 | /// and emits a tuple of the values.
14 | @available(AsyncAlgorithms 1.0, *)
15 | public func zip<Base1: AsyncSequence, Base2: AsyncSequence, Base3: AsyncSequence>(
   |                                                                    `- error: cannot find type 'AsyncSequence' in scope
16 |   _ base1: Base1,
17 |   _ base2: Base2,
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/AsyncZip3Sequence.swift:26:40: error: cannot find type 'AsyncSequence' in scope
24 | /// and emits a tuple of the values.
25 | @available(AsyncAlgorithms 1.0, *)
26 | public struct AsyncZip3Sequence<Base1: AsyncSequence, Base2: AsyncSequence, Base3: AsyncSequence>: AsyncSequence,
   |                                        `- error: cannot find type 'AsyncSequence' in scope
27 |   Sendable
28 | where
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/AsyncZip3Sequence.swift:26:62: error: cannot find type 'AsyncSequence' in scope
24 | /// and emits a tuple of the values.
25 | @available(AsyncAlgorithms 1.0, *)
26 | public struct AsyncZip3Sequence<Base1: AsyncSequence, Base2: AsyncSequence, Base3: AsyncSequence>: AsyncSequence,
   |                                                              `- error: cannot find type 'AsyncSequence' in scope
27 |   Sendable
28 | where
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/AsyncZip3Sequence.swift:26:84: error: cannot find type 'AsyncSequence' in scope
24 | /// and emits a tuple of the values.
25 | @available(AsyncAlgorithms 1.0, *)
26 | public struct AsyncZip3Sequence<Base1: AsyncSequence, Base2: AsyncSequence, Base3: AsyncSequence>: AsyncSequence,
   |                                                                                    `- error: cannot find type 'AsyncSequence' in scope
27 |   Sendable
28 | where
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/AsyncZip3Sequence.swift:30:9: error: 'Element' is not a member type of type 'Base1'
28 | where
29 |   Base1: Sendable,
30 |   Base1.Element: Sendable,
   |         `- error: 'Element' is not a member type of type 'Base1'
31 |   Base2: Sendable,
32 |   Base2.Element: Sendable,
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/AsyncZip3Sequence.swift:32:9: error: 'Element' is not a member type of type 'Base2'
30 |   Base1.Element: Sendable,
31 |   Base2: Sendable,
32 |   Base2.Element: Sendable,
   |         `- error: 'Element' is not a member type of type 'Base2'
33 |   Base3: Sendable,
34 |   Base3.Element: Sendable
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/AsyncZip3Sequence.swift:34:9: error: 'Element' is not a member type of type 'Base3'
32 |   Base2.Element: Sendable,
33 |   Base3: Sendable,
34 |   Base3.Element: Sendable
   |         `- error: 'Element' is not a member type of type 'Base3'
35 | {
36 |   public typealias Element = (Base1.Element, Base2.Element, Base3.Element)
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/AsyncZip3Sequence.swift:36:37: error: 'Element' is not a member type of type 'Base1'
34 |   Base3.Element: Sendable
35 | {
36 |   public typealias Element = (Base1.Element, Base2.Element, Base3.Element)
   |                                     `- error: 'Element' is not a member type of type 'Base1'
37 |   public typealias AsyncIterator = Iterator
38 |
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/AsyncZip3Sequence.swift:36:52: error: 'Element' is not a member type of type 'Base2'
34 |   Base3.Element: Sendable
35 | {
36 |   public typealias Element = (Base1.Element, Base2.Element, Base3.Element)
   |                                                    `- error: 'Element' is not a member type of type 'Base2'
37 |   public typealias AsyncIterator = Iterator
38 |
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/AsyncZip3Sequence.swift:36:67: error: 'Element' is not a member type of type 'Base3'
34 |   Base3.Element: Sendable
35 | {
36 |   public typealias Element = (Base1.Element, Base2.Element, Base3.Element)
   |                                                                   `- error: 'Element' is not a member type of type 'Base3'
37 |   public typealias AsyncIterator = Iterator
38 |
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/AsyncZip3Sequence.swift:67:25: error: 'rethrows' function must take a throwing function argument
65 |       }
66 |
67 |       func next() async rethrows -> Element? {
   |                         `- error: 'rethrows' function must take a throwing function argument
68 |         guard let element = try await self.storage.next() else {
69 |           return nil
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/AsyncZip3Sequence.swift:83:39: error: 'rethrows' function must take a throwing function argument
81 |     }
82 |
83 |     public mutating func next() async rethrows -> Element? {
   |                                       `- error: 'rethrows' function must take a throwing function argument
84 |       try await self.internalClass.next()
85 |     }
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/AsyncZip3Sequence.swift:55:27: error: cannot find type 'AsyncIteratorProtocol' in scope
53 |   }
54 |
55 |   public struct Iterator: AsyncIteratorProtocol {
   |                           `- error: cannot find type 'AsyncIteratorProtocol' in scope
56 |     final class InternalClass {
57 |       private let storage: ZipStorage<Base1, Base2, Base3>
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/AsyncZip3Sequence.swift:26:100: error: cannot find type 'AsyncSequence' in scope
24 | /// and emits a tuple of the values.
25 | @available(AsyncAlgorithms 1.0, *)
26 | public struct AsyncZip3Sequence<Base1: AsyncSequence, Base2: AsyncSequence, Base3: AsyncSequence>: AsyncSequence,
   |                                                                                                    `- error: cannot find type 'AsyncSequence' in scope
27 |   Sendable
28 | where
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStateMachine.swift:15:10: error: cannot find type 'AsyncSequence' in scope
 13 | @available(AsyncAlgorithms 1.0, *)
 14 | struct ZipStateMachine<
 15 |   Base1: AsyncSequence,
    |          `- error: cannot find type 'AsyncSequence' in scope
 16 |   Base2: AsyncSequence,
 17 |   Base3: AsyncSequence
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStateMachine.swift:16:10: error: cannot find type 'AsyncSequence' in scope
 14 | struct ZipStateMachine<
 15 |   Base1: AsyncSequence,
 16 |   Base2: AsyncSequence,
    |          `- error: cannot find type 'AsyncSequence' in scope
 17 |   Base3: AsyncSequence
 18 | >: Sendable
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStateMachine.swift:17:10: error: cannot find type 'AsyncSequence' in scope
 15 |   Base1: AsyncSequence,
 16 |   Base2: AsyncSequence,
 17 |   Base3: AsyncSequence
    |          `- error: cannot find type 'AsyncSequence' in scope
 18 | >: Sendable
 19 | where
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStateMachine.swift:23:9: error: 'Element' is not a member type of type 'Base1'
 21 |   Base2: Sendable,
 22 |   Base3: Sendable,
 23 |   Base1.Element: Sendable,
    |         `- error: 'Element' is not a member type of type 'Base1'
 24 |   Base2.Element: Sendable,
 25 |   Base3.Element: Sendable
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStateMachine.swift:24:9: error: 'Element' is not a member type of type 'Base2'
 22 |   Base3: Sendable,
 23 |   Base1.Element: Sendable,
 24 |   Base2.Element: Sendable,
    |         `- error: 'Element' is not a member type of type 'Base2'
 25 |   Base3.Element: Sendable
 26 | {
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStateMachine.swift:25:9: error: 'Element' is not a member type of type 'Base3'
 23 |   Base1.Element: Sendable,
 24 |   Base2.Element: Sendable,
 25 |   Base3.Element: Sendable
    |         `- error: 'Element' is not a member type of type 'Base3'
 26 | {
 27 |   typealias DownstreamContinuation = UnsafeContinuation<
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStateMachine.swift:27:38: error: cannot find type 'UnsafeContinuation' in scope
 25 |   Base3.Element: Sendable
 26 | {
 27 |   typealias DownstreamContinuation = UnsafeContinuation<
    |                                      `- error: cannot find type 'UnsafeContinuation' in scope
 28 |     Result<
 29 |       (
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStateMachine.swift:41:25: error: cannot find type 'UnsafeContinuation' in scope
 39 |     struct Upstream<Element: Sendable>: Sendable {
 40 |       /// The upstream continuation.
 41 |       var continuation: UnsafeContinuation<Void, Error>?
    |                         `- error: cannot find type 'UnsafeContinuation' in scope
 42 |       /// The produced upstream element.
 43 |       var element: Element?
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStateMachine.swift:51:13: error: cannot find type 'Task' in scope
 49 |     /// The state while we are waiting for downstream demand.
 50 |     case waitingForDemand(
 51 |       task: Task<Void, Never>,
    |             `- error: cannot find type 'Task' in scope
 52 |       upstreams: (Upstream<Base1.Element>, Upstream<Base2.Element>, Upstream<Base3.Element>)
 53 |     )
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStateMachine.swift:52:34: error: 'Element' is not a member type of type 'Base1'
 50 |     case waitingForDemand(
 51 |       task: Task<Void, Never>,
 52 |       upstreams: (Upstream<Base1.Element>, Upstream<Base2.Element>, Upstream<Base3.Element>)
    |                                  `- error: 'Element' is not a member type of type 'Base1'
 53 |     )
 54 |
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStateMachine.swift:52:59: error: 'Element' is not a member type of type 'Base2'
 50 |     case waitingForDemand(
 51 |       task: Task<Void, Never>,
 52 |       upstreams: (Upstream<Base1.Element>, Upstream<Base2.Element>, Upstream<Base3.Element>)
    |                                                           `- error: 'Element' is not a member type of type 'Base2'
 53 |     )
 54 |
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStateMachine.swift:52:84: error: 'Element' is not a member type of type 'Base3'
 50 |     case waitingForDemand(
 51 |       task: Task<Void, Never>,
 52 |       upstreams: (Upstream<Base1.Element>, Upstream<Base2.Element>, Upstream<Base3.Element>)
    |                                                                                    `- error: 'Element' is not a member type of type 'Base3'
 53 |     )
 54 |
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStateMachine.swift:57:13: error: cannot find type 'Task' in scope
 55 |     /// The state while we are consuming the upstream and waiting until we get a result from all upstreams.
 56 |     case zipping(
 57 |       task: Task<Void, Never>,
    |             `- error: cannot find type 'Task' in scope
 58 |       upstreams: (Upstream<Base1.Element>, Upstream<Base2.Element>, Upstream<Base3.Element>),
 59 |       downstreamContinuation: DownstreamContinuation
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStateMachine.swift:58:34: error: 'Element' is not a member type of type 'Base1'
 56 |     case zipping(
 57 |       task: Task<Void, Never>,
 58 |       upstreams: (Upstream<Base1.Element>, Upstream<Base2.Element>, Upstream<Base3.Element>),
    |                                  `- error: 'Element' is not a member type of type 'Base1'
 59 |       downstreamContinuation: DownstreamContinuation
 60 |     )
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStateMachine.swift:58:59: error: 'Element' is not a member type of type 'Base2'
 56 |     case zipping(
 57 |       task: Task<Void, Never>,
 58 |       upstreams: (Upstream<Base1.Element>, Upstream<Base2.Element>, Upstream<Base3.Element>),
    |                                                           `- error: 'Element' is not a member type of type 'Base2'
 59 |       downstreamContinuation: DownstreamContinuation
 60 |     )
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStateMachine.swift:58:84: error: 'Element' is not a member type of type 'Base3'
 56 |     case zipping(
 57 |       task: Task<Void, Never>,
 58 |       upstreams: (Upstream<Base1.Element>, Upstream<Base2.Element>, Upstream<Base3.Element>),
    |                                                                                    `- error: 'Element' is not a member type of type 'Base3'
 59 |       downstreamContinuation: DownstreamContinuation
 60 |     )
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStateMachine.swift:98:13: error: cannot find type 'Task' in scope
 96 |     /// the upstream continuations need to be resumed with a `CancellationError`.
 97 |     case cancelTaskAndUpstreamContinuations(
 98 |       task: Task<Void, Never>,
    |             `- error: cannot find type 'Task' in scope
 99 |       upstreamContinuations: [UnsafeContinuation<Void, Error>]
100 |     )
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStateMachine.swift:99:31: error: cannot find type 'UnsafeContinuation' in scope
 97 |     case cancelTaskAndUpstreamContinuations(
 98 |       task: Task<Void, Never>,
 99 |       upstreamContinuations: [UnsafeContinuation<Void, Error>]
    |                               `- error: cannot find type 'UnsafeContinuation' in scope
100 |     )
101 |   }
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStateMachine.swift:137:11: error: cannot find type 'Task' in scope
135 |
136 |   mutating func taskIsStarted(
137 |     task: Task<Void, Never>,
    |           `- error: cannot find type 'Task' in scope
138 |     downstreamContinuation: DownstreamContinuation
139 |   ) {
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStateMachine.swift:163:29: error: cannot find type 'UnsafeContinuation' in scope
161 |     /// Indicates that the continuation should be resumed which will lead to calling `next` on the upstream.
162 |     case resumeContinuation(
163 |       upstreamContinuation: UnsafeContinuation<Void, Error>
    |                             `- error: cannot find type 'UnsafeContinuation' in scope
164 |     )
165 |     /// Indicates that the continuation should be resumed with an Error because another upstream sequence threw.
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStateMachine.swift:167:29: error: cannot find type 'UnsafeContinuation' in scope
165 |     /// Indicates that the continuation should be resumed with an Error because another upstream sequence threw.
166 |     case resumeContinuationWithError(
167 |       upstreamContinuation: UnsafeContinuation<Void, Error>,
    |                             `- error: cannot find type 'UnsafeContinuation' in scope
168 |       error: Error
169 |     )
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStateMachine.swift:174:19: error: cannot find type 'UnsafeContinuation' in scope
172 |   mutating func childTaskSuspended(
173 |     baseIndex: Int,
174 |     continuation: UnsafeContinuation<Void, Error>
    |                   `- error: cannot find type 'UnsafeContinuation' in scope
175 |   ) -> ChildTaskSuspendedAction? {
176 |     switch self.state {
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStateMachine.swift:275:29: error: 'Element' is not a member type of type 'Base1'
273 |     case resumeContinuation(
274 |       downstreamContinuation: DownstreamContinuation,
275 |       result: Result<(Base1.Element, Base2.Element, Base3.Element?)?, Error>
    |                             `- error: 'Element' is not a member type of type 'Base1'
276 |     )
277 |   }
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStateMachine.swift:275:44: error: 'Element' is not a member type of type 'Base2'
273 |     case resumeContinuation(
274 |       downstreamContinuation: DownstreamContinuation,
275 |       result: Result<(Base1.Element, Base2.Element, Base3.Element?)?, Error>
    |                                            `- error: 'Element' is not a member type of type 'Base2'
276 |     )
277 |   }
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStateMachine.swift:275:59: error: 'Element' is not a member type of type 'Base3'
273 |     case resumeContinuation(
274 |       downstreamContinuation: DownstreamContinuation,
275 |       result: Result<(Base1.Element, Base2.Element, Base3.Element?)?, Error>
    |                                                           `- error: 'Element' is not a member type of type 'Base3'
276 |     )
277 |   }
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStateMachine.swift:279:50: error: 'Element' is not a member type of type 'Base1'
277 |   }
278 |
279 |   mutating func elementProduced(_ result: (Base1.Element?, Base2.Element?, Base3.Element?)) -> ElementProducedAction? {
    |                                                  `- error: 'Element' is not a member type of type 'Base1'
280 |     switch self.state {
281 |     case .initial:
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStateMachine.swift:279:66: error: 'Element' is not a member type of type 'Base2'
277 |   }
278 |
279 |   mutating func elementProduced(_ result: (Base1.Element?, Base2.Element?, Base3.Element?)) -> ElementProducedAction? {
    |                                                                  `- error: 'Element' is not a member type of type 'Base2'
280 |     switch self.state {
281 |     case .initial:
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStateMachine.swift:279:82: error: 'Element' is not a member type of type 'Base3'
277 |   }
278 |
279 |   mutating func elementProduced(_ result: (Base1.Element?, Base2.Element?, Base3.Element?)) -> ElementProducedAction? {
    |                                                                                  `- error: 'Element' is not a member type of type 'Base3'
280 |     switch self.state {
281 |     case .initial:
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStateMachine.swift:380:13: error: cannot find type 'Task' in scope
378 |     case resumeContinuationWithNilAndCancelTaskAndUpstreamContinuations(
379 |       downstreamContinuation: DownstreamContinuation,
380 |       task: Task<Void, Never>,
    |             `- error: cannot find type 'Task' in scope
381 |       upstreamContinuations: [UnsafeContinuation<Void, Error>]
382 |     )
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStateMachine.swift:381:31: error: cannot find type 'UnsafeContinuation' in scope
379 |       downstreamContinuation: DownstreamContinuation,
380 |       task: Task<Void, Never>,
381 |       upstreamContinuations: [UnsafeContinuation<Void, Error>]
    |                               `- error: cannot find type 'UnsafeContinuation' in scope
382 |     )
383 |   }
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStateMachine.swift:424:13: error: cannot find type 'Task' in scope
422 |       downstreamContinuation: DownstreamContinuation,
423 |       error: Error,
424 |       task: Task<Void, Never>,
    |             `- error: cannot find type 'Task' in scope
425 |       upstreamContinuations: [UnsafeContinuation<Void, Error>]
426 |     )
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStateMachine.swift:425:31: error: cannot find type 'UnsafeContinuation' in scope
423 |       error: Error,
424 |       task: Task<Void, Never>,
425 |       upstreamContinuations: [UnsafeContinuation<Void, Error>]
    |                               `- error: cannot find type 'UnsafeContinuation' in scope
426 |     )
427 |   }
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStateMachine.swift:468:13: error: cannot find type 'Task' in scope
466 |     case resumeDownstreamContinuationWithNilAndCancelTaskAndUpstreamContinuations(
467 |       downstreamContinuation: DownstreamContinuation,
468 |       task: Task<Void, Never>,
    |             `- error: cannot find type 'Task' in scope
469 |       upstreamContinuations: [UnsafeContinuation<Void, Error>]
470 |     )
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStateMachine.swift:469:31: error: cannot find type 'UnsafeContinuation' in scope
467 |       downstreamContinuation: DownstreamContinuation,
468 |       task: Task<Void, Never>,
469 |       upstreamContinuations: [UnsafeContinuation<Void, Error>]
    |                               `- error: cannot find type 'UnsafeContinuation' in scope
470 |     )
471 |     /// Indicates that the task and the upstream continuations should be cancelled.
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStateMachine.swift:473:13: error: cannot find type 'Task' in scope
471 |     /// Indicates that the task and the upstream continuations should be cancelled.
472 |     case cancelTaskAndUpstreamContinuations(
473 |       task: Task<Void, Never>,
    |             `- error: cannot find type 'Task' in scope
474 |       upstreamContinuations: [UnsafeContinuation<Void, Error>]
475 |     )
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStateMachine.swift:474:31: error: cannot find type 'UnsafeContinuation' in scope
472 |     case cancelTaskAndUpstreamContinuations(
473 |       task: Task<Void, Never>,
474 |       upstreamContinuations: [UnsafeContinuation<Void, Error>]
    |                               `- error: cannot find type 'UnsafeContinuation' in scope
475 |     )
476 |   }
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStateMachine.swift:524:30: error: cannot find type 'UnsafeContinuation' in scope
522 |     case startTask(Base1, Base2, Base3?)
523 |     case resumeUpstreamContinuations(
524 |       upstreamContinuation: [UnsafeContinuation<Void, Error>]
    |                              `- error: cannot find type 'UnsafeContinuation' in scope
525 |     )
526 |     /// Indicates that the downstream continuation should be resumed with `nil`.
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStateMachine.swift:120:15: error: type 'ZipStateMachine<Base1, Base2, Base3>.IteratorDeinitializedAction?' has no member 'cancelTaskAndUpstreamContinuations'
118 |       self.state = .finished
119 |
120 |       return .cancelTaskAndUpstreamContinuations(
    |               `- error: type 'ZipStateMachine<Base1, Base2, Base3>.IteratorDeinitializedAction?' has no member 'cancelTaskAndUpstreamContinuations'
121 |         task: task,
122 |         upstreamContinuations: [upstreams.0.continuation, upstreams.1.continuation, upstreams.2.continuation]
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStateMachine.swift:146:22: error: cannot infer contextual base in reference to member 'init'
144 |       self.state = .zipping(
145 |         task: task,
146 |         upstreams: (.init(), .init(), .init()),
    |                      `- error: cannot infer contextual base in reference to member 'init'
147 |         downstreamContinuation: downstreamContinuation
148 |       )
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStateMachine.swift:146:31: error: cannot infer contextual base in reference to member 'init'
144 |       self.state = .zipping(
145 |         task: task,
146 |         upstreams: (.init(), .init(), .init()),
    |                               `- error: cannot infer contextual base in reference to member 'init'
147 |         downstreamContinuation: downstreamContinuation
148 |       )
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStateMachine.swift:146:40: error: cannot infer contextual base in reference to member 'init'
144 |       self.state = .zipping(
145 |         task: task,
146 |         upstreams: (.init(), .init(), .init()),
    |                                        `- error: cannot infer contextual base in reference to member 'init'
147 |         downstreamContinuation: downstreamContinuation
148 |       )
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStateMachine.swift:222:17: error: type 'ZipStateMachine<Base1, Base2, Base3>.ChildTaskSuspendedAction?' has no member 'resumeContinuation'
220 |           return .none
221 |         }
222 |         return .resumeContinuation(upstreamContinuation: continuation)
    |                 `- error: type 'ZipStateMachine<Base1, Base2, Base3>.ChildTaskSuspendedAction?' has no member 'resumeContinuation'
223 |
224 |       case 1:
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStateMachine.swift:235:17: error: type 'ZipStateMachine<Base1, Base2, Base3>.ChildTaskSuspendedAction?' has no member 'resumeContinuation'
233 |           return .none
234 |         }
235 |         return .resumeContinuation(upstreamContinuation: continuation)
    |                 `- error: type 'ZipStateMachine<Base1, Base2, Base3>.ChildTaskSuspendedAction?' has no member 'resumeContinuation'
236 |
237 |       case 2:
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStateMachine.swift:248:17: error: type 'ZipStateMachine<Base1, Base2, Base3>.ChildTaskSuspendedAction?' has no member 'resumeContinuation'
246 |           return .none
247 |         }
248 |         return .resumeContinuation(upstreamContinuation: continuation)
    |                 `- error: type 'ZipStateMachine<Base1, Base2, Base3>.ChildTaskSuspendedAction?' has no member 'resumeContinuation'
249 |
250 |       default:
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStateMachine.swift:262:16: error: cannot find 'CancellationError' in scope
260 |       return .resumeContinuationWithError(
261 |         upstreamContinuation: continuation,
262 |         error: CancellationError()
    |                `- error: cannot find 'CancellationError' in scope
263 |       )
264 |
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStateMachine.swift:260:15: error: type 'ZipStateMachine<Base1, Base2, Base3>.ChildTaskSuspendedAction?' has no member 'resumeContinuationWithError'
258 |       // suspended even though we already cancelled them. We must tolerate this and just resume
259 |       // the continuation with an error.
260 |       return .resumeContinuationWithError(
    |               `- error: type 'ZipStateMachine<Base1, Base2, Base3>.ChildTaskSuspendedAction?' has no member 'resumeContinuationWithError'
261 |         upstreamContinuation: continuation,
262 |         error: CancellationError()
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStateMachine.swift:319:14: error: cannot infer contextual base in reference to member 'init'
317 |           task: task,
318 |           upstreams: (
319 |             .init(continuation: upstreams.0.continuation),
    |              `- error: cannot infer contextual base in reference to member 'init'
320 |             .init(continuation: upstreams.1.continuation),
321 |             .init(continuation: upstreams.2.continuation)
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStateMachine.swift:320:14: error: cannot infer contextual base in reference to member 'init'
318 |           upstreams: (
319 |             .init(continuation: upstreams.0.continuation),
320 |             .init(continuation: upstreams.1.continuation),
    |              `- error: cannot infer contextual base in reference to member 'init'
321 |             .init(continuation: upstreams.2.continuation)
322 |           )
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStateMachine.swift:321:14: error: cannot infer contextual base in reference to member 'init'
319 |             .init(continuation: upstreams.0.continuation),
320 |             .init(continuation: upstreams.1.continuation),
321 |             .init(continuation: upstreams.2.continuation)
    |              `- error: cannot infer contextual base in reference to member 'init'
322 |           )
323 |         )
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStateMachine.swift:325:17: error: type 'ZipStateMachine<Base1, Base2, Base3>.ElementProducedAction?' has no member 'resumeContinuation'
323 |         )
324 |
325 |         return .resumeContinuation(
    |                 `- error: type 'ZipStateMachine<Base1, Base2, Base3>.ElementProducedAction?' has no member 'resumeContinuation'
326 |           downstreamContinuation: downstreamContinuation,
327 |           result: .success((first, second, third))
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStateMachine.swift:327:20: error: cannot infer contextual base in reference to member 'success'
325 |         return .resumeContinuation(
326 |           downstreamContinuation: downstreamContinuation,
327 |           result: .success((first, second, third))
    |                    `- error: cannot infer contextual base in reference to member 'success'
328 |         )
329 |
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStateMachine.swift:338:14: error: cannot infer contextual base in reference to member 'init'
336 |           task: task,
337 |           upstreams: (
338 |             .init(continuation: upstreams.0.continuation),
    |              `- error: cannot infer contextual base in reference to member 'init'
339 |             .init(continuation: upstreams.1.continuation),
340 |             .init(continuation: upstreams.2.continuation)
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStateMachine.swift:339:14: error: cannot infer contextual base in reference to member 'init'
337 |           upstreams: (
338 |             .init(continuation: upstreams.0.continuation),
339 |             .init(continuation: upstreams.1.continuation),
    |              `- error: cannot infer contextual base in reference to member 'init'
340 |             .init(continuation: upstreams.2.continuation)
341 |           )
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStateMachine.swift:340:14: error: cannot infer contextual base in reference to member 'init'
338 |             .init(continuation: upstreams.0.continuation),
339 |             .init(continuation: upstreams.1.continuation),
340 |             .init(continuation: upstreams.2.continuation)
    |              `- error: cannot infer contextual base in reference to member 'init'
341 |           )
342 |         )
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStateMachine.swift:344:17: error: type 'ZipStateMachine<Base1, Base2, Base3>.ElementProducedAction?' has no member 'resumeContinuation'
342 |         )
343 |
344 |         return .resumeContinuation(
    |                 `- error: type 'ZipStateMachine<Base1, Base2, Base3>.ElementProducedAction?' has no member 'resumeContinuation'
345 |           downstreamContinuation: downstreamContinuation,
346 |           result: .success((first, second, nil))
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStateMachine.swift:346:20: error: cannot infer contextual base in reference to member 'success'
344 |         return .resumeContinuation(
345 |           downstreamContinuation: downstreamContinuation,
346 |           result: .success((first, second, nil))
    |                    `- error: cannot infer contextual base in reference to member 'success'
347 |         )
348 |       } else {
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStateMachine.swift:346:44: error: 'nil' requires a contextual type
344 |         return .resumeContinuation(
345 |           downstreamContinuation: downstreamContinuation,
346 |           result: .success((first, second, nil))
    |                                            `- error: 'nil' requires a contextual type
347 |         )
348 |       } else {
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStateMachine.swift:353:14: error: cannot infer contextual base in reference to member 'init'
351 |           task: task,
352 |           upstreams: (
353 |             .init(continuation: upstreams.0.continuation, element: upstreams.0.element),
    |              `- error: cannot infer contextual base in reference to member 'init'
354 |             .init(continuation: upstreams.1.continuation, element: upstreams.1.element),
355 |             .init(continuation: upstreams.2.continuation, element: upstreams.2.element)
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStateMachine.swift:354:14: error: cannot infer contextual base in reference to member 'init'
352 |           upstreams: (
353 |             .init(continuation: upstreams.0.continuation, element: upstreams.0.element),
354 |             .init(continuation: upstreams.1.continuation, element: upstreams.1.element),
    |              `- error: cannot infer contextual base in reference to member 'init'
355 |             .init(continuation: upstreams.2.continuation, element: upstreams.2.element)
356 |           ),
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStateMachine.swift:355:14: error: cannot infer contextual base in reference to member 'init'
353 |             .init(continuation: upstreams.0.continuation, element: upstreams.0.element),
354 |             .init(continuation: upstreams.1.continuation, element: upstreams.1.element),
355 |             .init(continuation: upstreams.2.continuation, element: upstreams.2.element)
    |              `- error: cannot infer contextual base in reference to member 'init'
356 |           ),
357 |           downstreamContinuation: downstreamContinuation
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStateMachine.swift:401:15: error: type 'ZipStateMachine<Base1, Base2, Base3>.UpstreamFinishedAction?' has no member 'resumeContinuationWithNilAndCancelTaskAndUpstreamContinuations'
399 |       self.state = .finished
400 |
401 |       return .resumeContinuationWithNilAndCancelTaskAndUpstreamContinuations(
    |               `- error: type 'ZipStateMachine<Base1, Base2, Base3>.UpstreamFinishedAction?' has no member 'resumeContinuationWithNilAndCancelTaskAndUpstreamContinuations'
402 |         downstreamContinuation: downstreamContinuation,
403 |         task: task,
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStateMachine.swift:445:15: error: type 'ZipStateMachine<Base1, Base2, Base3>.UpstreamThrewAction?' has no member 'resumeContinuationWithErrorAndCancelTaskAndUpstreamContinuations'
443 |       self.state = .finished
444 |
445 |       return .resumeContinuationWithErrorAndCancelTaskAndUpstreamContinuations(
    |               `- error: type 'ZipStateMachine<Base1, Base2, Base3>.UpstreamThrewAction?' has no member 'resumeContinuationWithErrorAndCancelTaskAndUpstreamContinuations'
446 |         downstreamContinuation: downstreamContinuation,
447 |         error: error,
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStateMachine.swift:490:15: error: type 'ZipStateMachine<Base1, Base2, Base3>.CancelledAction?' has no member 'cancelTaskAndUpstreamContinuations'
488 |       self.state = .finished
489 |
490 |       return .cancelTaskAndUpstreamContinuations(
    |               `- error: type 'ZipStateMachine<Base1, Base2, Base3>.CancelledAction?' has no member 'cancelTaskAndUpstreamContinuations'
491 |         task: task,
492 |         upstreamContinuations: [upstreams.0.continuation, upstreams.1.continuation, upstreams.2.continuation]
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStateMachine.swift:501:15: error: type 'ZipStateMachine<Base1, Base2, Base3>.CancelledAction?' has no member 'resumeDownstreamContinuationWithNilAndCancelTaskAndUpstreamContinuations'
499 |       self.state = .finished
500 |
501 |       return .resumeDownstreamContinuationWithNilAndCancelTaskAndUpstreamContinuations(
    |               `- error: type 'ZipStateMachine<Base1, Base2, Base3>.CancelledAction?' has no member 'resumeDownstreamContinuationWithNilAndCancelTaskAndUpstreamContinuations'
502 |         downstreamContinuation: downstreamContinuation,
503 |         task: task,
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStorage.swift:16:9: error: 'Element' is not a member type of type 'Base1'
 14 | where
 15 |   Base1: Sendable,
 16 |   Base1.Element: Sendable,
    |         `- error: 'Element' is not a member type of type 'Base1'
 17 |   Base2: Sendable,
 18 |   Base2.Element: Sendable,
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStorage.swift:18:9: error: 'Element' is not a member type of type 'Base2'
 16 |   Base1.Element: Sendable,
 17 |   Base2: Sendable,
 18 |   Base2.Element: Sendable,
    |         `- error: 'Element' is not a member type of type 'Base2'
 19 |   Base3: Sendable,
 20 |   Base3.Element: Sendable
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStorage.swift:20:9: error: 'Element' is not a member type of type 'Base3'
 18 |   Base2.Element: Sendable,
 19 |   Base3: Sendable,
 20 |   Base3.Element: Sendable
    |         `- error: 'Element' is not a member type of type 'Base3'
 21 | {
 22 |   typealias StateMachine = ZipStateMachine<Base1, Base2, Base3>
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStorage.swift:47:21: error: 'rethrows' function must take a throwing function argument
 45 |   }
 46 |
 47 |   func next() async rethrows -> (Base1.Element, Base2.Element, Base3.Element?)? {
    |                     `- error: 'rethrows' function must take a throwing function argument
 48 |     try await withTaskCancellationHandler {
 49 |       let result = await withUnsafeContinuation { continuation in
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStorage.swift:34:11: error: type 'ZipStateMachine<Base1, Base2, Base3>.IteratorDeinitializedAction?' has no member 'cancelTaskAndUpstreamContinuations'
 32 |
 33 |     switch action {
 34 |     case .cancelTaskAndUpstreamContinuations(
    |           `- error: type 'ZipStateMachine<Base1, Base2, Base3>.IteratorDeinitializedAction?' has no member 'cancelTaskAndUpstreamContinuations'
 35 |       let task,
 36 |       let upstreamContinuation
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStorage.swift:38:58: error: cannot find 'CancellationError' in scope
 36 |       let upstreamContinuation
 37 |     ):
 38 |       upstreamContinuation.forEach { $0.resume(throwing: CancellationError()) }
    |                                                          `- error: cannot find 'CancellationError' in scope
 39 |
 40 |       task.cancel()
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStorage.swift:128:16: error: cannot find 'Task' in scope
126 |     // This creates a new `Task` that is iterating the upstream
127 |     // sequences. We must store it to cancel it at the right times.
128 |     let task = Task {
    |                `- error: cannot find 'Task' in scope
129 |       await withThrowingTaskGroup(of: Void.self) { group in
130 |         // For each upstream sequence we are adding a child task that
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStorage.swift:129:13: error: cannot find 'withThrowingTaskGroup' in scope
127 |     // sequences. We must store it to cancel it at the right times.
128 |     let task = Task {
129 |       await withThrowingTaskGroup(of: Void.self) { group in
    |             `- error: cannot find 'withThrowingTaskGroup' in scope
130 |         // For each upstream sequence we are adding a child task that
131 |         // is consuming the upstream sequence
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStorage.swift:139:23: error: cannot find 'withUnsafeThrowingContinuation' in scope
137 |             // element from upstream. This continuation is only resumed
138 |             // if the downstream consumer called `next` to signal his demand.
139 |             try await withUnsafeThrowingContinuation { continuation in
    |                       `- error: cannot find 'withUnsafeThrowingContinuation' in scope
140 |               let action = self.stateMachine.withCriticalRegion { stateMachine in
141 |                 stateMachine.childTaskSuspended(baseIndex: 0, continuation: continuation)
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStorage.swift:180:69: error: cannot find 'CancellationError' in scope
178 |               ):
179 |
180 |                 upstreamContinuations.forEach { $0.resume(throwing: CancellationError()) }
    |                                                                     `- error: cannot find 'CancellationError' in scope
181 |                 task.cancel()
182 |
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStorage.swift:199:23: error: cannot find 'withUnsafeThrowingContinuation' in scope
197 |             // element from upstream. This continuation is only resumed
198 |             // if the downstream consumer called `next` to signal his demand.
199 |             try await withUnsafeThrowingContinuation { continuation in
    |                       `- error: cannot find 'withUnsafeThrowingContinuation' in scope
200 |               let action = self.stateMachine.withCriticalRegion { stateMachine in
201 |                 stateMachine.childTaskSuspended(baseIndex: 1, continuation: continuation)
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStorage.swift:240:69: error: cannot find 'CancellationError' in scope
238 |               ):
239 |
240 |                 upstreamContinuations.forEach { $0.resume(throwing: CancellationError()) }
    |                                                                     `- error: cannot find 'CancellationError' in scope
241 |                 task.cancel()
242 |
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStorage.swift:260:25: error: cannot find 'withUnsafeThrowingContinuation' in scope
258 |               // element from upstream. This continuation is only resumed
259 |               // if the downstream consumer called `next` to signal his demand.
260 |               try await withUnsafeThrowingContinuation { continuation in
    |                         `- error: cannot find 'withUnsafeThrowingContinuation' in scope
261 |                 let action = self.stateMachine.withCriticalRegion { stateMachine in
262 |                   stateMachine.childTaskSuspended(baseIndex: 2, continuation: continuation)
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStorage.swift:301:71: error: cannot find 'CancellationError' in scope
299 |                 ):
300 |
301 |                   upstreamContinuations.forEach { $0.resume(throwing: CancellationError()) }
    |                                                                       `- error: cannot find 'CancellationError' in scope
302 |                   task.cancel()
303 |
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStorage.swift:329:67: error: cannot find 'CancellationError' in scope
327 |               let upstreamContinuations
328 |             ):
329 |               upstreamContinuations.forEach { $0.resume(throwing: CancellationError()) }
    |                                                                   `- error: cannot find 'CancellationError' in scope
330 |               task.cancel()
331 |
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Zip/ZipStorage.swift:133:37: error: value of type 'Base1' has no member 'makeAsyncIterator'
131 |         // is consuming the upstream sequence
132 |         group.addTask {
133 |           var base1Iterator = base1.makeAsyncIterator()
    |                                     `- error: value of type 'Base1' has no member 'makeAsyncIterator'
134 |
135 |           while true {
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/AsyncChunkedByGroupSequence.swift:20:48: error: cannot find type 'Element' in scope
 18 |   public func chunked<Collected: RangeReplaceableCollection>(
 19 |     into: Collected.Type,
 20 |     by belongInSameGroup: @escaping @Sendable (Element, Element) -> Bool
    |                                                `- error: cannot find type 'Element' in scope
 21 |   ) -> AsyncChunkedByGroupSequence<Self, Collected> where Collected.Element == Element {
 22 |     AsyncChunkedByGroupSequence(self, grouping: belongInSameGroup)
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/AsyncChunkedByGroupSequence.swift:20:57: error: cannot find type 'Element' in scope
 18 |   public func chunked<Collected: RangeReplaceableCollection>(
 19 |     into: Collected.Type,
 20 |     by belongInSameGroup: @escaping @Sendable (Element, Element) -> Bool
    |                                                         `- error: cannot find type 'Element' in scope
 21 |   ) -> AsyncChunkedByGroupSequence<Self, Collected> where Collected.Element == Element {
 22 |     AsyncChunkedByGroupSequence(self, grouping: belongInSameGroup)
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/AsyncChunkedByGroupSequence.swift:21:80: error: cannot find type 'Element' in scope
 19 |     into: Collected.Type,
 20 |     by belongInSameGroup: @escaping @Sendable (Element, Element) -> Bool
 21 |   ) -> AsyncChunkedByGroupSequence<Self, Collected> where Collected.Element == Element {
    |                                                                                `- error: cannot find type 'Element' in scope
 22 |     AsyncChunkedByGroupSequence(self, grouping: belongInSameGroup)
 23 |   }
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/AsyncChunkedByGroupSequence.swift:29:48: error: cannot find type 'Element' in scope
 27 |   @inlinable
 28 |   public func chunked(
 29 |     by belongInSameGroup: @escaping @Sendable (Element, Element) -> Bool
    |                                                `- error: cannot find type 'Element' in scope
 30 |   ) -> AsyncChunkedByGroupSequence<Self, [Element]> {
 31 |     chunked(into: [Element].self, by: belongInSameGroup)
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/AsyncChunkedByGroupSequence.swift:29:57: error: cannot find type 'Element' in scope
 27 |   @inlinable
 28 |   public func chunked(
 29 |     by belongInSameGroup: @escaping @Sendable (Element, Element) -> Bool
    |                                                         `- error: cannot find type 'Element' in scope
 30 |   ) -> AsyncChunkedByGroupSequence<Self, [Element]> {
 31 |     chunked(into: [Element].self, by: belongInSameGroup)
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/AsyncChunkedOnProjectionSequence.swift:19:41: error: cannot find type 'Element' in scope
 17 |   public func chunked<Subject: Equatable, Collected: RangeReplaceableCollection>(
 18 |     into: Collected.Type,
 19 |     on projection: @escaping @Sendable (Element) -> Subject
    |                                         `- error: cannot find type 'Element' in scope
 20 |   ) -> AsyncChunkedOnProjectionSequence<Self, Subject, Collected> {
 21 |     AsyncChunkedOnProjectionSequence(self, projection: projection)
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/AsyncChunkedOnProjectionSequence.swift:28:41: error: cannot find type 'Element' in scope
 26 |   @inlinable
 27 |   public func chunked<Subject: Equatable>(
 28 |     on projection: @escaping @Sendable (Element) -> Subject
    |                                         `- error: cannot find type 'Element' in scope
 29 |   ) -> AsyncChunkedOnProjectionSequence<Self, Subject, [Element]> {
 30 |     chunked(into: [Element].self, on: projection)
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/AsyncChunksOfCountOrSignalSequence.swift:20:95: error: cannot find type 'Element' in scope
 18 |     or signal: Signal,
 19 |     into: Collected.Type
 20 |   ) -> AsyncChunksOfCountOrSignalSequence<Self, Collected, Signal> where Collected.Element == Element {
    |                                                                                               `- error: cannot find type 'Element' in scope
 21 |     AsyncChunksOfCountOrSignalSequence(self, count: count, signal: signal)
 22 |   }
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/AsyncChunksOfCountOrSignalSequence.swift:38:95: error: cannot find type 'Element' in scope
 36 |     by signal: Signal,
 37 |     into: Collected.Type
 38 |   ) -> AsyncChunksOfCountOrSignalSequence<Self, Collected, Signal> where Collected.Element == Element {
    |                                                                                               `- error: cannot find type 'Element' in scope
 39 |     AsyncChunksOfCountOrSignalSequence(self, count: nil, signal: signal)
 40 |   }
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/AsyncChunksOfCountOrSignalSequence.swift:50:25: error: cannot find type 'Clock' in scope
 48 |   /// Creates an asynchronous sequence that creates chunks of a given `RangeReplaceableCollection` type of a given count or when an `AsyncTimerSequence` fires.
 49 |   @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
 50 |   public func chunks<C: Clock, Collected: RangeReplaceableCollection>(
    |                         `- error: cannot find type 'Clock' in scope
 51 |     ofCount count: Int,
 52 |     or timer: AsyncTimerSequence<C>,
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/AsyncChunksOfCountOrSignalSequence.swift:54:110: error: cannot find type 'Element' in scope
 52 |     or timer: AsyncTimerSequence<C>,
 53 |     into: Collected.Type
 54 |   ) -> AsyncChunksOfCountOrSignalSequence<Self, Collected, AsyncTimerSequence<C>> where Collected.Element == Element {
    |                                                                                                              `- error: cannot find type 'Element' in scope
 55 |     AsyncChunksOfCountOrSignalSequence(self, count: count, signal: timer)
 56 |   }
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/AsyncChunksOfCountOrSignalSequence.swift:60:25: error: cannot find type 'Clock' in scope
 58 |   /// Creates an asynchronous sequence that creates chunks of a given count or when an `AsyncTimerSequence` fires.
 59 |   @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
 60 |   public func chunks<C: Clock>(
    |                         `- error: cannot find type 'Clock' in scope
 61 |     ofCount count: Int,
 62 |     or timer: AsyncTimerSequence<C>
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/AsyncChunksOfCountOrSignalSequence.swift:69:26: error: cannot find type 'Clock' in scope
 67 |   /// Creates an asynchronous sequence that creates chunks of a given `RangeReplaceableCollection` type when an `AsyncTimerSequence` fires.
 68 |   @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
 69 |   public func chunked<C: Clock, Collected: RangeReplaceableCollection>(
    |                          `- error: cannot find type 'Clock' in scope
 70 |     by timer: AsyncTimerSequence<C>,
 71 |     into: Collected.Type
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/AsyncChunksOfCountOrSignalSequence.swift:72:110: error: cannot find type 'Element' in scope
 70 |     by timer: AsyncTimerSequence<C>,
 71 |     into: Collected.Type
 72 |   ) -> AsyncChunksOfCountOrSignalSequence<Self, Collected, AsyncTimerSequence<C>> where Collected.Element == Element {
    |                                                                                                              `- error: cannot find type 'Element' in scope
 73 |     AsyncChunksOfCountOrSignalSequence(self, count: nil, signal: timer)
 74 |   }
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/AsyncChunksOfCountOrSignalSequence.swift:78:26: error: cannot find type 'Clock' in scope
 76 |   /// Creates an asynchronous sequence that creates chunks when an `AsyncTimerSequence` fires.
 77 |   @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
 78 |   public func chunked<C: Clock>(
    |                          `- error: cannot find type 'Clock' in scope
 79 |     by timer: AsyncTimerSequence<C>
 80 |   ) -> AsyncChunksOfCountOrSignalSequence<Self, [Element], AsyncTimerSequence<C>> {
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/AsyncChunksOfCountSequence.swift:20:79: error: cannot find type 'Element' in scope
 18 |     ofCount count: Int,
 19 |     into: Collected.Type
 20 |   ) -> AsyncChunksOfCountSequence<Self, Collected> where Collected.Element == Element {
    |                                                                               `- error: cannot find type 'Element' in scope
 21 |     AsyncChunksOfCountSequence(self, count: count)
 22 |   }
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/AsyncCompactedSequence.swift:25:9: error: cannot find type 'Element' in scope
23 |   @inlinable
24 |   public func compacted<Unwrapped>() -> AsyncCompactedSequence<Self, Unwrapped>
25 |   where Element == Unwrapped? {
   |         `- error: cannot find type 'Element' in scope
26 |     AsyncCompactedSequence(self)
27 |   }
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/AsyncExclusiveReductionsSequence.swift:30:47: error: cannot find type 'Element' in scope
 28 |   public func reductions<Result>(
 29 |     _ initial: Result,
 30 |     _ transform: @Sendable @escaping (Result, Element) async -> Result
    |                                               `- error: cannot find type 'Element' in scope
 31 |   ) -> AsyncExclusiveReductionsSequence<Self, Result> {
 32 |     reductions(into: initial) { result, element in
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/AsyncExclusiveReductionsSequence.swift:54:53: error: cannot find type 'Element' in scope
 52 |   public func reductions<Result>(
 53 |     into initial: Result,
 54 |     _ transform: @Sendable @escaping (inout Result, Element) async -> Void
    |                                                     `- error: cannot find type 'Element' in scope
 55 |   ) -> AsyncExclusiveReductionsSequence<Self, Result> {
 56 |     AsyncExclusiveReductionsSequence(self, initial: initial, transform: transform)
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/AsyncInclusiveReductionsSequence.swift:35:39: error: cannot find type 'Element' in scope
 33 |   @inlinable
 34 |   public func reductions(
 35 |     _ transform: @Sendable @escaping (Element, Element) async -> Element
    |                                       `- error: cannot find type 'Element' in scope
 36 |   ) -> AsyncInclusiveReductionsSequence<Self> {
 37 |     AsyncInclusiveReductionsSequence(self, transform: transform)
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/AsyncInclusiveReductionsSequence.swift:35:48: error: cannot find type 'Element' in scope
 33 |   @inlinable
 34 |   public func reductions(
 35 |     _ transform: @Sendable @escaping (Element, Element) async -> Element
    |                                                `- error: cannot find type 'Element' in scope
 36 |   ) -> AsyncInclusiveReductionsSequence<Self> {
 37 |     AsyncInclusiveReductionsSequence(self, transform: transform)
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/AsyncInclusiveReductionsSequence.swift:35:66: error: cannot find type 'Element' in scope
 33 |   @inlinable
 34 |   public func reductions(
 35 |     _ transform: @Sendable @escaping (Element, Element) async -> Element
    |                                                                  `- error: cannot find type 'Element' in scope
 36 |   ) -> AsyncInclusiveReductionsSequence<Self> {
 37 |     AsyncInclusiveReductionsSequence(self, transform: transform)
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/AsyncJoinedBySeparatorSequence.swift:13:25: error: 'where' clause cannot be applied to a non-generic top-level declaration
 11 |
 12 | @available(AsyncAlgorithms 1.0, *)
 13 | extension AsyncSequence where Element: AsyncSequence {
    |                         `- error: 'where' clause cannot be applied to a non-generic top-level declaration
 14 |   /// Concatenate an `AsyncSequence` of `AsyncSequence` elements with a separator.
 15 |   @available(AsyncAlgorithms 1.0, *)
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/AsyncJoinedBySeparatorSequence.swift:17:33: error: cannot find type 'AsyncSequence' in scope
 15 |   @available(AsyncAlgorithms 1.0, *)
 16 |   @inlinable
 17 |   public func joined<Separator: AsyncSequence>(
    |                                 `- error: cannot find type 'AsyncSequence' in scope
 18 |     separator: Separator
 19 |   ) -> AsyncJoinedBySeparatorSequence<Self, Separator> {
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/AsyncJoinedSequence.swift:13:25: error: 'where' clause cannot be applied to a non-generic top-level declaration
 11 |
 12 | @available(AsyncAlgorithms 1.0, *)
 13 | extension AsyncSequence where Element: AsyncSequence {
    |                         `- error: 'where' clause cannot be applied to a non-generic top-level declaration
 14 |   /// Concatenate an `AsyncSequence` of `AsyncSequence` elements
 15 |   @available(AsyncAlgorithms 1.0, *)
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/AsyncRemoveDuplicatesSequence.swift:13:25: error: 'where' clause cannot be applied to a non-generic top-level declaration
 11 |
 12 | @available(AsyncAlgorithms 1.0, *)
 13 | extension AsyncSequence where Element: Equatable {
    |                         `- error: 'where' clause cannot be applied to a non-generic top-level declaration
 14 |   /// Creates an asynchronous sequence that omits repeated elements.
 15 |   @available(AsyncAlgorithms 1.0, *)
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/AsyncRemoveDuplicatesSequence.swift:28:40: error: cannot find type 'Element' in scope
 26 |   @available(AsyncAlgorithms 1.0, *)
 27 |   public func removeDuplicates(
 28 |     by predicate: @escaping @Sendable (Element, Element) async -> Bool
    |                                        `- error: cannot find type 'Element' in scope
 29 |   ) -> AsyncRemoveDuplicatesSequence<Self> {
 30 |     return AsyncRemoveDuplicatesSequence(self, predicate: predicate)
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/AsyncRemoveDuplicatesSequence.swift:28:49: error: cannot find type 'Element' in scope
 26 |   @available(AsyncAlgorithms 1.0, *)
 27 |   public func removeDuplicates(
 28 |     by predicate: @escaping @Sendable (Element, Element) async -> Bool
    |                                                 `- error: cannot find type 'Element' in scope
 29 |   ) -> AsyncRemoveDuplicatesSequence<Self> {
 30 |     return AsyncRemoveDuplicatesSequence(self, predicate: predicate)
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/AsyncRemoveDuplicatesSequence.swift:36:40: error: cannot find type 'Element' in scope
 34 |   @available(AsyncAlgorithms 1.0, *)
 35 |   public func removeDuplicates(
 36 |     by predicate: @escaping @Sendable (Element, Element) async throws -> Bool
    |                                        `- error: cannot find type 'Element' in scope
 37 |   ) -> AsyncThrowingRemoveDuplicatesSequence<Self> {
 38 |     return AsyncThrowingRemoveDuplicatesSequence(self, predicate: predicate)
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/AsyncRemoveDuplicatesSequence.swift:36:49: error: cannot find type 'Element' in scope
 34 |   @available(AsyncAlgorithms 1.0, *)
 35 |   public func removeDuplicates(
 36 |     by predicate: @escaping @Sendable (Element, Element) async throws -> Bool
    |                                                 `- error: cannot find type 'Element' in scope
 37 |   ) -> AsyncThrowingRemoveDuplicatesSequence<Self> {
 38 |     return AsyncThrowingRemoveDuplicatesSequence(self, predicate: predicate)
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/AsyncShareSequence.swift:19:1: error: 'where' clause cannot be applied to a non-generic top-level declaration
 17 | @available(AsyncAlgorithms 1.1, *)
 18 | extension AsyncSequence
 19 | where Element: Sendable, Self: SendableMetatype, AsyncIterator: SendableMetatype {
    | `- error: 'where' clause cannot be applied to a non-generic top-level declaration
 20 |   /// Creates a shared async sequence that allows multiple concurrent iterations over a single source.
 21 |   ///
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/AsyncShareSequence.swift:70:13: error: cannot find type 'AsyncSequence' in scope
 68 |   public func share(
 69 |     bufferingPolicy: AsyncBufferSequencePolicy = .bounded(1)
 70 |   ) -> some AsyncSequence<Element, Failure> & Sendable {
    |             `- error: cannot find type 'AsyncSequence' in scope
 71 |     // The iterator is transferred to the isolation of the iterating task
 72 |     // this has to be done "unsafely" since we cannot annotate the transfer
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/AsyncShareSequence.swift:70:8: error: 'some' types are only permitted in properties, subscripts, and functions
 68 |   public func share(
 69 |     bufferingPolicy: AsyncBufferSequencePolicy = .bounded(1)
 70 |   ) -> some AsyncSequence<Element, Failure> & Sendable {
    |        `- error: 'some' types are only permitted in properties, subscripts, and functions
 71 |     // The iterator is transferred to the isolation of the iterating task
 72 |     // this has to be done "unsafely" since we cannot annotate the transfer
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/AsyncThrottleSequence.swift:19:46: error: cannot find type 'Element' in scope
 17 |     for interval: C.Instant.Duration,
 18 |     clock: C,
 19 |     reducing: @Sendable @escaping (Reduced?, Element) async -> Reduced
    |                                              `- error: cannot find type 'Element' in scope
 20 |   ) -> _AsyncThrottleSequence<Self, C, Reduced> {
 21 |     _AsyncThrottleSequence(self, interval: interval, clock: clock, reducing: reducing)
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/AsyncThrottleSequence.swift:16:28: error: cannot find type 'Clock' in scope
 14 |   /// Create a rate-limited `AsyncSequence` by emitting values at most every specified interval.
 15 |   @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
 16 |   public func _throttle<C: Clock, Reduced>(
    |                            `- error: cannot find type 'Clock' in scope
 17 |     for interval: C.Instant.Duration,
 18 |     clock: C,
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/AsyncThrottleSequence.swift:17:21: error: 'Instant' is not a member type of type 'C'
 15 |   @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
 16 |   public func _throttle<C: Clock, Reduced>(
 17 |     for interval: C.Instant.Duration,
    |                     `- error: 'Instant' is not a member type of type 'C'
 18 |     clock: C,
 19 |     reducing: @Sendable @escaping (Reduced?, Element) async -> Reduced
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/AsyncThrottleSequence.swift:28:46: error: cannot find type 'Element' in scope
 26 |   public func _throttle<Reduced>(
 27 |     for interval: Duration,
 28 |     reducing: @Sendable @escaping (Reduced?, Element) async -> Reduced
    |                                              `- error: cannot find type 'Element' in scope
 29 |   ) -> _AsyncThrottleSequence<Self, ContinuousClock, Reduced> {
 30 |     _throttle(for: interval, clock: .continuous, reducing: reducing)
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/AsyncThrottleSequence.swift:35:28: error: cannot find type 'Clock' in scope
 33 |   /// Create a rate-limited `AsyncSequence` by emitting values at most every specified interval.
 34 |   @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
 35 |   public func _throttle<C: Clock>(
    |                            `- error: cannot find type 'Clock' in scope
 36 |     for interval: C.Instant.Duration,
 37 |     clock: C,
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/AsyncThrottleSequence.swift:36:21: error: 'Instant' is not a member type of type 'C'
 34 |   @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
 35 |   public func _throttle<C: Clock>(
 36 |     for interval: C.Instant.Duration,
    |                     `- error: 'Instant' is not a member type of type 'C'
 37 |     clock: C,
 38 |     latest: Bool = true
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/AsyncThrowingExclusiveReductionsSequence.swift:31:47: error: cannot find type 'Element' in scope
 29 |   public func reductions<Result>(
 30 |     _ initial: Result,
 31 |     _ transform: @Sendable @escaping (Result, Element) async throws -> Result
    |                                               `- error: cannot find type 'Element' in scope
 32 |   ) -> AsyncThrowingExclusiveReductionsSequence<Self, Result> {
 33 |     reductions(into: initial) { result, element in
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/AsyncThrowingExclusiveReductionsSequence.swift:56:53: error: cannot find type 'Element' in scope
 54 |   public func reductions<Result>(
 55 |     into initial: Result,
 56 |     _ transform: @Sendable @escaping (inout Result, Element) async throws -> Void
    |                                                     `- error: cannot find type 'Element' in scope
 57 |   ) -> AsyncThrowingExclusiveReductionsSequence<Self, Result> {
 58 |     AsyncThrowingExclusiveReductionsSequence(self, initial: initial, transform: transform)
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/AsyncThrowingInclusiveReductionsSequence.swift:34:39: error: cannot find type 'Element' in scope
 32 |   @inlinable
 33 |   public func reductions(
 34 |     _ transform: @Sendable @escaping (Element, Element) async throws -> Element
    |                                       `- error: cannot find type 'Element' in scope
 35 |   ) -> AsyncThrowingInclusiveReductionsSequence<Self> {
 36 |     AsyncThrowingInclusiveReductionsSequence(self, transform: transform)
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/AsyncThrowingInclusiveReductionsSequence.swift:34:48: error: cannot find type 'Element' in scope
 32 |   @inlinable
 33 |   public func reductions(
 34 |     _ transform: @Sendable @escaping (Element, Element) async throws -> Element
    |                                                `- error: cannot find type 'Element' in scope
 35 |   ) -> AsyncThrowingInclusiveReductionsSequence<Self> {
 36 |     AsyncThrowingInclusiveReductionsSequence(self, transform: transform)
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/AsyncThrowingInclusiveReductionsSequence.swift:34:73: error: cannot find type 'Element' in scope
 32 |   @inlinable
 33 |   public func reductions(
 34 |     _ transform: @Sendable @escaping (Element, Element) async throws -> Element
    |                                                                         `- error: cannot find type 'Element' in scope
 35 |   ) -> AsyncThrowingInclusiveReductionsSequence<Self> {
 36 |     AsyncThrowingInclusiveReductionsSequence(self, transform: transform)
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Buffer/AsyncBufferSequence.swift:13:25: error: 'where' clause cannot be applied to a non-generic top-level declaration
 11 |
 12 | @available(AsyncAlgorithms 1.0, *)
 13 | extension AsyncSequence where Self: Sendable {
    |                         `- error: 'where' clause cannot be applied to a non-generic top-level declaration
 14 |   /// Creates an asynchronous sequence that buffers elements.
 15 |   ///
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Debounce/AsyncDebounceSequence.swift:17:27: error: cannot find type 'Clock' in scope
 15 |   /// has elapsed by using a specified Clock.
 16 |   @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
 17 |   public func debounce<C: Clock>(
    |                           `- error: cannot find type 'Clock' in scope
 18 |     for interval: C.Instant.Duration,
 19 |     tolerance: C.Instant.Duration? = nil,
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Debounce/AsyncDebounceSequence.swift:18:21: error: 'Instant' is not a member type of type 'C'
 16 |   @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
 17 |   public func debounce<C: Clock>(
 18 |     for interval: C.Instant.Duration,
    |                     `- error: 'Instant' is not a member type of type 'C'
 19 |     tolerance: C.Instant.Duration? = nil,
 20 |     clock: C
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Debounce/AsyncDebounceSequence.swift:19:18: error: 'Instant' is not a member type of type 'C'
 17 |   public func debounce<C: Clock>(
 18 |     for interval: C.Instant.Duration,
 19 |     tolerance: C.Instant.Duration? = nil,
    |                  `- error: 'Instant' is not a member type of type 'C'
 20 |     clock: C
 21 |   ) -> AsyncDebounceSequence<Self, C> where Self: Sendable, Self.Element: Sendable {
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Debounce/AsyncDebounceSequence.swift:31:53: error: 'where' clause on non-generic member declaration requires a generic context
 29 |     for interval: Duration,
 30 |     tolerance: Duration? = nil
 31 |   ) -> AsyncDebounceSequence<Self, ContinuousClock> where Self: Sendable, Self.Element: Sendable {
    |                                                     `- error: 'where' clause on non-generic member declaration requires a generic context
 32 |     self.debounce(for: interval, tolerance: tolerance, clock: .continuous)
 33 |   }
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Interspersed/AsyncInterspersedSequence.swift:36:60: error: cannot find type 'Element' in scope
 34 |   @available(AsyncAlgorithms 1.0, *)
 35 |   @inlinable
 36 |   public func interspersed(every: Int = 1, with separator: Element) -> AsyncInterspersedSequence<Self> {
    |                                                            `- error: cannot find type 'Element' in scope
 37 |     AsyncInterspersedSequence(self, every: every, separator: separator)
 38 |   }
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Interspersed/AsyncInterspersedSequence.swift:64:47: error: cannot find type 'Element' in scope
 62 |   public func interspersed(
 63 |     every: Int = 1,
 64 |     with separator: @Sendable @escaping () -> Element
    |                                               `- error: cannot find type 'Element' in scope
 65 |   ) -> AsyncInterspersedSequence<Self> {
 66 |     AsyncInterspersedSequence(self, every: every, separator: separator)
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Interspersed/AsyncInterspersedSequence.swift:93:53: error: cannot find type 'Element' in scope
 91 |   public func interspersed(
 92 |     every: Int = 1,
 93 |     with separator: @Sendable @escaping () async -> Element
    |                                                     `- error: cannot find type 'Element' in scope
 94 |   ) -> AsyncInterspersedSequence<Self> {
 95 |     AsyncInterspersedSequence(self, every: every, separator: separator)
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Interspersed/AsyncInterspersedSequence.swift:122:54: error: cannot find type 'Element' in scope
120 |   public func interspersed(
121 |     every: Int = 1,
122 |     with separator: @Sendable @escaping () throws -> Element
    |                                                      `- error: cannot find type 'Element' in scope
123 |   ) -> AsyncThrowingInterspersedSequence<Self> {
124 |     AsyncThrowingInterspersedSequence(self, every: every, separator: separator)
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Interspersed/AsyncInterspersedSequence.swift:151:60: error: cannot find type 'Element' in scope
149 |   public func interspersed(
150 |     every: Int = 1,
151 |     with separator: @Sendable @escaping () async throws -> Element
    |                                                            `- error: cannot find type 'Element' in scope
152 |   ) -> AsyncThrowingInterspersedSequence<Self> {
153 |     AsyncThrowingInterspersedSequence(self, every: every, separator: separator)
BUILD FAILURE 6.2 wasm