Build Information
Successful build of Pioneer, reference 1.4.1 (210d7d
), with Swift 6.0 for Linux on 19 Dec 2024 05:45:43 UTC.
Swift 6 data race errors: 9
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
128 | }
129 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:127:40: warning: capture of 'type' with non-sendable type 'ObjectType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
125 | { context, arguments, eventLoopGroup in
126 | eventLoopGroup.makeFutureWithTask {
127 | 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
128 | }
129 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:127:46: warning: capture of 'context' with non-sendable type 'Context' in a `@Sendable` closure; this is an error in the Swift 6 language mode
125 | { context, arguments, eventLoopGroup in
126 | eventLoopGroup.makeFutureWithTask {
127 | 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
128 | }
129 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:127:55: warning: capture of 'arguments' with non-sendable type 'Arguments' in a `@Sendable` closure; this is an error in the Swift 6 language mode
125 | { context, arguments, eventLoopGroup in
126 | eventLoopGroup.makeFutureWithTask {
127 | 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
128 | }
129 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:142:31: warning: capture of 'function' with non-sendable type 'AsyncAwaitThrowingResolveWithEventLoop<ObjectType, Context, NoArguments, ResolveType>' (aka '(ObjectType) -> (Context, NoArguments, any EventLoopGroup) async throws -> ResolveType') in a `@Sendable` closure; this is an error in the Swift 6 language mode
140 | { context, arguments, eventLoopGroup in
141 | eventLoopGroup.makeFutureWithTask {
142 | try await function(type)(context, arguments, eventLoopGroup)
| |- warning: capture of 'function' with non-sendable type 'AsyncAwaitThrowingResolveWithEventLoop<ObjectType, Context, NoArguments, ResolveType>' (aka '(ObjectType) -> (Context, NoArguments, any EventLoopGroup) async throws -> ResolveType') 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'
143 | }
144 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:142:40: warning: capture of 'type' with non-sendable type 'ObjectType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
140 | { context, arguments, eventLoopGroup in
141 | eventLoopGroup.makeFutureWithTask {
142 | 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
143 | }
144 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:142:46: warning: capture of 'context' with non-sendable type 'Context' in a `@Sendable` closure; this is an error in the Swift 6 language mode
140 | { context, arguments, eventLoopGroup in
141 | eventLoopGroup.makeFutureWithTask {
142 | 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
143 | }
144 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:142:55: warning: capture of 'arguments' with non-sendable type 'NoArguments' in a `@Sendable` closure; this is an error in the Swift 6 language mode
140 | { context, arguments, eventLoopGroup in
141 | eventLoopGroup.makeFutureWithTask {
142 | 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
143 | }
144 | }
/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/GraphQL+Execution.swift:72:7: warning: type 'SubscriptionResult' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
70 | variableValues: variables ?? [:],
71 | operationName: operationName
72 | ).get()
| `- warning: type 'SubscriptionResult' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
73 | }
74 |
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/GraphQL.swift:47:15: note: struct 'SubscriptionResult' does not conform to the 'Sendable' protocol
45 |
46 | /// SubscriptionResult wraps the observable and error data returned by the subscribe request.
47 | public struct SubscriptionResult {
| `- note: struct 'SubscriptionResult' does not conform to the 'Sendable' protocol
48 | public let stream: SubscriptionEventStream?
49 | public let errors: [GraphQLError]
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/GraphQL+Execution.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
6 | //
7 |
8 | import GraphQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
9 | import protocol NIO.EventLoopGroup
10 |
[2391/2404] 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 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:94:27: warning: capture of 'function' with non-sendable type 'AsyncAwaitResolveWithEventLoop<ObjectType, Context, Arguments, ResolveType>' (aka '(ObjectType) -> (Context, Arguments, any EventLoopGroup) async -> ResolveType') in a `@Sendable` closure; this is an error in the Swift 6 language mode
92 | { context, arguments, eventLoopGroup in
93 | eventLoopGroup.makeFutureWithTask {
94 | await function(type)(context, arguments, eventLoopGroup)
| |- warning: capture of 'function' with non-sendable type 'AsyncAwaitResolveWithEventLoop<ObjectType, Context, Arguments, ResolveType>' (aka '(ObjectType) -> (Context, Arguments, any EventLoopGroup) async -> ResolveType') 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'
95 | }
96 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:94:36: warning: capture of 'type' with non-sendable type 'ObjectType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
92 | { context, arguments, eventLoopGroup in
93 | eventLoopGroup.makeFutureWithTask {
94 | 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
95 | }
96 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:94:42: warning: capture of 'context' with non-sendable type 'Context' in a `@Sendable` closure; this is an error in the Swift 6 language mode
92 | { context, arguments, eventLoopGroup in
93 | eventLoopGroup.makeFutureWithTask {
94 | 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
95 | }
96 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:94:51: warning: capture of 'arguments' with non-sendable type 'Arguments' in a `@Sendable` closure; this is an error in the Swift 6 language mode
92 | { context, arguments, eventLoopGroup in
93 | eventLoopGroup.makeFutureWithTask {
94 | 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
95 | }
96 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:109:27: warning: capture of 'function' with non-sendable type 'AsyncAwaitResolveWithEventLoop<ObjectType, Context, NoArguments, ResolveType>' (aka '(ObjectType) -> (Context, NoArguments, any EventLoopGroup) async -> ResolveType') in a `@Sendable` closure; this is an error in the Swift 6 language mode
107 | { context, arguments, eventLoopGroup in
108 | eventLoopGroup.makeFutureWithTask {
109 | await function(type)(context, arguments, eventLoopGroup)
| |- warning: capture of 'function' with non-sendable type 'AsyncAwaitResolveWithEventLoop<ObjectType, Context, NoArguments, ResolveType>' (aka '(ObjectType) -> (Context, NoArguments, any EventLoopGroup) async -> ResolveType') 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'
110 | }
111 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:109:36: warning: capture of 'type' with non-sendable type 'ObjectType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
107 | { context, arguments, eventLoopGroup in
108 | eventLoopGroup.makeFutureWithTask {
109 | 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
110 | }
111 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:109:42: warning: capture of 'context' with non-sendable type 'Context' in a `@Sendable` closure; this is an error in the Swift 6 language mode
107 | { context, arguments, eventLoopGroup in
108 | eventLoopGroup.makeFutureWithTask {
109 | 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
110 | }
111 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:109:51: warning: capture of 'arguments' with non-sendable type 'NoArguments' in a `@Sendable` closure; this is an error in the Swift 6 language mode
107 | { context, arguments, eventLoopGroup in
108 | eventLoopGroup.makeFutureWithTask {
109 | 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
110 | }
111 | }
/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:127:31: warning: capture of 'function' with non-sendable type 'AsyncAwaitThrowingResolveWithEventLoop<ObjectType, Context, Arguments, ResolveType>' (aka '(ObjectType) -> (Context, Arguments, any EventLoopGroup) async throws -> ResolveType') in a `@Sendable` closure; this is an error in the Swift 6 language mode
125 | { context, arguments, eventLoopGroup in
126 | eventLoopGroup.makeFutureWithTask {
127 | try await function(type)(context, arguments, eventLoopGroup)
| |- warning: capture of 'function' with non-sendable type 'AsyncAwaitThrowingResolveWithEventLoop<ObjectType, Context, Arguments, ResolveType>' (aka '(ObjectType) -> (Context, Arguments, any EventLoopGroup) async throws -> ResolveType') 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'
128 | }
129 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:127:40: warning: capture of 'type' with non-sendable type 'ObjectType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
125 | { context, arguments, eventLoopGroup in
126 | eventLoopGroup.makeFutureWithTask {
127 | 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
128 | }
129 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:127:46: warning: capture of 'context' with non-sendable type 'Context' in a `@Sendable` closure; this is an error in the Swift 6 language mode
125 | { context, arguments, eventLoopGroup in
126 | eventLoopGroup.makeFutureWithTask {
127 | 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
128 | }
129 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:127:55: warning: capture of 'arguments' with non-sendable type 'Arguments' in a `@Sendable` closure; this is an error in the Swift 6 language mode
125 | { context, arguments, eventLoopGroup in
126 | eventLoopGroup.makeFutureWithTask {
127 | 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
128 | }
129 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:142:31: warning: capture of 'function' with non-sendable type 'AsyncAwaitThrowingResolveWithEventLoop<ObjectType, Context, NoArguments, ResolveType>' (aka '(ObjectType) -> (Context, NoArguments, any EventLoopGroup) async throws -> ResolveType') in a `@Sendable` closure; this is an error in the Swift 6 language mode
140 | { context, arguments, eventLoopGroup in
141 | eventLoopGroup.makeFutureWithTask {
142 | try await function(type)(context, arguments, eventLoopGroup)
| |- warning: capture of 'function' with non-sendable type 'AsyncAwaitThrowingResolveWithEventLoop<ObjectType, Context, NoArguments, ResolveType>' (aka '(ObjectType) -> (Context, NoArguments, any EventLoopGroup) async throws -> ResolveType') 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'
143 | }
144 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:142:40: warning: capture of 'type' with non-sendable type 'ObjectType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
140 | { context, arguments, eventLoopGroup in
141 | eventLoopGroup.makeFutureWithTask {
142 | 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
143 | }
144 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:142:46: warning: capture of 'context' with non-sendable type 'Context' in a `@Sendable` closure; this is an error in the Swift 6 language mode
140 | { context, arguments, eventLoopGroup in
141 | eventLoopGroup.makeFutureWithTask {
142 | 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
143 | }
144 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:142:55: warning: capture of 'arguments' with non-sendable type 'NoArguments' in a `@Sendable` closure; this is an error in the Swift 6 language mode
140 | { context, arguments, eventLoopGroup in
141 | eventLoopGroup.makeFutureWithTask {
142 | 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
143 | }
144 | }
/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/GraphQL+Execution.swift:72:7: warning: type 'SubscriptionResult' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
70 | variableValues: variables ?? [:],
71 | operationName: operationName
72 | ).get()
| `- warning: type 'SubscriptionResult' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
73 | }
74 |
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/GraphQL.swift:47:15: note: struct 'SubscriptionResult' does not conform to the 'Sendable' protocol
45 |
46 | /// SubscriptionResult wraps the observable and error data returned by the subscribe request.
47 | public struct SubscriptionResult {
| `- note: struct 'SubscriptionResult' does not conform to the 'Sendable' protocol
48 | public let stream: SubscriptionEventStream?
49 | public let errors: [GraphQLError]
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/GraphQL+Execution.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
6 | //
7 |
8 | import GraphQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
9 | import protocol NIO.EventLoopGroup
10 |
[2392/2404] 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 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:94:27: warning: capture of 'function' with non-sendable type 'AsyncAwaitResolveWithEventLoop<ObjectType, Context, Arguments, ResolveType>' (aka '(ObjectType) -> (Context, Arguments, any EventLoopGroup) async -> ResolveType') in a `@Sendable` closure; this is an error in the Swift 6 language mode
92 | { context, arguments, eventLoopGroup in
93 | eventLoopGroup.makeFutureWithTask {
94 | await function(type)(context, arguments, eventLoopGroup)
| |- warning: capture of 'function' with non-sendable type 'AsyncAwaitResolveWithEventLoop<ObjectType, Context, Arguments, ResolveType>' (aka '(ObjectType) -> (Context, Arguments, any EventLoopGroup) async -> ResolveType') 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'
95 | }
96 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:94:36: warning: capture of 'type' with non-sendable type 'ObjectType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
92 | { context, arguments, eventLoopGroup in
93 | eventLoopGroup.makeFutureWithTask {
94 | 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
95 | }
96 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:94:42: warning: capture of 'context' with non-sendable type 'Context' in a `@Sendable` closure; this is an error in the Swift 6 language mode
92 | { context, arguments, eventLoopGroup in
93 | eventLoopGroup.makeFutureWithTask {
94 | 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
95 | }
96 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:94:51: warning: capture of 'arguments' with non-sendable type 'Arguments' in a `@Sendable` closure; this is an error in the Swift 6 language mode
92 | { context, arguments, eventLoopGroup in
93 | eventLoopGroup.makeFutureWithTask {
94 | 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
95 | }
96 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:109:27: warning: capture of 'function' with non-sendable type 'AsyncAwaitResolveWithEventLoop<ObjectType, Context, NoArguments, ResolveType>' (aka '(ObjectType) -> (Context, NoArguments, any EventLoopGroup) async -> ResolveType') in a `@Sendable` closure; this is an error in the Swift 6 language mode
107 | { context, arguments, eventLoopGroup in
108 | eventLoopGroup.makeFutureWithTask {
109 | await function(type)(context, arguments, eventLoopGroup)
| |- warning: capture of 'function' with non-sendable type 'AsyncAwaitResolveWithEventLoop<ObjectType, Context, NoArguments, ResolveType>' (aka '(ObjectType) -> (Context, NoArguments, any EventLoopGroup) async -> ResolveType') 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'
110 | }
111 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:109:36: warning: capture of 'type' with non-sendable type 'ObjectType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
107 | { context, arguments, eventLoopGroup in
108 | eventLoopGroup.makeFutureWithTask {
109 | 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
110 | }
111 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:109:42: warning: capture of 'context' with non-sendable type 'Context' in a `@Sendable` closure; this is an error in the Swift 6 language mode
107 | { context, arguments, eventLoopGroup in
108 | eventLoopGroup.makeFutureWithTask {
109 | 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
110 | }
111 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:109:51: warning: capture of 'arguments' with non-sendable type 'NoArguments' in a `@Sendable` closure; this is an error in the Swift 6 language mode
107 | { context, arguments, eventLoopGroup in
108 | eventLoopGroup.makeFutureWithTask {
109 | 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
110 | }
111 | }
/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:127:31: warning: capture of 'function' with non-sendable type 'AsyncAwaitThrowingResolveWithEventLoop<ObjectType, Context, Arguments, ResolveType>' (aka '(ObjectType) -> (Context, Arguments, any EventLoopGroup) async throws -> ResolveType') in a `@Sendable` closure; this is an error in the Swift 6 language mode
125 | { context, arguments, eventLoopGroup in
126 | eventLoopGroup.makeFutureWithTask {
127 | try await function(type)(context, arguments, eventLoopGroup)
| |- warning: capture of 'function' with non-sendable type 'AsyncAwaitThrowingResolveWithEventLoop<ObjectType, Context, Arguments, ResolveType>' (aka '(ObjectType) -> (Context, Arguments, any EventLoopGroup) async throws -> ResolveType') 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'
128 | }
129 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:127:40: warning: capture of 'type' with non-sendable type 'ObjectType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
125 | { context, arguments, eventLoopGroup in
126 | eventLoopGroup.makeFutureWithTask {
127 | 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
128 | }
129 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:127:46: warning: capture of 'context' with non-sendable type 'Context' in a `@Sendable` closure; this is an error in the Swift 6 language mode
125 | { context, arguments, eventLoopGroup in
126 | eventLoopGroup.makeFutureWithTask {
127 | 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
128 | }
129 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:127:55: warning: capture of 'arguments' with non-sendable type 'Arguments' in a `@Sendable` closure; this is an error in the Swift 6 language mode
125 | { context, arguments, eventLoopGroup in
126 | eventLoopGroup.makeFutureWithTask {
127 | 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
128 | }
129 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:142:31: warning: capture of 'function' with non-sendable type 'AsyncAwaitThrowingResolveWithEventLoop<ObjectType, Context, NoArguments, ResolveType>' (aka '(ObjectType) -> (Context, NoArguments, any EventLoopGroup) async throws -> ResolveType') in a `@Sendable` closure; this is an error in the Swift 6 language mode
140 | { context, arguments, eventLoopGroup in
141 | eventLoopGroup.makeFutureWithTask {
142 | try await function(type)(context, arguments, eventLoopGroup)
| |- warning: capture of 'function' with non-sendable type 'AsyncAwaitThrowingResolveWithEventLoop<ObjectType, Context, NoArguments, ResolveType>' (aka '(ObjectType) -> (Context, NoArguments, any EventLoopGroup) async throws -> ResolveType') 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'
143 | }
144 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:142:40: warning: capture of 'type' with non-sendable type 'ObjectType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
140 | { context, arguments, eventLoopGroup in
141 | eventLoopGroup.makeFutureWithTask {
142 | 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
143 | }
144 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:142:46: warning: capture of 'context' with non-sendable type 'Context' in a `@Sendable` closure; this is an error in the Swift 6 language mode
140 | { context, arguments, eventLoopGroup in
141 | eventLoopGroup.makeFutureWithTask {
142 | 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
143 | }
144 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:142:55: warning: capture of 'arguments' with non-sendable type 'NoArguments' in a `@Sendable` closure; this is an error in the Swift 6 language mode
140 | { context, arguments, eventLoopGroup in
141 | eventLoopGroup.makeFutureWithTask {
142 | 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
143 | }
144 | }
/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/GraphQL+Execution.swift:72:7: warning: type 'SubscriptionResult' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
70 | variableValues: variables ?? [:],
71 | operationName: operationName
72 | ).get()
| `- warning: type 'SubscriptionResult' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
73 | }
74 |
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/GraphQL.swift:47:15: note: struct 'SubscriptionResult' does not conform to the 'Sendable' protocol
45 |
46 | /// SubscriptionResult wraps the observable and error data returned by the subscribe request.
47 | public struct SubscriptionResult {
| `- note: struct 'SubscriptionResult' does not conform to the 'Sendable' protocol
48 | public let stream: SubscriptionEventStream?
49 | public let errors: [GraphQLError]
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/GraphQL+Execution.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
6 | //
7 |
8 | import GraphQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
9 | import protocol NIO.EventLoopGroup
10 |
[2393/2404] 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 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:94:27: warning: capture of 'function' with non-sendable type 'AsyncAwaitResolveWithEventLoop<ObjectType, Context, Arguments, ResolveType>' (aka '(ObjectType) -> (Context, Arguments, any EventLoopGroup) async -> ResolveType') in a `@Sendable` closure; this is an error in the Swift 6 language mode
92 | { context, arguments, eventLoopGroup in
93 | eventLoopGroup.makeFutureWithTask {
94 | await function(type)(context, arguments, eventLoopGroup)
| |- warning: capture of 'function' with non-sendable type 'AsyncAwaitResolveWithEventLoop<ObjectType, Context, Arguments, ResolveType>' (aka '(ObjectType) -> (Context, Arguments, any EventLoopGroup) async -> ResolveType') 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'
95 | }
96 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:94:36: warning: capture of 'type' with non-sendable type 'ObjectType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
92 | { context, arguments, eventLoopGroup in
93 | eventLoopGroup.makeFutureWithTask {
94 | 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
95 | }
96 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:94:42: warning: capture of 'context' with non-sendable type 'Context' in a `@Sendable` closure; this is an error in the Swift 6 language mode
92 | { context, arguments, eventLoopGroup in
93 | eventLoopGroup.makeFutureWithTask {
94 | 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
95 | }
96 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:94:51: warning: capture of 'arguments' with non-sendable type 'Arguments' in a `@Sendable` closure; this is an error in the Swift 6 language mode
92 | { context, arguments, eventLoopGroup in
93 | eventLoopGroup.makeFutureWithTask {
94 | 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
95 | }
96 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:109:27: warning: capture of 'function' with non-sendable type 'AsyncAwaitResolveWithEventLoop<ObjectType, Context, NoArguments, ResolveType>' (aka '(ObjectType) -> (Context, NoArguments, any EventLoopGroup) async -> ResolveType') in a `@Sendable` closure; this is an error in the Swift 6 language mode
107 | { context, arguments, eventLoopGroup in
108 | eventLoopGroup.makeFutureWithTask {
109 | await function(type)(context, arguments, eventLoopGroup)
| |- warning: capture of 'function' with non-sendable type 'AsyncAwaitResolveWithEventLoop<ObjectType, Context, NoArguments, ResolveType>' (aka '(ObjectType) -> (Context, NoArguments, any EventLoopGroup) async -> ResolveType') 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'
110 | }
111 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:109:36: warning: capture of 'type' with non-sendable type 'ObjectType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
107 | { context, arguments, eventLoopGroup in
108 | eventLoopGroup.makeFutureWithTask {
109 | 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
110 | }
111 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:109:42: warning: capture of 'context' with non-sendable type 'Context' in a `@Sendable` closure; this is an error in the Swift 6 language mode
107 | { context, arguments, eventLoopGroup in
108 | eventLoopGroup.makeFutureWithTask {
109 | 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
110 | }
111 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:109:51: warning: capture of 'arguments' with non-sendable type 'NoArguments' in a `@Sendable` closure; this is an error in the Swift 6 language mode
107 | { context, arguments, eventLoopGroup in
108 | eventLoopGroup.makeFutureWithTask {
109 | 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
110 | }
111 | }
/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:127:31: warning: capture of 'function' with non-sendable type 'AsyncAwaitThrowingResolveWithEventLoop<ObjectType, Context, Arguments, ResolveType>' (aka '(ObjectType) -> (Context, Arguments, any EventLoopGroup) async throws -> ResolveType') in a `@Sendable` closure; this is an error in the Swift 6 language mode
125 | { context, arguments, eventLoopGroup in
126 | eventLoopGroup.makeFutureWithTask {
127 | try await function(type)(context, arguments, eventLoopGroup)
| |- warning: capture of 'function' with non-sendable type 'AsyncAwaitThrowingResolveWithEventLoop<ObjectType, Context, Arguments, ResolveType>' (aka '(ObjectType) -> (Context, Arguments, any EventLoopGroup) async throws -> ResolveType') 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'
128 | }
129 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:127:40: warning: capture of 'type' with non-sendable type 'ObjectType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
125 | { context, arguments, eventLoopGroup in
126 | eventLoopGroup.makeFutureWithTask {
127 | 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
128 | }
129 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:127:46: warning: capture of 'context' with non-sendable type 'Context' in a `@Sendable` closure; this is an error in the Swift 6 language mode
125 | { context, arguments, eventLoopGroup in
126 | eventLoopGroup.makeFutureWithTask {
127 | 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
128 | }
129 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:127:55: warning: capture of 'arguments' with non-sendable type 'Arguments' in a `@Sendable` closure; this is an error in the Swift 6 language mode
125 | { context, arguments, eventLoopGroup in
126 | eventLoopGroup.makeFutureWithTask {
127 | 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
128 | }
129 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:142:31: warning: capture of 'function' with non-sendable type 'AsyncAwaitThrowingResolveWithEventLoop<ObjectType, Context, NoArguments, ResolveType>' (aka '(ObjectType) -> (Context, NoArguments, any EventLoopGroup) async throws -> ResolveType') in a `@Sendable` closure; this is an error in the Swift 6 language mode
140 | { context, arguments, eventLoopGroup in
141 | eventLoopGroup.makeFutureWithTask {
142 | try await function(type)(context, arguments, eventLoopGroup)
| |- warning: capture of 'function' with non-sendable type 'AsyncAwaitThrowingResolveWithEventLoop<ObjectType, Context, NoArguments, ResolveType>' (aka '(ObjectType) -> (Context, NoArguments, any EventLoopGroup) async throws -> ResolveType') 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'
143 | }
144 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:142:40: warning: capture of 'type' with non-sendable type 'ObjectType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
140 | { context, arguments, eventLoopGroup in
141 | eventLoopGroup.makeFutureWithTask {
142 | 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
143 | }
144 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:142:46: warning: capture of 'context' with non-sendable type 'Context' in a `@Sendable` closure; this is an error in the Swift 6 language mode
140 | { context, arguments, eventLoopGroup in
141 | eventLoopGroup.makeFutureWithTask {
142 | 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
143 | }
144 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:142:55: warning: capture of 'arguments' with non-sendable type 'NoArguments' in a `@Sendable` closure; this is an error in the Swift 6 language mode
140 | { context, arguments, eventLoopGroup in
141 | eventLoopGroup.makeFutureWithTask {
142 | 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
143 | }
144 | }
/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/GraphQL+Execution.swift:72:7: warning: type 'SubscriptionResult' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
70 | variableValues: variables ?? [:],
71 | operationName: operationName
72 | ).get()
| `- warning: type 'SubscriptionResult' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
73 | }
74 |
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/GraphQL.swift:47:15: note: struct 'SubscriptionResult' does not conform to the 'Sendable' protocol
45 |
46 | /// SubscriptionResult wraps the observable and error data returned by the subscribe request.
47 | public struct SubscriptionResult {
| `- note: struct 'SubscriptionResult' does not conform to the 'Sendable' protocol
48 | public let stream: SubscriptionEventStream?
49 | public let errors: [GraphQLError]
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/GraphQL+Execution.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
6 | //
7 |
8 | import GraphQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
9 | import protocol NIO.EventLoopGroup
10 |
[2394/2404] 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 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:94:27: warning: capture of 'function' with non-sendable type 'AsyncAwaitResolveWithEventLoop<ObjectType, Context, Arguments, ResolveType>' (aka '(ObjectType) -> (Context, Arguments, any EventLoopGroup) async -> ResolveType') in a `@Sendable` closure; this is an error in the Swift 6 language mode
92 | { context, arguments, eventLoopGroup in
93 | eventLoopGroup.makeFutureWithTask {
94 | await function(type)(context, arguments, eventLoopGroup)
| |- warning: capture of 'function' with non-sendable type 'AsyncAwaitResolveWithEventLoop<ObjectType, Context, Arguments, ResolveType>' (aka '(ObjectType) -> (Context, Arguments, any EventLoopGroup) async -> ResolveType') 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'
95 | }
96 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:94:36: warning: capture of 'type' with non-sendable type 'ObjectType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
92 | { context, arguments, eventLoopGroup in
93 | eventLoopGroup.makeFutureWithTask {
94 | 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
95 | }
96 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:94:42: warning: capture of 'context' with non-sendable type 'Context' in a `@Sendable` closure; this is an error in the Swift 6 language mode
92 | { context, arguments, eventLoopGroup in
93 | eventLoopGroup.makeFutureWithTask {
94 | 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
95 | }
96 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:94:51: warning: capture of 'arguments' with non-sendable type 'Arguments' in a `@Sendable` closure; this is an error in the Swift 6 language mode
92 | { context, arguments, eventLoopGroup in
93 | eventLoopGroup.makeFutureWithTask {
94 | 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
95 | }
96 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:109:27: warning: capture of 'function' with non-sendable type 'AsyncAwaitResolveWithEventLoop<ObjectType, Context, NoArguments, ResolveType>' (aka '(ObjectType) -> (Context, NoArguments, any EventLoopGroup) async -> ResolveType') in a `@Sendable` closure; this is an error in the Swift 6 language mode
107 | { context, arguments, eventLoopGroup in
108 | eventLoopGroup.makeFutureWithTask {
109 | await function(type)(context, arguments, eventLoopGroup)
| |- warning: capture of 'function' with non-sendable type 'AsyncAwaitResolveWithEventLoop<ObjectType, Context, NoArguments, ResolveType>' (aka '(ObjectType) -> (Context, NoArguments, any EventLoopGroup) async -> ResolveType') 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'
110 | }
111 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:109:36: warning: capture of 'type' with non-sendable type 'ObjectType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
107 | { context, arguments, eventLoopGroup in
108 | eventLoopGroup.makeFutureWithTask {
109 | 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
110 | }
111 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:109:42: warning: capture of 'context' with non-sendable type 'Context' in a `@Sendable` closure; this is an error in the Swift 6 language mode
107 | { context, arguments, eventLoopGroup in
108 | eventLoopGroup.makeFutureWithTask {
109 | 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
110 | }
111 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:109:51: warning: capture of 'arguments' with non-sendable type 'NoArguments' in a `@Sendable` closure; this is an error in the Swift 6 language mode
107 | { context, arguments, eventLoopGroup in
108 | eventLoopGroup.makeFutureWithTask {
109 | 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
110 | }
111 | }
/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:127:31: warning: capture of 'function' with non-sendable type 'AsyncAwaitThrowingResolveWithEventLoop<ObjectType, Context, Arguments, ResolveType>' (aka '(ObjectType) -> (Context, Arguments, any EventLoopGroup) async throws -> ResolveType') in a `@Sendable` closure; this is an error in the Swift 6 language mode
125 | { context, arguments, eventLoopGroup in
126 | eventLoopGroup.makeFutureWithTask {
127 | try await function(type)(context, arguments, eventLoopGroup)
| |- warning: capture of 'function' with non-sendable type 'AsyncAwaitThrowingResolveWithEventLoop<ObjectType, Context, Arguments, ResolveType>' (aka '(ObjectType) -> (Context, Arguments, any EventLoopGroup) async throws -> ResolveType') 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'
128 | }
129 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:127:40: warning: capture of 'type' with non-sendable type 'ObjectType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
125 | { context, arguments, eventLoopGroup in
126 | eventLoopGroup.makeFutureWithTask {
127 | 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
128 | }
129 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:127:46: warning: capture of 'context' with non-sendable type 'Context' in a `@Sendable` closure; this is an error in the Swift 6 language mode
125 | { context, arguments, eventLoopGroup in
126 | eventLoopGroup.makeFutureWithTask {
127 | 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
128 | }
129 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:127:55: warning: capture of 'arguments' with non-sendable type 'Arguments' in a `@Sendable` closure; this is an error in the Swift 6 language mode
125 | { context, arguments, eventLoopGroup in
126 | eventLoopGroup.makeFutureWithTask {
127 | 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
128 | }
129 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:142:31: warning: capture of 'function' with non-sendable type 'AsyncAwaitThrowingResolveWithEventLoop<ObjectType, Context, NoArguments, ResolveType>' (aka '(ObjectType) -> (Context, NoArguments, any EventLoopGroup) async throws -> ResolveType') in a `@Sendable` closure; this is an error in the Swift 6 language mode
140 | { context, arguments, eventLoopGroup in
141 | eventLoopGroup.makeFutureWithTask {
142 | try await function(type)(context, arguments, eventLoopGroup)
| |- warning: capture of 'function' with non-sendable type 'AsyncAwaitThrowingResolveWithEventLoop<ObjectType, Context, NoArguments, ResolveType>' (aka '(ObjectType) -> (Context, NoArguments, any EventLoopGroup) async throws -> ResolveType') 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'
143 | }
144 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:142:40: warning: capture of 'type' with non-sendable type 'ObjectType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
140 | { context, arguments, eventLoopGroup in
141 | eventLoopGroup.makeFutureWithTask {
142 | 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
143 | }
144 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:142:46: warning: capture of 'context' with non-sendable type 'Context' in a `@Sendable` closure; this is an error in the Swift 6 language mode
140 | { context, arguments, eventLoopGroup in
141 | eventLoopGroup.makeFutureWithTask {
142 | 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
143 | }
144 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:142:55: warning: capture of 'arguments' with non-sendable type 'NoArguments' in a `@Sendable` closure; this is an error in the Swift 6 language mode
140 | { context, arguments, eventLoopGroup in
141 | eventLoopGroup.makeFutureWithTask {
142 | 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
143 | }
144 | }
/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/GraphQL+Execution.swift:72:7: warning: type 'SubscriptionResult' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
70 | variableValues: variables ?? [:],
71 | operationName: operationName
72 | ).get()
| `- warning: type 'SubscriptionResult' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
73 | }
74 |
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/GraphQL.swift:47:15: note: struct 'SubscriptionResult' does not conform to the 'Sendable' protocol
45 |
46 | /// SubscriptionResult wraps the observable and error data returned by the subscribe request.
47 | public struct SubscriptionResult {
| `- note: struct 'SubscriptionResult' does not conform to the 'Sendable' protocol
48 | public let stream: SubscriptionEventStream?
49 | public let errors: [GraphQLError]
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/GraphQL+Execution.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
6 | //
7 |
8 | import GraphQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
9 | import protocol NIO.EventLoopGroup
10 |
[2395/2404] 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 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:94:27: warning: capture of 'function' with non-sendable type 'AsyncAwaitResolveWithEventLoop<ObjectType, Context, Arguments, ResolveType>' (aka '(ObjectType) -> (Context, Arguments, any EventLoopGroup) async -> ResolveType') in a `@Sendable` closure; this is an error in the Swift 6 language mode
92 | { context, arguments, eventLoopGroup in
93 | eventLoopGroup.makeFutureWithTask {
94 | await function(type)(context, arguments, eventLoopGroup)
| |- warning: capture of 'function' with non-sendable type 'AsyncAwaitResolveWithEventLoop<ObjectType, Context, Arguments, ResolveType>' (aka '(ObjectType) -> (Context, Arguments, any EventLoopGroup) async -> ResolveType') 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'
95 | }
96 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:94:36: warning: capture of 'type' with non-sendable type 'ObjectType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
92 | { context, arguments, eventLoopGroup in
93 | eventLoopGroup.makeFutureWithTask {
94 | 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
95 | }
96 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:94:42: warning: capture of 'context' with non-sendable type 'Context' in a `@Sendable` closure; this is an error in the Swift 6 language mode
92 | { context, arguments, eventLoopGroup in
93 | eventLoopGroup.makeFutureWithTask {
94 | 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
95 | }
96 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:94:51: warning: capture of 'arguments' with non-sendable type 'Arguments' in a `@Sendable` closure; this is an error in the Swift 6 language mode
92 | { context, arguments, eventLoopGroup in
93 | eventLoopGroup.makeFutureWithTask {
94 | 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
95 | }
96 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:109:27: warning: capture of 'function' with non-sendable type 'AsyncAwaitResolveWithEventLoop<ObjectType, Context, NoArguments, ResolveType>' (aka '(ObjectType) -> (Context, NoArguments, any EventLoopGroup) async -> ResolveType') in a `@Sendable` closure; this is an error in the Swift 6 language mode
107 | { context, arguments, eventLoopGroup in
108 | eventLoopGroup.makeFutureWithTask {
109 | await function(type)(context, arguments, eventLoopGroup)
| |- warning: capture of 'function' with non-sendable type 'AsyncAwaitResolveWithEventLoop<ObjectType, Context, NoArguments, ResolveType>' (aka '(ObjectType) -> (Context, NoArguments, any EventLoopGroup) async -> ResolveType') 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'
110 | }
111 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:109:36: warning: capture of 'type' with non-sendable type 'ObjectType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
107 | { context, arguments, eventLoopGroup in
108 | eventLoopGroup.makeFutureWithTask {
109 | 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
110 | }
111 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:109:42: warning: capture of 'context' with non-sendable type 'Context' in a `@Sendable` closure; this is an error in the Swift 6 language mode
107 | { context, arguments, eventLoopGroup in
108 | eventLoopGroup.makeFutureWithTask {
109 | 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
110 | }
111 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:109:51: warning: capture of 'arguments' with non-sendable type 'NoArguments' in a `@Sendable` closure; this is an error in the Swift 6 language mode
107 | { context, arguments, eventLoopGroup in
108 | eventLoopGroup.makeFutureWithTask {
109 | 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
110 | }
111 | }
/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:127:31: warning: capture of 'function' with non-sendable type 'AsyncAwaitThrowingResolveWithEventLoop<ObjectType, Context, Arguments, ResolveType>' (aka '(ObjectType) -> (Context, Arguments, any EventLoopGroup) async throws -> ResolveType') in a `@Sendable` closure; this is an error in the Swift 6 language mode
125 | { context, arguments, eventLoopGroup in
126 | eventLoopGroup.makeFutureWithTask {
127 | try await function(type)(context, arguments, eventLoopGroup)
| |- warning: capture of 'function' with non-sendable type 'AsyncAwaitThrowingResolveWithEventLoop<ObjectType, Context, Arguments, ResolveType>' (aka '(ObjectType) -> (Context, Arguments, any EventLoopGroup) async throws -> ResolveType') 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'
128 | }
129 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:127:40: warning: capture of 'type' with non-sendable type 'ObjectType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
125 | { context, arguments, eventLoopGroup in
126 | eventLoopGroup.makeFutureWithTask {
127 | 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
128 | }
129 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:127:46: warning: capture of 'context' with non-sendable type 'Context' in a `@Sendable` closure; this is an error in the Swift 6 language mode
125 | { context, arguments, eventLoopGroup in
126 | eventLoopGroup.makeFutureWithTask {
127 | 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
128 | }
129 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:127:55: warning: capture of 'arguments' with non-sendable type 'Arguments' in a `@Sendable` closure; this is an error in the Swift 6 language mode
125 | { context, arguments, eventLoopGroup in
126 | eventLoopGroup.makeFutureWithTask {
127 | 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
128 | }
129 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:142:31: warning: capture of 'function' with non-sendable type 'AsyncAwaitThrowingResolveWithEventLoop<ObjectType, Context, NoArguments, ResolveType>' (aka '(ObjectType) -> (Context, NoArguments, any EventLoopGroup) async throws -> ResolveType') in a `@Sendable` closure; this is an error in the Swift 6 language mode
140 | { context, arguments, eventLoopGroup in
141 | eventLoopGroup.makeFutureWithTask {
142 | try await function(type)(context, arguments, eventLoopGroup)
| |- warning: capture of 'function' with non-sendable type 'AsyncAwaitThrowingResolveWithEventLoop<ObjectType, Context, NoArguments, ResolveType>' (aka '(ObjectType) -> (Context, NoArguments, any EventLoopGroup) async throws -> ResolveType') 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'
143 | }
144 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:142:40: warning: capture of 'type' with non-sendable type 'ObjectType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
140 | { context, arguments, eventLoopGroup in
141 | eventLoopGroup.makeFutureWithTask {
142 | 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
143 | }
144 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:142:46: warning: capture of 'context' with non-sendable type 'Context' in a `@Sendable` closure; this is an error in the Swift 6 language mode
140 | { context, arguments, eventLoopGroup in
141 | eventLoopGroup.makeFutureWithTask {
142 | 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
143 | }
144 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:142:55: warning: capture of 'arguments' with non-sendable type 'NoArguments' in a `@Sendable` closure; this is an error in the Swift 6 language mode
140 | { context, arguments, eventLoopGroup in
141 | eventLoopGroup.makeFutureWithTask {
142 | 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
143 | }
144 | }
/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/GraphQL+Execution.swift:72:7: warning: type 'SubscriptionResult' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
70 | variableValues: variables ?? [:],
71 | operationName: operationName
72 | ).get()
| `- warning: type 'SubscriptionResult' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
73 | }
74 |
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/GraphQL.swift:47:15: note: struct 'SubscriptionResult' does not conform to the 'Sendable' protocol
45 |
46 | /// SubscriptionResult wraps the observable and error data returned by the subscribe request.
47 | public struct SubscriptionResult {
| `- note: struct 'SubscriptionResult' does not conform to the 'Sendable' protocol
48 | public let stream: SubscriptionEventStream?
49 | public let errors: [GraphQLError]
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/GraphQL+Execution.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
6 | //
7 |
8 | import GraphQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
9 | import protocol NIO.EventLoopGroup
10 |
[2396/2404] 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 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:94:27: warning: capture of 'function' with non-sendable type 'AsyncAwaitResolveWithEventLoop<ObjectType, Context, Arguments, ResolveType>' (aka '(ObjectType) -> (Context, Arguments, any EventLoopGroup) async -> ResolveType') in a `@Sendable` closure; this is an error in the Swift 6 language mode
92 | { context, arguments, eventLoopGroup in
93 | eventLoopGroup.makeFutureWithTask {
94 | await function(type)(context, arguments, eventLoopGroup)
| |- warning: capture of 'function' with non-sendable type 'AsyncAwaitResolveWithEventLoop<ObjectType, Context, Arguments, ResolveType>' (aka '(ObjectType) -> (Context, Arguments, any EventLoopGroup) async -> ResolveType') 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'
95 | }
96 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:94:36: warning: capture of 'type' with non-sendable type 'ObjectType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
92 | { context, arguments, eventLoopGroup in
93 | eventLoopGroup.makeFutureWithTask {
94 | 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
95 | }
96 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:94:42: warning: capture of 'context' with non-sendable type 'Context' in a `@Sendable` closure; this is an error in the Swift 6 language mode
92 | { context, arguments, eventLoopGroup in
93 | eventLoopGroup.makeFutureWithTask {
94 | 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
95 | }
96 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:94:51: warning: capture of 'arguments' with non-sendable type 'Arguments' in a `@Sendable` closure; this is an error in the Swift 6 language mode
92 | { context, arguments, eventLoopGroup in
93 | eventLoopGroup.makeFutureWithTask {
94 | 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
95 | }
96 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:109:27: warning: capture of 'function' with non-sendable type 'AsyncAwaitResolveWithEventLoop<ObjectType, Context, NoArguments, ResolveType>' (aka '(ObjectType) -> (Context, NoArguments, any EventLoopGroup) async -> ResolveType') in a `@Sendable` closure; this is an error in the Swift 6 language mode
107 | { context, arguments, eventLoopGroup in
108 | eventLoopGroup.makeFutureWithTask {
109 | await function(type)(context, arguments, eventLoopGroup)
| |- warning: capture of 'function' with non-sendable type 'AsyncAwaitResolveWithEventLoop<ObjectType, Context, NoArguments, ResolveType>' (aka '(ObjectType) -> (Context, NoArguments, any EventLoopGroup) async -> ResolveType') 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'
110 | }
111 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:109:36: warning: capture of 'type' with non-sendable type 'ObjectType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
107 | { context, arguments, eventLoopGroup in
108 | eventLoopGroup.makeFutureWithTask {
109 | 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
110 | }
111 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:109:42: warning: capture of 'context' with non-sendable type 'Context' in a `@Sendable` closure; this is an error in the Swift 6 language mode
107 | { context, arguments, eventLoopGroup in
108 | eventLoopGroup.makeFutureWithTask {
109 | 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
110 | }
111 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:109:51: warning: capture of 'arguments' with non-sendable type 'NoArguments' in a `@Sendable` closure; this is an error in the Swift 6 language mode
107 | { context, arguments, eventLoopGroup in
108 | eventLoopGroup.makeFutureWithTask {
109 | 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
110 | }
111 | }
/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:127:31: warning: capture of 'function' with non-sendable type 'AsyncAwaitThrowingResolveWithEventLoop<ObjectType, Context, Arguments, ResolveType>' (aka '(ObjectType) -> (Context, Arguments, any EventLoopGroup) async throws -> ResolveType') in a `@Sendable` closure; this is an error in the Swift 6 language mode
125 | { context, arguments, eventLoopGroup in
126 | eventLoopGroup.makeFutureWithTask {
127 | try await function(type)(context, arguments, eventLoopGroup)
| |- warning: capture of 'function' with non-sendable type 'AsyncAwaitThrowingResolveWithEventLoop<ObjectType, Context, Arguments, ResolveType>' (aka '(ObjectType) -> (Context, Arguments, any EventLoopGroup) async throws -> ResolveType') 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'
128 | }
129 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:127:40: warning: capture of 'type' with non-sendable type 'ObjectType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
125 | { context, arguments, eventLoopGroup in
126 | eventLoopGroup.makeFutureWithTask {
127 | 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
128 | }
129 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:127:46: warning: capture of 'context' with non-sendable type 'Context' in a `@Sendable` closure; this is an error in the Swift 6 language mode
125 | { context, arguments, eventLoopGroup in
126 | eventLoopGroup.makeFutureWithTask {
127 | 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
128 | }
129 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:127:55: warning: capture of 'arguments' with non-sendable type 'Arguments' in a `@Sendable` closure; this is an error in the Swift 6 language mode
125 | { context, arguments, eventLoopGroup in
126 | eventLoopGroup.makeFutureWithTask {
127 | 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
128 | }
129 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:142:31: warning: capture of 'function' with non-sendable type 'AsyncAwaitThrowingResolveWithEventLoop<ObjectType, Context, NoArguments, ResolveType>' (aka '(ObjectType) -> (Context, NoArguments, any EventLoopGroup) async throws -> ResolveType') in a `@Sendable` closure; this is an error in the Swift 6 language mode
140 | { context, arguments, eventLoopGroup in
141 | eventLoopGroup.makeFutureWithTask {
142 | try await function(type)(context, arguments, eventLoopGroup)
| |- warning: capture of 'function' with non-sendable type 'AsyncAwaitThrowingResolveWithEventLoop<ObjectType, Context, NoArguments, ResolveType>' (aka '(ObjectType) -> (Context, NoArguments, any EventLoopGroup) async throws -> ResolveType') 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'
143 | }
144 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:142:40: warning: capture of 'type' with non-sendable type 'ObjectType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
140 | { context, arguments, eventLoopGroup in
141 | eventLoopGroup.makeFutureWithTask {
142 | 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
143 | }
144 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:142:46: warning: capture of 'context' with non-sendable type 'Context' in a `@Sendable` closure; this is an error in the Swift 6 language mode
140 | { context, arguments, eventLoopGroup in
141 | eventLoopGroup.makeFutureWithTask {
142 | 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
143 | }
144 | }
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:142:55: warning: capture of 'arguments' with non-sendable type 'NoArguments' in a `@Sendable` closure; this is an error in the Swift 6 language mode
140 | { context, arguments, eventLoopGroup in
141 | eventLoopGroup.makeFutureWithTask {
142 | 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
143 | }
144 | }
/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/GraphQL+Execution.swift:72:7: warning: type 'SubscriptionResult' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
70 | variableValues: variables ?? [:],
71 | operationName: operationName
72 | ).get()
| `- warning: type 'SubscriptionResult' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
73 | }
74 |
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/GraphQL.swift:47:15: note: struct 'SubscriptionResult' does not conform to the 'Sendable' protocol
45 |
46 | /// SubscriptionResult wraps the observable and error data returned by the subscribe request.
47 | public struct SubscriptionResult {
| `- note: struct 'SubscriptionResult' does not conform to the 'Sendable' protocol
48 | public let stream: SubscriptionEventStream?
49 | public let errors: [GraphQLError]
/host/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/GraphQL+Execution.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
6 | //
7 |
8 | import GraphQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
9 | import protocol NIO.EventLoopGroup
10 |
[2397/2404] 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`.
/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: annotate 'mediaType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |
76 | /// GraphQL over HTTP spec's content type
[2398/2404] 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`.
/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: annotate 'mediaType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |
76 | /// GraphQL over HTTP spec's content type
[2399/2404] 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`.
/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: annotate 'mediaType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |
76 | /// GraphQL over HTTP spec's content type
[2400/2404] 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`.
/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: annotate 'mediaType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |
76 | /// GraphQL over HTTP spec's content type
[2401/2404] 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`.
/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: annotate 'mediaType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |
76 | /// GraphQL over HTTP spec's content type
[2402/2404] 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`.
/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: annotate 'mediaType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |
76 | /// GraphQL over HTTP spec's content type
[2403/2404] 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`.
/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: annotate 'mediaType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |
76 | /// GraphQL over HTTP spec's content type
[2404/2404] 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`.
/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: annotate 'mediaType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |
76 | /// GraphQL over HTTP spec's content type
Build complete! (184.73s)
Build complete.
{
"dependencies" : [
{
"identity" : "graphql",
"requirement" : {
"range" : [
{
"lower_bound" : "2.10.3",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/GraphQLSwift/GraphQL.git"
},
{
"identity" : "graphiti",
"requirement" : {
"range" : [
{
"lower_bound" : "1.15.1",
"upper_bound" : "2.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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.