Build Information
Failed to build AsyncCombine, reference main (dfad85), with Swift 6.2 for Wasm on 21 Oct 2025 06:15:20 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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>&1Build Log
| `- error: cannot infer contextual base in reference to member 'none'
402 | // We don't have any buffered element so we can just go ahead
403 | // and transition to finished and cancel everything
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Debounce/DebounceStateMachine.swift:424:86: error: '_' can only appear in a pattern or on the left side of an assignment
422 | )
423 |
424 | case .debouncing(let task, let upstreamContinuation, let downstreamContinuation, _):
| `- error: '_' can only appear in a pattern or on the left side of an assignment
425 | // We are debouncing and the upstream threw. At this point
426 | // we can just resume the downstream continuation with error and cancel everything else
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Debounce/DebounceStateMachine.swift:406:15: error: type 'DebounceStateMachine<Base, C>.UpstreamThrewAction?' has no member 'cancelTaskAndClockContinuation'
404 | self.state = .finished
405 |
406 | return .cancelTaskAndClockContinuation(
| `- error: type 'DebounceStateMachine<Base, C>.UpstreamThrewAction?' has no member 'cancelTaskAndClockContinuation'
407 | task: task,
408 | clockContinuation: clockContinuation
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Debounce/DebounceStateMachine.swift:416:15: error: type 'DebounceStateMachine<Base, C>.UpstreamThrewAction?' has no member 'resumeContinuationWithErrorAndCancelTaskAndUpstreamContinuation'
414 | self.state = .finished
415 |
416 | return .resumeContinuationWithErrorAndCancelTaskAndUpstreamContinuation(
| `- error: type 'DebounceStateMachine<Base, C>.UpstreamThrewAction?' has no member 'resumeContinuationWithErrorAndCancelTaskAndUpstreamContinuation'
417 | downstreamContinuation: downstreamContinuation,
418 | error: error,
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Debounce/DebounceStateMachine.swift:420:31: error: 'nil' requires a contextual type
418 | error: error,
419 | task: task,
420 | upstreamContinuation: nil,
| `- error: 'nil' requires a contextual type
421 | clockContinuation: clockContinuation
422 | )
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Debounce/DebounceStateMachine.swift:429:15: error: type 'DebounceStateMachine<Base, C>.UpstreamThrewAction?' has no member 'resumeContinuationWithErrorAndCancelTaskAndUpstreamContinuation'
427 | self.state = .finished
428 |
429 | return .resumeContinuationWithErrorAndCancelTaskAndUpstreamContinuation(
| `- error: type 'DebounceStateMachine<Base, C>.UpstreamThrewAction?' has no member 'resumeContinuationWithErrorAndCancelTaskAndUpstreamContinuation'
430 | downstreamContinuation: downstreamContinuation,
431 | error: error,
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Debounce/DebounceStateMachine.swift:434:28: error: 'nil' requires a contextual type
432 | task: task,
433 | upstreamContinuation: upstreamContinuation,
434 | clockContinuation: nil
| `- error: 'nil' requires a contextual type
435 | )
436 |
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Debounce/DebounceStateMachine.swift:463:28: error: '_' can only appear in a pattern or on the left side of an assignment
461 | preconditionFailure("Internal inconsistency current state \(self.state) and received clockTaskSuspended()")
462 |
463 | case .waitingForDemand(_, _, .some, _):
| `- error: '_' can only appear in a pattern or on the left side of an assignment
464 | // We already have a clock continuation so we can never get a second one
465 | preconditionFailure("Internal inconsistency current state \(self.state) and received clockTaskSuspended()")
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Debounce/DebounceStateMachine.swift:467:27: error: '_' can only appear in a pattern or on the left side of an assignment
465 | preconditionFailure("Internal inconsistency current state \(self.state) and received clockTaskSuspended()")
466 |
467 | case .demandSignalled(_, .some, _):
| `- error: '_' can only appear in a pattern or on the left side of an assignment
468 | // We already have a clock continuation so we can never get a second one
469 | preconditionFailure("Internal inconsistency current state \(self.state) and received clockTaskSuspended()")
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Debounce/DebounceStateMachine.swift:471:65: error: cannot infer contextual base in reference to member 'none'
469 | preconditionFailure("Internal inconsistency current state \(self.state) and received clockTaskSuspended()")
470 |
471 | case .waitingForDemand(let task, let upstreamContinuation, .none, let bufferedElement):
| `- error: cannot infer contextual base in reference to member 'none'
472 | // The clock child task suspended and we just need to store the continuation until
473 | // demand is signalled
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Debounce/DebounceStateMachine.swift:484:38: error: cannot infer contextual base in reference to member 'none'
482 | return .none
483 |
484 | case .demandSignalled(let task, .none, let downstreamContinuation):
| `- error: cannot infer contextual base in reference to member 'none'
485 | // The demand was signalled but we haven't gotten the first element from the upstream yet
486 | // so we need to stay in this state and do nothing
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Debounce/DebounceStateMachine.swift:495:22: error: '_' can only appear in a pattern or on the left side of an assignment
493 | return .none
494 |
495 | case .debouncing(_, _, _, let currentElement):
| `- error: '_' can only appear in a pattern or on the left side of an assignment
496 | // We are currently debouncing and the Clock task suspended
497 | // We need to resume the continuation right away.
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Debounce/DebounceStateMachine.swift:498:15: error: type 'DebounceStateMachine<Base, C>.ClockTaskSuspendedAction?' has no member 'resumeContinuation'
496 | // We are currently debouncing and the Clock task suspended
497 | // We need to resume the continuation right away.
498 | return .resumeContinuation(
| `- error: type 'DebounceStateMachine<Base, C>.ClockTaskSuspendedAction?' has no member 'resumeContinuation'
499 | clockContinuation: continuation,
500 | deadline: currentElement.deadline
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Debounce/DebounceStateMachine.swift:508:16: error: cannot find 'CancellationError' in scope
506 | return .resumeContinuationWithError(
507 | clockContinuation: continuation,
508 | error: CancellationError()
| `- error: cannot find 'CancellationError' in scope
509 | )
510 |
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Debounce/DebounceStateMachine.swift:506:15: error: type 'DebounceStateMachine<Base, C>.ClockTaskSuspendedAction?' has no member 'resumeContinuationWithError'
504 | // The upstream failed while we were waiting to suspend the clock task again
505 | // The task should have already been cancelled and we just need to cancel the continuation
506 | return .resumeContinuationWithError(
| `- error: type 'DebounceStateMachine<Base, C>.ClockTaskSuspendedAction?' has no member 'resumeContinuationWithError'
507 | clockContinuation: continuation,
508 | error: CancellationError()
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Debounce/DebounceStateMachine.swift:517:16: error: cannot find 'CancellationError' in scope
515 | return .resumeContinuationWithError(
516 | clockContinuation: continuation,
517 | error: CancellationError()
| `- error: cannot find 'CancellationError' in scope
518 | )
519 | }
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Debounce/DebounceStateMachine.swift:515:15: error: type 'DebounceStateMachine<Base, C>.ClockTaskSuspendedAction?' has no member 'resumeContinuationWithError'
513 | // suspended even though we already cancelled them. We must tolerate this and just resume
514 | // the continuation with an error.
515 | return .resumeContinuationWithError(
| `- error: type 'DebounceStateMachine<Base, C>.ClockTaskSuspendedAction?' has no member 'resumeContinuationWithError'
516 | clockContinuation: continuation,
517 | error: CancellationError()
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Debounce/DebounceStateMachine.swift:546:51: error: value of type 'C' has no member 'now'
544 |
545 | case .debouncing(let task, let upstreamContinuation, let downstreamContinuation, let currentElement):
546 | guard currentElement.deadline <= self.clock.now else {
| `- error: value of type 'C' has no member 'now'
547 | // The deadline is still in the future so we need to sleep again
548 | return .none
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Debounce/DebounceStateMachine.swift:554:28: error: 'nil' requires a contextual type
552 | task: task,
553 | upstreamContinuation: upstreamContinuation,
554 | clockContinuation: nil,
| `- error: 'nil' requires a contextual type
555 | bufferedElement: nil
556 | )
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Debounce/DebounceStateMachine.swift:555:26: error: 'nil' requires a contextual type
553 | upstreamContinuation: upstreamContinuation,
554 | clockContinuation: nil,
555 | bufferedElement: nil
| `- error: 'nil' requires a contextual type
556 | )
557 |
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Debounce/DebounceStateMachine.swift:558:15: error: type 'DebounceStateMachine<Base, C>.ClockSleepFinishedAction?' has no member 'resumeDownstreamContinuation'
556 | )
557 |
558 | return .resumeDownstreamContinuation(
| `- error: type 'DebounceStateMachine<Base, C>.ClockSleepFinishedAction?' has no member 'resumeDownstreamContinuation'
559 | downstreamContinuation: downstreamContinuation,
560 | element: currentElement.element
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Debounce/DebounceStateMachine.swift:612:86: error: '_' can only appear in a pattern or on the left side of an assignment
610 | )
611 |
612 | case .debouncing(let task, let upstreamContinuation, let downstreamContinuation, _):
| `- error: '_' can only appear in a pattern or on the left side of an assignment
613 | // We got cancelled while debouncing.
614 | // We can cancel everything at this point and return nil
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Debounce/DebounceStateMachine.swift:605:15: error: type 'DebounceStateMachine<Base, C>.CancelledAction?' has no member 'resumeDownstreamContinuationWithNilAndCancelTaskAndUpstreamAndClockContinuation'
603 | self.state = .finished
604 |
605 | return .resumeDownstreamContinuationWithNilAndCancelTaskAndUpstreamAndClockContinuation(
| `- error: type 'DebounceStateMachine<Base, C>.CancelledAction?' has no member 'resumeDownstreamContinuationWithNilAndCancelTaskAndUpstreamAndClockContinuation'
606 | downstreamContinuation: downstreamContinuation,
607 | task: task,
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Debounce/DebounceStateMachine.swift:608:31: error: 'nil' requires a contextual type
606 | downstreamContinuation: downstreamContinuation,
607 | task: task,
608 | upstreamContinuation: nil,
| `- error: 'nil' requires a contextual type
609 | clockContinuation: clockContinuation
610 | )
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Debounce/DebounceStateMachine.swift:617:15: error: type 'DebounceStateMachine<Base, C>.CancelledAction?' has no member 'resumeDownstreamContinuationWithNilAndCancelTaskAndUpstreamAndClockContinuation'
615 | self.state = .finished
616 |
617 | return .resumeDownstreamContinuationWithNilAndCancelTaskAndUpstreamAndClockContinuation(
| `- error: type 'DebounceStateMachine<Base, C>.CancelledAction?' has no member 'resumeDownstreamContinuationWithNilAndCancelTaskAndUpstreamAndClockContinuation'
618 | downstreamContinuation: downstreamContinuation,
619 | task: task,
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Debounce/DebounceStateMachine.swift:621:28: error: 'nil' requires a contextual type
619 | task: task,
620 | upstreamContinuation: upstreamContinuation,
621 | clockContinuation: nil
| `- error: 'nil' requires a contextual type
622 | )
623 |
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Debounce/DebounceStateMachine.swift:686:31: error: 'nil' requires a contextual type
684 | self.state = .debouncing(
685 | task: task,
686 | upstreamContinuation: nil,
| `- error: 'nil' requires a contextual type
687 | downstreamContinuation: continuation,
688 | currentElement: bufferedElement
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Debounce/DebounceStorage.swift:13:92: error: 'Element' is not a member type of type 'Base'
11 |
12 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
13 | final class DebounceStorage<Base: AsyncSequence & Sendable, C: Clock>: Sendable where Base.Element: Sendable {
| `- error: 'Element' is not a member type of type 'Base'
14 | typealias Element = Base.Element
15 |
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Debounce/DebounceStorage.swift:14:28: error: 'Element' is not a member type of type 'Base'
12 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
13 | final class DebounceStorage<Base: AsyncSequence & Sendable, C: Clock>: Sendable where Base.Element: Sendable {
14 | typealias Element = Base.Element
| `- error: 'Element' is not a member type of type 'Base'
15 |
16 | /// The state machine protected with a lock.
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Debounce/DebounceStorage.swift:19:27: error: 'Instant' is not a member type of type 'C'
17 | private let stateMachine: ManagedCriticalState<DebounceStateMachine<Base, C>>
18 | /// The interval to debounce.
19 | private let interval: C.Instant.Duration
| `- error: 'Instant' is not a member type of type 'C'
20 | /// The tolerance for the clock.
21 | private let tolerance: C.Instant.Duration?
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Debounce/DebounceStorage.swift:21:28: error: 'Instant' is not a member type of type 'C'
19 | private let interval: C.Instant.Duration
20 | /// The tolerance for the clock.
21 | private let tolerance: C.Instant.Duration?
| `- error: 'Instant' is not a member type of type 'C'
22 | /// The clock.
23 | private let clock: C
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Debounce/DebounceStorage.swift:51:21: error: 'rethrows' function must take a throwing function argument
49 | }
50 |
51 | func next() async rethrows -> Element? {
| `- error: 'rethrows' function must take a throwing function argument
52 | // We need to handle cancellation here because we are creating a continuation
53 | // 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/Debounce/DebounceStorage.swift:139:29: error: cannot find type 'UnsafeContinuation' in scope
137 | stateMachine: inout DebounceStateMachine<Base, C>,
138 | base: Base,
139 | downstreamContinuation: UnsafeContinuation<Result<Base.Element?, Error>, Never>
| `- error: cannot find type 'UnsafeContinuation' in scope
140 | ) {
141 | let task = Task {
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Debounce/DebounceStorage.swift:36:11: error: type 'DebounceStateMachine<Base, C>.IteratorDeinitializedAction?' has no member 'cancelTaskAndUpstreamAndClockContinuations'
34 |
35 | switch action {
36 | case .cancelTaskAndUpstreamAndClockContinuations(
| `- error: type 'DebounceStateMachine<Base, C>.IteratorDeinitializedAction?' has no member 'cancelTaskAndUpstreamAndClockContinuations'
37 | let task,
38 | let upstreamContinuation,
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Debounce/DebounceStorage.swift:41:46: error: cannot find 'CancellationError' in scope
39 | let clockContinuation
40 | ):
41 | upstreamContinuation?.resume(throwing: CancellationError())
| `- error: cannot find 'CancellationError' in scope
42 | clockContinuation?.resume(throwing: CancellationError())
43 |
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Debounce/DebounceStorage.swift:42:43: error: cannot find 'CancellationError' in scope
40 | ):
41 | upstreamContinuation?.resume(throwing: CancellationError())
42 | clockContinuation?.resume(throwing: CancellationError())
| `- error: cannot find 'CancellationError' in scope
43 |
44 | task.cancel()
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Debounce/DebounceStorage.swift:141:16: error: cannot find 'Task' in scope
139 | downstreamContinuation: UnsafeContinuation<Result<Base.Element?, Error>, Never>
140 | ) {
141 | let task = Task {
| `- error: cannot find 'Task' in scope
142 | await withThrowingTaskGroup(of: Void.self) { group in
143 | // The task that consumes the upstream sequence
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Debounce/DebounceStorage.swift:142:13: error: cannot find 'withThrowingTaskGroup' in scope
140 | ) {
141 | let task = Task {
142 | await withThrowingTaskGroup(of: Void.self) { group in
| `- error: cannot find 'withThrowingTaskGroup' in scope
143 | // The task that consumes the upstream sequence
144 | group.addTask {
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Debounce/DebounceStorage.swift:153:23: error: cannot find 'withUnsafeThrowingContinuation' in scope
151 | // if the downstream consumer called `next` to signal his demand
152 | // and until the Clock sleep finished.
153 | try await withUnsafeThrowingContinuation { continuation in
| `- error: cannot find 'withUnsafeThrowingContinuation' in scope
154 | let action = self.stateMachine.withCriticalRegion { $0.upstreamTaskSuspended(continuation) }
155 |
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Debounce/DebounceStorage.swift:195:53: error: cannot find 'CancellationError' in scope
193 | case .cancelTaskAndClockContinuation(let task, let clockContinuation):
194 | task.cancel()
195 | clockContinuation?.resume(throwing: CancellationError())
| `- error: cannot find 'CancellationError' in scope
196 |
197 | break loop
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Debounce/DebounceStorage.swift:204:56: error: cannot find 'CancellationError' in scope
202 | let clockContinuation
203 | ):
204 | upstreamContinuation?.resume(throwing: CancellationError())
| `- error: cannot find 'CancellationError' in scope
205 | clockContinuation?.resume(throwing: CancellationError())
206 | task.cancel()
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Debounce/DebounceStorage.swift:205:53: error: cannot find 'CancellationError' in scope
203 | ):
204 | upstreamContinuation?.resume(throwing: CancellationError())
205 | clockContinuation?.resume(throwing: CancellationError())
| `- error: cannot find 'CancellationError' in scope
206 | task.cancel()
207 |
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Debounce/DebounceStorage.swift:219:56: error: cannot find 'CancellationError' in scope
217 | let clockContinuation
218 | ):
219 | upstreamContinuation?.resume(throwing: CancellationError())
| `- error: cannot find 'CancellationError' in scope
220 | clockContinuation?.resume(throwing: CancellationError())
221 | task.cancel()
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Debounce/DebounceStorage.swift:220:53: error: cannot find 'CancellationError' in scope
218 | ):
219 | upstreamContinuation?.resume(throwing: CancellationError())
220 | clockContinuation?.resume(throwing: CancellationError())
| `- error: cannot find 'CancellationError' in scope
221 | task.cancel()
222 |
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Debounce/DebounceStorage.swift:241:51: error: cannot find 'withUnsafeThrowingContinuation' in scope
239 | // We are creating a continuation sleeping on the Clock.
240 | // This continuation is only resumed if the downstream consumer called `next`.
241 | let deadline: C.Instant = try await withUnsafeThrowingContinuation { continuation in
| `- error: cannot find 'withUnsafeThrowingContinuation' in scope
242 | let action = self.stateMachine.withCriticalRegion {
243 | $0.clockTaskSuspended(continuation)
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Debounce/DebounceStorage.swift:302:54: error: cannot find 'CancellationError' in scope
300 | let clockContinuation
301 | ):
302 | upstreamContinuation?.resume(throwing: CancellationError())
| `- error: cannot find 'CancellationError' in scope
303 | clockContinuation?.resume(throwing: CancellationError())
304 |
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Debounce/DebounceStorage.swift:303:51: error: cannot find 'CancellationError' in scope
301 | ):
302 | upstreamContinuation?.resume(throwing: CancellationError())
303 | clockContinuation?.resume(throwing: CancellationError())
| `- error: cannot find 'CancellationError' in scope
304 |
305 | task.cancel()
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Debounce/DebounceStorage.swift:313:51: error: cannot find 'CancellationError' in scope
311 | let clockContinuation
312 | ):
313 | clockContinuation?.resume(throwing: CancellationError())
| `- error: cannot find 'CancellationError' in scope
314 | task.cancel()
315 | case .none:
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Debounce/DebounceStorage.swift:145:31: error: value of type 'Base' has no member 'makeAsyncIterator'
143 | // The task that consumes the upstream sequence
144 | group.addTask {
145 | var iterator = base.makeAsyncIterator()
| `- error: value of type 'Base' has no member 'makeAsyncIterator'
146 |
147 | // This is our upstream consumption loop
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Dictionary.swift:27:18: error: cannot find type 'AsyncSequence' in scope
25 | @available(AsyncAlgorithms 1.0, *)
26 | @inlinable
27 | public init<S: AsyncSequence>(uniqueKeysWithValues keysAndValues: S) async rethrows
| `- error: cannot find type 'AsyncSequence' in scope
28 | where S.Element == (Key, Value) {
29 | self.init(uniqueKeysWithValues: try await Array(keysAndValues))
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Dictionary.swift:28:11: error: 'Element' is not a member type of type 'S'
26 | @inlinable
27 | public init<S: AsyncSequence>(uniqueKeysWithValues keysAndValues: S) async rethrows
28 | where S.Element == (Key, Value) {
| `- error: 'Element' is not a member type of type 'S'
29 | self.init(uniqueKeysWithValues: try await Array(keysAndValues))
30 | }
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Dictionary.swift:27:78: error: 'rethrows' function must take a throwing function argument
25 | @available(AsyncAlgorithms 1.0, *)
26 | @inlinable
27 | public init<S: AsyncSequence>(uniqueKeysWithValues keysAndValues: S) async rethrows
| `- error: 'rethrows' function must take a throwing function argument
28 | where S.Element == (Key, Value) {
29 | self.init(uniqueKeysWithValues: try await Array(keysAndValues))
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Dictionary.swift:52:18: error: cannot find type 'AsyncSequence' in scope
50 | @available(AsyncAlgorithms 1.0, *)
51 | @inlinable
52 | public init<S: AsyncSequence>(
| `- error: cannot find type 'AsyncSequence' in scope
53 | _ keysAndValues: S,
54 | uniquingKeysWith combine: (Value, Value) async throws -> Value
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Dictionary.swift:55:28: error: 'Element' is not a member type of type 'S'
53 | _ keysAndValues: S,
54 | uniquingKeysWith combine: (Value, Value) async throws -> Value
55 | ) async rethrows where S.Element == (Key, Value) {
| `- error: 'Element' is not a member type of type 'S'
56 | self.init()
57 | for try await (key, value) in keysAndValues {
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Dictionary.swift:80:18: error: cannot find type 'AsyncSequence' in scope
78 | @available(AsyncAlgorithms 1.0, *)
79 | @inlinable
80 | public init<S: AsyncSequence>(grouping values: S, by keyForValue: (S.Element) async throws -> Key) async rethrows
| `- error: cannot find type 'AsyncSequence' in scope
81 | where Value == [S.Element] {
82 | self.init()
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Dictionary.swift:80:72: error: 'Element' is not a member type of type 'S'
78 | @available(AsyncAlgorithms 1.0, *)
79 | @inlinable
80 | public init<S: AsyncSequence>(grouping values: S, by keyForValue: (S.Element) async throws -> Key) async rethrows
| `- error: 'Element' is not a member type of type 'S'
81 | where Value == [S.Element] {
82 | self.init()
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Dictionary.swift:81:21: error: 'Element' is not a member type of type 'S'
79 | @inlinable
80 | public init<S: AsyncSequence>(grouping values: S, by keyForValue: (S.Element) async throws -> Key) async rethrows
81 | where Value == [S.Element] {
| `- error: 'Element' is not a member type of type 'S'
82 | self.init()
83 | for try await value in values {
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Dictionary.swift:57:5: error: missing protocol 'AsyncSequence'
55 | ) async rethrows where S.Element == (Key, Value) {
56 | self.init()
57 | for try await (key, value) in keysAndValues {
| `- error: missing protocol 'AsyncSequence'
58 | if let existing = self[key] {
59 | self[key] = try await combine(existing, value)
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Dictionary.swift:83:5: error: missing protocol 'AsyncSequence'
81 | where Value == [S.Element] {
82 | self.init()
83 | for try await value in values {
| `- error: missing protocol 'AsyncSequence'
84 | let key = try await keyForValue(value)
85 | self[key, default: []].append(value)
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Interspersed/AsyncInterspersedSequence.swift:13:11: error: cannot find type 'AsyncSequence' in scope
11 |
12 | @available(AsyncAlgorithms 1.0, *)
13 | extension AsyncSequence {
| `- error: cannot find type 'AsyncSequence' in scope
14 | /// Returns a new asynchronous sequence containing the elements of this asynchronous sequence, inserting
15 | /// the given separator between each element.
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Interspersed/AsyncInterspersedSequence.swift:160:47: error: cannot find type 'AsyncSequence' in scope
158 | /// elements with a separator between each of those elements.
159 | @available(AsyncAlgorithms 1.0, *)
160 | public struct AsyncInterspersedSequence<Base: AsyncSequence> {
| `- error: cannot find type 'AsyncSequence' in scope
161 | @usableFromInline
162 | internal enum Separator {
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Interspersed/AsyncInterspersedSequence.swift:203:38: error: cannot find type 'AsyncSequence' in scope
201 |
202 | @available(AsyncAlgorithms 1.0, *)
203 | extension AsyncInterspersedSequence: AsyncSequence {
| `- error: cannot find type 'AsyncSequence' in scope
204 | public typealias Element = Base.Element
205 |
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Interspersed/AsyncInterspersedSequence.swift:204:35: error: 'Element' is not a member type of type 'Base'
202 | @available(AsyncAlgorithms 1.0, *)
203 | extension AsyncInterspersedSequence: AsyncSequence {
204 | public typealias Element = Base.Element
| `- error: 'Element' is not a member type of type 'Base'
205 |
206 | /// The iterator for an `AsyncInterspersedSequence` asynchronous sequence.
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Interspersed/AsyncInterspersedSequence.swift:218:33: error: 'AsyncIterator' is not a member type of type 'Base'
216 |
217 | @usableFromInline
218 | internal var iterator: Base.AsyncIterator
| `- error: 'AsyncIterator' is not a member type of type 'Base'
219 |
220 | @usableFromInline
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Interspersed/AsyncInterspersedSequence.swift:227:38: error: 'nil' requires a contextual type
225 |
226 | @usableFromInline
227 | internal var state = State.start(nil)
| `- error: 'nil' requires a contextual type
228 |
229 | @usableFromInline
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Interspersed/AsyncInterspersedSequence.swift:230:36: error: 'AsyncIterator' is not a member type of type 'Base'
228 |
229 | @usableFromInline
230 | internal init(_ iterator: Base.AsyncIterator, every: Int, separator: Separator) {
| `- error: 'AsyncIterator' is not a member type of type 'Base'
231 | self.iterator = iterator
232 | self.separator = separator
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Interspersed/AsyncInterspersedSequence.swift:236:56: error: 'Element' is not a member type of type 'Base'
234 | }
235 |
236 | public mutating func next() async rethrows -> Base.Element? {
| `- error: 'Element' is not a member type of type 'Base'
237 | switch self.state {
238 | case .start(var element):
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Interspersed/AsyncInterspersedSequence.swift:236:39: error: 'rethrows' function must take a throwing function argument
234 | }
235 |
236 | public mutating func next() async rethrows -> Base.Element? {
| `- error: 'rethrows' function must take a throwing function argument
237 | switch self.state {
238 | case .start(var element):
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Interspersed/AsyncInterspersedSequence.swift:208:27: error: cannot find type 'AsyncIteratorProtocol' in scope
206 | /// The iterator for an `AsyncInterspersedSequence` asynchronous sequence.
207 | @available(AsyncAlgorithms 1.0, *)
208 | public struct Iterator: AsyncIteratorProtocol {
| `- error: cannot find type 'AsyncIteratorProtocol' in scope
209 | @usableFromInline
210 | internal enum State {
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Interspersed/AsyncInterspersedSequence.swift:315:55: error: cannot find type 'AsyncSequence' in scope
313 | /// elements with a separator between each of those elements.
314 | @available(AsyncAlgorithms 1.0, *)
315 | public struct AsyncThrowingInterspersedSequence<Base: AsyncSequence> {
| `- error: cannot find type 'AsyncSequence' in scope
316 | @usableFromInline
317 | internal enum Separator {
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Interspersed/AsyncInterspersedSequence.swift:349:46: error: cannot find type 'AsyncSequence' in scope
347 |
348 | @available(AsyncAlgorithms 1.0, *)
349 | extension AsyncThrowingInterspersedSequence: AsyncSequence {
| `- error: cannot find type 'AsyncSequence' in scope
350 | public typealias Element = Base.Element
351 |
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Interspersed/AsyncInterspersedSequence.swift:350:35: error: 'Element' is not a member type of type 'Base'
348 | @available(AsyncAlgorithms 1.0, *)
349 | extension AsyncThrowingInterspersedSequence: AsyncSequence {
350 | public typealias Element = Base.Element
| `- error: 'Element' is not a member type of type 'Base'
351 |
352 | /// The iterator for an `AsyncInterspersedSequence` asynchronous sequence.
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Interspersed/AsyncInterspersedSequence.swift:364:33: error: 'AsyncIterator' is not a member type of type 'Base'
362 |
363 | @usableFromInline
364 | internal var iterator: Base.AsyncIterator
| `- error: 'AsyncIterator' is not a member type of type 'Base'
365 |
366 | @usableFromInline
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Interspersed/AsyncInterspersedSequence.swift:373:38: error: 'nil' requires a contextual type
371 |
372 | @usableFromInline
373 | internal var state = State.start(nil)
| `- error: 'nil' requires a contextual type
374 |
375 | @usableFromInline
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Interspersed/AsyncInterspersedSequence.swift:376:36: error: 'AsyncIterator' is not a member type of type 'Base'
374 |
375 | @usableFromInline
376 | internal init(_ iterator: Base.AsyncIterator, every: Int, separator: Separator) {
| `- error: 'AsyncIterator' is not a member type of type 'Base'
377 | self.iterator = iterator
378 | self.separator = separator
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Interspersed/AsyncInterspersedSequence.swift:382:54: error: 'Element' is not a member type of type 'Base'
380 | }
381 |
382 | public mutating func next() async throws -> Base.Element? {
| `- error: 'Element' is not a member type of type 'Base'
383 | switch self.state {
384 | case .start(var element):
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Interspersed/AsyncInterspersedSequence.swift:354:27: error: cannot find type 'AsyncIteratorProtocol' in scope
352 | /// The iterator for an `AsyncInterspersedSequence` asynchronous sequence.
353 | @available(AsyncAlgorithms 1.0, *)
354 | public struct Iterator: AsyncIteratorProtocol {
| `- error: cannot find type 'AsyncIteratorProtocol' in scope
355 | @usableFromInline
356 | internal enum State {
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Interspersed/AsyncInterspersedSequence.swift:456:74: error: 'Element' is not a member type of type 'Base'
454 |
455 | @available(AsyncAlgorithms 1.0, *)
456 | extension AsyncInterspersedSequence: Sendable where Base: Sendable, Base.Element: Sendable {}
| `- error: 'Element' is not a member type of type 'Base'
457 | @available(AsyncAlgorithms 1.0, *)
458 | extension AsyncInterspersedSequence.Separator: Sendable where Base: Sendable, Base.Element: Sendable {}
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Interspersed/AsyncInterspersedSequence.swift:458:84: error: 'Element' is not a member type of type 'Base'
456 | extension AsyncInterspersedSequence: Sendable where Base: Sendable, Base.Element: Sendable {}
457 | @available(AsyncAlgorithms 1.0, *)
458 | extension AsyncInterspersedSequence.Separator: Sendable where Base: Sendable, Base.Element: Sendable {}
| `- error: 'Element' is not a member type of type 'Base'
459 |
460 | @available(AsyncAlgorithms 1.0, *)
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Interspersed/AsyncInterspersedSequence.swift:461:82: error: 'Element' is not a member type of type 'Base'
459 |
460 | @available(AsyncAlgorithms 1.0, *)
461 | extension AsyncThrowingInterspersedSequence: Sendable where Base: Sendable, Base.Element: Sendable {}
| `- error: 'Element' is not a member type of type 'Base'
462 | @available(AsyncAlgorithms 1.0, *)
463 | extension AsyncThrowingInterspersedSequence.Separator: Sendable where Base: Sendable, Base.Element: Sendable {}
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Interspersed/AsyncInterspersedSequence.swift:463:92: error: 'Element' is not a member type of type 'Base'
461 | extension AsyncThrowingInterspersedSequence: Sendable where Base: Sendable, Base.Element: Sendable {}
462 | @available(AsyncAlgorithms 1.0, *)
463 | extension AsyncThrowingInterspersedSequence.Separator: Sendable where Base: Sendable, Base.Element: Sendable {}
| `- error: 'Element' is not a member type of type 'Base'
464 |
465 | @available(*, unavailable)
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Interspersed/AsyncInterspersedSequence.swift:245:27: error: cannot infer contextual base in reference to member 'finished'
243 |
244 | guard let element = element else {
245 | self.state = .finished
| `- error: cannot infer contextual base in reference to member 'finished'
246 | return nil
247 | }
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Interspersed/AsyncInterspersedSequence.swift:249:27: error: cannot infer contextual base in reference to member 'separator'
247 | }
248 | if self.every == 1 {
249 | self.state = .separator
| `- error: cannot infer contextual base in reference to member 'separator'
250 | } else {
251 | self.state = .element(1)
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Interspersed/AsyncInterspersedSequence.swift:251:27: error: cannot infer contextual base in reference to member 'element'
249 | self.state = .separator
250 | } else {
251 | self.state = .element(1)
| `- error: cannot infer contextual base in reference to member 'element'
252 | }
253 | return element
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Interspersed/AsyncInterspersedSequence.swift:255:25: error: cannot infer contextual base in reference to member 'finished'
253 | return element
254 | } catch {
255 | self.state = .finished
| `- error: cannot infer contextual base in reference to member 'finished'
256 | throw error
257 | }
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Interspersed/AsyncInterspersedSequence.swift:262:27: error: cannot infer contextual base in reference to member 'finished'
260 | do {
261 | guard let element = try await iterator.next() else {
262 | self.state = .finished
| `- error: cannot infer contextual base in reference to member 'finished'
263 | return nil
264 | }
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Interspersed/AsyncInterspersedSequence.swift:265:25: error: cannot infer contextual base in reference to member 'start'
263 | return nil
264 | }
265 | self.state = .start(element)
| `- error: cannot infer contextual base in reference to member 'start'
266 | switch self.separator {
267 | case .element(let element):
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Interspersed/AsyncInterspersedSequence.swift:277:25: error: cannot infer contextual base in reference to member 'finished'
275 | }
276 | } catch {
277 | self.state = .finished
| `- error: cannot infer contextual base in reference to member 'finished'
278 | throw error
279 | }
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Interspersed/AsyncInterspersedSequence.swift:284:27: error: cannot infer contextual base in reference to member 'finished'
282 | do {
283 | guard let element = try await iterator.next() else {
284 | self.state = .finished
| `- error: cannot infer contextual base in reference to member 'finished'
285 | return nil
286 | }
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Interspersed/AsyncInterspersedSequence.swift:289:27: error: cannot infer contextual base in reference to member 'separator'
287 | let newCount = count + 1
288 | if self.every == newCount {
289 | self.state = .separator
| `- error: cannot infer contextual base in reference to member 'separator'
290 | } else {
291 | self.state = .element(newCount)
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Interspersed/AsyncInterspersedSequence.swift:291:27: error: cannot infer contextual base in reference to member 'element'
289 | self.state = .separator
290 | } else {
291 | self.state = .element(newCount)
| `- error: cannot infer contextual base in reference to member 'element'
292 | }
293 | return element
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Interspersed/AsyncInterspersedSequence.swift:295:25: error: cannot infer contextual base in reference to member 'finished'
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:37:49: error: cannot find type 'Primitive' in scope
35 | #endif
36 |
37 | typealias PlatformLock = UnsafeMutablePointer<Primitive>
| `- error: cannot find type 'Primitive' in scope
38 | let platformLock: PlatformLock
39 |
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Locking.swift:132:63: error: 'Primitive' is not a member type of struct 'AsyncAlgorithms.Lock'
24 | #endif
25 |
26 | internal struct Lock {
| `- note: 'Lock' declared here
27 | #if canImport(Darwin)
28 | typealias Primitive = os_unfair_lock
:
130 |
131 | struct ManagedCriticalState<State> {
132 | private final class LockedBuffer: ManagedBuffer<State, Lock.Primitive> {
| `- error: 'Primitive' is not a member type of struct 'AsyncAlgorithms.Lock'
133 | deinit {
134 | withUnsafeMutablePointerToElements { Lock.deinitialize($0) }
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Locking.swift:134:7: error: type of expression is ambiguous without a type annotation
132 | private final class LockedBuffer: ManagedBuffer<State, Lock.Primitive> {
133 | deinit {
134 | withUnsafeMutablePointerToElements { Lock.deinitialize($0) }
| `- error: type of expression is ambiguous without a type annotation
135 | }
136 | }
/host/spi-builder-workspace/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/Locking.swift:141:12: error: type of expression is ambiguous without a type annotation
139 |
140 | init(_ initial: State) {
141 | buffer = LockedBuffer.create(minimumCapacity: 1) { buffer in
| `- error: type of expression is ambiguous without a type annotation
142 | buffer.withUnsafeMutablePointerToElements { Lock.initialize($0) }
143 | 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/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/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