The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Pioneer, reference 1.5.0 (6f3fff), with Swift 6.1 for Linux on 24 Jul 2025 15:49:44 UTC.

Swift 6 data race errors: 6

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

 85 |     public let id: UUID
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncEventStream+Future+GraphQLResult.swift:49:19: 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
47 |         next: @Sendable @escaping (ActorType, GraphQL.GraphQLResult) async -> Void
48 |     ) -> Task<Void, Error> {
49 |         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
50 |             do {
51 |                 for try await elem in self {
   |                                       `- note: closure captures 'self' which is accessible to code in the current task
52 |                     guard !Task.isCancelled else { return }
53 |                     let fut: Future<GraphQL.GraphQLResult> = elem
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:28:34: 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
 26 |     ) -> EventStream<Element> {
 27 |         let stream = AsyncThrowingStream<Element, Error> { continuation in
 28 |             let task = 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
 29 |                 do {
 30 |                     for try await each in self {
    |                                           `- note: closure captures 'self' which is accessible to code in the current task
 31 |                         let element: Element = each
 32 |                         continuation.yield(element)
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:32:38: warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
 30 |                     for try await each in self {
 31 |                         let element: Element = each
 32 |                         continuation.yield(element)
    |                                      |- warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'element' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
 33 |                     }
 34 |                     continuation.finish()
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:61:34: 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
 59 |     ) -> EventStream<Element> {
 60 |         let stream = AsyncThrowingStream<Element, Error> { continuation in
 61 |             let task = 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
 62 |                 do {
 63 |                     for try await each in self {
    :
 65 |                         continuation.yield(element)
 66 |                     }
 67 |                     continuation.yield(endValue())
    |                                        `- note: closure captures 'endValue' which is accessible to code in the current task
 68 |                     continuation.finish()
 69 |                 } catch {
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:65:38: warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
 63 |                     for try await each in self {
 64 |                         let element: Element = each
 65 |                         continuation.yield(element)
    |                                      |- warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'element' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
 66 |                     }
 67 |                     continuation.yield(endValue())
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:95:34: 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
 93 |     ) -> EventStream<Element> {
 94 |         let stream = AsyncThrowingStream<Element, Error> { continuation in
 95 |             let task = 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
 96 |                 do {
 97 |                     continuation.yield(initialValue)
    |                                        `- note: closure captures non-Sendable 'initialValue'
 98 |                     for try await each in self {
    |                                           `- note: closure captures non-Sendable 'self'
 99 |                         let element: Element = each
100 |                         continuation.yield(element)
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:97:34: warning: sending 'initialValue' risks causing data races; this is an error in the Swift 6 language mode
 95 |             let task = Task.init {
 96 |                 do {
 97 |                     continuation.yield(initialValue)
    |                                  |- warning: sending 'initialValue' risks causing data races; this is an error in the Swift 6 language mode
    |                                  `- note: task-isolated 'initialValue' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
 98 |                     for try await each in self {
 99 |                         let element: Element = each
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:100:38: warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
 98 |                     for try await each in self {
 99 |                         let element: Element = each
100 |                         continuation.yield(element)
    |                                      |- warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'element' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
101 |                     }
102 |                     continuation.finish()
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:131:34: 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
129 |     ) -> EventStream<Element> {
130 |         let stream = AsyncThrowingStream<Element, Error> { continuation in
131 |             let task = 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
132 |                 do {
133 |                     continuation.yield(initialValue)
    :
136 |                         continuation.yield(element)
137 |                     }
138 |                     continuation.yield(endValue())
    |                                        `- note: closure captures 'endValue' which is accessible to code in the current task
139 |                     continuation.finish()
140 |                 } catch {
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:133:34: warning: sending 'initialValue' risks causing data races; this is an error in the Swift 6 language mode
131 |             let task = Task.init {
132 |                 do {
133 |                     continuation.yield(initialValue)
    |                                  |- warning: sending 'initialValue' risks causing data races; this is an error in the Swift 6 language mode
    |                                  `- note: task-isolated 'initialValue' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
134 |                     for try await each in self {
135 |                         let element: Element = each
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:136:38: warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
134 |                     for try await each in self {
135 |                         let element: Element = each
136 |                         continuation.yield(element)
    |                                      |- warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'element' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
137 |                     }
138 |                     continuation.yield(endValue())
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:166:34: 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
164 |     ) -> EventStream<Element> {
165 |         let stream = AsyncThrowingStream<Element, Error> { continuation in
166 |             let task = 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
167 |                 do {
168 |                     continuation.yield(initialValue)
    :
171 |                         continuation.yield(element)
172 |                     }
173 |                     continuation.yield(endValue())
    |                                        `- note: closure captures 'endValue' which is accessible to code in the current task
174 |                     continuation.finish()
175 |                 } catch {
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:168:34: warning: sending 'initialValue' risks causing data races; this is an error in the Swift 6 language mode
166 |             let task = Task.init {
167 |                 do {
168 |                     continuation.yield(initialValue)
    |                                  |- warning: sending 'initialValue' risks causing data races; this is an error in the Swift 6 language mode
    |                                  `- note: task-isolated 'initialValue' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
169 |                     for try await each in self {
170 |                         let element: Element = each
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:171:38: warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
169 |                     for try await each in self {
170 |                         let element: Element = each
171 |                         continuation.yield(element)
    |                                      |- warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'element' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
172 |                     }
173 |                     continuation.yield(endValue())
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncStream+Statics.swift:14:17: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
12 |     static func just(_ value: Element) -> Self {
13 |         .init { con in
14 |             con.yield(value)
   |                 |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
   |                 `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
15 |             con.finish()
16 |         }
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncStream+Statics.swift:24:29: 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
22 |     static func of(_ values: Element...) -> Self {
23 |         .init { con in
24 |             let task = Task {
   |                             `- 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
25 |                 values.forEach {
   |                 `- note: closure captures 'values' which is accessible to code in the current task
26 |                     con.yield($0)
27 |                 }
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncStream+Statics.swift:26:25: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
24 |             let task = Task {
25 |                 values.forEach {
26 |                     con.yield($0)
   |                         |- warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
   |                         `- note: task-isolated '$0' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
27 |                 }
28 |                 con.finish()
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncStream+Statics.swift:43:29: 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
41 |     static func iterable(_ values: [Element]) -> Self {
42 |         .init { con in
43 |             let task = Task {
   |                             `- 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
44 |                 values.forEach {
   |                 `- note: closure captures 'values' which is accessible to code in the current task
45 |                     con.yield($0)
46 |                 }
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncStream+Statics.swift:45:25: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
43 |             let task = Task {
44 |                 values.forEach {
45 |                     con.yield($0)
   |                         |- warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
   |                         `- note: task-isolated '$0' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
46 |                 }
47 |                 con.finish()
[2434/2448] Compiling Pioneer Broadcast.swift
/host/spi-builder-workspace/Sources/Pioneer/Streaming/AsyncPubSub.swift:32:44: warning: non-sendable result type 'Downstream<any Sendable>' cannot be sent from actor-isolated context in call to instance method 'downstream()'; this is an error in the Swift 6 language mode
30 |         internal func asyncStream(for key: String) async -> AsyncThrowingStream<Sendable, Error> {
31 |             let emitter = await subscribe(for: key)
32 |             let downstream = await emitter.downstream()
   |                                            `- warning: non-sendable result type 'Downstream<any Sendable>' cannot be sent from actor-isolated context in call to instance method 'downstream()'; this is an error in the Swift 6 language mode
33 |             return downstream.stream
34 |         }
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Broadcast.swift:83:15: note: consider making generic struct 'Downstream' conform to the 'Sendable' protocol
 81 |
 82 | /// An async stream with an id
 83 | public struct Downstream<Element: Sendable>: AsyncSequence {
    |               `- note: consider making generic struct 'Downstream' conform to the 'Sendable' protocol
 84 |     /// The id of the stream
 85 |     public let id: UUID
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncEventStream+Future+GraphQLResult.swift:49:19: 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
47 |         next: @Sendable @escaping (ActorType, GraphQL.GraphQLResult) async -> Void
48 |     ) -> Task<Void, Error> {
49 |         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
50 |             do {
51 |                 for try await elem in self {
   |                                       `- note: closure captures 'self' which is accessible to code in the current task
52 |                     guard !Task.isCancelled else { return }
53 |                     let fut: Future<GraphQL.GraphQLResult> = elem
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:28:34: 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
 26 |     ) -> EventStream<Element> {
 27 |         let stream = AsyncThrowingStream<Element, Error> { continuation in
 28 |             let task = 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
 29 |                 do {
 30 |                     for try await each in self {
    |                                           `- note: closure captures 'self' which is accessible to code in the current task
 31 |                         let element: Element = each
 32 |                         continuation.yield(element)
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:32:38: warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
 30 |                     for try await each in self {
 31 |                         let element: Element = each
 32 |                         continuation.yield(element)
    |                                      |- warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'element' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
 33 |                     }
 34 |                     continuation.finish()
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:61:34: 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
 59 |     ) -> EventStream<Element> {
 60 |         let stream = AsyncThrowingStream<Element, Error> { continuation in
 61 |             let task = 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
 62 |                 do {
 63 |                     for try await each in self {
    :
 65 |                         continuation.yield(element)
 66 |                     }
 67 |                     continuation.yield(endValue())
    |                                        `- note: closure captures 'endValue' which is accessible to code in the current task
 68 |                     continuation.finish()
 69 |                 } catch {
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:65:38: warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
 63 |                     for try await each in self {
 64 |                         let element: Element = each
 65 |                         continuation.yield(element)
    |                                      |- warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'element' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
 66 |                     }
 67 |                     continuation.yield(endValue())
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:95:34: 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
 93 |     ) -> EventStream<Element> {
 94 |         let stream = AsyncThrowingStream<Element, Error> { continuation in
 95 |             let task = 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
 96 |                 do {
 97 |                     continuation.yield(initialValue)
    |                                        `- note: closure captures non-Sendable 'initialValue'
 98 |                     for try await each in self {
    |                                           `- note: closure captures non-Sendable 'self'
 99 |                         let element: Element = each
100 |                         continuation.yield(element)
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:97:34: warning: sending 'initialValue' risks causing data races; this is an error in the Swift 6 language mode
 95 |             let task = Task.init {
 96 |                 do {
 97 |                     continuation.yield(initialValue)
    |                                  |- warning: sending 'initialValue' risks causing data races; this is an error in the Swift 6 language mode
    |                                  `- note: task-isolated 'initialValue' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
 98 |                     for try await each in self {
 99 |                         let element: Element = each
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:100:38: warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
 98 |                     for try await each in self {
 99 |                         let element: Element = each
100 |                         continuation.yield(element)
    |                                      |- warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'element' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
101 |                     }
102 |                     continuation.finish()
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:131:34: 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
129 |     ) -> EventStream<Element> {
130 |         let stream = AsyncThrowingStream<Element, Error> { continuation in
131 |             let task = 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
132 |                 do {
133 |                     continuation.yield(initialValue)
    :
136 |                         continuation.yield(element)
137 |                     }
138 |                     continuation.yield(endValue())
    |                                        `- note: closure captures 'endValue' which is accessible to code in the current task
139 |                     continuation.finish()
140 |                 } catch {
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:133:34: warning: sending 'initialValue' risks causing data races; this is an error in the Swift 6 language mode
131 |             let task = Task.init {
132 |                 do {
133 |                     continuation.yield(initialValue)
    |                                  |- warning: sending 'initialValue' risks causing data races; this is an error in the Swift 6 language mode
    |                                  `- note: task-isolated 'initialValue' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
134 |                     for try await each in self {
135 |                         let element: Element = each
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:136:38: warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
134 |                     for try await each in self {
135 |                         let element: Element = each
136 |                         continuation.yield(element)
    |                                      |- warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'element' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
137 |                     }
138 |                     continuation.yield(endValue())
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:166:34: 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
164 |     ) -> EventStream<Element> {
165 |         let stream = AsyncThrowingStream<Element, Error> { continuation in
166 |             let task = 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
167 |                 do {
168 |                     continuation.yield(initialValue)
    :
171 |                         continuation.yield(element)
172 |                     }
173 |                     continuation.yield(endValue())
    |                                        `- note: closure captures 'endValue' which is accessible to code in the current task
174 |                     continuation.finish()
175 |                 } catch {
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:168:34: warning: sending 'initialValue' risks causing data races; this is an error in the Swift 6 language mode
166 |             let task = Task.init {
167 |                 do {
168 |                     continuation.yield(initialValue)
    |                                  |- warning: sending 'initialValue' risks causing data races; this is an error in the Swift 6 language mode
    |                                  `- note: task-isolated 'initialValue' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
169 |                     for try await each in self {
170 |                         let element: Element = each
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:171:38: warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
169 |                     for try await each in self {
170 |                         let element: Element = each
171 |                         continuation.yield(element)
    |                                      |- warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'element' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
172 |                     }
173 |                     continuation.yield(endValue())
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncStream+Statics.swift:14:17: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
12 |     static func just(_ value: Element) -> Self {
13 |         .init { con in
14 |             con.yield(value)
   |                 |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
   |                 `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
15 |             con.finish()
16 |         }
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncStream+Statics.swift:24:29: 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
22 |     static func of(_ values: Element...) -> Self {
23 |         .init { con in
24 |             let task = Task {
   |                             `- 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
25 |                 values.forEach {
   |                 `- note: closure captures 'values' which is accessible to code in the current task
26 |                     con.yield($0)
27 |                 }
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncStream+Statics.swift:26:25: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
24 |             let task = Task {
25 |                 values.forEach {
26 |                     con.yield($0)
   |                         |- warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
   |                         `- note: task-isolated '$0' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
27 |                 }
28 |                 con.finish()
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncStream+Statics.swift:43:29: 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
41 |     static func iterable(_ values: [Element]) -> Self {
42 |         .init { con in
43 |             let task = Task {
   |                             `- 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
44 |                 values.forEach {
   |                 `- note: closure captures 'values' which is accessible to code in the current task
45 |                     con.yield($0)
46 |                 }
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncStream+Statics.swift:45:25: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
43 |             let task = Task {
44 |                 values.forEach {
45 |                     con.yield($0)
   |                         |- warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
   |                         `- note: task-isolated '$0' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
46 |                 }
47 |                 con.finish()
[2435/2448] Compiling Pioneer AsyncEventStream+Future+GraphQLResult.swift
/host/spi-builder-workspace/Sources/Pioneer/Streaming/AsyncPubSub.swift:32:44: warning: non-sendable result type 'Downstream<any Sendable>' cannot be sent from actor-isolated context in call to instance method 'downstream()'; this is an error in the Swift 6 language mode
30 |         internal func asyncStream(for key: String) async -> AsyncThrowingStream<Sendable, Error> {
31 |             let emitter = await subscribe(for: key)
32 |             let downstream = await emitter.downstream()
   |                                            `- warning: non-sendable result type 'Downstream<any Sendable>' cannot be sent from actor-isolated context in call to instance method 'downstream()'; this is an error in the Swift 6 language mode
33 |             return downstream.stream
34 |         }
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Broadcast.swift:83:15: note: consider making generic struct 'Downstream' conform to the 'Sendable' protocol
 81 |
 82 | /// An async stream with an id
 83 | public struct Downstream<Element: Sendable>: AsyncSequence {
    |               `- note: consider making generic struct 'Downstream' conform to the 'Sendable' protocol
 84 |     /// The id of the stream
 85 |     public let id: UUID
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncEventStream+Future+GraphQLResult.swift:49:19: 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
47 |         next: @Sendable @escaping (ActorType, GraphQL.GraphQLResult) async -> Void
48 |     ) -> Task<Void, Error> {
49 |         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
50 |             do {
51 |                 for try await elem in self {
   |                                       `- note: closure captures 'self' which is accessible to code in the current task
52 |                     guard !Task.isCancelled else { return }
53 |                     let fut: Future<GraphQL.GraphQLResult> = elem
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:28:34: 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
 26 |     ) -> EventStream<Element> {
 27 |         let stream = AsyncThrowingStream<Element, Error> { continuation in
 28 |             let task = 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
 29 |                 do {
 30 |                     for try await each in self {
    |                                           `- note: closure captures 'self' which is accessible to code in the current task
 31 |                         let element: Element = each
 32 |                         continuation.yield(element)
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:32:38: warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
 30 |                     for try await each in self {
 31 |                         let element: Element = each
 32 |                         continuation.yield(element)
    |                                      |- warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'element' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
 33 |                     }
 34 |                     continuation.finish()
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:61:34: 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
 59 |     ) -> EventStream<Element> {
 60 |         let stream = AsyncThrowingStream<Element, Error> { continuation in
 61 |             let task = 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
 62 |                 do {
 63 |                     for try await each in self {
    :
 65 |                         continuation.yield(element)
 66 |                     }
 67 |                     continuation.yield(endValue())
    |                                        `- note: closure captures 'endValue' which is accessible to code in the current task
 68 |                     continuation.finish()
 69 |                 } catch {
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:65:38: warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
 63 |                     for try await each in self {
 64 |                         let element: Element = each
 65 |                         continuation.yield(element)
    |                                      |- warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'element' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
 66 |                     }
 67 |                     continuation.yield(endValue())
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:95:34: 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
 93 |     ) -> EventStream<Element> {
 94 |         let stream = AsyncThrowingStream<Element, Error> { continuation in
 95 |             let task = 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
 96 |                 do {
 97 |                     continuation.yield(initialValue)
    |                                        `- note: closure captures non-Sendable 'initialValue'
 98 |                     for try await each in self {
    |                                           `- note: closure captures non-Sendable 'self'
 99 |                         let element: Element = each
100 |                         continuation.yield(element)
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:97:34: warning: sending 'initialValue' risks causing data races; this is an error in the Swift 6 language mode
 95 |             let task = Task.init {
 96 |                 do {
 97 |                     continuation.yield(initialValue)
    |                                  |- warning: sending 'initialValue' risks causing data races; this is an error in the Swift 6 language mode
    |                                  `- note: task-isolated 'initialValue' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
 98 |                     for try await each in self {
 99 |                         let element: Element = each
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:100:38: warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
 98 |                     for try await each in self {
 99 |                         let element: Element = each
100 |                         continuation.yield(element)
    |                                      |- warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'element' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
101 |                     }
102 |                     continuation.finish()
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:131:34: 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
129 |     ) -> EventStream<Element> {
130 |         let stream = AsyncThrowingStream<Element, Error> { continuation in
131 |             let task = 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
132 |                 do {
133 |                     continuation.yield(initialValue)
    :
136 |                         continuation.yield(element)
137 |                     }
138 |                     continuation.yield(endValue())
    |                                        `- note: closure captures 'endValue' which is accessible to code in the current task
139 |                     continuation.finish()
140 |                 } catch {
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:133:34: warning: sending 'initialValue' risks causing data races; this is an error in the Swift 6 language mode
131 |             let task = Task.init {
132 |                 do {
133 |                     continuation.yield(initialValue)
    |                                  |- warning: sending 'initialValue' risks causing data races; this is an error in the Swift 6 language mode
    |                                  `- note: task-isolated 'initialValue' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
134 |                     for try await each in self {
135 |                         let element: Element = each
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:136:38: warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
134 |                     for try await each in self {
135 |                         let element: Element = each
136 |                         continuation.yield(element)
    |                                      |- warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'element' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
137 |                     }
138 |                     continuation.yield(endValue())
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:166:34: 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
164 |     ) -> EventStream<Element> {
165 |         let stream = AsyncThrowingStream<Element, Error> { continuation in
166 |             let task = 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
167 |                 do {
168 |                     continuation.yield(initialValue)
    :
171 |                         continuation.yield(element)
172 |                     }
173 |                     continuation.yield(endValue())
    |                                        `- note: closure captures 'endValue' which is accessible to code in the current task
174 |                     continuation.finish()
175 |                 } catch {
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:168:34: warning: sending 'initialValue' risks causing data races; this is an error in the Swift 6 language mode
166 |             let task = Task.init {
167 |                 do {
168 |                     continuation.yield(initialValue)
    |                                  |- warning: sending 'initialValue' risks causing data races; this is an error in the Swift 6 language mode
    |                                  `- note: task-isolated 'initialValue' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
169 |                     for try await each in self {
170 |                         let element: Element = each
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:171:38: warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
169 |                     for try await each in self {
170 |                         let element: Element = each
171 |                         continuation.yield(element)
    |                                      |- warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'element' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
172 |                     }
173 |                     continuation.yield(endValue())
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncStream+Statics.swift:14:17: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
12 |     static func just(_ value: Element) -> Self {
13 |         .init { con in
14 |             con.yield(value)
   |                 |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
   |                 `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
15 |             con.finish()
16 |         }
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncStream+Statics.swift:24:29: 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
22 |     static func of(_ values: Element...) -> Self {
23 |         .init { con in
24 |             let task = Task {
   |                             `- 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
25 |                 values.forEach {
   |                 `- note: closure captures 'values' which is accessible to code in the current task
26 |                     con.yield($0)
27 |                 }
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncStream+Statics.swift:26:25: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
24 |             let task = Task {
25 |                 values.forEach {
26 |                     con.yield($0)
   |                         |- warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
   |                         `- note: task-isolated '$0' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
27 |                 }
28 |                 con.finish()
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncStream+Statics.swift:43:29: 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
41 |     static func iterable(_ values: [Element]) -> Self {
42 |         .init { con in
43 |             let task = Task {
   |                             `- 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
44 |                 values.forEach {
   |                 `- note: closure captures 'values' which is accessible to code in the current task
45 |                     con.yield($0)
46 |                 }
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncStream+Statics.swift:45:25: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
43 |             let task = Task {
44 |                 values.forEach {
45 |                     con.yield($0)
   |                         |- warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
   |                         `- note: task-isolated '$0' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
46 |                 }
47 |                 con.finish()
[2436/2448] Compiling Pioneer AsyncSequence+EventStream.swift
/host/spi-builder-workspace/Sources/Pioneer/Streaming/AsyncPubSub.swift:32:44: warning: non-sendable result type 'Downstream<any Sendable>' cannot be sent from actor-isolated context in call to instance method 'downstream()'; this is an error in the Swift 6 language mode
30 |         internal func asyncStream(for key: String) async -> AsyncThrowingStream<Sendable, Error> {
31 |             let emitter = await subscribe(for: key)
32 |             let downstream = await emitter.downstream()
   |                                            `- warning: non-sendable result type 'Downstream<any Sendable>' cannot be sent from actor-isolated context in call to instance method 'downstream()'; this is an error in the Swift 6 language mode
33 |             return downstream.stream
34 |         }
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Broadcast.swift:83:15: note: consider making generic struct 'Downstream' conform to the 'Sendable' protocol
 81 |
 82 | /// An async stream with an id
 83 | public struct Downstream<Element: Sendable>: AsyncSequence {
    |               `- note: consider making generic struct 'Downstream' conform to the 'Sendable' protocol
 84 |     /// The id of the stream
 85 |     public let id: UUID
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncEventStream+Future+GraphQLResult.swift:49:19: 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
47 |         next: @Sendable @escaping (ActorType, GraphQL.GraphQLResult) async -> Void
48 |     ) -> Task<Void, Error> {
49 |         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
50 |             do {
51 |                 for try await elem in self {
   |                                       `- note: closure captures 'self' which is accessible to code in the current task
52 |                     guard !Task.isCancelled else { return }
53 |                     let fut: Future<GraphQL.GraphQLResult> = elem
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:28:34: 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
 26 |     ) -> EventStream<Element> {
 27 |         let stream = AsyncThrowingStream<Element, Error> { continuation in
 28 |             let task = 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
 29 |                 do {
 30 |                     for try await each in self {
    |                                           `- note: closure captures 'self' which is accessible to code in the current task
 31 |                         let element: Element = each
 32 |                         continuation.yield(element)
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:32:38: warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
 30 |                     for try await each in self {
 31 |                         let element: Element = each
 32 |                         continuation.yield(element)
    |                                      |- warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'element' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
 33 |                     }
 34 |                     continuation.finish()
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:61:34: 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
 59 |     ) -> EventStream<Element> {
 60 |         let stream = AsyncThrowingStream<Element, Error> { continuation in
 61 |             let task = 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
 62 |                 do {
 63 |                     for try await each in self {
    :
 65 |                         continuation.yield(element)
 66 |                     }
 67 |                     continuation.yield(endValue())
    |                                        `- note: closure captures 'endValue' which is accessible to code in the current task
 68 |                     continuation.finish()
 69 |                 } catch {
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:65:38: warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
 63 |                     for try await each in self {
 64 |                         let element: Element = each
 65 |                         continuation.yield(element)
    |                                      |- warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'element' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
 66 |                     }
 67 |                     continuation.yield(endValue())
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:95:34: 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
 93 |     ) -> EventStream<Element> {
 94 |         let stream = AsyncThrowingStream<Element, Error> { continuation in
 95 |             let task = 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
 96 |                 do {
 97 |                     continuation.yield(initialValue)
    |                                        `- note: closure captures non-Sendable 'initialValue'
 98 |                     for try await each in self {
    |                                           `- note: closure captures non-Sendable 'self'
 99 |                         let element: Element = each
100 |                         continuation.yield(element)
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:97:34: warning: sending 'initialValue' risks causing data races; this is an error in the Swift 6 language mode
 95 |             let task = Task.init {
 96 |                 do {
 97 |                     continuation.yield(initialValue)
    |                                  |- warning: sending 'initialValue' risks causing data races; this is an error in the Swift 6 language mode
    |                                  `- note: task-isolated 'initialValue' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
 98 |                     for try await each in self {
 99 |                         let element: Element = each
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:100:38: warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
 98 |                     for try await each in self {
 99 |                         let element: Element = each
100 |                         continuation.yield(element)
    |                                      |- warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'element' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
101 |                     }
102 |                     continuation.finish()
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:131:34: 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
129 |     ) -> EventStream<Element> {
130 |         let stream = AsyncThrowingStream<Element, Error> { continuation in
131 |             let task = 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
132 |                 do {
133 |                     continuation.yield(initialValue)
    :
136 |                         continuation.yield(element)
137 |                     }
138 |                     continuation.yield(endValue())
    |                                        `- note: closure captures 'endValue' which is accessible to code in the current task
139 |                     continuation.finish()
140 |                 } catch {
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:133:34: warning: sending 'initialValue' risks causing data races; this is an error in the Swift 6 language mode
131 |             let task = Task.init {
132 |                 do {
133 |                     continuation.yield(initialValue)
    |                                  |- warning: sending 'initialValue' risks causing data races; this is an error in the Swift 6 language mode
    |                                  `- note: task-isolated 'initialValue' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
134 |                     for try await each in self {
135 |                         let element: Element = each
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:136:38: warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
134 |                     for try await each in self {
135 |                         let element: Element = each
136 |                         continuation.yield(element)
    |                                      |- warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'element' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
137 |                     }
138 |                     continuation.yield(endValue())
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:166:34: 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
164 |     ) -> EventStream<Element> {
165 |         let stream = AsyncThrowingStream<Element, Error> { continuation in
166 |             let task = 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
167 |                 do {
168 |                     continuation.yield(initialValue)
    :
171 |                         continuation.yield(element)
172 |                     }
173 |                     continuation.yield(endValue())
    |                                        `- note: closure captures 'endValue' which is accessible to code in the current task
174 |                     continuation.finish()
175 |                 } catch {
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:168:34: warning: sending 'initialValue' risks causing data races; this is an error in the Swift 6 language mode
166 |             let task = Task.init {
167 |                 do {
168 |                     continuation.yield(initialValue)
    |                                  |- warning: sending 'initialValue' risks causing data races; this is an error in the Swift 6 language mode
    |                                  `- note: task-isolated 'initialValue' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
169 |                     for try await each in self {
170 |                         let element: Element = each
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:171:38: warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
169 |                     for try await each in self {
170 |                         let element: Element = each
171 |                         continuation.yield(element)
    |                                      |- warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'element' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
172 |                     }
173 |                     continuation.yield(endValue())
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncStream+Statics.swift:14:17: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
12 |     static func just(_ value: Element) -> Self {
13 |         .init { con in
14 |             con.yield(value)
   |                 |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
   |                 `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
15 |             con.finish()
16 |         }
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncStream+Statics.swift:24:29: 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
22 |     static func of(_ values: Element...) -> Self {
23 |         .init { con in
24 |             let task = Task {
   |                             `- 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
25 |                 values.forEach {
   |                 `- note: closure captures 'values' which is accessible to code in the current task
26 |                     con.yield($0)
27 |                 }
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncStream+Statics.swift:26:25: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
24 |             let task = Task {
25 |                 values.forEach {
26 |                     con.yield($0)
   |                         |- warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
   |                         `- note: task-isolated '$0' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
27 |                 }
28 |                 con.finish()
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncStream+Statics.swift:43:29: 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
41 |     static func iterable(_ values: [Element]) -> Self {
42 |         .init { con in
43 |             let task = Task {
   |                             `- 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
44 |                 values.forEach {
   |                 `- note: closure captures 'values' which is accessible to code in the current task
45 |                     con.yield($0)
46 |                 }
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncStream+Statics.swift:45:25: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
43 |             let task = Task {
44 |                 values.forEach {
45 |                     con.yield($0)
   |                         |- warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
   |                         `- note: task-isolated '$0' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
46 |                 }
47 |                 con.finish()
[2437/2448] Compiling Pioneer AsyncStream+Statics.swift
/host/spi-builder-workspace/Sources/Pioneer/Streaming/AsyncPubSub.swift:32:44: warning: non-sendable result type 'Downstream<any Sendable>' cannot be sent from actor-isolated context in call to instance method 'downstream()'; this is an error in the Swift 6 language mode
30 |         internal func asyncStream(for key: String) async -> AsyncThrowingStream<Sendable, Error> {
31 |             let emitter = await subscribe(for: key)
32 |             let downstream = await emitter.downstream()
   |                                            `- warning: non-sendable result type 'Downstream<any Sendable>' cannot be sent from actor-isolated context in call to instance method 'downstream()'; this is an error in the Swift 6 language mode
33 |             return downstream.stream
34 |         }
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Broadcast.swift:83:15: note: consider making generic struct 'Downstream' conform to the 'Sendable' protocol
 81 |
 82 | /// An async stream with an id
 83 | public struct Downstream<Element: Sendable>: AsyncSequence {
    |               `- note: consider making generic struct 'Downstream' conform to the 'Sendable' protocol
 84 |     /// The id of the stream
 85 |     public let id: UUID
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncEventStream+Future+GraphQLResult.swift:49:19: 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
47 |         next: @Sendable @escaping (ActorType, GraphQL.GraphQLResult) async -> Void
48 |     ) -> Task<Void, Error> {
49 |         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
50 |             do {
51 |                 for try await elem in self {
   |                                       `- note: closure captures 'self' which is accessible to code in the current task
52 |                     guard !Task.isCancelled else { return }
53 |                     let fut: Future<GraphQL.GraphQLResult> = elem
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:28:34: 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
 26 |     ) -> EventStream<Element> {
 27 |         let stream = AsyncThrowingStream<Element, Error> { continuation in
 28 |             let task = 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
 29 |                 do {
 30 |                     for try await each in self {
    |                                           `- note: closure captures 'self' which is accessible to code in the current task
 31 |                         let element: Element = each
 32 |                         continuation.yield(element)
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:32:38: warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
 30 |                     for try await each in self {
 31 |                         let element: Element = each
 32 |                         continuation.yield(element)
    |                                      |- warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'element' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
 33 |                     }
 34 |                     continuation.finish()
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:61:34: 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
 59 |     ) -> EventStream<Element> {
 60 |         let stream = AsyncThrowingStream<Element, Error> { continuation in
 61 |             let task = 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
 62 |                 do {
 63 |                     for try await each in self {
    :
 65 |                         continuation.yield(element)
 66 |                     }
 67 |                     continuation.yield(endValue())
    |                                        `- note: closure captures 'endValue' which is accessible to code in the current task
 68 |                     continuation.finish()
 69 |                 } catch {
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:65:38: warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
 63 |                     for try await each in self {
 64 |                         let element: Element = each
 65 |                         continuation.yield(element)
    |                                      |- warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'element' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
 66 |                     }
 67 |                     continuation.yield(endValue())
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:95:34: 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
 93 |     ) -> EventStream<Element> {
 94 |         let stream = AsyncThrowingStream<Element, Error> { continuation in
 95 |             let task = 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
 96 |                 do {
 97 |                     continuation.yield(initialValue)
    |                                        `- note: closure captures non-Sendable 'initialValue'
 98 |                     for try await each in self {
    |                                           `- note: closure captures non-Sendable 'self'
 99 |                         let element: Element = each
100 |                         continuation.yield(element)
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:97:34: warning: sending 'initialValue' risks causing data races; this is an error in the Swift 6 language mode
 95 |             let task = Task.init {
 96 |                 do {
 97 |                     continuation.yield(initialValue)
    |                                  |- warning: sending 'initialValue' risks causing data races; this is an error in the Swift 6 language mode
    |                                  `- note: task-isolated 'initialValue' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
 98 |                     for try await each in self {
 99 |                         let element: Element = each
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:100:38: warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
 98 |                     for try await each in self {
 99 |                         let element: Element = each
100 |                         continuation.yield(element)
    |                                      |- warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'element' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
101 |                     }
102 |                     continuation.finish()
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:131:34: 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
129 |     ) -> EventStream<Element> {
130 |         let stream = AsyncThrowingStream<Element, Error> { continuation in
131 |             let task = 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
132 |                 do {
133 |                     continuation.yield(initialValue)
    :
136 |                         continuation.yield(element)
137 |                     }
138 |                     continuation.yield(endValue())
    |                                        `- note: closure captures 'endValue' which is accessible to code in the current task
139 |                     continuation.finish()
140 |                 } catch {
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:133:34: warning: sending 'initialValue' risks causing data races; this is an error in the Swift 6 language mode
131 |             let task = Task.init {
132 |                 do {
133 |                     continuation.yield(initialValue)
    |                                  |- warning: sending 'initialValue' risks causing data races; this is an error in the Swift 6 language mode
    |                                  `- note: task-isolated 'initialValue' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
134 |                     for try await each in self {
135 |                         let element: Element = each
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:136:38: warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
134 |                     for try await each in self {
135 |                         let element: Element = each
136 |                         continuation.yield(element)
    |                                      |- warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'element' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
137 |                     }
138 |                     continuation.yield(endValue())
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:166:34: 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
164 |     ) -> EventStream<Element> {
165 |         let stream = AsyncThrowingStream<Element, Error> { continuation in
166 |             let task = 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
167 |                 do {
168 |                     continuation.yield(initialValue)
    :
171 |                         continuation.yield(element)
172 |                     }
173 |                     continuation.yield(endValue())
    |                                        `- note: closure captures 'endValue' which is accessible to code in the current task
174 |                     continuation.finish()
175 |                 } catch {
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:168:34: warning: sending 'initialValue' risks causing data races; this is an error in the Swift 6 language mode
166 |             let task = Task.init {
167 |                 do {
168 |                     continuation.yield(initialValue)
    |                                  |- warning: sending 'initialValue' risks causing data races; this is an error in the Swift 6 language mode
    |                                  `- note: task-isolated 'initialValue' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
169 |                     for try await each in self {
170 |                         let element: Element = each
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:171:38: warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
169 |                     for try await each in self {
170 |                         let element: Element = each
171 |                         continuation.yield(element)
    |                                      |- warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'element' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
172 |                     }
173 |                     continuation.yield(endValue())
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncStream+Statics.swift:14:17: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
12 |     static func just(_ value: Element) -> Self {
13 |         .init { con in
14 |             con.yield(value)
   |                 |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
   |                 `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
15 |             con.finish()
16 |         }
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncStream+Statics.swift:24:29: 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
22 |     static func of(_ values: Element...) -> Self {
23 |         .init { con in
24 |             let task = Task {
   |                             `- 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
25 |                 values.forEach {
   |                 `- note: closure captures 'values' which is accessible to code in the current task
26 |                     con.yield($0)
27 |                 }
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncStream+Statics.swift:26:25: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
24 |             let task = Task {
25 |                 values.forEach {
26 |                     con.yield($0)
   |                         |- warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
   |                         `- note: task-isolated '$0' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
27 |                 }
28 |                 con.finish()
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncStream+Statics.swift:43:29: 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
41 |     static func iterable(_ values: [Element]) -> Self {
42 |         .init { con in
43 |             let task = Task {
   |                             `- 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
44 |                 values.forEach {
   |                 `- note: closure captures 'values' which is accessible to code in the current task
45 |                     con.yield($0)
46 |                 }
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncStream+Statics.swift:45:25: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
43 |             let task = Task {
44 |                 values.forEach {
45 |                     con.yield($0)
   |                         |- warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
   |                         `- note: task-isolated '$0' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
46 |                 }
47 |                 con.finish()
[2438/2448] Compiling Pioneer EventStream+Static.swift
/host/spi-builder-workspace/Sources/Pioneer/Streaming/AsyncPubSub.swift:32:44: warning: non-sendable result type 'Downstream<any Sendable>' cannot be sent from actor-isolated context in call to instance method 'downstream()'; this is an error in the Swift 6 language mode
30 |         internal func asyncStream(for key: String) async -> AsyncThrowingStream<Sendable, Error> {
31 |             let emitter = await subscribe(for: key)
32 |             let downstream = await emitter.downstream()
   |                                            `- warning: non-sendable result type 'Downstream<any Sendable>' cannot be sent from actor-isolated context in call to instance method 'downstream()'; this is an error in the Swift 6 language mode
33 |             return downstream.stream
34 |         }
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Broadcast.swift:83:15: note: consider making generic struct 'Downstream' conform to the 'Sendable' protocol
 81 |
 82 | /// An async stream with an id
 83 | public struct Downstream<Element: Sendable>: AsyncSequence {
    |               `- note: consider making generic struct 'Downstream' conform to the 'Sendable' protocol
 84 |     /// The id of the stream
 85 |     public let id: UUID
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncEventStream+Future+GraphQLResult.swift:49:19: 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
47 |         next: @Sendable @escaping (ActorType, GraphQL.GraphQLResult) async -> Void
48 |     ) -> Task<Void, Error> {
49 |         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
50 |             do {
51 |                 for try await elem in self {
   |                                       `- note: closure captures 'self' which is accessible to code in the current task
52 |                     guard !Task.isCancelled else { return }
53 |                     let fut: Future<GraphQL.GraphQLResult> = elem
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:28:34: 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
 26 |     ) -> EventStream<Element> {
 27 |         let stream = AsyncThrowingStream<Element, Error> { continuation in
 28 |             let task = 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
 29 |                 do {
 30 |                     for try await each in self {
    |                                           `- note: closure captures 'self' which is accessible to code in the current task
 31 |                         let element: Element = each
 32 |                         continuation.yield(element)
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:32:38: warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
 30 |                     for try await each in self {
 31 |                         let element: Element = each
 32 |                         continuation.yield(element)
    |                                      |- warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'element' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
 33 |                     }
 34 |                     continuation.finish()
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:61:34: 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
 59 |     ) -> EventStream<Element> {
 60 |         let stream = AsyncThrowingStream<Element, Error> { continuation in
 61 |             let task = 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
 62 |                 do {
 63 |                     for try await each in self {
    :
 65 |                         continuation.yield(element)
 66 |                     }
 67 |                     continuation.yield(endValue())
    |                                        `- note: closure captures 'endValue' which is accessible to code in the current task
 68 |                     continuation.finish()
 69 |                 } catch {
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:65:38: warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
 63 |                     for try await each in self {
 64 |                         let element: Element = each
 65 |                         continuation.yield(element)
    |                                      |- warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'element' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
 66 |                     }
 67 |                     continuation.yield(endValue())
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:95:34: 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
 93 |     ) -> EventStream<Element> {
 94 |         let stream = AsyncThrowingStream<Element, Error> { continuation in
 95 |             let task = 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
 96 |                 do {
 97 |                     continuation.yield(initialValue)
    |                                        `- note: closure captures non-Sendable 'initialValue'
 98 |                     for try await each in self {
    |                                           `- note: closure captures non-Sendable 'self'
 99 |                         let element: Element = each
100 |                         continuation.yield(element)
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:97:34: warning: sending 'initialValue' risks causing data races; this is an error in the Swift 6 language mode
 95 |             let task = Task.init {
 96 |                 do {
 97 |                     continuation.yield(initialValue)
    |                                  |- warning: sending 'initialValue' risks causing data races; this is an error in the Swift 6 language mode
    |                                  `- note: task-isolated 'initialValue' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
 98 |                     for try await each in self {
 99 |                         let element: Element = each
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:100:38: warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
 98 |                     for try await each in self {
 99 |                         let element: Element = each
100 |                         continuation.yield(element)
    |                                      |- warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'element' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
101 |                     }
102 |                     continuation.finish()
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:131:34: 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
129 |     ) -> EventStream<Element> {
130 |         let stream = AsyncThrowingStream<Element, Error> { continuation in
131 |             let task = 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
132 |                 do {
133 |                     continuation.yield(initialValue)
    :
136 |                         continuation.yield(element)
137 |                     }
138 |                     continuation.yield(endValue())
    |                                        `- note: closure captures 'endValue' which is accessible to code in the current task
139 |                     continuation.finish()
140 |                 } catch {
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:133:34: warning: sending 'initialValue' risks causing data races; this is an error in the Swift 6 language mode
131 |             let task = Task.init {
132 |                 do {
133 |                     continuation.yield(initialValue)
    |                                  |- warning: sending 'initialValue' risks causing data races; this is an error in the Swift 6 language mode
    |                                  `- note: task-isolated 'initialValue' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
134 |                     for try await each in self {
135 |                         let element: Element = each
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:136:38: warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
134 |                     for try await each in self {
135 |                         let element: Element = each
136 |                         continuation.yield(element)
    |                                      |- warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'element' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
137 |                     }
138 |                     continuation.yield(endValue())
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:166:34: 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
164 |     ) -> EventStream<Element> {
165 |         let stream = AsyncThrowingStream<Element, Error> { continuation in
166 |             let task = 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
167 |                 do {
168 |                     continuation.yield(initialValue)
    :
171 |                         continuation.yield(element)
172 |                     }
173 |                     continuation.yield(endValue())
    |                                        `- note: closure captures 'endValue' which is accessible to code in the current task
174 |                     continuation.finish()
175 |                 } catch {
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:168:34: warning: sending 'initialValue' risks causing data races; this is an error in the Swift 6 language mode
166 |             let task = Task.init {
167 |                 do {
168 |                     continuation.yield(initialValue)
    |                                  |- warning: sending 'initialValue' risks causing data races; this is an error in the Swift 6 language mode
    |                                  `- note: task-isolated 'initialValue' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
169 |                     for try await each in self {
170 |                         let element: Element = each
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:171:38: warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
169 |                     for try await each in self {
170 |                         let element: Element = each
171 |                         continuation.yield(element)
    |                                      |- warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'element' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
172 |                     }
173 |                     continuation.yield(endValue())
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncStream+Statics.swift:14:17: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
12 |     static func just(_ value: Element) -> Self {
13 |         .init { con in
14 |             con.yield(value)
   |                 |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
   |                 `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
15 |             con.finish()
16 |         }
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncStream+Statics.swift:24:29: 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
22 |     static func of(_ values: Element...) -> Self {
23 |         .init { con in
24 |             let task = Task {
   |                             `- 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
25 |                 values.forEach {
   |                 `- note: closure captures 'values' which is accessible to code in the current task
26 |                     con.yield($0)
27 |                 }
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncStream+Statics.swift:26:25: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
24 |             let task = Task {
25 |                 values.forEach {
26 |                     con.yield($0)
   |                         |- warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
   |                         `- note: task-isolated '$0' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
27 |                 }
28 |                 con.finish()
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncStream+Statics.swift:43:29: 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
41 |     static func iterable(_ values: [Element]) -> Self {
42 |         .init { con in
43 |             let task = Task {
   |                             `- 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
44 |                 values.forEach {
   |                 `- note: closure captures 'values' which is accessible to code in the current task
45 |                     con.yield($0)
46 |                 }
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncStream+Statics.swift:45:25: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
43 |             let task = Task {
44 |                 values.forEach {
45 |                     con.yield($0)
   |                         |- warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
   |                         `- note: task-isolated '$0' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
46 |                 }
47 |                 con.finish()
[2439/2448] Compiling Pioneer PubSub.swift
/host/spi-builder-workspace/Sources/Pioneer/Streaming/AsyncPubSub.swift:32:44: warning: non-sendable result type 'Downstream<any Sendable>' cannot be sent from actor-isolated context in call to instance method 'downstream()'; this is an error in the Swift 6 language mode
30 |         internal func asyncStream(for key: String) async -> AsyncThrowingStream<Sendable, Error> {
31 |             let emitter = await subscribe(for: key)
32 |             let downstream = await emitter.downstream()
   |                                            `- warning: non-sendable result type 'Downstream<any Sendable>' cannot be sent from actor-isolated context in call to instance method 'downstream()'; this is an error in the Swift 6 language mode
33 |             return downstream.stream
34 |         }
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Broadcast.swift:83:15: note: consider making generic struct 'Downstream' conform to the 'Sendable' protocol
 81 |
 82 | /// An async stream with an id
 83 | public struct Downstream<Element: Sendable>: AsyncSequence {
    |               `- note: consider making generic struct 'Downstream' conform to the 'Sendable' protocol
 84 |     /// The id of the stream
 85 |     public let id: UUID
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncEventStream+Future+GraphQLResult.swift:49:19: 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
47 |         next: @Sendable @escaping (ActorType, GraphQL.GraphQLResult) async -> Void
48 |     ) -> Task<Void, Error> {
49 |         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
50 |             do {
51 |                 for try await elem in self {
   |                                       `- note: closure captures 'self' which is accessible to code in the current task
52 |                     guard !Task.isCancelled else { return }
53 |                     let fut: Future<GraphQL.GraphQLResult> = elem
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:28:34: 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
 26 |     ) -> EventStream<Element> {
 27 |         let stream = AsyncThrowingStream<Element, Error> { continuation in
 28 |             let task = 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
 29 |                 do {
 30 |                     for try await each in self {
    |                                           `- note: closure captures 'self' which is accessible to code in the current task
 31 |                         let element: Element = each
 32 |                         continuation.yield(element)
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:32:38: warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
 30 |                     for try await each in self {
 31 |                         let element: Element = each
 32 |                         continuation.yield(element)
    |                                      |- warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'element' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
 33 |                     }
 34 |                     continuation.finish()
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:61:34: 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
 59 |     ) -> EventStream<Element> {
 60 |         let stream = AsyncThrowingStream<Element, Error> { continuation in
 61 |             let task = 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
 62 |                 do {
 63 |                     for try await each in self {
    :
 65 |                         continuation.yield(element)
 66 |                     }
 67 |                     continuation.yield(endValue())
    |                                        `- note: closure captures 'endValue' which is accessible to code in the current task
 68 |                     continuation.finish()
 69 |                 } catch {
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:65:38: warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
 63 |                     for try await each in self {
 64 |                         let element: Element = each
 65 |                         continuation.yield(element)
    |                                      |- warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'element' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
 66 |                     }
 67 |                     continuation.yield(endValue())
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:95:34: 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
 93 |     ) -> EventStream<Element> {
 94 |         let stream = AsyncThrowingStream<Element, Error> { continuation in
 95 |             let task = 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
 96 |                 do {
 97 |                     continuation.yield(initialValue)
    |                                        `- note: closure captures non-Sendable 'initialValue'
 98 |                     for try await each in self {
    |                                           `- note: closure captures non-Sendable 'self'
 99 |                         let element: Element = each
100 |                         continuation.yield(element)
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:97:34: warning: sending 'initialValue' risks causing data races; this is an error in the Swift 6 language mode
 95 |             let task = Task.init {
 96 |                 do {
 97 |                     continuation.yield(initialValue)
    |                                  |- warning: sending 'initialValue' risks causing data races; this is an error in the Swift 6 language mode
    |                                  `- note: task-isolated 'initialValue' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
 98 |                     for try await each in self {
 99 |                         let element: Element = each
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:100:38: warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
 98 |                     for try await each in self {
 99 |                         let element: Element = each
100 |                         continuation.yield(element)
    |                                      |- warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'element' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
101 |                     }
102 |                     continuation.finish()
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:131:34: 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
129 |     ) -> EventStream<Element> {
130 |         let stream = AsyncThrowingStream<Element, Error> { continuation in
131 |             let task = 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
132 |                 do {
133 |                     continuation.yield(initialValue)
    :
136 |                         continuation.yield(element)
137 |                     }
138 |                     continuation.yield(endValue())
    |                                        `- note: closure captures 'endValue' which is accessible to code in the current task
139 |                     continuation.finish()
140 |                 } catch {
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:133:34: warning: sending 'initialValue' risks causing data races; this is an error in the Swift 6 language mode
131 |             let task = Task.init {
132 |                 do {
133 |                     continuation.yield(initialValue)
    |                                  |- warning: sending 'initialValue' risks causing data races; this is an error in the Swift 6 language mode
    |                                  `- note: task-isolated 'initialValue' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
134 |                     for try await each in self {
135 |                         let element: Element = each
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:136:38: warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
134 |                     for try await each in self {
135 |                         let element: Element = each
136 |                         continuation.yield(element)
    |                                      |- warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'element' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
137 |                     }
138 |                     continuation.yield(endValue())
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:166:34: 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
164 |     ) -> EventStream<Element> {
165 |         let stream = AsyncThrowingStream<Element, Error> { continuation in
166 |             let task = 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
167 |                 do {
168 |                     continuation.yield(initialValue)
    :
171 |                         continuation.yield(element)
172 |                     }
173 |                     continuation.yield(endValue())
    |                                        `- note: closure captures 'endValue' which is accessible to code in the current task
174 |                     continuation.finish()
175 |                 } catch {
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:168:34: warning: sending 'initialValue' risks causing data races; this is an error in the Swift 6 language mode
166 |             let task = Task.init {
167 |                 do {
168 |                     continuation.yield(initialValue)
    |                                  |- warning: sending 'initialValue' risks causing data races; this is an error in the Swift 6 language mode
    |                                  `- note: task-isolated 'initialValue' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
169 |                     for try await each in self {
170 |                         let element: Element = each
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:171:38: warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
169 |                     for try await each in self {
170 |                         let element: Element = each
171 |                         continuation.yield(element)
    |                                      |- warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'element' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
172 |                     }
173 |                     continuation.yield(endValue())
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncStream+Statics.swift:14:17: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
12 |     static func just(_ value: Element) -> Self {
13 |         .init { con in
14 |             con.yield(value)
   |                 |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
   |                 `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
15 |             con.finish()
16 |         }
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncStream+Statics.swift:24:29: 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
22 |     static func of(_ values: Element...) -> Self {
23 |         .init { con in
24 |             let task = Task {
   |                             `- 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
25 |                 values.forEach {
   |                 `- note: closure captures 'values' which is accessible to code in the current task
26 |                     con.yield($0)
27 |                 }
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncStream+Statics.swift:26:25: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
24 |             let task = Task {
25 |                 values.forEach {
26 |                     con.yield($0)
   |                         |- warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
   |                         `- note: task-isolated '$0' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
27 |                 }
28 |                 con.finish()
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncStream+Statics.swift:43:29: 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
41 |     static func iterable(_ values: [Element]) -> Self {
42 |         .init { con in
43 |             let task = Task {
   |                             `- 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
44 |                 values.forEach {
   |                 `- note: closure captures 'values' which is accessible to code in the current task
45 |                     con.yield($0)
46 |                 }
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncStream+Statics.swift:45:25: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
43 |             let task = Task {
44 |                 values.forEach {
45 |                     con.yield($0)
   |                         |- warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
   |                         `- note: task-isolated '$0' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
46 |                 }
47 |                 con.finish()
[2440/2448] Compiling Pioneer Interval.swift
/host/spi-builder-workspace/Sources/Pioneer/Streaming/AsyncPubSub.swift:32:44: warning: non-sendable result type 'Downstream<any Sendable>' cannot be sent from actor-isolated context in call to instance method 'downstream()'; this is an error in the Swift 6 language mode
30 |         internal func asyncStream(for key: String) async -> AsyncThrowingStream<Sendable, Error> {
31 |             let emitter = await subscribe(for: key)
32 |             let downstream = await emitter.downstream()
   |                                            `- warning: non-sendable result type 'Downstream<any Sendable>' cannot be sent from actor-isolated context in call to instance method 'downstream()'; this is an error in the Swift 6 language mode
33 |             return downstream.stream
34 |         }
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Broadcast.swift:83:15: note: consider making generic struct 'Downstream' conform to the 'Sendable' protocol
 81 |
 82 | /// An async stream with an id
 83 | public struct Downstream<Element: Sendable>: AsyncSequence {
    |               `- note: consider making generic struct 'Downstream' conform to the 'Sendable' protocol
 84 |     /// The id of the stream
 85 |     public let id: UUID
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncEventStream+Future+GraphQLResult.swift:49:19: 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
47 |         next: @Sendable @escaping (ActorType, GraphQL.GraphQLResult) async -> Void
48 |     ) -> Task<Void, Error> {
49 |         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
50 |             do {
51 |                 for try await elem in self {
   |                                       `- note: closure captures 'self' which is accessible to code in the current task
52 |                     guard !Task.isCancelled else { return }
53 |                     let fut: Future<GraphQL.GraphQLResult> = elem
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:28:34: 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
 26 |     ) -> EventStream<Element> {
 27 |         let stream = AsyncThrowingStream<Element, Error> { continuation in
 28 |             let task = 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
 29 |                 do {
 30 |                     for try await each in self {
    |                                           `- note: closure captures 'self' which is accessible to code in the current task
 31 |                         let element: Element = each
 32 |                         continuation.yield(element)
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:32:38: warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
 30 |                     for try await each in self {
 31 |                         let element: Element = each
 32 |                         continuation.yield(element)
    |                                      |- warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'element' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
 33 |                     }
 34 |                     continuation.finish()
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:61:34: 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
 59 |     ) -> EventStream<Element> {
 60 |         let stream = AsyncThrowingStream<Element, Error> { continuation in
 61 |             let task = 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
 62 |                 do {
 63 |                     for try await each in self {
    :
 65 |                         continuation.yield(element)
 66 |                     }
 67 |                     continuation.yield(endValue())
    |                                        `- note: closure captures 'endValue' which is accessible to code in the current task
 68 |                     continuation.finish()
 69 |                 } catch {
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:65:38: warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
 63 |                     for try await each in self {
 64 |                         let element: Element = each
 65 |                         continuation.yield(element)
    |                                      |- warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'element' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
 66 |                     }
 67 |                     continuation.yield(endValue())
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:95:34: 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
 93 |     ) -> EventStream<Element> {
 94 |         let stream = AsyncThrowingStream<Element, Error> { continuation in
 95 |             let task = 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
 96 |                 do {
 97 |                     continuation.yield(initialValue)
    |                                        `- note: closure captures non-Sendable 'initialValue'
 98 |                     for try await each in self {
    |                                           `- note: closure captures non-Sendable 'self'
 99 |                         let element: Element = each
100 |                         continuation.yield(element)
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:97:34: warning: sending 'initialValue' risks causing data races; this is an error in the Swift 6 language mode
 95 |             let task = Task.init {
 96 |                 do {
 97 |                     continuation.yield(initialValue)
    |                                  |- warning: sending 'initialValue' risks causing data races; this is an error in the Swift 6 language mode
    |                                  `- note: task-isolated 'initialValue' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
 98 |                     for try await each in self {
 99 |                         let element: Element = each
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:100:38: warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
 98 |                     for try await each in self {
 99 |                         let element: Element = each
100 |                         continuation.yield(element)
    |                                      |- warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'element' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
101 |                     }
102 |                     continuation.finish()
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:131:34: 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
129 |     ) -> EventStream<Element> {
130 |         let stream = AsyncThrowingStream<Element, Error> { continuation in
131 |             let task = 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
132 |                 do {
133 |                     continuation.yield(initialValue)
    :
136 |                         continuation.yield(element)
137 |                     }
138 |                     continuation.yield(endValue())
    |                                        `- note: closure captures 'endValue' which is accessible to code in the current task
139 |                     continuation.finish()
140 |                 } catch {
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:133:34: warning: sending 'initialValue' risks causing data races; this is an error in the Swift 6 language mode
131 |             let task = Task.init {
132 |                 do {
133 |                     continuation.yield(initialValue)
    |                                  |- warning: sending 'initialValue' risks causing data races; this is an error in the Swift 6 language mode
    |                                  `- note: task-isolated 'initialValue' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
134 |                     for try await each in self {
135 |                         let element: Element = each
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:136:38: warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
134 |                     for try await each in self {
135 |                         let element: Element = each
136 |                         continuation.yield(element)
    |                                      |- warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'element' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
137 |                     }
138 |                     continuation.yield(endValue())
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:166:34: 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
164 |     ) -> EventStream<Element> {
165 |         let stream = AsyncThrowingStream<Element, Error> { continuation in
166 |             let task = 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
167 |                 do {
168 |                     continuation.yield(initialValue)
    :
171 |                         continuation.yield(element)
172 |                     }
173 |                     continuation.yield(endValue())
    |                                        `- note: closure captures 'endValue' which is accessible to code in the current task
174 |                     continuation.finish()
175 |                 } catch {
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:168:34: warning: sending 'initialValue' risks causing data races; this is an error in the Swift 6 language mode
166 |             let task = Task.init {
167 |                 do {
168 |                     continuation.yield(initialValue)
    |                                  |- warning: sending 'initialValue' risks causing data races; this is an error in the Swift 6 language mode
    |                                  `- note: task-isolated 'initialValue' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
169 |                     for try await each in self {
170 |                         let element: Element = each
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncSequence+EventStream.swift:171:38: warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
169 |                     for try await each in self {
170 |                         let element: Element = each
171 |                         continuation.yield(element)
    |                                      |- warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'element' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
172 |                     }
173 |                     continuation.yield(endValue())
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncStream+Statics.swift:14:17: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
12 |     static func just(_ value: Element) -> Self {
13 |         .init { con in
14 |             con.yield(value)
   |                 |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
   |                 `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
15 |             con.finish()
16 |         }
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncStream+Statics.swift:24:29: 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
22 |     static func of(_ values: Element...) -> Self {
23 |         .init { con in
24 |             let task = Task {
   |                             `- 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
25 |                 values.forEach {
   |                 `- note: closure captures 'values' which is accessible to code in the current task
26 |                     con.yield($0)
27 |                 }
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncStream+Statics.swift:26:25: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
24 |             let task = Task {
25 |                 values.forEach {
26 |                     con.yield($0)
   |                         |- warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
   |                         `- note: task-isolated '$0' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
27 |                 }
28 |                 con.finish()
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncStream+Statics.swift:43:29: 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
41 |     static func iterable(_ values: [Element]) -> Self {
42 |         .init { con in
43 |             let task = Task {
   |                             `- 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
44 |                 values.forEach {
   |                 `- note: closure captures 'values' which is accessible to code in the current task
45 |                     con.yield($0)
46 |                 }
/host/spi-builder-workspace/Sources/Pioneer/Streaming/Extension/AsyncStream+Statics.swift:45:25: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
43 |             let task = Task {
44 |                 values.forEach {
45 |                     con.yield($0)
   |                         |- warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
   |                         `- note: task-isolated '$0' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
46 |                 }
47 |                 con.finish()
[2441/2448] Compiling Pioneer GraphQLRequest.swift
/host/spi-builder-workspace/Sources/Pioneer/Http/HTTPGraphQL.swift:74:23: warning: static property 'mediaType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 72 |
 73 |     /// GraphQL over HTTP spec's accept media type
 74 |     public static var mediaType = "application/graphql-response+json"
    |                       |- warning: static property 'mediaType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'mediaType' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'mediaType' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 75 |
 76 |     /// GraphQL over HTTP spec's content type
/host/spi-builder-workspace/Sources/Pioneer/Http/HTTPGraphQL.swift:77:23: warning: static property 'contentType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 75 |
 76 |     /// GraphQL over HTTP spec's content type
 77 |     public static var contentType = "\(mediaType); charset=utf-8, \(mediaType)"
    |                       |- warning: static property 'contentType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'contentType' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'contentType' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 78 | }
 79 |
/host/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:18:29: warning: stored property 'schema' of 'Sendable'-conforming generic struct 'Pioneer' has non-sendable type 'GraphQLSchema'; this is an error in the Swift 6 language mode
 16 | public struct Pioneer<Resolver: Sendable, Context: Sendable>: Sendable {
 17 |     /// Graphiti schema used to execute operations
 18 |     public private(set) var schema: GraphQLSchema
    |                             `- warning: stored property 'schema' of 'Sendable'-conforming generic struct 'Pioneer' has non-sendable type 'GraphQLSchema'; this is an error in the Swift 6 language mode
 19 |     /// Resolver used by the GraphQL schema
 20 |     public private(set) var resolver: Resolver
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Type/Schema.swift:30:20: note: class 'GraphQLSchema' does not conform to the 'Sendable' protocol
 28 |  *
 29 |  */
 30 | public final class GraphQLSchema {
    |                    `- note: class 'GraphQLSchema' does not conform to the 'Sendable' protocol
 31 |     let description: String?
 32 |     let extensions: [GraphQLSchemaExtensions]
/host/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
  7 |
  8 | import Foundation
  9 | import struct GraphQL.GraphQLError
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
 10 | import struct GraphQL.GraphQLResult
 11 | import class GraphQL.GraphQLSchema
/host/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:72:23: warning: sending 'schema' risks causing data races; this is an error in the Swift 6 language mode
 70 |         self.keepAlive = keepAlive
 71 |         self.timeout = timeout
 72 |         self.probe = .init(
    |                       |- warning: sending 'schema' risks causing data races; this is an error in the Swift 6 language mode
    |                       `- note: sending task-isolated 'schema' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
 73 |             schema: schema,
 74 |             resolver: resolver,
/host/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:274:21: warning: sending 'client' risks causing data races; this is an error in the Swift 6 language mode
272 |     ) async -> WebSocketClient {
273 |         let client = WebSocketClient(id: cid, io: io, payload: payload, ev: ev, context: context)
274 |         await probe.connect(with: client)
    |                     |- warning: sending 'client' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: sending task-isolated 'client' to actor-isolated instance method 'connect(with:)' risks causing data races between actor-isolated and task-isolated uses
275 |         websocketProtocol.initialize(io)
276 |         timeout?.cancel()
/host/spi-builder-workspace/Sources/Pioneer/Streaming/AsyncEventStream.swift:28:29: 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
26 |         /// Performance and efficiency has been tested to mostly not affected but do keep in mind to try to find a better solution.
27 |         let stream = AsyncThrowingStream(To.self) { continuation in
28 |             let task = Task {
   |                             `- 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
29 |                 do {
30 |                     for try await each in self.sequence {
31 |                         let res = try closure(each)
   |                                       `- note: closure captures 'closure' which is accessible to code in the current task
32 |                         continuation.yield(res)
33 |                     }
/host/spi-builder-workspace/Sources/Pioneer/Streaming/AsyncEventStream.swift:32:38: warning: sending 'res' risks causing data races; this is an error in the Swift 6 language mode
30 |                     for try await each in self.sequence {
31 |                         let res = try closure(each)
32 |                         continuation.yield(res)
   |                                      |- warning: sending 'res' risks causing data races; this is an error in the Swift 6 language mode
   |                                      `- note: task-isolated 'res' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
33 |                     }
34 |                     continuation.finish()
[2442/2448] Compiling Pioneer GraphQLViolation.swift
/host/spi-builder-workspace/Sources/Pioneer/Http/HTTPGraphQL.swift:74:23: warning: static property 'mediaType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 72 |
 73 |     /// GraphQL over HTTP spec's accept media type
 74 |     public static var mediaType = "application/graphql-response+json"
    |                       |- warning: static property 'mediaType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'mediaType' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'mediaType' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 75 |
 76 |     /// GraphQL over HTTP spec's content type
/host/spi-builder-workspace/Sources/Pioneer/Http/HTTPGraphQL.swift:77:23: warning: static property 'contentType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 75 |
 76 |     /// GraphQL over HTTP spec's content type
 77 |     public static var contentType = "\(mediaType); charset=utf-8, \(mediaType)"
    |                       |- warning: static property 'contentType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'contentType' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'contentType' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 78 | }
 79 |
/host/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:18:29: warning: stored property 'schema' of 'Sendable'-conforming generic struct 'Pioneer' has non-sendable type 'GraphQLSchema'; this is an error in the Swift 6 language mode
 16 | public struct Pioneer<Resolver: Sendable, Context: Sendable>: Sendable {
 17 |     /// Graphiti schema used to execute operations
 18 |     public private(set) var schema: GraphQLSchema
    |                             `- warning: stored property 'schema' of 'Sendable'-conforming generic struct 'Pioneer' has non-sendable type 'GraphQLSchema'; this is an error in the Swift 6 language mode
 19 |     /// Resolver used by the GraphQL schema
 20 |     public private(set) var resolver: Resolver
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Type/Schema.swift:30:20: note: class 'GraphQLSchema' does not conform to the 'Sendable' protocol
 28 |  *
 29 |  */
 30 | public final class GraphQLSchema {
    |                    `- note: class 'GraphQLSchema' does not conform to the 'Sendable' protocol
 31 |     let description: String?
 32 |     let extensions: [GraphQLSchemaExtensions]
/host/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
  7 |
  8 | import Foundation
  9 | import struct GraphQL.GraphQLError
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
 10 | import struct GraphQL.GraphQLResult
 11 | import class GraphQL.GraphQLSchema
/host/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:72:23: warning: sending 'schema' risks causing data races; this is an error in the Swift 6 language mode
 70 |         self.keepAlive = keepAlive
 71 |         self.timeout = timeout
 72 |         self.probe = .init(
    |                       |- warning: sending 'schema' risks causing data races; this is an error in the Swift 6 language mode
    |                       `- note: sending task-isolated 'schema' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
 73 |             schema: schema,
 74 |             resolver: resolver,
/host/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:274:21: warning: sending 'client' risks causing data races; this is an error in the Swift 6 language mode
272 |     ) async -> WebSocketClient {
273 |         let client = WebSocketClient(id: cid, io: io, payload: payload, ev: ev, context: context)
274 |         await probe.connect(with: client)
    |                     |- warning: sending 'client' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: sending task-isolated 'client' to actor-isolated instance method 'connect(with:)' risks causing data races between actor-isolated and task-isolated uses
275 |         websocketProtocol.initialize(io)
276 |         timeout?.cancel()
/host/spi-builder-workspace/Sources/Pioneer/Streaming/AsyncEventStream.swift:28:29: 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
26 |         /// Performance and efficiency has been tested to mostly not affected but do keep in mind to try to find a better solution.
27 |         let stream = AsyncThrowingStream(To.self) { continuation in
28 |             let task = Task {
   |                             `- 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
29 |                 do {
30 |                     for try await each in self.sequence {
31 |                         let res = try closure(each)
   |                                       `- note: closure captures 'closure' which is accessible to code in the current task
32 |                         continuation.yield(res)
33 |                     }
/host/spi-builder-workspace/Sources/Pioneer/Streaming/AsyncEventStream.swift:32:38: warning: sending 'res' risks causing data races; this is an error in the Swift 6 language mode
30 |                     for try await each in self.sequence {
31 |                         let res = try closure(each)
32 |                         continuation.yield(res)
   |                                      |- warning: sending 'res' risks causing data races; this is an error in the Swift 6 language mode
   |                                      `- note: task-isolated 'res' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
33 |                     }
34 |                     continuation.finish()
[2443/2448] Compiling Pioneer CSRFProtections.swift
/host/spi-builder-workspace/Sources/Pioneer/Http/HTTPGraphQL.swift:74:23: warning: static property 'mediaType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 72 |
 73 |     /// GraphQL over HTTP spec's accept media type
 74 |     public static var mediaType = "application/graphql-response+json"
    |                       |- warning: static property 'mediaType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'mediaType' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'mediaType' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 75 |
 76 |     /// GraphQL over HTTP spec's content type
/host/spi-builder-workspace/Sources/Pioneer/Http/HTTPGraphQL.swift:77:23: warning: static property 'contentType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 75 |
 76 |     /// GraphQL over HTTP spec's content type
 77 |     public static var contentType = "\(mediaType); charset=utf-8, \(mediaType)"
    |                       |- warning: static property 'contentType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'contentType' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'contentType' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 78 | }
 79 |
/host/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:18:29: warning: stored property 'schema' of 'Sendable'-conforming generic struct 'Pioneer' has non-sendable type 'GraphQLSchema'; this is an error in the Swift 6 language mode
 16 | public struct Pioneer<Resolver: Sendable, Context: Sendable>: Sendable {
 17 |     /// Graphiti schema used to execute operations
 18 |     public private(set) var schema: GraphQLSchema
    |                             `- warning: stored property 'schema' of 'Sendable'-conforming generic struct 'Pioneer' has non-sendable type 'GraphQLSchema'; this is an error in the Swift 6 language mode
 19 |     /// Resolver used by the GraphQL schema
 20 |     public private(set) var resolver: Resolver
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Type/Schema.swift:30:20: note: class 'GraphQLSchema' does not conform to the 'Sendable' protocol
 28 |  *
 29 |  */
 30 | public final class GraphQLSchema {
    |                    `- note: class 'GraphQLSchema' does not conform to the 'Sendable' protocol
 31 |     let description: String?
 32 |     let extensions: [GraphQLSchemaExtensions]
/host/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
  7 |
  8 | import Foundation
  9 | import struct GraphQL.GraphQLError
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
 10 | import struct GraphQL.GraphQLResult
 11 | import class GraphQL.GraphQLSchema
/host/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:72:23: warning: sending 'schema' risks causing data races; this is an error in the Swift 6 language mode
 70 |         self.keepAlive = keepAlive
 71 |         self.timeout = timeout
 72 |         self.probe = .init(
    |                       |- warning: sending 'schema' risks causing data races; this is an error in the Swift 6 language mode
    |                       `- note: sending task-isolated 'schema' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
 73 |             schema: schema,
 74 |             resolver: resolver,
/host/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:274:21: warning: sending 'client' risks causing data races; this is an error in the Swift 6 language mode
272 |     ) async -> WebSocketClient {
273 |         let client = WebSocketClient(id: cid, io: io, payload: payload, ev: ev, context: context)
274 |         await probe.connect(with: client)
    |                     |- warning: sending 'client' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: sending task-isolated 'client' to actor-isolated instance method 'connect(with:)' risks causing data races between actor-isolated and task-isolated uses
275 |         websocketProtocol.initialize(io)
276 |         timeout?.cancel()
/host/spi-builder-workspace/Sources/Pioneer/Streaming/AsyncEventStream.swift:28:29: 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
26 |         /// Performance and efficiency has been tested to mostly not affected but do keep in mind to try to find a better solution.
27 |         let stream = AsyncThrowingStream(To.self) { continuation in
28 |             let task = Task {
   |                             `- 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
29 |                 do {
30 |                     for try await each in self.sequence {
31 |                         let res = try closure(each)
   |                                       `- note: closure captures 'closure' which is accessible to code in the current task
32 |                         continuation.yield(res)
33 |                     }
/host/spi-builder-workspace/Sources/Pioneer/Streaming/AsyncEventStream.swift:32:38: warning: sending 'res' risks causing data races; this is an error in the Swift 6 language mode
30 |                     for try await each in self.sequence {
31 |                         let res = try closure(each)
32 |                         continuation.yield(res)
   |                                      |- warning: sending 'res' risks causing data races; this is an error in the Swift 6 language mode
   |                                      `- note: task-isolated 'res' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
33 |                     }
34 |                     continuation.finish()
[2444/2448] Compiling Pioneer HTTPGraphQL.swift
/host/spi-builder-workspace/Sources/Pioneer/Http/HTTPGraphQL.swift:74:23: warning: static property 'mediaType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 72 |
 73 |     /// GraphQL over HTTP spec's accept media type
 74 |     public static var mediaType = "application/graphql-response+json"
    |                       |- warning: static property 'mediaType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'mediaType' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'mediaType' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 75 |
 76 |     /// GraphQL over HTTP spec's content type
/host/spi-builder-workspace/Sources/Pioneer/Http/HTTPGraphQL.swift:77:23: warning: static property 'contentType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 75 |
 76 |     /// GraphQL over HTTP spec's content type
 77 |     public static var contentType = "\(mediaType); charset=utf-8, \(mediaType)"
    |                       |- warning: static property 'contentType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'contentType' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'contentType' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 78 | }
 79 |
/host/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:18:29: warning: stored property 'schema' of 'Sendable'-conforming generic struct 'Pioneer' has non-sendable type 'GraphQLSchema'; this is an error in the Swift 6 language mode
 16 | public struct Pioneer<Resolver: Sendable, Context: Sendable>: Sendable {
 17 |     /// Graphiti schema used to execute operations
 18 |     public private(set) var schema: GraphQLSchema
    |                             `- warning: stored property 'schema' of 'Sendable'-conforming generic struct 'Pioneer' has non-sendable type 'GraphQLSchema'; this is an error in the Swift 6 language mode
 19 |     /// Resolver used by the GraphQL schema
 20 |     public private(set) var resolver: Resolver
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Type/Schema.swift:30:20: note: class 'GraphQLSchema' does not conform to the 'Sendable' protocol
 28 |  *
 29 |  */
 30 | public final class GraphQLSchema {
    |                    `- note: class 'GraphQLSchema' does not conform to the 'Sendable' protocol
 31 |     let description: String?
 32 |     let extensions: [GraphQLSchemaExtensions]
/host/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
  7 |
  8 | import Foundation
  9 | import struct GraphQL.GraphQLError
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
 10 | import struct GraphQL.GraphQLResult
 11 | import class GraphQL.GraphQLSchema
/host/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:72:23: warning: sending 'schema' risks causing data races; this is an error in the Swift 6 language mode
 70 |         self.keepAlive = keepAlive
 71 |         self.timeout = timeout
 72 |         self.probe = .init(
    |                       |- warning: sending 'schema' risks causing data races; this is an error in the Swift 6 language mode
    |                       `- note: sending task-isolated 'schema' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
 73 |             schema: schema,
 74 |             resolver: resolver,
/host/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:274:21: warning: sending 'client' risks causing data races; this is an error in the Swift 6 language mode
272 |     ) async -> WebSocketClient {
273 |         let client = WebSocketClient(id: cid, io: io, payload: payload, ev: ev, context: context)
274 |         await probe.connect(with: client)
    |                     |- warning: sending 'client' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: sending task-isolated 'client' to actor-isolated instance method 'connect(with:)' risks causing data races between actor-isolated and task-isolated uses
275 |         websocketProtocol.initialize(io)
276 |         timeout?.cancel()
/host/spi-builder-workspace/Sources/Pioneer/Streaming/AsyncEventStream.swift:28:29: 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
26 |         /// Performance and efficiency has been tested to mostly not affected but do keep in mind to try to find a better solution.
27 |         let stream = AsyncThrowingStream(To.self) { continuation in
28 |             let task = Task {
   |                             `- 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
29 |                 do {
30 |                     for try await each in self.sequence {
31 |                         let res = try closure(each)
   |                                       `- note: closure captures 'closure' which is accessible to code in the current task
32 |                         continuation.yield(res)
33 |                     }
/host/spi-builder-workspace/Sources/Pioneer/Streaming/AsyncEventStream.swift:32:38: warning: sending 'res' risks causing data races; this is an error in the Swift 6 language mode
30 |                     for try await each in self.sequence {
31 |                         let res = try closure(each)
32 |                         continuation.yield(res)
   |                                      |- warning: sending 'res' risks causing data races; this is an error in the Swift 6 language mode
   |                                      `- note: task-isolated 'res' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
33 |                     }
34 |                     continuation.finish()
[2445/2448] Compiling Pioneer HttpStrategy.swift
/host/spi-builder-workspace/Sources/Pioneer/Http/HTTPGraphQL.swift:74:23: warning: static property 'mediaType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 72 |
 73 |     /// GraphQL over HTTP spec's accept media type
 74 |     public static var mediaType = "application/graphql-response+json"
    |                       |- warning: static property 'mediaType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'mediaType' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'mediaType' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 75 |
 76 |     /// GraphQL over HTTP spec's content type
/host/spi-builder-workspace/Sources/Pioneer/Http/HTTPGraphQL.swift:77:23: warning: static property 'contentType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 75 |
 76 |     /// GraphQL over HTTP spec's content type
 77 |     public static var contentType = "\(mediaType); charset=utf-8, \(mediaType)"
    |                       |- warning: static property 'contentType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'contentType' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'contentType' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 78 | }
 79 |
/host/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:18:29: warning: stored property 'schema' of 'Sendable'-conforming generic struct 'Pioneer' has non-sendable type 'GraphQLSchema'; this is an error in the Swift 6 language mode
 16 | public struct Pioneer<Resolver: Sendable, Context: Sendable>: Sendable {
 17 |     /// Graphiti schema used to execute operations
 18 |     public private(set) var schema: GraphQLSchema
    |                             `- warning: stored property 'schema' of 'Sendable'-conforming generic struct 'Pioneer' has non-sendable type 'GraphQLSchema'; this is an error in the Swift 6 language mode
 19 |     /// Resolver used by the GraphQL schema
 20 |     public private(set) var resolver: Resolver
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Type/Schema.swift:30:20: note: class 'GraphQLSchema' does not conform to the 'Sendable' protocol
 28 |  *
 29 |  */
 30 | public final class GraphQLSchema {
    |                    `- note: class 'GraphQLSchema' does not conform to the 'Sendable' protocol
 31 |     let description: String?
 32 |     let extensions: [GraphQLSchemaExtensions]
/host/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
  7 |
  8 | import Foundation
  9 | import struct GraphQL.GraphQLError
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
 10 | import struct GraphQL.GraphQLResult
 11 | import class GraphQL.GraphQLSchema
/host/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:72:23: warning: sending 'schema' risks causing data races; this is an error in the Swift 6 language mode
 70 |         self.keepAlive = keepAlive
 71 |         self.timeout = timeout
 72 |         self.probe = .init(
    |                       |- warning: sending 'schema' risks causing data races; this is an error in the Swift 6 language mode
    |                       `- note: sending task-isolated 'schema' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
 73 |             schema: schema,
 74 |             resolver: resolver,
/host/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:274:21: warning: sending 'client' risks causing data races; this is an error in the Swift 6 language mode
272 |     ) async -> WebSocketClient {
273 |         let client = WebSocketClient(id: cid, io: io, payload: payload, ev: ev, context: context)
274 |         await probe.connect(with: client)
    |                     |- warning: sending 'client' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: sending task-isolated 'client' to actor-isolated instance method 'connect(with:)' risks causing data races between actor-isolated and task-isolated uses
275 |         websocketProtocol.initialize(io)
276 |         timeout?.cancel()
/host/spi-builder-workspace/Sources/Pioneer/Streaming/AsyncEventStream.swift:28:29: 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
26 |         /// Performance and efficiency has been tested to mostly not affected but do keep in mind to try to find a better solution.
27 |         let stream = AsyncThrowingStream(To.self) { continuation in
28 |             let task = Task {
   |                             `- 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
29 |                 do {
30 |                     for try await each in self.sequence {
31 |                         let res = try closure(each)
   |                                       `- note: closure captures 'closure' which is accessible to code in the current task
32 |                         continuation.yield(res)
33 |                     }
/host/spi-builder-workspace/Sources/Pioneer/Streaming/AsyncEventStream.swift:32:38: warning: sending 'res' risks causing data races; this is an error in the Swift 6 language mode
30 |                     for try await each in self.sequence {
31 |                         let res = try closure(each)
32 |                         continuation.yield(res)
   |                                      |- warning: sending 'res' risks causing data races; this is an error in the Swift 6 language mode
   |                                      `- note: task-isolated 'res' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
33 |                     }
34 |                     continuation.finish()
[2446/2448] Compiling Pioneer IDE.swift
/host/spi-builder-workspace/Sources/Pioneer/Http/HTTPGraphQL.swift:74:23: warning: static property 'mediaType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 72 |
 73 |     /// GraphQL over HTTP spec's accept media type
 74 |     public static var mediaType = "application/graphql-response+json"
    |                       |- warning: static property 'mediaType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'mediaType' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'mediaType' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 75 |
 76 |     /// GraphQL over HTTP spec's content type
/host/spi-builder-workspace/Sources/Pioneer/Http/HTTPGraphQL.swift:77:23: warning: static property 'contentType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 75 |
 76 |     /// GraphQL over HTTP spec's content type
 77 |     public static var contentType = "\(mediaType); charset=utf-8, \(mediaType)"
    |                       |- warning: static property 'contentType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'contentType' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'contentType' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 78 | }
 79 |
/host/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:18:29: warning: stored property 'schema' of 'Sendable'-conforming generic struct 'Pioneer' has non-sendable type 'GraphQLSchema'; this is an error in the Swift 6 language mode
 16 | public struct Pioneer<Resolver: Sendable, Context: Sendable>: Sendable {
 17 |     /// Graphiti schema used to execute operations
 18 |     public private(set) var schema: GraphQLSchema
    |                             `- warning: stored property 'schema' of 'Sendable'-conforming generic struct 'Pioneer' has non-sendable type 'GraphQLSchema'; this is an error in the Swift 6 language mode
 19 |     /// Resolver used by the GraphQL schema
 20 |     public private(set) var resolver: Resolver
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Type/Schema.swift:30:20: note: class 'GraphQLSchema' does not conform to the 'Sendable' protocol
 28 |  *
 29 |  */
 30 | public final class GraphQLSchema {
    |                    `- note: class 'GraphQLSchema' does not conform to the 'Sendable' protocol
 31 |     let description: String?
 32 |     let extensions: [GraphQLSchemaExtensions]
/host/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
  7 |
  8 | import Foundation
  9 | import struct GraphQL.GraphQLError
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
 10 | import struct GraphQL.GraphQLResult
 11 | import class GraphQL.GraphQLSchema
/host/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:72:23: warning: sending 'schema' risks causing data races; this is an error in the Swift 6 language mode
 70 |         self.keepAlive = keepAlive
 71 |         self.timeout = timeout
 72 |         self.probe = .init(
    |                       |- warning: sending 'schema' risks causing data races; this is an error in the Swift 6 language mode
    |                       `- note: sending task-isolated 'schema' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
 73 |             schema: schema,
 74 |             resolver: resolver,
/host/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:274:21: warning: sending 'client' risks causing data races; this is an error in the Swift 6 language mode
272 |     ) async -> WebSocketClient {
273 |         let client = WebSocketClient(id: cid, io: io, payload: payload, ev: ev, context: context)
274 |         await probe.connect(with: client)
    |                     |- warning: sending 'client' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: sending task-isolated 'client' to actor-isolated instance method 'connect(with:)' risks causing data races between actor-isolated and task-isolated uses
275 |         websocketProtocol.initialize(io)
276 |         timeout?.cancel()
/host/spi-builder-workspace/Sources/Pioneer/Streaming/AsyncEventStream.swift:28:29: 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
26 |         /// Performance and efficiency has been tested to mostly not affected but do keep in mind to try to find a better solution.
27 |         let stream = AsyncThrowingStream(To.self) { continuation in
28 |             let task = Task {
   |                             `- 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
29 |                 do {
30 |                     for try await each in self.sequence {
31 |                         let res = try closure(each)
   |                                       `- note: closure captures 'closure' which is accessible to code in the current task
32 |                         continuation.yield(res)
33 |                     }
/host/spi-builder-workspace/Sources/Pioneer/Streaming/AsyncEventStream.swift:32:38: warning: sending 'res' risks causing data races; this is an error in the Swift 6 language mode
30 |                     for try await each in self.sequence {
31 |                         let res = try closure(each)
32 |                         continuation.yield(res)
   |                                      |- warning: sending 'res' risks causing data races; this is an error in the Swift 6 language mode
   |                                      `- note: task-isolated 'res' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
33 |                     }
34 |                     continuation.finish()
[2447/2448] Compiling Pioneer Pioneer.swift
/host/spi-builder-workspace/Sources/Pioneer/Http/HTTPGraphQL.swift:74:23: warning: static property 'mediaType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 72 |
 73 |     /// GraphQL over HTTP spec's accept media type
 74 |     public static var mediaType = "application/graphql-response+json"
    |                       |- warning: static property 'mediaType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'mediaType' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'mediaType' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 75 |
 76 |     /// GraphQL over HTTP spec's content type
/host/spi-builder-workspace/Sources/Pioneer/Http/HTTPGraphQL.swift:77:23: warning: static property 'contentType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 75 |
 76 |     /// GraphQL over HTTP spec's content type
 77 |     public static var contentType = "\(mediaType); charset=utf-8, \(mediaType)"
    |                       |- warning: static property 'contentType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'contentType' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'contentType' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 78 | }
 79 |
/host/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:18:29: warning: stored property 'schema' of 'Sendable'-conforming generic struct 'Pioneer' has non-sendable type 'GraphQLSchema'; this is an error in the Swift 6 language mode
 16 | public struct Pioneer<Resolver: Sendable, Context: Sendable>: Sendable {
 17 |     /// Graphiti schema used to execute operations
 18 |     public private(set) var schema: GraphQLSchema
    |                             `- warning: stored property 'schema' of 'Sendable'-conforming generic struct 'Pioneer' has non-sendable type 'GraphQLSchema'; this is an error in the Swift 6 language mode
 19 |     /// Resolver used by the GraphQL schema
 20 |     public private(set) var resolver: Resolver
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Type/Schema.swift:30:20: note: class 'GraphQLSchema' does not conform to the 'Sendable' protocol
 28 |  *
 29 |  */
 30 | public final class GraphQLSchema {
    |                    `- note: class 'GraphQLSchema' does not conform to the 'Sendable' protocol
 31 |     let description: String?
 32 |     let extensions: [GraphQLSchemaExtensions]
/host/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
  7 |
  8 | import Foundation
  9 | import struct GraphQL.GraphQLError
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
 10 | import struct GraphQL.GraphQLResult
 11 | import class GraphQL.GraphQLSchema
/host/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:72:23: warning: sending 'schema' risks causing data races; this is an error in the Swift 6 language mode
 70 |         self.keepAlive = keepAlive
 71 |         self.timeout = timeout
 72 |         self.probe = .init(
    |                       |- warning: sending 'schema' risks causing data races; this is an error in the Swift 6 language mode
    |                       `- note: sending task-isolated 'schema' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
 73 |             schema: schema,
 74 |             resolver: resolver,
/host/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:274:21: warning: sending 'client' risks causing data races; this is an error in the Swift 6 language mode
272 |     ) async -> WebSocketClient {
273 |         let client = WebSocketClient(id: cid, io: io, payload: payload, ev: ev, context: context)
274 |         await probe.connect(with: client)
    |                     |- warning: sending 'client' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: sending task-isolated 'client' to actor-isolated instance method 'connect(with:)' risks causing data races between actor-isolated and task-isolated uses
275 |         websocketProtocol.initialize(io)
276 |         timeout?.cancel()
/host/spi-builder-workspace/Sources/Pioneer/Streaming/AsyncEventStream.swift:28:29: 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
26 |         /// Performance and efficiency has been tested to mostly not affected but do keep in mind to try to find a better solution.
27 |         let stream = AsyncThrowingStream(To.self) { continuation in
28 |             let task = Task {
   |                             `- 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
29 |                 do {
30 |                     for try await each in self.sequence {
31 |                         let res = try closure(each)
   |                                       `- note: closure captures 'closure' which is accessible to code in the current task
32 |                         continuation.yield(res)
33 |                     }
/host/spi-builder-workspace/Sources/Pioneer/Streaming/AsyncEventStream.swift:32:38: warning: sending 'res' risks causing data races; this is an error in the Swift 6 language mode
30 |                     for try await each in self.sequence {
31 |                         let res = try closure(each)
32 |                         continuation.yield(res)
   |                                      |- warning: sending 'res' risks causing data races; this is an error in the Swift 6 language mode
   |                                      `- note: task-isolated 'res' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
33 |                     }
34 |                     continuation.finish()
[2448/2448] Compiling Pioneer AsyncEventStream.swift
/host/spi-builder-workspace/Sources/Pioneer/Http/HTTPGraphQL.swift:74:23: warning: static property 'mediaType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 72 |
 73 |     /// GraphQL over HTTP spec's accept media type
 74 |     public static var mediaType = "application/graphql-response+json"
    |                       |- warning: static property 'mediaType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'mediaType' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'mediaType' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 75 |
 76 |     /// GraphQL over HTTP spec's content type
/host/spi-builder-workspace/Sources/Pioneer/Http/HTTPGraphQL.swift:77:23: warning: static property 'contentType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 75 |
 76 |     /// GraphQL over HTTP spec's content type
 77 |     public static var contentType = "\(mediaType); charset=utf-8, \(mediaType)"
    |                       |- warning: static property 'contentType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'contentType' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'contentType' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 78 | }
 79 |
/host/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:18:29: warning: stored property 'schema' of 'Sendable'-conforming generic struct 'Pioneer' has non-sendable type 'GraphQLSchema'; this is an error in the Swift 6 language mode
 16 | public struct Pioneer<Resolver: Sendable, Context: Sendable>: Sendable {
 17 |     /// Graphiti schema used to execute operations
 18 |     public private(set) var schema: GraphQLSchema
    |                             `- warning: stored property 'schema' of 'Sendable'-conforming generic struct 'Pioneer' has non-sendable type 'GraphQLSchema'; this is an error in the Swift 6 language mode
 19 |     /// Resolver used by the GraphQL schema
 20 |     public private(set) var resolver: Resolver
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Type/Schema.swift:30:20: note: class 'GraphQLSchema' does not conform to the 'Sendable' protocol
 28 |  *
 29 |  */
 30 | public final class GraphQLSchema {
    |                    `- note: class 'GraphQLSchema' does not conform to the 'Sendable' protocol
 31 |     let description: String?
 32 |     let extensions: [GraphQLSchemaExtensions]
/host/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
  7 |
  8 | import Foundation
  9 | import struct GraphQL.GraphQLError
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
 10 | import struct GraphQL.GraphQLResult
 11 | import class GraphQL.GraphQLSchema
/host/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:72:23: warning: sending 'schema' risks causing data races; this is an error in the Swift 6 language mode
 70 |         self.keepAlive = keepAlive
 71 |         self.timeout = timeout
 72 |         self.probe = .init(
    |                       |- warning: sending 'schema' risks causing data races; this is an error in the Swift 6 language mode
    |                       `- note: sending task-isolated 'schema' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
 73 |             schema: schema,
 74 |             resolver: resolver,
/host/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:274:21: warning: sending 'client' risks causing data races; this is an error in the Swift 6 language mode
272 |     ) async -> WebSocketClient {
273 |         let client = WebSocketClient(id: cid, io: io, payload: payload, ev: ev, context: context)
274 |         await probe.connect(with: client)
    |                     |- warning: sending 'client' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: sending task-isolated 'client' to actor-isolated instance method 'connect(with:)' risks causing data races between actor-isolated and task-isolated uses
275 |         websocketProtocol.initialize(io)
276 |         timeout?.cancel()
/host/spi-builder-workspace/Sources/Pioneer/Streaming/AsyncEventStream.swift:28:29: 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
26 |         /// Performance and efficiency has been tested to mostly not affected but do keep in mind to try to find a better solution.
27 |         let stream = AsyncThrowingStream(To.self) { continuation in
28 |             let task = Task {
   |                             `- 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
29 |                 do {
30 |                     for try await each in self.sequence {
31 |                         let res = try closure(each)
   |                                       `- note: closure captures 'closure' which is accessible to code in the current task
32 |                         continuation.yield(res)
33 |                     }
/host/spi-builder-workspace/Sources/Pioneer/Streaming/AsyncEventStream.swift:32:38: warning: sending 'res' risks causing data races; this is an error in the Swift 6 language mode
30 |                     for try await each in self.sequence {
31 |                         let res = try closure(each)
32 |                         continuation.yield(res)
   |                                      |- warning: sending 'res' risks causing data races; this is an error in the Swift 6 language mode
   |                                      `- note: task-isolated 'res' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
33 |                     }
34 |                     continuation.finish()
Build complete! (474.94s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "graphql",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.10.3",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/GraphQLSwift/GraphQL.git"
    },
    {
      "identity" : "graphiti",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.15.1",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/GraphQLSwift/Graphiti.git"
    },
    {
      "identity" : "vapor",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.106.3",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/vapor.git"
    }
  ],
  "manifest_display_name" : "Pioneer",
  "name" : "Pioneer",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "Pioneer",
      "targets" : [
        "Pioneer"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PioneerTests",
      "module_type" : "SwiftTarget",
      "name" : "PioneerTests",
      "path" : "Tests/PioneerTests",
      "product_dependencies" : [
        "XCTVapor"
      ],
      "sources" : [
        "ActorTests/DroneTests.swift",
        "ActorTests/ProbeTests.swift",
        "DataStructureTests/AsyncPubSubTests.swift",
        "DataStructureTests/BuiltInTypesTests.swift",
        "DataStructureTests/WebSocketProtocolTests.swift",
        "GraphQLTests/GraphQLHTTPSpecTests.swift",
        "GraphQLTests/GraphQLRequestTests.swift",
        "GraphQLTests/GraphitiAsyncEventStreamTests.swift",
        "GraphQLTests/PioneerStatelessTests.swift",
        "OtherTests/ExtensionsTests.swift",
        "OtherTests/SecurityTest.swift",
        "Utils/TestConsumer.swift",
        "VaporTests/ContextTests.swift",
        "VaporTests/HTTPQueryTests.swift",
        "VaporTests/HTTPStrategyTests.swift",
        "VaporTests/MiddlewareTests.swift"
      ],
      "target_dependencies" : [
        "Pioneer"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Pioneer",
      "module_type" : "SwiftTarget",
      "name" : "Pioneer",
      "path" : "Sources/Pioneer",
      "product_dependencies" : [
        "GraphQL",
        "Graphiti",
        "Vapor"
      ],
      "product_memberships" : [
        "Pioneer"
      ],
      "sources" : [
        "Extensions/Collections/Dictionary+SafeOperation.swift",
        "Extensions/Collections/OrderedDictionary+Dictionary.swift",
        "Extensions/Expression.swift",
        "Extensions/Futures/Actor+Task.swift",
        "Extensions/Futures/Task+Starvation.swift",
        "Extensions/Int/UInt64+Nanoseconds.swift",
        "Extensions/Map/Map+Decoder.swift",
        "Extensions/Pioneer+Graphiti.swift",
        "Extensions/Results/Data+Json.swift",
        "GraphQL/BuiltinTypes.swift",
        "GraphQL/Extensions/Field+AsyncAwait.swift",
        "GraphQL/Extensions/Field+Middleware.swift",
        "GraphQL/Extensions/GraphQL+Execution.swift",
        "GraphQL/Extensions/GraphQLError+Error.swift",
        "GraphQL/GraphQLMessage.swift",
        "GraphQL/GraphQLMiddleware.swift",
        "GraphQL/GraphQLRequest.swift",
        "GraphQL/GraphQLViolation.swift",
        "Http/CSRFProtections.swift",
        "Http/HTTPGraphQL.swift",
        "Http/HttpStrategy.swift",
        "Http/IDE.swift",
        "Pioneer.swift",
        "Streaming/AsyncEventStream.swift",
        "Streaming/AsyncPubSub.swift",
        "Streaming/Broadcast.swift",
        "Streaming/Extension/AsyncEventStream+Future+GraphQLResult.swift",
        "Streaming/Extension/AsyncSequence+EventStream.swift",
        "Streaming/Extension/AsyncStream+Statics.swift",
        "Streaming/Extension/EventStream+Static.swift",
        "Streaming/PubSub.swift",
        "Utils/Interval.swift",
        "Utils/Timeout.swift",
        "Utils/Validation.swift",
        "Vapor/Extensions/CORS/CORSMIddleware+BananaCakePop.swift",
        "Vapor/Extensions/CORS/CORSMiddleware+ApolloSandbox.swift",
        "Vapor/Extensions/EnvironmentVariables/EnvironmentVariables.swift",
        "Vapor/Extensions/Request/GraphQLJSONEncoder+ContentEncoder.swift",
        "Vapor/Extensions/Request/Request+GraphQLRequest.swift",
        "Vapor/Extensions/Request/Request+PathComponent.swift",
        "Vapor/Extensions/Request/Request+WebSocket.swift",
        "Vapor/Extensions/Request/Request+WebsocketContext.swift",
        "Vapor/Extensions/Response/GraphQLResult+Content.swift",
        "Vapor/Extensions/Response/Response+GraphQLError.swift",
        "Vapor/Extensions/WebSocket/WebSocket+WebSocketable.swift",
        "Vapor/Http/Pioneer+Http.swift",
        "Vapor/Http/Pioneer+IDE.swift",
        "Vapor/Pioneer+Standalone.swift",
        "Vapor/Pioneer+Vapor+Void.swift",
        "Vapor/Pioneer+Vapor.swift",
        "Vapor/WebSocket/Pioneer+WebSocket.swift",
        "WebSocket/Common/Intent.swift",
        "WebSocket/Common/Payload.swift",
        "WebSocket/Common/Pioneer+WebSocketable.swift",
        "WebSocket/Common/WebSocketClient.swift",
        "WebSocket/Common/WebSocketable.swift",
        "WebSocket/Probe/Drone/Drone.swift",
        "WebSocket/Probe/Probe.swift",
        "WebSocket/Protocol/GraphQLWs.swift",
        "WebSocket/Protocol/SubProtocol.swift",
        "WebSocket/Protocol/SubscriptionsTransportWs.swift",
        "WebSocket/Protocol/WebsocketProtocol.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:2e2b3aca8600f890617c2faa770b70e33c1dfd303d6f92b308423b89ef6bde64
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.