Build Information
Successful build of Pioneer, reference main (6f3fff
), with Swift 6.1 for Linux on 16 Jul 2025 03:19:57 UTC.
Swift 6 data race errors: 6
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
| |- 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()
[2389/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
[2390/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
[2391/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
[2392/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
[2393/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
[2394/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
[2395/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
[2396/2435] Compiling Pioneer Timeout.swift
/host/spi-builder-workspace/Sources/Pioneer/Vapor/Extensions/Request/GraphQLJSONEncoder+ContentEncoder.swift:11:1: warning: conformance to 'Sendable' must occur in the same source file as class 'GraphQLJSONEncoder'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
9 | import Vapor
10 |
11 | extension GraphQLJSONEncoder: Vapor.ContentEncoder {
| `- warning: conformance to 'Sendable' must occur in the same source file as class 'GraphQLJSONEncoder'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
12 | public func encode<E>(_ encodable: E, to body: inout NIOCore.ByteBuffer, headers: inout NIOHTTP1.HTTPHeaders) throws where E: Encodable {
13 | headers.contentType = .json
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:188:14: warning: stored property 'outputFormatting' of 'Sendable'-conforming class 'GraphQLJSONEncoder' is mutable; this is an error in the Swift 6 language mode
186 |
187 | /// The output format to produce. Defaults to `[]`.
188 | open var outputFormatting: OutputFormatting = []
| `- warning: stored property 'outputFormatting' of 'Sendable'-conforming class 'GraphQLJSONEncoder' is mutable; this is an error in the Swift 6 language mode
189 |
190 | /// The strategy to use in encoding dates. Defaults to `.deferredToDate`.
[2397/2435] Compiling Pioneer Validation.swift
/host/spi-builder-workspace/Sources/Pioneer/Vapor/Extensions/Request/GraphQLJSONEncoder+ContentEncoder.swift:11:1: warning: conformance to 'Sendable' must occur in the same source file as class 'GraphQLJSONEncoder'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
9 | import Vapor
10 |
11 | extension GraphQLJSONEncoder: Vapor.ContentEncoder {
| `- warning: conformance to 'Sendable' must occur in the same source file as class 'GraphQLJSONEncoder'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
12 | public func encode<E>(_ encodable: E, to body: inout NIOCore.ByteBuffer, headers: inout NIOHTTP1.HTTPHeaders) throws where E: Encodable {
13 | headers.contentType = .json
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:188:14: warning: stored property 'outputFormatting' of 'Sendable'-conforming class 'GraphQLJSONEncoder' is mutable; this is an error in the Swift 6 language mode
186 |
187 | /// The output format to produce. Defaults to `[]`.
188 | open var outputFormatting: OutputFormatting = []
| `- warning: stored property 'outputFormatting' of 'Sendable'-conforming class 'GraphQLJSONEncoder' is mutable; this is an error in the Swift 6 language mode
189 |
190 | /// The strategy to use in encoding dates. Defaults to `.deferredToDate`.
[2398/2435] Compiling Pioneer CORSMIddleware+BananaCakePop.swift
/host/spi-builder-workspace/Sources/Pioneer/Vapor/Extensions/Request/GraphQLJSONEncoder+ContentEncoder.swift:11:1: warning: conformance to 'Sendable' must occur in the same source file as class 'GraphQLJSONEncoder'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
9 | import Vapor
10 |
11 | extension GraphQLJSONEncoder: Vapor.ContentEncoder {
| `- warning: conformance to 'Sendable' must occur in the same source file as class 'GraphQLJSONEncoder'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
12 | public func encode<E>(_ encodable: E, to body: inout NIOCore.ByteBuffer, headers: inout NIOHTTP1.HTTPHeaders) throws where E: Encodable {
13 | headers.contentType = .json
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:188:14: warning: stored property 'outputFormatting' of 'Sendable'-conforming class 'GraphQLJSONEncoder' is mutable; this is an error in the Swift 6 language mode
186 |
187 | /// The output format to produce. Defaults to `[]`.
188 | open var outputFormatting: OutputFormatting = []
| `- warning: stored property 'outputFormatting' of 'Sendable'-conforming class 'GraphQLJSONEncoder' is mutable; this is an error in the Swift 6 language mode
189 |
190 | /// The strategy to use in encoding dates. Defaults to `.deferredToDate`.
[2399/2435] Compiling Pioneer CORSMiddleware+ApolloSandbox.swift
/host/spi-builder-workspace/Sources/Pioneer/Vapor/Extensions/Request/GraphQLJSONEncoder+ContentEncoder.swift:11:1: warning: conformance to 'Sendable' must occur in the same source file as class 'GraphQLJSONEncoder'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
9 | import Vapor
10 |
11 | extension GraphQLJSONEncoder: Vapor.ContentEncoder {
| `- warning: conformance to 'Sendable' must occur in the same source file as class 'GraphQLJSONEncoder'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
12 | public func encode<E>(_ encodable: E, to body: inout NIOCore.ByteBuffer, headers: inout NIOHTTP1.HTTPHeaders) throws where E: Encodable {
13 | headers.contentType = .json
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:188:14: warning: stored property 'outputFormatting' of 'Sendable'-conforming class 'GraphQLJSONEncoder' is mutable; this is an error in the Swift 6 language mode
186 |
187 | /// The output format to produce. Defaults to `[]`.
188 | open var outputFormatting: OutputFormatting = []
| `- warning: stored property 'outputFormatting' of 'Sendable'-conforming class 'GraphQLJSONEncoder' is mutable; this is an error in the Swift 6 language mode
189 |
190 | /// The strategy to use in encoding dates. Defaults to `.deferredToDate`.
[2400/2435] Compiling Pioneer EnvironmentVariables.swift
/host/spi-builder-workspace/Sources/Pioneer/Vapor/Extensions/Request/GraphQLJSONEncoder+ContentEncoder.swift:11:1: warning: conformance to 'Sendable' must occur in the same source file as class 'GraphQLJSONEncoder'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
9 | import Vapor
10 |
11 | extension GraphQLJSONEncoder: Vapor.ContentEncoder {
| `- warning: conformance to 'Sendable' must occur in the same source file as class 'GraphQLJSONEncoder'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
12 | public func encode<E>(_ encodable: E, to body: inout NIOCore.ByteBuffer, headers: inout NIOHTTP1.HTTPHeaders) throws where E: Encodable {
13 | headers.contentType = .json
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:188:14: warning: stored property 'outputFormatting' of 'Sendable'-conforming class 'GraphQLJSONEncoder' is mutable; this is an error in the Swift 6 language mode
186 |
187 | /// The output format to produce. Defaults to `[]`.
188 | open var outputFormatting: OutputFormatting = []
| `- warning: stored property 'outputFormatting' of 'Sendable'-conforming class 'GraphQLJSONEncoder' is mutable; this is an error in the Swift 6 language mode
189 |
190 | /// The strategy to use in encoding dates. Defaults to `.deferredToDate`.
[2401/2435] Compiling Pioneer GraphQLJSONEncoder+ContentEncoder.swift
/host/spi-builder-workspace/Sources/Pioneer/Vapor/Extensions/Request/GraphQLJSONEncoder+ContentEncoder.swift:11:1: warning: conformance to 'Sendable' must occur in the same source file as class 'GraphQLJSONEncoder'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
9 | import Vapor
10 |
11 | extension GraphQLJSONEncoder: Vapor.ContentEncoder {
| `- warning: conformance to 'Sendable' must occur in the same source file as class 'GraphQLJSONEncoder'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
12 | public func encode<E>(_ encodable: E, to body: inout NIOCore.ByteBuffer, headers: inout NIOHTTP1.HTTPHeaders) throws where E: Encodable {
13 | headers.contentType = .json
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:188:14: warning: stored property 'outputFormatting' of 'Sendable'-conforming class 'GraphQLJSONEncoder' is mutable; this is an error in the Swift 6 language mode
186 |
187 | /// The output format to produce. Defaults to `[]`.
188 | open var outputFormatting: OutputFormatting = []
| `- warning: stored property 'outputFormatting' of 'Sendable'-conforming class 'GraphQLJSONEncoder' is mutable; this is an error in the Swift 6 language mode
189 |
190 | /// The strategy to use in encoding dates. Defaults to `.deferredToDate`.
[2402/2435] Compiling Pioneer Request+GraphQLRequest.swift
/host/spi-builder-workspace/Sources/Pioneer/Vapor/Extensions/Request/GraphQLJSONEncoder+ContentEncoder.swift:11:1: warning: conformance to 'Sendable' must occur in the same source file as class 'GraphQLJSONEncoder'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
9 | import Vapor
10 |
11 | extension GraphQLJSONEncoder: Vapor.ContentEncoder {
| `- warning: conformance to 'Sendable' must occur in the same source file as class 'GraphQLJSONEncoder'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
12 | public func encode<E>(_ encodable: E, to body: inout NIOCore.ByteBuffer, headers: inout NIOHTTP1.HTTPHeaders) throws where E: Encodable {
13 | headers.contentType = .json
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:188:14: warning: stored property 'outputFormatting' of 'Sendable'-conforming class 'GraphQLJSONEncoder' is mutable; this is an error in the Swift 6 language mode
186 |
187 | /// The output format to produce. Defaults to `[]`.
188 | open var outputFormatting: OutputFormatting = []
| `- warning: stored property 'outputFormatting' of 'Sendable'-conforming class 'GraphQLJSONEncoder' is mutable; this is an error in the Swift 6 language mode
189 |
190 | /// The strategy to use in encoding dates. Defaults to `.deferredToDate`.
[2403/2435] Compiling Pioneer Request+PathComponent.swift
/host/spi-builder-workspace/Sources/Pioneer/Vapor/Extensions/Request/GraphQLJSONEncoder+ContentEncoder.swift:11:1: warning: conformance to 'Sendable' must occur in the same source file as class 'GraphQLJSONEncoder'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
9 | import Vapor
10 |
11 | extension GraphQLJSONEncoder: Vapor.ContentEncoder {
| `- warning: conformance to 'Sendable' must occur in the same source file as class 'GraphQLJSONEncoder'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
12 | public func encode<E>(_ encodable: E, to body: inout NIOCore.ByteBuffer, headers: inout NIOHTTP1.HTTPHeaders) throws where E: Encodable {
13 | headers.contentType = .json
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:188:14: warning: stored property 'outputFormatting' of 'Sendable'-conforming class 'GraphQLJSONEncoder' is mutable; this is an error in the Swift 6 language mode
186 |
187 | /// The output format to produce. Defaults to `[]`.
188 | open var outputFormatting: OutputFormatting = []
| `- warning: stored property 'outputFormatting' of 'Sendable'-conforming class 'GraphQLJSONEncoder' is mutable; this is an error in the Swift 6 language mode
189 |
190 | /// The strategy to use in encoding dates. Defaults to `.deferredToDate`.
[2404/2435] Compiling Pioneer Request+WebSocket.swift
[2405/2435] Compiling Pioneer Request+WebsocketContext.swift
[2406/2435] Compiling Pioneer GraphQLResult+Content.swift
[2407/2435] Compiling Pioneer Response+GraphQLError.swift
[2408/2435] Compiling Pioneer WebSocket+WebSocketable.swift
[2409/2435] Compiling Pioneer Pioneer+Http.swift
[2410/2435] Compiling Pioneer Pioneer+IDE.swift
[2411/2435] Compiling Pioneer Pioneer+Standalone.swift
[2412/2435] Compiling Pioneer Data+Json.swift
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:29:27: warning: capture of 'function' with non-sendable type 'AsyncAwaitResolveWithEventLoop<ObjectType, Context, Arguments, FieldType>' (aka '(ObjectType) -> (Context, Arguments, any EventLoopGroup) async -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
27 | { context, arguments, eventLoopGroup in
28 | eventLoopGroup.makeFutureWithTask {
29 | await function(type)(context, arguments, eventLoopGroup)
| |- warning: capture of 'function' with non-sendable type 'AsyncAwaitResolveWithEventLoop<ObjectType, Context, Arguments, FieldType>' (aka '(ObjectType) -> (Context, Arguments, any EventLoopGroup) async -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
30 | }
31 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:29:36: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
27 | { context, arguments, eventLoopGroup in
28 | eventLoopGroup.makeFutureWithTask {
29 | await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
30 | }
31 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:29:42: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
27 | { context, arguments, eventLoopGroup in
28 | eventLoopGroup.makeFutureWithTask {
29 | await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
30 | }
31 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:29:51: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
27 | { context, arguments, eventLoopGroup in
28 | eventLoopGroup.makeFutureWithTask {
29 | await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
30 | }
31 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:43:27: warning: capture of 'function' with non-sendable type 'AsyncAwaitResolveWithEventLoop<ObjectType, Context, NoArguments, FieldType>' (aka '(ObjectType) -> (Context, NoArguments, any EventLoopGroup) async -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | { context, arguments, eventLoopGroup in
42 | eventLoopGroup.makeFutureWithTask {
43 | await function(type)(context, arguments, eventLoopGroup)
| |- warning: capture of 'function' with non-sendable type 'AsyncAwaitResolveWithEventLoop<ObjectType, Context, NoArguments, FieldType>' (aka '(ObjectType) -> (Context, NoArguments, any EventLoopGroup) async -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
44 | }
45 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:43:36: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | { context, arguments, eventLoopGroup in
42 | eventLoopGroup.makeFutureWithTask {
43 | await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
44 | }
45 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:43:42: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | { context, arguments, eventLoopGroup in
42 | eventLoopGroup.makeFutureWithTask {
43 | await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
44 | }
45 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:43:51: warning: capture of 'arguments' with non-sendable type 'NoArguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | { context, arguments, eventLoopGroup in
42 | eventLoopGroup.makeFutureWithTask {
43 | await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'arguments' with non-sendable type 'NoArguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
44 | }
45 | }
/host/spi-builder-workspace/.build/checkouts/Graphiti/Sources/Graphiti/Argument/NoArguments.swift:1:15: note: struct 'NoArguments' does not conform to the 'Sendable' protocol
1 | public struct NoArguments: Decodable {
| `- note: struct 'NoArguments' does not conform to the 'Sendable' protocol
2 | public init() {}
3 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Graphiti'
6 | //
7 |
8 | import Graphiti
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Graphiti'
9 | import GraphQL
10 | import protocol NIO.EventLoopGroup
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:60:31: warning: capture of 'function' with non-sendable type 'AsyncAwaitThrowingResolveWithEventLoop<ObjectType, Context, Arguments, FieldType>' (aka '(ObjectType) -> (Context, Arguments, any EventLoopGroup) async throws -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
58 | { context, arguments, eventLoopGroup in
59 | eventLoopGroup.makeFutureWithTask {
60 | try await function(type)(context, arguments, eventLoopGroup)
| |- warning: capture of 'function' with non-sendable type 'AsyncAwaitThrowingResolveWithEventLoop<ObjectType, Context, Arguments, FieldType>' (aka '(ObjectType) -> (Context, Arguments, any EventLoopGroup) async throws -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
61 | }
62 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:60:40: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
58 | { context, arguments, eventLoopGroup in
59 | eventLoopGroup.makeFutureWithTask {
60 | try await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
61 | }
62 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:60:46: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
58 | { context, arguments, eventLoopGroup in
59 | eventLoopGroup.makeFutureWithTask {
60 | try await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
61 | }
62 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:60:55: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
58 | { context, arguments, eventLoopGroup in
59 | eventLoopGroup.makeFutureWithTask {
60 | try await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
61 | }
62 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:74:31: warning: capture of 'function' with non-sendable type 'AsyncAwaitThrowingResolveWithEventLoop<ObjectType, Context, NoArguments, FieldType>' (aka '(ObjectType) -> (Context, NoArguments, any EventLoopGroup) async throws -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
72 | { context, arguments, eventLoopGroup in
73 | eventLoopGroup.makeFutureWithTask {
74 | try await function(type)(context, arguments, eventLoopGroup)
| |- warning: capture of 'function' with non-sendable type 'AsyncAwaitThrowingResolveWithEventLoop<ObjectType, Context, NoArguments, FieldType>' (aka '(ObjectType) -> (Context, NoArguments, any EventLoopGroup) async throws -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
75 | }
76 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:74:40: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
72 | { context, arguments, eventLoopGroup in
73 | eventLoopGroup.makeFutureWithTask {
74 | try await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
75 | }
76 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:74:46: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
72 | { context, arguments, eventLoopGroup in
73 | eventLoopGroup.makeFutureWithTask {
74 | try await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
75 | }
76 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:74:55: warning: capture of 'arguments' with non-sendable type 'NoArguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
72 | { context, arguments, eventLoopGroup in
73 | eventLoopGroup.makeFutureWithTask {
74 | try await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'arguments' with non-sendable type 'NoArguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
75 | }
76 | }
/host/spi-builder-workspace/.build/checkouts/Graphiti/Sources/Graphiti/Argument/NoArguments.swift:1:15: note: struct 'NoArguments' does not conform to the 'Sendable' protocol
1 | public struct NoArguments: Decodable {
| `- note: struct 'NoArguments' does not conform to the 'Sendable' protocol
2 | public init() {}
3 | }
[2413/2435] Compiling Pioneer BuiltinTypes.swift
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:29:27: warning: capture of 'function' with non-sendable type 'AsyncAwaitResolveWithEventLoop<ObjectType, Context, Arguments, FieldType>' (aka '(ObjectType) -> (Context, Arguments, any EventLoopGroup) async -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
27 | { context, arguments, eventLoopGroup in
28 | eventLoopGroup.makeFutureWithTask {
29 | await function(type)(context, arguments, eventLoopGroup)
| |- warning: capture of 'function' with non-sendable type 'AsyncAwaitResolveWithEventLoop<ObjectType, Context, Arguments, FieldType>' (aka '(ObjectType) -> (Context, Arguments, any EventLoopGroup) async -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
30 | }
31 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:29:36: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
27 | { context, arguments, eventLoopGroup in
28 | eventLoopGroup.makeFutureWithTask {
29 | await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
30 | }
31 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:29:42: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
27 | { context, arguments, eventLoopGroup in
28 | eventLoopGroup.makeFutureWithTask {
29 | await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
30 | }
31 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:29:51: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
27 | { context, arguments, eventLoopGroup in
28 | eventLoopGroup.makeFutureWithTask {
29 | await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
30 | }
31 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:43:27: warning: capture of 'function' with non-sendable type 'AsyncAwaitResolveWithEventLoop<ObjectType, Context, NoArguments, FieldType>' (aka '(ObjectType) -> (Context, NoArguments, any EventLoopGroup) async -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | { context, arguments, eventLoopGroup in
42 | eventLoopGroup.makeFutureWithTask {
43 | await function(type)(context, arguments, eventLoopGroup)
| |- warning: capture of 'function' with non-sendable type 'AsyncAwaitResolveWithEventLoop<ObjectType, Context, NoArguments, FieldType>' (aka '(ObjectType) -> (Context, NoArguments, any EventLoopGroup) async -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
44 | }
45 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:43:36: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | { context, arguments, eventLoopGroup in
42 | eventLoopGroup.makeFutureWithTask {
43 | await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
44 | }
45 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:43:42: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | { context, arguments, eventLoopGroup in
42 | eventLoopGroup.makeFutureWithTask {
43 | await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
44 | }
45 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:43:51: warning: capture of 'arguments' with non-sendable type 'NoArguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | { context, arguments, eventLoopGroup in
42 | eventLoopGroup.makeFutureWithTask {
43 | await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'arguments' with non-sendable type 'NoArguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
44 | }
45 | }
/host/spi-builder-workspace/.build/checkouts/Graphiti/Sources/Graphiti/Argument/NoArguments.swift:1:15: note: struct 'NoArguments' does not conform to the 'Sendable' protocol
1 | public struct NoArguments: Decodable {
| `- note: struct 'NoArguments' does not conform to the 'Sendable' protocol
2 | public init() {}
3 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Graphiti'
6 | //
7 |
8 | import Graphiti
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Graphiti'
9 | import GraphQL
10 | import protocol NIO.EventLoopGroup
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:60:31: warning: capture of 'function' with non-sendable type 'AsyncAwaitThrowingResolveWithEventLoop<ObjectType, Context, Arguments, FieldType>' (aka '(ObjectType) -> (Context, Arguments, any EventLoopGroup) async throws -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
58 | { context, arguments, eventLoopGroup in
59 | eventLoopGroup.makeFutureWithTask {
60 | try await function(type)(context, arguments, eventLoopGroup)
| |- warning: capture of 'function' with non-sendable type 'AsyncAwaitThrowingResolveWithEventLoop<ObjectType, Context, Arguments, FieldType>' (aka '(ObjectType) -> (Context, Arguments, any EventLoopGroup) async throws -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
61 | }
62 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:60:40: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
58 | { context, arguments, eventLoopGroup in
59 | eventLoopGroup.makeFutureWithTask {
60 | try await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
61 | }
62 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:60:46: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
58 | { context, arguments, eventLoopGroup in
59 | eventLoopGroup.makeFutureWithTask {
60 | try await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
61 | }
62 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:60:55: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
58 | { context, arguments, eventLoopGroup in
59 | eventLoopGroup.makeFutureWithTask {
60 | try await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
61 | }
62 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:74:31: warning: capture of 'function' with non-sendable type 'AsyncAwaitThrowingResolveWithEventLoop<ObjectType, Context, NoArguments, FieldType>' (aka '(ObjectType) -> (Context, NoArguments, any EventLoopGroup) async throws -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
72 | { context, arguments, eventLoopGroup in
73 | eventLoopGroup.makeFutureWithTask {
74 | try await function(type)(context, arguments, eventLoopGroup)
| |- warning: capture of 'function' with non-sendable type 'AsyncAwaitThrowingResolveWithEventLoop<ObjectType, Context, NoArguments, FieldType>' (aka '(ObjectType) -> (Context, NoArguments, any EventLoopGroup) async throws -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
75 | }
76 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:74:40: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
72 | { context, arguments, eventLoopGroup in
73 | eventLoopGroup.makeFutureWithTask {
74 | try await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
75 | }
76 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:74:46: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
72 | { context, arguments, eventLoopGroup in
73 | eventLoopGroup.makeFutureWithTask {
74 | try await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
75 | }
76 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:74:55: warning: capture of 'arguments' with non-sendable type 'NoArguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
72 | { context, arguments, eventLoopGroup in
73 | eventLoopGroup.makeFutureWithTask {
74 | try await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'arguments' with non-sendable type 'NoArguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
75 | }
76 | }
/host/spi-builder-workspace/.build/checkouts/Graphiti/Sources/Graphiti/Argument/NoArguments.swift:1:15: note: struct 'NoArguments' does not conform to the 'Sendable' protocol
1 | public struct NoArguments: Decodable {
| `- note: struct 'NoArguments' does not conform to the 'Sendable' protocol
2 | public init() {}
3 | }
[2414/2435] Compiling Pioneer Field+AsyncAwait.swift
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:29:27: warning: capture of 'function' with non-sendable type 'AsyncAwaitResolveWithEventLoop<ObjectType, Context, Arguments, FieldType>' (aka '(ObjectType) -> (Context, Arguments, any EventLoopGroup) async -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
27 | { context, arguments, eventLoopGroup in
28 | eventLoopGroup.makeFutureWithTask {
29 | await function(type)(context, arguments, eventLoopGroup)
| |- warning: capture of 'function' with non-sendable type 'AsyncAwaitResolveWithEventLoop<ObjectType, Context, Arguments, FieldType>' (aka '(ObjectType) -> (Context, Arguments, any EventLoopGroup) async -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
30 | }
31 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:29:36: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
27 | { context, arguments, eventLoopGroup in
28 | eventLoopGroup.makeFutureWithTask {
29 | await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
30 | }
31 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:29:42: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
27 | { context, arguments, eventLoopGroup in
28 | eventLoopGroup.makeFutureWithTask {
29 | await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
30 | }
31 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:29:51: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
27 | { context, arguments, eventLoopGroup in
28 | eventLoopGroup.makeFutureWithTask {
29 | await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
30 | }
31 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:43:27: warning: capture of 'function' with non-sendable type 'AsyncAwaitResolveWithEventLoop<ObjectType, Context, NoArguments, FieldType>' (aka '(ObjectType) -> (Context, NoArguments, any EventLoopGroup) async -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | { context, arguments, eventLoopGroup in
42 | eventLoopGroup.makeFutureWithTask {
43 | await function(type)(context, arguments, eventLoopGroup)
| |- warning: capture of 'function' with non-sendable type 'AsyncAwaitResolveWithEventLoop<ObjectType, Context, NoArguments, FieldType>' (aka '(ObjectType) -> (Context, NoArguments, any EventLoopGroup) async -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
44 | }
45 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:43:36: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | { context, arguments, eventLoopGroup in
42 | eventLoopGroup.makeFutureWithTask {
43 | await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
44 | }
45 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:43:42: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | { context, arguments, eventLoopGroup in
42 | eventLoopGroup.makeFutureWithTask {
43 | await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
44 | }
45 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:43:51: warning: capture of 'arguments' with non-sendable type 'NoArguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | { context, arguments, eventLoopGroup in
42 | eventLoopGroup.makeFutureWithTask {
43 | await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'arguments' with non-sendable type 'NoArguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
44 | }
45 | }
/host/spi-builder-workspace/.build/checkouts/Graphiti/Sources/Graphiti/Argument/NoArguments.swift:1:15: note: struct 'NoArguments' does not conform to the 'Sendable' protocol
1 | public struct NoArguments: Decodable {
| `- note: struct 'NoArguments' does not conform to the 'Sendable' protocol
2 | public init() {}
3 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Graphiti'
6 | //
7 |
8 | import Graphiti
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Graphiti'
9 | import GraphQL
10 | import protocol NIO.EventLoopGroup
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:60:31: warning: capture of 'function' with non-sendable type 'AsyncAwaitThrowingResolveWithEventLoop<ObjectType, Context, Arguments, FieldType>' (aka '(ObjectType) -> (Context, Arguments, any EventLoopGroup) async throws -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
58 | { context, arguments, eventLoopGroup in
59 | eventLoopGroup.makeFutureWithTask {
60 | try await function(type)(context, arguments, eventLoopGroup)
| |- warning: capture of 'function' with non-sendable type 'AsyncAwaitThrowingResolveWithEventLoop<ObjectType, Context, Arguments, FieldType>' (aka '(ObjectType) -> (Context, Arguments, any EventLoopGroup) async throws -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
61 | }
62 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:60:40: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
58 | { context, arguments, eventLoopGroup in
59 | eventLoopGroup.makeFutureWithTask {
60 | try await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
61 | }
62 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:60:46: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
58 | { context, arguments, eventLoopGroup in
59 | eventLoopGroup.makeFutureWithTask {
60 | try await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
61 | }
62 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:60:55: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
58 | { context, arguments, eventLoopGroup in
59 | eventLoopGroup.makeFutureWithTask {
60 | try await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
61 | }
62 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:74:31: warning: capture of 'function' with non-sendable type 'AsyncAwaitThrowingResolveWithEventLoop<ObjectType, Context, NoArguments, FieldType>' (aka '(ObjectType) -> (Context, NoArguments, any EventLoopGroup) async throws -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
72 | { context, arguments, eventLoopGroup in
73 | eventLoopGroup.makeFutureWithTask {
74 | try await function(type)(context, arguments, eventLoopGroup)
| |- warning: capture of 'function' with non-sendable type 'AsyncAwaitThrowingResolveWithEventLoop<ObjectType, Context, NoArguments, FieldType>' (aka '(ObjectType) -> (Context, NoArguments, any EventLoopGroup) async throws -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
75 | }
76 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:74:40: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
72 | { context, arguments, eventLoopGroup in
73 | eventLoopGroup.makeFutureWithTask {
74 | try await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
75 | }
76 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:74:46: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
72 | { context, arguments, eventLoopGroup in
73 | eventLoopGroup.makeFutureWithTask {
74 | try await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
75 | }
76 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:74:55: warning: capture of 'arguments' with non-sendable type 'NoArguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
72 | { context, arguments, eventLoopGroup in
73 | eventLoopGroup.makeFutureWithTask {
74 | try await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'arguments' with non-sendable type 'NoArguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
75 | }
76 | }
/host/spi-builder-workspace/.build/checkouts/Graphiti/Sources/Graphiti/Argument/NoArguments.swift:1:15: note: struct 'NoArguments' does not conform to the 'Sendable' protocol
1 | public struct NoArguments: Decodable {
| `- note: struct 'NoArguments' does not conform to the 'Sendable' protocol
2 | public init() {}
3 | }
[2415/2435] Compiling Pioneer Field+Middleware.swift
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:29:27: warning: capture of 'function' with non-sendable type 'AsyncAwaitResolveWithEventLoop<ObjectType, Context, Arguments, FieldType>' (aka '(ObjectType) -> (Context, Arguments, any EventLoopGroup) async -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
27 | { context, arguments, eventLoopGroup in
28 | eventLoopGroup.makeFutureWithTask {
29 | await function(type)(context, arguments, eventLoopGroup)
| |- warning: capture of 'function' with non-sendable type 'AsyncAwaitResolveWithEventLoop<ObjectType, Context, Arguments, FieldType>' (aka '(ObjectType) -> (Context, Arguments, any EventLoopGroup) async -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
30 | }
31 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:29:36: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
27 | { context, arguments, eventLoopGroup in
28 | eventLoopGroup.makeFutureWithTask {
29 | await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
30 | }
31 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:29:42: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
27 | { context, arguments, eventLoopGroup in
28 | eventLoopGroup.makeFutureWithTask {
29 | await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
30 | }
31 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:29:51: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
27 | { context, arguments, eventLoopGroup in
28 | eventLoopGroup.makeFutureWithTask {
29 | await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
30 | }
31 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:43:27: warning: capture of 'function' with non-sendable type 'AsyncAwaitResolveWithEventLoop<ObjectType, Context, NoArguments, FieldType>' (aka '(ObjectType) -> (Context, NoArguments, any EventLoopGroup) async -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | { context, arguments, eventLoopGroup in
42 | eventLoopGroup.makeFutureWithTask {
43 | await function(type)(context, arguments, eventLoopGroup)
| |- warning: capture of 'function' with non-sendable type 'AsyncAwaitResolveWithEventLoop<ObjectType, Context, NoArguments, FieldType>' (aka '(ObjectType) -> (Context, NoArguments, any EventLoopGroup) async -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
44 | }
45 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:43:36: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | { context, arguments, eventLoopGroup in
42 | eventLoopGroup.makeFutureWithTask {
43 | await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
44 | }
45 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:43:42: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | { context, arguments, eventLoopGroup in
42 | eventLoopGroup.makeFutureWithTask {
43 | await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
44 | }
45 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:43:51: warning: capture of 'arguments' with non-sendable type 'NoArguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | { context, arguments, eventLoopGroup in
42 | eventLoopGroup.makeFutureWithTask {
43 | await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'arguments' with non-sendable type 'NoArguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
44 | }
45 | }
/host/spi-builder-workspace/.build/checkouts/Graphiti/Sources/Graphiti/Argument/NoArguments.swift:1:15: note: struct 'NoArguments' does not conform to the 'Sendable' protocol
1 | public struct NoArguments: Decodable {
| `- note: struct 'NoArguments' does not conform to the 'Sendable' protocol
2 | public init() {}
3 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Graphiti'
6 | //
7 |
8 | import Graphiti
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Graphiti'
9 | import GraphQL
10 | import protocol NIO.EventLoopGroup
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:60:31: warning: capture of 'function' with non-sendable type 'AsyncAwaitThrowingResolveWithEventLoop<ObjectType, Context, Arguments, FieldType>' (aka '(ObjectType) -> (Context, Arguments, any EventLoopGroup) async throws -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
58 | { context, arguments, eventLoopGroup in
59 | eventLoopGroup.makeFutureWithTask {
60 | try await function(type)(context, arguments, eventLoopGroup)
| |- warning: capture of 'function' with non-sendable type 'AsyncAwaitThrowingResolveWithEventLoop<ObjectType, Context, Arguments, FieldType>' (aka '(ObjectType) -> (Context, Arguments, any EventLoopGroup) async throws -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
61 | }
62 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:60:40: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
58 | { context, arguments, eventLoopGroup in
59 | eventLoopGroup.makeFutureWithTask {
60 | try await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
61 | }
62 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:60:46: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
58 | { context, arguments, eventLoopGroup in
59 | eventLoopGroup.makeFutureWithTask {
60 | try await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
61 | }
62 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:60:55: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
58 | { context, arguments, eventLoopGroup in
59 | eventLoopGroup.makeFutureWithTask {
60 | try await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
61 | }
62 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:74:31: warning: capture of 'function' with non-sendable type 'AsyncAwaitThrowingResolveWithEventLoop<ObjectType, Context, NoArguments, FieldType>' (aka '(ObjectType) -> (Context, NoArguments, any EventLoopGroup) async throws -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
72 | { context, arguments, eventLoopGroup in
73 | eventLoopGroup.makeFutureWithTask {
74 | try await function(type)(context, arguments, eventLoopGroup)
| |- warning: capture of 'function' with non-sendable type 'AsyncAwaitThrowingResolveWithEventLoop<ObjectType, Context, NoArguments, FieldType>' (aka '(ObjectType) -> (Context, NoArguments, any EventLoopGroup) async throws -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
75 | }
76 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:74:40: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
72 | { context, arguments, eventLoopGroup in
73 | eventLoopGroup.makeFutureWithTask {
74 | try await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
75 | }
76 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:74:46: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
72 | { context, arguments, eventLoopGroup in
73 | eventLoopGroup.makeFutureWithTask {
74 | try await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
75 | }
76 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:74:55: warning: capture of 'arguments' with non-sendable type 'NoArguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
72 | { context, arguments, eventLoopGroup in
73 | eventLoopGroup.makeFutureWithTask {
74 | try await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'arguments' with non-sendable type 'NoArguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
75 | }
76 | }
/host/spi-builder-workspace/.build/checkouts/Graphiti/Sources/Graphiti/Argument/NoArguments.swift:1:15: note: struct 'NoArguments' does not conform to the 'Sendable' protocol
1 | public struct NoArguments: Decodable {
| `- note: struct 'NoArguments' does not conform to the 'Sendable' protocol
2 | public init() {}
3 | }
[2416/2435] Compiling Pioneer GraphQL+Execution.swift
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:29:27: warning: capture of 'function' with non-sendable type 'AsyncAwaitResolveWithEventLoop<ObjectType, Context, Arguments, FieldType>' (aka '(ObjectType) -> (Context, Arguments, any EventLoopGroup) async -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
27 | { context, arguments, eventLoopGroup in
28 | eventLoopGroup.makeFutureWithTask {
29 | await function(type)(context, arguments, eventLoopGroup)
| |- warning: capture of 'function' with non-sendable type 'AsyncAwaitResolveWithEventLoop<ObjectType, Context, Arguments, FieldType>' (aka '(ObjectType) -> (Context, Arguments, any EventLoopGroup) async -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
30 | }
31 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:29:36: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
27 | { context, arguments, eventLoopGroup in
28 | eventLoopGroup.makeFutureWithTask {
29 | await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
30 | }
31 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:29:42: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
27 | { context, arguments, eventLoopGroup in
28 | eventLoopGroup.makeFutureWithTask {
29 | await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
30 | }
31 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:29:51: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
27 | { context, arguments, eventLoopGroup in
28 | eventLoopGroup.makeFutureWithTask {
29 | await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
30 | }
31 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:43:27: warning: capture of 'function' with non-sendable type 'AsyncAwaitResolveWithEventLoop<ObjectType, Context, NoArguments, FieldType>' (aka '(ObjectType) -> (Context, NoArguments, any EventLoopGroup) async -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | { context, arguments, eventLoopGroup in
42 | eventLoopGroup.makeFutureWithTask {
43 | await function(type)(context, arguments, eventLoopGroup)
| |- warning: capture of 'function' with non-sendable type 'AsyncAwaitResolveWithEventLoop<ObjectType, Context, NoArguments, FieldType>' (aka '(ObjectType) -> (Context, NoArguments, any EventLoopGroup) async -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
44 | }
45 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:43:36: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | { context, arguments, eventLoopGroup in
42 | eventLoopGroup.makeFutureWithTask {
43 | await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
44 | }
45 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:43:42: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | { context, arguments, eventLoopGroup in
42 | eventLoopGroup.makeFutureWithTask {
43 | await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
44 | }
45 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:43:51: warning: capture of 'arguments' with non-sendable type 'NoArguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | { context, arguments, eventLoopGroup in
42 | eventLoopGroup.makeFutureWithTask {
43 | await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'arguments' with non-sendable type 'NoArguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
44 | }
45 | }
/host/spi-builder-workspace/.build/checkouts/Graphiti/Sources/Graphiti/Argument/NoArguments.swift:1:15: note: struct 'NoArguments' does not conform to the 'Sendable' protocol
1 | public struct NoArguments: Decodable {
| `- note: struct 'NoArguments' does not conform to the 'Sendable' protocol
2 | public init() {}
3 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Graphiti'
6 | //
7 |
8 | import Graphiti
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Graphiti'
9 | import GraphQL
10 | import protocol NIO.EventLoopGroup
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:60:31: warning: capture of 'function' with non-sendable type 'AsyncAwaitThrowingResolveWithEventLoop<ObjectType, Context, Arguments, FieldType>' (aka '(ObjectType) -> (Context, Arguments, any EventLoopGroup) async throws -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
58 | { context, arguments, eventLoopGroup in
59 | eventLoopGroup.makeFutureWithTask {
60 | try await function(type)(context, arguments, eventLoopGroup)
| |- warning: capture of 'function' with non-sendable type 'AsyncAwaitThrowingResolveWithEventLoop<ObjectType, Context, Arguments, FieldType>' (aka '(ObjectType) -> (Context, Arguments, any EventLoopGroup) async throws -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
61 | }
62 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:60:40: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
58 | { context, arguments, eventLoopGroup in
59 | eventLoopGroup.makeFutureWithTask {
60 | try await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
61 | }
62 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:60:46: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
58 | { context, arguments, eventLoopGroup in
59 | eventLoopGroup.makeFutureWithTask {
60 | try await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
61 | }
62 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:60:55: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
58 | { context, arguments, eventLoopGroup in
59 | eventLoopGroup.makeFutureWithTask {
60 | try await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
61 | }
62 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:74:31: warning: capture of 'function' with non-sendable type 'AsyncAwaitThrowingResolveWithEventLoop<ObjectType, Context, NoArguments, FieldType>' (aka '(ObjectType) -> (Context, NoArguments, any EventLoopGroup) async throws -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
72 | { context, arguments, eventLoopGroup in
73 | eventLoopGroup.makeFutureWithTask {
74 | try await function(type)(context, arguments, eventLoopGroup)
| |- warning: capture of 'function' with non-sendable type 'AsyncAwaitThrowingResolveWithEventLoop<ObjectType, Context, NoArguments, FieldType>' (aka '(ObjectType) -> (Context, NoArguments, any EventLoopGroup) async throws -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
75 | }
76 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:74:40: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
72 | { context, arguments, eventLoopGroup in
73 | eventLoopGroup.makeFutureWithTask {
74 | try await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
75 | }
76 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:74:46: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
72 | { context, arguments, eventLoopGroup in
73 | eventLoopGroup.makeFutureWithTask {
74 | try await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
75 | }
76 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:74:55: warning: capture of 'arguments' with non-sendable type 'NoArguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
72 | { context, arguments, eventLoopGroup in
73 | eventLoopGroup.makeFutureWithTask {
74 | try await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'arguments' with non-sendable type 'NoArguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
75 | }
76 | }
/host/spi-builder-workspace/.build/checkouts/Graphiti/Sources/Graphiti/Argument/NoArguments.swift:1:15: note: struct 'NoArguments' does not conform to the 'Sendable' protocol
1 | public struct NoArguments: Decodable {
| `- note: struct 'NoArguments' does not conform to the 'Sendable' protocol
2 | public init() {}
3 | }
[2417/2435] Compiling Pioneer GraphQLError+Error.swift
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:29:27: warning: capture of 'function' with non-sendable type 'AsyncAwaitResolveWithEventLoop<ObjectType, Context, Arguments, FieldType>' (aka '(ObjectType) -> (Context, Arguments, any EventLoopGroup) async -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
27 | { context, arguments, eventLoopGroup in
28 | eventLoopGroup.makeFutureWithTask {
29 | await function(type)(context, arguments, eventLoopGroup)
| |- warning: capture of 'function' with non-sendable type 'AsyncAwaitResolveWithEventLoop<ObjectType, Context, Arguments, FieldType>' (aka '(ObjectType) -> (Context, Arguments, any EventLoopGroup) async -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
30 | }
31 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:29:36: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
27 | { context, arguments, eventLoopGroup in
28 | eventLoopGroup.makeFutureWithTask {
29 | await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
30 | }
31 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:29:42: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
27 | { context, arguments, eventLoopGroup in
28 | eventLoopGroup.makeFutureWithTask {
29 | await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
30 | }
31 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:29:51: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
27 | { context, arguments, eventLoopGroup in
28 | eventLoopGroup.makeFutureWithTask {
29 | await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
30 | }
31 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:43:27: warning: capture of 'function' with non-sendable type 'AsyncAwaitResolveWithEventLoop<ObjectType, Context, NoArguments, FieldType>' (aka '(ObjectType) -> (Context, NoArguments, any EventLoopGroup) async -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | { context, arguments, eventLoopGroup in
42 | eventLoopGroup.makeFutureWithTask {
43 | await function(type)(context, arguments, eventLoopGroup)
| |- warning: capture of 'function' with non-sendable type 'AsyncAwaitResolveWithEventLoop<ObjectType, Context, NoArguments, FieldType>' (aka '(ObjectType) -> (Context, NoArguments, any EventLoopGroup) async -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
44 | }
45 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:43:36: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | { context, arguments, eventLoopGroup in
42 | eventLoopGroup.makeFutureWithTask {
43 | await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
44 | }
45 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:43:42: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | { context, arguments, eventLoopGroup in
42 | eventLoopGroup.makeFutureWithTask {
43 | await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
44 | }
45 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:43:51: warning: capture of 'arguments' with non-sendable type 'NoArguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | { context, arguments, eventLoopGroup in
42 | eventLoopGroup.makeFutureWithTask {
43 | await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'arguments' with non-sendable type 'NoArguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
44 | }
45 | }
/host/spi-builder-workspace/.build/checkouts/Graphiti/Sources/Graphiti/Argument/NoArguments.swift:1:15: note: struct 'NoArguments' does not conform to the 'Sendable' protocol
1 | public struct NoArguments: Decodable {
| `- note: struct 'NoArguments' does not conform to the 'Sendable' protocol
2 | public init() {}
3 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Graphiti'
6 | //
7 |
8 | import Graphiti
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Graphiti'
9 | import GraphQL
10 | import protocol NIO.EventLoopGroup
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:60:31: warning: capture of 'function' with non-sendable type 'AsyncAwaitThrowingResolveWithEventLoop<ObjectType, Context, Arguments, FieldType>' (aka '(ObjectType) -> (Context, Arguments, any EventLoopGroup) async throws -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
58 | { context, arguments, eventLoopGroup in
59 | eventLoopGroup.makeFutureWithTask {
60 | try await function(type)(context, arguments, eventLoopGroup)
| |- warning: capture of 'function' with non-sendable type 'AsyncAwaitThrowingResolveWithEventLoop<ObjectType, Context, Arguments, FieldType>' (aka '(ObjectType) -> (Context, Arguments, any EventLoopGroup) async throws -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
61 | }
62 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:60:40: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
58 | { context, arguments, eventLoopGroup in
59 | eventLoopGroup.makeFutureWithTask {
60 | try await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
61 | }
62 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:60:46: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
58 | { context, arguments, eventLoopGroup in
59 | eventLoopGroup.makeFutureWithTask {
60 | try await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
61 | }
62 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:60:55: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
58 | { context, arguments, eventLoopGroup in
59 | eventLoopGroup.makeFutureWithTask {
60 | try await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
61 | }
62 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:74:31: warning: capture of 'function' with non-sendable type 'AsyncAwaitThrowingResolveWithEventLoop<ObjectType, Context, NoArguments, FieldType>' (aka '(ObjectType) -> (Context, NoArguments, any EventLoopGroup) async throws -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
72 | { context, arguments, eventLoopGroup in
73 | eventLoopGroup.makeFutureWithTask {
74 | try await function(type)(context, arguments, eventLoopGroup)
| |- warning: capture of 'function' with non-sendable type 'AsyncAwaitThrowingResolveWithEventLoop<ObjectType, Context, NoArguments, FieldType>' (aka '(ObjectType) -> (Context, NoArguments, any EventLoopGroup) async throws -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
75 | }
76 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:74:40: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
72 | { context, arguments, eventLoopGroup in
73 | eventLoopGroup.makeFutureWithTask {
74 | try await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
75 | }
76 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:74:46: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
72 | { context, arguments, eventLoopGroup in
73 | eventLoopGroup.makeFutureWithTask {
74 | try await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
75 | }
76 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:74:55: warning: capture of 'arguments' with non-sendable type 'NoArguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
72 | { context, arguments, eventLoopGroup in
73 | eventLoopGroup.makeFutureWithTask {
74 | try await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'arguments' with non-sendable type 'NoArguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
75 | }
76 | }
/host/spi-builder-workspace/.build/checkouts/Graphiti/Sources/Graphiti/Argument/NoArguments.swift:1:15: note: struct 'NoArguments' does not conform to the 'Sendable' protocol
1 | public struct NoArguments: Decodable {
| `- note: struct 'NoArguments' does not conform to the 'Sendable' protocol
2 | public init() {}
3 | }
[2418/2435] Compiling Pioneer GraphQLMessage.swift
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:29:27: warning: capture of 'function' with non-sendable type 'AsyncAwaitResolveWithEventLoop<ObjectType, Context, Arguments, FieldType>' (aka '(ObjectType) -> (Context, Arguments, any EventLoopGroup) async -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
27 | { context, arguments, eventLoopGroup in
28 | eventLoopGroup.makeFutureWithTask {
29 | await function(type)(context, arguments, eventLoopGroup)
| |- warning: capture of 'function' with non-sendable type 'AsyncAwaitResolveWithEventLoop<ObjectType, Context, Arguments, FieldType>' (aka '(ObjectType) -> (Context, Arguments, any EventLoopGroup) async -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
30 | }
31 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:29:36: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
27 | { context, arguments, eventLoopGroup in
28 | eventLoopGroup.makeFutureWithTask {
29 | await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
30 | }
31 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:29:42: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
27 | { context, arguments, eventLoopGroup in
28 | eventLoopGroup.makeFutureWithTask {
29 | await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
30 | }
31 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:29:51: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
27 | { context, arguments, eventLoopGroup in
28 | eventLoopGroup.makeFutureWithTask {
29 | await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
30 | }
31 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:43:27: warning: capture of 'function' with non-sendable type 'AsyncAwaitResolveWithEventLoop<ObjectType, Context, NoArguments, FieldType>' (aka '(ObjectType) -> (Context, NoArguments, any EventLoopGroup) async -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | { context, arguments, eventLoopGroup in
42 | eventLoopGroup.makeFutureWithTask {
43 | await function(type)(context, arguments, eventLoopGroup)
| |- warning: capture of 'function' with non-sendable type 'AsyncAwaitResolveWithEventLoop<ObjectType, Context, NoArguments, FieldType>' (aka '(ObjectType) -> (Context, NoArguments, any EventLoopGroup) async -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
44 | }
45 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:43:36: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | { context, arguments, eventLoopGroup in
42 | eventLoopGroup.makeFutureWithTask {
43 | await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
44 | }
45 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:43:42: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | { context, arguments, eventLoopGroup in
42 | eventLoopGroup.makeFutureWithTask {
43 | await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
44 | }
45 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:43:51: warning: capture of 'arguments' with non-sendable type 'NoArguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | { context, arguments, eventLoopGroup in
42 | eventLoopGroup.makeFutureWithTask {
43 | await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'arguments' with non-sendable type 'NoArguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
44 | }
45 | }
/host/spi-builder-workspace/.build/checkouts/Graphiti/Sources/Graphiti/Argument/NoArguments.swift:1:15: note: struct 'NoArguments' does not conform to the 'Sendable' protocol
1 | public struct NoArguments: Decodable {
| `- note: struct 'NoArguments' does not conform to the 'Sendable' protocol
2 | public init() {}
3 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Graphiti'
6 | //
7 |
8 | import Graphiti
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Graphiti'
9 | import GraphQL
10 | import protocol NIO.EventLoopGroup
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:60:31: warning: capture of 'function' with non-sendable type 'AsyncAwaitThrowingResolveWithEventLoop<ObjectType, Context, Arguments, FieldType>' (aka '(ObjectType) -> (Context, Arguments, any EventLoopGroup) async throws -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
58 | { context, arguments, eventLoopGroup in
59 | eventLoopGroup.makeFutureWithTask {
60 | try await function(type)(context, arguments, eventLoopGroup)
| |- warning: capture of 'function' with non-sendable type 'AsyncAwaitThrowingResolveWithEventLoop<ObjectType, Context, Arguments, FieldType>' (aka '(ObjectType) -> (Context, Arguments, any EventLoopGroup) async throws -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
61 | }
62 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:60:40: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
58 | { context, arguments, eventLoopGroup in
59 | eventLoopGroup.makeFutureWithTask {
60 | try await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
61 | }
62 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:60:46: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
58 | { context, arguments, eventLoopGroup in
59 | eventLoopGroup.makeFutureWithTask {
60 | try await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
61 | }
62 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:60:55: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
58 | { context, arguments, eventLoopGroup in
59 | eventLoopGroup.makeFutureWithTask {
60 | try await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
61 | }
62 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:74:31: warning: capture of 'function' with non-sendable type 'AsyncAwaitThrowingResolveWithEventLoop<ObjectType, Context, NoArguments, FieldType>' (aka '(ObjectType) -> (Context, NoArguments, any EventLoopGroup) async throws -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
72 | { context, arguments, eventLoopGroup in
73 | eventLoopGroup.makeFutureWithTask {
74 | try await function(type)(context, arguments, eventLoopGroup)
| |- warning: capture of 'function' with non-sendable type 'AsyncAwaitThrowingResolveWithEventLoop<ObjectType, Context, NoArguments, FieldType>' (aka '(ObjectType) -> (Context, NoArguments, any EventLoopGroup) async throws -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
75 | }
76 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:74:40: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
72 | { context, arguments, eventLoopGroup in
73 | eventLoopGroup.makeFutureWithTask {
74 | try await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
75 | }
76 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:74:46: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
72 | { context, arguments, eventLoopGroup in
73 | eventLoopGroup.makeFutureWithTask {
74 | try await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
75 | }
76 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:74:55: warning: capture of 'arguments' with non-sendable type 'NoArguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
72 | { context, arguments, eventLoopGroup in
73 | eventLoopGroup.makeFutureWithTask {
74 | try await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'arguments' with non-sendable type 'NoArguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
75 | }
76 | }
/host/spi-builder-workspace/.build/checkouts/Graphiti/Sources/Graphiti/Argument/NoArguments.swift:1:15: note: struct 'NoArguments' does not conform to the 'Sendable' protocol
1 | public struct NoArguments: Decodable {
| `- note: struct 'NoArguments' does not conform to the 'Sendable' protocol
2 | public init() {}
3 | }
[2419/2435] Compiling Pioneer GraphQLMiddleware.swift
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:29:27: warning: capture of 'function' with non-sendable type 'AsyncAwaitResolveWithEventLoop<ObjectType, Context, Arguments, FieldType>' (aka '(ObjectType) -> (Context, Arguments, any EventLoopGroup) async -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
27 | { context, arguments, eventLoopGroup in
28 | eventLoopGroup.makeFutureWithTask {
29 | await function(type)(context, arguments, eventLoopGroup)
| |- warning: capture of 'function' with non-sendable type 'AsyncAwaitResolveWithEventLoop<ObjectType, Context, Arguments, FieldType>' (aka '(ObjectType) -> (Context, Arguments, any EventLoopGroup) async -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
30 | }
31 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:29:36: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
27 | { context, arguments, eventLoopGroup in
28 | eventLoopGroup.makeFutureWithTask {
29 | await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
30 | }
31 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:29:42: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
27 | { context, arguments, eventLoopGroup in
28 | eventLoopGroup.makeFutureWithTask {
29 | await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
30 | }
31 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:29:51: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
27 | { context, arguments, eventLoopGroup in
28 | eventLoopGroup.makeFutureWithTask {
29 | await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
30 | }
31 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:43:27: warning: capture of 'function' with non-sendable type 'AsyncAwaitResolveWithEventLoop<ObjectType, Context, NoArguments, FieldType>' (aka '(ObjectType) -> (Context, NoArguments, any EventLoopGroup) async -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | { context, arguments, eventLoopGroup in
42 | eventLoopGroup.makeFutureWithTask {
43 | await function(type)(context, arguments, eventLoopGroup)
| |- warning: capture of 'function' with non-sendable type 'AsyncAwaitResolveWithEventLoop<ObjectType, Context, NoArguments, FieldType>' (aka '(ObjectType) -> (Context, NoArguments, any EventLoopGroup) async -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
44 | }
45 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:43:36: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | { context, arguments, eventLoopGroup in
42 | eventLoopGroup.makeFutureWithTask {
43 | await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
44 | }
45 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:43:42: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | { context, arguments, eventLoopGroup in
42 | eventLoopGroup.makeFutureWithTask {
43 | await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
44 | }
45 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:43:51: warning: capture of 'arguments' with non-sendable type 'NoArguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | { context, arguments, eventLoopGroup in
42 | eventLoopGroup.makeFutureWithTask {
43 | await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'arguments' with non-sendable type 'NoArguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
44 | }
45 | }
/host/spi-builder-workspace/.build/checkouts/Graphiti/Sources/Graphiti/Argument/NoArguments.swift:1:15: note: struct 'NoArguments' does not conform to the 'Sendable' protocol
1 | public struct NoArguments: Decodable {
| `- note: struct 'NoArguments' does not conform to the 'Sendable' protocol
2 | public init() {}
3 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Graphiti'
6 | //
7 |
8 | import Graphiti
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Graphiti'
9 | import GraphQL
10 | import protocol NIO.EventLoopGroup
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:60:31: warning: capture of 'function' with non-sendable type 'AsyncAwaitThrowingResolveWithEventLoop<ObjectType, Context, Arguments, FieldType>' (aka '(ObjectType) -> (Context, Arguments, any EventLoopGroup) async throws -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
58 | { context, arguments, eventLoopGroup in
59 | eventLoopGroup.makeFutureWithTask {
60 | try await function(type)(context, arguments, eventLoopGroup)
| |- warning: capture of 'function' with non-sendable type 'AsyncAwaitThrowingResolveWithEventLoop<ObjectType, Context, Arguments, FieldType>' (aka '(ObjectType) -> (Context, Arguments, any EventLoopGroup) async throws -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
61 | }
62 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:60:40: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
58 | { context, arguments, eventLoopGroup in
59 | eventLoopGroup.makeFutureWithTask {
60 | try await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
61 | }
62 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:60:46: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
58 | { context, arguments, eventLoopGroup in
59 | eventLoopGroup.makeFutureWithTask {
60 | try await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
61 | }
62 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:60:55: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
58 | { context, arguments, eventLoopGroup in
59 | eventLoopGroup.makeFutureWithTask {
60 | try await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
61 | }
62 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:74:31: warning: capture of 'function' with non-sendable type 'AsyncAwaitThrowingResolveWithEventLoop<ObjectType, Context, NoArguments, FieldType>' (aka '(ObjectType) -> (Context, NoArguments, any EventLoopGroup) async throws -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
72 | { context, arguments, eventLoopGroup in
73 | eventLoopGroup.makeFutureWithTask {
74 | try await function(type)(context, arguments, eventLoopGroup)
| |- warning: capture of 'function' with non-sendable type 'AsyncAwaitThrowingResolveWithEventLoop<ObjectType, Context, NoArguments, FieldType>' (aka '(ObjectType) -> (Context, NoArguments, any EventLoopGroup) async throws -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
75 | }
76 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:74:40: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
72 | { context, arguments, eventLoopGroup in
73 | eventLoopGroup.makeFutureWithTask {
74 | try await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
75 | }
76 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:74:46: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
72 | { context, arguments, eventLoopGroup in
73 | eventLoopGroup.makeFutureWithTask {
74 | try await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
75 | }
76 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:74:55: warning: capture of 'arguments' with non-sendable type 'NoArguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
72 | { context, arguments, eventLoopGroup in
73 | eventLoopGroup.makeFutureWithTask {
74 | try await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'arguments' with non-sendable type 'NoArguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
75 | }
76 | }
/host/spi-builder-workspace/.build/checkouts/Graphiti/Sources/Graphiti/Argument/NoArguments.swift:1:15: note: struct 'NoArguments' does not conform to the 'Sendable' protocol
1 | public struct NoArguments: Decodable {
| `- note: struct 'NoArguments' does not conform to the 'Sendable' protocol
2 | public init() {}
3 | }
[2420/2435] Compiling Pioneer Dictionary+SafeOperation.swift
[2421/2435] Compiling Pioneer OrderedDictionary+Dictionary.swift
[2422/2435] Compiling Pioneer Expression.swift
[2423/2435] Compiling Pioneer Actor+Task.swift
[2424/2435] Compiling Pioneer Task+Starvation.swift
[2425/2435] Compiling Pioneer UInt64+Nanoseconds.swift
[2426/2435] Compiling Pioneer Map+Decoder.swift
[2427/2435] Compiling Pioneer Pioneer+Graphiti.swift
[2428/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()
[2429/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()
[2430/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()
[2431/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()
[2432/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()
[2433/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()
[2434/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()
[2435/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()
Build complete! (489.93s)
Build complete.
{
"dependencies" : [
{
"identity" : "graphql",
"requirement" : {
"range" : [
{
"lower_bound" : "2.10.3",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/GraphQLSwift/GraphQL.git"
},
{
"identity" : "graphiti",
"requirement" : {
"range" : [
{
"lower_bound" : "1.15.1",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/GraphQLSwift/Graphiti.git"
},
{
"identity" : "vapor",
"requirement" : {
"range" : [
{
"lower_bound" : "4.106.3",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/vapor/vapor.git"
}
],
"manifest_display_name" : "Pioneer",
"name" : "Pioneer",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "Pioneer",
"targets" : [
"Pioneer"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "PioneerTests",
"module_type" : "SwiftTarget",
"name" : "PioneerTests",
"path" : "Tests/PioneerTests",
"product_dependencies" : [
"XCTVapor"
],
"sources" : [
"ActorTests/DroneTests.swift",
"ActorTests/ProbeTests.swift",
"DataStructureTests/AsyncPubSubTests.swift",
"DataStructureTests/BuiltInTypesTests.swift",
"DataStructureTests/WebSocketProtocolTests.swift",
"GraphQLTests/GraphQLHTTPSpecTests.swift",
"GraphQLTests/GraphQLRequestTests.swift",
"GraphQLTests/GraphitiAsyncEventStreamTests.swift",
"GraphQLTests/PioneerStatelessTests.swift",
"OtherTests/ExtensionsTests.swift",
"OtherTests/SecurityTest.swift",
"Utils/TestConsumer.swift",
"VaporTests/ContextTests.swift",
"VaporTests/HTTPQueryTests.swift",
"VaporTests/HTTPStrategyTests.swift",
"VaporTests/MiddlewareTests.swift"
],
"target_dependencies" : [
"Pioneer"
],
"type" : "test"
},
{
"c99name" : "Pioneer",
"module_type" : "SwiftTarget",
"name" : "Pioneer",
"path" : "Sources/Pioneer",
"product_dependencies" : [
"GraphQL",
"Graphiti",
"Vapor"
],
"product_memberships" : [
"Pioneer"
],
"sources" : [
"Extensions/Collections/Dictionary+SafeOperation.swift",
"Extensions/Collections/OrderedDictionary+Dictionary.swift",
"Extensions/Expression.swift",
"Extensions/Futures/Actor+Task.swift",
"Extensions/Futures/Task+Starvation.swift",
"Extensions/Int/UInt64+Nanoseconds.swift",
"Extensions/Map/Map+Decoder.swift",
"Extensions/Pioneer+Graphiti.swift",
"Extensions/Results/Data+Json.swift",
"GraphQL/BuiltinTypes.swift",
"GraphQL/Extensions/Field+AsyncAwait.swift",
"GraphQL/Extensions/Field+Middleware.swift",
"GraphQL/Extensions/GraphQL+Execution.swift",
"GraphQL/Extensions/GraphQLError+Error.swift",
"GraphQL/GraphQLMessage.swift",
"GraphQL/GraphQLMiddleware.swift",
"GraphQL/GraphQLRequest.swift",
"GraphQL/GraphQLViolation.swift",
"Http/CSRFProtections.swift",
"Http/HTTPGraphQL.swift",
"Http/HttpStrategy.swift",
"Http/IDE.swift",
"Pioneer.swift",
"Streaming/AsyncEventStream.swift",
"Streaming/AsyncPubSub.swift",
"Streaming/Broadcast.swift",
"Streaming/Extension/AsyncEventStream+Future+GraphQLResult.swift",
"Streaming/Extension/AsyncSequence+EventStream.swift",
"Streaming/Extension/AsyncStream+Statics.swift",
"Streaming/Extension/EventStream+Static.swift",
"Streaming/PubSub.swift",
"Utils/Interval.swift",
"Utils/Timeout.swift",
"Utils/Validation.swift",
"Vapor/Extensions/CORS/CORSMIddleware+BananaCakePop.swift",
"Vapor/Extensions/CORS/CORSMiddleware+ApolloSandbox.swift",
"Vapor/Extensions/EnvironmentVariables/EnvironmentVariables.swift",
"Vapor/Extensions/Request/GraphQLJSONEncoder+ContentEncoder.swift",
"Vapor/Extensions/Request/Request+GraphQLRequest.swift",
"Vapor/Extensions/Request/Request+PathComponent.swift",
"Vapor/Extensions/Request/Request+WebSocket.swift",
"Vapor/Extensions/Request/Request+WebsocketContext.swift",
"Vapor/Extensions/Response/GraphQLResult+Content.swift",
"Vapor/Extensions/Response/Response+GraphQLError.swift",
"Vapor/Extensions/WebSocket/WebSocket+WebSocketable.swift",
"Vapor/Http/Pioneer+Http.swift",
"Vapor/Http/Pioneer+IDE.swift",
"Vapor/Pioneer+Standalone.swift",
"Vapor/Pioneer+Vapor+Void.swift",
"Vapor/Pioneer+Vapor.swift",
"Vapor/WebSocket/Pioneer+WebSocket.swift",
"WebSocket/Common/Intent.swift",
"WebSocket/Common/Payload.swift",
"WebSocket/Common/Pioneer+WebSocketable.swift",
"WebSocket/Common/WebSocketClient.swift",
"WebSocket/Common/WebSocketable.swift",
"WebSocket/Probe/Drone/Drone.swift",
"WebSocket/Probe/Probe.swift",
"WebSocket/Protocol/GraphQLWs.swift",
"WebSocket/Protocol/SubProtocol.swift",
"WebSocket/Protocol/SubscriptionsTransportWs.swift",
"WebSocket/Protocol/WebsocketProtocol.swift"
],
"type" : "library"
}
],
"tools_version" : "5.10"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:2e2b3aca8600f890617c2faa770b70e33c1dfd303d6f92b308423b89ef6bde64
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.