The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of Graphiti, reference 2.1.0 (cedafb), with Swift 6.1 for Linux on 9 Jun 2025 18:37:36 UTC.

Swift 6 data race errors: 2

Build Command

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

Build Log

 5 | }
 6 |
 7 | let serviceType = try! GraphQLObjectType(
   |     `- warning: let 'serviceType' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
 8 |     name: "_Service",
 9 |     description: "Federation service object",
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Type/Definition.swift:276:20: note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
 274 |  *
 275 |  */
 276 | public final class GraphQLObjectType {
     |                    `- note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
 277 |     public let name: String
 278 |     public let description: String?
/host/spi-builder-workspace/Sources/Graphiti/Federation/Service.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 | struct Service: Codable {
   :
 5 | }
 6 |
 7 | let serviceType = try! GraphQLObjectType(
   |     |- note: add '@MainActor' to make let 'serviceType' part of global actor 'MainActor'
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 8 |     name: "_Service",
 9 |     description: "Federation service object",
/host/spi-builder-workspace/Sources/Graphiti/Field/Field/Field.swift:90:66: warning: type 'ResolveType' does not conform to the 'Sendable' protocol
 74 |     }
 75 |
 76 |     convenience init<ResolveType>(
    |                      `- note: consider making generic parameter 'ResolveType' conform to the 'Sendable' protocol
 77 |         name: String,
 78 |         arguments: [ArgumentComponent<Arguments>],
    :
 88 |                 // We hop to guarantee that the future will
 89 |                 // return in the same event loop group of the execution.
 90 |                 try simpleAsyncResolve(type)(context, arguments).hop(to: group.next())
    |                                                                  `- warning: type 'ResolveType' does not conform to the 'Sendable' protocol
 91 |             }
 92 |         }
