Build Information
Successful build of Pioneer, reference main (6f3fff
), with Swift 6.1 for Android on 16 Jul 2025 03:19:24 UTC.
Swift 6 data race errors: 6
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
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()
[2394/2435] 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()
[2395/2435] 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()
[2396/2435] 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()
[2397/2435] 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()
[2398/2435] Compiling Pioneer Pioneer+Vapor+Void.swift
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Common/Pioneer+WebSocketable.swift:15:13: warning: capture of 'io' with non-sendable type 'any WebSocketable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
13 | func keepAlive(using io: WebSocketable) -> Task<Void, Error>? {
14 | setInterval(delay: keepAlive) {
15 | io.out(websocketProtocol.keepAliveMessage)
| `- warning: capture of 'io' with non-sendable type 'any WebSocketable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | }
17 | }
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Common/WebSocketable.swift:11:17: note: protocol 'WebSocketable' does not conform to the 'Sendable' protocol
9 |
10 | /// Any WebSocket output that can send messages and be terminated
11 | public protocol WebSocketable {
| `- note: protocol 'WebSocketable' does not conform to the 'Sendable' protocol
12 | /// Send a messsage to this websocket consumer
13 | /// - Parameter msg: The message to be sent
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Common/Pioneer+WebSocketable.swift:23:23: warning: capture of 'io' with non-sendable type 'any WebSocketable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
21 | func timeout(using io: WebSocketable, keepAlive: Task<Void, Error>? = nil) -> Task<Void, Error>? {
22 | setTimeout(delay: timeout) {
23 | try await io.terminate(code: .graphqlInitTimeout)
| `- warning: capture of 'io' with non-sendable type 'any WebSocketable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
24 | keepAlive?.cancel()
25 | }
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Common/WebSocketable.swift:11:17: note: protocol 'WebSocketable' does not conform to the 'Sendable' protocol
9 |
10 | /// Any WebSocket output that can send messages and be terminated
11 | public protocol WebSocketable {
| `- note: protocol 'WebSocketable' does not conform to the 'Sendable' protocol
12 | /// Send a messsage to this websocket consumer
13 | /// - Parameter msg: The message to be sent
[2399/2435] Compiling Pioneer Pioneer+Vapor.swift
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Common/Pioneer+WebSocketable.swift:15:13: warning: capture of 'io' with non-sendable type 'any WebSocketable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
13 | func keepAlive(using io: WebSocketable) -> Task<Void, Error>? {
14 | setInterval(delay: keepAlive) {
15 | io.out(websocketProtocol.keepAliveMessage)
| `- warning: capture of 'io' with non-sendable type 'any WebSocketable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | }
17 | }
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Common/WebSocketable.swift:11:17: note: protocol 'WebSocketable' does not conform to the 'Sendable' protocol
9 |
10 | /// Any WebSocket output that can send messages and be terminated
11 | public protocol WebSocketable {
| `- note: protocol 'WebSocketable' does not conform to the 'Sendable' protocol
12 | /// Send a messsage to this websocket consumer
13 | /// - Parameter msg: The message to be sent
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Common/Pioneer+WebSocketable.swift:23:23: warning: capture of 'io' with non-sendable type 'any WebSocketable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
21 | func timeout(using io: WebSocketable, keepAlive: Task<Void, Error>? = nil) -> Task<Void, Error>? {
22 | setTimeout(delay: timeout) {
23 | try await io.terminate(code: .graphqlInitTimeout)
| `- warning: capture of 'io' with non-sendable type 'any WebSocketable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
24 | keepAlive?.cancel()
25 | }
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Common/WebSocketable.swift:11:17: note: protocol 'WebSocketable' does not conform to the 'Sendable' protocol
9 |
10 | /// Any WebSocket output that can send messages and be terminated
11 | public protocol WebSocketable {
| `- note: protocol 'WebSocketable' does not conform to the 'Sendable' protocol
12 | /// Send a messsage to this websocket consumer
13 | /// - Parameter msg: The message to be sent
[2400/2435] Compiling Pioneer Pioneer+WebSocket.swift
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Common/Pioneer+WebSocketable.swift:15:13: warning: capture of 'io' with non-sendable type 'any WebSocketable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
13 | func keepAlive(using io: WebSocketable) -> Task<Void, Error>? {
14 | setInterval(delay: keepAlive) {
15 | io.out(websocketProtocol.keepAliveMessage)
| `- warning: capture of 'io' with non-sendable type 'any WebSocketable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | }
17 | }
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Common/WebSocketable.swift:11:17: note: protocol 'WebSocketable' does not conform to the 'Sendable' protocol
9 |
10 | /// Any WebSocket output that can send messages and be terminated
11 | public protocol WebSocketable {
| `- note: protocol 'WebSocketable' does not conform to the 'Sendable' protocol
12 | /// Send a messsage to this websocket consumer
13 | /// - Parameter msg: The message to be sent
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Common/Pioneer+WebSocketable.swift:23:23: warning: capture of 'io' with non-sendable type 'any WebSocketable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
21 | func timeout(using io: WebSocketable, keepAlive: Task<Void, Error>? = nil) -> Task<Void, Error>? {
22 | setTimeout(delay: timeout) {
23 | try await io.terminate(code: .graphqlInitTimeout)
| `- warning: capture of 'io' with non-sendable type 'any WebSocketable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
24 | keepAlive?.cancel()
25 | }
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Common/WebSocketable.swift:11:17: note: protocol 'WebSocketable' does not conform to the 'Sendable' protocol
9 |
10 | /// Any WebSocket output that can send messages and be terminated
11 | public protocol WebSocketable {
| `- note: protocol 'WebSocketable' does not conform to the 'Sendable' protocol
12 | /// Send a messsage to this websocket consumer
13 | /// - Parameter msg: The message to be sent
[2401/2435] Compiling Pioneer Intent.swift
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Common/Pioneer+WebSocketable.swift:15:13: warning: capture of 'io' with non-sendable type 'any WebSocketable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
13 | func keepAlive(using io: WebSocketable) -> Task<Void, Error>? {
14 | setInterval(delay: keepAlive) {
15 | io.out(websocketProtocol.keepAliveMessage)
| `- warning: capture of 'io' with non-sendable type 'any WebSocketable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | }
17 | }
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Common/WebSocketable.swift:11:17: note: protocol 'WebSocketable' does not conform to the 'Sendable' protocol
9 |
10 | /// Any WebSocket output that can send messages and be terminated
11 | public protocol WebSocketable {
| `- note: protocol 'WebSocketable' does not conform to the 'Sendable' protocol
12 | /// Send a messsage to this websocket consumer
13 | /// - Parameter msg: The message to be sent
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Common/Pioneer+WebSocketable.swift:23:23: warning: capture of 'io' with non-sendable type 'any WebSocketable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
21 | func timeout(using io: WebSocketable, keepAlive: Task<Void, Error>? = nil) -> Task<Void, Error>? {
22 | setTimeout(delay: timeout) {
23 | try await io.terminate(code: .graphqlInitTimeout)
| `- warning: capture of 'io' with non-sendable type 'any WebSocketable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
24 | keepAlive?.cancel()
25 | }
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Common/WebSocketable.swift:11:17: note: protocol 'WebSocketable' does not conform to the 'Sendable' protocol
9 |
10 | /// Any WebSocket output that can send messages and be terminated
11 | public protocol WebSocketable {
| `- note: protocol 'WebSocketable' does not conform to the 'Sendable' protocol
12 | /// Send a messsage to this websocket consumer
13 | /// - Parameter msg: The message to be sent
[2402/2435] Compiling Pioneer Payload.swift
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Common/Pioneer+WebSocketable.swift:15:13: warning: capture of 'io' with non-sendable type 'any WebSocketable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
13 | func keepAlive(using io: WebSocketable) -> Task<Void, Error>? {
14 | setInterval(delay: keepAlive) {
15 | io.out(websocketProtocol.keepAliveMessage)
| `- warning: capture of 'io' with non-sendable type 'any WebSocketable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | }
17 | }
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Common/WebSocketable.swift:11:17: note: protocol 'WebSocketable' does not conform to the 'Sendable' protocol
9 |
10 | /// Any WebSocket output that can send messages and be terminated
11 | public protocol WebSocketable {
| `- note: protocol 'WebSocketable' does not conform to the 'Sendable' protocol
12 | /// Send a messsage to this websocket consumer
13 | /// - Parameter msg: The message to be sent
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Common/Pioneer+WebSocketable.swift:23:23: warning: capture of 'io' with non-sendable type 'any WebSocketable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
21 | func timeout(using io: WebSocketable, keepAlive: Task<Void, Error>? = nil) -> Task<Void, Error>? {
22 | setTimeout(delay: timeout) {
23 | try await io.terminate(code: .graphqlInitTimeout)
| `- warning: capture of 'io' with non-sendable type 'any WebSocketable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
24 | keepAlive?.cancel()
25 | }
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Common/WebSocketable.swift:11:17: note: protocol 'WebSocketable' does not conform to the 'Sendable' protocol
9 |
10 | /// Any WebSocket output that can send messages and be terminated
11 | public protocol WebSocketable {
| `- note: protocol 'WebSocketable' does not conform to the 'Sendable' protocol
12 | /// Send a messsage to this websocket consumer
13 | /// - Parameter msg: The message to be sent
[2403/2435] Compiling Pioneer Pioneer+WebSocketable.swift
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Common/Pioneer+WebSocketable.swift:15:13: warning: capture of 'io' with non-sendable type 'any WebSocketable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
13 | func keepAlive(using io: WebSocketable) -> Task<Void, Error>? {
14 | setInterval(delay: keepAlive) {
15 | io.out(websocketProtocol.keepAliveMessage)
| `- warning: capture of 'io' with non-sendable type 'any WebSocketable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | }
17 | }
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Common/WebSocketable.swift:11:17: note: protocol 'WebSocketable' does not conform to the 'Sendable' protocol
9 |
10 | /// Any WebSocket output that can send messages and be terminated
11 | public protocol WebSocketable {
| `- note: protocol 'WebSocketable' does not conform to the 'Sendable' protocol
12 | /// Send a messsage to this websocket consumer
13 | /// - Parameter msg: The message to be sent
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Common/Pioneer+WebSocketable.swift:23:23: warning: capture of 'io' with non-sendable type 'any WebSocketable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
21 | func timeout(using io: WebSocketable, keepAlive: Task<Void, Error>? = nil) -> Task<Void, Error>? {
22 | setTimeout(delay: timeout) {
23 | try await io.terminate(code: .graphqlInitTimeout)
| `- warning: capture of 'io' with non-sendable type 'any WebSocketable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
24 | keepAlive?.cancel()
25 | }
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Common/WebSocketable.swift:11:17: note: protocol 'WebSocketable' does not conform to the 'Sendable' protocol
9 |
10 | /// Any WebSocket output that can send messages and be terminated
11 | public protocol WebSocketable {
| `- note: protocol 'WebSocketable' does not conform to the 'Sendable' protocol
12 | /// Send a messsage to this websocket consumer
13 | /// - Parameter msg: The message to be sent
[2404/2435] Compiling Pioneer WebSocketClient.swift
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Common/Pioneer+WebSocketable.swift:15:13: warning: capture of 'io' with non-sendable type 'any WebSocketable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
13 | func keepAlive(using io: WebSocketable) -> Task<Void, Error>? {
14 | setInterval(delay: keepAlive) {
15 | io.out(websocketProtocol.keepAliveMessage)
| `- warning: capture of 'io' with non-sendable type 'any WebSocketable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | }
17 | }
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Common/WebSocketable.swift:11:17: note: protocol 'WebSocketable' does not conform to the 'Sendable' protocol
9 |
10 | /// Any WebSocket output that can send messages and be terminated
11 | public protocol WebSocketable {
| `- note: protocol 'WebSocketable' does not conform to the 'Sendable' protocol
12 | /// Send a messsage to this websocket consumer
13 | /// - Parameter msg: The message to be sent
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Common/Pioneer+WebSocketable.swift:23:23: warning: capture of 'io' with non-sendable type 'any WebSocketable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
21 | func timeout(using io: WebSocketable, keepAlive: Task<Void, Error>? = nil) -> Task<Void, Error>? {
22 | setTimeout(delay: timeout) {
23 | try await io.terminate(code: .graphqlInitTimeout)
| `- warning: capture of 'io' with non-sendable type 'any WebSocketable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
24 | keepAlive?.cancel()
25 | }
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Common/WebSocketable.swift:11:17: note: protocol 'WebSocketable' does not conform to the 'Sendable' protocol
9 |
10 | /// Any WebSocket output that can send messages and be terminated
11 | public protocol WebSocketable {
| `- note: protocol 'WebSocketable' does not conform to the 'Sendable' protocol
12 | /// Send a messsage to this websocket consumer
13 | /// - Parameter msg: The message to be sent
[2405/2435] Compiling Pioneer Request+WebSocket.swift
[2406/2435] Compiling Pioneer Request+WebsocketContext.swift
[2407/2435] Compiling Pioneer GraphQLResult+Content.swift
[2408/2435] Compiling Pioneer Response+GraphQLError.swift
[2409/2435] Compiling Pioneer WebSocket+WebSocketable.swift
[2410/2435] Compiling Pioneer Pioneer+Http.swift
[2411/2435] Compiling Pioneer Pioneer+IDE.swift
[2412/2435] Compiling Pioneer Pioneer+Standalone.swift
[2413/2435] Compiling Pioneer Dictionary+SafeOperation.swift
[2414/2435] Compiling Pioneer OrderedDictionary+Dictionary.swift
[2415/2435] Compiling Pioneer Expression.swift
[2416/2435] Compiling Pioneer Actor+Task.swift
[2417/2435] Compiling Pioneer Task+Starvation.swift
[2418/2435] Compiling Pioneer UInt64+Nanoseconds.swift
[2419/2435] Compiling Pioneer Map+Decoder.swift
[2420/2435] Compiling Pioneer Pioneer+Graphiti.swift
[2421/2435] 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()
[2422/2435] 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()
[2423/2435] 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()
[2424/2435] 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()
[2425/2435] 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()
[2426/2435] 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()
[2427/2435] 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()
[2428/2435] 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()
[2429/2435] Compiling Pioneer WebSocketable.swift
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:139:23: warning: non-sendable result type 'SubscriptionResult' cannot be sent from nonisolated context in call to global function 'subscribeGraphQL(schema:request:resolver:context:eventLoopGroup:variables:operationName:)'; this is an error in the Swift 6 language mode
137 | /// Execute long lived GraphQL Operation as a subscription
138 | private func subscribeOperation(for gql: GraphQLRequest, with ctx: Context, using eventLoop: EventLoopGroup) async throws -> SubscriptionResult {
139 | try await subscribeGraphQL(
| `- warning: non-sendable result type 'SubscriptionResult' cannot be sent from nonisolated context in call to global function 'subscribeGraphQL(schema:request:resolver:context:eventLoopGroup:variables:operationName:)'; this is an error in the Swift 6 language mode
140 | schema: schema,
141 | request: gql.query,
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/GraphQL.swift:47:15: note: struct 'SubscriptionResult' does not conform to the 'Sendable' protocol
45 |
46 | /// SubscriptionResult wraps the observable and error data returned by the subscribe request.
47 | public struct SubscriptionResult {
| `- note: struct 'SubscriptionResult' does not conform to the 'Sendable' protocol
48 | public let stream: SubscriptionEventStream?
49 | public let errors: [GraphQLError]
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
7 |
8 | import class Graphiti.Schema
9 | import GraphQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
10 | import protocol NIO.EventLoopGroup
11 |
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:78:29: warning: capture of 'client' with non-sendable type 'Pioneer<Resolver, Context>.WebSocketClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
76 | await sink.outgoing(
77 | with: oid,
78 | to: client,
| `- warning: capture of 'client' with non-sendable type 'Pioneer<Resolver, Context>.WebSocketClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
79 | given: .from(type: self.proto.next, id: oid, value)
80 | )
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Common/WebSocketClient.swift:21:12: note: consider making struct 'WebSocketClient' conform to the 'Sendable' protocol
19 |
20 | /// Full GraphQL over WebSocket Client
21 | struct WebSocketClient: Identifiable {
| `- note: consider making struct 'WebSocketClient' conform to the 'Sendable' protocol
22 | /// The unique key for this client
23 | public var id: UUID
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:139:23: warning: sending 'self.schema' risks causing data races; this is an error in the Swift 6 language mode
137 | /// Execute long lived GraphQL Operation as a subscription
138 | private func subscribeOperation(for gql: GraphQLRequest, with ctx: Context, using eventLoop: EventLoopGroup) async throws -> SubscriptionResult {
139 | try await subscribeGraphQL(
| |- warning: sending 'self.schema' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.schema' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
140 | schema: schema,
141 | request: gql.query,
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:127:44: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
125 | private func subscription(gql: GraphQLRequest) async -> SubscriptionResult {
126 | do {
127 | let ctx = try await client.context(gql)
| |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
128 | return try await subscribeOperation(for: gql, with: ctx, using: client.ev)
129 | } catch {
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:56:18: warning: sending 'client' risks causing data races; this is an error in the Swift 6 language mode
54 |
55 | let drone = drones.getOrElse(cid) {
56 | .init(client,
| |- warning: sending 'client' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'client' to actor-isolated callee risks causing data races between actor-isolated and 'self'-isolated uses
57 | schema: schema,
58 | resolver: resolver,
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:56:18: warning: sending 'self.schema' risks causing data races; this is an error in the Swift 6 language mode
54 |
55 | let drone = drones.getOrElse(cid) {
56 | .init(client,
| |- warning: sending 'self.schema' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.schema' to actor-isolated callee risks causing data races between actor-isolated and 'self'-isolated uses
57 | schema: schema,
58 | resolver: resolver,
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:107:34: warning: sending value of non-Sendable type 'GraphQLSchema' risks causing data races; this is an error in the Swift 6 language mode
105 | Task { [unowned self] in
106 | let ctx = try await client.context(gql)
107 | return try await executeGraphQL(
| |- warning: sending value of non-Sendable type 'GraphQLSchema' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending actor-isolated value of non-Sendable type 'GraphQLSchema' to nonisolated callee risks causing races in between actor-isolated and nonisolated uses
108 | schema: self.schema,
109 | request: gql.query,
[2430/2435] Compiling Pioneer Drone.swift
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:139:23: warning: non-sendable result type 'SubscriptionResult' cannot be sent from nonisolated context in call to global function 'subscribeGraphQL(schema:request:resolver:context:eventLoopGroup:variables:operationName:)'; this is an error in the Swift 6 language mode
137 | /// Execute long lived GraphQL Operation as a subscription
138 | private func subscribeOperation(for gql: GraphQLRequest, with ctx: Context, using eventLoop: EventLoopGroup) async throws -> SubscriptionResult {
139 | try await subscribeGraphQL(
| `- warning: non-sendable result type 'SubscriptionResult' cannot be sent from nonisolated context in call to global function 'subscribeGraphQL(schema:request:resolver:context:eventLoopGroup:variables:operationName:)'; this is an error in the Swift 6 language mode
140 | schema: schema,
141 | request: gql.query,
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/GraphQL.swift:47:15: note: struct 'SubscriptionResult' does not conform to the 'Sendable' protocol
45 |
46 | /// SubscriptionResult wraps the observable and error data returned by the subscribe request.
47 | public struct SubscriptionResult {
| `- note: struct 'SubscriptionResult' does not conform to the 'Sendable' protocol
48 | public let stream: SubscriptionEventStream?
49 | public let errors: [GraphQLError]
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
7 |
8 | import class Graphiti.Schema
9 | import GraphQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
10 | import protocol NIO.EventLoopGroup
11 |
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:78:29: warning: capture of 'client' with non-sendable type 'Pioneer<Resolver, Context>.WebSocketClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
76 | await sink.outgoing(
77 | with: oid,
78 | to: client,
| `- warning: capture of 'client' with non-sendable type 'Pioneer<Resolver, Context>.WebSocketClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
79 | given: .from(type: self.proto.next, id: oid, value)
80 | )
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Common/WebSocketClient.swift:21:12: note: consider making struct 'WebSocketClient' conform to the 'Sendable' protocol
19 |
20 | /// Full GraphQL over WebSocket Client
21 | struct WebSocketClient: Identifiable {
| `- note: consider making struct 'WebSocketClient' conform to the 'Sendable' protocol
22 | /// The unique key for this client
23 | public var id: UUID
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:139:23: warning: sending 'self.schema' risks causing data races; this is an error in the Swift 6 language mode
137 | /// Execute long lived GraphQL Operation as a subscription
138 | private func subscribeOperation(for gql: GraphQLRequest, with ctx: Context, using eventLoop: EventLoopGroup) async throws -> SubscriptionResult {
139 | try await subscribeGraphQL(
| |- warning: sending 'self.schema' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.schema' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
140 | schema: schema,
141 | request: gql.query,
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:127:44: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
125 | private func subscription(gql: GraphQLRequest) async -> SubscriptionResult {
126 | do {
127 | let ctx = try await client.context(gql)
| |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
128 | return try await subscribeOperation(for: gql, with: ctx, using: client.ev)
129 | } catch {
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:56:18: warning: sending 'client' risks causing data races; this is an error in the Swift 6 language mode
54 |
55 | let drone = drones.getOrElse(cid) {
56 | .init(client,
| |- warning: sending 'client' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'client' to actor-isolated callee risks causing data races between actor-isolated and 'self'-isolated uses
57 | schema: schema,
58 | resolver: resolver,
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:56:18: warning: sending 'self.schema' risks causing data races; this is an error in the Swift 6 language mode
54 |
55 | let drone = drones.getOrElse(cid) {
56 | .init(client,
| |- warning: sending 'self.schema' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.schema' to actor-isolated callee risks causing data races between actor-isolated and 'self'-isolated uses
57 | schema: schema,
58 | resolver: resolver,
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:107:34: warning: sending value of non-Sendable type 'GraphQLSchema' risks causing data races; this is an error in the Swift 6 language mode
105 | Task { [unowned self] in
106 | let ctx = try await client.context(gql)
107 | return try await executeGraphQL(
| |- warning: sending value of non-Sendable type 'GraphQLSchema' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending actor-isolated value of non-Sendable type 'GraphQLSchema' to nonisolated callee risks causing races in between actor-isolated and nonisolated uses
108 | schema: self.schema,
109 | request: gql.query,
[2431/2435] Compiling Pioneer Probe.swift
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:139:23: warning: non-sendable result type 'SubscriptionResult' cannot be sent from nonisolated context in call to global function 'subscribeGraphQL(schema:request:resolver:context:eventLoopGroup:variables:operationName:)'; this is an error in the Swift 6 language mode
137 | /// Execute long lived GraphQL Operation as a subscription
138 | private func subscribeOperation(for gql: GraphQLRequest, with ctx: Context, using eventLoop: EventLoopGroup) async throws -> SubscriptionResult {
139 | try await subscribeGraphQL(
| `- warning: non-sendable result type 'SubscriptionResult' cannot be sent from nonisolated context in call to global function 'subscribeGraphQL(schema:request:resolver:context:eventLoopGroup:variables:operationName:)'; this is an error in the Swift 6 language mode
140 | schema: schema,
141 | request: gql.query,
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/GraphQL.swift:47:15: note: struct 'SubscriptionResult' does not conform to the 'Sendable' protocol
45 |
46 | /// SubscriptionResult wraps the observable and error data returned by the subscribe request.
47 | public struct SubscriptionResult {
| `- note: struct 'SubscriptionResult' does not conform to the 'Sendable' protocol
48 | public let stream: SubscriptionEventStream?
49 | public let errors: [GraphQLError]
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
7 |
8 | import class Graphiti.Schema
9 | import GraphQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
10 | import protocol NIO.EventLoopGroup
11 |
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:78:29: warning: capture of 'client' with non-sendable type 'Pioneer<Resolver, Context>.WebSocketClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
76 | await sink.outgoing(
77 | with: oid,
78 | to: client,
| `- warning: capture of 'client' with non-sendable type 'Pioneer<Resolver, Context>.WebSocketClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
79 | given: .from(type: self.proto.next, id: oid, value)
80 | )
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Common/WebSocketClient.swift:21:12: note: consider making struct 'WebSocketClient' conform to the 'Sendable' protocol
19 |
20 | /// Full GraphQL over WebSocket Client
21 | struct WebSocketClient: Identifiable {
| `- note: consider making struct 'WebSocketClient' conform to the 'Sendable' protocol
22 | /// The unique key for this client
23 | public var id: UUID
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:139:23: warning: sending 'self.schema' risks causing data races; this is an error in the Swift 6 language mode
137 | /// Execute long lived GraphQL Operation as a subscription
138 | private func subscribeOperation(for gql: GraphQLRequest, with ctx: Context, using eventLoop: EventLoopGroup) async throws -> SubscriptionResult {
139 | try await subscribeGraphQL(
| |- warning: sending 'self.schema' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.schema' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
140 | schema: schema,
141 | request: gql.query,
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:127:44: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
125 | private func subscription(gql: GraphQLRequest) async -> SubscriptionResult {
126 | do {
127 | let ctx = try await client.context(gql)
| |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
128 | return try await subscribeOperation(for: gql, with: ctx, using: client.ev)
129 | } catch {
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:56:18: warning: sending 'client' risks causing data races; this is an error in the Swift 6 language mode
54 |
55 | let drone = drones.getOrElse(cid) {
56 | .init(client,
| |- warning: sending 'client' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'client' to actor-isolated callee risks causing data races between actor-isolated and 'self'-isolated uses
57 | schema: schema,
58 | resolver: resolver,
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:56:18: warning: sending 'self.schema' risks causing data races; this is an error in the Swift 6 language mode
54 |
55 | let drone = drones.getOrElse(cid) {
56 | .init(client,
| |- warning: sending 'self.schema' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.schema' to actor-isolated callee risks causing data races between actor-isolated and 'self'-isolated uses
57 | schema: schema,
58 | resolver: resolver,
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:107:34: warning: sending value of non-Sendable type 'GraphQLSchema' risks causing data races; this is an error in the Swift 6 language mode
105 | Task { [unowned self] in
106 | let ctx = try await client.context(gql)
107 | return try await executeGraphQL(
| |- warning: sending value of non-Sendable type 'GraphQLSchema' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending actor-isolated value of non-Sendable type 'GraphQLSchema' to nonisolated callee risks causing races in between actor-isolated and nonisolated uses
108 | schema: self.schema,
109 | request: gql.query,
[2432/2435] Compiling Pioneer GraphQLWs.swift
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:139:23: warning: non-sendable result type 'SubscriptionResult' cannot be sent from nonisolated context in call to global function 'subscribeGraphQL(schema:request:resolver:context:eventLoopGroup:variables:operationName:)'; this is an error in the Swift 6 language mode
137 | /// Execute long lived GraphQL Operation as a subscription
138 | private func subscribeOperation(for gql: GraphQLRequest, with ctx: Context, using eventLoop: EventLoopGroup) async throws -> SubscriptionResult {
139 | try await subscribeGraphQL(
| `- warning: non-sendable result type 'SubscriptionResult' cannot be sent from nonisolated context in call to global function 'subscribeGraphQL(schema:request:resolver:context:eventLoopGroup:variables:operationName:)'; this is an error in the Swift 6 language mode
140 | schema: schema,
141 | request: gql.query,
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/GraphQL.swift:47:15: note: struct 'SubscriptionResult' does not conform to the 'Sendable' protocol
45 |
46 | /// SubscriptionResult wraps the observable and error data returned by the subscribe request.
47 | public struct SubscriptionResult {
| `- note: struct 'SubscriptionResult' does not conform to the 'Sendable' protocol
48 | public let stream: SubscriptionEventStream?
49 | public let errors: [GraphQLError]
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
7 |
8 | import class Graphiti.Schema
9 | import GraphQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
10 | import protocol NIO.EventLoopGroup
11 |
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:78:29: warning: capture of 'client' with non-sendable type 'Pioneer<Resolver, Context>.WebSocketClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
76 | await sink.outgoing(
77 | with: oid,
78 | to: client,
| `- warning: capture of 'client' with non-sendable type 'Pioneer<Resolver, Context>.WebSocketClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
79 | given: .from(type: self.proto.next, id: oid, value)
80 | )
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Common/WebSocketClient.swift:21:12: note: consider making struct 'WebSocketClient' conform to the 'Sendable' protocol
19 |
20 | /// Full GraphQL over WebSocket Client
21 | struct WebSocketClient: Identifiable {
| `- note: consider making struct 'WebSocketClient' conform to the 'Sendable' protocol
22 | /// The unique key for this client
23 | public var id: UUID
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:139:23: warning: sending 'self.schema' risks causing data races; this is an error in the Swift 6 language mode
137 | /// Execute long lived GraphQL Operation as a subscription
138 | private func subscribeOperation(for gql: GraphQLRequest, with ctx: Context, using eventLoop: EventLoopGroup) async throws -> SubscriptionResult {
139 | try await subscribeGraphQL(
| |- warning: sending 'self.schema' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.schema' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
140 | schema: schema,
141 | request: gql.query,
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:127:44: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
125 | private func subscription(gql: GraphQLRequest) async -> SubscriptionResult {
126 | do {
127 | let ctx = try await client.context(gql)
| |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
128 | return try await subscribeOperation(for: gql, with: ctx, using: client.ev)
129 | } catch {
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:56:18: warning: sending 'client' risks causing data races; this is an error in the Swift 6 language mode
54 |
55 | let drone = drones.getOrElse(cid) {
56 | .init(client,
| |- warning: sending 'client' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'client' to actor-isolated callee risks causing data races between actor-isolated and 'self'-isolated uses
57 | schema: schema,
58 | resolver: resolver,
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:56:18: warning: sending 'self.schema' risks causing data races; this is an error in the Swift 6 language mode
54 |
55 | let drone = drones.getOrElse(cid) {
56 | .init(client,
| |- warning: sending 'self.schema' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.schema' to actor-isolated callee risks causing data races between actor-isolated and 'self'-isolated uses
57 | schema: schema,
58 | resolver: resolver,
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:107:34: warning: sending value of non-Sendable type 'GraphQLSchema' risks causing data races; this is an error in the Swift 6 language mode
105 | Task { [unowned self] in
106 | let ctx = try await client.context(gql)
107 | return try await executeGraphQL(
| |- warning: sending value of non-Sendable type 'GraphQLSchema' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending actor-isolated value of non-Sendable type 'GraphQLSchema' to nonisolated callee risks causing races in between actor-isolated and nonisolated uses
108 | schema: self.schema,
109 | request: gql.query,
[2433/2435] Compiling Pioneer SubProtocol.swift
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:139:23: warning: non-sendable result type 'SubscriptionResult' cannot be sent from nonisolated context in call to global function 'subscribeGraphQL(schema:request:resolver:context:eventLoopGroup:variables:operationName:)'; this is an error in the Swift 6 language mode
137 | /// Execute long lived GraphQL Operation as a subscription
138 | private func subscribeOperation(for gql: GraphQLRequest, with ctx: Context, using eventLoop: EventLoopGroup) async throws -> SubscriptionResult {
139 | try await subscribeGraphQL(
| `- warning: non-sendable result type 'SubscriptionResult' cannot be sent from nonisolated context in call to global function 'subscribeGraphQL(schema:request:resolver:context:eventLoopGroup:variables:operationName:)'; this is an error in the Swift 6 language mode
140 | schema: schema,
141 | request: gql.query,
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/GraphQL.swift:47:15: note: struct 'SubscriptionResult' does not conform to the 'Sendable' protocol
45 |
46 | /// SubscriptionResult wraps the observable and error data returned by the subscribe request.
47 | public struct SubscriptionResult {
| `- note: struct 'SubscriptionResult' does not conform to the 'Sendable' protocol
48 | public let stream: SubscriptionEventStream?
49 | public let errors: [GraphQLError]
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
7 |
8 | import class Graphiti.Schema
9 | import GraphQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
10 | import protocol NIO.EventLoopGroup
11 |
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:78:29: warning: capture of 'client' with non-sendable type 'Pioneer<Resolver, Context>.WebSocketClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
76 | await sink.outgoing(
77 | with: oid,
78 | to: client,
| `- warning: capture of 'client' with non-sendable type 'Pioneer<Resolver, Context>.WebSocketClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
79 | given: .from(type: self.proto.next, id: oid, value)
80 | )
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Common/WebSocketClient.swift:21:12: note: consider making struct 'WebSocketClient' conform to the 'Sendable' protocol
19 |
20 | /// Full GraphQL over WebSocket Client
21 | struct WebSocketClient: Identifiable {
| `- note: consider making struct 'WebSocketClient' conform to the 'Sendable' protocol
22 | /// The unique key for this client
23 | public var id: UUID
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:139:23: warning: sending 'self.schema' risks causing data races; this is an error in the Swift 6 language mode
137 | /// Execute long lived GraphQL Operation as a subscription
138 | private func subscribeOperation(for gql: GraphQLRequest, with ctx: Context, using eventLoop: EventLoopGroup) async throws -> SubscriptionResult {
139 | try await subscribeGraphQL(
| |- warning: sending 'self.schema' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.schema' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
140 | schema: schema,
141 | request: gql.query,
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:127:44: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
125 | private func subscription(gql: GraphQLRequest) async -> SubscriptionResult {
126 | do {
127 | let ctx = try await client.context(gql)
| |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
128 | return try await subscribeOperation(for: gql, with: ctx, using: client.ev)
129 | } catch {
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:56:18: warning: sending 'client' risks causing data races; this is an error in the Swift 6 language mode
54 |
55 | let drone = drones.getOrElse(cid) {
56 | .init(client,
| |- warning: sending 'client' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'client' to actor-isolated callee risks causing data races between actor-isolated and 'self'-isolated uses
57 | schema: schema,
58 | resolver: resolver,
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:56:18: warning: sending 'self.schema' risks causing data races; this is an error in the Swift 6 language mode
54 |
55 | let drone = drones.getOrElse(cid) {
56 | .init(client,
| |- warning: sending 'self.schema' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.schema' to actor-isolated callee risks causing data races between actor-isolated and 'self'-isolated uses
57 | schema: schema,
58 | resolver: resolver,
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:107:34: warning: sending value of non-Sendable type 'GraphQLSchema' risks causing data races; this is an error in the Swift 6 language mode
105 | Task { [unowned self] in
106 | let ctx = try await client.context(gql)
107 | return try await executeGraphQL(
| |- warning: sending value of non-Sendable type 'GraphQLSchema' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending actor-isolated value of non-Sendable type 'GraphQLSchema' to nonisolated callee risks causing races in between actor-isolated and nonisolated uses
108 | schema: self.schema,
109 | request: gql.query,
[2434/2435] Compiling Pioneer SubscriptionsTransportWs.swift
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:139:23: warning: non-sendable result type 'SubscriptionResult' cannot be sent from nonisolated context in call to global function 'subscribeGraphQL(schema:request:resolver:context:eventLoopGroup:variables:operationName:)'; this is an error in the Swift 6 language mode
137 | /// Execute long lived GraphQL Operation as a subscription
138 | private func subscribeOperation(for gql: GraphQLRequest, with ctx: Context, using eventLoop: EventLoopGroup) async throws -> SubscriptionResult {
139 | try await subscribeGraphQL(
| `- warning: non-sendable result type 'SubscriptionResult' cannot be sent from nonisolated context in call to global function 'subscribeGraphQL(schema:request:resolver:context:eventLoopGroup:variables:operationName:)'; this is an error in the Swift 6 language mode
140 | schema: schema,
141 | request: gql.query,
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/GraphQL.swift:47:15: note: struct 'SubscriptionResult' does not conform to the 'Sendable' protocol
45 |
46 | /// SubscriptionResult wraps the observable and error data returned by the subscribe request.
47 | public struct SubscriptionResult {
| `- note: struct 'SubscriptionResult' does not conform to the 'Sendable' protocol
48 | public let stream: SubscriptionEventStream?
49 | public let errors: [GraphQLError]
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
7 |
8 | import class Graphiti.Schema
9 | import GraphQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
10 | import protocol NIO.EventLoopGroup
11 |
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:78:29: warning: capture of 'client' with non-sendable type 'Pioneer<Resolver, Context>.WebSocketClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
76 | await sink.outgoing(
77 | with: oid,
78 | to: client,
| `- warning: capture of 'client' with non-sendable type 'Pioneer<Resolver, Context>.WebSocketClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
79 | given: .from(type: self.proto.next, id: oid, value)
80 | )
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Common/WebSocketClient.swift:21:12: note: consider making struct 'WebSocketClient' conform to the 'Sendable' protocol
19 |
20 | /// Full GraphQL over WebSocket Client
21 | struct WebSocketClient: Identifiable {
| `- note: consider making struct 'WebSocketClient' conform to the 'Sendable' protocol
22 | /// The unique key for this client
23 | public var id: UUID
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:139:23: warning: sending 'self.schema' risks causing data races; this is an error in the Swift 6 language mode
137 | /// Execute long lived GraphQL Operation as a subscription
138 | private func subscribeOperation(for gql: GraphQLRequest, with ctx: Context, using eventLoop: EventLoopGroup) async throws -> SubscriptionResult {
139 | try await subscribeGraphQL(
| |- warning: sending 'self.schema' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.schema' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
140 | schema: schema,
141 | request: gql.query,
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:127:44: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
125 | private func subscription(gql: GraphQLRequest) async -> SubscriptionResult {
126 | do {
127 | let ctx = try await client.context(gql)
| |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
128 | return try await subscribeOperation(for: gql, with: ctx, using: client.ev)
129 | } catch {
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:56:18: warning: sending 'client' risks causing data races; this is an error in the Swift 6 language mode
54 |
55 | let drone = drones.getOrElse(cid) {
56 | .init(client,
| |- warning: sending 'client' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'client' to actor-isolated callee risks causing data races between actor-isolated and 'self'-isolated uses
57 | schema: schema,
58 | resolver: resolver,
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:56:18: warning: sending 'self.schema' risks causing data races; this is an error in the Swift 6 language mode
54 |
55 | let drone = drones.getOrElse(cid) {
56 | .init(client,
| |- warning: sending 'self.schema' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.schema' to actor-isolated callee risks causing data races between actor-isolated and 'self'-isolated uses
57 | schema: schema,
58 | resolver: resolver,
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:107:34: warning: sending value of non-Sendable type 'GraphQLSchema' risks causing data races; this is an error in the Swift 6 language mode
105 | Task { [unowned self] in
106 | let ctx = try await client.context(gql)
107 | return try await executeGraphQL(
| |- warning: sending value of non-Sendable type 'GraphQLSchema' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending actor-isolated value of non-Sendable type 'GraphQLSchema' to nonisolated callee risks causing races in between actor-isolated and nonisolated uses
108 | schema: self.schema,
109 | request: gql.query,
[2435/2435] Compiling Pioneer WebsocketProtocol.swift
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:139:23: warning: non-sendable result type 'SubscriptionResult' cannot be sent from nonisolated context in call to global function 'subscribeGraphQL(schema:request:resolver:context:eventLoopGroup:variables:operationName:)'; this is an error in the Swift 6 language mode
137 | /// Execute long lived GraphQL Operation as a subscription
138 | private func subscribeOperation(for gql: GraphQLRequest, with ctx: Context, using eventLoop: EventLoopGroup) async throws -> SubscriptionResult {
139 | try await subscribeGraphQL(
| `- warning: non-sendable result type 'SubscriptionResult' cannot be sent from nonisolated context in call to global function 'subscribeGraphQL(schema:request:resolver:context:eventLoopGroup:variables:operationName:)'; this is an error in the Swift 6 language mode
140 | schema: schema,
141 | request: gql.query,
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/GraphQL.swift:47:15: note: struct 'SubscriptionResult' does not conform to the 'Sendable' protocol
45 |
46 | /// SubscriptionResult wraps the observable and error data returned by the subscribe request.
47 | public struct SubscriptionResult {
| `- note: struct 'SubscriptionResult' does not conform to the 'Sendable' protocol
48 | public let stream: SubscriptionEventStream?
49 | public let errors: [GraphQLError]
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
7 |
8 | import class Graphiti.Schema
9 | import GraphQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
10 | import protocol NIO.EventLoopGroup
11 |
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:78:29: warning: capture of 'client' with non-sendable type 'Pioneer<Resolver, Context>.WebSocketClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
76 | await sink.outgoing(
77 | with: oid,
78 | to: client,
| `- warning: capture of 'client' with non-sendable type 'Pioneer<Resolver, Context>.WebSocketClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
79 | given: .from(type: self.proto.next, id: oid, value)
80 | )
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Common/WebSocketClient.swift:21:12: note: consider making struct 'WebSocketClient' conform to the 'Sendable' protocol
19 |
20 | /// Full GraphQL over WebSocket Client
21 | struct WebSocketClient: Identifiable {
| `- note: consider making struct 'WebSocketClient' conform to the 'Sendable' protocol
22 | /// The unique key for this client
23 | public var id: UUID
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:139:23: warning: sending 'self.schema' risks causing data races; this is an error in the Swift 6 language mode
137 | /// Execute long lived GraphQL Operation as a subscription
138 | private func subscribeOperation(for gql: GraphQLRequest, with ctx: Context, using eventLoop: EventLoopGroup) async throws -> SubscriptionResult {
139 | try await subscribeGraphQL(
| |- warning: sending 'self.schema' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.schema' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
140 | schema: schema,
141 | request: gql.query,
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:127:44: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
125 | private func subscription(gql: GraphQLRequest) async -> SubscriptionResult {
126 | do {
127 | let ctx = try await client.context(gql)
| |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
128 | return try await subscribeOperation(for: gql, with: ctx, using: client.ev)
129 | } catch {
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:56:18: warning: sending 'client' risks causing data races; this is an error in the Swift 6 language mode
54 |
55 | let drone = drones.getOrElse(cid) {
56 | .init(client,
| |- warning: sending 'client' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'client' to actor-isolated callee risks causing data races between actor-isolated and 'self'-isolated uses
57 | schema: schema,
58 | resolver: resolver,
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:56:18: warning: sending 'self.schema' risks causing data races; this is an error in the Swift 6 language mode
54 |
55 | let drone = drones.getOrElse(cid) {
56 | .init(client,
| |- warning: sending 'self.schema' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.schema' to actor-isolated callee risks causing data races between actor-isolated and 'self'-isolated uses
57 | schema: schema,
58 | resolver: resolver,
/host/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:107:34: warning: sending value of non-Sendable type 'GraphQLSchema' risks causing data races; this is an error in the Swift 6 language mode
105 | Task { [unowned self] in
106 | let ctx = try await client.context(gql)
107 | return try await executeGraphQL(
| |- warning: sending value of non-Sendable type 'GraphQLSchema' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending actor-isolated value of non-Sendable type 'GraphQLSchema' to nonisolated callee risks causing races in between actor-isolated and nonisolated uses
108 | schema: self.schema,
109 | request: gql.query,
Build complete! (511.48s)
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"
}
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Done.