The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of ComposableRequest, reference main (151026), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 22:13:40 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sbertix/ComposableRequest.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/sbertix/ComposableRequest
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 1510263 feat!: update to `7.0.0` (#51)
Cloned https://github.com/sbertix/ComposableRequest.git
Revision (git rev-parse @):
151026359f4a2c89dcd06f6880eb4a940dcbb7bc
SUCCESS checkout https://github.com/sbertix/ComposableRequest.git at main
Fetching https://github.com/kishikawakatsumi/KeychainAccess
[1/4389] Fetching keychainaccess
Fetched https://github.com/kishikawakatsumi/KeychainAccess from cache (1.38s)
Computing version for https://github.com/kishikawakatsumi/KeychainAccess
Computed https://github.com/kishikawakatsumi/KeychainAccess at 4.2.2 (0.63s)
Creating working copy for https://github.com/kishikawakatsumi/KeychainAccess
Working copy of https://github.com/kishikawakatsumi/KeychainAccess resolved at 4.2.2
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "composablerequest",
      "name": "ComposableRequest",
      "url": "https://github.com/sbertix/ComposableRequest.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ComposableRequest",
      "dependencies": [
        {
          "identity": "keychainaccess",
          "name": "KeychainAccess",
          "url": "https://github.com/kishikawakatsumi/KeychainAccess",
          "version": "4.2.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/KeychainAccess",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/sbertix/ComposableRequest.git
[1/8426] Fetching composablerequest
Fetched https://github.com/sbertix/ComposableRequest.git from cache (1.21s)
Fetching https://github.com/kishikawakatsumi/KeychainAccess from cache
Fetched https://github.com/kishikawakatsumi/KeychainAccess from cache (0.54s)
Computing version for https://github.com/kishikawakatsumi/KeychainAccess
Computed https://github.com/kishikawakatsumi/KeychainAccess at 4.2.2 (0.03s)
Creating working copy for https://github.com/sbertix/ComposableRequest.git
Working copy of https://github.com/sbertix/ComposableRequest.git resolved at main (1510263)
Creating working copy for https://github.com/kishikawakatsumi/KeychainAccess
Working copy of https://github.com/kishikawakatsumi/KeychainAccess resolved at 4.2.2
warning: '.resolve-product-dependencies': dependency 'composablerequest' is not used by any target
Found 1 product dependencies
  - KeychainAccess
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/sbertix/ComposableRequest.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version--7754E27361AE5C74.txt
[6/13] Emitting module Storages
[7/13] Compiling Storages AnyStorage.swift
[8/13] Compiling Storages UserDefaultsStorage.swift
[9/13] Compiling Storages TransientStorage.swift
[10/13] Compiling Storages Storage.swift
[11/13] Compiling Storages Storable.swift
[12/63] Emitting module KeychainAccess
[13/63] Compiling KeychainAccess Keychain.swift
[14/65] Emitting module Requests
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:11:20: warning: class 'CodableHTTPCookie' must restate inherited '@unchecked Sendable' conformance
 9 |
10 | /// A `subclass` of `HTTPCookie` conforming to `Codable`.
11 | public final class CodableHTTPCookie: HTTPCookie, Codable {
   |                    `- warning: class 'CodableHTTPCookie' must restate inherited '@unchecked Sendable' conformance
12 |     /// Init.
13 |     /// - parameter properties: A valid `Dictionary` of `Any`.
[15/70] Compiling Requests Offset.swift
[16/70] Compiling Requests Providers.swift
[17/70] Compiling Requests LockProvider.swift
[18/70] Compiling Requests OffsetProvider.swift
[19/70] Compiling Requests Provider.swift
[20/70] Compiling Requests HandleEvents.swift
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/HandleEvents.swift:50:46: warning: capture of 'iterator' with non-sendable type 'AsyncThrowingStream<Parent.Output, any Error>.Iterator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 48 |         return .init {
 49 |             do {
 50 |                 guard let result = try await iterator.next() else { return nil }
    |                                              `- warning: capture of 'iterator' with non-sendable type 'AsyncThrowingStream<Parent.Output, any Error>.Iterator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 51 |                 handler(.success(result))
 52 |                 return result
_Concurrency.AsyncThrowingStream:3:19: note: struct 'Iterator' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
 2 | extension AsyncThrowingStream : AsyncSequence {
 3 |     public struct Iterator : AsyncIteratorProtocol {
   |                   `- note: struct 'Iterator' does not conform to the 'Sendable' protocol
 4 |         public mutating func next() async throws -> Element?
 5 |         @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/HandleEvents.swift:51:17: warning: capture of 'self' with non-sendable type 'HandleEvents<Parent>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 15 | /// implementation handling success and failures
 16 | /// of an existing one, without modifying them.
 17 | public struct HandleEvents<Parent: Endpoint> {
    |               `- note: consider making generic struct 'HandleEvents' conform to the 'Sendable' protocol
 18 |     /// The parent endpoint.
 19 |     private let parent: Parent
    :
 49 |             do {
 50 |                 guard let result = try await iterator.next() else { return nil }
 51 |                 handler(.success(result))
    |                 `- warning: capture of 'self' with non-sendable type 'HandleEvents<Parent>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 52 |                 return result
 53 |             } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/HandleEvents.swift:50:46: warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 48 |         return .init {
 49 |             do {
 50 |                 guard let result = try await iterator.next() else { return nil }
    |                                              `- warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 51 |                 handler(.success(result))
 52 |                 return result
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Loop.swift:76:36: warning: capture of 'self' with non-sendable type 'Loop<Next, Content>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 14 | /// A `struct` defining a custom endpoint
 15 | /// implementation handling a paginated request.
 16 | public struct Loop<Next: Sendable, Content: SingleEndpoint> {
    |               `- note: consider making generic struct 'Loop' conform to the 'Sendable' protocol
 17 |     /// The associated output type.
 18 |     public typealias Output = Content.Output
    :
 74 |             guard let input = await nextInput.value else { return nil }
 75 |             let offset = await nextInput.count
 76 |             let output = try await content(offset, input).resolve(with: session)
    |                                    `- warning: capture of 'self' with non-sendable type 'Loop<Next, Content>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 77 |             // Update next input.
 78 |             switch try next(offset, output) {
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Loop.swift:76:73: warning: capture of 'session' with non-sendable type 'R' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 66 |     /// - parameter session: The `EndpointResolver` used to fetch the response.
 67 |     /// - returns: Some `AsyncStream`.
 68 |     public func resolve<R: EndpointResolver>(with session: R) -> AsyncThrowingStream<Output, any Error> {
    |                         `- note: consider making generic parameter 'R' conform to the 'Sendable' protocol
 69 |         // Hold reference to next input,
 70 |         // so we can paginate properly.
    :
 74 |             guard let input = await nextInput.value else { return nil }
 75 |             let offset = await nextInput.count
 76 |             let output = try await content(offset, input).resolve(with: session)
    |                                                                         `- warning: capture of 'session' with non-sendable type 'R' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 77 |             // Update next input.
 78 |             switch try next(offset, output) {
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Map.swift:48:34: warning: capture of 'iterator' with non-sendable type 'AsyncThrowingStream<Parent.Output, any Error>.Iterator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 46 |     public func _resolve<R: EndpointResolver>(with session: R) -> AsyncThrowingStream<Output, any Error> {
 47 |         var iterator = parent._resolve(with: session).makeAsyncIterator()
 48 |         return .init { try await iterator.next().flatMap(content) }
    |                                  `- warning: capture of 'iterator' with non-sendable type 'AsyncThrowingStream<Parent.Output, any Error>.Iterator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 49 |     }
 50 |
_Concurrency.AsyncThrowingStream:3:19: note: struct 'Iterator' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
 2 | extension AsyncThrowingStream : AsyncSequence {
 3 |     public struct Iterator : AsyncIteratorProtocol {
   |                   `- note: struct 'Iterator' does not conform to the 'Sendable' protocol
 4 |         public mutating func next() async throws -> Element?
 5 |         @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Map.swift:48:58: warning: capture of 'self' with non-sendable type 'Map<Parent, Output>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 15 | /// implementation handling an output generated
 16 | /// from an existing one.
 17 | public struct Map<Parent: Endpoint, Output> {
    |               `- note: consider making generic struct 'Map' conform to the 'Sendable' protocol
 18 |     /// The parent endpoint.
 19 |     private let parent: Parent
    :
 46 |     public func _resolve<R: EndpointResolver>(with session: R) -> AsyncThrowingStream<Output, any Error> {
 47 |         var iterator = parent._resolve(with: session).makeAsyncIterator()
 48 |         return .init { try await iterator.next().flatMap(content) }
    |                                                          `- warning: capture of 'self' with non-sendable type 'Map<Parent, Output>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 49 |     }
 50 |
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Map.swift:48:34: warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 46 |     public func _resolve<R: EndpointResolver>(with session: R) -> AsyncThrowingStream<Output, any Error> {
 47 |         var iterator = parent._resolve(with: session).makeAsyncIterator()
 48 |         return .init { try await iterator.next().flatMap(content) }
    |                                  `- warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 49 |     }
 50 |
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Prefix.swift:45:34: warning: capture of 'iterator' with non-sendable type 'AsyncPrefixSequence<AsyncThrowingStream<Parent.Output, any Error>>.Iterator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
43 |     public func resolve<R: EndpointResolver>(with session: R) -> AsyncThrowingStream<Output, any Error> {
44 |         var iterator = parent.resolve(with: session).prefix(count).makeAsyncIterator()
45 |         return .init { try await iterator.next() }
   |                                  `- warning: capture of 'iterator' with non-sendable type 'AsyncPrefixSequence<AsyncThrowingStream<Parent.Output, any Error>>.Iterator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
46 |     }
47 |
_Concurrency.AsyncThrowingStream:3:19: note: struct 'Iterator' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
 2 | extension AsyncThrowingStream : AsyncSequence {
 3 |     public struct Iterator : AsyncIteratorProtocol {
   |                   `- note: struct 'Iterator' does not conform to the 'Sendable' protocol
 4 |         public mutating func next() async throws -> Element?
 5 |         @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Prefix.swift:45:34: warning: capture of 'iterator' with non-sendable type 'AsyncPrefixSequence<AsyncThrowingStream<Parent.Output, any Error>>.Iterator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
43 |     public func resolve<R: EndpointResolver>(with session: R) -> AsyncThrowingStream<Output, any Error> {
44 |         var iterator = parent.resolve(with: session).prefix(count).makeAsyncIterator()
45 |         return .init { try await iterator.next() }
   |                                  `- warning: capture of 'iterator' with non-sendable type 'AsyncPrefixSequence<AsyncThrowingStream<Parent.Output, any Error>>.Iterator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
46 |     }
47 |
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Prefix.swift:45:34: warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
43 |     public func resolve<R: EndpointResolver>(with session: R) -> AsyncThrowingStream<Output, any Error> {
44 |         var iterator = parent.resolve(with: session).prefix(count).makeAsyncIterator()
45 |         return .init { try await iterator.next() }
   |                                  `- warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
46 |     }
47 |
[21/70] Compiling Requests Last.swift
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/HandleEvents.swift:50:46: warning: capture of 'iterator' with non-sendable type 'AsyncThrowingStream<Parent.Output, any Error>.Iterator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 48 |         return .init {
 49 |             do {
 50 |                 guard let result = try await iterator.next() else { return nil }
    |                                              `- warning: capture of 'iterator' with non-sendable type 'AsyncThrowingStream<Parent.Output, any Error>.Iterator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 51 |                 handler(.success(result))
 52 |                 return result
_Concurrency.AsyncThrowingStream:3:19: note: struct 'Iterator' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
 2 | extension AsyncThrowingStream : AsyncSequence {
 3 |     public struct Iterator : AsyncIteratorProtocol {
   |                   `- note: struct 'Iterator' does not conform to the 'Sendable' protocol
 4 |         public mutating func next() async throws -> Element?
 5 |         @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/HandleEvents.swift:51:17: warning: capture of 'self' with non-sendable type 'HandleEvents<Parent>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 15 | /// implementation handling success and failures
 16 | /// of an existing one, without modifying them.
 17 | public struct HandleEvents<Parent: Endpoint> {
    |               `- note: consider making generic struct 'HandleEvents' conform to the 'Sendable' protocol
 18 |     /// The parent endpoint.
 19 |     private let parent: Parent
    :
 49 |             do {
 50 |                 guard let result = try await iterator.next() else { return nil }
 51 |                 handler(.success(result))
    |                 `- warning: capture of 'self' with non-sendable type 'HandleEvents<Parent>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 52 |                 return result
 53 |             } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/HandleEvents.swift:50:46: warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 48 |         return .init {
 49 |             do {
 50 |                 guard let result = try await iterator.next() else { return nil }
    |                                              `- warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 51 |                 handler(.success(result))
 52 |                 return result
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Loop.swift:76:36: warning: capture of 'self' with non-sendable type 'Loop<Next, Content>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 14 | /// A `struct` defining a custom endpoint
 15 | /// implementation handling a paginated request.
 16 | public struct Loop<Next: Sendable, Content: SingleEndpoint> {
    |               `- note: consider making generic struct 'Loop' conform to the 'Sendable' protocol
 17 |     /// The associated output type.
 18 |     public typealias Output = Content.Output
    :
 74 |             guard let input = await nextInput.value else { return nil }
 75 |             let offset = await nextInput.count
 76 |             let output = try await content(offset, input).resolve(with: session)
    |                                    `- warning: capture of 'self' with non-sendable type 'Loop<Next, Content>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 77 |             // Update next input.
 78 |             switch try next(offset, output) {
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Loop.swift:76:73: warning: capture of 'session' with non-sendable type 'R' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 66 |     /// - parameter session: The `EndpointResolver` used to fetch the response.
 67 |     /// - returns: Some `AsyncStream`.
 68 |     public func resolve<R: EndpointResolver>(with session: R) -> AsyncThrowingStream<Output, any Error> {
    |                         `- note: consider making generic parameter 'R' conform to the 'Sendable' protocol
 69 |         // Hold reference to next input,
 70 |         // so we can paginate properly.
    :
 74 |             guard let input = await nextInput.value else { return nil }
 75 |             let offset = await nextInput.count
 76 |             let output = try await content(offset, input).resolve(with: session)
    |                                                                         `- warning: capture of 'session' with non-sendable type 'R' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 77 |             // Update next input.
 78 |             switch try next(offset, output) {
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Map.swift:48:34: warning: capture of 'iterator' with non-sendable type 'AsyncThrowingStream<Parent.Output, any Error>.Iterator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 46 |     public func _resolve<R: EndpointResolver>(with session: R) -> AsyncThrowingStream<Output, any Error> {
 47 |         var iterator = parent._resolve(with: session).makeAsyncIterator()
 48 |         return .init { try await iterator.next().flatMap(content) }
    |                                  `- warning: capture of 'iterator' with non-sendable type 'AsyncThrowingStream<Parent.Output, any Error>.Iterator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 49 |     }
 50 |
_Concurrency.AsyncThrowingStream:3:19: note: struct 'Iterator' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
 2 | extension AsyncThrowingStream : AsyncSequence {
 3 |     public struct Iterator : AsyncIteratorProtocol {
   |                   `- note: struct 'Iterator' does not conform to the 'Sendable' protocol
 4 |         public mutating func next() async throws -> Element?
 5 |         @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Map.swift:48:58: warning: capture of 'self' with non-sendable type 'Map<Parent, Output>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 15 | /// implementation handling an output generated
 16 | /// from an existing one.
 17 | public struct Map<Parent: Endpoint, Output> {
    |               `- note: consider making generic struct 'Map' conform to the 'Sendable' protocol
 18 |     /// The parent endpoint.
 19 |     private let parent: Parent
    :
 46 |     public func _resolve<R: EndpointResolver>(with session: R) -> AsyncThrowingStream<Output, any Error> {
 47 |         var iterator = parent._resolve(with: session).makeAsyncIterator()
 48 |         return .init { try await iterator.next().flatMap(content) }
    |                                                          `- warning: capture of 'self' with non-sendable type 'Map<Parent, Output>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 49 |     }
 50 |
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Map.swift:48:34: warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 46 |     public func _resolve<R: EndpointResolver>(with session: R) -> AsyncThrowingStream<Output, any Error> {
 47 |         var iterator = parent._resolve(with: session).makeAsyncIterator()
 48 |         return .init { try await iterator.next().flatMap(content) }
    |                                  `- warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 49 |     }
 50 |
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Prefix.swift:45:34: warning: capture of 'iterator' with non-sendable type 'AsyncPrefixSequence<AsyncThrowingStream<Parent.Output, any Error>>.Iterator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
43 |     public func resolve<R: EndpointResolver>(with session: R) -> AsyncThrowingStream<Output, any Error> {
44 |         var iterator = parent.resolve(with: session).prefix(count).makeAsyncIterator()
45 |         return .init { try await iterator.next() }
   |                                  `- warning: capture of 'iterator' with non-sendable type 'AsyncPrefixSequence<AsyncThrowingStream<Parent.Output, any Error>>.Iterator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
46 |     }
47 |
_Concurrency.AsyncThrowingStream:3:19: note: struct 'Iterator' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
 2 | extension AsyncThrowingStream : AsyncSequence {
 3 |     public struct Iterator : AsyncIteratorProtocol {
   |                   `- note: struct 'Iterator' does not conform to the 'Sendable' protocol
 4 |         public mutating func next() async throws -> Element?
 5 |         @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Prefix.swift:45:34: warning: capture of 'iterator' with non-sendable type 'AsyncPrefixSequence<AsyncThrowingStream<Parent.Output, any Error>>.Iterator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
43 |     public func resolve<R: EndpointResolver>(with session: R) -> AsyncThrowingStream<Output, any Error> {
44 |         var iterator = parent.resolve(with: session).prefix(count).makeAsyncIterator()
45 |         return .init { try await iterator.next() }
   |                                  `- warning: capture of 'iterator' with non-sendable type 'AsyncPrefixSequence<AsyncThrowingStream<Parent.Output, any Error>>.Iterator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
46 |     }
47 |
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Prefix.swift:45:34: warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
43 |     public func resolve<R: EndpointResolver>(with session: R) -> AsyncThrowingStream<Output, any Error> {
44 |         var iterator = parent.resolve(with: session).prefix(count).makeAsyncIterator()
45 |         return .init { try await iterator.next() }
   |                                  `- warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
46 |     }
47 |
[22/70] Compiling Requests Loop.swift
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/HandleEvents.swift:50:46: warning: capture of 'iterator' with non-sendable type 'AsyncThrowingStream<Parent.Output, any Error>.Iterator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 48 |         return .init {
 49 |             do {
 50 |                 guard let result = try await iterator.next() else { return nil }
    |                                              `- warning: capture of 'iterator' with non-sendable type 'AsyncThrowingStream<Parent.Output, any Error>.Iterator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 51 |                 handler(.success(result))
 52 |                 return result
_Concurrency.AsyncThrowingStream:3:19: note: struct 'Iterator' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
 2 | extension AsyncThrowingStream : AsyncSequence {
 3 |     public struct Iterator : AsyncIteratorProtocol {
   |                   `- note: struct 'Iterator' does not conform to the 'Sendable' protocol
 4 |         public mutating func next() async throws -> Element?
 5 |         @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/HandleEvents.swift:51:17: warning: capture of 'self' with non-sendable type 'HandleEvents<Parent>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 15 | /// implementation handling success and failures
 16 | /// of an existing one, without modifying them.
 17 | public struct HandleEvents<Parent: Endpoint> {
    |               `- note: consider making generic struct 'HandleEvents' conform to the 'Sendable' protocol
 18 |     /// The parent endpoint.
 19 |     private let parent: Parent
    :
 49 |             do {
 50 |                 guard let result = try await iterator.next() else { return nil }
 51 |                 handler(.success(result))
    |                 `- warning: capture of 'self' with non-sendable type 'HandleEvents<Parent>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 52 |                 return result
 53 |             } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/HandleEvents.swift:50:46: warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 48 |         return .init {
 49 |             do {
 50 |                 guard let result = try await iterator.next() else { return nil }
    |                                              `- warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 51 |                 handler(.success(result))
 52 |                 return result
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Loop.swift:76:36: warning: capture of 'self' with non-sendable type 'Loop<Next, Content>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 14 | /// A `struct` defining a custom endpoint
 15 | /// implementation handling a paginated request.
 16 | public struct Loop<Next: Sendable, Content: SingleEndpoint> {
    |               `- note: consider making generic struct 'Loop' conform to the 'Sendable' protocol
 17 |     /// The associated output type.
 18 |     public typealias Output = Content.Output
    :
 74 |             guard let input = await nextInput.value else { return nil }
 75 |             let offset = await nextInput.count
 76 |             let output = try await content(offset, input).resolve(with: session)
    |                                    `- warning: capture of 'self' with non-sendable type 'Loop<Next, Content>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 77 |             // Update next input.
 78 |             switch try next(offset, output) {
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Loop.swift:76:73: warning: capture of 'session' with non-sendable type 'R' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 66 |     /// - parameter session: The `EndpointResolver` used to fetch the response.
 67 |     /// - returns: Some `AsyncStream`.
 68 |     public func resolve<R: EndpointResolver>(with session: R) -> AsyncThrowingStream<Output, any Error> {
    |                         `- note: consider making generic parameter 'R' conform to the 'Sendable' protocol
 69 |         // Hold reference to next input,
 70 |         // so we can paginate properly.
    :
 74 |             guard let input = await nextInput.value else { return nil }
 75 |             let offset = await nextInput.count
 76 |             let output = try await content(offset, input).resolve(with: session)
    |                                                                         `- warning: capture of 'session' with non-sendable type 'R' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 77 |             // Update next input.
 78 |             switch try next(offset, output) {
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Map.swift:48:34: warning: capture of 'iterator' with non-sendable type 'AsyncThrowingStream<Parent.Output, any Error>.Iterator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 46 |     public func _resolve<R: EndpointResolver>(with session: R) -> AsyncThrowingStream<Output, any Error> {
 47 |         var iterator = parent._resolve(with: session).makeAsyncIterator()
 48 |         return .init { try await iterator.next().flatMap(content) }
    |                                  `- warning: capture of 'iterator' with non-sendable type 'AsyncThrowingStream<Parent.Output, any Error>.Iterator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 49 |     }
 50 |
_Concurrency.AsyncThrowingStream:3:19: note: struct 'Iterator' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
 2 | extension AsyncThrowingStream : AsyncSequence {
 3 |     public struct Iterator : AsyncIteratorProtocol {
   |                   `- note: struct 'Iterator' does not conform to the 'Sendable' protocol
 4 |         public mutating func next() async throws -> Element?
 5 |         @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Map.swift:48:58: warning: capture of 'self' with non-sendable type 'Map<Parent, Output>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 15 | /// implementation handling an output generated
 16 | /// from an existing one.
 17 | public struct Map<Parent: Endpoint, Output> {
    |               `- note: consider making generic struct 'Map' conform to the 'Sendable' protocol
 18 |     /// The parent endpoint.
 19 |     private let parent: Parent
    :
 46 |     public func _resolve<R: EndpointResolver>(with session: R) -> AsyncThrowingStream<Output, any Error> {
 47 |         var iterator = parent._resolve(with: session).makeAsyncIterator()
 48 |         return .init { try await iterator.next().flatMap(content) }
    |                                                          `- warning: capture of 'self' with non-sendable type 'Map<Parent, Output>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 49 |     }
 50 |
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Map.swift:48:34: warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 46 |     public func _resolve<R: EndpointResolver>(with session: R) -> AsyncThrowingStream<Output, any Error> {
 47 |         var iterator = parent._resolve(with: session).makeAsyncIterator()
 48 |         return .init { try await iterator.next().flatMap(content) }
    |                                  `- warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 49 |     }
 50 |
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Prefix.swift:45:34: warning: capture of 'iterator' with non-sendable type 'AsyncPrefixSequence<AsyncThrowingStream<Parent.Output, any Error>>.Iterator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
43 |     public func resolve<R: EndpointResolver>(with session: R) -> AsyncThrowingStream<Output, any Error> {
44 |         var iterator = parent.resolve(with: session).prefix(count).makeAsyncIterator()
45 |         return .init { try await iterator.next() }
   |                                  `- warning: capture of 'iterator' with non-sendable type 'AsyncPrefixSequence<AsyncThrowingStream<Parent.Output, any Error>>.Iterator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
46 |     }
47 |
_Concurrency.AsyncThrowingStream:3:19: note: struct 'Iterator' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
 2 | extension AsyncThrowingStream : AsyncSequence {
 3 |     public struct Iterator : AsyncIteratorProtocol {
   |                   `- note: struct 'Iterator' does not conform to the 'Sendable' protocol
 4 |         public mutating func next() async throws -> Element?
 5 |         @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Prefix.swift:45:34: warning: capture of 'iterator' with non-sendable type 'AsyncPrefixSequence<AsyncThrowingStream<Parent.Output, any Error>>.Iterator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
43 |     public func resolve<R: EndpointResolver>(with session: R) -> AsyncThrowingStream<Output, any Error> {
44 |         var iterator = parent.resolve(with: session).prefix(count).makeAsyncIterator()
45 |         return .init { try await iterator.next() }
   |                                  `- warning: capture of 'iterator' with non-sendable type 'AsyncPrefixSequence<AsyncThrowingStream<Parent.Output, any Error>>.Iterator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
46 |     }
47 |
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Prefix.swift:45:34: warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
43 |     public func resolve<R: EndpointResolver>(with session: R) -> AsyncThrowingStream<Output, any Error> {
44 |         var iterator = parent.resolve(with: session).prefix(count).makeAsyncIterator()
45 |         return .init { try await iterator.next() }
   |                                  `- warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
46 |     }
47 |
[23/70] Compiling Requests Map.swift
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/HandleEvents.swift:50:46: warning: capture of 'iterator' with non-sendable type 'AsyncThrowingStream<Parent.Output, any Error>.Iterator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 48 |         return .init {
 49 |             do {
 50 |                 guard let result = try await iterator.next() else { return nil }
    |                                              `- warning: capture of 'iterator' with non-sendable type 'AsyncThrowingStream<Parent.Output, any Error>.Iterator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 51 |                 handler(.success(result))
 52 |                 return result
_Concurrency.AsyncThrowingStream:3:19: note: struct 'Iterator' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
 2 | extension AsyncThrowingStream : AsyncSequence {
 3 |     public struct Iterator : AsyncIteratorProtocol {
   |                   `- note: struct 'Iterator' does not conform to the 'Sendable' protocol
 4 |         public mutating func next() async throws -> Element?
 5 |         @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/HandleEvents.swift:51:17: warning: capture of 'self' with non-sendable type 'HandleEvents<Parent>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 15 | /// implementation handling success and failures
 16 | /// of an existing one, without modifying them.
 17 | public struct HandleEvents<Parent: Endpoint> {
    |               `- note: consider making generic struct 'HandleEvents' conform to the 'Sendable' protocol
 18 |     /// The parent endpoint.
 19 |     private let parent: Parent
    :
 49 |             do {
 50 |                 guard let result = try await iterator.next() else { return nil }
 51 |                 handler(.success(result))
    |                 `- warning: capture of 'self' with non-sendable type 'HandleEvents<Parent>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 52 |                 return result
 53 |             } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/HandleEvents.swift:50:46: warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 48 |         return .init {
 49 |             do {
 50 |                 guard let result = try await iterator.next() else { return nil }
    |                                              `- warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 51 |                 handler(.success(result))
 52 |                 return result
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Loop.swift:76:36: warning: capture of 'self' with non-sendable type 'Loop<Next, Content>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 14 | /// A `struct` defining a custom endpoint
 15 | /// implementation handling a paginated request.
 16 | public struct Loop<Next: Sendable, Content: SingleEndpoint> {
    |               `- note: consider making generic struct 'Loop' conform to the 'Sendable' protocol
 17 |     /// The associated output type.
 18 |     public typealias Output = Content.Output
    :
 74 |             guard let input = await nextInput.value else { return nil }
 75 |             let offset = await nextInput.count
 76 |             let output = try await content(offset, input).resolve(with: session)
    |                                    `- warning: capture of 'self' with non-sendable type 'Loop<Next, Content>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 77 |             // Update next input.
 78 |             switch try next(offset, output) {
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Loop.swift:76:73: warning: capture of 'session' with non-sendable type 'R' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 66 |     /// - parameter session: The `EndpointResolver` used to fetch the response.
 67 |     /// - returns: Some `AsyncStream`.
 68 |     public func resolve<R: EndpointResolver>(with session: R) -> AsyncThrowingStream<Output, any Error> {
    |                         `- note: consider making generic parameter 'R' conform to the 'Sendable' protocol
 69 |         // Hold reference to next input,
 70 |         // so we can paginate properly.
    :
 74 |             guard let input = await nextInput.value else { return nil }
 75 |             let offset = await nextInput.count
 76 |             let output = try await content(offset, input).resolve(with: session)
    |                                                                         `- warning: capture of 'session' with non-sendable type 'R' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 77 |             // Update next input.
 78 |             switch try next(offset, output) {
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Map.swift:48:34: warning: capture of 'iterator' with non-sendable type 'AsyncThrowingStream<Parent.Output, any Error>.Iterator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 46 |     public func _resolve<R: EndpointResolver>(with session: R) -> AsyncThrowingStream<Output, any Error> {
 47 |         var iterator = parent._resolve(with: session).makeAsyncIterator()
 48 |         return .init { try await iterator.next().flatMap(content) }
    |                                  `- warning: capture of 'iterator' with non-sendable type 'AsyncThrowingStream<Parent.Output, any Error>.Iterator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 49 |     }
 50 |
_Concurrency.AsyncThrowingStream:3:19: note: struct 'Iterator' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
 2 | extension AsyncThrowingStream : AsyncSequence {
 3 |     public struct Iterator : AsyncIteratorProtocol {
   |                   `- note: struct 'Iterator' does not conform to the 'Sendable' protocol
 4 |         public mutating func next() async throws -> Element?
 5 |         @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Map.swift:48:58: warning: capture of 'self' with non-sendable type 'Map<Parent, Output>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 15 | /// implementation handling an output generated
 16 | /// from an existing one.
 17 | public struct Map<Parent: Endpoint, Output> {
    |               `- note: consider making generic struct 'Map' conform to the 'Sendable' protocol
 18 |     /// The parent endpoint.
 19 |     private let parent: Parent
    :
 46 |     public func _resolve<R: EndpointResolver>(with session: R) -> AsyncThrowingStream<Output, any Error> {
 47 |         var iterator = parent._resolve(with: session).makeAsyncIterator()
 48 |         return .init { try await iterator.next().flatMap(content) }
    |                                                          `- warning: capture of 'self' with non-sendable type 'Map<Parent, Output>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 49 |     }
 50 |
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Map.swift:48:34: warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 46 |     public func _resolve<R: EndpointResolver>(with session: R) -> AsyncThrowingStream<Output, any Error> {
 47 |         var iterator = parent._resolve(with: session).makeAsyncIterator()
 48 |         return .init { try await iterator.next().flatMap(content) }
    |                                  `- warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 49 |     }
 50 |
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Prefix.swift:45:34: warning: capture of 'iterator' with non-sendable type 'AsyncPrefixSequence<AsyncThrowingStream<Parent.Output, any Error>>.Iterator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
43 |     public func resolve<R: EndpointResolver>(with session: R) -> AsyncThrowingStream<Output, any Error> {
44 |         var iterator = parent.resolve(with: session).prefix(count).makeAsyncIterator()
45 |         return .init { try await iterator.next() }
   |                                  `- warning: capture of 'iterator' with non-sendable type 'AsyncPrefixSequence<AsyncThrowingStream<Parent.Output, any Error>>.Iterator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
46 |     }
47 |
_Concurrency.AsyncThrowingStream:3:19: note: struct 'Iterator' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
 2 | extension AsyncThrowingStream : AsyncSequence {
 3 |     public struct Iterator : AsyncIteratorProtocol {
   |                   `- note: struct 'Iterator' does not conform to the 'Sendable' protocol
 4 |         public mutating func next() async throws -> Element?
 5 |         @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Prefix.swift:45:34: warning: capture of 'iterator' with non-sendable type 'AsyncPrefixSequence<AsyncThrowingStream<Parent.Output, any Error>>.Iterator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
43 |     public func resolve<R: EndpointResolver>(with session: R) -> AsyncThrowingStream<Output, any Error> {
44 |         var iterator = parent.resolve(with: session).prefix(count).makeAsyncIterator()
45 |         return .init { try await iterator.next() }
   |                                  `- warning: capture of 'iterator' with non-sendable type 'AsyncPrefixSequence<AsyncThrowingStream<Parent.Output, any Error>>.Iterator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
46 |     }
47 |
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Prefix.swift:45:34: warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
43 |     public func resolve<R: EndpointResolver>(with session: R) -> AsyncThrowingStream<Output, any Error> {
44 |         var iterator = parent.resolve(with: session).prefix(count).makeAsyncIterator()
45 |         return .init { try await iterator.next() }
   |                                  `- warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
46 |     }
47 |
[24/70] Compiling Requests Prefix.swift
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/HandleEvents.swift:50:46: warning: capture of 'iterator' with non-sendable type 'AsyncThrowingStream<Parent.Output, any Error>.Iterator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 48 |         return .init {
 49 |             do {
 50 |                 guard let result = try await iterator.next() else { return nil }
    |                                              `- warning: capture of 'iterator' with non-sendable type 'AsyncThrowingStream<Parent.Output, any Error>.Iterator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 51 |                 handler(.success(result))
 52 |                 return result
_Concurrency.AsyncThrowingStream:3:19: note: struct 'Iterator' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
 2 | extension AsyncThrowingStream : AsyncSequence {
 3 |     public struct Iterator : AsyncIteratorProtocol {
   |                   `- note: struct 'Iterator' does not conform to the 'Sendable' protocol
 4 |         public mutating func next() async throws -> Element?
 5 |         @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/HandleEvents.swift:51:17: warning: capture of 'self' with non-sendable type 'HandleEvents<Parent>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 15 | /// implementation handling success and failures
 16 | /// of an existing one, without modifying them.
 17 | public struct HandleEvents<Parent: Endpoint> {
    |               `- note: consider making generic struct 'HandleEvents' conform to the 'Sendable' protocol
 18 |     /// The parent endpoint.
 19 |     private let parent: Parent
    :
 49 |             do {
 50 |                 guard let result = try await iterator.next() else { return nil }
 51 |                 handler(.success(result))
    |                 `- warning: capture of 'self' with non-sendable type 'HandleEvents<Parent>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 52 |                 return result
 53 |             } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/HandleEvents.swift:50:46: warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 48 |         return .init {
 49 |             do {
 50 |                 guard let result = try await iterator.next() else { return nil }
    |                                              `- warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 51 |                 handler(.success(result))
 52 |                 return result
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Loop.swift:76:36: warning: capture of 'self' with non-sendable type 'Loop<Next, Content>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 14 | /// A `struct` defining a custom endpoint
 15 | /// implementation handling a paginated request.
 16 | public struct Loop<Next: Sendable, Content: SingleEndpoint> {
    |               `- note: consider making generic struct 'Loop' conform to the 'Sendable' protocol
 17 |     /// The associated output type.
 18 |     public typealias Output = Content.Output
    :
 74 |             guard let input = await nextInput.value else { return nil }
 75 |             let offset = await nextInput.count
 76 |             let output = try await content(offset, input).resolve(with: session)
    |                                    `- warning: capture of 'self' with non-sendable type 'Loop<Next, Content>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 77 |             // Update next input.
 78 |             switch try next(offset, output) {
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Loop.swift:76:73: warning: capture of 'session' with non-sendable type 'R' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 66 |     /// - parameter session: The `EndpointResolver` used to fetch the response.
 67 |     /// - returns: Some `AsyncStream`.
 68 |     public func resolve<R: EndpointResolver>(with session: R) -> AsyncThrowingStream<Output, any Error> {
    |                         `- note: consider making generic parameter 'R' conform to the 'Sendable' protocol
 69 |         // Hold reference to next input,
 70 |         // so we can paginate properly.
    :
 74 |             guard let input = await nextInput.value else { return nil }
 75 |             let offset = await nextInput.count
 76 |             let output = try await content(offset, input).resolve(with: session)
    |                                                                         `- warning: capture of 'session' with non-sendable type 'R' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 77 |             // Update next input.
 78 |             switch try next(offset, output) {
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Map.swift:48:34: warning: capture of 'iterator' with non-sendable type 'AsyncThrowingStream<Parent.Output, any Error>.Iterator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 46 |     public func _resolve<R: EndpointResolver>(with session: R) -> AsyncThrowingStream<Output, any Error> {
 47 |         var iterator = parent._resolve(with: session).makeAsyncIterator()
 48 |         return .init { try await iterator.next().flatMap(content) }
    |                                  `- warning: capture of 'iterator' with non-sendable type 'AsyncThrowingStream<Parent.Output, any Error>.Iterator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 49 |     }
 50 |
_Concurrency.AsyncThrowingStream:3:19: note: struct 'Iterator' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
 2 | extension AsyncThrowingStream : AsyncSequence {
 3 |     public struct Iterator : AsyncIteratorProtocol {
   |                   `- note: struct 'Iterator' does not conform to the 'Sendable' protocol
 4 |         public mutating func next() async throws -> Element?
 5 |         @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Map.swift:48:58: warning: capture of 'self' with non-sendable type 'Map<Parent, Output>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 15 | /// implementation handling an output generated
 16 | /// from an existing one.
 17 | public struct Map<Parent: Endpoint, Output> {
    |               `- note: consider making generic struct 'Map' conform to the 'Sendable' protocol
 18 |     /// The parent endpoint.
 19 |     private let parent: Parent
    :
 46 |     public func _resolve<R: EndpointResolver>(with session: R) -> AsyncThrowingStream<Output, any Error> {
 47 |         var iterator = parent._resolve(with: session).makeAsyncIterator()
 48 |         return .init { try await iterator.next().flatMap(content) }
    |                                                          `- warning: capture of 'self' with non-sendable type 'Map<Parent, Output>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 49 |     }
 50 |
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Map.swift:48:34: warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 46 |     public func _resolve<R: EndpointResolver>(with session: R) -> AsyncThrowingStream<Output, any Error> {
 47 |         var iterator = parent._resolve(with: session).makeAsyncIterator()
 48 |         return .init { try await iterator.next().flatMap(content) }
    |                                  `- warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 49 |     }
 50 |
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Prefix.swift:45:34: warning: capture of 'iterator' with non-sendable type 'AsyncPrefixSequence<AsyncThrowingStream<Parent.Output, any Error>>.Iterator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
43 |     public func resolve<R: EndpointResolver>(with session: R) -> AsyncThrowingStream<Output, any Error> {
44 |         var iterator = parent.resolve(with: session).prefix(count).makeAsyncIterator()
45 |         return .init { try await iterator.next() }
   |                                  `- warning: capture of 'iterator' with non-sendable type 'AsyncPrefixSequence<AsyncThrowingStream<Parent.Output, any Error>>.Iterator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
46 |     }
47 |
_Concurrency.AsyncThrowingStream:3:19: note: struct 'Iterator' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
 2 | extension AsyncThrowingStream : AsyncSequence {
 3 |     public struct Iterator : AsyncIteratorProtocol {
   |                   `- note: struct 'Iterator' does not conform to the 'Sendable' protocol
 4 |         public mutating func next() async throws -> Element?
 5 |         @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Prefix.swift:45:34: warning: capture of 'iterator' with non-sendable type 'AsyncPrefixSequence<AsyncThrowingStream<Parent.Output, any Error>>.Iterator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
43 |     public func resolve<R: EndpointResolver>(with session: R) -> AsyncThrowingStream<Output, any Error> {
44 |         var iterator = parent.resolve(with: session).prefix(count).makeAsyncIterator()
45 |         return .init { try await iterator.next() }
   |                                  `- warning: capture of 'iterator' with non-sendable type 'AsyncPrefixSequence<AsyncThrowingStream<Parent.Output, any Error>>.Iterator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
46 |     }
47 |
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Prefix.swift:45:34: warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
43 |     public func resolve<R: EndpointResolver>(with session: R) -> AsyncThrowingStream<Output, any Error> {
44 |         var iterator = parent.resolve(with: session).prefix(count).makeAsyncIterator()
45 |         return .init { try await iterator.next() }
   |                                  `- warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
46 |     }
47 |
[25/70] Compiling Requests SingleEndpoint.swift
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/SingleEndpoint.swift:80:30: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 78 |             guard await nextInput.value != nil else { return nil }
 79 |             await nextInput.update(with: nil)
 80 |             return try await resolve(with: session)
    |                              `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 81 |         }
 82 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/SingleEndpoint.swift:80:44: warning: capture of 'session' with non-sendable type 'R' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 65 |     /// - returns: Some `AsyncStream`.
 66 |     @_spi(Private)
 67 |     func _resolve<R: EndpointResolver>(with session: R) -> AsyncThrowingStream<Output, any Error> {
    |                   `- note: consider making generic parameter 'R' conform to the 'Sendable' protocol
 68 |         // You should only ever return one
 69 |         // item.
    :
 78 |             guard await nextInput.value != nil else { return nil }
 79 |             await nextInput.update(with: nil)
 80 |             return try await resolve(with: session)
    |                                            `- warning: capture of 'session' with non-sendable type 'R' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 81 |         }
 82 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/SingleEndpoint.swift:48:30: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 46 |         return Deferred {
 47 |             Combine.Future { subscriber in
 48 |                 task = .init {
    |                              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 49 |                     guard !Task.isCancelled else { return }
 50 |                     await subscriber(Result.async { try await resolve(with: session) })
    |                           |                                   |             `- note: closure captures non-Sendable 'session'
    |                           |                                   `- note: closure captures non-Sendable 'self'
    |                           `- note: closure captures non-Sendable 'subscriber'
 51 |                 }
 52 |             }
[26/70] Compiling Requests AnyEndpointResolver.swift
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/SingleEndpoint.swift:80:30: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 78 |             guard await nextInput.value != nil else { return nil }
 79 |             await nextInput.update(with: nil)
 80 |             return try await resolve(with: session)
    |                              `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 81 |         }
 82 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/SingleEndpoint.swift:80:44: warning: capture of 'session' with non-sendable type 'R' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 65 |     /// - returns: Some `AsyncStream`.
 66 |     @_spi(Private)
 67 |     func _resolve<R: EndpointResolver>(with session: R) -> AsyncThrowingStream<Output, any Error> {
    |                   `- note: consider making generic parameter 'R' conform to the 'Sendable' protocol
 68 |         // You should only ever return one
 69 |         // item.
    :
 78 |             guard await nextInput.value != nil else { return nil }
 79 |             await nextInput.update(with: nil)
 80 |             return try await resolve(with: session)
    |                                            `- warning: capture of 'session' with non-sendable type 'R' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 81 |         }
 82 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/SingleEndpoint.swift:48:30: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 46 |         return Deferred {
 47 |             Combine.Future { subscriber in
 48 |                 task = .init {
    |                              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 49 |                     guard !Task.isCancelled else { return }
 50 |                     await subscriber(Result.async { try await resolve(with: session) })
    |                           |                                   |             `- note: closure captures non-Sendable 'session'
    |                           |                                   `- note: closure captures non-Sendable 'self'
    |                           `- note: closure captures non-Sendable 'subscriber'
 51 |                 }
 52 |             }
[27/70] Compiling Requests AnyLoopEndpoint.swift
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/SingleEndpoint.swift:80:30: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 78 |             guard await nextInput.value != nil else { return nil }
 79 |             await nextInput.update(with: nil)
 80 |             return try await resolve(with: session)
    |                              `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 81 |         }
 82 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/SingleEndpoint.swift:80:44: warning: capture of 'session' with non-sendable type 'R' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 65 |     /// - returns: Some `AsyncStream`.
 66 |     @_spi(Private)
 67 |     func _resolve<R: EndpointResolver>(with session: R) -> AsyncThrowingStream<Output, any Error> {
    |                   `- note: consider making generic parameter 'R' conform to the 'Sendable' protocol
 68 |         // You should only ever return one
 69 |         // item.
    :
 78 |             guard await nextInput.value != nil else { return nil }
 79 |             await nextInput.update(with: nil)
 80 |             return try await resolve(with: session)
    |                                            `- warning: capture of 'session' with non-sendable type 'R' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 81 |         }
 82 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/SingleEndpoint.swift:48:30: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 46 |         return Deferred {
 47 |             Combine.Future { subscriber in
 48 |                 task = .init {
    |                              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 49 |                     guard !Task.isCancelled else { return }
 50 |                     await subscriber(Result.async { try await resolve(with: session) })
    |                           |                                   |             `- note: closure captures non-Sendable 'session'
    |                           |                                   `- note: closure captures non-Sendable 'self'
    |                           `- note: closure captures non-Sendable 'subscriber'
 51 |                 }
 52 |             }
[28/70] Compiling Requests AnySingleEndpoint.swift
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/SingleEndpoint.swift:80:30: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 78 |             guard await nextInput.value != nil else { return nil }
 79 |             await nextInput.update(with: nil)
 80 |             return try await resolve(with: session)
    |                              `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 81 |         }
 82 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/SingleEndpoint.swift:80:44: warning: capture of 'session' with non-sendable type 'R' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 65 |     /// - returns: Some `AsyncStream`.
 66 |     @_spi(Private)
 67 |     func _resolve<R: EndpointResolver>(with session: R) -> AsyncThrowingStream<Output, any Error> {
    |                   `- note: consider making generic parameter 'R' conform to the 'Sendable' protocol
 68 |         // You should only ever return one
 69 |         // item.
    :
 78 |             guard await nextInput.value != nil else { return nil }
 79 |             await nextInput.update(with: nil)
 80 |             return try await resolve(with: session)
    |                                            `- warning: capture of 'session' with non-sendable type 'R' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 81 |         }
 82 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/SingleEndpoint.swift:48:30: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 46 |         return Deferred {
 47 |             Combine.Future { subscriber in
 48 |                 task = .init {
    |                              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 49 |                     guard !Task.isCancelled else { return }
 50 |                     await subscriber(Result.async { try await resolve(with: session) })
    |                           |                                   |             `- note: closure captures non-Sendable 'session'
    |                           |                                   `- note: closure captures non-Sendable 'self'
    |                           `- note: closure captures non-Sendable 'subscriber'
 51 |                 }
 52 |             }
[29/70] Compiling Requests CharacterSet.swift
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/SingleEndpoint.swift:80:30: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 78 |             guard await nextInput.value != nil else { return nil }
 79 |             await nextInput.update(with: nil)
 80 |             return try await resolve(with: session)
    |                              `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 81 |         }
 82 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/SingleEndpoint.swift:80:44: warning: capture of 'session' with non-sendable type 'R' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 65 |     /// - returns: Some `AsyncStream`.
 66 |     @_spi(Private)
 67 |     func _resolve<R: EndpointResolver>(with session: R) -> AsyncThrowingStream<Output, any Error> {
    |                   `- note: consider making generic parameter 'R' conform to the 'Sendable' protocol
 68 |         // You should only ever return one
 69 |         // item.
    :
 78 |             guard await nextInput.value != nil else { return nil }
 79 |             await nextInput.update(with: nil)
 80 |             return try await resolve(with: session)
    |                                            `- warning: capture of 'session' with non-sendable type 'R' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 81 |         }
 82 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/SingleEndpoint.swift:48:30: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 46 |         return Deferred {
 47 |             Combine.Future { subscriber in
 48 |                 task = .init {
    |                              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 49 |                     guard !Task.isCancelled else { return }
 50 |                     await subscriber(Result.async { try await resolve(with: session) })
    |                           |                                   |             `- note: closure captures non-Sendable 'session'
    |                           |                                   `- note: closure captures non-Sendable 'self'
    |                           `- note: closure captures non-Sendable 'subscriber'
 51 |                 }
 52 |             }
[30/70] Compiling EncryptedStorages KeychainStorage.swift
[31/70] Emitting module EncryptedStorages
[32/70] Compiling Requests Single.swift
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/EndpointResolver.swift:89:17: warning: capture of 'onCancel' with non-sendable type '() -> Void?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 87 |                 }
 88 |             } onCancel: {
 89 |                 onCancel()
    |                 |- warning: capture of 'onCancel' with non-sendable type '() -> Void?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 90 |             }
 91 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/EndpointResolver.swift:47:30: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 45 |         return Deferred {
 46 |             Combine.Future { subscriber in
 47 |                 task = .init {
    |                              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 48 |                     guard !Task.isCancelled else { return }
 49 |                     await subscriber(Result.async { try await resolve(request) })
    |                           |                                   `- note: closure captures non-Sendable 'self'
    |                           `- note: closure captures non-Sendable 'subscriber'
 50 |                 }
 51 |             }
[33/70] Compiling Requests Static.swift
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/EndpointResolver.swift:89:17: warning: capture of 'onCancel' with non-sendable type '() -> Void?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 87 |                 }
 88 |             } onCancel: {
 89 |                 onCancel()
    |                 |- warning: capture of 'onCancel' with non-sendable type '() -> Void?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 90 |             }
 91 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/EndpointResolver.swift:47:30: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 45 |         return Deferred {
 46 |             Combine.Future { subscriber in
 47 |                 task = .init {
    |                              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 48 |                     guard !Task.isCancelled else { return }
 49 |                     await subscriber(Result.async { try await resolve(request) })
    |                           |                                   `- note: closure captures non-Sendable 'self'
    |                           `- note: closure captures non-Sendable 'subscriber'
 50 |                 }
 51 |             }
[34/70] Compiling Requests Endpoint.swift
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/EndpointResolver.swift:89:17: warning: capture of 'onCancel' with non-sendable type '() -> Void?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 87 |                 }
 88 |             } onCancel: {
 89 |                 onCancel()
    |                 |- warning: capture of 'onCancel' with non-sendable type '() -> Void?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 90 |             }
 91 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/EndpointResolver.swift:47:30: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 45 |         return Deferred {
 46 |             Combine.Future { subscriber in
 47 |                 task = .init {
    |                              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 48 |                     guard !Task.isCancelled else { return }
 49 |                     await subscriber(Result.async { try await resolve(request) })
    |                           |                                   `- note: closure captures non-Sendable 'self'
    |                           `- note: closure captures non-Sendable 'subscriber'
 50 |                 }
 51 |             }
[35/70] Compiling Requests EndpointResolver.swift
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/EndpointResolver.swift:89:17: warning: capture of 'onCancel' with non-sendable type '() -> Void?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 87 |                 }
 88 |             } onCancel: {
 89 |                 onCancel()
    |                 |- warning: capture of 'onCancel' with non-sendable type '() -> Void?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 90 |             }
 91 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/EndpointResolver.swift:47:30: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 45 |         return Deferred {
 46 |             Combine.Future { subscriber in
 47 |                 task = .init {
    |                              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 48 |                     guard !Task.isCancelled else { return }
 49 |                     await subscriber(Result.async { try await resolve(request) })
    |                           |                                   `- note: closure captures non-Sendable 'self'
    |                           `- note: closure captures non-Sendable 'subscriber'
 50 |                 }
 51 |             }
[36/70] Compiling Requests LoopEndpoint.swift
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/EndpointResolver.swift:89:17: warning: capture of 'onCancel' with non-sendable type '() -> Void?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 87 |                 }
 88 |             } onCancel: {
 89 |                 onCancel()
    |                 |- warning: capture of 'onCancel' with non-sendable type '() -> Void?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 90 |             }
 91 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/EndpointResolver.swift:47:30: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 45 |         return Deferred {
 46 |             Combine.Future { subscriber in
 47 |                 task = .init {
    |                              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 48 |                     guard !Task.isCancelled else { return }
 49 |                     await subscriber(Result.async { try await resolve(request) })
    |                           |                                   `- note: closure captures non-Sendable 'self'
    |                           `- note: closure captures non-Sendable 'subscriber'
 50 |                 }
 51 |             }
[37/70] Compiling Requests EndpointBuilder.swift
[38/70] Compiling Requests Components.swift
[39/70] Compiling Requests Path.swift
[40/70] Compiling Requests Response.swift
[41/70] Compiling Requests TupleItem.swift
[42/70] Compiling Requests AnyCodable.swift
[43/70] Compiling Requests AnyDecodable.swift
[44/70] Compiling Requests Cellular.swift
[45/70] Compiling Requests Constrained.swift
[46/70] Compiling Requests Expensive.swift
[47/70] Compiling Requests Service.swift
[48/70] Compiling Requests Timeout.swift
[49/70] Compiling Requests DefaultResponse.swift
[50/70] Compiling Requests EndpointError.swift
[51/70] Compiling Requests NextAction.swift
[52/70] Compiling Requests NextInput.swift
[53/70] Compiling Requests Lock.swift
[54/70] Compiling Requests Collect.swift
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/FlatMap.swift:60:16: warning: capture of 'iterator' with non-sendable type 'AsyncThrowingStream<Child.Output, any Error>.AsyncIterator?' (aka 'Optional<AsyncThrowingStream<Child.Output, any Error>.Iterator>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
 58 |         var iterator: AsyncThrowingStream<Child.Output, any Error>.AsyncIterator?
 59 |         return .init {
 60 |             if iterator == nil {
    |                `- warning: capture of 'iterator' with non-sendable type 'AsyncThrowingStream<Child.Output, any Error>.AsyncIterator?' (aka 'Optional<AsyncThrowingStream<Child.Output, any Error>.Iterator>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
 61 |                 let output = try await parent.resolve(with: session)
 62 |                 iterator = child(output)._resolve(with: session).makeAsyncIterator()
_Concurrency.AsyncThrowingStream:3:19: note: struct 'Iterator' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
 2 | extension AsyncThrowingStream : AsyncSequence {
 3 |     public struct Iterator : AsyncIteratorProtocol {
   |                   `- note: struct 'Iterator' does not conform to the 'Sendable' protocol
 4 |         public mutating func next() async throws -> Element?
 5 |         @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/FlatMap.swift:61:40: warning: capture of 'self' with non-sendable type 'FlatMap<Parent, Child>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 23 | /// otherwise be possible by extending it to
 24 | /// `LoopEndpoint`s.
 25 | public struct FlatMap<Parent: SingleEndpoint, Child: Endpoint> {
    |               `- note: consider making generic struct 'FlatMap' conform to the 'Sendable' protocol
 26 |     /// The associated output type.
 27 |     public typealias Output = Child.Output
    :
 59 |         return .init {
 60 |             if iterator == nil {
 61 |                 let output = try await parent.resolve(with: session)
    |                                        `- warning: capture of 'self' with non-sendable type 'FlatMap<Parent, Child>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 62 |                 iterator = child(output)._resolve(with: session).makeAsyncIterator()
 63 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/FlatMap.swift:61:61: warning: capture of 'session' with non-sendable type 'R' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 55 |     /// - returns: Some `AsyncStream`.
 56 |     @_spi(Private)
 57 |     public func _resolve<R: EndpointResolver>(with session: R) -> AsyncThrowingStream<Output, any Error> {
    |                          `- note: consider making generic parameter 'R' conform to the 'Sendable' protocol
 58 |         var iterator: AsyncThrowingStream<Child.Output, any Error>.AsyncIterator?
 59 |         return .init {
 60 |             if iterator == nil {
 61 |                 let output = try await parent.resolve(with: session)
    |                                                             `- warning: capture of 'session' with non-sendable type 'R' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 62 |                 iterator = child(output)._resolve(with: session).makeAsyncIterator()
 63 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/FlatMap.swift:60:16: warning: reference to captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 58 |         var iterator: AsyncThrowingStream<Child.Output, any Error>.AsyncIterator?
 59 |         return .init {
 60 |             if iterator == nil {
    |                `- warning: reference to captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 61 |                 let output = try await parent.resolve(with: session)
 62 |                 iterator = child(output)._resolve(with: session).makeAsyncIterator()
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/FlatMap.swift:62:17: warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 60 |             if iterator == nil {
 61 |                 let output = try await parent.resolve(with: session)
 62 |                 iterator = child(output)._resolve(with: session).makeAsyncIterator()
    |                 `- warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 63 |             }
 64 |             return try await iterator?.next()
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/FlatMap.swift:64:30: warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 62 |                 iterator = child(output)._resolve(with: session).makeAsyncIterator()
 63 |             }
 64 |             return try await iterator?.next()
    |                              `- warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 65 |         }
 66 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/ForEach.swift:64:64: warning: capture of 'self' with non-sendable type 'ForEach<Next, Content>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
15 | /// implementation handling a sequence of
16 | /// requests.
17 | public struct ForEach<Next: Sendable, Content: SingleEndpoint> {
   |               `- note: consider making generic struct 'ForEach' conform to the 'Sendable' protocol
18 |     /// The associated output type.
19 |     public typealias Output = Content.Output
   :
62 |         return .init {
63 |             // If next input is `nil`, cancel the stream.
64 |             guard let offset = await nextInput.value, offset < pages.count else { return nil }
   |                                                                `- warning: capture of 'self' with non-sendable type 'ForEach<Next, Content>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
65 |             let output = try await content(offset, pages[offset]).resolve(with: session)
66 |             await nextInput.update(with: offset + 1)
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/ForEach.swift:65:81: warning: capture of 'session' with non-sendable type 'R' in a `@Sendable` closure; this is an error in the Swift 6 language mode
56 |     /// - parameter session: The `EndpointResolver` used to fetch the response.
57 |     /// - returns: Some `AsyncStream`.
58 |     public func resolve<R: EndpointResolver>(with session: R) -> AsyncThrowingStream<Output, any Error> {
   |                         `- note: consider making generic parameter 'R' conform to the 'Sendable' protocol
59 |         // Hold reference to next input,
60 |         // so we can paginate properly.
   :
63 |             // If next input is `nil`, cancel the stream.
64 |             guard let offset = await nextInput.value, offset < pages.count else { return nil }
65 |             let output = try await content(offset, pages[offset]).resolve(with: session)
   |                                                                                 `- warning: capture of 'session' with non-sendable type 'R' in a `@Sendable` closure; this is an error in the Swift 6 language mode
66 |             await nextInput.update(with: offset + 1)
67 |             return output
[55/70] Compiling Requests Endpoints.swift
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/FlatMap.swift:60:16: warning: capture of 'iterator' with non-sendable type 'AsyncThrowingStream<Child.Output, any Error>.AsyncIterator?' (aka 'Optional<AsyncThrowingStream<Child.Output, any Error>.Iterator>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
 58 |         var iterator: AsyncThrowingStream<Child.Output, any Error>.AsyncIterator?
 59 |         return .init {
 60 |             if iterator == nil {
    |                `- warning: capture of 'iterator' with non-sendable type 'AsyncThrowingStream<Child.Output, any Error>.AsyncIterator?' (aka 'Optional<AsyncThrowingStream<Child.Output, any Error>.Iterator>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
 61 |                 let output = try await parent.resolve(with: session)
 62 |                 iterator = child(output)._resolve(with: session).makeAsyncIterator()
_Concurrency.AsyncThrowingStream:3:19: note: struct 'Iterator' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
 2 | extension AsyncThrowingStream : AsyncSequence {
 3 |     public struct Iterator : AsyncIteratorProtocol {
   |                   `- note: struct 'Iterator' does not conform to the 'Sendable' protocol
 4 |         public mutating func next() async throws -> Element?
 5 |         @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/FlatMap.swift:61:40: warning: capture of 'self' with non-sendable type 'FlatMap<Parent, Child>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 23 | /// otherwise be possible by extending it to
 24 | /// `LoopEndpoint`s.
 25 | public struct FlatMap<Parent: SingleEndpoint, Child: Endpoint> {
    |               `- note: consider making generic struct 'FlatMap' conform to the 'Sendable' protocol
 26 |     /// The associated output type.
 27 |     public typealias Output = Child.Output
    :
 59 |         return .init {
 60 |             if iterator == nil {
 61 |                 let output = try await parent.resolve(with: session)
    |                                        `- warning: capture of 'self' with non-sendable type 'FlatMap<Parent, Child>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 62 |                 iterator = child(output)._resolve(with: session).makeAsyncIterator()
 63 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/FlatMap.swift:61:61: warning: capture of 'session' with non-sendable type 'R' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 55 |     /// - returns: Some `AsyncStream`.
 56 |     @_spi(Private)
 57 |     public func _resolve<R: EndpointResolver>(with session: R) -> AsyncThrowingStream<Output, any Error> {
    |                          `- note: consider making generic parameter 'R' conform to the 'Sendable' protocol
 58 |         var iterator: AsyncThrowingStream<Child.Output, any Error>.AsyncIterator?
 59 |         return .init {
 60 |             if iterator == nil {
 61 |                 let output = try await parent.resolve(with: session)
    |                                                             `- warning: capture of 'session' with non-sendable type 'R' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 62 |                 iterator = child(output)._resolve(with: session).makeAsyncIterator()
 63 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/FlatMap.swift:60:16: warning: reference to captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 58 |         var iterator: AsyncThrowingStream<Child.Output, any Error>.AsyncIterator?
 59 |         return .init {
 60 |             if iterator == nil {
    |                `- warning: reference to captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 61 |                 let output = try await parent.resolve(with: session)
 62 |                 iterator = child(output)._resolve(with: session).makeAsyncIterator()
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/FlatMap.swift:62:17: warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 60 |             if iterator == nil {
 61 |                 let output = try await parent.resolve(with: session)
 62 |                 iterator = child(output)._resolve(with: session).makeAsyncIterator()
    |                 `- warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 63 |             }
 64 |             return try await iterator?.next()
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/FlatMap.swift:64:30: warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 62 |                 iterator = child(output)._resolve(with: session).makeAsyncIterator()
 63 |             }
 64 |             return try await iterator?.next()
    |                              `- warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 65 |         }
 66 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/ForEach.swift:64:64: warning: capture of 'self' with non-sendable type 'ForEach<Next, Content>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
15 | /// implementation handling a sequence of
16 | /// requests.
17 | public struct ForEach<Next: Sendable, Content: SingleEndpoint> {
   |               `- note: consider making generic struct 'ForEach' conform to the 'Sendable' protocol
18 |     /// The associated output type.
19 |     public typealias Output = Content.Output
   :
62 |         return .init {
63 |             // If next input is `nil`, cancel the stream.
64 |             guard let offset = await nextInput.value, offset < pages.count else { return nil }
   |                                                                `- warning: capture of 'self' with non-sendable type 'ForEach<Next, Content>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
65 |             let output = try await content(offset, pages[offset]).resolve(with: session)
66 |             await nextInput.update(with: offset + 1)
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/ForEach.swift:65:81: warning: capture of 'session' with non-sendable type 'R' in a `@Sendable` closure; this is an error in the Swift 6 language mode
56 |     /// - parameter session: The `EndpointResolver` used to fetch the response.
57 |     /// - returns: Some `AsyncStream`.
58 |     public func resolve<R: EndpointResolver>(with session: R) -> AsyncThrowingStream<Output, any Error> {
   |                         `- note: consider making generic parameter 'R' conform to the 'Sendable' protocol
59 |         // Hold reference to next input,
60 |         // so we can paginate properly.
   :
63 |             // If next input is `nil`, cancel the stream.
64 |             guard let offset = await nextInput.value, offset < pages.count else { return nil }
65 |             let output = try await content(offset, pages[offset]).resolve(with: session)
   |                                                                                 `- warning: capture of 'session' with non-sendable type 'R' in a `@Sendable` closure; this is an error in the Swift 6 language mode
66 |             await nextInput.update(with: offset + 1)
67 |             return output
[56/70] Compiling Requests First.swift
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/FlatMap.swift:60:16: warning: capture of 'iterator' with non-sendable type 'AsyncThrowingStream<Child.Output, any Error>.AsyncIterator?' (aka 'Optional<AsyncThrowingStream<Child.Output, any Error>.Iterator>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
 58 |         var iterator: AsyncThrowingStream<Child.Output, any Error>.AsyncIterator?
 59 |         return .init {
 60 |             if iterator == nil {
    |                `- warning: capture of 'iterator' with non-sendable type 'AsyncThrowingStream<Child.Output, any Error>.AsyncIterator?' (aka 'Optional<AsyncThrowingStream<Child.Output, any Error>.Iterator>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
 61 |                 let output = try await parent.resolve(with: session)
 62 |                 iterator = child(output)._resolve(with: session).makeAsyncIterator()
_Concurrency.AsyncThrowingStream:3:19: note: struct 'Iterator' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
 2 | extension AsyncThrowingStream : AsyncSequence {
 3 |     public struct Iterator : AsyncIteratorProtocol {
   |                   `- note: struct 'Iterator' does not conform to the 'Sendable' protocol
 4 |         public mutating func next() async throws -> Element?
 5 |         @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/FlatMap.swift:61:40: warning: capture of 'self' with non-sendable type 'FlatMap<Parent, Child>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 23 | /// otherwise be possible by extending it to
 24 | /// `LoopEndpoint`s.
 25 | public struct FlatMap<Parent: SingleEndpoint, Child: Endpoint> {
    |               `- note: consider making generic struct 'FlatMap' conform to the 'Sendable' protocol
 26 |     /// The associated output type.
 27 |     public typealias Output = Child.Output
    :
 59 |         return .init {
 60 |             if iterator == nil {
 61 |                 let output = try await parent.resolve(with: session)
    |                                        `- warning: capture of 'self' with non-sendable type 'FlatMap<Parent, Child>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 62 |                 iterator = child(output)._resolve(with: session).makeAsyncIterator()
 63 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/FlatMap.swift:61:61: warning: capture of 'session' with non-sendable type 'R' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 55 |     /// - returns: Some `AsyncStream`.
 56 |     @_spi(Private)
 57 |     public func _resolve<R: EndpointResolver>(with session: R) -> AsyncThrowingStream<Output, any Error> {
    |                          `- note: consider making generic parameter 'R' conform to the 'Sendable' protocol
 58 |         var iterator: AsyncThrowingStream<Child.Output, any Error>.AsyncIterator?
 59 |         return .init {
 60 |             if iterator == nil {
 61 |                 let output = try await parent.resolve(with: session)
    |                                                             `- warning: capture of 'session' with non-sendable type 'R' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 62 |                 iterator = child(output)._resolve(with: session).makeAsyncIterator()
 63 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/FlatMap.swift:60:16: warning: reference to captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 58 |         var iterator: AsyncThrowingStream<Child.Output, any Error>.AsyncIterator?
 59 |         return .init {
 60 |             if iterator == nil {
    |                `- warning: reference to captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 61 |                 let output = try await parent.resolve(with: session)
 62 |                 iterator = child(output)._resolve(with: session).makeAsyncIterator()
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/FlatMap.swift:62:17: warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 60 |             if iterator == nil {
 61 |                 let output = try await parent.resolve(with: session)
 62 |                 iterator = child(output)._resolve(with: session).makeAsyncIterator()
    |                 `- warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 63 |             }
 64 |             return try await iterator?.next()
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/FlatMap.swift:64:30: warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 62 |                 iterator = child(output)._resolve(with: session).makeAsyncIterator()
 63 |             }
 64 |             return try await iterator?.next()
    |                              `- warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 65 |         }
 66 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/ForEach.swift:64:64: warning: capture of 'self' with non-sendable type 'ForEach<Next, Content>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
15 | /// implementation handling a sequence of
16 | /// requests.
17 | public struct ForEach<Next: Sendable, Content: SingleEndpoint> {
   |               `- note: consider making generic struct 'ForEach' conform to the 'Sendable' protocol
18 |     /// The associated output type.
19 |     public typealias Output = Content.Output
   :
62 |         return .init {
63 |             // If next input is `nil`, cancel the stream.
64 |             guard let offset = await nextInput.value, offset < pages.count else { return nil }
   |                                                                `- warning: capture of 'self' with non-sendable type 'ForEach<Next, Content>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
65 |             let output = try await content(offset, pages[offset]).resolve(with: session)
66 |             await nextInput.update(with: offset + 1)
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/ForEach.swift:65:81: warning: capture of 'session' with non-sendable type 'R' in a `@Sendable` closure; this is an error in the Swift 6 language mode
56 |     /// - parameter session: The `EndpointResolver` used to fetch the response.
57 |     /// - returns: Some `AsyncStream`.
58 |     public func resolve<R: EndpointResolver>(with session: R) -> AsyncThrowingStream<Output, any Error> {
   |                         `- note: consider making generic parameter 'R' conform to the 'Sendable' protocol
59 |         // Hold reference to next input,
60 |         // so we can paginate properly.
   :
63 |             // If next input is `nil`, cancel the stream.
64 |             guard let offset = await nextInput.value, offset < pages.count else { return nil }
65 |             let output = try await content(offset, pages[offset]).resolve(with: session)
   |                                                                                 `- warning: capture of 'session' with non-sendable type 'R' in a `@Sendable` closure; this is an error in the Swift 6 language mode
66 |             await nextInput.update(with: offset + 1)
67 |             return output
[57/70] Compiling Requests FlatMap.swift
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/FlatMap.swift:60:16: warning: capture of 'iterator' with non-sendable type 'AsyncThrowingStream<Child.Output, any Error>.AsyncIterator?' (aka 'Optional<AsyncThrowingStream<Child.Output, any Error>.Iterator>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
 58 |         var iterator: AsyncThrowingStream<Child.Output, any Error>.AsyncIterator?
 59 |         return .init {
 60 |             if iterator == nil {
    |                `- warning: capture of 'iterator' with non-sendable type 'AsyncThrowingStream<Child.Output, any Error>.AsyncIterator?' (aka 'Optional<AsyncThrowingStream<Child.Output, any Error>.Iterator>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
 61 |                 let output = try await parent.resolve(with: session)
 62 |                 iterator = child(output)._resolve(with: session).makeAsyncIterator()
_Concurrency.AsyncThrowingStream:3:19: note: struct 'Iterator' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
 2 | extension AsyncThrowingStream : AsyncSequence {
 3 |     public struct Iterator : AsyncIteratorProtocol {
   |                   `- note: struct 'Iterator' does not conform to the 'Sendable' protocol
 4 |         public mutating func next() async throws -> Element?
 5 |         @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/FlatMap.swift:61:40: warning: capture of 'self' with non-sendable type 'FlatMap<Parent, Child>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 23 | /// otherwise be possible by extending it to
 24 | /// `LoopEndpoint`s.
 25 | public struct FlatMap<Parent: SingleEndpoint, Child: Endpoint> {
    |               `- note: consider making generic struct 'FlatMap' conform to the 'Sendable' protocol
 26 |     /// The associated output type.
 27 |     public typealias Output = Child.Output
    :
 59 |         return .init {
 60 |             if iterator == nil {
 61 |                 let output = try await parent.resolve(with: session)
    |                                        `- warning: capture of 'self' with non-sendable type 'FlatMap<Parent, Child>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 62 |                 iterator = child(output)._resolve(with: session).makeAsyncIterator()
 63 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/FlatMap.swift:61:61: warning: capture of 'session' with non-sendable type 'R' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 55 |     /// - returns: Some `AsyncStream`.
 56 |     @_spi(Private)
 57 |     public func _resolve<R: EndpointResolver>(with session: R) -> AsyncThrowingStream<Output, any Error> {
    |                          `- note: consider making generic parameter 'R' conform to the 'Sendable' protocol
 58 |         var iterator: AsyncThrowingStream<Child.Output, any Error>.AsyncIterator?
 59 |         return .init {
 60 |             if iterator == nil {
 61 |                 let output = try await parent.resolve(with: session)
    |                                                             `- warning: capture of 'session' with non-sendable type 'R' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 62 |                 iterator = child(output)._resolve(with: session).makeAsyncIterator()
 63 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/FlatMap.swift:60:16: warning: reference to captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 58 |         var iterator: AsyncThrowingStream<Child.Output, any Error>.AsyncIterator?
 59 |         return .init {
 60 |             if iterator == nil {
    |                `- warning: reference to captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 61 |                 let output = try await parent.resolve(with: session)
 62 |                 iterator = child(output)._resolve(with: session).makeAsyncIterator()
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/FlatMap.swift:62:17: warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 60 |             if iterator == nil {
 61 |                 let output = try await parent.resolve(with: session)
 62 |                 iterator = child(output)._resolve(with: session).makeAsyncIterator()
    |                 `- warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 63 |             }
 64 |             return try await iterator?.next()
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/FlatMap.swift:64:30: warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 62 |                 iterator = child(output)._resolve(with: session).makeAsyncIterator()
 63 |             }
 64 |             return try await iterator?.next()
    |                              `- warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 65 |         }
 66 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/ForEach.swift:64:64: warning: capture of 'self' with non-sendable type 'ForEach<Next, Content>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
15 | /// implementation handling a sequence of
16 | /// requests.
17 | public struct ForEach<Next: Sendable, Content: SingleEndpoint> {
   |               `- note: consider making generic struct 'ForEach' conform to the 'Sendable' protocol
18 |     /// The associated output type.
19 |     public typealias Output = Content.Output
   :
62 |         return .init {
63 |             // If next input is `nil`, cancel the stream.
64 |             guard let offset = await nextInput.value, offset < pages.count else { return nil }
   |                                                                `- warning: capture of 'self' with non-sendable type 'ForEach<Next, Content>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
65 |             let output = try await content(offset, pages[offset]).resolve(with: session)
66 |             await nextInput.update(with: offset + 1)
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/ForEach.swift:65:81: warning: capture of 'session' with non-sendable type 'R' in a `@Sendable` closure; this is an error in the Swift 6 language mode
56 |     /// - parameter session: The `EndpointResolver` used to fetch the response.
57 |     /// - returns: Some `AsyncStream`.
58 |     public func resolve<R: EndpointResolver>(with session: R) -> AsyncThrowingStream<Output, any Error> {
   |                         `- note: consider making generic parameter 'R' conform to the 'Sendable' protocol
59 |         // Hold reference to next input,
60 |         // so we can paginate properly.
   :
63 |             // If next input is `nil`, cancel the stream.
64 |             guard let offset = await nextInput.value, offset < pages.count else { return nil }
65 |             let output = try await content(offset, pages[offset]).resolve(with: session)
   |                                                                                 `- warning: capture of 'session' with non-sendable type 'R' in a `@Sendable` closure; this is an error in the Swift 6 language mode
66 |             await nextInput.update(with: offset + 1)
67 |             return output
[58/70] Compiling Requests ForEach.swift
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/FlatMap.swift:60:16: warning: capture of 'iterator' with non-sendable type 'AsyncThrowingStream<Child.Output, any Error>.AsyncIterator?' (aka 'Optional<AsyncThrowingStream<Child.Output, any Error>.Iterator>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
 58 |         var iterator: AsyncThrowingStream<Child.Output, any Error>.AsyncIterator?
 59 |         return .init {
 60 |             if iterator == nil {
    |                `- warning: capture of 'iterator' with non-sendable type 'AsyncThrowingStream<Child.Output, any Error>.AsyncIterator?' (aka 'Optional<AsyncThrowingStream<Child.Output, any Error>.Iterator>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
 61 |                 let output = try await parent.resolve(with: session)
 62 |                 iterator = child(output)._resolve(with: session).makeAsyncIterator()
_Concurrency.AsyncThrowingStream:3:19: note: struct 'Iterator' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
 2 | extension AsyncThrowingStream : AsyncSequence {
 3 |     public struct Iterator : AsyncIteratorProtocol {
   |                   `- note: struct 'Iterator' does not conform to the 'Sendable' protocol
 4 |         public mutating func next() async throws -> Element?
 5 |         @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/FlatMap.swift:61:40: warning: capture of 'self' with non-sendable type 'FlatMap<Parent, Child>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 23 | /// otherwise be possible by extending it to
 24 | /// `LoopEndpoint`s.
 25 | public struct FlatMap<Parent: SingleEndpoint, Child: Endpoint> {
    |               `- note: consider making generic struct 'FlatMap' conform to the 'Sendable' protocol
 26 |     /// The associated output type.
 27 |     public typealias Output = Child.Output
    :
 59 |         return .init {
 60 |             if iterator == nil {
 61 |                 let output = try await parent.resolve(with: session)
    |                                        `- warning: capture of 'self' with non-sendable type 'FlatMap<Parent, Child>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 62 |                 iterator = child(output)._resolve(with: session).makeAsyncIterator()
 63 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/FlatMap.swift:61:61: warning: capture of 'session' with non-sendable type 'R' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 55 |     /// - returns: Some `AsyncStream`.
 56 |     @_spi(Private)
 57 |     public func _resolve<R: EndpointResolver>(with session: R) -> AsyncThrowingStream<Output, any Error> {
    |                          `- note: consider making generic parameter 'R' conform to the 'Sendable' protocol
 58 |         var iterator: AsyncThrowingStream<Child.Output, any Error>.AsyncIterator?
 59 |         return .init {
 60 |             if iterator == nil {
 61 |                 let output = try await parent.resolve(with: session)
    |                                                             `- warning: capture of 'session' with non-sendable type 'R' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 62 |                 iterator = child(output)._resolve(with: session).makeAsyncIterator()
 63 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/FlatMap.swift:60:16: warning: reference to captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 58 |         var iterator: AsyncThrowingStream<Child.Output, any Error>.AsyncIterator?
 59 |         return .init {
 60 |             if iterator == nil {
    |                `- warning: reference to captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 61 |                 let output = try await parent.resolve(with: session)
 62 |                 iterator = child(output)._resolve(with: session).makeAsyncIterator()
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/FlatMap.swift:62:17: warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 60 |             if iterator == nil {
 61 |                 let output = try await parent.resolve(with: session)
 62 |                 iterator = child(output)._resolve(with: session).makeAsyncIterator()
    |                 `- warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 63 |             }
 64 |             return try await iterator?.next()
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/FlatMap.swift:64:30: warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 62 |                 iterator = child(output)._resolve(with: session).makeAsyncIterator()
 63 |             }
 64 |             return try await iterator?.next()
    |                              `- warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 65 |         }
 66 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/ForEach.swift:64:64: warning: capture of 'self' with non-sendable type 'ForEach<Next, Content>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
15 | /// implementation handling a sequence of
16 | /// requests.
17 | public struct ForEach<Next: Sendable, Content: SingleEndpoint> {
   |               `- note: consider making generic struct 'ForEach' conform to the 'Sendable' protocol
18 |     /// The associated output type.
19 |     public typealias Output = Content.Output
   :
62 |         return .init {
63 |             // If next input is `nil`, cancel the stream.
64 |             guard let offset = await nextInput.value, offset < pages.count else { return nil }
   |                                                                `- warning: capture of 'self' with non-sendable type 'ForEach<Next, Content>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
65 |             let output = try await content(offset, pages[offset]).resolve(with: session)
66 |             await nextInput.update(with: offset + 1)
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/ForEach.swift:65:81: warning: capture of 'session' with non-sendable type 'R' in a `@Sendable` closure; this is an error in the Swift 6 language mode
56 |     /// - parameter session: The `EndpointResolver` used to fetch the response.
57 |     /// - returns: Some `AsyncStream`.
58 |     public func resolve<R: EndpointResolver>(with session: R) -> AsyncThrowingStream<Output, any Error> {
   |                         `- note: consider making generic parameter 'R' conform to the 'Sendable' protocol
59 |         // Hold reference to next input,
60 |         // so we can paginate properly.
   :
63 |             // If next input is `nil`, cancel the stream.
64 |             guard let offset = await nextInput.value, offset < pages.count else { return nil }
65 |             let output = try await content(offset, pages[offset]).resolve(with: session)
   |                                                                                 `- warning: capture of 'session' with non-sendable type 'R' in a `@Sendable` closure; this is an error in the Swift 6 language mode
66 |             await nextInput.update(with: offset + 1)
67 |             return output
[59/70] Compiling Requests Future.swift
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/FlatMap.swift:60:16: warning: capture of 'iterator' with non-sendable type 'AsyncThrowingStream<Child.Output, any Error>.AsyncIterator?' (aka 'Optional<AsyncThrowingStream<Child.Output, any Error>.Iterator>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
 58 |         var iterator: AsyncThrowingStream<Child.Output, any Error>.AsyncIterator?
 59 |         return .init {
 60 |             if iterator == nil {
    |                `- warning: capture of 'iterator' with non-sendable type 'AsyncThrowingStream<Child.Output, any Error>.AsyncIterator?' (aka 'Optional<AsyncThrowingStream<Child.Output, any Error>.Iterator>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
 61 |                 let output = try await parent.resolve(with: session)
 62 |                 iterator = child(output)._resolve(with: session).makeAsyncIterator()
_Concurrency.AsyncThrowingStream:3:19: note: struct 'Iterator' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
 2 | extension AsyncThrowingStream : AsyncSequence {
 3 |     public struct Iterator : AsyncIteratorProtocol {
   |                   `- note: struct 'Iterator' does not conform to the 'Sendable' protocol
 4 |         public mutating func next() async throws -> Element?
 5 |         @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/FlatMap.swift:61:40: warning: capture of 'self' with non-sendable type 'FlatMap<Parent, Child>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 23 | /// otherwise be possible by extending it to
 24 | /// `LoopEndpoint`s.
 25 | public struct FlatMap<Parent: SingleEndpoint, Child: Endpoint> {
    |               `- note: consider making generic struct 'FlatMap' conform to the 'Sendable' protocol
 26 |     /// The associated output type.
 27 |     public typealias Output = Child.Output
    :
 59 |         return .init {
 60 |             if iterator == nil {
 61 |                 let output = try await parent.resolve(with: session)
    |                                        `- warning: capture of 'self' with non-sendable type 'FlatMap<Parent, Child>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 62 |                 iterator = child(output)._resolve(with: session).makeAsyncIterator()
 63 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/FlatMap.swift:61:61: warning: capture of 'session' with non-sendable type 'R' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 55 |     /// - returns: Some `AsyncStream`.
 56 |     @_spi(Private)
 57 |     public func _resolve<R: EndpointResolver>(with session: R) -> AsyncThrowingStream<Output, any Error> {
    |                          `- note: consider making generic parameter 'R' conform to the 'Sendable' protocol
 58 |         var iterator: AsyncThrowingStream<Child.Output, any Error>.AsyncIterator?
 59 |         return .init {
 60 |             if iterator == nil {
 61 |                 let output = try await parent.resolve(with: session)
    |                                                             `- warning: capture of 'session' with non-sendable type 'R' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 62 |                 iterator = child(output)._resolve(with: session).makeAsyncIterator()
 63 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/FlatMap.swift:60:16: warning: reference to captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 58 |         var iterator: AsyncThrowingStream<Child.Output, any Error>.AsyncIterator?
 59 |         return .init {
 60 |             if iterator == nil {
    |                `- warning: reference to captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 61 |                 let output = try await parent.resolve(with: session)
 62 |                 iterator = child(output)._resolve(with: session).makeAsyncIterator()
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/FlatMap.swift:62:17: warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 60 |             if iterator == nil {
 61 |                 let output = try await parent.resolve(with: session)
 62 |                 iterator = child(output)._resolve(with: session).makeAsyncIterator()
    |                 `- warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 63 |             }
 64 |             return try await iterator?.next()
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/FlatMap.swift:64:30: warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 62 |                 iterator = child(output)._resolve(with: session).makeAsyncIterator()
 63 |             }
 64 |             return try await iterator?.next()
    |                              `- warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 65 |         }
 66 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/ForEach.swift:64:64: warning: capture of 'self' with non-sendable type 'ForEach<Next, Content>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
15 | /// implementation handling a sequence of
16 | /// requests.
17 | public struct ForEach<Next: Sendable, Content: SingleEndpoint> {
   |               `- note: consider making generic struct 'ForEach' conform to the 'Sendable' protocol
18 |     /// The associated output type.
19 |     public typealias Output = Content.Output
   :
62 |         return .init {
63 |             // If next input is `nil`, cancel the stream.
64 |             guard let offset = await nextInput.value, offset < pages.count else { return nil }
   |                                                                `- warning: capture of 'self' with non-sendable type 'ForEach<Next, Content>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
65 |             let output = try await content(offset, pages[offset]).resolve(with: session)
66 |             await nextInput.update(with: offset + 1)
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/ForEach.swift:65:81: warning: capture of 'session' with non-sendable type 'R' in a `@Sendable` closure; this is an error in the Swift 6 language mode
56 |     /// - parameter session: The `EndpointResolver` used to fetch the response.
57 |     /// - returns: Some `AsyncStream`.
58 |     public func resolve<R: EndpointResolver>(with session: R) -> AsyncThrowingStream<Output, any Error> {
   |                         `- note: consider making generic parameter 'R' conform to the 'Sendable' protocol
59 |         // Hold reference to next input,
60 |         // so we can paginate properly.
   :
63 |             // If next input is `nil`, cancel the stream.
64 |             guard let offset = await nextInput.value, offset < pages.count else { return nil }
65 |             let output = try await content(offset, pages[offset]).resolve(with: session)
   |                                                                                 `- warning: capture of 'session' with non-sendable type 'R' in a `@Sendable` closure; this is an error in the Swift 6 language mode
66 |             await nextInput.update(with: offset + 1)
67 |             return output
[60/70] Compiling Requests Body.swift
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Catch.swift:63:34: warning: capture of 'iterator' with non-sendable type 'AsyncThrowingStream<Catch<Parent, Child>.Output, any Error>.AsyncIterator?' (aka 'Optional<AsyncThrowingStream<Parent.Output, any Error>.Iterator>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
 61 |         return .init {
 62 |             do {
 63 |                 return try await iterator?.next()
    |                                  `- warning: capture of 'iterator' with non-sendable type 'AsyncThrowingStream<Catch<Parent, Child>.Output, any Error>.AsyncIterator?' (aka 'Optional<AsyncThrowingStream<Parent.Output, any Error>.Iterator>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
 64 |             } catch {
 65 |                 iterator = nil
_Concurrency.AsyncThrowingStream:3:19: note: struct 'Iterator' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
 2 | extension AsyncThrowingStream : AsyncSequence {
 3 |     public struct Iterator : AsyncIteratorProtocol {
   |                   `- note: struct 'Iterator' does not conform to the 'Sendable' protocol
 4 |         public mutating func next() async throws -> Element?
 5 |         @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Catch.swift:66:34: warning: capture of 'self' with non-sendable type 'Catch<Parent, Child>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 23 | /// otherwise be possible by extending it to
 24 | /// `LoopEndpoint`s.
 25 | public struct Catch<Parent: Endpoint, Child: SingleEndpoint> where Child.Output == Parent.Output {
    |               `- note: consider making generic struct 'Catch' conform to the 'Sendable' protocol
 26 |     /// The associated output type.
 27 |     public typealias Output = Child.Output
    :
 64 |             } catch {
 65 |                 iterator = nil
 66 |                 return try await child(error).resolve(with: session)
    |                                  `- warning: capture of 'self' with non-sendable type 'Catch<Parent, Child>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 67 |             }
 68 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Catch.swift:66:61: warning: capture of 'session' with non-sendable type 'R' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 55 |     /// - returns: Some `AsyncStream`.
 56 |     @_spi(Private)
 57 |     public func _resolve<R: EndpointResolver>(with session: R) -> AsyncThrowingStream<Output, any Error> {
    |                          `- note: consider making generic parameter 'R' conform to the 'Sendable' protocol
 58 |         var iterator: AsyncThrowingStream<Output, any Error>.AsyncIterator? = parent
 59 |             ._resolve(with: session)
    :
 64 |             } catch {
 65 |                 iterator = nil
 66 |                 return try await child(error).resolve(with: session)
    |                                                             `- warning: capture of 'session' with non-sendable type 'R' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 67 |             }
 68 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Catch.swift:63:34: warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 61 |         return .init {
 62 |             do {
 63 |                 return try await iterator?.next()
    |                                  `- warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 64 |             } catch {
 65 |                 iterator = nil
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Catch.swift:65:17: warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 63 |                 return try await iterator?.next()
 64 |             } catch {
 65 |                 iterator = nil
    |                 `- warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 66 |                 return try await child(error).resolve(with: session)
 67 |             }
[61/70] Compiling Requests Headers.swift
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Catch.swift:63:34: warning: capture of 'iterator' with non-sendable type 'AsyncThrowingStream<Catch<Parent, Child>.Output, any Error>.AsyncIterator?' (aka 'Optional<AsyncThrowingStream<Parent.Output, any Error>.Iterator>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
 61 |         return .init {
 62 |             do {
 63 |                 return try await iterator?.next()
    |                                  `- warning: capture of 'iterator' with non-sendable type 'AsyncThrowingStream<Catch<Parent, Child>.Output, any Error>.AsyncIterator?' (aka 'Optional<AsyncThrowingStream<Parent.Output, any Error>.Iterator>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
 64 |             } catch {
 65 |                 iterator = nil
_Concurrency.AsyncThrowingStream:3:19: note: struct 'Iterator' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
 2 | extension AsyncThrowingStream : AsyncSequence {
 3 |     public struct Iterator : AsyncIteratorProtocol {
   |                   `- note: struct 'Iterator' does not conform to the 'Sendable' protocol
 4 |         public mutating func next() async throws -> Element?
 5 |         @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Catch.swift:66:34: warning: capture of 'self' with non-sendable type 'Catch<Parent, Child>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 23 | /// otherwise be possible by extending it to
 24 | /// `LoopEndpoint`s.
 25 | public struct Catch<Parent: Endpoint, Child: SingleEndpoint> where Child.Output == Parent.Output {
    |               `- note: consider making generic struct 'Catch' conform to the 'Sendable' protocol
 26 |     /// The associated output type.
 27 |     public typealias Output = Child.Output
    :
 64 |             } catch {
 65 |                 iterator = nil
 66 |                 return try await child(error).resolve(with: session)
    |                                  `- warning: capture of 'self' with non-sendable type 'Catch<Parent, Child>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 67 |             }
 68 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Catch.swift:66:61: warning: capture of 'session' with non-sendable type 'R' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 55 |     /// - returns: Some `AsyncStream`.
 56 |     @_spi(Private)
 57 |     public func _resolve<R: EndpointResolver>(with session: R) -> AsyncThrowingStream<Output, any Error> {
    |                          `- note: consider making generic parameter 'R' conform to the 'Sendable' protocol
 58 |         var iterator: AsyncThrowingStream<Output, any Error>.AsyncIterator? = parent
 59 |             ._resolve(with: session)
    :
 64 |             } catch {
 65 |                 iterator = nil
 66 |                 return try await child(error).resolve(with: session)
    |                                                             `- warning: capture of 'session' with non-sendable type 'R' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 67 |             }
 68 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Catch.swift:63:34: warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 61 |         return .init {
 62 |             do {
 63 |                 return try await iterator?.next()
    |                                  `- warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 64 |             } catch {
 65 |                 iterator = nil
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Catch.swift:65:17: warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 63 |                 return try await iterator?.next()
 64 |             } catch {
 65 |                 iterator = nil
    |                 `- warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 66 |                 return try await child(error).resolve(with: session)
 67 |             }
[62/70] Compiling Requests Method.swift
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Catch.swift:63:34: warning: capture of 'iterator' with non-sendable type 'AsyncThrowingStream<Catch<Parent, Child>.Output, any Error>.AsyncIterator?' (aka 'Optional<AsyncThrowingStream<Parent.Output, any Error>.Iterator>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
 61 |         return .init {
 62 |             do {
 63 |                 return try await iterator?.next()
    |                                  `- warning: capture of 'iterator' with non-sendable type 'AsyncThrowingStream<Catch<Parent, Child>.Output, any Error>.AsyncIterator?' (aka 'Optional<AsyncThrowingStream<Parent.Output, any Error>.Iterator>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
 64 |             } catch {
 65 |                 iterator = nil
_Concurrency.AsyncThrowingStream:3:19: note: struct 'Iterator' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
 2 | extension AsyncThrowingStream : AsyncSequence {
 3 |     public struct Iterator : AsyncIteratorProtocol {
   |                   `- note: struct 'Iterator' does not conform to the 'Sendable' protocol
 4 |         public mutating func next() async throws -> Element?
 5 |         @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Catch.swift:66:34: warning: capture of 'self' with non-sendable type 'Catch<Parent, Child>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 23 | /// otherwise be possible by extending it to
 24 | /// `LoopEndpoint`s.
 25 | public struct Catch<Parent: Endpoint, Child: SingleEndpoint> where Child.Output == Parent.Output {
    |               `- note: consider making generic struct 'Catch' conform to the 'Sendable' protocol
 26 |     /// The associated output type.
 27 |     public typealias Output = Child.Output
    :
 64 |             } catch {
 65 |                 iterator = nil
 66 |                 return try await child(error).resolve(with: session)
    |                                  `- warning: capture of 'self' with non-sendable type 'Catch<Parent, Child>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 67 |             }
 68 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Catch.swift:66:61: warning: capture of 'session' with non-sendable type 'R' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 55 |     /// - returns: Some `AsyncStream`.
 56 |     @_spi(Private)
 57 |     public func _resolve<R: EndpointResolver>(with session: R) -> AsyncThrowingStream<Output, any Error> {
    |                          `- note: consider making generic parameter 'R' conform to the 'Sendable' protocol
 58 |         var iterator: AsyncThrowingStream<Output, any Error>.AsyncIterator? = parent
 59 |             ._resolve(with: session)
    :
 64 |             } catch {
 65 |                 iterator = nil
 66 |                 return try await child(error).resolve(with: session)
    |                                                             `- warning: capture of 'session' with non-sendable type 'R' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 67 |             }
 68 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Catch.swift:63:34: warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 61 |         return .init {
 62 |             do {
 63 |                 return try await iterator?.next()
    |                                  `- warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 64 |             } catch {
 65 |                 iterator = nil
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Catch.swift:65:17: warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 63 |                 return try await iterator?.next()
 64 |             } catch {
 65 |                 iterator = nil
    |                 `- warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 66 |                 return try await child(error).resolve(with: session)
 67 |             }
[63/70] Compiling Requests Query.swift
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Catch.swift:63:34: warning: capture of 'iterator' with non-sendable type 'AsyncThrowingStream<Catch<Parent, Child>.Output, any Error>.AsyncIterator?' (aka 'Optional<AsyncThrowingStream<Parent.Output, any Error>.Iterator>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
 61 |         return .init {
 62 |             do {
 63 |                 return try await iterator?.next()
    |                                  `- warning: capture of 'iterator' with non-sendable type 'AsyncThrowingStream<Catch<Parent, Child>.Output, any Error>.AsyncIterator?' (aka 'Optional<AsyncThrowingStream<Parent.Output, any Error>.Iterator>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
 64 |             } catch {
 65 |                 iterator = nil
_Concurrency.AsyncThrowingStream:3:19: note: struct 'Iterator' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
 2 | extension AsyncThrowingStream : AsyncSequence {
 3 |     public struct Iterator : AsyncIteratorProtocol {
   |                   `- note: struct 'Iterator' does not conform to the 'Sendable' protocol
 4 |         public mutating func next() async throws -> Element?
 5 |         @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Catch.swift:66:34: warning: capture of 'self' with non-sendable type 'Catch<Parent, Child>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 23 | /// otherwise be possible by extending it to
 24 | /// `LoopEndpoint`s.
 25 | public struct Catch<Parent: Endpoint, Child: SingleEndpoint> where Child.Output == Parent.Output {
    |               `- note: consider making generic struct 'Catch' conform to the 'Sendable' protocol
 26 |     /// The associated output type.
 27 |     public typealias Output = Child.Output
    :
 64 |             } catch {
 65 |                 iterator = nil
 66 |                 return try await child(error).resolve(with: session)
    |                                  `- warning: capture of 'self' with non-sendable type 'Catch<Parent, Child>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 67 |             }
 68 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Catch.swift:66:61: warning: capture of 'session' with non-sendable type 'R' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 55 |     /// - returns: Some `AsyncStream`.
 56 |     @_spi(Private)
 57 |     public func _resolve<R: EndpointResolver>(with session: R) -> AsyncThrowingStream<Output, any Error> {
    |                          `- note: consider making generic parameter 'R' conform to the 'Sendable' protocol
 58 |         var iterator: AsyncThrowingStream<Output, any Error>.AsyncIterator? = parent
 59 |             ._resolve(with: session)
    :
 64 |             } catch {
 65 |                 iterator = nil
 66 |                 return try await child(error).resolve(with: session)
    |                                                             `- warning: capture of 'session' with non-sendable type 'R' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 67 |             }
 68 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Catch.swift:63:34: warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 61 |         return .init {
 62 |             do {
 63 |                 return try await iterator?.next()
    |                                  `- warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 64 |             } catch {
 65 |                 iterator = nil
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Catch.swift:65:17: warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 63 |                 return try await iterator?.next()
 64 |             } catch {
 65 |                 iterator = nil
    |                 `- warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 66 |                 return try await child(error).resolve(with: session)
 67 |             }
[64/70] Compiling Requests Component.swift
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Catch.swift:63:34: warning: capture of 'iterator' with non-sendable type 'AsyncThrowingStream<Catch<Parent, Child>.Output, any Error>.AsyncIterator?' (aka 'Optional<AsyncThrowingStream<Parent.Output, any Error>.Iterator>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
 61 |         return .init {
 62 |             do {
 63 |                 return try await iterator?.next()
    |                                  `- warning: capture of 'iterator' with non-sendable type 'AsyncThrowingStream<Catch<Parent, Child>.Output, any Error>.AsyncIterator?' (aka 'Optional<AsyncThrowingStream<Parent.Output, any Error>.Iterator>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
 64 |             } catch {
 65 |                 iterator = nil
_Concurrency.AsyncThrowingStream:3:19: note: struct 'Iterator' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
 2 | extension AsyncThrowingStream : AsyncSequence {
 3 |     public struct Iterator : AsyncIteratorProtocol {
   |                   `- note: struct 'Iterator' does not conform to the 'Sendable' protocol
 4 |         public mutating func next() async throws -> Element?
 5 |         @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Catch.swift:66:34: warning: capture of 'self' with non-sendable type 'Catch<Parent, Child>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 23 | /// otherwise be possible by extending it to
 24 | /// `LoopEndpoint`s.
 25 | public struct Catch<Parent: Endpoint, Child: SingleEndpoint> where Child.Output == Parent.Output {
    |               `- note: consider making generic struct 'Catch' conform to the 'Sendable' protocol
 26 |     /// The associated output type.
 27 |     public typealias Output = Child.Output
    :
 64 |             } catch {
 65 |                 iterator = nil
 66 |                 return try await child(error).resolve(with: session)
    |                                  `- warning: capture of 'self' with non-sendable type 'Catch<Parent, Child>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 67 |             }
 68 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Catch.swift:66:61: warning: capture of 'session' with non-sendable type 'R' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 55 |     /// - returns: Some `AsyncStream`.
 56 |     @_spi(Private)
 57 |     public func _resolve<R: EndpointResolver>(with session: R) -> AsyncThrowingStream<Output, any Error> {
    |                          `- note: consider making generic parameter 'R' conform to the 'Sendable' protocol
 58 |         var iterator: AsyncThrowingStream<Output, any Error>.AsyncIterator? = parent
 59 |             ._resolve(with: session)
    :
 64 |             } catch {
 65 |                 iterator = nil
 66 |                 return try await child(error).resolve(with: session)
    |                                                             `- warning: capture of 'session' with non-sendable type 'R' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 67 |             }
 68 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Catch.swift:63:34: warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 61 |         return .init {
 62 |             do {
 63 |                 return try await iterator?.next()
    |                                  `- warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 64 |             } catch {
 65 |                 iterator = nil
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Catch.swift:65:17: warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 63 |                 return try await iterator?.next()
 64 |             } catch {
 65 |                 iterator = nil
    |                 `- warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 66 |                 return try await child(error).resolve(with: session)
 67 |             }
[65/70] Compiling Requests Catch.swift
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Catch.swift:63:34: warning: capture of 'iterator' with non-sendable type 'AsyncThrowingStream<Catch<Parent, Child>.Output, any Error>.AsyncIterator?' (aka 'Optional<AsyncThrowingStream<Parent.Output, any Error>.Iterator>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
 61 |         return .init {
 62 |             do {
 63 |                 return try await iterator?.next()
    |                                  `- warning: capture of 'iterator' with non-sendable type 'AsyncThrowingStream<Catch<Parent, Child>.Output, any Error>.AsyncIterator?' (aka 'Optional<AsyncThrowingStream<Parent.Output, any Error>.Iterator>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
 64 |             } catch {
 65 |                 iterator = nil
_Concurrency.AsyncThrowingStream:3:19: note: struct 'Iterator' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
 2 | extension AsyncThrowingStream : AsyncSequence {
 3 |     public struct Iterator : AsyncIteratorProtocol {
   |                   `- note: struct 'Iterator' does not conform to the 'Sendable' protocol
 4 |         public mutating func next() async throws -> Element?
 5 |         @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Catch.swift:66:34: warning: capture of 'self' with non-sendable type 'Catch<Parent, Child>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 23 | /// otherwise be possible by extending it to
 24 | /// `LoopEndpoint`s.
 25 | public struct Catch<Parent: Endpoint, Child: SingleEndpoint> where Child.Output == Parent.Output {
    |               `- note: consider making generic struct 'Catch' conform to the 'Sendable' protocol
 26 |     /// The associated output type.
 27 |     public typealias Output = Child.Output
    :
 64 |             } catch {
 65 |                 iterator = nil
 66 |                 return try await child(error).resolve(with: session)
    |                                  `- warning: capture of 'self' with non-sendable type 'Catch<Parent, Child>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 67 |             }
 68 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Catch.swift:66:61: warning: capture of 'session' with non-sendable type 'R' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 55 |     /// - returns: Some `AsyncStream`.
 56 |     @_spi(Private)
 57 |     public func _resolve<R: EndpointResolver>(with session: R) -> AsyncThrowingStream<Output, any Error> {
    |                          `- note: consider making generic parameter 'R' conform to the 'Sendable' protocol
 58 |         var iterator: AsyncThrowingStream<Output, any Error>.AsyncIterator? = parent
 59 |             ._resolve(with: session)
    :
 64 |             } catch {
 65 |                 iterator = nil
 66 |                 return try await child(error).resolve(with: session)
    |                                                             `- warning: capture of 'session' with non-sendable type 'R' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 67 |             }
 68 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Catch.swift:63:34: warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 61 |         return .init {
 62 |             do {
 63 |                 return try await iterator?.next()
    |                                  `- warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 64 |             } catch {
 65 |                 iterator = nil
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Catch.swift:65:17: warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 63 |                 return try await iterator?.next()
 64 |             } catch {
 65 |                 iterator = nil
    |                 `- warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 66 |                 return try await child(error).resolve(with: session)
 67 |             }
[66/70] Compiling Requests Data.swift
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:11:20: warning: class 'CodableHTTPCookie' must restate inherited '@unchecked Sendable' conformance
 9 |
10 | /// A `subclass` of `HTTPCookie` conforming to `Codable`.
11 | public final class CodableHTTPCookie: HTTPCookie, Codable {
   |                    `- warning: class 'CodableHTTPCookie' must restate inherited '@unchecked Sendable' conformance
12 |     /// Init.
13 |     /// - parameter properties: A valid `Dictionary` of `Any`.
[67/70] Compiling Requests Result.swift
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:11:20: warning: class 'CodableHTTPCookie' must restate inherited '@unchecked Sendable' conformance
 9 |
10 | /// A `subclass` of `HTTPCookie` conforming to `Codable`.
11 | public final class CodableHTTPCookie: HTTPCookie, Codable {
   |                    `- warning: class 'CodableHTTPCookie' must restate inherited '@unchecked Sendable' conformance
12 |     /// Init.
13 |     /// - parameter properties: A valid `Dictionary` of `Any`.
[68/70] Compiling Requests String.swift
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:11:20: warning: class 'CodableHTTPCookie' must restate inherited '@unchecked Sendable' conformance
 9 |
10 | /// A `subclass` of `HTTPCookie` conforming to `Codable`.
11 | public final class CodableHTTPCookie: HTTPCookie, Codable {
   |                    `- warning: class 'CodableHTTPCookie' must restate inherited '@unchecked Sendable' conformance
12 |     /// Init.
13 |     /// - parameter properties: A valid `Dictionary` of `Any`.
[69/70] Compiling Requests URLRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:11:20: warning: class 'CodableHTTPCookie' must restate inherited '@unchecked Sendable' conformance
 9 |
10 | /// A `subclass` of `HTTPCookie` conforming to `Codable`.
11 | public final class CodableHTTPCookie: HTTPCookie, Codable {
   |                    `- warning: class 'CodableHTTPCookie' must restate inherited '@unchecked Sendable' conformance
12 |     /// Init.
13 |     /// - parameter properties: A valid `Dictionary` of `Any`.
[70/70] Compiling Requests CodableHTTPCookie.swift
/Users/admin/builder/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:11:20: warning: class 'CodableHTTPCookie' must restate inherited '@unchecked Sendable' conformance
 9 |
10 | /// A `subclass` of `HTTPCookie` conforming to `Codable`.
11 | public final class CodableHTTPCookie: HTTPCookie, Codable {
   |                    `- warning: class 'CodableHTTPCookie' must restate inherited '@unchecked Sendable' conformance
12 |     /// Init.
13 |     /// - parameter properties: A valid `Dictionary` of `Any`.
Build complete! (11.72s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "keychainaccess",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.2.2",
            "upper_bound" : "4.3.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kishikawakatsumi/KeychainAccess"
    }
  ],
  "manifest_display_name" : "ComposableRequest",
  "name" : "ComposableRequest",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "Requests",
      "targets" : [
        "Requests"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Storages",
      "targets" : [
        "Storages"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "EncryptedStorages",
      "targets" : [
        "EncryptedStorages"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Storages",
      "module_type" : "SwiftTarget",
      "name" : "Storages",
      "path" : "Sources/Storages",
      "product_memberships" : [
        "Requests",
        "Storages",
        "EncryptedStorages"
      ],
      "sources" : [
        "Concrete/AnyStorage.swift",
        "Concrete/TransientStorage.swift",
        "Concrete/UserDefaultsStorage.swift",
        "Protocols/Storable.swift",
        "Protocols/Storage.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Requests",
      "module_type" : "SwiftTarget",
      "name" : "Requests",
      "path" : "Sources/Requests",
      "product_memberships" : [
        "Requests"
      ],
      "sources" : [
        "Builder/EndpointBuilder.swift",
        "Builder/Items/Components.swift",
        "Builder/Items/Path.swift",
        "Builder/Items/Response.swift",
        "Builder/Items/TupleItem.swift",
        "Codable/AnyCodable.swift",
        "Codable/AnyDecodable.swift",
        "Components/Advanced/Cellular.swift",
        "Components/Advanced/Constrained.swift",
        "Components/Advanced/Expensive.swift",
        "Components/Advanced/Service.swift",
        "Components/Advanced/Timeout.swift",
        "Components/Basics/Body.swift",
        "Components/Basics/Headers.swift",
        "Components/Basics/Method.swift",
        "Components/Basics/Query.swift",
        "Components/Component.swift",
        "Endpoints/Concrete/Catch.swift",
        "Endpoints/Concrete/Collect.swift",
        "Endpoints/Concrete/Endpoints.swift",
        "Endpoints/Concrete/First.swift",
        "Endpoints/Concrete/FlatMap.swift",
        "Endpoints/Concrete/ForEach.swift",
        "Endpoints/Concrete/Future.swift",
        "Endpoints/Concrete/HandleEvents.swift",
        "Endpoints/Concrete/Last.swift",
        "Endpoints/Concrete/Loop.swift",
        "Endpoints/Concrete/Map.swift",
        "Endpoints/Concrete/Prefix.swift",
        "Endpoints/Concrete/Single.swift",
        "Endpoints/Concrete/Static.swift",
        "Endpoints/Protocols/Endpoint.swift",
        "Endpoints/Protocols/EndpointResolver.swift",
        "Endpoints/Protocols/LoopEndpoint.swift",
        "Endpoints/Protocols/SingleEndpoint.swift",
        "Endpoints/Type ereasure/AnyEndpointResolver.swift",
        "Endpoints/Type ereasure/AnyLoopEndpoint.swift",
        "Endpoints/Type ereasure/AnySingleEndpoint.swift",
        "Extensions/CharacterSet.swift",
        "Extensions/Data.swift",
        "Extensions/Result.swift",
        "Extensions/String.swift",
        "Extensions/URLRequest.swift",
        "Misc/CodableHTTPCookie.swift",
        "Misc/DefaultResponse.swift",
        "Misc/EndpointError.swift",
        "Misc/NextAction.swift",
        "Misc/NextInput.swift",
        "Providers/Concrete/Lock.swift",
        "Providers/Concrete/Offset.swift",
        "Providers/Concrete/Providers.swift",
        "Providers/Protocols/LockProvider.swift",
        "Providers/Protocols/OffsetProvider.swift",
        "Providers/Protocols/Provider.swift"
      ],
      "target_dependencies" : [
        "Storages"
      ],
      "type" : "library"
    },
    {
      "c99name" : "EncryptedStorages",
      "module_type" : "SwiftTarget",
      "name" : "EncryptedStorages",
      "path" : "Sources/EncryptedStorages",
      "product_dependencies" : [
        "KeychainAccess"
      ],
      "product_memberships" : [
        "EncryptedStorages"
      ],
      "sources" : [
        "KeychainStorage.swift"
      ],
      "target_dependencies" : [
        "Storages"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ComposableRequestTests",
      "module_type" : "SwiftTarget",
      "name" : "ComposableRequestTests",
      "path" : "Tests/ComposableRequestTests",
      "sources" : [
        "APITests.swift",
        "Shared/Item.swift",
        "StorageTests.swift",
        "WrappersTests.swift"
      ],
      "target_dependencies" : [
        "Requests",
        "Storages",
        "EncryptedStorages"
      ],
      "type" : "test"
    }
  ],
  "tools_version" : "5.7"
}
Done.