/host/spi-builder-workspace/Sources/Graphiti/Field/Field/Field.swift:105:37: warning: type 'ResolveType' does not conform to the 'Sendable' protocol
 95 |     }
 96 |
 97 |     convenience init<ResolveType>(
    |                      `- note: consider making generic parameter 'ResolveType' conform to the 'Sendable' protocol
 98 |         name: String,
 99 |         arguments: [ArgumentComponent<Arguments>],
    :
103 |             { context, arguments, group in
104 |                 let result = try syncResolve(type)(context, arguments)
105 |                 return group.next().makeSucceededFuture(result)
    |                                     `- warning: type 'ResolveType' does not conform to the 'Sendable' protocol
106 |             }
107 |         }
/host/spi-builder-workspace/Sources/Graphiti/Field/Field/Field.swift:213:25: warning: type 'ResolveType' does not conform to the 'Sendable' protocol
198 | public extension Field {
199 |     @available(macOS 10.15, iOS 15, watchOS 8, tvOS 15, *)
200 |     convenience init<ResolveType>(
    |                      `- note: consider making generic parameter 'ResolveType' conform to the 'Sendable' protocol
201 |         name: String,
202 |         arguments: [ArgumentComponent<Arguments>],
    :
211 |             { context, arguments, eventLoopGroup in
212 |                 let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
213 |                 promise.completeWithTask {
    |                         `- warning: type 'ResolveType' does not conform to the 'Sendable' protocol
214 |                     try await concurrentResolve(type)(context, arguments)
215 |                 }
/host/spi-builder-workspace/Sources/Graphiti/Field/Field/Field.swift:214:31: warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, ResolveType>' (aka '(ObjectType) -> (Context, Arguments) async throws -> ResolveType') in a '@Sendable' closure
212 |                 let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
213 |                 promise.completeWithTask {
214 |                     try await concurrentResolve(type)(context, arguments)
    |                               |- warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, ResolveType>' (aka '(ObjectType) -> (Context, Arguments) async throws -> ResolveType') in a '@Sendable' closure
    |                               `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
215 |                 }
216 |                 return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Field/Field/Field.swift:214:49: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure
  2 | import NIO
  3 |
  4 | public class Field<ObjectType, Context, FieldType, Arguments: Decodable>: FieldComponent<
    |                    `- note: consider making generic parameter 'ObjectType' conform to the 'Sendable' protocol
  5 |     ObjectType,
  6 |     Context
    :
212 |                 let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
213 |                 promise.completeWithTask {
214 |                     try await concurrentResolve(type)(context, arguments)
    |                                                 `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure
215 |                 }
216 |                 return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Field/Field/Field.swift:214:55: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure
  2 | import NIO
  3 |
  4 | public class Field<ObjectType, Context, FieldType, Arguments: Decodable>: FieldComponent<
    |                                `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
  5 |     ObjectType,
  6 |     Context
    :
212 |                 let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
213 |                 promise.completeWithTask {
214 |                     try await concurrentResolve(type)(context, arguments)
    |                                                       `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure
215 |                 }
216 |                 return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Field/Field/Field.swift:214:64: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure
  2 | import NIO
  3 |
  4 | public class Field<ObjectType, Context, FieldType, Arguments: Decodable>: FieldComponent<
    |                                                    `- note: consider making generic parameter 'Arguments' conform to the 'Sendable' protocol
  5 |     ObjectType,
  6 |     Context
    :
212 |                 let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
213 |                 promise.completeWithTask {
214 |                     try await concurrentResolve(type)(context, arguments)
    |                                                                `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure
215 |                 }
216 |                 return promise.futureResult
[426/444] Compiling Graphiti FieldComponent.swift
/host/spi-builder-workspace/Sources/Graphiti/Federation/Service.swift:7:5: warning: let 'serviceType' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
 5 | }
 6 |
 7 | let serviceType = try! GraphQLObjectType(
   |     `- warning: let 'serviceType' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
 8 |     name: "_Service",
 9 |     description: "Federation service object",
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Type/Definition.swift:276:20: note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
 274 |  *
 275 |  */
 276 | public final class GraphQLObjectType {
     |                    `- note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
 277 |     public let name: String
 278 |     public let description: String?
/host/spi-builder-workspace/Sources/Graphiti/Federation/Service.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 | struct Service: Codable {
   :
 5 | }
 6 |
 7 | let serviceType = try! GraphQLObjectType(
   |     |- note: add '@MainActor' to make let 'serviceType' part of global actor 'MainActor'
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 8 |     name: "_Service",
 9 |     description: "Federation service object",
/host/spi-builder-workspace/Sources/Graphiti/Field/Field/Field.swift:90:66: warning: type 'ResolveType' does not conform to the 'Sendable' protocol
 74 |     }
 75 |
 76 |     convenience init<ResolveType>(
    |                      `- note: consider making generic parameter 'ResolveType' conform to the 'Sendable' protocol
 77 |         name: String,
 78 |         arguments: [ArgumentComponent<Arguments>],
    :
 88 |                 // We hop to guarantee that the future will
 89 |                 // return in the same event loop group of the execution.
 90 |                 try simpleAsyncResolve(type)(context, arguments).hop(to: group.next())
    |                                                                  `- warning: type 'ResolveType' does not conform to the 'Sendable' protocol
 91 |             }
 92 |         }
/host/spi-builder-workspace/Sources/Graphiti/Field/Field/Field.swift:105:37: warning: type 'ResolveType' does not conform to the 'Sendable' protocol
 95 |     }
 96 |
 97 |     convenience init<ResolveType>(
    |                      `- note: consider making generic parameter 'ResolveType' conform to the 'Sendable' protocol
 98 |         name: String,
 99 |         arguments: [ArgumentComponent<Arguments>],
    :
103 |             { context, arguments, group in
104 |                 let result = try syncResolve(type)(context, arguments)
105 |                 return group.next().makeSucceededFuture(result)
    |                                     `- warning: type 'ResolveType' does not conform to the 'Sendable' protocol
106 |             }
107 |         }
/host/spi-builder-workspace/Sources/Graphiti/Field/Field/Field.swift:213:25: warning: type 'ResolveType' does not conform to the 'Sendable' protocol
198 | public extension Field {
199 |     @available(macOS 10.15, iOS 15, watchOS 8, tvOS 15, *)
200 |     convenience init<ResolveType>(
    |                      `- note: consider making generic parameter 'ResolveType' conform to the 'Sendable' protocol
201 |         name: String,
202 |         arguments: [ArgumentComponent<Arguments>],
    :
211 |             { context, arguments, eventLoopGroup in
212 |                 let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
213 |                 promise.completeWithTask {
    |                         `- warning: type 'ResolveType' does not conform to the 'Sendable' protocol
214 |                     try await concurrentResolve(type)(context, arguments)
215 |                 }
/host/spi-builder-workspace/Sources/Graphiti/Field/Field/Field.swift:214:31: warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, ResolveType>' (aka '(ObjectType) -> (Context, Arguments) async throws -> ResolveType') in a '@Sendable' closure
212 |                 let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
213 |                 promise.completeWithTask {
214 |                     try await concurrentResolve(type)(context, arguments)
    |                               |- warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, ResolveType>' (aka '(ObjectType) -> (Context, Arguments) async throws -> ResolveType') in a '@Sendable' closure
    |                               `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
215 |                 }
216 |                 return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Field/Field/Field.swift:214:49: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure
  2 | import NIO
  3 |
  4 | public class Field<ObjectType, Context, FieldType, Arguments: Decodable>: FieldComponent<
    |                    `- note: consider making generic parameter 'ObjectType' conform to the 'Sendable' protocol
  5 |     ObjectType,
  6 |     Context
    :
212 |                 let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
213 |                 promise.completeWithTask {
214 |                     try await concurrentResolve(type)(context, arguments)
    |                                                 `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure
215 |                 }
216 |                 return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Field/Field/Field.swift:214:55: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure
  2 | import NIO
  3 |
  4 | public class Field<ObjectType, Context, FieldType, Arguments: Decodable>: FieldComponent<
    |                                `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
  5 |     ObjectType,
  6 |     Context
    :
212 |                 let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
213 |                 promise.completeWithTask {
214 |                     try await concurrentResolve(type)(context, arguments)
    |                                                       `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure
215 |                 }
216 |                 return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Field/Field/Field.swift:214:64: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure
  2 | import NIO
  3 |
  4 | public class Field<ObjectType, Context, FieldType, Arguments: Decodable>: FieldComponent<
    |                                                    `- note: consider making generic parameter 'Arguments' conform to the 'Sendable' protocol
  5 |     ObjectType,
  6 |     Context
    :
212 |                 let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
213 |                 promise.completeWithTask {
214 |                     try await concurrentResolve(type)(context, arguments)
    |                                                                `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure
215 |                 }
216 |                 return promise.futureResult
[427/444] Compiling Graphiti FieldComponentBuilder.swift
/host/spi-builder-workspace/Sources/Graphiti/Federation/Service.swift:7:5: warning: let 'serviceType' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
 5 | }
 6 |
 7 | let serviceType = try! GraphQLObjectType(
   |     `- warning: let 'serviceType' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
 8 |     name: "_Service",
 9 |     description: "Federation service object",
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Type/Definition.swift:276:20: note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
 274 |  *
 275 |  */
 276 | public final class GraphQLObjectType {
     |                    `- note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
 277 |     public let name: String
 278 |     public let description: String?
/host/spi-builder-workspace/Sources/Graphiti/Federation/Service.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 | struct Service: Codable {
   :
 5 | }
 6 |
 7 | let serviceType = try! GraphQLObjectType(
   |     |- note: add '@MainActor' to make let 'serviceType' part of global actor 'MainActor'
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 8 |     name: "_Service",
 9 |     description: "Federation service object",
/host/spi-builder-workspace/Sources/Graphiti/Field/Field/Field.swift:90:66: warning: type 'ResolveType' does not conform to the 'Sendable' protocol
 74 |     }
 75 |
 76 |     convenience init<ResolveType>(
    |                      `- note: consider making generic parameter 'ResolveType' conform to the 'Sendable' protocol
 77 |         name: String,
 78 |         arguments: [ArgumentComponent<Arguments>],
    :
 88 |                 // We hop to guarantee that the future will
 89 |                 // return in the same event loop group of the execution.
 90 |                 try simpleAsyncResolve(type)(context, arguments).hop(to: group.next())
    |                                                                  `- warning: type 'ResolveType' does not conform to the 'Sendable' protocol
 91 |             }
 92 |         }
/host/spi-builder-workspace/Sources/Graphiti/Field/Field/Field.swift:105:37: warning: type 'ResolveType' does not conform to the 'Sendable' protocol
 95 |     }
 96 |
 97 |     convenience init<ResolveType>(
    |                      `- note: consider making generic parameter 'ResolveType' conform to the 'Sendable' protocol
 98 |         name: String,
 99 |         arguments: [ArgumentComponent<Arguments>],
    :
103 |             { context, arguments, group in
104 |                 let result = try syncResolve(type)(context, arguments)
105 |                 return group.next().makeSucceededFuture(result)
    |                                     `- warning: type 'ResolveType' does not conform to the 'Sendable' protocol
106 |             }
107 |         }
/host/spi-builder-workspace/Sources/Graphiti/Field/Field/Field.swift:213:25: warning: type 'ResolveType' does not conform to the 'Sendable' protocol
198 | public extension Field {
199 |     @available(macOS 10.15, iOS 15, watchOS 8, tvOS 15, *)
200 |     convenience init<ResolveType>(
    |                      `- note: consider making generic parameter 'ResolveType' conform to the 'Sendable' protocol
201 |         name: String,
202 |         arguments: [ArgumentComponent<Arguments>],
    :
211 |             { context, arguments, eventLoopGroup in
212 |                 let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
213 |                 promise.completeWithTask {
    |                         `- warning: type 'ResolveType' does not conform to the 'Sendable' protocol
214 |                     try await concurrentResolve(type)(context, arguments)
215 |                 }
/host/spi-builder-workspace/Sources/Graphiti/Field/Field/Field.swift:214:31: warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, ResolveType>' (aka '(ObjectType) -> (Context, Arguments) async throws -> ResolveType') in a '@Sendable' closure
212 |                 let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
213 |                 promise.completeWithTask {
214 |                     try await concurrentResolve(type)(context, arguments)
    |                               |- warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, ResolveType>' (aka '(ObjectType) -> (Context, Arguments) async throws -> ResolveType') in a '@Sendable' closure
    |                               `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
215 |                 }
216 |                 return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Field/Field/Field.swift:214:49: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure
  2 | import NIO
  3 |
  4 | public class Field<ObjectType, Context, FieldType, Arguments: Decodable>: FieldComponent<
    |                    `- note: consider making generic parameter 'ObjectType' conform to the 'Sendable' protocol
  5 |     ObjectType,
  6 |     Context
    :
212 |                 let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
213 |                 promise.completeWithTask {
214 |                     try await concurrentResolve(type)(context, arguments)
    |                                                 `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure
215 |                 }
216 |                 return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Field/Field/Field.swift:214:55: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure
  2 | import NIO
  3 |
  4 | public class Field<ObjectType, Context, FieldType, Arguments: Decodable>: FieldComponent<
    |                                `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
  5 |     ObjectType,
  6 |     Context
    :
212 |                 let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
213 |                 promise.completeWithTask {
214 |                     try await concurrentResolve(type)(context, arguments)
    |                                                       `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure
215 |                 }
216 |                 return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Field/Field/Field.swift:214:64: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure
  2 | import NIO
  3 |
  4 | public class Field<ObjectType, Context, FieldType, Arguments: Decodable>: FieldComponent<
    |                                                    `- note: consider making generic parameter 'Arguments' conform to the 'Sendable' protocol
  5 |     ObjectType,
  6 |     Context
    :
212 |                 let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
213 |                 promise.completeWithTask {
214 |                     try await concurrentResolve(type)(context, arguments)
    |                                                                `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure
215 |                 }
216 |                 return promise.futureResult
[428/444] Compiling Graphiti AsyncResolve.swift
/host/spi-builder-workspace/Sources/Graphiti/Federation/Service.swift:7:5: warning: let 'serviceType' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
 5 | }
 6 |
 7 | let serviceType = try! GraphQLObjectType(
   |     `- warning: let 'serviceType' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
 8 |     name: "_Service",
 9 |     description: "Federation service object",
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Type/Definition.swift:276:20: note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
 274 |  *
 275 |  */
 276 | public final class GraphQLObjectType {
     |                    `- note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
 277 |     public let name: String
 278 |     public let description: String?
/host/spi-builder-workspace/Sources/Graphiti/Federation/Service.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 | struct Service: Codable {
   :
 5 | }
 6 |
 7 | let serviceType = try! GraphQLObjectType(
   |     |- note: add '@MainActor' to make let 'serviceType' part of global actor 'MainActor'
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 8 |     name: "_Service",
 9 |     description: "Federation service object",
/host/spi-builder-workspace/Sources/Graphiti/Field/Field/Field.swift:90:66: warning: type 'ResolveType' does not conform to the 'Sendable' protocol
 74 |     }
 75 |
 76 |     convenience init<ResolveType>(
    |                      `- note: consider making generic parameter 'ResolveType' conform to the 'Sendable' protocol
 77 |         name: String,
 78 |         arguments: [ArgumentComponent<Arguments>],
    :
 88 |                 // We hop to guarantee that the future will
 89 |                 // return in the same event loop group of the execution.
 90 |                 try simpleAsyncResolve(type)(context, arguments).hop(to: group.next())
    |                                                                  `- warning: type 'ResolveType' does not conform to the 'Sendable' protocol
 91 |             }
 92 |         }
/host/spi-builder-workspace/Sources/Graphiti/Field/Field/Field.swift:105:37: warning: type 'ResolveType' does not conform to the 'Sendable' protocol
 95 |     }
 96 |
 97 |     convenience init<ResolveType>(
    |                      `- note: consider making generic parameter 'ResolveType' conform to the 'Sendable' protocol
 98 |         name: String,
 99 |         arguments: [ArgumentComponent<Arguments>],
    :
103 |             { context, arguments, group in
104 |                 let result = try syncResolve(type)(context, arguments)
105 |                 return group.next().makeSucceededFuture(result)
    |                                     `- warning: type 'ResolveType' does not conform to the 'Sendable' protocol
106 |             }
107 |         }
/host/spi-builder-workspace/Sources/Graphiti/Field/Field/Field.swift:213:25: warning: type 'ResolveType' does not conform to the 'Sendable' protocol
198 | public extension Field {
199 |     @available(macOS 10.15, iOS 15, watchOS 8, tvOS 15, *)
200 |     convenience init<ResolveType>(
    |                      `- note: consider making generic parameter 'ResolveType' conform to the 'Sendable' protocol
201 |         name: String,
202 |         arguments: [ArgumentComponent<Arguments>],
    :
211 |             { context, arguments, eventLoopGroup in
212 |                 let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
213 |                 promise.completeWithTask {
    |                         `- warning: type 'ResolveType' does not conform to the 'Sendable' protocol
214 |                     try await concurrentResolve(type)(context, arguments)
215 |                 }
/host/spi-builder-workspace/Sources/Graphiti/Field/Field/Field.swift:214:31: warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, ResolveType>' (aka '(ObjectType) -> (Context, Arguments) async throws -> ResolveType') in a '@Sendable' closure
212 |                 let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
213 |                 promise.completeWithTask {
214 |                     try await concurrentResolve(type)(context, arguments)
    |                               |- warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, ResolveType>' (aka '(ObjectType) -> (Context, Arguments) async throws -> ResolveType') in a '@Sendable' closure
    |                               `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
215 |                 }
216 |                 return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Field/Field/Field.swift:214:49: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure
  2 | import NIO
  3 |
  4 | public class Field<ObjectType, Context, FieldType, Arguments: Decodable>: FieldComponent<
    |                    `- note: consider making generic parameter 'ObjectType' conform to the 'Sendable' protocol
  5 |     ObjectType,
  6 |     Context
    :
212 |                 let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
213 |                 promise.completeWithTask {
214 |                     try await concurrentResolve(type)(context, arguments)
    |                                                 `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure
215 |                 }
216 |                 return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Field/Field/Field.swift:214:55: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure
  2 | import NIO
  3 |
  4 | public class Field<ObjectType, Context, FieldType, Arguments: Decodable>: FieldComponent<
    |                                `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
  5 |     ObjectType,
  6 |     Context
    :
212 |                 let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
213 |                 promise.completeWithTask {
214 |                     try await concurrentResolve(type)(context, arguments)
    |                                                       `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure
215 |                 }
216 |                 return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Field/Field/Field.swift:214:64: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure
  2 | import NIO
  3 |
  4 | public class Field<ObjectType, Context, FieldType, Arguments: Decodable>: FieldComponent<
    |                                                    `- note: consider making generic parameter 'Arguments' conform to the 'Sendable' protocol
  5 |     ObjectType,
  6 |     Context
    :
212 |                 let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
213 |                 promise.completeWithTask {
214 |                     try await concurrentResolve(type)(context, arguments)
    |                                                                `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure
215 |                 }
216 |                 return promise.futureResult
[429/444] Compiling Graphiti ConcurrentResolve.swift
/host/spi-builder-workspace/Sources/Graphiti/Federation/Service.swift:7:5: warning: let 'serviceType' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
 5 | }
 6 |
 7 | let serviceType = try! GraphQLObjectType(
   |     `- warning: let 'serviceType' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
 8 |     name: "_Service",
 9 |     description: "Federation service object",
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Type/Definition.swift:276:20: note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
 274 |  *
 275 |  */
 276 | public final class GraphQLObjectType {
     |                    `- note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
 277 |     public let name: String
 278 |     public let description: String?
/host/spi-builder-workspace/Sources/Graphiti/Federation/Service.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 | struct Service: Codable {
   :
 5 | }
 6 |
 7 | let serviceType = try! GraphQLObjectType(
   |     |- note: add '@MainActor' to make let 'serviceType' part of global actor 'MainActor'
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 8 |     name: "_Service",
 9 |     description: "Federation service object",
/host/spi-builder-workspace/Sources/Graphiti/Field/Field/Field.swift:90:66: warning: type 'ResolveType' does not conform to the 'Sendable' protocol
 74 |     }
 75 |
 76 |     convenience init<ResolveType>(
    |                      `- note: consider making generic parameter 'ResolveType' conform to the 'Sendable' protocol
 77 |         name: String,
 78 |         arguments: [ArgumentComponent<Arguments>],
    :
 88 |                 // We hop to guarantee that the future will
 89 |                 // return in the same event loop group of the execution.
 90 |                 try simpleAsyncResolve(type)(context, arguments).hop(to: group.next())
    |                                                                  `- warning: type 'ResolveType' does not conform to the 'Sendable' protocol
 91 |             }
 92 |         }
/host/spi-builder-workspace/Sources/Graphiti/Field/Field/Field.swift:105:37: warning: type 'ResolveType' does not conform to the 'Sendable' protocol
 95 |     }
 96 |
 97 |     convenience init<ResolveType>(
    |                      `- note: consider making generic parameter 'ResolveType' conform to the 'Sendable' protocol
 98 |         name: String,
 99 |         arguments: [ArgumentComponent<Arguments>],
    :
103 |             { context, arguments, group in
104 |                 let result = try syncResolve(type)(context, arguments)
105 |                 return group.next().makeSucceededFuture(result)
    |                                     `- warning: type 'ResolveType' does not conform to the 'Sendable' protocol
106 |             }
107 |         }
/host/spi-builder-workspace/Sources/Graphiti/Field/Field/Field.swift:213:25: warning: type 'ResolveType' does not conform to the 'Sendable' protocol
198 | public extension Field {
199 |     @available(macOS 10.15, iOS 15, watchOS 8, tvOS 15, *)
200 |     convenience init<ResolveType>(
    |                      `- note: consider making generic parameter 'ResolveType' conform to the 'Sendable' protocol
201 |         name: String,
202 |         arguments: [ArgumentComponent<Arguments>],
    :
211 |             { context, arguments, eventLoopGroup in
212 |                 let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
213 |                 promise.completeWithTask {
    |                         `- warning: type 'ResolveType' does not conform to the 'Sendable' protocol
214 |                     try await concurrentResolve(type)(context, arguments)
215 |                 }
/host/spi-builder-workspace/Sources/Graphiti/Field/Field/Field.swift:214:31: warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, ResolveType>' (aka '(ObjectType) -> (Context, Arguments) async throws -> ResolveType') in a '@Sendable' closure
212 |                 let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
213 |                 promise.completeWithTask {
214 |                     try await concurrentResolve(type)(context, arguments)
    |                               |- warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, ResolveType>' (aka '(ObjectType) -> (Context, Arguments) async throws -> ResolveType') in a '@Sendable' closure
    |                               `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
215 |                 }
216 |                 return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Field/Field/Field.swift:214:49: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure
  2 | import NIO
  3 |
  4 | public class Field<ObjectType, Context, FieldType, Arguments: Decodable>: FieldComponent<
    |                    `- note: consider making generic parameter 'ObjectType' conform to the 'Sendable' protocol
  5 |     ObjectType,
  6 |     Context
    :
212 |                 let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
213 |                 promise.completeWithTask {
214 |                     try await concurrentResolve(type)(context, arguments)
    |                                                 `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure
215 |                 }
216 |                 return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Field/Field/Field.swift:214:55: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure
  2 | import NIO
  3 |
  4 | public class Field<ObjectType, Context, FieldType, Arguments: Decodable>: FieldComponent<
    |                                `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
  5 |     ObjectType,
  6 |     Context
    :
212 |                 let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
213 |                 promise.completeWithTask {
214 |                     try await concurrentResolve(type)(context, arguments)
    |                                                       `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure
215 |                 }
216 |                 return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Field/Field/Field.swift:214:64: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure
  2 | import NIO
  3 |
  4 | public class Field<ObjectType, Context, FieldType, Arguments: Decodable>: FieldComponent<
    |                                                    `- note: consider making generic parameter 'Arguments' conform to the 'Sendable' protocol
  5 |     ObjectType,
  6 |     Context
    :
212 |                 let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
213 |                 promise.completeWithTask {
214 |                     try await concurrentResolve(type)(context, arguments)
    |                                                                `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure
215 |                 }
216 |                 return promise.futureResult
[430/444] Compiling Graphiti SimpleAsyncResolve.swift
/host/spi-builder-workspace/Sources/Graphiti/Federation/Service.swift:7:5: warning: let 'serviceType' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
 5 | }
 6 |
 7 | let serviceType = try! GraphQLObjectType(
   |     `- warning: let 'serviceType' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
 8 |     name: "_Service",
 9 |     description: "Federation service object",
/host/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Type/Definition.swift:276:20: note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
 274 |  *
 275 |  */
 276 | public final class GraphQLObjectType {
     |                    `- note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
 277 |     public let name: String
 278 |     public let description: String?
/host/spi-builder-workspace/Sources/Graphiti/Federation/Service.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 | struct Service: Codable {
   :
 5 | }
 6 |
 7 | let serviceType = try! GraphQLObjectType(
   |     |- note: add '@MainActor' to make let 'serviceType' part of global actor 'MainActor'
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 8 |     name: "_Service",
 9 |     description: "Federation service object",
/host/spi-builder-workspace/Sources/Graphiti/Field/Field/Field.swift:90:66: warning: type 'ResolveType' does not conform to the 'Sendable' protocol
 74 |     }
 75 |
 76 |     convenience init<ResolveType>(
    |                      `- note: consider making generic parameter 'ResolveType' conform to the 'Sendable' protocol
 77 |         name: String,
 78 |         arguments: [ArgumentComponent<Arguments>],
    :
 88 |                 // We hop to guarantee that the future will
 89 |                 // return in the same event loop group of the execution.
 90 |                 try simpleAsyncResolve(type)(context, arguments).hop(to: group.next())
    |                                                                  `- warning: type 'ResolveType' does not conform to the 'Sendable' protocol
 91 |             }
 92 |         }
/host/spi-builder-workspace/Sources/Graphiti/Field/Field/Field.swift:105:37: warning: type 'ResolveType' does not conform to the 'Sendable' protocol
 95 |     }
 96 |
 97 |     convenience init<ResolveType>(
    |                      `- note: consider making generic parameter 'ResolveType' conform to the 'Sendable' protocol
 98 |         name: String,
 99 |         arguments: [ArgumentComponent<Arguments>],
    :
103 |             { context, arguments, group in
104 |                 let result = try syncResolve(type)(context, arguments)
105 |                 return group.next().makeSucceededFuture(result)
    |                                     `- warning: type 'ResolveType' does not conform to the 'Sendable' protocol
106 |             }
107 |         }
/host/spi-builder-workspace/Sources/Graphiti/Field/Field/Field.swift:213:25: warning: type 'ResolveType' does not conform to the 'Sendable' protocol
198 | public extension Field {
199 |     @available(macOS 10.15, iOS 15, watchOS 8, tvOS 15, *)
200 |     convenience init<ResolveType>(
    |                      `- note: consider making generic parameter 'ResolveType' conform to the 'Sendable' protocol
201 |         name: String,
202 |         arguments: [ArgumentComponent<Arguments>],
    :
211 |             { context, arguments, eventLoopGroup in
212 |                 let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
213 |                 promise.completeWithTask {
    |                         `- warning: type 'ResolveType' does not conform to the 'Sendable' protocol
214 |                     try await concurrentResolve(type)(context, arguments)
215 |                 }
/host/spi-builder-workspace/Sources/Graphiti/Field/Field/Field.swift:214:31: warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, ResolveType>' (aka '(ObjectType) -> (Context, Arguments) async throws -> ResolveType') in a '@Sendable' closure
212 |                 let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
213 |                 promise.completeWithTask {
214 |                     try await concurrentResolve(type)(context, arguments)
    |                               |- warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, ResolveType>' (aka '(ObjectType) -> (Context, Arguments) async throws -> ResolveType') in a '@Sendable' closure
    |                               `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
215 |                 }
216 |                 return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Field/Field/Field.swift:214:49: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure
  2 | import NIO
  3 |
  4 | public class Field<ObjectType, Context, FieldType, Arguments: Decodable>: FieldComponent<
    |                    `- note: consider making generic parameter 'ObjectType' conform to the 'Sendable' protocol
  5 |     ObjectType,
  6 |     Context
    :
212 |                 let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
213 |                 promise.completeWithTask {
214 |                     try await concurrentResolve(type)(context, arguments)
    |                                                 `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure
215 |                 }
216 |                 return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Field/Field/Field.swift:214:55: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure
  2 | import NIO
  3 |
  4 | public class Field<ObjectType, Context, FieldType, Arguments: Decodable>: FieldComponent<
    |                                `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
  5 |     ObjectType,
  6 |     Context
    :
212 |                 let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
213 |                 promise.completeWithTask {
214 |                     try await concurrentResolve(type)(context, arguments)
    |                                                       `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure
215 |                 }
216 |                 return promise.futureResult
/host/spi-builder-workspace/Sources/Graphiti/Field/Field/Field.swift:214:64: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure
  2 | import NIO
  3 |
  4 | public class Field<ObjectType, Context, FieldType, Arguments: Decodable>: FieldComponent<
    |                                                    `- note: consider making generic parameter 'Arguments' conform to the 'Sendable' protocol
  5 |     ObjectType,
  6 |     Context
    :
212 |                 let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
213 |                 promise.completeWithTask {
214 |                     try await concurrentResolve(type)(context, arguments)
    |                                                                `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure
215 |                 }
216 |                 return promise.futureResult
[431/444] Compiling Graphiti SubscribeResolve.swift
[432/444] Compiling Graphiti Subscription.swift
[433/444] Compiling Graphiti Type.swift
[434/444] Compiling Graphiti Union.swift
[435/444] Compiling Graphiti NoIntrospectionRule.swift
[436/444] Compiling Graphiti Value.swift
[437/444] Compiling Graphiti ValueBuilder.swift
[438/444] Compiling Graphiti Query.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
[439/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
[440/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
[441/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
[442/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
[443/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
[444/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
Build complete! (103.15s)
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"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:2b296aa7156f49efc57252cdf9ed4bb21d0f92fc98d88800e255491ba2db3116
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.