Build Information
Successful build of Graphiti, reference 2.1.0 (cedafb
), with Swift 6.1 for Android on 9 Jun 2025 18:37:28 UTC.
Swift 6 data race errors: 2
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
644 | }
645 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:643:51: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure
6 | public class SubscriptionField<
7 | SourceEventType,
8 | ObjectType,
| `- note: consider making generic parameter 'ObjectType' conform to the 'Sendable' protocol
9 | Context,
10 | FieldType,
:
641 | .makePromise(of: EventStream<SourceEventType>.self)
642 | promise.completeWithTask {
643 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure
644 | }
645 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:643:57: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure
7 | SourceEventType,
8 | ObjectType,
9 | Context,
| `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
10 | FieldType,
11 | Arguments: Decodable
:
641 | .makePromise(of: EventStream<SourceEventType>.self)
642 | promise.completeWithTask {
643 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure
644 | }
645 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:643:66: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure
9 | Context,
10 | FieldType,
11 | Arguments: Decodable
| `- note: consider making generic parameter 'Arguments' conform to the 'Sendable' protocol
12 | >: FieldComponent<ObjectType, Context> {
13 | let name: String
:
641 | .makePromise(of: EventStream<SourceEventType>.self)
642 | promise.completeWithTask {
643 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure
644 | }
645 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:677:25: warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
675 | let promise = eventLoopGroup.next()
676 | .makePromise(of: EventStream<SourceEventType>.self)
677 | promise.completeWithTask {
| `- warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
678 | try await concurrentSubscribe(type)(context, arguments)
679 | }
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Subscription/EventStream.swift:2:12: note: generic class 'EventStream' does not conform to the 'Sendable' protocol
1 | /// Abstract event stream class - Should be overridden for actual implementations
2 | open class EventStream<Element> {
| `- note: generic class 'EventStream' does not conform to the 'Sendable' protocol
3 | public init() {}
4 | /// Template method for mapping an event stream to a new generic type - MUST be overridden by
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:678:31: warning: capture of 'concurrentSubscribe' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, EventStream<SourceEventType>>' (aka '(ObjectType) -> (Context, Arguments) async throws -> EventStream<SourceEventType>') in a '@Sendable' closure
676 | .makePromise(of: EventStream<SourceEventType>.self)
677 | promise.completeWithTask {
678 | try await concurrentSubscribe(type)(context, arguments)
| |- warning: capture of 'concurrentSubscribe' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, EventStream<SourceEventType>>' (aka '(ObjectType) -> (Context, Arguments) async throws -> EventStream<SourceEventType>') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
679 | }
680 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:678:51: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure
6 | public class SubscriptionField<
7 | SourceEventType,
8 | ObjectType,
| `- note: consider making generic parameter 'ObjectType' conform to the 'Sendable' protocol
9 | Context,
10 | FieldType,
:
676 | .makePromise(of: EventStream<SourceEventType>.self)
677 | promise.completeWithTask {
678 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure
679 | }
680 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:678:57: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure
7 | SourceEventType,
8 | ObjectType,
9 | Context,
| `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
10 | FieldType,
11 | Arguments: Decodable
:
676 | .makePromise(of: EventStream<SourceEventType>.self)
677 | promise.completeWithTask {
678 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure
679 | }
680 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:678:66: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure
9 | Context,
10 | FieldType,
11 | Arguments: Decodable
| `- note: consider making generic parameter 'Arguments' conform to the 'Sendable' protocol
12 | >: FieldComponent<ObjectType, Context> {
13 | let name: String
:
676 | .makePromise(of: EventStream<SourceEventType>.self)
677 | promise.completeWithTask {
678 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure
679 | }
680 | return promise.futureResult
[432/444] Compiling Graphiti Scalar.swift
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:125:39: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
123 | let resolve: AsyncResolve<SourceEventType, Context, Arguments, Any?> = { source in
124 | { _, _, eventLoopGroup in
125 | eventLoopGroup.next().makeSucceededFuture(source)
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
126 | }
127 | }
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:151:66: warning: type 'ResolveType' does not conform to the 'Sendable' protocol
129 | }
130 |
131 | convenience init<ResolveType>(
| `- note: consider making generic parameter 'ResolveType' conform to the 'Sendable' protocol
132 | name: String,
133 | arguments: [ArgumentComponent<Arguments>],
:
149 | // We hop to guarantee that the future will
150 | // return in the same event loop group of the execution.
151 | try simpleAsyncResolve(type)(context, arguments).hop(to: group.next())
| `- warning: type 'ResolveType' does not conform to the 'Sendable' protocol
152 | }
153 | }
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:164:68: warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
162 | // We hop to guarantee that the future will
163 | // return in the same event loop group of the execution.
164 | try simpleAsyncSubscribe(type)(context, arguments).hop(to: group.next())
| `- warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
165 | }
166 | }
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Subscription/EventStream.swift:2:12: note: generic class 'EventStream' does not conform to the 'Sendable' protocol
1 | /// Abstract event stream class - Should be overridden for actual implementations
2 | open class EventStream<Element> {
| `- note: generic class 'EventStream' does not conform to the 'Sendable' protocol
3 | public init() {}
4 | /// Template method for mapping an event stream to a new generic type - MUST be overridden by
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
1 | import GraphQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
2 | import NIO
3 |
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:195:68: warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
193 | // We hop to guarantee that the future will
194 | // return in the same event loop group of the execution.
195 | try simpleAsyncSubscribe(type)(context, arguments).hop(to: group.next())
| `- warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
196 | }
197 | }
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Subscription/EventStream.swift:2:12: note: generic class 'EventStream' does not conform to the 'Sendable' protocol
1 | /// Abstract event stream class - Should be overridden for actual implementations
2 | open class EventStream<Element> {
| `- note: generic class 'EventStream' does not conform to the 'Sendable' protocol
3 | public init() {}
4 | /// Template method for mapping an event stream to a new generic type - MUST be overridden by
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:215:37: warning: type 'ResolveType' does not conform to the 'Sendable' protocol
199 | }
200 |
201 | convenience init<ResolveType>(
| `- note: consider making generic parameter 'ResolveType' conform to the 'Sendable' protocol
202 | name: String,
203 | arguments: [ArgumentComponent<Arguments>],
:
213 | { context, arguments, group in
214 | let result = try syncResolve(type)(context, arguments)
215 | return group.next().makeSucceededFuture(result)
| `- warning: type 'ResolveType' does not conform to the 'Sendable' protocol
216 | }
217 | }
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:227:37: warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
225 | { context, arguments, group in
226 | let result = try syncSubscribe(type)(context, arguments)
227 | return group.next().makeSucceededFuture(result)
| `- warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
228 | }
229 | }
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Subscription/EventStream.swift:2:12: note: generic class 'EventStream' does not conform to the 'Sendable' protocol
1 | /// Abstract event stream class - Should be overridden for actual implementations
2 | open class EventStream<Element> {
| `- note: generic class 'EventStream' does not conform to the 'Sendable' protocol
3 | public init() {}
4 | /// Template method for mapping an event stream to a new generic type - MUST be overridden by
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:257:37: warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
255 | { context, arguments, group in
256 | let result = try syncSubscribe(type)(context, arguments)
257 | return group.next().makeSucceededFuture(result)
| `- warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
258 | }
259 | }
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Subscription/EventStream.swift:2:12: note: generic class 'EventStream' does not conform to the 'Sendable' protocol
1 | /// Abstract event stream class - Should be overridden for actual implementations
2 | open class EventStream<Element> {
| `- note: generic class 'EventStream' does not conform to the 'Sendable' protocol
3 | public init() {}
4 | /// Template method for mapping an event stream to a new generic type - MUST be overridden by
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:627:25: warning: type 'ResolveType' does not conform to the 'Sendable' protocol
606 | public extension SubscriptionField {
607 | @available(macOS 10.15, iOS 15, watchOS 8, tvOS 15, *)
608 | convenience init<ResolveType>(
| `- note: consider making generic parameter 'ResolveType' conform to the 'Sendable' protocol
609 | name: String,
610 | arguments: [ArgumentComponent<Arguments>],
:
625 | { context, arguments, eventLoopGroup in
626 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
627 | promise.completeWithTask {
| `- warning: type 'ResolveType' does not conform to the 'Sendable' protocol
628 | try await concurrentResolve(type)(context, arguments)
629 | }
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:642:25: warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
640 | let promise = eventLoopGroup.next()
641 | .makePromise(of: EventStream<SourceEventType>.self)
642 | promise.completeWithTask {
| `- warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
643 | try await concurrentSubscribe(type)(context, arguments)
644 | }
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Subscription/EventStream.swift:2:12: note: generic class 'EventStream' does not conform to the 'Sendable' protocol
1 | /// Abstract event stream class - Should be overridden for actual implementations
2 | open class EventStream<Element> {
| `- note: generic class 'EventStream' does not conform to the 'Sendable' protocol
3 | public init() {}
4 | /// Template method for mapping an event stream to a new generic type - MUST be overridden by
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:628:31: warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<SourceEventType, Context, Arguments, ResolveType>' (aka '(SourceEventType) -> (Context, Arguments) async throws -> ResolveType') in a '@Sendable' closure
626 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
627 | promise.completeWithTask {
628 | try await concurrentResolve(type)(context, arguments)
| |- warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<SourceEventType, Context, Arguments, ResolveType>' (aka '(SourceEventType) -> (Context, Arguments) async throws -> ResolveType') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
629 | }
630 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:628:49: warning: capture of 'type' with non-sendable type 'SourceEventType' in a '@Sendable' closure
5 |
6 | public class SubscriptionField<
7 | SourceEventType,
| `- note: consider making generic parameter 'SourceEventType' conform to the 'Sendable' protocol
8 | ObjectType,
9 | Context,
:
626 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
627 | promise.completeWithTask {
628 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'type' with non-sendable type 'SourceEventType' in a '@Sendable' closure
629 | }
630 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:628:55: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure
7 | SourceEventType,
8 | ObjectType,
9 | Context,
| `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
10 | FieldType,
11 | Arguments: Decodable
:
626 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
627 | promise.completeWithTask {
628 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure
629 | }
630 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:628:64: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure
9 | Context,
10 | FieldType,
11 | Arguments: Decodable
| `- note: consider making generic parameter 'Arguments' conform to the 'Sendable' protocol
12 | >: FieldComponent<ObjectType, Context> {
13 | let name: String
:
626 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
627 | promise.completeWithTask {
628 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure
629 | }
630 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:643:31: warning: capture of 'concurrentSubscribe' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, EventStream<SourceEventType>>' (aka '(ObjectType) -> (Context, Arguments) async throws -> EventStream<SourceEventType>') in a '@Sendable' closure
641 | .makePromise(of: EventStream<SourceEventType>.self)
642 | promise.completeWithTask {
643 | try await concurrentSubscribe(type)(context, arguments)
| |- warning: capture of 'concurrentSubscribe' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, EventStream<SourceEventType>>' (aka '(ObjectType) -> (Context, Arguments) async throws -> EventStream<SourceEventType>') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
644 | }
645 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:643:51: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure
6 | public class SubscriptionField<
7 | SourceEventType,
8 | ObjectType,
| `- note: consider making generic parameter 'ObjectType' conform to the 'Sendable' protocol
9 | Context,
10 | FieldType,
:
641 | .makePromise(of: EventStream<SourceEventType>.self)
642 | promise.completeWithTask {
643 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure
644 | }
645 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:643:57: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure
7 | SourceEventType,
8 | ObjectType,
9 | Context,
| `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
10 | FieldType,
11 | Arguments: Decodable
:
641 | .makePromise(of: EventStream<SourceEventType>.self)
642 | promise.completeWithTask {
643 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure
644 | }
645 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:643:66: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure
9 | Context,
10 | FieldType,
11 | Arguments: Decodable
| `- note: consider making generic parameter 'Arguments' conform to the 'Sendable' protocol
12 | >: FieldComponent<ObjectType, Context> {
13 | let name: String
:
641 | .makePromise(of: EventStream<SourceEventType>.self)
642 | promise.completeWithTask {
643 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure
644 | }
645 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:677:25: warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
675 | let promise = eventLoopGroup.next()
676 | .makePromise(of: EventStream<SourceEventType>.self)
677 | promise.completeWithTask {
| `- warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
678 | try await concurrentSubscribe(type)(context, arguments)
679 | }
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Subscription/EventStream.swift:2:12: note: generic class 'EventStream' does not conform to the 'Sendable' protocol
1 | /// Abstract event stream class - Should be overridden for actual implementations
2 | open class EventStream<Element> {
| `- note: generic class 'EventStream' does not conform to the 'Sendable' protocol
3 | public init() {}
4 | /// Template method for mapping an event stream to a new generic type - MUST be overridden by
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:678:31: warning: capture of 'concurrentSubscribe' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, EventStream<SourceEventType>>' (aka '(ObjectType) -> (Context, Arguments) async throws -> EventStream<SourceEventType>') in a '@Sendable' closure
676 | .makePromise(of: EventStream<SourceEventType>.self)
677 | promise.completeWithTask {
678 | try await concurrentSubscribe(type)(context, arguments)
| |- warning: capture of 'concurrentSubscribe' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, EventStream<SourceEventType>>' (aka '(ObjectType) -> (Context, Arguments) async throws -> EventStream<SourceEventType>') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
679 | }
680 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:678:51: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure
6 | public class SubscriptionField<
7 | SourceEventType,
8 | ObjectType,
| `- note: consider making generic parameter 'ObjectType' conform to the 'Sendable' protocol
9 | Context,
10 | FieldType,
:
676 | .makePromise(of: EventStream<SourceEventType>.self)
677 | promise.completeWithTask {
678 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure
679 | }
680 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:678:57: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure
7 | SourceEventType,
8 | ObjectType,
9 | Context,
| `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
10 | FieldType,
11 | Arguments: Decodable
:
676 | .makePromise(of: EventStream<SourceEventType>.self)
677 | promise.completeWithTask {
678 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure
679 | }
680 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:678:66: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure
9 | Context,
10 | FieldType,
11 | Arguments: Decodable
| `- note: consider making generic parameter 'Arguments' conform to the 'Sendable' protocol
12 | >: FieldComponent<ObjectType, Context> {
13 | let name: String
:
676 | .makePromise(of: EventStream<SourceEventType>.self)
677 | promise.completeWithTask {
678 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure
679 | }
680 | return promise.futureResult
[433/444] Compiling Graphiti Schema.swift
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:125:39: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
123 | let resolve: AsyncResolve<SourceEventType, Context, Arguments, Any?> = { source in
124 | { _, _, eventLoopGroup in
125 | eventLoopGroup.next().makeSucceededFuture(source)
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
126 | }
127 | }
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:151:66: warning: type 'ResolveType' does not conform to the 'Sendable' protocol
129 | }
130 |
131 | convenience init<ResolveType>(
| `- note: consider making generic parameter 'ResolveType' conform to the 'Sendable' protocol
132 | name: String,
133 | arguments: [ArgumentComponent<Arguments>],
:
149 | // We hop to guarantee that the future will
150 | // return in the same event loop group of the execution.
151 | try simpleAsyncResolve(type)(context, arguments).hop(to: group.next())
| `- warning: type 'ResolveType' does not conform to the 'Sendable' protocol
152 | }
153 | }
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:164:68: warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
162 | // We hop to guarantee that the future will
163 | // return in the same event loop group of the execution.
164 | try simpleAsyncSubscribe(type)(context, arguments).hop(to: group.next())
| `- warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
165 | }
166 | }
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Subscription/EventStream.swift:2:12: note: generic class 'EventStream' does not conform to the 'Sendable' protocol
1 | /// Abstract event stream class - Should be overridden for actual implementations
2 | open class EventStream<Element> {
| `- note: generic class 'EventStream' does not conform to the 'Sendable' protocol
3 | public init() {}
4 | /// Template method for mapping an event stream to a new generic type - MUST be overridden by
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
1 | import GraphQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
2 | import NIO
3 |
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:195:68: warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
193 | // We hop to guarantee that the future will
194 | // return in the same event loop group of the execution.
195 | try simpleAsyncSubscribe(type)(context, arguments).hop(to: group.next())
| `- warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
196 | }
197 | }
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Subscription/EventStream.swift:2:12: note: generic class 'EventStream' does not conform to the 'Sendable' protocol
1 | /// Abstract event stream class - Should be overridden for actual implementations
2 | open class EventStream<Element> {
| `- note: generic class 'EventStream' does not conform to the 'Sendable' protocol
3 | public init() {}
4 | /// Template method for mapping an event stream to a new generic type - MUST be overridden by
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:215:37: warning: type 'ResolveType' does not conform to the 'Sendable' protocol
199 | }
200 |
201 | convenience init<ResolveType>(
| `- note: consider making generic parameter 'ResolveType' conform to the 'Sendable' protocol
202 | name: String,
203 | arguments: [ArgumentComponent<Arguments>],
:
213 | { context, arguments, group in
214 | let result = try syncResolve(type)(context, arguments)
215 | return group.next().makeSucceededFuture(result)
| `- warning: type 'ResolveType' does not conform to the 'Sendable' protocol
216 | }
217 | }
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:227:37: warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
225 | { context, arguments, group in
226 | let result = try syncSubscribe(type)(context, arguments)
227 | return group.next().makeSucceededFuture(result)
| `- warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
228 | }
229 | }
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Subscription/EventStream.swift:2:12: note: generic class 'EventStream' does not conform to the 'Sendable' protocol
1 | /// Abstract event stream class - Should be overridden for actual implementations
2 | open class EventStream<Element> {
| `- note: generic class 'EventStream' does not conform to the 'Sendable' protocol
3 | public init() {}
4 | /// Template method for mapping an event stream to a new generic type - MUST be overridden by
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:257:37: warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
255 | { context, arguments, group in
256 | let result = try syncSubscribe(type)(context, arguments)
257 | return group.next().makeSucceededFuture(result)
| `- warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
258 | }
259 | }
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Subscription/EventStream.swift:2:12: note: generic class 'EventStream' does not conform to the 'Sendable' protocol
1 | /// Abstract event stream class - Should be overridden for actual implementations
2 | open class EventStream<Element> {
| `- note: generic class 'EventStream' does not conform to the 'Sendable' protocol
3 | public init() {}
4 | /// Template method for mapping an event stream to a new generic type - MUST be overridden by
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:627:25: warning: type 'ResolveType' does not conform to the 'Sendable' protocol
606 | public extension SubscriptionField {
607 | @available(macOS 10.15, iOS 15, watchOS 8, tvOS 15, *)
608 | convenience init<ResolveType>(
| `- note: consider making generic parameter 'ResolveType' conform to the 'Sendable' protocol
609 | name: String,
610 | arguments: [ArgumentComponent<Arguments>],
:
625 | { context, arguments, eventLoopGroup in
626 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
627 | promise.completeWithTask {
| `- warning: type 'ResolveType' does not conform to the 'Sendable' protocol
628 | try await concurrentResolve(type)(context, arguments)
629 | }
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:642:25: warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
640 | let promise = eventLoopGroup.next()
641 | .makePromise(of: EventStream<SourceEventType>.self)
642 | promise.completeWithTask {
| `- warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
643 | try await concurrentSubscribe(type)(context, arguments)
644 | }
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Subscription/EventStream.swift:2:12: note: generic class 'EventStream' does not conform to the 'Sendable' protocol
1 | /// Abstract event stream class - Should be overridden for actual implementations
2 | open class EventStream<Element> {
| `- note: generic class 'EventStream' does not conform to the 'Sendable' protocol
3 | public init() {}
4 | /// Template method for mapping an event stream to a new generic type - MUST be overridden by
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:628:31: warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<SourceEventType, Context, Arguments, ResolveType>' (aka '(SourceEventType) -> (Context, Arguments) async throws -> ResolveType') in a '@Sendable' closure
626 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
627 | promise.completeWithTask {
628 | try await concurrentResolve(type)(context, arguments)
| |- warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<SourceEventType, Context, Arguments, ResolveType>' (aka '(SourceEventType) -> (Context, Arguments) async throws -> ResolveType') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
629 | }
630 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:628:49: warning: capture of 'type' with non-sendable type 'SourceEventType' in a '@Sendable' closure
5 |
6 | public class SubscriptionField<
7 | SourceEventType,
| `- note: consider making generic parameter 'SourceEventType' conform to the 'Sendable' protocol
8 | ObjectType,
9 | Context,
:
626 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
627 | promise.completeWithTask {
628 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'type' with non-sendable type 'SourceEventType' in a '@Sendable' closure
629 | }
630 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:628:55: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure
7 | SourceEventType,
8 | ObjectType,
9 | Context,
| `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
10 | FieldType,
11 | Arguments: Decodable
:
626 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
627 | promise.completeWithTask {
628 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure
629 | }
630 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:628:64: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure
9 | Context,
10 | FieldType,
11 | Arguments: Decodable
| `- note: consider making generic parameter 'Arguments' conform to the 'Sendable' protocol
12 | >: FieldComponent<ObjectType, Context> {
13 | let name: String
:
626 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
627 | promise.completeWithTask {
628 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure
629 | }
630 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:643:31: warning: capture of 'concurrentSubscribe' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, EventStream<SourceEventType>>' (aka '(ObjectType) -> (Context, Arguments) async throws -> EventStream<SourceEventType>') in a '@Sendable' closure
641 | .makePromise(of: EventStream<SourceEventType>.self)
642 | promise.completeWithTask {
643 | try await concurrentSubscribe(type)(context, arguments)
| |- warning: capture of 'concurrentSubscribe' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, EventStream<SourceEventType>>' (aka '(ObjectType) -> (Context, Arguments) async throws -> EventStream<SourceEventType>') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
644 | }
645 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:643:51: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure
6 | public class SubscriptionField<
7 | SourceEventType,
8 | ObjectType,
| `- note: consider making generic parameter 'ObjectType' conform to the 'Sendable' protocol
9 | Context,
10 | FieldType,
:
641 | .makePromise(of: EventStream<SourceEventType>.self)
642 | promise.completeWithTask {
643 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure
644 | }
645 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:643:57: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure
7 | SourceEventType,
8 | ObjectType,
9 | Context,
| `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
10 | FieldType,
11 | Arguments: Decodable
:
641 | .makePromise(of: EventStream<SourceEventType>.self)
642 | promise.completeWithTask {
643 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure
644 | }
645 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:643:66: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure
9 | Context,
10 | FieldType,
11 | Arguments: Decodable
| `- note: consider making generic parameter 'Arguments' conform to the 'Sendable' protocol
12 | >: FieldComponent<ObjectType, Context> {
13 | let name: String
:
641 | .makePromise(of: EventStream<SourceEventType>.self)
642 | promise.completeWithTask {
643 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure
644 | }
645 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:677:25: warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
675 | let promise = eventLoopGroup.next()
676 | .makePromise(of: EventStream<SourceEventType>.self)
677 | promise.completeWithTask {
| `- warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
678 | try await concurrentSubscribe(type)(context, arguments)
679 | }
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Subscription/EventStream.swift:2:12: note: generic class 'EventStream' does not conform to the 'Sendable' protocol
1 | /// Abstract event stream class - Should be overridden for actual implementations
2 | open class EventStream<Element> {
| `- note: generic class 'EventStream' does not conform to the 'Sendable' protocol
3 | public init() {}
4 | /// Template method for mapping an event stream to a new generic type - MUST be overridden by
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:678:31: warning: capture of 'concurrentSubscribe' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, EventStream<SourceEventType>>' (aka '(ObjectType) -> (Context, Arguments) async throws -> EventStream<SourceEventType>') in a '@Sendable' closure
676 | .makePromise(of: EventStream<SourceEventType>.self)
677 | promise.completeWithTask {
678 | try await concurrentSubscribe(type)(context, arguments)
| |- warning: capture of 'concurrentSubscribe' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, EventStream<SourceEventType>>' (aka '(ObjectType) -> (Context, Arguments) async throws -> EventStream<SourceEventType>') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
679 | }
680 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:678:51: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure
6 | public class SubscriptionField<
7 | SourceEventType,
8 | ObjectType,
| `- note: consider making generic parameter 'ObjectType' conform to the 'Sendable' protocol
9 | Context,
10 | FieldType,
:
676 | .makePromise(of: EventStream<SourceEventType>.self)
677 | promise.completeWithTask {
678 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure
679 | }
680 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:678:57: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure
7 | SourceEventType,
8 | ObjectType,
9 | Context,
| `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
10 | FieldType,
11 | Arguments: Decodable
:
676 | .makePromise(of: EventStream<SourceEventType>.self)
677 | promise.completeWithTask {
678 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure
679 | }
680 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:678:66: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure
9 | Context,
10 | FieldType,
11 | Arguments: Decodable
| `- note: consider making generic parameter 'Arguments' conform to the 'Sendable' protocol
12 | >: FieldComponent<ObjectType, Context> {
13 | let name: String
:
676 | .makePromise(of: EventStream<SourceEventType>.self)
677 | promise.completeWithTask {
678 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure
679 | }
680 | return promise.futureResult
[434/444] Compiling Graphiti SchemaTypeProvider.swift
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:125:39: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
123 | let resolve: AsyncResolve<SourceEventType, Context, Arguments, Any?> = { source in
124 | { _, _, eventLoopGroup in
125 | eventLoopGroup.next().makeSucceededFuture(source)
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
126 | }
127 | }
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:151:66: warning: type 'ResolveType' does not conform to the 'Sendable' protocol
129 | }
130 |
131 | convenience init<ResolveType>(
| `- note: consider making generic parameter 'ResolveType' conform to the 'Sendable' protocol
132 | name: String,
133 | arguments: [ArgumentComponent<Arguments>],
:
149 | // We hop to guarantee that the future will
150 | // return in the same event loop group of the execution.
151 | try simpleAsyncResolve(type)(context, arguments).hop(to: group.next())
| `- warning: type 'ResolveType' does not conform to the 'Sendable' protocol
152 | }
153 | }
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:164:68: warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
162 | // We hop to guarantee that the future will
163 | // return in the same event loop group of the execution.
164 | try simpleAsyncSubscribe(type)(context, arguments).hop(to: group.next())
| `- warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
165 | }
166 | }
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Subscription/EventStream.swift:2:12: note: generic class 'EventStream' does not conform to the 'Sendable' protocol
1 | /// Abstract event stream class - Should be overridden for actual implementations
2 | open class EventStream<Element> {
| `- note: generic class 'EventStream' does not conform to the 'Sendable' protocol
3 | public init() {}
4 | /// Template method for mapping an event stream to a new generic type - MUST be overridden by
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
1 | import GraphQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
2 | import NIO
3 |
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:195:68: warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
193 | // We hop to guarantee that the future will
194 | // return in the same event loop group of the execution.
195 | try simpleAsyncSubscribe(type)(context, arguments).hop(to: group.next())
| `- warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
196 | }
197 | }
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Subscription/EventStream.swift:2:12: note: generic class 'EventStream' does not conform to the 'Sendable' protocol
1 | /// Abstract event stream class - Should be overridden for actual implementations
2 | open class EventStream<Element> {
| `- note: generic class 'EventStream' does not conform to the 'Sendable' protocol
3 | public init() {}
4 | /// Template method for mapping an event stream to a new generic type - MUST be overridden by
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:215:37: warning: type 'ResolveType' does not conform to the 'Sendable' protocol
199 | }
200 |
201 | convenience init<ResolveType>(
| `- note: consider making generic parameter 'ResolveType' conform to the 'Sendable' protocol
202 | name: String,
203 | arguments: [ArgumentComponent<Arguments>],
:
213 | { context, arguments, group in
214 | let result = try syncResolve(type)(context, arguments)
215 | return group.next().makeSucceededFuture(result)
| `- warning: type 'ResolveType' does not conform to the 'Sendable' protocol
216 | }
217 | }
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:227:37: warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
225 | { context, arguments, group in
226 | let result = try syncSubscribe(type)(context, arguments)
227 | return group.next().makeSucceededFuture(result)
| `- warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
228 | }
229 | }
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Subscription/EventStream.swift:2:12: note: generic class 'EventStream' does not conform to the 'Sendable' protocol
1 | /// Abstract event stream class - Should be overridden for actual implementations
2 | open class EventStream<Element> {
| `- note: generic class 'EventStream' does not conform to the 'Sendable' protocol
3 | public init() {}
4 | /// Template method for mapping an event stream to a new generic type - MUST be overridden by
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:257:37: warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
255 | { context, arguments, group in
256 | let result = try syncSubscribe(type)(context, arguments)
257 | return group.next().makeSucceededFuture(result)
| `- warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
258 | }
259 | }
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Subscription/EventStream.swift:2:12: note: generic class 'EventStream' does not conform to the 'Sendable' protocol
1 | /// Abstract event stream class - Should be overridden for actual implementations
2 | open class EventStream<Element> {
| `- note: generic class 'EventStream' does not conform to the 'Sendable' protocol
3 | public init() {}
4 | /// Template method for mapping an event stream to a new generic type - MUST be overridden by
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:627:25: warning: type 'ResolveType' does not conform to the 'Sendable' protocol
606 | public extension SubscriptionField {
607 | @available(macOS 10.15, iOS 15, watchOS 8, tvOS 15, *)
608 | convenience init<ResolveType>(
| `- note: consider making generic parameter 'ResolveType' conform to the 'Sendable' protocol
609 | name: String,
610 | arguments: [ArgumentComponent<Arguments>],
:
625 | { context, arguments, eventLoopGroup in
626 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
627 | promise.completeWithTask {
| `- warning: type 'ResolveType' does not conform to the 'Sendable' protocol
628 | try await concurrentResolve(type)(context, arguments)
629 | }
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:642:25: warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
640 | let promise = eventLoopGroup.next()
641 | .makePromise(of: EventStream<SourceEventType>.self)
642 | promise.completeWithTask {
| `- warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
643 | try await concurrentSubscribe(type)(context, arguments)
644 | }
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Subscription/EventStream.swift:2:12: note: generic class 'EventStream' does not conform to the 'Sendable' protocol
1 | /// Abstract event stream class - Should be overridden for actual implementations
2 | open class EventStream<Element> {
| `- note: generic class 'EventStream' does not conform to the 'Sendable' protocol
3 | public init() {}
4 | /// Template method for mapping an event stream to a new generic type - MUST be overridden by
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:628:31: warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<SourceEventType, Context, Arguments, ResolveType>' (aka '(SourceEventType) -> (Context, Arguments) async throws -> ResolveType') in a '@Sendable' closure
626 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
627 | promise.completeWithTask {
628 | try await concurrentResolve(type)(context, arguments)
| |- warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<SourceEventType, Context, Arguments, ResolveType>' (aka '(SourceEventType) -> (Context, Arguments) async throws -> ResolveType') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
629 | }
630 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:628:49: warning: capture of 'type' with non-sendable type 'SourceEventType' in a '@Sendable' closure
5 |
6 | public class SubscriptionField<
7 | SourceEventType,
| `- note: consider making generic parameter 'SourceEventType' conform to the 'Sendable' protocol
8 | ObjectType,
9 | Context,
:
626 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
627 | promise.completeWithTask {
628 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'type' with non-sendable type 'SourceEventType' in a '@Sendable' closure
629 | }
630 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:628:55: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure
7 | SourceEventType,
8 | ObjectType,
9 | Context,
| `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
10 | FieldType,
11 | Arguments: Decodable
:
626 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
627 | promise.completeWithTask {
628 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure
629 | }
630 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:628:64: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure
9 | Context,
10 | FieldType,
11 | Arguments: Decodable
| `- note: consider making generic parameter 'Arguments' conform to the 'Sendable' protocol
12 | >: FieldComponent<ObjectType, Context> {
13 | let name: String
:
626 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
627 | promise.completeWithTask {
628 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure
629 | }
630 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:643:31: warning: capture of 'concurrentSubscribe' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, EventStream<SourceEventType>>' (aka '(ObjectType) -> (Context, Arguments) async throws -> EventStream<SourceEventType>') in a '@Sendable' closure
641 | .makePromise(of: EventStream<SourceEventType>.self)
642 | promise.completeWithTask {
643 | try await concurrentSubscribe(type)(context, arguments)
| |- warning: capture of 'concurrentSubscribe' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, EventStream<SourceEventType>>' (aka '(ObjectType) -> (Context, Arguments) async throws -> EventStream<SourceEventType>') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
644 | }
645 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:643:51: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure
6 | public class SubscriptionField<
7 | SourceEventType,
8 | ObjectType,
| `- note: consider making generic parameter 'ObjectType' conform to the 'Sendable' protocol
9 | Context,
10 | FieldType,
:
641 | .makePromise(of: EventStream<SourceEventType>.self)
642 | promise.completeWithTask {
643 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure
644 | }
645 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:643:57: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure
7 | SourceEventType,
8 | ObjectType,
9 | Context,
| `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
10 | FieldType,
11 | Arguments: Decodable
:
641 | .makePromise(of: EventStream<SourceEventType>.self)
642 | promise.completeWithTask {
643 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure
644 | }
645 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:643:66: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure
9 | Context,
10 | FieldType,
11 | Arguments: Decodable
| `- note: consider making generic parameter 'Arguments' conform to the 'Sendable' protocol
12 | >: FieldComponent<ObjectType, Context> {
13 | let name: String
:
641 | .makePromise(of: EventStream<SourceEventType>.self)
642 | promise.completeWithTask {
643 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure
644 | }
645 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:677:25: warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
675 | let promise = eventLoopGroup.next()
676 | .makePromise(of: EventStream<SourceEventType>.self)
677 | promise.completeWithTask {
| `- warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
678 | try await concurrentSubscribe(type)(context, arguments)
679 | }
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Subscription/EventStream.swift:2:12: note: generic class 'EventStream' does not conform to the 'Sendable' protocol
1 | /// Abstract event stream class - Should be overridden for actual implementations
2 | open class EventStream<Element> {
| `- note: generic class 'EventStream' does not conform to the 'Sendable' protocol
3 | public init() {}
4 | /// Template method for mapping an event stream to a new generic type - MUST be overridden by
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:678:31: warning: capture of 'concurrentSubscribe' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, EventStream<SourceEventType>>' (aka '(ObjectType) -> (Context, Arguments) async throws -> EventStream<SourceEventType>') in a '@Sendable' closure
676 | .makePromise(of: EventStream<SourceEventType>.self)
677 | promise.completeWithTask {
678 | try await concurrentSubscribe(type)(context, arguments)
| |- warning: capture of 'concurrentSubscribe' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, EventStream<SourceEventType>>' (aka '(ObjectType) -> (Context, Arguments) async throws -> EventStream<SourceEventType>') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
679 | }
680 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:678:51: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure
6 | public class SubscriptionField<
7 | SourceEventType,
8 | ObjectType,
| `- note: consider making generic parameter 'ObjectType' conform to the 'Sendable' protocol
9 | Context,
10 | FieldType,
:
676 | .makePromise(of: EventStream<SourceEventType>.self)
677 | promise.completeWithTask {
678 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure
679 | }
680 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:678:57: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure
7 | SourceEventType,
8 | ObjectType,
9 | Context,
| `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
10 | FieldType,
11 | Arguments: Decodable
:
676 | .makePromise(of: EventStream<SourceEventType>.self)
677 | promise.completeWithTask {
678 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure
679 | }
680 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:678:66: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure
9 | Context,
10 | FieldType,
11 | Arguments: Decodable
| `- note: consider making generic parameter 'Arguments' conform to the 'Sendable' protocol
12 | >: FieldComponent<ObjectType, Context> {
13 | let name: String
:
676 | .makePromise(of: EventStream<SourceEventType>.self)
677 | promise.completeWithTask {
678 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure
679 | }
680 | return promise.futureResult
[435/444] Compiling Graphiti PartialSchema.swift
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:125:39: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
123 | let resolve: AsyncResolve<SourceEventType, Context, Arguments, Any?> = { source in
124 | { _, _, eventLoopGroup in
125 | eventLoopGroup.next().makeSucceededFuture(source)
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
126 | }
127 | }
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:151:66: warning: type 'ResolveType' does not conform to the 'Sendable' protocol
129 | }
130 |
131 | convenience init<ResolveType>(
| `- note: consider making generic parameter 'ResolveType' conform to the 'Sendable' protocol
132 | name: String,
133 | arguments: [ArgumentComponent<Arguments>],
:
149 | // We hop to guarantee that the future will
150 | // return in the same event loop group of the execution.
151 | try simpleAsyncResolve(type)(context, arguments).hop(to: group.next())
| `- warning: type 'ResolveType' does not conform to the 'Sendable' protocol
152 | }
153 | }
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:164:68: warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
162 | // We hop to guarantee that the future will
163 | // return in the same event loop group of the execution.
164 | try simpleAsyncSubscribe(type)(context, arguments).hop(to: group.next())
| `- warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
165 | }
166 | }
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Subscription/EventStream.swift:2:12: note: generic class 'EventStream' does not conform to the 'Sendable' protocol
1 | /// Abstract event stream class - Should be overridden for actual implementations
2 | open class EventStream<Element> {
| `- note: generic class 'EventStream' does not conform to the 'Sendable' protocol
3 | public init() {}
4 | /// Template method for mapping an event stream to a new generic type - MUST be overridden by
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
1 | import GraphQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
2 | import NIO
3 |
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:195:68: warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
193 | // We hop to guarantee that the future will
194 | // return in the same event loop group of the execution.
195 | try simpleAsyncSubscribe(type)(context, arguments).hop(to: group.next())
| `- warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
196 | }
197 | }
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Subscription/EventStream.swift:2:12: note: generic class 'EventStream' does not conform to the 'Sendable' protocol
1 | /// Abstract event stream class - Should be overridden for actual implementations
2 | open class EventStream<Element> {
| `- note: generic class 'EventStream' does not conform to the 'Sendable' protocol
3 | public init() {}
4 | /// Template method for mapping an event stream to a new generic type - MUST be overridden by
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:215:37: warning: type 'ResolveType' does not conform to the 'Sendable' protocol
199 | }
200 |
201 | convenience init<ResolveType>(
| `- note: consider making generic parameter 'ResolveType' conform to the 'Sendable' protocol
202 | name: String,
203 | arguments: [ArgumentComponent<Arguments>],
:
213 | { context, arguments, group in
214 | let result = try syncResolve(type)(context, arguments)
215 | return group.next().makeSucceededFuture(result)
| `- warning: type 'ResolveType' does not conform to the 'Sendable' protocol
216 | }
217 | }
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:227:37: warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
225 | { context, arguments, group in
226 | let result = try syncSubscribe(type)(context, arguments)
227 | return group.next().makeSucceededFuture(result)
| `- warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
228 | }
229 | }
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Subscription/EventStream.swift:2:12: note: generic class 'EventStream' does not conform to the 'Sendable' protocol
1 | /// Abstract event stream class - Should be overridden for actual implementations
2 | open class EventStream<Element> {
| `- note: generic class 'EventStream' does not conform to the 'Sendable' protocol
3 | public init() {}
4 | /// Template method for mapping an event stream to a new generic type - MUST be overridden by
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:257:37: warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
255 | { context, arguments, group in
256 | let result = try syncSubscribe(type)(context, arguments)
257 | return group.next().makeSucceededFuture(result)
| `- warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
258 | }
259 | }
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Subscription/EventStream.swift:2:12: note: generic class 'EventStream' does not conform to the 'Sendable' protocol
1 | /// Abstract event stream class - Should be overridden for actual implementations
2 | open class EventStream<Element> {
| `- note: generic class 'EventStream' does not conform to the 'Sendable' protocol
3 | public init() {}
4 | /// Template method for mapping an event stream to a new generic type - MUST be overridden by
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:627:25: warning: type 'ResolveType' does not conform to the 'Sendable' protocol
606 | public extension SubscriptionField {
607 | @available(macOS 10.15, iOS 15, watchOS 8, tvOS 15, *)
608 | convenience init<ResolveType>(
| `- note: consider making generic parameter 'ResolveType' conform to the 'Sendable' protocol
609 | name: String,
610 | arguments: [ArgumentComponent<Arguments>],
:
625 | { context, arguments, eventLoopGroup in
626 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
627 | promise.completeWithTask {
| `- warning: type 'ResolveType' does not conform to the 'Sendable' protocol
628 | try await concurrentResolve(type)(context, arguments)
629 | }
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:642:25: warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
640 | let promise = eventLoopGroup.next()
641 | .makePromise(of: EventStream<SourceEventType>.self)
642 | promise.completeWithTask {
| `- warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
643 | try await concurrentSubscribe(type)(context, arguments)
644 | }
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Subscription/EventStream.swift:2:12: note: generic class 'EventStream' does not conform to the 'Sendable' protocol
1 | /// Abstract event stream class - Should be overridden for actual implementations
2 | open class EventStream<Element> {
| `- note: generic class 'EventStream' does not conform to the 'Sendable' protocol
3 | public init() {}
4 | /// Template method for mapping an event stream to a new generic type - MUST be overridden by
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:628:31: warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<SourceEventType, Context, Arguments, ResolveType>' (aka '(SourceEventType) -> (Context, Arguments) async throws -> ResolveType') in a '@Sendable' closure
626 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
627 | promise.completeWithTask {
628 | try await concurrentResolve(type)(context, arguments)
| |- warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<SourceEventType, Context, Arguments, ResolveType>' (aka '(SourceEventType) -> (Context, Arguments) async throws -> ResolveType') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
629 | }
630 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:628:49: warning: capture of 'type' with non-sendable type 'SourceEventType' in a '@Sendable' closure
5 |
6 | public class SubscriptionField<
7 | SourceEventType,
| `- note: consider making generic parameter 'SourceEventType' conform to the 'Sendable' protocol
8 | ObjectType,
9 | Context,
:
626 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
627 | promise.completeWithTask {
628 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'type' with non-sendable type 'SourceEventType' in a '@Sendable' closure
629 | }
630 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:628:55: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure
7 | SourceEventType,
8 | ObjectType,
9 | Context,
| `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
10 | FieldType,
11 | Arguments: Decodable
:
626 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
627 | promise.completeWithTask {
628 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure
629 | }
630 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:628:64: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure
9 | Context,
10 | FieldType,
11 | Arguments: Decodable
| `- note: consider making generic parameter 'Arguments' conform to the 'Sendable' protocol
12 | >: FieldComponent<ObjectType, Context> {
13 | let name: String
:
626 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
627 | promise.completeWithTask {
628 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure
629 | }
630 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:643:31: warning: capture of 'concurrentSubscribe' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, EventStream<SourceEventType>>' (aka '(ObjectType) -> (Context, Arguments) async throws -> EventStream<SourceEventType>') in a '@Sendable' closure
641 | .makePromise(of: EventStream<SourceEventType>.self)
642 | promise.completeWithTask {
643 | try await concurrentSubscribe(type)(context, arguments)
| |- warning: capture of 'concurrentSubscribe' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, EventStream<SourceEventType>>' (aka '(ObjectType) -> (Context, Arguments) async throws -> EventStream<SourceEventType>') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
644 | }
645 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:643:51: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure
6 | public class SubscriptionField<
7 | SourceEventType,
8 | ObjectType,
| `- note: consider making generic parameter 'ObjectType' conform to the 'Sendable' protocol
9 | Context,
10 | FieldType,
:
641 | .makePromise(of: EventStream<SourceEventType>.self)
642 | promise.completeWithTask {
643 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure
644 | }
645 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:643:57: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure
7 | SourceEventType,
8 | ObjectType,
9 | Context,
| `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
10 | FieldType,
11 | Arguments: Decodable
:
641 | .makePromise(of: EventStream<SourceEventType>.self)
642 | promise.completeWithTask {
643 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure
644 | }
645 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:643:66: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure
9 | Context,
10 | FieldType,
11 | Arguments: Decodable
| `- note: consider making generic parameter 'Arguments' conform to the 'Sendable' protocol
12 | >: FieldComponent<ObjectType, Context> {
13 | let name: String
:
641 | .makePromise(of: EventStream<SourceEventType>.self)
642 | promise.completeWithTask {
643 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure
644 | }
645 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:677:25: warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
675 | let promise = eventLoopGroup.next()
676 | .makePromise(of: EventStream<SourceEventType>.self)
677 | promise.completeWithTask {
| `- warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
678 | try await concurrentSubscribe(type)(context, arguments)
679 | }
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Subscription/EventStream.swift:2:12: note: generic class 'EventStream' does not conform to the 'Sendable' protocol
1 | /// Abstract event stream class - Should be overridden for actual implementations
2 | open class EventStream<Element> {
| `- note: generic class 'EventStream' does not conform to the 'Sendable' protocol
3 | public init() {}
4 | /// Template method for mapping an event stream to a new generic type - MUST be overridden by
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:678:31: warning: capture of 'concurrentSubscribe' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, EventStream<SourceEventType>>' (aka '(ObjectType) -> (Context, Arguments) async throws -> EventStream<SourceEventType>') in a '@Sendable' closure
676 | .makePromise(of: EventStream<SourceEventType>.self)
677 | promise.completeWithTask {
678 | try await concurrentSubscribe(type)(context, arguments)
| |- warning: capture of 'concurrentSubscribe' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, EventStream<SourceEventType>>' (aka '(ObjectType) -> (Context, Arguments) async throws -> EventStream<SourceEventType>') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
679 | }
680 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:678:51: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure
6 | public class SubscriptionField<
7 | SourceEventType,
8 | ObjectType,
| `- note: consider making generic parameter 'ObjectType' conform to the 'Sendable' protocol
9 | Context,
10 | FieldType,
:
676 | .makePromise(of: EventStream<SourceEventType>.self)
677 | promise.completeWithTask {
678 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure
679 | }
680 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:678:57: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure
7 | SourceEventType,
8 | ObjectType,
9 | Context,
| `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
10 | FieldType,
11 | Arguments: Decodable
:
676 | .makePromise(of: EventStream<SourceEventType>.self)
677 | promise.completeWithTask {
678 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure
679 | }
680 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:678:66: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure
9 | Context,
10 | FieldType,
11 | Arguments: Decodable
| `- note: consider making generic parameter 'Arguments' conform to the 'Sendable' protocol
12 | >: FieldComponent<ObjectType, Context> {
13 | let name: String
:
676 | .makePromise(of: EventStream<SourceEventType>.self)
677 | promise.completeWithTask {
678 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure
679 | }
680 | return promise.futureResult
[436/444] Compiling Graphiti SchemaBuilder.swift
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:125:39: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
123 | let resolve: AsyncResolve<SourceEventType, Context, Arguments, Any?> = { source in
124 | { _, _, eventLoopGroup in
125 | eventLoopGroup.next().makeSucceededFuture(source)
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
126 | }
127 | }
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:151:66: warning: type 'ResolveType' does not conform to the 'Sendable' protocol
129 | }
130 |
131 | convenience init<ResolveType>(
| `- note: consider making generic parameter 'ResolveType' conform to the 'Sendable' protocol
132 | name: String,
133 | arguments: [ArgumentComponent<Arguments>],
:
149 | // We hop to guarantee that the future will
150 | // return in the same event loop group of the execution.
151 | try simpleAsyncResolve(type)(context, arguments).hop(to: group.next())
| `- warning: type 'ResolveType' does not conform to the 'Sendable' protocol
152 | }
153 | }
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:164:68: warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
162 | // We hop to guarantee that the future will
163 | // return in the same event loop group of the execution.
164 | try simpleAsyncSubscribe(type)(context, arguments).hop(to: group.next())
| `- warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
165 | }
166 | }
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Subscription/EventStream.swift:2:12: note: generic class 'EventStream' does not conform to the 'Sendable' protocol
1 | /// Abstract event stream class - Should be overridden for actual implementations
2 | open class EventStream<Element> {
| `- note: generic class 'EventStream' does not conform to the 'Sendable' protocol
3 | public init() {}
4 | /// Template method for mapping an event stream to a new generic type - MUST be overridden by
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
1 | import GraphQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
2 | import NIO
3 |
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:195:68: warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
193 | // We hop to guarantee that the future will
194 | // return in the same event loop group of the execution.
195 | try simpleAsyncSubscribe(type)(context, arguments).hop(to: group.next())
| `- warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
196 | }
197 | }
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Subscription/EventStream.swift:2:12: note: generic class 'EventStream' does not conform to the 'Sendable' protocol
1 | /// Abstract event stream class - Should be overridden for actual implementations
2 | open class EventStream<Element> {
| `- note: generic class 'EventStream' does not conform to the 'Sendable' protocol
3 | public init() {}
4 | /// Template method for mapping an event stream to a new generic type - MUST be overridden by
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:215:37: warning: type 'ResolveType' does not conform to the 'Sendable' protocol
199 | }
200 |
201 | convenience init<ResolveType>(
| `- note: consider making generic parameter 'ResolveType' conform to the 'Sendable' protocol
202 | name: String,
203 | arguments: [ArgumentComponent<Arguments>],
:
213 | { context, arguments, group in
214 | let result = try syncResolve(type)(context, arguments)
215 | return group.next().makeSucceededFuture(result)
| `- warning: type 'ResolveType' does not conform to the 'Sendable' protocol
216 | }
217 | }
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:227:37: warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
225 | { context, arguments, group in
226 | let result = try syncSubscribe(type)(context, arguments)
227 | return group.next().makeSucceededFuture(result)
| `- warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
228 | }
229 | }
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Subscription/EventStream.swift:2:12: note: generic class 'EventStream' does not conform to the 'Sendable' protocol
1 | /// Abstract event stream class - Should be overridden for actual implementations
2 | open class EventStream<Element> {
| `- note: generic class 'EventStream' does not conform to the 'Sendable' protocol
3 | public init() {}
4 | /// Template method for mapping an event stream to a new generic type - MUST be overridden by
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:257:37: warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
255 | { context, arguments, group in
256 | let result = try syncSubscribe(type)(context, arguments)
257 | return group.next().makeSucceededFuture(result)
| `- warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
258 | }
259 | }
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Subscription/EventStream.swift:2:12: note: generic class 'EventStream' does not conform to the 'Sendable' protocol
1 | /// Abstract event stream class - Should be overridden for actual implementations
2 | open class EventStream<Element> {
| `- note: generic class 'EventStream' does not conform to the 'Sendable' protocol
3 | public init() {}
4 | /// Template method for mapping an event stream to a new generic type - MUST be overridden by
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:627:25: warning: type 'ResolveType' does not conform to the 'Sendable' protocol
606 | public extension SubscriptionField {
607 | @available(macOS 10.15, iOS 15, watchOS 8, tvOS 15, *)
608 | convenience init<ResolveType>(
| `- note: consider making generic parameter 'ResolveType' conform to the 'Sendable' protocol
609 | name: String,
610 | arguments: [ArgumentComponent<Arguments>],
:
625 | { context, arguments, eventLoopGroup in
626 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
627 | promise.completeWithTask {
| `- warning: type 'ResolveType' does not conform to the 'Sendable' protocol
628 | try await concurrentResolve(type)(context, arguments)
629 | }
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:642:25: warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
640 | let promise = eventLoopGroup.next()
641 | .makePromise(of: EventStream<SourceEventType>.self)
642 | promise.completeWithTask {
| `- warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
643 | try await concurrentSubscribe(type)(context, arguments)
644 | }
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Subscription/EventStream.swift:2:12: note: generic class 'EventStream' does not conform to the 'Sendable' protocol
1 | /// Abstract event stream class - Should be overridden for actual implementations
2 | open class EventStream<Element> {
| `- note: generic class 'EventStream' does not conform to the 'Sendable' protocol
3 | public init() {}
4 | /// Template method for mapping an event stream to a new generic type - MUST be overridden by
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:628:31: warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<SourceEventType, Context, Arguments, ResolveType>' (aka '(SourceEventType) -> (Context, Arguments) async throws -> ResolveType') in a '@Sendable' closure
626 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
627 | promise.completeWithTask {
628 | try await concurrentResolve(type)(context, arguments)
| |- warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<SourceEventType, Context, Arguments, ResolveType>' (aka '(SourceEventType) -> (Context, Arguments) async throws -> ResolveType') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
629 | }
630 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:628:49: warning: capture of 'type' with non-sendable type 'SourceEventType' in a '@Sendable' closure
5 |
6 | public class SubscriptionField<
7 | SourceEventType,
| `- note: consider making generic parameter 'SourceEventType' conform to the 'Sendable' protocol
8 | ObjectType,
9 | Context,
:
626 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
627 | promise.completeWithTask {
628 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'type' with non-sendable type 'SourceEventType' in a '@Sendable' closure
629 | }
630 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:628:55: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure
7 | SourceEventType,
8 | ObjectType,
9 | Context,
| `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
10 | FieldType,
11 | Arguments: Decodable
:
626 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
627 | promise.completeWithTask {
628 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure
629 | }
630 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:628:64: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure
9 | Context,
10 | FieldType,
11 | Arguments: Decodable
| `- note: consider making generic parameter 'Arguments' conform to the 'Sendable' protocol
12 | >: FieldComponent<ObjectType, Context> {
13 | let name: String
:
626 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
627 | promise.completeWithTask {
628 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure
629 | }
630 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:643:31: warning: capture of 'concurrentSubscribe' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, EventStream<SourceEventType>>' (aka '(ObjectType) -> (Context, Arguments) async throws -> EventStream<SourceEventType>') in a '@Sendable' closure
641 | .makePromise(of: EventStream<SourceEventType>.self)
642 | promise.completeWithTask {
643 | try await concurrentSubscribe(type)(context, arguments)
| |- warning: capture of 'concurrentSubscribe' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, EventStream<SourceEventType>>' (aka '(ObjectType) -> (Context, Arguments) async throws -> EventStream<SourceEventType>') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
644 | }
645 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:643:51: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure
6 | public class SubscriptionField<
7 | SourceEventType,
8 | ObjectType,
| `- note: consider making generic parameter 'ObjectType' conform to the 'Sendable' protocol
9 | Context,
10 | FieldType,
:
641 | .makePromise(of: EventStream<SourceEventType>.self)
642 | promise.completeWithTask {
643 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure
644 | }
645 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:643:57: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure
7 | SourceEventType,
8 | ObjectType,
9 | Context,
| `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
10 | FieldType,
11 | Arguments: Decodable
:
641 | .makePromise(of: EventStream<SourceEventType>.self)
642 | promise.completeWithTask {
643 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure
644 | }
645 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:643:66: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure
9 | Context,
10 | FieldType,
11 | Arguments: Decodable
| `- note: consider making generic parameter 'Arguments' conform to the 'Sendable' protocol
12 | >: FieldComponent<ObjectType, Context> {
13 | let name: String
:
641 | .makePromise(of: EventStream<SourceEventType>.self)
642 | promise.completeWithTask {
643 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure
644 | }
645 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:677:25: warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
675 | let promise = eventLoopGroup.next()
676 | .makePromise(of: EventStream<SourceEventType>.self)
677 | promise.completeWithTask {
| `- warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
678 | try await concurrentSubscribe(type)(context, arguments)
679 | }
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Subscription/EventStream.swift:2:12: note: generic class 'EventStream' does not conform to the 'Sendable' protocol
1 | /// Abstract event stream class - Should be overridden for actual implementations
2 | open class EventStream<Element> {
| `- note: generic class 'EventStream' does not conform to the 'Sendable' protocol
3 | public init() {}
4 | /// Template method for mapping an event stream to a new generic type - MUST be overridden by
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:678:31: warning: capture of 'concurrentSubscribe' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, EventStream<SourceEventType>>' (aka '(ObjectType) -> (Context, Arguments) async throws -> EventStream<SourceEventType>') in a '@Sendable' closure
676 | .makePromise(of: EventStream<SourceEventType>.self)
677 | promise.completeWithTask {
678 | try await concurrentSubscribe(type)(context, arguments)
| |- warning: capture of 'concurrentSubscribe' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, EventStream<SourceEventType>>' (aka '(ObjectType) -> (Context, Arguments) async throws -> EventStream<SourceEventType>') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
679 | }
680 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:678:51: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure
6 | public class SubscriptionField<
7 | SourceEventType,
8 | ObjectType,
| `- note: consider making generic parameter 'ObjectType' conform to the 'Sendable' protocol
9 | Context,
10 | FieldType,
:
676 | .makePromise(of: EventStream<SourceEventType>.self)
677 | promise.completeWithTask {
678 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure
679 | }
680 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:678:57: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure
7 | SourceEventType,
8 | ObjectType,
9 | Context,
| `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
10 | FieldType,
11 | Arguments: Decodable
:
676 | .makePromise(of: EventStream<SourceEventType>.self)
677 | promise.completeWithTask {
678 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure
679 | }
680 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:678:66: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure
9 | Context,
10 | FieldType,
11 | Arguments: Decodable
| `- note: consider making generic parameter 'Arguments' conform to the 'Sendable' protocol
12 | >: FieldComponent<ObjectType, Context> {
13 | let name: String
:
676 | .makePromise(of: EventStream<SourceEventType>.self)
677 | promise.completeWithTask {
678 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure
679 | }
680 | return promise.futureResult
[437/444] Compiling Graphiti SubscribeField.swift
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:125:39: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
123 | let resolve: AsyncResolve<SourceEventType, Context, Arguments, Any?> = { source in
124 | { _, _, eventLoopGroup in
125 | eventLoopGroup.next().makeSucceededFuture(source)
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
126 | }
127 | }
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:151:66: warning: type 'ResolveType' does not conform to the 'Sendable' protocol
129 | }
130 |
131 | convenience init<ResolveType>(
| `- note: consider making generic parameter 'ResolveType' conform to the 'Sendable' protocol
132 | name: String,
133 | arguments: [ArgumentComponent<Arguments>],
:
149 | // We hop to guarantee that the future will
150 | // return in the same event loop group of the execution.
151 | try simpleAsyncResolve(type)(context, arguments).hop(to: group.next())
| `- warning: type 'ResolveType' does not conform to the 'Sendable' protocol
152 | }
153 | }
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:164:68: warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
162 | // We hop to guarantee that the future will
163 | // return in the same event loop group of the execution.
164 | try simpleAsyncSubscribe(type)(context, arguments).hop(to: group.next())
| `- warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
165 | }
166 | }
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Subscription/EventStream.swift:2:12: note: generic class 'EventStream' does not conform to the 'Sendable' protocol
1 | /// Abstract event stream class - Should be overridden for actual implementations
2 | open class EventStream<Element> {
| `- note: generic class 'EventStream' does not conform to the 'Sendable' protocol
3 | public init() {}
4 | /// Template method for mapping an event stream to a new generic type - MUST be overridden by
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
1 | import GraphQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
2 | import NIO
3 |
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:195:68: warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
193 | // We hop to guarantee that the future will
194 | // return in the same event loop group of the execution.
195 | try simpleAsyncSubscribe(type)(context, arguments).hop(to: group.next())
| `- warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
196 | }
197 | }
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Subscription/EventStream.swift:2:12: note: generic class 'EventStream' does not conform to the 'Sendable' protocol
1 | /// Abstract event stream class - Should be overridden for actual implementations
2 | open class EventStream<Element> {
| `- note: generic class 'EventStream' does not conform to the 'Sendable' protocol
3 | public init() {}
4 | /// Template method for mapping an event stream to a new generic type - MUST be overridden by
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:215:37: warning: type 'ResolveType' does not conform to the 'Sendable' protocol
199 | }
200 |
201 | convenience init<ResolveType>(
| `- note: consider making generic parameter 'ResolveType' conform to the 'Sendable' protocol
202 | name: String,
203 | arguments: [ArgumentComponent<Arguments>],
:
213 | { context, arguments, group in
214 | let result = try syncResolve(type)(context, arguments)
215 | return group.next().makeSucceededFuture(result)
| `- warning: type 'ResolveType' does not conform to the 'Sendable' protocol
216 | }
217 | }
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:227:37: warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
225 | { context, arguments, group in
226 | let result = try syncSubscribe(type)(context, arguments)
227 | return group.next().makeSucceededFuture(result)
| `- warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
228 | }
229 | }
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Subscription/EventStream.swift:2:12: note: generic class 'EventStream' does not conform to the 'Sendable' protocol
1 | /// Abstract event stream class - Should be overridden for actual implementations
2 | open class EventStream<Element> {
| `- note: generic class 'EventStream' does not conform to the 'Sendable' protocol
3 | public init() {}
4 | /// Template method for mapping an event stream to a new generic type - MUST be overridden by
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:257:37: warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
255 | { context, arguments, group in
256 | let result = try syncSubscribe(type)(context, arguments)
257 | return group.next().makeSucceededFuture(result)
| `- warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
258 | }
259 | }
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Subscription/EventStream.swift:2:12: note: generic class 'EventStream' does not conform to the 'Sendable' protocol
1 | /// Abstract event stream class - Should be overridden for actual implementations
2 | open class EventStream<Element> {
| `- note: generic class 'EventStream' does not conform to the 'Sendable' protocol
3 | public init() {}
4 | /// Template method for mapping an event stream to a new generic type - MUST be overridden by
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:627:25: warning: type 'ResolveType' does not conform to the 'Sendable' protocol
606 | public extension SubscriptionField {
607 | @available(macOS 10.15, iOS 15, watchOS 8, tvOS 15, *)
608 | convenience init<ResolveType>(
| `- note: consider making generic parameter 'ResolveType' conform to the 'Sendable' protocol
609 | name: String,
610 | arguments: [ArgumentComponent<Arguments>],
:
625 | { context, arguments, eventLoopGroup in
626 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
627 | promise.completeWithTask {
| `- warning: type 'ResolveType' does not conform to the 'Sendable' protocol
628 | try await concurrentResolve(type)(context, arguments)
629 | }
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:642:25: warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
640 | let promise = eventLoopGroup.next()
641 | .makePromise(of: EventStream<SourceEventType>.self)
642 | promise.completeWithTask {
| `- warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
643 | try await concurrentSubscribe(type)(context, arguments)
644 | }
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Subscription/EventStream.swift:2:12: note: generic class 'EventStream' does not conform to the 'Sendable' protocol
1 | /// Abstract event stream class - Should be overridden for actual implementations
2 | open class EventStream<Element> {
| `- note: generic class 'EventStream' does not conform to the 'Sendable' protocol
3 | public init() {}
4 | /// Template method for mapping an event stream to a new generic type - MUST be overridden by
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:628:31: warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<SourceEventType, Context, Arguments, ResolveType>' (aka '(SourceEventType) -> (Context, Arguments) async throws -> ResolveType') in a '@Sendable' closure
626 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
627 | promise.completeWithTask {
628 | try await concurrentResolve(type)(context, arguments)
| |- warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<SourceEventType, Context, Arguments, ResolveType>' (aka '(SourceEventType) -> (Context, Arguments) async throws -> ResolveType') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
629 | }
630 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:628:49: warning: capture of 'type' with non-sendable type 'SourceEventType' in a '@Sendable' closure
5 |
6 | public class SubscriptionField<
7 | SourceEventType,
| `- note: consider making generic parameter 'SourceEventType' conform to the 'Sendable' protocol
8 | ObjectType,
9 | Context,
:
626 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
627 | promise.completeWithTask {
628 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'type' with non-sendable type 'SourceEventType' in a '@Sendable' closure
629 | }
630 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:628:55: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure
7 | SourceEventType,
8 | ObjectType,
9 | Context,
| `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
10 | FieldType,
11 | Arguments: Decodable
:
626 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
627 | promise.completeWithTask {
628 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure
629 | }
630 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:628:64: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure
9 | Context,
10 | FieldType,
11 | Arguments: Decodable
| `- note: consider making generic parameter 'Arguments' conform to the 'Sendable' protocol
12 | >: FieldComponent<ObjectType, Context> {
13 | let name: String
:
626 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
627 | promise.completeWithTask {
628 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure
629 | }
630 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:643:31: warning: capture of 'concurrentSubscribe' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, EventStream<SourceEventType>>' (aka '(ObjectType) -> (Context, Arguments) async throws -> EventStream<SourceEventType>') in a '@Sendable' closure
641 | .makePromise(of: EventStream<SourceEventType>.self)
642 | promise.completeWithTask {
643 | try await concurrentSubscribe(type)(context, arguments)
| |- warning: capture of 'concurrentSubscribe' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, EventStream<SourceEventType>>' (aka '(ObjectType) -> (Context, Arguments) async throws -> EventStream<SourceEventType>') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
644 | }
645 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:643:51: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure
6 | public class SubscriptionField<
7 | SourceEventType,
8 | ObjectType,
| `- note: consider making generic parameter 'ObjectType' conform to the 'Sendable' protocol
9 | Context,
10 | FieldType,
:
641 | .makePromise(of: EventStream<SourceEventType>.self)
642 | promise.completeWithTask {
643 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure
644 | }
645 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:643:57: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure
7 | SourceEventType,
8 | ObjectType,
9 | Context,
| `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
10 | FieldType,
11 | Arguments: Decodable
:
641 | .makePromise(of: EventStream<SourceEventType>.self)
642 | promise.completeWithTask {
643 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure
644 | }
645 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:643:66: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure
9 | Context,
10 | FieldType,
11 | Arguments: Decodable
| `- note: consider making generic parameter 'Arguments' conform to the 'Sendable' protocol
12 | >: FieldComponent<ObjectType, Context> {
13 | let name: String
:
641 | .makePromise(of: EventStream<SourceEventType>.self)
642 | promise.completeWithTask {
643 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure
644 | }
645 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:677:25: warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
675 | let promise = eventLoopGroup.next()
676 | .makePromise(of: EventStream<SourceEventType>.self)
677 | promise.completeWithTask {
| `- warning: type 'EventStream<SourceEventType>' does not conform to the 'Sendable' protocol
678 | try await concurrentSubscribe(type)(context, arguments)
679 | }
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Subscription/EventStream.swift:2:12: note: generic class 'EventStream' does not conform to the 'Sendable' protocol
1 | /// Abstract event stream class - Should be overridden for actual implementations
2 | open class EventStream<Element> {
| `- note: generic class 'EventStream' does not conform to the 'Sendable' protocol
3 | public init() {}
4 | /// Template method for mapping an event stream to a new generic type - MUST be overridden by
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:678:31: warning: capture of 'concurrentSubscribe' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, EventStream<SourceEventType>>' (aka '(ObjectType) -> (Context, Arguments) async throws -> EventStream<SourceEventType>') in a '@Sendable' closure
676 | .makePromise(of: EventStream<SourceEventType>.self)
677 | promise.completeWithTask {
678 | try await concurrentSubscribe(type)(context, arguments)
| |- warning: capture of 'concurrentSubscribe' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, EventStream<SourceEventType>>' (aka '(ObjectType) -> (Context, Arguments) async throws -> EventStream<SourceEventType>') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
679 | }
680 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:678:51: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure
6 | public class SubscriptionField<
7 | SourceEventType,
8 | ObjectType,
| `- note: consider making generic parameter 'ObjectType' conform to the 'Sendable' protocol
9 | Context,
10 | FieldType,
:
676 | .makePromise(of: EventStream<SourceEventType>.self)
677 | promise.completeWithTask {
678 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure
679 | }
680 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:678:57: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure
7 | SourceEventType,
8 | ObjectType,
9 | Context,
| `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
10 | FieldType,
11 | Arguments: Decodable
:
676 | .makePromise(of: EventStream<SourceEventType>.self)
677 | promise.completeWithTask {
678 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure
679 | }
680 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:678:66: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure
9 | Context,
10 | FieldType,
11 | Arguments: Decodable
| `- note: consider making generic parameter 'Arguments' conform to the 'Sendable' protocol
12 | >: FieldComponent<ObjectType, Context> {
13 | let name: String
:
676 | .makePromise(of: EventStream<SourceEventType>.self)
677 | promise.completeWithTask {
678 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure
679 | }
680 | return promise.futureResult
[438/444] Compiling Graphiti Enum.swift
/host/spi-builder-workspace/Sources/Graphiti/Federation/Any.swift:3:5: warning: let 'anyType' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import GraphQL
2 |
3 | let anyType = try! GraphQLScalarType(
| `- warning: let 'anyType' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
4 | name: "_Any",
5 | description: "Scalar representing the JSON form of any type. A __typename field is required.",
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Type/Definition.swift:161:20: note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
159 | *
160 | */
161 | public final class GraphQLScalarType {
| `- note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
162 | public let name: String
163 | public let description: String?
/host/spi-builder-workspace/Sources/Graphiti/Federation/Any.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
1 | import GraphQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
2 |
3 | let anyType = try! GraphQLScalarType(
| |- note: add '@MainActor' to make let 'anyType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
4 | name: "_Any",
5 | description: "Scalar representing the JSON form of any type. A __typename field is required.",
/host/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:71:66: warning: type 'ObjectType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
2 | import NIO
3 |
4 | public class Key<ObjectType, Resolver, Context, Arguments: Codable>: KeyComponent<
| `- note: consider making generic parameter 'ObjectType' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Resolver,
:
69 | // We hop to guarantee that the future will
70 | // return in the same event loop group of the execution.
71 | try simpleAsyncResolve(type)(context, arguments).hop(to: group.next())
| `- warning: type 'ObjectType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
72 | }
73 | }
/host/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:85:37: warning: type 'ObjectType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
2 | import NIO
3 |
4 | public class Key<ObjectType, Resolver, Context, Arguments: Codable>: KeyComponent<
| `- note: consider making generic parameter 'ObjectType' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Resolver,
:
83 | { context, arguments, group in
84 | let result = try syncResolve(type)(context, arguments)
85 | return group.next().makeSucceededFuture(result)
| `- warning: type 'ObjectType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
86 | }
87 | }
/host/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:107:25: warning: type 'ObjectType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
2 | import NIO
3 |
4 | public class Key<ObjectType, Resolver, Context, Arguments: Codable>: KeyComponent<
| `- note: consider making generic parameter 'ObjectType' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Resolver,
:
105 | { context, arguments, eventLoopGroup in
106 | let promise = eventLoopGroup.next().makePromise(of: ObjectType?.self)
107 | promise.completeWithTask {
| `- warning: type 'ObjectType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
108 | try await concurrentResolve(type)(context, arguments)
109 | }
/host/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:108:31: warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<Resolver, Context, Arguments, ObjectType?>' (aka '(Resolver) -> (Context, Arguments) async throws -> Optional<ObjectType>') in a '@Sendable' closure
106 | let promise = eventLoopGroup.next().makePromise(of: ObjectType?.self)
107 | promise.completeWithTask {
108 | try await concurrentResolve(type)(context, arguments)
| |- warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<Resolver, Context, Arguments, ObjectType?>' (aka '(Resolver) -> (Context, Arguments) async throws -> Optional<ObjectType>') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
109 | }
110 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:108:49: warning: capture of 'type' with non-sendable type 'Resolver' in a '@Sendable' closure
2 | import NIO
3 |
4 | public class Key<ObjectType, Resolver, Context, Arguments: Codable>: KeyComponent<
| `- note: consider making generic parameter 'Resolver' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Resolver,
:
106 | let promise = eventLoopGroup.next().makePromise(of: ObjectType?.self)
107 | promise.completeWithTask {
108 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'type' with non-sendable type 'Resolver' in a '@Sendable' closure
109 | }
110 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:108:55: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure
2 | import NIO
3 |
4 | public class Key<ObjectType, Resolver, Context, Arguments: Codable>: KeyComponent<
| `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Resolver,
:
106 | let promise = eventLoopGroup.next().makePromise(of: ObjectType?.self)
107 | promise.completeWithTask {
108 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure
109 | }
110 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:108:64: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure
2 | import NIO
3 |
4 | public class Key<ObjectType, Resolver, Context, Arguments: Codable>: KeyComponent<
| `- note: consider making generic parameter 'Arguments' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Resolver,
:
106 | let promise = eventLoopGroup.next().makePromise(of: ObjectType?.self)
107 | promise.completeWithTask {
108 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure
109 | }
110 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Federation/Queries.swift:10:41: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
8 | resolve: { _, _, _, eventLoopGroup, _ in
9 | let result = Service(sdl: sdl)
10 | return eventLoopGroup.any().makeSucceededFuture(result)
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
11 | }
12 | )
[439/444] Compiling Graphiti Any.swift
/host/spi-builder-workspace/Sources/Graphiti/Federation/Any.swift:3:5: warning: let 'anyType' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import GraphQL
2 |
3 | let anyType = try! GraphQLScalarType(
| `- warning: let 'anyType' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
4 | name: "_Any",
5 | description: "Scalar representing the JSON form of any type. A __typename field is required.",
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Type/Definition.swift:161:20: note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
159 | *
160 | */
161 | public final class GraphQLScalarType {
| `- note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
162 | public let name: String
163 | public let description: String?
/host/spi-builder-workspace/Sources/Graphiti/Federation/Any.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
1 | import GraphQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
2 |
3 | let anyType = try! GraphQLScalarType(
| |- note: add '@MainActor' to make let 'anyType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
4 | name: "_Any",
5 | description: "Scalar representing the JSON form of any type. A __typename field is required.",
/host/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:71:66: warning: type 'ObjectType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
2 | import NIO
3 |
4 | public class Key<ObjectType, Resolver, Context, Arguments: Codable>: KeyComponent<
| `- note: consider making generic parameter 'ObjectType' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Resolver,
:
69 | // We hop to guarantee that the future will
70 | // return in the same event loop group of the execution.
71 | try simpleAsyncResolve(type)(context, arguments).hop(to: group.next())
| `- warning: type 'ObjectType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
72 | }
73 | }
/host/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:85:37: warning: type 'ObjectType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
2 | import NIO
3 |
4 | public class Key<ObjectType, Resolver, Context, Arguments: Codable>: KeyComponent<
| `- note: consider making generic parameter 'ObjectType' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Resolver,
:
83 | { context, arguments, group in
84 | let result = try syncResolve(type)(context, arguments)
85 | return group.next().makeSucceededFuture(result)
| `- warning: type 'ObjectType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
86 | }
87 | }
/host/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:107:25: warning: type 'ObjectType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
2 | import NIO
3 |
4 | public class Key<ObjectType, Resolver, Context, Arguments: Codable>: KeyComponent<
| `- note: consider making generic parameter 'ObjectType' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Resolver,
:
105 | { context, arguments, eventLoopGroup in
106 | let promise = eventLoopGroup.next().makePromise(of: ObjectType?.self)
107 | promise.completeWithTask {
| `- warning: type 'ObjectType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
108 | try await concurrentResolve(type)(context, arguments)
109 | }
/host/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:108:31: warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<Resolver, Context, Arguments, ObjectType?>' (aka '(Resolver) -> (Context, Arguments) async throws -> Optional<ObjectType>') in a '@Sendable' closure
106 | let promise = eventLoopGroup.next().makePromise(of: ObjectType?.self)
107 | promise.completeWithTask {
108 | try await concurrentResolve(type)(context, arguments)
| |- warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<Resolver, Context, Arguments, ObjectType?>' (aka '(Resolver) -> (Context, Arguments) async throws -> Optional<ObjectType>') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
109 | }
110 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:108:49: warning: capture of 'type' with non-sendable type 'Resolver' in a '@Sendable' closure
2 | import NIO
3 |
4 | public class Key<ObjectType, Resolver, Context, Arguments: Codable>: KeyComponent<
| `- note: consider making generic parameter 'Resolver' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Resolver,
:
106 | let promise = eventLoopGroup.next().makePromise(of: ObjectType?.self)
107 | promise.completeWithTask {
108 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'type' with non-sendable type 'Resolver' in a '@Sendable' closure
109 | }
110 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:108:55: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure
2 | import NIO
3 |
4 | public class Key<ObjectType, Resolver, Context, Arguments: Codable>: KeyComponent<
| `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Resolver,
:
106 | let promise = eventLoopGroup.next().makePromise(of: ObjectType?.self)
107 | promise.completeWithTask {
108 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure
109 | }
110 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:108:64: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure
2 | import NIO
3 |
4 | public class Key<ObjectType, Resolver, Context, Arguments: Codable>: KeyComponent<
| `- note: consider making generic parameter 'Arguments' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Resolver,
:
106 | let promise = eventLoopGroup.next().makePromise(of: ObjectType?.self)
107 | promise.completeWithTask {
108 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure
109 | }
110 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Federation/Queries.swift:10:41: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
8 | resolve: { _, _, _, eventLoopGroup, _ in
9 | let result = Service(sdl: sdl)
10 | return eventLoopGroup.any().makeSucceededFuture(result)
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
11 | }
12 | )
[440/444] Compiling Graphiti Entity.swift
/host/spi-builder-workspace/Sources/Graphiti/Federation/Any.swift:3:5: warning: let 'anyType' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import GraphQL
2 |
3 | let anyType = try! GraphQLScalarType(
| `- warning: let 'anyType' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
4 | name: "_Any",
5 | description: "Scalar representing the JSON form of any type. A __typename field is required.",
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Type/Definition.swift:161:20: note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
159 | *
160 | */
161 | public final class GraphQLScalarType {
| `- note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
162 | public let name: String
163 | public let description: String?
/host/spi-builder-workspace/Sources/Graphiti/Federation/Any.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
1 | import GraphQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
2 |
3 | let anyType = try! GraphQLScalarType(
| |- note: add '@MainActor' to make let 'anyType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
4 | name: "_Any",
5 | description: "Scalar representing the JSON form of any type. A __typename field is required.",
/host/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:71:66: warning: type 'ObjectType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
2 | import NIO
3 |
4 | public class Key<ObjectType, Resolver, Context, Arguments: Codable>: KeyComponent<
| `- note: consider making generic parameter 'ObjectType' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Resolver,
:
69 | // We hop to guarantee that the future will
70 | // return in the same event loop group of the execution.
71 | try simpleAsyncResolve(type)(context, arguments).hop(to: group.next())
| `- warning: type 'ObjectType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
72 | }
73 | }
/host/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:85:37: warning: type 'ObjectType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
2 | import NIO
3 |
4 | public class Key<ObjectType, Resolver, Context, Arguments: Codable>: KeyComponent<
| `- note: consider making generic parameter 'ObjectType' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Resolver,
:
83 | { context, arguments, group in
84 | let result = try syncResolve(type)(context, arguments)
85 | return group.next().makeSucceededFuture(result)
| `- warning: type 'ObjectType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
86 | }
87 | }
/host/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:107:25: warning: type 'ObjectType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
2 | import NIO
3 |
4 | public class Key<ObjectType, Resolver, Context, Arguments: Codable>: KeyComponent<
| `- note: consider making generic parameter 'ObjectType' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Resolver,
:
105 | { context, arguments, eventLoopGroup in
106 | let promise = eventLoopGroup.next().makePromise(of: ObjectType?.self)
107 | promise.completeWithTask {
| `- warning: type 'ObjectType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
108 | try await concurrentResolve(type)(context, arguments)
109 | }
/host/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:108:31: warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<Resolver, Context, Arguments, ObjectType?>' (aka '(Resolver) -> (Context, Arguments) async throws -> Optional<ObjectType>') in a '@Sendable' closure
106 | let promise = eventLoopGroup.next().makePromise(of: ObjectType?.self)
107 | promise.completeWithTask {
108 | try await concurrentResolve(type)(context, arguments)
| |- warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<Resolver, Context, Arguments, ObjectType?>' (aka '(Resolver) -> (Context, Arguments) async throws -> Optional<ObjectType>') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
109 | }
110 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:108:49: warning: capture of 'type' with non-sendable type 'Resolver' in a '@Sendable' closure
2 | import NIO
3 |
4 | public class Key<ObjectType, Resolver, Context, Arguments: Codable>: KeyComponent<
| `- note: consider making generic parameter 'Resolver' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Resolver,
:
106 | let promise = eventLoopGroup.next().makePromise(of: ObjectType?.self)
107 | promise.completeWithTask {
108 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'type' with non-sendable type 'Resolver' in a '@Sendable' closure
109 | }
110 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:108:55: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure
2 | import NIO
3 |
4 | public class Key<ObjectType, Resolver, Context, Arguments: Codable>: KeyComponent<
| `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Resolver,
:
106 | let promise = eventLoopGroup.next().makePromise(of: ObjectType?.self)
107 | promise.completeWithTask {
108 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure
109 | }
110 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:108:64: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure
2 | import NIO
3 |
4 | public class Key<ObjectType, Resolver, Context, Arguments: Codable>: KeyComponent<
| `- note: consider making generic parameter 'Arguments' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Resolver,
:
106 | let promise = eventLoopGroup.next().makePromise(of: ObjectType?.self)
107 | promise.completeWithTask {
108 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure
109 | }
110 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Federation/Queries.swift:10:41: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
8 | resolve: { _, _, _, eventLoopGroup, _ in
9 | let result = Service(sdl: sdl)
10 | return eventLoopGroup.any().makeSucceededFuture(result)
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
11 | }
12 | )
[441/444] Compiling Graphiti Key.swift
/host/spi-builder-workspace/Sources/Graphiti/Federation/Any.swift:3:5: warning: let 'anyType' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import GraphQL
2 |
3 | let anyType = try! GraphQLScalarType(
| `- warning: let 'anyType' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
4 | name: "_Any",
5 | description: "Scalar representing the JSON form of any type. A __typename field is required.",
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Type/Definition.swift:161:20: note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
159 | *
160 | */
161 | public final class GraphQLScalarType {
| `- note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
162 | public let name: String
163 | public let description: String?
/host/spi-builder-workspace/Sources/Graphiti/Federation/Any.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
1 | import GraphQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
2 |
3 | let anyType = try! GraphQLScalarType(
| |- note: add '@MainActor' to make let 'anyType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
4 | name: "_Any",
5 | description: "Scalar representing the JSON form of any type. A __typename field is required.",
/host/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:71:66: warning: type 'ObjectType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
2 | import NIO
3 |
4 | public class Key<ObjectType, Resolver, Context, Arguments: Codable>: KeyComponent<
| `- note: consider making generic parameter 'ObjectType' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Resolver,
:
69 | // We hop to guarantee that the future will
70 | // return in the same event loop group of the execution.
71 | try simpleAsyncResolve(type)(context, arguments).hop(to: group.next())
| `- warning: type 'ObjectType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
72 | }
73 | }
/host/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:85:37: warning: type 'ObjectType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
2 | import NIO
3 |
4 | public class Key<ObjectType, Resolver, Context, Arguments: Codable>: KeyComponent<
| `- note: consider making generic parameter 'ObjectType' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Resolver,
:
83 | { context, arguments, group in
84 | let result = try syncResolve(type)(context, arguments)
85 | return group.next().makeSucceededFuture(result)
| `- warning: type 'ObjectType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
86 | }
87 | }
/host/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:107:25: warning: type 'ObjectType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
2 | import NIO
3 |
4 | public class Key<ObjectType, Resolver, Context, Arguments: Codable>: KeyComponent<
| `- note: consider making generic parameter 'ObjectType' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Resolver,
:
105 | { context, arguments, eventLoopGroup in
106 | let promise = eventLoopGroup.next().makePromise(of: ObjectType?.self)
107 | promise.completeWithTask {
| `- warning: type 'ObjectType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
108 | try await concurrentResolve(type)(context, arguments)
109 | }
/host/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:108:31: warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<Resolver, Context, Arguments, ObjectType?>' (aka '(Resolver) -> (Context, Arguments) async throws -> Optional<ObjectType>') in a '@Sendable' closure
106 | let promise = eventLoopGroup.next().makePromise(of: ObjectType?.self)
107 | promise.completeWithTask {
108 | try await concurrentResolve(type)(context, arguments)
| |- warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<Resolver, Context, Arguments, ObjectType?>' (aka '(Resolver) -> (Context, Arguments) async throws -> Optional<ObjectType>') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
109 | }
110 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:108:49: warning: capture of 'type' with non-sendable type 'Resolver' in a '@Sendable' closure
2 | import NIO
3 |
4 | public class Key<ObjectType, Resolver, Context, Arguments: Codable>: KeyComponent<
| `- note: consider making generic parameter 'Resolver' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Resolver,
:
106 | let promise = eventLoopGroup.next().makePromise(of: ObjectType?.self)
107 | promise.completeWithTask {
108 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'type' with non-sendable type 'Resolver' in a '@Sendable' closure
109 | }
110 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:108:55: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure
2 | import NIO
3 |
4 | public class Key<ObjectType, Resolver, Context, Arguments: Codable>: KeyComponent<
| `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Resolver,
:
106 | let promise = eventLoopGroup.next().makePromise(of: ObjectType?.self)
107 | promise.completeWithTask {
108 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure
109 | }
110 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:108:64: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure
2 | import NIO
3 |
4 | public class Key<ObjectType, Resolver, Context, Arguments: Codable>: KeyComponent<
| `- note: consider making generic parameter 'Arguments' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Resolver,
:
106 | let promise = eventLoopGroup.next().makePromise(of: ObjectType?.self)
107 | promise.completeWithTask {
108 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure
109 | }
110 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Federation/Queries.swift:10:41: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
8 | resolve: { _, _, _, eventLoopGroup, _ in
9 | let result = Service(sdl: sdl)
10 | return eventLoopGroup.any().makeSucceededFuture(result)
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
11 | }
12 | )
[442/444] Compiling Graphiti KeyComponent.swift
/host/spi-builder-workspace/Sources/Graphiti/Federation/Any.swift:3:5: warning: let 'anyType' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import GraphQL
2 |
3 | let anyType = try! GraphQLScalarType(
| `- warning: let 'anyType' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
4 | name: "_Any",
5 | description: "Scalar representing the JSON form of any type. A __typename field is required.",
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Type/Definition.swift:161:20: note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
159 | *
160 | */
161 | public final class GraphQLScalarType {
| `- note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
162 | public let name: String
163 | public let description: String?
/host/spi-builder-workspace/Sources/Graphiti/Federation/Any.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
1 | import GraphQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
2 |
3 | let anyType = try! GraphQLScalarType(
| |- note: add '@MainActor' to make let 'anyType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
4 | name: "_Any",
5 | description: "Scalar representing the JSON form of any type. A __typename field is required.",
/host/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:71:66: warning: type 'ObjectType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
2 | import NIO
3 |
4 | public class Key<ObjectType, Resolver, Context, Arguments: Codable>: KeyComponent<
| `- note: consider making generic parameter 'ObjectType' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Resolver,
:
69 | // We hop to guarantee that the future will
70 | // return in the same event loop group of the execution.
71 | try simpleAsyncResolve(type)(context, arguments).hop(to: group.next())
| `- warning: type 'ObjectType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
72 | }
73 | }
/host/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:85:37: warning: type 'ObjectType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
2 | import NIO
3 |
4 | public class Key<ObjectType, Resolver, Context, Arguments: Codable>: KeyComponent<
| `- note: consider making generic parameter 'ObjectType' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Resolver,
:
83 | { context, arguments, group in
84 | let result = try syncResolve(type)(context, arguments)
85 | return group.next().makeSucceededFuture(result)
| `- warning: type 'ObjectType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
86 | }
87 | }
/host/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:107:25: warning: type 'ObjectType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
2 | import NIO
3 |
4 | public class Key<ObjectType, Resolver, Context, Arguments: Codable>: KeyComponent<
| `- note: consider making generic parameter 'ObjectType' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Resolver,
:
105 | { context, arguments, eventLoopGroup in
106 | let promise = eventLoopGroup.next().makePromise(of: ObjectType?.self)
107 | promise.completeWithTask {
| `- warning: type 'ObjectType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
108 | try await concurrentResolve(type)(context, arguments)
109 | }
/host/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:108:31: warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<Resolver, Context, Arguments, ObjectType?>' (aka '(Resolver) -> (Context, Arguments) async throws -> Optional<ObjectType>') in a '@Sendable' closure
106 | let promise = eventLoopGroup.next().makePromise(of: ObjectType?.self)
107 | promise.completeWithTask {
108 | try await concurrentResolve(type)(context, arguments)
| |- warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<Resolver, Context, Arguments, ObjectType?>' (aka '(Resolver) -> (Context, Arguments) async throws -> Optional<ObjectType>') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
109 | }
110 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:108:49: warning: capture of 'type' with non-sendable type 'Resolver' in a '@Sendable' closure
2 | import NIO
3 |
4 | public class Key<ObjectType, Resolver, Context, Arguments: Codable>: KeyComponent<
| `- note: consider making generic parameter 'Resolver' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Resolver,
:
106 | let promise = eventLoopGroup.next().makePromise(of: ObjectType?.self)
107 | promise.completeWithTask {
108 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'type' with non-sendable type 'Resolver' in a '@Sendable' closure
109 | }
110 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:108:55: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure
2 | import NIO
3 |
4 | public class Key<ObjectType, Resolver, Context, Arguments: Codable>: KeyComponent<
| `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Resolver,
:
106 | let promise = eventLoopGroup.next().makePromise(of: ObjectType?.self)
107 | promise.completeWithTask {
108 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure
109 | }
110 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:108:64: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure
2 | import NIO
3 |
4 | public class Key<ObjectType, Resolver, Context, Arguments: Codable>: KeyComponent<
| `- note: consider making generic parameter 'Arguments' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Resolver,
:
106 | let promise = eventLoopGroup.next().makePromise(of: ObjectType?.self)
107 | promise.completeWithTask {
108 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure
109 | }
110 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Federation/Queries.swift:10:41: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
8 | resolve: { _, _, _, eventLoopGroup, _ in
9 | let result = Service(sdl: sdl)
10 | return eventLoopGroup.any().makeSucceededFuture(result)
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
11 | }
12 | )
[443/444] Compiling Graphiti Type+Key.swift
/host/spi-builder-workspace/Sources/Graphiti/Federation/Any.swift:3:5: warning: let 'anyType' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import GraphQL
2 |
3 | let anyType = try! GraphQLScalarType(
| `- warning: let 'anyType' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
4 | name: "_Any",
5 | description: "Scalar representing the JSON form of any type. A __typename field is required.",
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Type/Definition.swift:161:20: note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
159 | *
160 | */
161 | public final class GraphQLScalarType {
| `- note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
162 | public let name: String
163 | public let description: String?
/host/spi-builder-workspace/Sources/Graphiti/Federation/Any.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
1 | import GraphQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
2 |
3 | let anyType = try! GraphQLScalarType(
| |- note: add '@MainActor' to make let 'anyType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
4 | name: "_Any",
5 | description: "Scalar representing the JSON form of any type. A __typename field is required.",
/host/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:71:66: warning: type 'ObjectType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
2 | import NIO
3 |
4 | public class Key<ObjectType, Resolver, Context, Arguments: Codable>: KeyComponent<
| `- note: consider making generic parameter 'ObjectType' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Resolver,
:
69 | // We hop to guarantee that the future will
70 | // return in the same event loop group of the execution.
71 | try simpleAsyncResolve(type)(context, arguments).hop(to: group.next())
| `- warning: type 'ObjectType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
72 | }
73 | }
/host/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:85:37: warning: type 'ObjectType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
2 | import NIO
3 |
4 | public class Key<ObjectType, Resolver, Context, Arguments: Codable>: KeyComponent<
| `- note: consider making generic parameter 'ObjectType' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Resolver,
:
83 | { context, arguments, group in
84 | let result = try syncResolve(type)(context, arguments)
85 | return group.next().makeSucceededFuture(result)
| `- warning: type 'ObjectType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
86 | }
87 | }
/host/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:107:25: warning: type 'ObjectType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
2 | import NIO
3 |
4 | public class Key<ObjectType, Resolver, Context, Arguments: Codable>: KeyComponent<
| `- note: consider making generic parameter 'ObjectType' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Resolver,
:
105 | { context, arguments, eventLoopGroup in
106 | let promise = eventLoopGroup.next().makePromise(of: ObjectType?.self)
107 | promise.completeWithTask {
| `- warning: type 'ObjectType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
108 | try await concurrentResolve(type)(context, arguments)
109 | }
/host/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:108:31: warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<Resolver, Context, Arguments, ObjectType?>' (aka '(Resolver) -> (Context, Arguments) async throws -> Optional<ObjectType>') in a '@Sendable' closure
106 | let promise = eventLoopGroup.next().makePromise(of: ObjectType?.self)
107 | promise.completeWithTask {
108 | try await concurrentResolve(type)(context, arguments)
| |- warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<Resolver, Context, Arguments, ObjectType?>' (aka '(Resolver) -> (Context, Arguments) async throws -> Optional<ObjectType>') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
109 | }
110 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:108:49: warning: capture of 'type' with non-sendable type 'Resolver' in a '@Sendable' closure
2 | import NIO
3 |
4 | public class Key<ObjectType, Resolver, Context, Arguments: Codable>: KeyComponent<
| `- note: consider making generic parameter 'Resolver' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Resolver,
:
106 | let promise = eventLoopGroup.next().makePromise(of: ObjectType?.self)
107 | promise.completeWithTask {
108 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'type' with non-sendable type 'Resolver' in a '@Sendable' closure
109 | }
110 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:108:55: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure
2 | import NIO
3 |
4 | public class Key<ObjectType, Resolver, Context, Arguments: Codable>: KeyComponent<
| `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Resolver,
:
106 | let promise = eventLoopGroup.next().makePromise(of: ObjectType?.self)
107 | promise.completeWithTask {
108 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure
109 | }
110 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:108:64: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure
2 | import NIO
3 |
4 | public class Key<ObjectType, Resolver, Context, Arguments: Codable>: KeyComponent<
| `- note: consider making generic parameter 'Arguments' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Resolver,
:
106 | let promise = eventLoopGroup.next().makePromise(of: ObjectType?.self)
107 | promise.completeWithTask {
108 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure
109 | }
110 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Federation/Queries.swift:10:41: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
8 | resolve: { _, _, _, eventLoopGroup, _ in
9 | let result = Service(sdl: sdl)
10 | return eventLoopGroup.any().makeSucceededFuture(result)
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
11 | }
12 | )
[444/444] Compiling Graphiti Queries.swift
/host/spi-builder-workspace/Sources/Graphiti/Federation/Any.swift:3:5: warning: let 'anyType' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import GraphQL
2 |
3 | let anyType = try! GraphQLScalarType(
| `- warning: let 'anyType' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
4 | name: "_Any",
5 | description: "Scalar representing the JSON form of any type. A __typename field is required.",
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Type/Definition.swift:161:20: note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
159 | *
160 | */
161 | public final class GraphQLScalarType {
| `- note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
162 | public let name: String
163 | public let description: String?
/host/spi-builder-workspace/Sources/Graphiti/Federation/Any.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
1 | import GraphQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
2 |
3 | let anyType = try! GraphQLScalarType(
| |- note: add '@MainActor' to make let 'anyType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
4 | name: "_Any",
5 | description: "Scalar representing the JSON form of any type. A __typename field is required.",
/host/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:71:66: warning: type 'ObjectType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
2 | import NIO
3 |
4 | public class Key<ObjectType, Resolver, Context, Arguments: Codable>: KeyComponent<
| `- note: consider making generic parameter 'ObjectType' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Resolver,
:
69 | // We hop to guarantee that the future will
70 | // return in the same event loop group of the execution.
71 | try simpleAsyncResolve(type)(context, arguments).hop(to: group.next())
| `- warning: type 'ObjectType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
72 | }
73 | }
/host/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:85:37: warning: type 'ObjectType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
2 | import NIO
3 |
4 | public class Key<ObjectType, Resolver, Context, Arguments: Codable>: KeyComponent<
| `- note: consider making generic parameter 'ObjectType' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Resolver,
:
83 | { context, arguments, group in
84 | let result = try syncResolve(type)(context, arguments)
85 | return group.next().makeSucceededFuture(result)
| `- warning: type 'ObjectType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
86 | }
87 | }
/host/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:107:25: warning: type 'ObjectType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
2 | import NIO
3 |
4 | public class Key<ObjectType, Resolver, Context, Arguments: Codable>: KeyComponent<
| `- note: consider making generic parameter 'ObjectType' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Resolver,
:
105 | { context, arguments, eventLoopGroup in
106 | let promise = eventLoopGroup.next().makePromise(of: ObjectType?.self)
107 | promise.completeWithTask {
| `- warning: type 'ObjectType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
108 | try await concurrentResolve(type)(context, arguments)
109 | }
/host/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:108:31: warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<Resolver, Context, Arguments, ObjectType?>' (aka '(Resolver) -> (Context, Arguments) async throws -> Optional<ObjectType>') in a '@Sendable' closure
106 | let promise = eventLoopGroup.next().makePromise(of: ObjectType?.self)
107 | promise.completeWithTask {
108 | try await concurrentResolve(type)(context, arguments)
| |- warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<Resolver, Context, Arguments, ObjectType?>' (aka '(Resolver) -> (Context, Arguments) async throws -> Optional<ObjectType>') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
109 | }
110 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:108:49: warning: capture of 'type' with non-sendable type 'Resolver' in a '@Sendable' closure
2 | import NIO
3 |
4 | public class Key<ObjectType, Resolver, Context, Arguments: Codable>: KeyComponent<
| `- note: consider making generic parameter 'Resolver' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Resolver,
:
106 | let promise = eventLoopGroup.next().makePromise(of: ObjectType?.self)
107 | promise.completeWithTask {
108 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'type' with non-sendable type 'Resolver' in a '@Sendable' closure
109 | }
110 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:108:55: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure
2 | import NIO
3 |
4 | public class Key<ObjectType, Resolver, Context, Arguments: Codable>: KeyComponent<
| `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Resolver,
:
106 | let promise = eventLoopGroup.next().makePromise(of: ObjectType?.self)
107 | promise.completeWithTask {
108 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure
109 | }
110 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:108:64: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure
2 | import NIO
3 |
4 | public class Key<ObjectType, Resolver, Context, Arguments: Codable>: KeyComponent<
| `- note: consider making generic parameter 'Arguments' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Resolver,
:
106 | let promise = eventLoopGroup.next().makePromise(of: ObjectType?.self)
107 | promise.completeWithTask {
108 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure
109 | }
110 | return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Federation/Queries.swift:10:41: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
8 | resolve: { _, _, _, eventLoopGroup, _ in
9 | let result = Service(sdl: sdl)
10 | return eventLoopGroup.any().makeSucceededFuture(result)
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
11 | }
12 | )
Build complete! (119.14s)
Build complete.
{
"dependencies" : [
{
"identity" : "graphql",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/GraphQLSwift/GraphQL.git"
}
],
"manifest_display_name" : "Graphiti",
"name" : "Graphiti",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Graphiti",
"targets" : [
"Graphiti"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "GraphitiTests",
"module_type" : "SwiftTarget",
"name" : "GraphitiTests",
"path" : "Tests/GraphitiTests",
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/GraphitiTests/FederationTests/GraphQL",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"ConnectionTests.swift",
"DefaultValueTests.swift",
"DirectiveTests/DirectiveTests.swift",
"FederationTests/FederationOnlySchemaTests.swift",
"FederationTests/FederationTests.swift",
"HelloWorldTests/HelloWorldAsyncTests.swift",
"HelloWorldTests/HelloWorldTests.swift",
"PartialSchemaTests.swift",
"ProductAPI/ProductAPI.swift",
"ProductAPI/ProductContext.swift",
"ProductAPI/ProductEntities.swift",
"ProductAPI/ProductResolver.swift",
"ProductAPI/ProductSchema.swift",
"ScalarTests.swift",
"SchemaBuilderTests.swift",
"SchemaTests.swift",
"StarWarsAPI/StarWarsAPI.swift",
"StarWarsAPI/StarWarsContext.swift",
"StarWarsAPI/StarWarsEntities.swift",
"StarWarsAPI/StarWarsResolver.swift",
"StarWarsTests/StarWarsIntrospectionTests.swift",
"StarWarsTests/StarWarsQueryTests.swift",
"UnionTests.swift",
"ValidationRulesTests.swift"
],
"target_dependencies" : [
"Graphiti"
],
"type" : "test"
},
{
"c99name" : "Graphiti",
"module_type" : "SwiftTarget",
"name" : "Graphiti",
"path" : "Sources/Graphiti",
"product_dependencies" : [
"GraphQL"
],
"product_memberships" : [
"Graphiti"
],
"sources" : [
"API/API.swift",
"Argument/Argument.swift",
"Argument/ArgumentComponent.swift",
"Argument/ArgumentComponentBuilder.swift",
"Argument/NoArguments.swift",
"Coder/Coders.swift",
"Component/Component.swift",
"Component/ComponentBuilder.swift",
"Component/TypeComponent.swift",
"Component/TypeComponentBuilder.swift",
"Connection/Connection.swift",
"Connection/ConnectionType.swift",
"Connection/Edge.swift",
"Connection/PageInfo.swift",
"Connection/PagniationArguments/BackwardPaginationArguments.swift",
"Connection/PagniationArguments/ForwardPaginationArguments.swift",
"Connection/PagniationArguments/PaginationArguments.swift",
"Context/NoContext.swift",
"Definition/AnyType.swift",
"Definition/Reflection.swift",
"Definition/TypeProvider.swift",
"Definition/Wrappers.swift",
"Enum/Enum.swift",
"Federation/Any.swift",
"Federation/Entity.swift",
"Federation/Key/Key.swift",
"Federation/Key/KeyComponent.swift",
"Federation/Key/Type+Key.swift",
"Federation/Queries.swift",
"Federation/Service.swift",
"Field/Field/Field.swift",
"Field/Field/FieldComponent.swift",
"Field/Field/FieldComponentBuilder.swift",
"Field/Resolve/AsyncResolve.swift",
"Field/Resolve/ConcurrentResolve.swift",
"Field/Resolve/SimpleAsyncResolve.swift",
"Field/Resolve/SyncResolve.swift",
"Input/Input.swift",
"InputField/InputField.swift",
"InputField/InputFieldComponent.swift",
"InputField/InputFieldComponentBuilder.swift",
"Interface/Interface.swift",
"Mutation/Mutation.swift",
"Query/Query.swift",
"Scalar/Scalar.swift",
"Schema/Schema.swift",
"Schema/SchemaTypeProvider.swift",
"SchemaBuilders/PartialSchema.swift",
"SchemaBuilders/SchemaBuilder.swift",
"Subscription/SubscribeField.swift",
"Subscription/SubscribeResolve.swift",
"Subscription/Subscription.swift",
"Type/Type.swift",
"Union/Union.swift",
"Validation/NoIntrospectionRule.swift",
"Value/Value.swift",
"Value/ValueBuilder.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Done.