Build Information
Successful build of Pioneer, reference 1.4.1 (210d7d
), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 04:18:26 UTC.
Swift 6 data race errors: 9
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Build Log
125 | { context, arguments, eventLoopGroup in
126 | eventLoopGroup.makeFutureWithTask {
127 | try await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
128 | }
129 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:127:46: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
125 | { context, arguments, eventLoopGroup in
126 | eventLoopGroup.makeFutureWithTask {
127 | try await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
128 | }
129 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:127:55: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
125 | { context, arguments, eventLoopGroup in
126 | eventLoopGroup.makeFutureWithTask {
127 | try await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
128 | }
129 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:142:31: warning: capture of 'function' with non-sendable type 'AsyncAwaitThrowingResolveWithEventLoop<ObjectType, Context, NoArguments, ResolveType>' (aka '(ObjectType) -> (Context, NoArguments, any EventLoopGroup) async throws -> ResolveType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
140 | { context, arguments, eventLoopGroup in
141 | eventLoopGroup.makeFutureWithTask {
142 | try await function(type)(context, arguments, eventLoopGroup)
| |- warning: capture of 'function' with non-sendable type 'AsyncAwaitThrowingResolveWithEventLoop<ObjectType, Context, NoArguments, ResolveType>' (aka '(ObjectType) -> (Context, NoArguments, any EventLoopGroup) async throws -> ResolveType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
143 | }
144 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:142:40: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
140 | { context, arguments, eventLoopGroup in
141 | eventLoopGroup.makeFutureWithTask {
142 | try await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
143 | }
144 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:142:46: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
140 | { context, arguments, eventLoopGroup in
141 | eventLoopGroup.makeFutureWithTask {
142 | try await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
143 | }
144 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:142:55: warning: capture of 'arguments' with non-sendable type 'NoArguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
140 | { context, arguments, eventLoopGroup in
141 | eventLoopGroup.makeFutureWithTask {
142 | try await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'arguments' with non-sendable type 'NoArguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
143 | }
144 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Graphiti/Sources/Graphiti/Argument/NoArguments.swift:1:15: note: struct 'NoArguments' does not conform to the 'Sendable' protocol
1 | public struct NoArguments: Decodable {
| `- note: struct 'NoArguments' does not conform to the 'Sendable' protocol
2 | public init() {}
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/GraphQL+Execution.swift:72:7: warning: type 'SubscriptionResult' does not conform to the 'Sendable' protocol
70 | variableValues: variables ?? [:],
71 | operationName: operationName
72 | ).get()
| `- warning: type 'SubscriptionResult' does not conform to the 'Sendable' protocol
73 | }
74 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/GraphQL.swift:47:15: note: struct 'SubscriptionResult' does not conform to the 'Sendable' protocol
45 |
46 | /// SubscriptionResult wraps the observable and error data returned by the subscribe request.
47 | public struct SubscriptionResult {
| `- note: struct 'SubscriptionResult' does not conform to the 'Sendable' protocol
48 | public let stream: SubscriptionEventStream?
49 | public let errors: [GraphQLError]
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/GraphQL+Execution.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
6 | //
7 |
8 | import GraphQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
9 | import protocol NIO.EventLoopGroup
10 |
[1977/2007] Compiling Pioneer GraphQLError+Error.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:29:27: warning: capture of 'function' with non-sendable type 'AsyncAwaitResolveWithEventLoop<ObjectType, Context, Arguments, FieldType>' (aka '(ObjectType) -> (Context, Arguments, any EventLoopGroup) async -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
27 | { context, arguments, eventLoopGroup in
28 | eventLoopGroup.makeFutureWithTask {
29 | await function(type)(context, arguments, eventLoopGroup)
| |- warning: capture of 'function' with non-sendable type 'AsyncAwaitResolveWithEventLoop<ObjectType, Context, Arguments, FieldType>' (aka '(ObjectType) -> (Context, Arguments, any EventLoopGroup) async -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
30 | }
31 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:29:36: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
27 | { context, arguments, eventLoopGroup in
28 | eventLoopGroup.makeFutureWithTask {
29 | await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
30 | }
31 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:29:42: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
27 | { context, arguments, eventLoopGroup in
28 | eventLoopGroup.makeFutureWithTask {
29 | await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
30 | }
31 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:29:51: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
27 | { context, arguments, eventLoopGroup in
28 | eventLoopGroup.makeFutureWithTask {
29 | await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
30 | }
31 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:43:27: warning: capture of 'function' with non-sendable type 'AsyncAwaitResolveWithEventLoop<ObjectType, Context, NoArguments, FieldType>' (aka '(ObjectType) -> (Context, NoArguments, any EventLoopGroup) async -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | { context, arguments, eventLoopGroup in
42 | eventLoopGroup.makeFutureWithTask {
43 | await function(type)(context, arguments, eventLoopGroup)
| |- warning: capture of 'function' with non-sendable type 'AsyncAwaitResolveWithEventLoop<ObjectType, Context, NoArguments, FieldType>' (aka '(ObjectType) -> (Context, NoArguments, any EventLoopGroup) async -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
44 | }
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:43:36: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | { context, arguments, eventLoopGroup in
42 | eventLoopGroup.makeFutureWithTask {
43 | await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
44 | }
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:43:42: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | { context, arguments, eventLoopGroup in
42 | eventLoopGroup.makeFutureWithTask {
43 | await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
44 | }
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:43:51: warning: capture of 'arguments' with non-sendable type 'NoArguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | { context, arguments, eventLoopGroup in
42 | eventLoopGroup.makeFutureWithTask {
43 | await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'arguments' with non-sendable type 'NoArguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
44 | }
45 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Graphiti/Sources/Graphiti/Argument/NoArguments.swift:1:15: note: struct 'NoArguments' does not conform to the 'Sendable' protocol
1 | public struct NoArguments: Decodable {
| `- note: struct 'NoArguments' does not conform to the 'Sendable' protocol
2 | public init() {}
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Graphiti'
6 | //
7 |
8 | import Graphiti
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Graphiti'
9 | import GraphQL
10 | import protocol NIO.EventLoopGroup
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:60:31: warning: capture of 'function' with non-sendable type 'AsyncAwaitThrowingResolveWithEventLoop<ObjectType, Context, Arguments, FieldType>' (aka '(ObjectType) -> (Context, Arguments, any EventLoopGroup) async throws -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
58 | { context, arguments, eventLoopGroup in
59 | eventLoopGroup.makeFutureWithTask {
60 | try await function(type)(context, arguments, eventLoopGroup)
| |- warning: capture of 'function' with non-sendable type 'AsyncAwaitThrowingResolveWithEventLoop<ObjectType, Context, Arguments, FieldType>' (aka '(ObjectType) -> (Context, Arguments, any EventLoopGroup) async throws -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
61 | }
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:60:40: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
58 | { context, arguments, eventLoopGroup in
59 | eventLoopGroup.makeFutureWithTask {
60 | try await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
61 | }
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:60:46: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
58 | { context, arguments, eventLoopGroup in
59 | eventLoopGroup.makeFutureWithTask {
60 | try await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
61 | }
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:60:55: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
58 | { context, arguments, eventLoopGroup in
59 | eventLoopGroup.makeFutureWithTask {
60 | try await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
61 | }
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:74:31: warning: capture of 'function' with non-sendable type 'AsyncAwaitThrowingResolveWithEventLoop<ObjectType, Context, NoArguments, FieldType>' (aka '(ObjectType) -> (Context, NoArguments, any EventLoopGroup) async throws -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
72 | { context, arguments, eventLoopGroup in
73 | eventLoopGroup.makeFutureWithTask {
74 | try await function(type)(context, arguments, eventLoopGroup)
| |- warning: capture of 'function' with non-sendable type 'AsyncAwaitThrowingResolveWithEventLoop<ObjectType, Context, NoArguments, FieldType>' (aka '(ObjectType) -> (Context, NoArguments, any EventLoopGroup) async throws -> FieldType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
75 | }
76 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:74:40: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
72 | { context, arguments, eventLoopGroup in
73 | eventLoopGroup.makeFutureWithTask {
74 | try await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
75 | }
76 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:74:46: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
72 | { context, arguments, eventLoopGroup in
73 | eventLoopGroup.makeFutureWithTask {
74 | try await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
75 | }
76 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:74:55: warning: capture of 'arguments' with non-sendable type 'NoArguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
72 | { context, arguments, eventLoopGroup in
73 | eventLoopGroup.makeFutureWithTask {
74 | try await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'arguments' with non-sendable type 'NoArguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
75 | }
76 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Graphiti/Sources/Graphiti/Argument/NoArguments.swift:1:15: note: struct 'NoArguments' does not conform to the 'Sendable' protocol
1 | public struct NoArguments: Decodable {
| `- note: struct 'NoArguments' does not conform to the 'Sendable' protocol
2 | public init() {}
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:94:27: warning: capture of 'function' with non-sendable type 'AsyncAwaitResolveWithEventLoop<ObjectType, Context, Arguments, ResolveType>' (aka '(ObjectType) -> (Context, Arguments, any EventLoopGroup) async -> ResolveType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
92 | { context, arguments, eventLoopGroup in
93 | eventLoopGroup.makeFutureWithTask {
94 | await function(type)(context, arguments, eventLoopGroup)
| |- warning: capture of 'function' with non-sendable type 'AsyncAwaitResolveWithEventLoop<ObjectType, Context, Arguments, ResolveType>' (aka '(ObjectType) -> (Context, Arguments, any EventLoopGroup) async -> ResolveType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
95 | }
96 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:94:36: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
92 | { context, arguments, eventLoopGroup in
93 | eventLoopGroup.makeFutureWithTask {
94 | await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
95 | }
96 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:94:42: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
92 | { context, arguments, eventLoopGroup in
93 | eventLoopGroup.makeFutureWithTask {
94 | await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
95 | }
96 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:94:51: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
92 | { context, arguments, eventLoopGroup in
93 | eventLoopGroup.makeFutureWithTask {
94 | await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
95 | }
96 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:109:27: warning: capture of 'function' with non-sendable type 'AsyncAwaitResolveWithEventLoop<ObjectType, Context, NoArguments, ResolveType>' (aka '(ObjectType) -> (Context, NoArguments, any EventLoopGroup) async -> ResolveType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
107 | { context, arguments, eventLoopGroup in
108 | eventLoopGroup.makeFutureWithTask {
109 | await function(type)(context, arguments, eventLoopGroup)
| |- warning: capture of 'function' with non-sendable type 'AsyncAwaitResolveWithEventLoop<ObjectType, Context, NoArguments, ResolveType>' (aka '(ObjectType) -> (Context, NoArguments, any EventLoopGroup) async -> ResolveType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
110 | }
111 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:109:36: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
107 | { context, arguments, eventLoopGroup in
108 | eventLoopGroup.makeFutureWithTask {
109 | await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
110 | }
111 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:109:42: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
107 | { context, arguments, eventLoopGroup in
108 | eventLoopGroup.makeFutureWithTask {
109 | await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
110 | }
111 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:109:51: warning: capture of 'arguments' with non-sendable type 'NoArguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
107 | { context, arguments, eventLoopGroup in
108 | eventLoopGroup.makeFutureWithTask {
109 | await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'arguments' with non-sendable type 'NoArguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
110 | }
111 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Graphiti/Sources/Graphiti/Argument/NoArguments.swift:1:15: note: struct 'NoArguments' does not conform to the 'Sendable' protocol
1 | public struct NoArguments: Decodable {
| `- note: struct 'NoArguments' does not conform to the 'Sendable' protocol
2 | public init() {}
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:127:31: warning: capture of 'function' with non-sendable type 'AsyncAwaitThrowingResolveWithEventLoop<ObjectType, Context, Arguments, ResolveType>' (aka '(ObjectType) -> (Context, Arguments, any EventLoopGroup) async throws -> ResolveType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
125 | { context, arguments, eventLoopGroup in
126 | eventLoopGroup.makeFutureWithTask {
127 | try await function(type)(context, arguments, eventLoopGroup)
| |- warning: capture of 'function' with non-sendable type 'AsyncAwaitThrowingResolveWithEventLoop<ObjectType, Context, Arguments, ResolveType>' (aka '(ObjectType) -> (Context, Arguments, any EventLoopGroup) async throws -> ResolveType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
128 | }
129 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:127:40: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
125 | { context, arguments, eventLoopGroup in
126 | eventLoopGroup.makeFutureWithTask {
127 | try await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
128 | }
129 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:127:46: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
125 | { context, arguments, eventLoopGroup in
126 | eventLoopGroup.makeFutureWithTask {
127 | try await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
128 | }
129 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:127:55: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
125 | { context, arguments, eventLoopGroup in
126 | eventLoopGroup.makeFutureWithTask {
127 | try await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
128 | }
129 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:142:31: warning: capture of 'function' with non-sendable type 'AsyncAwaitThrowingResolveWithEventLoop<ObjectType, Context, NoArguments, ResolveType>' (aka '(ObjectType) -> (Context, NoArguments, any EventLoopGroup) async throws -> ResolveType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
140 | { context, arguments, eventLoopGroup in
141 | eventLoopGroup.makeFutureWithTask {
142 | try await function(type)(context, arguments, eventLoopGroup)
| |- warning: capture of 'function' with non-sendable type 'AsyncAwaitThrowingResolveWithEventLoop<ObjectType, Context, NoArguments, ResolveType>' (aka '(ObjectType) -> (Context, NoArguments, any EventLoopGroup) async throws -> ResolveType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
143 | }
144 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:142:40: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
140 | { context, arguments, eventLoopGroup in
141 | eventLoopGroup.makeFutureWithTask {
142 | try await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
143 | }
144 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:142:46: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
140 | { context, arguments, eventLoopGroup in
141 | eventLoopGroup.makeFutureWithTask {
142 | try await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
143 | }
144 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/Field+AsyncAwait.swift:142:55: warning: capture of 'arguments' with non-sendable type 'NoArguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
140 | { context, arguments, eventLoopGroup in
141 | eventLoopGroup.makeFutureWithTask {
142 | try await function(type)(context, arguments, eventLoopGroup)
| `- warning: capture of 'arguments' with non-sendable type 'NoArguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
143 | }
144 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Graphiti/Sources/Graphiti/Argument/NoArguments.swift:1:15: note: struct 'NoArguments' does not conform to the 'Sendable' protocol
1 | public struct NoArguments: Decodable {
| `- note: struct 'NoArguments' does not conform to the 'Sendable' protocol
2 | public init() {}
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/GraphQL+Execution.swift:72:7: warning: type 'SubscriptionResult' does not conform to the 'Sendable' protocol
70 | variableValues: variables ?? [:],
71 | operationName: operationName
72 | ).get()
| `- warning: type 'SubscriptionResult' does not conform to the 'Sendable' protocol
73 | }
74 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/GraphQL.swift:47:15: note: struct 'SubscriptionResult' does not conform to the 'Sendable' protocol
45 |
46 | /// SubscriptionResult wraps the observable and error data returned by the subscribe request.
47 | public struct SubscriptionResult {
| `- note: struct 'SubscriptionResult' does not conform to the 'Sendable' protocol
48 | public let stream: SubscriptionEventStream?
49 | public let errors: [GraphQLError]
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/GraphQL/Extensions/GraphQL+Execution.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
6 | //
7 |
8 | import GraphQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
9 | import protocol NIO.EventLoopGroup
10 |
[1978/2007] Compiling Pioneer WebSocket+WebSocketable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Vapor/Pioneer+Standalone.swift:31:23: warning: 'init(_:_:)' is deprecated: Migrate to using the async APIs. Use use Application.make(_:_:) instead
29 | cors: CORSMiddleware.Configuration? = nil
30 | ) throws {
31 | let app = try Application(
| `- warning: 'init(_:_:)' is deprecated: Migrate to using the async APIs. Use use Application.make(_:_:) instead
32 | .specified(port: port, host: host, env: env)
33 | )
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Vapor/Pioneer+Vapor.swift:35:21: warning: stored property 'server' of 'Sendable'-conforming struct 'VaporGraphQLMiddleware' has non-sendable type 'Pioneer<Resolver, Context>'; this is an error in the Swift 6 language mode
33 |
34 | /// Pioneer GraphQL server
35 | private let server: Pioneer
| `- warning: stored property 'server' of 'Sendable'-conforming struct 'VaporGraphQLMiddleware' has non-sendable type 'Pioneer<Resolver, Context>'; this is an error in the Swift 6 language mode
36 |
37 | /// The path to be served
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:16:15: note: consider making generic struct 'Pioneer' conform to the 'Sendable' protocol
14 |
15 | /// Pioneer GraphQL Server for handling all GraphQL operations
16 | public struct Pioneer<Resolver, Context> {
| `- note: consider making generic struct 'Pioneer' conform to the 'Sendable' protocol
17 | /// Graphiti schema used to execute operations
18 | public private(set) var schema: GraphQLSchema
[1979/2007] Compiling Pioneer Pioneer+Http.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Vapor/Pioneer+Standalone.swift:31:23: warning: 'init(_:_:)' is deprecated: Migrate to using the async APIs. Use use Application.make(_:_:) instead
29 | cors: CORSMiddleware.Configuration? = nil
30 | ) throws {
31 | let app = try Application(
| `- warning: 'init(_:_:)' is deprecated: Migrate to using the async APIs. Use use Application.make(_:_:) instead
32 | .specified(port: port, host: host, env: env)
33 | )
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Vapor/Pioneer+Vapor.swift:35:21: warning: stored property 'server' of 'Sendable'-conforming struct 'VaporGraphQLMiddleware' has non-sendable type 'Pioneer<Resolver, Context>'; this is an error in the Swift 6 language mode
33 |
34 | /// Pioneer GraphQL server
35 | private let server: Pioneer
| `- warning: stored property 'server' of 'Sendable'-conforming struct 'VaporGraphQLMiddleware' has non-sendable type 'Pioneer<Resolver, Context>'; this is an error in the Swift 6 language mode
36 |
37 | /// The path to be served
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:16:15: note: consider making generic struct 'Pioneer' conform to the 'Sendable' protocol
14 |
15 | /// Pioneer GraphQL Server for handling all GraphQL operations
16 | public struct Pioneer<Resolver, Context> {
| `- note: consider making generic struct 'Pioneer' conform to the 'Sendable' protocol
17 | /// Graphiti schema used to execute operations
18 | public private(set) var schema: GraphQLSchema
[1980/2007] Compiling Pioneer Pioneer+IDE.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Vapor/Pioneer+Standalone.swift:31:23: warning: 'init(_:_:)' is deprecated: Migrate to using the async APIs. Use use Application.make(_:_:) instead
29 | cors: CORSMiddleware.Configuration? = nil
30 | ) throws {
31 | let app = try Application(
| `- warning: 'init(_:_:)' is deprecated: Migrate to using the async APIs. Use use Application.make(_:_:) instead
32 | .specified(port: port, host: host, env: env)
33 | )
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Vapor/Pioneer+Vapor.swift:35:21: warning: stored property 'server' of 'Sendable'-conforming struct 'VaporGraphQLMiddleware' has non-sendable type 'Pioneer<Resolver, Context>'; this is an error in the Swift 6 language mode
33 |
34 | /// Pioneer GraphQL server
35 | private let server: Pioneer
| `- warning: stored property 'server' of 'Sendable'-conforming struct 'VaporGraphQLMiddleware' has non-sendable type 'Pioneer<Resolver, Context>'; this is an error in the Swift 6 language mode
36 |
37 | /// The path to be served
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:16:15: note: consider making generic struct 'Pioneer' conform to the 'Sendable' protocol
14 |
15 | /// Pioneer GraphQL Server for handling all GraphQL operations
16 | public struct Pioneer<Resolver, Context> {
| `- note: consider making generic struct 'Pioneer' conform to the 'Sendable' protocol
17 | /// Graphiti schema used to execute operations
18 | public private(set) var schema: GraphQLSchema
[1981/2007] Compiling Pioneer Pioneer+Standalone.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Vapor/Pioneer+Standalone.swift:31:23: warning: 'init(_:_:)' is deprecated: Migrate to using the async APIs. Use use Application.make(_:_:) instead
29 | cors: CORSMiddleware.Configuration? = nil
30 | ) throws {
31 | let app = try Application(
| `- warning: 'init(_:_:)' is deprecated: Migrate to using the async APIs. Use use Application.make(_:_:) instead
32 | .specified(port: port, host: host, env: env)
33 | )
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Vapor/Pioneer+Vapor.swift:35:21: warning: stored property 'server' of 'Sendable'-conforming struct 'VaporGraphQLMiddleware' has non-sendable type 'Pioneer<Resolver, Context>'; this is an error in the Swift 6 language mode
33 |
34 | /// Pioneer GraphQL server
35 | private let server: Pioneer
| `- warning: stored property 'server' of 'Sendable'-conforming struct 'VaporGraphQLMiddleware' has non-sendable type 'Pioneer<Resolver, Context>'; this is an error in the Swift 6 language mode
36 |
37 | /// The path to be served
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:16:15: note: consider making generic struct 'Pioneer' conform to the 'Sendable' protocol
14 |
15 | /// Pioneer GraphQL Server for handling all GraphQL operations
16 | public struct Pioneer<Resolver, Context> {
| `- note: consider making generic struct 'Pioneer' conform to the 'Sendable' protocol
17 | /// Graphiti schema used to execute operations
18 | public private(set) var schema: GraphQLSchema
[1982/2007] Compiling Pioneer Pioneer+Vapor+Void.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Vapor/Pioneer+Standalone.swift:31:23: warning: 'init(_:_:)' is deprecated: Migrate to using the async APIs. Use use Application.make(_:_:) instead
29 | cors: CORSMiddleware.Configuration? = nil
30 | ) throws {
31 | let app = try Application(
| `- warning: 'init(_:_:)' is deprecated: Migrate to using the async APIs. Use use Application.make(_:_:) instead
32 | .specified(port: port, host: host, env: env)
33 | )
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Vapor/Pioneer+Vapor.swift:35:21: warning: stored property 'server' of 'Sendable'-conforming struct 'VaporGraphQLMiddleware' has non-sendable type 'Pioneer<Resolver, Context>'; this is an error in the Swift 6 language mode
33 |
34 | /// Pioneer GraphQL server
35 | private let server: Pioneer
| `- warning: stored property 'server' of 'Sendable'-conforming struct 'VaporGraphQLMiddleware' has non-sendable type 'Pioneer<Resolver, Context>'; this is an error in the Swift 6 language mode
36 |
37 | /// The path to be served
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:16:15: note: consider making generic struct 'Pioneer' conform to the 'Sendable' protocol
14 |
15 | /// Pioneer GraphQL Server for handling all GraphQL operations
16 | public struct Pioneer<Resolver, Context> {
| `- note: consider making generic struct 'Pioneer' conform to the 'Sendable' protocol
17 | /// Graphiti schema used to execute operations
18 | public private(set) var schema: GraphQLSchema
[1983/2007] Compiling Pioneer Pioneer+Vapor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Vapor/Pioneer+Standalone.swift:31:23: warning: 'init(_:_:)' is deprecated: Migrate to using the async APIs. Use use Application.make(_:_:) instead
29 | cors: CORSMiddleware.Configuration? = nil
30 | ) throws {
31 | let app = try Application(
| `- warning: 'init(_:_:)' is deprecated: Migrate to using the async APIs. Use use Application.make(_:_:) instead
32 | .specified(port: port, host: host, env: env)
33 | )
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Vapor/Pioneer+Vapor.swift:35:21: warning: stored property 'server' of 'Sendable'-conforming struct 'VaporGraphQLMiddleware' has non-sendable type 'Pioneer<Resolver, Context>'; this is an error in the Swift 6 language mode
33 |
34 | /// Pioneer GraphQL server
35 | private let server: Pioneer
| `- warning: stored property 'server' of 'Sendable'-conforming struct 'VaporGraphQLMiddleware' has non-sendable type 'Pioneer<Resolver, Context>'; this is an error in the Swift 6 language mode
36 |
37 | /// The path to be served
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:16:15: note: consider making generic struct 'Pioneer' conform to the 'Sendable' protocol
14 |
15 | /// Pioneer GraphQL Server for handling all GraphQL operations
16 | public struct Pioneer<Resolver, Context> {
| `- note: consider making generic struct 'Pioneer' conform to the 'Sendable' protocol
17 | /// Graphiti schema used to execute operations
18 | public private(set) var schema: GraphQLSchema
[1984/2007] Compiling Pioneer Timeout.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Vapor/Extensions/Request/GraphQLJSONEncoder+ContentEncoder.swift:11:1: warning: conformance to 'Sendable' must occur in the same source file as class 'GraphQLJSONEncoder'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
9 | import Vapor
10 |
11 | extension GraphQLJSONEncoder: Vapor.ContentEncoder {
| `- warning: conformance to 'Sendable' must occur in the same source file as class 'GraphQLJSONEncoder'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
12 | public func encode<E>(_ encodable: E, to body: inout NIOCore.ByteBuffer, headers: inout NIOHTTP1.HTTPHeaders) throws where E: Encodable {
13 | headers.contentType = .json
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:188:14: warning: stored property 'outputFormatting' of 'Sendable'-conforming class 'GraphQLJSONEncoder' is mutable; this is an error in the Swift 6 language mode
186 |
187 | /// The output format to produce. Defaults to `[]`.
188 | open var outputFormatting: OutputFormatting = []
| `- warning: stored property 'outputFormatting' of 'Sendable'-conforming class 'GraphQLJSONEncoder' is mutable; this is an error in the Swift 6 language mode
189 |
190 | /// The strategy to use in encoding dates. Defaults to `.deferredToDate`.
[1985/2007] Compiling Pioneer Validation.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Vapor/Extensions/Request/GraphQLJSONEncoder+ContentEncoder.swift:11:1: warning: conformance to 'Sendable' must occur in the same source file as class 'GraphQLJSONEncoder'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
9 | import Vapor
10 |
11 | extension GraphQLJSONEncoder: Vapor.ContentEncoder {
| `- warning: conformance to 'Sendable' must occur in the same source file as class 'GraphQLJSONEncoder'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
12 | public func encode<E>(_ encodable: E, to body: inout NIOCore.ByteBuffer, headers: inout NIOHTTP1.HTTPHeaders) throws where E: Encodable {
13 | headers.contentType = .json
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:188:14: warning: stored property 'outputFormatting' of 'Sendable'-conforming class 'GraphQLJSONEncoder' is mutable; this is an error in the Swift 6 language mode
186 |
187 | /// The output format to produce. Defaults to `[]`.
188 | open var outputFormatting: OutputFormatting = []
| `- warning: stored property 'outputFormatting' of 'Sendable'-conforming class 'GraphQLJSONEncoder' is mutable; this is an error in the Swift 6 language mode
189 |
190 | /// The strategy to use in encoding dates. Defaults to `.deferredToDate`.
[1986/2007] Compiling Pioneer CORSMIddleware+BananaCakePop.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Vapor/Extensions/Request/GraphQLJSONEncoder+ContentEncoder.swift:11:1: warning: conformance to 'Sendable' must occur in the same source file as class 'GraphQLJSONEncoder'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
9 | import Vapor
10 |
11 | extension GraphQLJSONEncoder: Vapor.ContentEncoder {
| `- warning: conformance to 'Sendable' must occur in the same source file as class 'GraphQLJSONEncoder'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
12 | public func encode<E>(_ encodable: E, to body: inout NIOCore.ByteBuffer, headers: inout NIOHTTP1.HTTPHeaders) throws where E: Encodable {
13 | headers.contentType = .json
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:188:14: warning: stored property 'outputFormatting' of 'Sendable'-conforming class 'GraphQLJSONEncoder' is mutable; this is an error in the Swift 6 language mode
186 |
187 | /// The output format to produce. Defaults to `[]`.
188 | open var outputFormatting: OutputFormatting = []
| `- warning: stored property 'outputFormatting' of 'Sendable'-conforming class 'GraphQLJSONEncoder' is mutable; this is an error in the Swift 6 language mode
189 |
190 | /// The strategy to use in encoding dates. Defaults to `.deferredToDate`.
[1987/2007] Compiling Pioneer CORSMiddleware+ApolloSandbox.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Vapor/Extensions/Request/GraphQLJSONEncoder+ContentEncoder.swift:11:1: warning: conformance to 'Sendable' must occur in the same source file as class 'GraphQLJSONEncoder'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
9 | import Vapor
10 |
11 | extension GraphQLJSONEncoder: Vapor.ContentEncoder {
| `- warning: conformance to 'Sendable' must occur in the same source file as class 'GraphQLJSONEncoder'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
12 | public func encode<E>(_ encodable: E, to body: inout NIOCore.ByteBuffer, headers: inout NIOHTTP1.HTTPHeaders) throws where E: Encodable {
13 | headers.contentType = .json
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:188:14: warning: stored property 'outputFormatting' of 'Sendable'-conforming class 'GraphQLJSONEncoder' is mutable; this is an error in the Swift 6 language mode
186 |
187 | /// The output format to produce. Defaults to `[]`.
188 | open var outputFormatting: OutputFormatting = []
| `- warning: stored property 'outputFormatting' of 'Sendable'-conforming class 'GraphQLJSONEncoder' is mutable; this is an error in the Swift 6 language mode
189 |
190 | /// The strategy to use in encoding dates. Defaults to `.deferredToDate`.
[1988/2007] Compiling Pioneer EnvironmentVariables.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Vapor/Extensions/Request/GraphQLJSONEncoder+ContentEncoder.swift:11:1: warning: conformance to 'Sendable' must occur in the same source file as class 'GraphQLJSONEncoder'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
9 | import Vapor
10 |
11 | extension GraphQLJSONEncoder: Vapor.ContentEncoder {
| `- warning: conformance to 'Sendable' must occur in the same source file as class 'GraphQLJSONEncoder'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
12 | public func encode<E>(_ encodable: E, to body: inout NIOCore.ByteBuffer, headers: inout NIOHTTP1.HTTPHeaders) throws where E: Encodable {
13 | headers.contentType = .json
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:188:14: warning: stored property 'outputFormatting' of 'Sendable'-conforming class 'GraphQLJSONEncoder' is mutable; this is an error in the Swift 6 language mode
186 |
187 | /// The output format to produce. Defaults to `[]`.
188 | open var outputFormatting: OutputFormatting = []
| `- warning: stored property 'outputFormatting' of 'Sendable'-conforming class 'GraphQLJSONEncoder' is mutable; this is an error in the Swift 6 language mode
189 |
190 | /// The strategy to use in encoding dates. Defaults to `.deferredToDate`.
[1989/2007] Compiling Pioneer GraphQLJSONEncoder+ContentEncoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Vapor/Extensions/Request/GraphQLJSONEncoder+ContentEncoder.swift:11:1: warning: conformance to 'Sendable' must occur in the same source file as class 'GraphQLJSONEncoder'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
9 | import Vapor
10 |
11 | extension GraphQLJSONEncoder: Vapor.ContentEncoder {
| `- warning: conformance to 'Sendable' must occur in the same source file as class 'GraphQLJSONEncoder'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
12 | public func encode<E>(_ encodable: E, to body: inout NIOCore.ByteBuffer, headers: inout NIOHTTP1.HTTPHeaders) throws where E: Encodable {
13 | headers.contentType = .json
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:188:14: warning: stored property 'outputFormatting' of 'Sendable'-conforming class 'GraphQLJSONEncoder' is mutable; this is an error in the Swift 6 language mode
186 |
187 | /// The output format to produce. Defaults to `[]`.
188 | open var outputFormatting: OutputFormatting = []
| `- warning: stored property 'outputFormatting' of 'Sendable'-conforming class 'GraphQLJSONEncoder' is mutable; this is an error in the Swift 6 language mode
189 |
190 | /// The strategy to use in encoding dates. Defaults to `.deferredToDate`.
[1990/2007] Compiling Pioneer HttpStrategy.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Streaming/AsyncPubSub.swift:32:44: warning: non-sendable result type 'Downstream<any Sendable>' cannot be sent from actor-isolated context in call to instance method 'downstream()'; this is an error in the Swift 6 language mode
30 | internal func asyncStream(for key: String) async -> AsyncThrowingStream<Sendable, Error> {
31 | let emitter = await subscribe(for: key)
32 | let downstream = await emitter.downstream()
| `- warning: non-sendable result type 'Downstream<any Sendable>' cannot be sent from actor-isolated context in call to instance method 'downstream()'; this is an error in the Swift 6 language mode
33 | return downstream.stream
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Streaming/Broadcast.swift:83:15: note: consider making generic struct 'Downstream' conform to the 'Sendable' protocol
81 |
82 | /// An async stream with an id
83 | public struct Downstream<Element: Sendable>: AsyncSequence {
| `- note: consider making generic struct 'Downstream' conform to the 'Sendable' protocol
84 | /// The id of the stream
85 | public let id: UUID
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:72:23: warning: sending 'schema' risks causing data races; this is an error in the Swift 6 language mode
70 | self.keepAlive = keepAlive
71 | self.timeout = timeout
72 | self.probe = .init(
| |- warning: sending 'schema' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'schema' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
73 | schema: schema,
74 | resolver: resolver,
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:72:23: warning: sending 'resolver' risks causing data races; this is an error in the Swift 6 language mode
70 | self.keepAlive = keepAlive
71 | self.timeout = timeout
72 | self.probe = .init(
| |- warning: sending 'resolver' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'resolver' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
73 | schema: schema,
74 | resolver: resolver,
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:274:21: warning: sending 'client' risks causing data races; this is an error in the Swift 6 language mode
272 | ) async -> WebSocketClient {
273 | let client = WebSocketClient(id: cid, io: io, payload: payload, ev: ev, context: context)
274 | await probe.connect(with: client)
| |- warning: sending 'client' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'client' to actor-isolated instance method 'connect(with:)' risks causing data races between actor-isolated and task-isolated uses
275 | websocketProtocol.initialize(io)
276 | timeout?.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:286:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
284 | /// - timeout: The client's timeout interval
285 | public func disposeClient(cid: WebSocketClient.ID, keepAlive: Task<Void, Error>?, timeout: Task<Void, Error>?) {
286 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
287 | await probe.disconnect(for: cid)
| `- note: closure captures 'self' which is accessible to code in the current task
288 | }
289 | keepAlive?.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Streaming/AsyncEventStream.swift:28:29: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
26 | /// Performance and efficiency has been tested to mostly not affected but do keep in mind to try to find a better solution.
27 | let stream = AsyncThrowingStream(To.self) { continuation in
28 | let task = Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
29 | do {
30 | for try await each in self.sequence {
31 | let res = try closure(each)
| `- note: closure captures 'closure' which is accessible to code in the current task
32 | continuation.yield(res)
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Streaming/AsyncEventStream.swift:32:38: warning: sending 'res' risks causing data races; this is an error in the Swift 6 language mode
30 | for try await each in self.sequence {
31 | let res = try closure(each)
32 | continuation.yield(res)
| |- warning: sending 'res' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'res' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
33 | }
34 | continuation.finish()
[1991/2007] Compiling Pioneer IDE.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Streaming/AsyncPubSub.swift:32:44: warning: non-sendable result type 'Downstream<any Sendable>' cannot be sent from actor-isolated context in call to instance method 'downstream()'; this is an error in the Swift 6 language mode
30 | internal func asyncStream(for key: String) async -> AsyncThrowingStream<Sendable, Error> {
31 | let emitter = await subscribe(for: key)
32 | let downstream = await emitter.downstream()
| `- warning: non-sendable result type 'Downstream<any Sendable>' cannot be sent from actor-isolated context in call to instance method 'downstream()'; this is an error in the Swift 6 language mode
33 | return downstream.stream
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Streaming/Broadcast.swift:83:15: note: consider making generic struct 'Downstream' conform to the 'Sendable' protocol
81 |
82 | /// An async stream with an id
83 | public struct Downstream<Element: Sendable>: AsyncSequence {
| `- note: consider making generic struct 'Downstream' conform to the 'Sendable' protocol
84 | /// The id of the stream
85 | public let id: UUID
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:72:23: warning: sending 'schema' risks causing data races; this is an error in the Swift 6 language mode
70 | self.keepAlive = keepAlive
71 | self.timeout = timeout
72 | self.probe = .init(
| |- warning: sending 'schema' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'schema' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
73 | schema: schema,
74 | resolver: resolver,
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:72:23: warning: sending 'resolver' risks causing data races; this is an error in the Swift 6 language mode
70 | self.keepAlive = keepAlive
71 | self.timeout = timeout
72 | self.probe = .init(
| |- warning: sending 'resolver' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'resolver' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
73 | schema: schema,
74 | resolver: resolver,
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:274:21: warning: sending 'client' risks causing data races; this is an error in the Swift 6 language mode
272 | ) async -> WebSocketClient {
273 | let client = WebSocketClient(id: cid, io: io, payload: payload, ev: ev, context: context)
274 | await probe.connect(with: client)
| |- warning: sending 'client' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'client' to actor-isolated instance method 'connect(with:)' risks causing data races between actor-isolated and task-isolated uses
275 | websocketProtocol.initialize(io)
276 | timeout?.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:286:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
284 | /// - timeout: The client's timeout interval
285 | public func disposeClient(cid: WebSocketClient.ID, keepAlive: Task<Void, Error>?, timeout: Task<Void, Error>?) {
286 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
287 | await probe.disconnect(for: cid)
| `- note: closure captures 'self' which is accessible to code in the current task
288 | }
289 | keepAlive?.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Streaming/AsyncEventStream.swift:28:29: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
26 | /// Performance and efficiency has been tested to mostly not affected but do keep in mind to try to find a better solution.
27 | let stream = AsyncThrowingStream(To.self) { continuation in
28 | let task = Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
29 | do {
30 | for try await each in self.sequence {
31 | let res = try closure(each)
| `- note: closure captures 'closure' which is accessible to code in the current task
32 | continuation.yield(res)
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Streaming/AsyncEventStream.swift:32:38: warning: sending 'res' risks causing data races; this is an error in the Swift 6 language mode
30 | for try await each in self.sequence {
31 | let res = try closure(each)
32 | continuation.yield(res)
| |- warning: sending 'res' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'res' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
33 | }
34 | continuation.finish()
[1992/2007] Compiling Pioneer Pioneer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Streaming/AsyncPubSub.swift:32:44: warning: non-sendable result type 'Downstream<any Sendable>' cannot be sent from actor-isolated context in call to instance method 'downstream()'; this is an error in the Swift 6 language mode
30 | internal func asyncStream(for key: String) async -> AsyncThrowingStream<Sendable, Error> {
31 | let emitter = await subscribe(for: key)
32 | let downstream = await emitter.downstream()
| `- warning: non-sendable result type 'Downstream<any Sendable>' cannot be sent from actor-isolated context in call to instance method 'downstream()'; this is an error in the Swift 6 language mode
33 | return downstream.stream
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Streaming/Broadcast.swift:83:15: note: consider making generic struct 'Downstream' conform to the 'Sendable' protocol
81 |
82 | /// An async stream with an id
83 | public struct Downstream<Element: Sendable>: AsyncSequence {
| `- note: consider making generic struct 'Downstream' conform to the 'Sendable' protocol
84 | /// The id of the stream
85 | public let id: UUID
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:72:23: warning: sending 'schema' risks causing data races; this is an error in the Swift 6 language mode
70 | self.keepAlive = keepAlive
71 | self.timeout = timeout
72 | self.probe = .init(
| |- warning: sending 'schema' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'schema' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
73 | schema: schema,
74 | resolver: resolver,
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:72:23: warning: sending 'resolver' risks causing data races; this is an error in the Swift 6 language mode
70 | self.keepAlive = keepAlive
71 | self.timeout = timeout
72 | self.probe = .init(
| |- warning: sending 'resolver' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'resolver' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
73 | schema: schema,
74 | resolver: resolver,
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:274:21: warning: sending 'client' risks causing data races; this is an error in the Swift 6 language mode
272 | ) async -> WebSocketClient {
273 | let client = WebSocketClient(id: cid, io: io, payload: payload, ev: ev, context: context)
274 | await probe.connect(with: client)
| |- warning: sending 'client' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'client' to actor-isolated instance method 'connect(with:)' risks causing data races between actor-isolated and task-isolated uses
275 | websocketProtocol.initialize(io)
276 | timeout?.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:286:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
284 | /// - timeout: The client's timeout interval
285 | public func disposeClient(cid: WebSocketClient.ID, keepAlive: Task<Void, Error>?, timeout: Task<Void, Error>?) {
286 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
287 | await probe.disconnect(for: cid)
| `- note: closure captures 'self' which is accessible to code in the current task
288 | }
289 | keepAlive?.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Streaming/AsyncEventStream.swift:28:29: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
26 | /// Performance and efficiency has been tested to mostly not affected but do keep in mind to try to find a better solution.
27 | let stream = AsyncThrowingStream(To.self) { continuation in
28 | let task = Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
29 | do {
30 | for try await each in self.sequence {
31 | let res = try closure(each)
| `- note: closure captures 'closure' which is accessible to code in the current task
32 | continuation.yield(res)
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Streaming/AsyncEventStream.swift:32:38: warning: sending 'res' risks causing data races; this is an error in the Swift 6 language mode
30 | for try await each in self.sequence {
31 | let res = try closure(each)
32 | continuation.yield(res)
| |- warning: sending 'res' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'res' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
33 | }
34 | continuation.finish()
[1993/2007] Compiling Pioneer AsyncEventStream.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Streaming/AsyncPubSub.swift:32:44: warning: non-sendable result type 'Downstream<any Sendable>' cannot be sent from actor-isolated context in call to instance method 'downstream()'; this is an error in the Swift 6 language mode
30 | internal func asyncStream(for key: String) async -> AsyncThrowingStream<Sendable, Error> {
31 | let emitter = await subscribe(for: key)
32 | let downstream = await emitter.downstream()
| `- warning: non-sendable result type 'Downstream<any Sendable>' cannot be sent from actor-isolated context in call to instance method 'downstream()'; this is an error in the Swift 6 language mode
33 | return downstream.stream
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Streaming/Broadcast.swift:83:15: note: consider making generic struct 'Downstream' conform to the 'Sendable' protocol
81 |
82 | /// An async stream with an id
83 | public struct Downstream<Element: Sendable>: AsyncSequence {
| `- note: consider making generic struct 'Downstream' conform to the 'Sendable' protocol
84 | /// The id of the stream
85 | public let id: UUID
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:72:23: warning: sending 'schema' risks causing data races; this is an error in the Swift 6 language mode
70 | self.keepAlive = keepAlive
71 | self.timeout = timeout
72 | self.probe = .init(
| |- warning: sending 'schema' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'schema' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
73 | schema: schema,
74 | resolver: resolver,
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:72:23: warning: sending 'resolver' risks causing data races; this is an error in the Swift 6 language mode
70 | self.keepAlive = keepAlive
71 | self.timeout = timeout
72 | self.probe = .init(
| |- warning: sending 'resolver' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'resolver' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
73 | schema: schema,
74 | resolver: resolver,
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:274:21: warning: sending 'client' risks causing data races; this is an error in the Swift 6 language mode
272 | ) async -> WebSocketClient {
273 | let client = WebSocketClient(id: cid, io: io, payload: payload, ev: ev, context: context)
274 | await probe.connect(with: client)
| |- warning: sending 'client' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'client' to actor-isolated instance method 'connect(with:)' risks causing data races between actor-isolated and task-isolated uses
275 | websocketProtocol.initialize(io)
276 | timeout?.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:286:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
284 | /// - timeout: The client's timeout interval
285 | public func disposeClient(cid: WebSocketClient.ID, keepAlive: Task<Void, Error>?, timeout: Task<Void, Error>?) {
286 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
287 | await probe.disconnect(for: cid)
| `- note: closure captures 'self' which is accessible to code in the current task
288 | }
289 | keepAlive?.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Streaming/AsyncEventStream.swift:28:29: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
26 | /// Performance and efficiency has been tested to mostly not affected but do keep in mind to try to find a better solution.
27 | let stream = AsyncThrowingStream(To.self) { continuation in
28 | let task = Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
29 | do {
30 | for try await each in self.sequence {
31 | let res = try closure(each)
| `- note: closure captures 'closure' which is accessible to code in the current task
32 | continuation.yield(res)
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Streaming/AsyncEventStream.swift:32:38: warning: sending 'res' risks causing data races; this is an error in the Swift 6 language mode
30 | for try await each in self.sequence {
31 | let res = try closure(each)
32 | continuation.yield(res)
| |- warning: sending 'res' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'res' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
33 | }
34 | continuation.finish()
[1994/2007] Compiling Pioneer AsyncPubSub.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Streaming/AsyncPubSub.swift:32:44: warning: non-sendable result type 'Downstream<any Sendable>' cannot be sent from actor-isolated context in call to instance method 'downstream()'; this is an error in the Swift 6 language mode
30 | internal func asyncStream(for key: String) async -> AsyncThrowingStream<Sendable, Error> {
31 | let emitter = await subscribe(for: key)
32 | let downstream = await emitter.downstream()
| `- warning: non-sendable result type 'Downstream<any Sendable>' cannot be sent from actor-isolated context in call to instance method 'downstream()'; this is an error in the Swift 6 language mode
33 | return downstream.stream
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Streaming/Broadcast.swift:83:15: note: consider making generic struct 'Downstream' conform to the 'Sendable' protocol
81 |
82 | /// An async stream with an id
83 | public struct Downstream<Element: Sendable>: AsyncSequence {
| `- note: consider making generic struct 'Downstream' conform to the 'Sendable' protocol
84 | /// The id of the stream
85 | public let id: UUID
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:72:23: warning: sending 'schema' risks causing data races; this is an error in the Swift 6 language mode
70 | self.keepAlive = keepAlive
71 | self.timeout = timeout
72 | self.probe = .init(
| |- warning: sending 'schema' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'schema' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
73 | schema: schema,
74 | resolver: resolver,
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:72:23: warning: sending 'resolver' risks causing data races; this is an error in the Swift 6 language mode
70 | self.keepAlive = keepAlive
71 | self.timeout = timeout
72 | self.probe = .init(
| |- warning: sending 'resolver' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'resolver' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
73 | schema: schema,
74 | resolver: resolver,
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:274:21: warning: sending 'client' risks causing data races; this is an error in the Swift 6 language mode
272 | ) async -> WebSocketClient {
273 | let client = WebSocketClient(id: cid, io: io, payload: payload, ev: ev, context: context)
274 | await probe.connect(with: client)
| |- warning: sending 'client' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'client' to actor-isolated instance method 'connect(with:)' risks causing data races between actor-isolated and task-isolated uses
275 | websocketProtocol.initialize(io)
276 | timeout?.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:286:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
284 | /// - timeout: The client's timeout interval
285 | public func disposeClient(cid: WebSocketClient.ID, keepAlive: Task<Void, Error>?, timeout: Task<Void, Error>?) {
286 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
287 | await probe.disconnect(for: cid)
| `- note: closure captures 'self' which is accessible to code in the current task
288 | }
289 | keepAlive?.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Streaming/AsyncEventStream.swift:28:29: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
26 | /// Performance and efficiency has been tested to mostly not affected but do keep in mind to try to find a better solution.
27 | let stream = AsyncThrowingStream(To.self) { continuation in
28 | let task = Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
29 | do {
30 | for try await each in self.sequence {
31 | let res = try closure(each)
| `- note: closure captures 'closure' which is accessible to code in the current task
32 | continuation.yield(res)
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Streaming/AsyncEventStream.swift:32:38: warning: sending 'res' risks causing data races; this is an error in the Swift 6 language mode
30 | for try await each in self.sequence {
31 | let res = try closure(each)
32 | continuation.yield(res)
| |- warning: sending 'res' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'res' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
33 | }
34 | continuation.finish()
[1995/2007] Compiling Pioneer Broadcast.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Streaming/AsyncPubSub.swift:32:44: warning: non-sendable result type 'Downstream<any Sendable>' cannot be sent from actor-isolated context in call to instance method 'downstream()'; this is an error in the Swift 6 language mode
30 | internal func asyncStream(for key: String) async -> AsyncThrowingStream<Sendable, Error> {
31 | let emitter = await subscribe(for: key)
32 | let downstream = await emitter.downstream()
| `- warning: non-sendable result type 'Downstream<any Sendable>' cannot be sent from actor-isolated context in call to instance method 'downstream()'; this is an error in the Swift 6 language mode
33 | return downstream.stream
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Streaming/Broadcast.swift:83:15: note: consider making generic struct 'Downstream' conform to the 'Sendable' protocol
81 |
82 | /// An async stream with an id
83 | public struct Downstream<Element: Sendable>: AsyncSequence {
| `- note: consider making generic struct 'Downstream' conform to the 'Sendable' protocol
84 | /// The id of the stream
85 | public let id: UUID
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:72:23: warning: sending 'schema' risks causing data races; this is an error in the Swift 6 language mode
70 | self.keepAlive = keepAlive
71 | self.timeout = timeout
72 | self.probe = .init(
| |- warning: sending 'schema' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'schema' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
73 | schema: schema,
74 | resolver: resolver,
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:72:23: warning: sending 'resolver' risks causing data races; this is an error in the Swift 6 language mode
70 | self.keepAlive = keepAlive
71 | self.timeout = timeout
72 | self.probe = .init(
| |- warning: sending 'resolver' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'resolver' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
73 | schema: schema,
74 | resolver: resolver,
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:274:21: warning: sending 'client' risks causing data races; this is an error in the Swift 6 language mode
272 | ) async -> WebSocketClient {
273 | let client = WebSocketClient(id: cid, io: io, payload: payload, ev: ev, context: context)
274 | await probe.connect(with: client)
| |- warning: sending 'client' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'client' to actor-isolated instance method 'connect(with:)' risks causing data races between actor-isolated and task-isolated uses
275 | websocketProtocol.initialize(io)
276 | timeout?.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:286:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
284 | /// - timeout: The client's timeout interval
285 | public func disposeClient(cid: WebSocketClient.ID, keepAlive: Task<Void, Error>?, timeout: Task<Void, Error>?) {
286 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
287 | await probe.disconnect(for: cid)
| `- note: closure captures 'self' which is accessible to code in the current task
288 | }
289 | keepAlive?.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Streaming/AsyncEventStream.swift:28:29: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
26 | /// Performance and efficiency has been tested to mostly not affected but do keep in mind to try to find a better solution.
27 | let stream = AsyncThrowingStream(To.self) { continuation in
28 | let task = Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
29 | do {
30 | for try await each in self.sequence {
31 | let res = try closure(each)
| `- note: closure captures 'closure' which is accessible to code in the current task
32 | continuation.yield(res)
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Streaming/AsyncEventStream.swift:32:38: warning: sending 'res' risks causing data races; this is an error in the Swift 6 language mode
30 | for try await each in self.sequence {
31 | let res = try closure(each)
32 | continuation.yield(res)
| |- warning: sending 'res' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'res' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
33 | }
34 | continuation.finish()
[1996/2007] Compiling Pioneer GraphQLMessage.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Http/HTTPGraphQL.swift:74:23: warning: static property 'mediaType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
72 |
73 | /// GraphQL over HTTP spec's accept media type
74 | public static var mediaType = "application/graphql-response+json"
| |- warning: static property 'mediaType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mediaType' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'mediaType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |
76 | /// GraphQL over HTTP spec's content type
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Http/HTTPGraphQL.swift:77:23: warning: static property 'contentType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
75 |
76 | /// GraphQL over HTTP spec's content type
77 | public static var contentType = "\(mediaType); charset=utf-8, \(mediaType)"
| |- warning: static property 'contentType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contentType' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'contentType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | }
79 |
[1997/2007] Compiling Pioneer GraphQLMiddleware.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Http/HTTPGraphQL.swift:74:23: warning: static property 'mediaType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
72 |
73 | /// GraphQL over HTTP spec's accept media type
74 | public static var mediaType = "application/graphql-response+json"
| |- warning: static property 'mediaType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mediaType' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'mediaType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |
76 | /// GraphQL over HTTP spec's content type
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Http/HTTPGraphQL.swift:77:23: warning: static property 'contentType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
75 |
76 | /// GraphQL over HTTP spec's content type
77 | public static var contentType = "\(mediaType); charset=utf-8, \(mediaType)"
| |- warning: static property 'contentType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contentType' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'contentType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | }
79 |
[1998/2007] Compiling Pioneer GraphQLRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Http/HTTPGraphQL.swift:74:23: warning: static property 'mediaType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
72 |
73 | /// GraphQL over HTTP spec's accept media type
74 | public static var mediaType = "application/graphql-response+json"
| |- warning: static property 'mediaType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mediaType' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'mediaType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |
76 | /// GraphQL over HTTP spec's content type
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Http/HTTPGraphQL.swift:77:23: warning: static property 'contentType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
75 |
76 | /// GraphQL over HTTP spec's content type
77 | public static var contentType = "\(mediaType); charset=utf-8, \(mediaType)"
| |- warning: static property 'contentType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contentType' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'contentType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | }
79 |
[1999/2007] Compiling Pioneer GraphQLViolation.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Http/HTTPGraphQL.swift:74:23: warning: static property 'mediaType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
72 |
73 | /// GraphQL over HTTP spec's accept media type
74 | public static var mediaType = "application/graphql-response+json"
| |- warning: static property 'mediaType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mediaType' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'mediaType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |
76 | /// GraphQL over HTTP spec's content type
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Http/HTTPGraphQL.swift:77:23: warning: static property 'contentType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
75 |
76 | /// GraphQL over HTTP spec's content type
77 | public static var contentType = "\(mediaType); charset=utf-8, \(mediaType)"
| |- warning: static property 'contentType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contentType' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'contentType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | }
79 |
[2000/2007] Compiling Pioneer CSRFProtections.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Http/HTTPGraphQL.swift:74:23: warning: static property 'mediaType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
72 |
73 | /// GraphQL over HTTP spec's accept media type
74 | public static var mediaType = "application/graphql-response+json"
| |- warning: static property 'mediaType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mediaType' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'mediaType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |
76 | /// GraphQL over HTTP spec's content type
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Http/HTTPGraphQL.swift:77:23: warning: static property 'contentType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
75 |
76 | /// GraphQL over HTTP spec's content type
77 | public static var contentType = "\(mediaType); charset=utf-8, \(mediaType)"
| |- warning: static property 'contentType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contentType' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'contentType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | }
79 |
[2001/2007] Compiling Pioneer HTTPGraphQL.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Http/HTTPGraphQL.swift:74:23: warning: static property 'mediaType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
72 |
73 | /// GraphQL over HTTP spec's accept media type
74 | public static var mediaType = "application/graphql-response+json"
| |- warning: static property 'mediaType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mediaType' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'mediaType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |
76 | /// GraphQL over HTTP spec's content type
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Http/HTTPGraphQL.swift:77:23: warning: static property 'contentType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
75 |
76 | /// GraphQL over HTTP spec's content type
77 | public static var contentType = "\(mediaType); charset=utf-8, \(mediaType)"
| |- warning: static property 'contentType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contentType' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'contentType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | }
79 |
[2002/2007] Compiling Pioneer Drone.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:127:44: warning: non-sendable result type 'Context' cannot be sent from nonisolated context in call to instance method 'context'; this is an error in the Swift 6 language mode
125 | private func subscription(gql: GraphQLRequest) async -> SubscriptionResult {
126 | do {
127 | let ctx = try await client.context(gql)
| `- warning: non-sendable result type 'Context' cannot be sent from nonisolated context in call to instance method 'context'; this is an error in the Swift 6 language mode
128 | return try await subscribeOperation(for: gql, with: ctx, using: client.ev)
129 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:16:33: note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
14 |
15 | /// Pioneer GraphQL Server for handling all GraphQL operations
16 | public struct Pioneer<Resolver, Context> {
| `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
17 | /// Graphiti schema used to execute operations
18 | public private(set) var schema: GraphQLSchema
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:139:23: warning: non-sendable result type 'SubscriptionResult' cannot be sent from nonisolated context in call to global function 'subscribeGraphQL(schema:request:resolver:context:eventLoopGroup:variables:operationName:)'; this is an error in the Swift 6 language mode
137 | /// Execute long lived GraphQL Operation as a subscription
138 | private func subscribeOperation(for gql: GraphQLRequest, with ctx: Context, using eventLoop: EventLoopGroup) async throws -> SubscriptionResult {
139 | try await subscribeGraphQL(
| `- warning: non-sendable result type 'SubscriptionResult' cannot be sent from nonisolated context in call to global function 'subscribeGraphQL(schema:request:resolver:context:eventLoopGroup:variables:operationName:)'; this is an error in the Swift 6 language mode
140 | schema: schema,
141 | request: gql.query,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/GraphQL.swift:47:15: note: struct 'SubscriptionResult' does not conform to the 'Sendable' protocol
45 |
46 | /// SubscriptionResult wraps the observable and error data returned by the subscribe request.
47 | public struct SubscriptionResult {
| `- note: struct 'SubscriptionResult' does not conform to the 'Sendable' protocol
48 | public let stream: SubscriptionEventStream?
49 | public let errors: [GraphQLError]
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
7 |
8 | import class Graphiti.Schema
9 | import GraphQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
10 | import protocol NIO.EventLoopGroup
11 |
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:78:29: warning: capture of 'client' with non-sendable type 'Pioneer<Resolver, Context>.WebSocketClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
76 | await sink.outgoing(
77 | with: oid,
78 | to: client,
| `- warning: capture of 'client' with non-sendable type 'Pioneer<Resolver, Context>.WebSocketClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
79 | given: .from(type: self.proto.next, id: oid, value)
80 | )
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Common/WebSocketClient.swift:21:12: note: consider making struct 'WebSocketClient' conform to the 'Sendable' protocol
19 |
20 | /// Full GraphQL over WebSocket Client
21 | struct WebSocketClient: Identifiable {
| `- note: consider making struct 'WebSocketClient' conform to the 'Sendable' protocol
22 | /// The unique key for this client
23 | public var id: UUID
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:106:44: warning: non-sendable result type 'Context' cannot be sent from nonisolated context in call to instance method 'context'; this is an error in the Swift 6 language mode
104 | private func execute(_ gql: GraphQLRequest, client: WebSocketClient) -> Task<GraphQLResult, Error> {
105 | Task { [unowned self] in
106 | let ctx = try await client.context(gql)
| `- warning: non-sendable result type 'Context' cannot be sent from nonisolated context in call to instance method 'context'; this is an error in the Swift 6 language mode
107 | return try await executeGraphQL(
108 | schema: self.schema,
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:16:33: note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
14 |
15 | /// Pioneer GraphQL Server for handling all GraphQL operations
16 | public struct Pioneer<Resolver, Context> {
| `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
17 | /// Graphiti schema used to execute operations
18 | public private(set) var schema: GraphQLSchema
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:139:23: warning: sending 'self.schema' risks causing data races; this is an error in the Swift 6 language mode
137 | /// Execute long lived GraphQL Operation as a subscription
138 | private func subscribeOperation(for gql: GraphQLRequest, with ctx: Context, using eventLoop: EventLoopGroup) async throws -> SubscriptionResult {
139 | try await subscribeGraphQL(
| |- warning: sending 'self.schema' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.schema' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
140 | schema: schema,
141 | request: gql.query,
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:139:23: warning: sending 'self.resolver' risks causing data races; this is an error in the Swift 6 language mode
137 | /// Execute long lived GraphQL Operation as a subscription
138 | private func subscribeOperation(for gql: GraphQLRequest, with ctx: Context, using eventLoop: EventLoopGroup) async throws -> SubscriptionResult {
139 | try await subscribeGraphQL(
| |- warning: sending 'self.resolver' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.resolver' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
140 | schema: schema,
141 | request: gql.query,
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:139:23: warning: sending 'ctx' risks causing data races; this is an error in the Swift 6 language mode
137 | /// Execute long lived GraphQL Operation as a subscription
138 | private func subscribeOperation(for gql: GraphQLRequest, with ctx: Context, using eventLoop: EventLoopGroup) async throws -> SubscriptionResult {
139 | try await subscribeGraphQL(
| |- warning: sending 'ctx' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'ctx' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
140 | schema: schema,
141 | request: gql.query,
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:127:44: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
125 | private func subscription(gql: GraphQLRequest) async -> SubscriptionResult {
126 | do {
127 | let ctx = try await client.context(gql)
| |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
128 | return try await subscribeOperation(for: gql, with: ctx, using: client.ev)
129 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:56:18: warning: sending 'client' risks causing data races; this is an error in the Swift 6 language mode
54 |
55 | let drone = drones.getOrElse(cid) {
56 | .init(client,
| |- warning: sending 'client' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'client' to actor-isolated callee risks causing data races between actor-isolated and 'self'-isolated uses
57 | schema: schema,
58 | resolver: resolver,
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:56:18: warning: sending 'self.schema' risks causing data races; this is an error in the Swift 6 language mode
54 |
55 | let drone = drones.getOrElse(cid) {
56 | .init(client,
| |- warning: sending 'self.schema' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.schema' to actor-isolated callee risks causing data races between actor-isolated and 'self'-isolated uses
57 | schema: schema,
58 | resolver: resolver,
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:56:18: warning: sending 'self.resolver' risks causing data races; this is an error in the Swift 6 language mode
54 |
55 | let drone = drones.getOrElse(cid) {
56 | .init(client,
| |- warning: sending 'self.resolver' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.resolver' to actor-isolated callee risks causing data races between actor-isolated and 'self'-isolated uses
57 | schema: schema,
58 | resolver: resolver,
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:107:34: warning: sending value of non-Sendable type 'GraphQLSchema' risks causing data races; this is an error in the Swift 6 language mode
105 | Task { [unowned self] in
106 | let ctx = try await client.context(gql)
107 | return try await executeGraphQL(
| |- warning: sending value of non-Sendable type 'GraphQLSchema' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending actor-isolated value of non-Sendable type 'GraphQLSchema' to nonisolated callee risks causing races in between actor-isolated and nonisolated uses
108 | schema: self.schema,
109 | request: gql.query,
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:107:34: warning: sending value of non-Sendable type 'Resolver' risks causing data races; this is an error in the Swift 6 language mode
105 | Task { [unowned self] in
106 | let ctx = try await client.context(gql)
107 | return try await executeGraphQL(
| |- warning: sending value of non-Sendable type 'Resolver' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending actor-isolated value of non-Sendable type 'Resolver' to nonisolated callee risks causing races in between actor-isolated and nonisolated uses
108 | schema: self.schema,
109 | request: gql.query,
[2003/2007] Compiling Pioneer Probe.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:127:44: warning: non-sendable result type 'Context' cannot be sent from nonisolated context in call to instance method 'context'; this is an error in the Swift 6 language mode
125 | private func subscription(gql: GraphQLRequest) async -> SubscriptionResult {
126 | do {
127 | let ctx = try await client.context(gql)
| `- warning: non-sendable result type 'Context' cannot be sent from nonisolated context in call to instance method 'context'; this is an error in the Swift 6 language mode
128 | return try await subscribeOperation(for: gql, with: ctx, using: client.ev)
129 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:16:33: note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
14 |
15 | /// Pioneer GraphQL Server for handling all GraphQL operations
16 | public struct Pioneer<Resolver, Context> {
| `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
17 | /// Graphiti schema used to execute operations
18 | public private(set) var schema: GraphQLSchema
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:139:23: warning: non-sendable result type 'SubscriptionResult' cannot be sent from nonisolated context in call to global function 'subscribeGraphQL(schema:request:resolver:context:eventLoopGroup:variables:operationName:)'; this is an error in the Swift 6 language mode
137 | /// Execute long lived GraphQL Operation as a subscription
138 | private func subscribeOperation(for gql: GraphQLRequest, with ctx: Context, using eventLoop: EventLoopGroup) async throws -> SubscriptionResult {
139 | try await subscribeGraphQL(
| `- warning: non-sendable result type 'SubscriptionResult' cannot be sent from nonisolated context in call to global function 'subscribeGraphQL(schema:request:resolver:context:eventLoopGroup:variables:operationName:)'; this is an error in the Swift 6 language mode
140 | schema: schema,
141 | request: gql.query,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/GraphQL.swift:47:15: note: struct 'SubscriptionResult' does not conform to the 'Sendable' protocol
45 |
46 | /// SubscriptionResult wraps the observable and error data returned by the subscribe request.
47 | public struct SubscriptionResult {
| `- note: struct 'SubscriptionResult' does not conform to the 'Sendable' protocol
48 | public let stream: SubscriptionEventStream?
49 | public let errors: [GraphQLError]
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
7 |
8 | import class Graphiti.Schema
9 | import GraphQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
10 | import protocol NIO.EventLoopGroup
11 |
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:78:29: warning: capture of 'client' with non-sendable type 'Pioneer<Resolver, Context>.WebSocketClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
76 | await sink.outgoing(
77 | with: oid,
78 | to: client,
| `- warning: capture of 'client' with non-sendable type 'Pioneer<Resolver, Context>.WebSocketClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
79 | given: .from(type: self.proto.next, id: oid, value)
80 | )
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Common/WebSocketClient.swift:21:12: note: consider making struct 'WebSocketClient' conform to the 'Sendable' protocol
19 |
20 | /// Full GraphQL over WebSocket Client
21 | struct WebSocketClient: Identifiable {
| `- note: consider making struct 'WebSocketClient' conform to the 'Sendable' protocol
22 | /// The unique key for this client
23 | public var id: UUID
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:106:44: warning: non-sendable result type 'Context' cannot be sent from nonisolated context in call to instance method 'context'; this is an error in the Swift 6 language mode
104 | private func execute(_ gql: GraphQLRequest, client: WebSocketClient) -> Task<GraphQLResult, Error> {
105 | Task { [unowned self] in
106 | let ctx = try await client.context(gql)
| `- warning: non-sendable result type 'Context' cannot be sent from nonisolated context in call to instance method 'context'; this is an error in the Swift 6 language mode
107 | return try await executeGraphQL(
108 | schema: self.schema,
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:16:33: note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
14 |
15 | /// Pioneer GraphQL Server for handling all GraphQL operations
16 | public struct Pioneer<Resolver, Context> {
| `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
17 | /// Graphiti schema used to execute operations
18 | public private(set) var schema: GraphQLSchema
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:139:23: warning: sending 'self.schema' risks causing data races; this is an error in the Swift 6 language mode
137 | /// Execute long lived GraphQL Operation as a subscription
138 | private func subscribeOperation(for gql: GraphQLRequest, with ctx: Context, using eventLoop: EventLoopGroup) async throws -> SubscriptionResult {
139 | try await subscribeGraphQL(
| |- warning: sending 'self.schema' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.schema' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
140 | schema: schema,
141 | request: gql.query,
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:139:23: warning: sending 'self.resolver' risks causing data races; this is an error in the Swift 6 language mode
137 | /// Execute long lived GraphQL Operation as a subscription
138 | private func subscribeOperation(for gql: GraphQLRequest, with ctx: Context, using eventLoop: EventLoopGroup) async throws -> SubscriptionResult {
139 | try await subscribeGraphQL(
| |- warning: sending 'self.resolver' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.resolver' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
140 | schema: schema,
141 | request: gql.query,
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:139:23: warning: sending 'ctx' risks causing data races; this is an error in the Swift 6 language mode
137 | /// Execute long lived GraphQL Operation as a subscription
138 | private func subscribeOperation(for gql: GraphQLRequest, with ctx: Context, using eventLoop: EventLoopGroup) async throws -> SubscriptionResult {
139 | try await subscribeGraphQL(
| |- warning: sending 'ctx' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'ctx' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
140 | schema: schema,
141 | request: gql.query,
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:127:44: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
125 | private func subscription(gql: GraphQLRequest) async -> SubscriptionResult {
126 | do {
127 | let ctx = try await client.context(gql)
| |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
128 | return try await subscribeOperation(for: gql, with: ctx, using: client.ev)
129 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:56:18: warning: sending 'client' risks causing data races; this is an error in the Swift 6 language mode
54 |
55 | let drone = drones.getOrElse(cid) {
56 | .init(client,
| |- warning: sending 'client' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'client' to actor-isolated callee risks causing data races between actor-isolated and 'self'-isolated uses
57 | schema: schema,
58 | resolver: resolver,
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:56:18: warning: sending 'self.schema' risks causing data races; this is an error in the Swift 6 language mode
54 |
55 | let drone = drones.getOrElse(cid) {
56 | .init(client,
| |- warning: sending 'self.schema' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.schema' to actor-isolated callee risks causing data races between actor-isolated and 'self'-isolated uses
57 | schema: schema,
58 | resolver: resolver,
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:56:18: warning: sending 'self.resolver' risks causing data races; this is an error in the Swift 6 language mode
54 |
55 | let drone = drones.getOrElse(cid) {
56 | .init(client,
| |- warning: sending 'self.resolver' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.resolver' to actor-isolated callee risks causing data races between actor-isolated and 'self'-isolated uses
57 | schema: schema,
58 | resolver: resolver,
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:107:34: warning: sending value of non-Sendable type 'GraphQLSchema' risks causing data races; this is an error in the Swift 6 language mode
105 | Task { [unowned self] in
106 | let ctx = try await client.context(gql)
107 | return try await executeGraphQL(
| |- warning: sending value of non-Sendable type 'GraphQLSchema' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending actor-isolated value of non-Sendable type 'GraphQLSchema' to nonisolated callee risks causing races in between actor-isolated and nonisolated uses
108 | schema: self.schema,
109 | request: gql.query,
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:107:34: warning: sending value of non-Sendable type 'Resolver' risks causing data races; this is an error in the Swift 6 language mode
105 | Task { [unowned self] in
106 | let ctx = try await client.context(gql)
107 | return try await executeGraphQL(
| |- warning: sending value of non-Sendable type 'Resolver' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending actor-isolated value of non-Sendable type 'Resolver' to nonisolated callee risks causing races in between actor-isolated and nonisolated uses
108 | schema: self.schema,
109 | request: gql.query,
[2004/2007] Compiling Pioneer GraphQLWs.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:127:44: warning: non-sendable result type 'Context' cannot be sent from nonisolated context in call to instance method 'context'; this is an error in the Swift 6 language mode
125 | private func subscription(gql: GraphQLRequest) async -> SubscriptionResult {
126 | do {
127 | let ctx = try await client.context(gql)
| `- warning: non-sendable result type 'Context' cannot be sent from nonisolated context in call to instance method 'context'; this is an error in the Swift 6 language mode
128 | return try await subscribeOperation(for: gql, with: ctx, using: client.ev)
129 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:16:33: note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
14 |
15 | /// Pioneer GraphQL Server for handling all GraphQL operations
16 | public struct Pioneer<Resolver, Context> {
| `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
17 | /// Graphiti schema used to execute operations
18 | public private(set) var schema: GraphQLSchema
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:139:23: warning: non-sendable result type 'SubscriptionResult' cannot be sent from nonisolated context in call to global function 'subscribeGraphQL(schema:request:resolver:context:eventLoopGroup:variables:operationName:)'; this is an error in the Swift 6 language mode
137 | /// Execute long lived GraphQL Operation as a subscription
138 | private func subscribeOperation(for gql: GraphQLRequest, with ctx: Context, using eventLoop: EventLoopGroup) async throws -> SubscriptionResult {
139 | try await subscribeGraphQL(
| `- warning: non-sendable result type 'SubscriptionResult' cannot be sent from nonisolated context in call to global function 'subscribeGraphQL(schema:request:resolver:context:eventLoopGroup:variables:operationName:)'; this is an error in the Swift 6 language mode
140 | schema: schema,
141 | request: gql.query,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/GraphQL.swift:47:15: note: struct 'SubscriptionResult' does not conform to the 'Sendable' protocol
45 |
46 | /// SubscriptionResult wraps the observable and error data returned by the subscribe request.
47 | public struct SubscriptionResult {
| `- note: struct 'SubscriptionResult' does not conform to the 'Sendable' protocol
48 | public let stream: SubscriptionEventStream?
49 | public let errors: [GraphQLError]
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
7 |
8 | import class Graphiti.Schema
9 | import GraphQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
10 | import protocol NIO.EventLoopGroup
11 |
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:78:29: warning: capture of 'client' with non-sendable type 'Pioneer<Resolver, Context>.WebSocketClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
76 | await sink.outgoing(
77 | with: oid,
78 | to: client,
| `- warning: capture of 'client' with non-sendable type 'Pioneer<Resolver, Context>.WebSocketClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
79 | given: .from(type: self.proto.next, id: oid, value)
80 | )
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Common/WebSocketClient.swift:21:12: note: consider making struct 'WebSocketClient' conform to the 'Sendable' protocol
19 |
20 | /// Full GraphQL over WebSocket Client
21 | struct WebSocketClient: Identifiable {
| `- note: consider making struct 'WebSocketClient' conform to the 'Sendable' protocol
22 | /// The unique key for this client
23 | public var id: UUID
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:106:44: warning: non-sendable result type 'Context' cannot be sent from nonisolated context in call to instance method 'context'; this is an error in the Swift 6 language mode
104 | private func execute(_ gql: GraphQLRequest, client: WebSocketClient) -> Task<GraphQLResult, Error> {
105 | Task { [unowned self] in
106 | let ctx = try await client.context(gql)
| `- warning: non-sendable result type 'Context' cannot be sent from nonisolated context in call to instance method 'context'; this is an error in the Swift 6 language mode
107 | return try await executeGraphQL(
108 | schema: self.schema,
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:16:33: note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
14 |
15 | /// Pioneer GraphQL Server for handling all GraphQL operations
16 | public struct Pioneer<Resolver, Context> {
| `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
17 | /// Graphiti schema used to execute operations
18 | public private(set) var schema: GraphQLSchema
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:139:23: warning: sending 'self.schema' risks causing data races; this is an error in the Swift 6 language mode
137 | /// Execute long lived GraphQL Operation as a subscription
138 | private func subscribeOperation(for gql: GraphQLRequest, with ctx: Context, using eventLoop: EventLoopGroup) async throws -> SubscriptionResult {
139 | try await subscribeGraphQL(
| |- warning: sending 'self.schema' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.schema' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
140 | schema: schema,
141 | request: gql.query,
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:139:23: warning: sending 'self.resolver' risks causing data races; this is an error in the Swift 6 language mode
137 | /// Execute long lived GraphQL Operation as a subscription
138 | private func subscribeOperation(for gql: GraphQLRequest, with ctx: Context, using eventLoop: EventLoopGroup) async throws -> SubscriptionResult {
139 | try await subscribeGraphQL(
| |- warning: sending 'self.resolver' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.resolver' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
140 | schema: schema,
141 | request: gql.query,
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:139:23: warning: sending 'ctx' risks causing data races; this is an error in the Swift 6 language mode
137 | /// Execute long lived GraphQL Operation as a subscription
138 | private func subscribeOperation(for gql: GraphQLRequest, with ctx: Context, using eventLoop: EventLoopGroup) async throws -> SubscriptionResult {
139 | try await subscribeGraphQL(
| |- warning: sending 'ctx' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'ctx' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
140 | schema: schema,
141 | request: gql.query,
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:127:44: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
125 | private func subscription(gql: GraphQLRequest) async -> SubscriptionResult {
126 | do {
127 | let ctx = try await client.context(gql)
| |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
128 | return try await subscribeOperation(for: gql, with: ctx, using: client.ev)
129 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:56:18: warning: sending 'client' risks causing data races; this is an error in the Swift 6 language mode
54 |
55 | let drone = drones.getOrElse(cid) {
56 | .init(client,
| |- warning: sending 'client' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'client' to actor-isolated callee risks causing data races between actor-isolated and 'self'-isolated uses
57 | schema: schema,
58 | resolver: resolver,
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:56:18: warning: sending 'self.schema' risks causing data races; this is an error in the Swift 6 language mode
54 |
55 | let drone = drones.getOrElse(cid) {
56 | .init(client,
| |- warning: sending 'self.schema' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.schema' to actor-isolated callee risks causing data races between actor-isolated and 'self'-isolated uses
57 | schema: schema,
58 | resolver: resolver,
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:56:18: warning: sending 'self.resolver' risks causing data races; this is an error in the Swift 6 language mode
54 |
55 | let drone = drones.getOrElse(cid) {
56 | .init(client,
| |- warning: sending 'self.resolver' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.resolver' to actor-isolated callee risks causing data races between actor-isolated and 'self'-isolated uses
57 | schema: schema,
58 | resolver: resolver,
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:107:34: warning: sending value of non-Sendable type 'GraphQLSchema' risks causing data races; this is an error in the Swift 6 language mode
105 | Task { [unowned self] in
106 | let ctx = try await client.context(gql)
107 | return try await executeGraphQL(
| |- warning: sending value of non-Sendable type 'GraphQLSchema' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending actor-isolated value of non-Sendable type 'GraphQLSchema' to nonisolated callee risks causing races in between actor-isolated and nonisolated uses
108 | schema: self.schema,
109 | request: gql.query,
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:107:34: warning: sending value of non-Sendable type 'Resolver' risks causing data races; this is an error in the Swift 6 language mode
105 | Task { [unowned self] in
106 | let ctx = try await client.context(gql)
107 | return try await executeGraphQL(
| |- warning: sending value of non-Sendable type 'Resolver' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending actor-isolated value of non-Sendable type 'Resolver' to nonisolated callee risks causing races in between actor-isolated and nonisolated uses
108 | schema: self.schema,
109 | request: gql.query,
[2005/2007] Compiling Pioneer SubProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:127:44: warning: non-sendable result type 'Context' cannot be sent from nonisolated context in call to instance method 'context'; this is an error in the Swift 6 language mode
125 | private func subscription(gql: GraphQLRequest) async -> SubscriptionResult {
126 | do {
127 | let ctx = try await client.context(gql)
| `- warning: non-sendable result type 'Context' cannot be sent from nonisolated context in call to instance method 'context'; this is an error in the Swift 6 language mode
128 | return try await subscribeOperation(for: gql, with: ctx, using: client.ev)
129 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:16:33: note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
14 |
15 | /// Pioneer GraphQL Server for handling all GraphQL operations
16 | public struct Pioneer<Resolver, Context> {
| `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
17 | /// Graphiti schema used to execute operations
18 | public private(set) var schema: GraphQLSchema
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:139:23: warning: non-sendable result type 'SubscriptionResult' cannot be sent from nonisolated context in call to global function 'subscribeGraphQL(schema:request:resolver:context:eventLoopGroup:variables:operationName:)'; this is an error in the Swift 6 language mode
137 | /// Execute long lived GraphQL Operation as a subscription
138 | private func subscribeOperation(for gql: GraphQLRequest, with ctx: Context, using eventLoop: EventLoopGroup) async throws -> SubscriptionResult {
139 | try await subscribeGraphQL(
| `- warning: non-sendable result type 'SubscriptionResult' cannot be sent from nonisolated context in call to global function 'subscribeGraphQL(schema:request:resolver:context:eventLoopGroup:variables:operationName:)'; this is an error in the Swift 6 language mode
140 | schema: schema,
141 | request: gql.query,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/GraphQL.swift:47:15: note: struct 'SubscriptionResult' does not conform to the 'Sendable' protocol
45 |
46 | /// SubscriptionResult wraps the observable and error data returned by the subscribe request.
47 | public struct SubscriptionResult {
| `- note: struct 'SubscriptionResult' does not conform to the 'Sendable' protocol
48 | public let stream: SubscriptionEventStream?
49 | public let errors: [GraphQLError]
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
7 |
8 | import class Graphiti.Schema
9 | import GraphQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
10 | import protocol NIO.EventLoopGroup
11 |
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:78:29: warning: capture of 'client' with non-sendable type 'Pioneer<Resolver, Context>.WebSocketClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
76 | await sink.outgoing(
77 | with: oid,
78 | to: client,
| `- warning: capture of 'client' with non-sendable type 'Pioneer<Resolver, Context>.WebSocketClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
79 | given: .from(type: self.proto.next, id: oid, value)
80 | )
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Common/WebSocketClient.swift:21:12: note: consider making struct 'WebSocketClient' conform to the 'Sendable' protocol
19 |
20 | /// Full GraphQL over WebSocket Client
21 | struct WebSocketClient: Identifiable {
| `- note: consider making struct 'WebSocketClient' conform to the 'Sendable' protocol
22 | /// The unique key for this client
23 | public var id: UUID
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:106:44: warning: non-sendable result type 'Context' cannot be sent from nonisolated context in call to instance method 'context'; this is an error in the Swift 6 language mode
104 | private func execute(_ gql: GraphQLRequest, client: WebSocketClient) -> Task<GraphQLResult, Error> {
105 | Task { [unowned self] in
106 | let ctx = try await client.context(gql)
| `- warning: non-sendable result type 'Context' cannot be sent from nonisolated context in call to instance method 'context'; this is an error in the Swift 6 language mode
107 | return try await executeGraphQL(
108 | schema: self.schema,
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:16:33: note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
14 |
15 | /// Pioneer GraphQL Server for handling all GraphQL operations
16 | public struct Pioneer<Resolver, Context> {
| `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
17 | /// Graphiti schema used to execute operations
18 | public private(set) var schema: GraphQLSchema
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:139:23: warning: sending 'self.schema' risks causing data races; this is an error in the Swift 6 language mode
137 | /// Execute long lived GraphQL Operation as a subscription
138 | private func subscribeOperation(for gql: GraphQLRequest, with ctx: Context, using eventLoop: EventLoopGroup) async throws -> SubscriptionResult {
139 | try await subscribeGraphQL(
| |- warning: sending 'self.schema' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.schema' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
140 | schema: schema,
141 | request: gql.query,
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:139:23: warning: sending 'self.resolver' risks causing data races; this is an error in the Swift 6 language mode
137 | /// Execute long lived GraphQL Operation as a subscription
138 | private func subscribeOperation(for gql: GraphQLRequest, with ctx: Context, using eventLoop: EventLoopGroup) async throws -> SubscriptionResult {
139 | try await subscribeGraphQL(
| |- warning: sending 'self.resolver' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.resolver' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
140 | schema: schema,
141 | request: gql.query,
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:139:23: warning: sending 'ctx' risks causing data races; this is an error in the Swift 6 language mode
137 | /// Execute long lived GraphQL Operation as a subscription
138 | private func subscribeOperation(for gql: GraphQLRequest, with ctx: Context, using eventLoop: EventLoopGroup) async throws -> SubscriptionResult {
139 | try await subscribeGraphQL(
| |- warning: sending 'ctx' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'ctx' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
140 | schema: schema,
141 | request: gql.query,
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:127:44: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
125 | private func subscription(gql: GraphQLRequest) async -> SubscriptionResult {
126 | do {
127 | let ctx = try await client.context(gql)
| |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
128 | return try await subscribeOperation(for: gql, with: ctx, using: client.ev)
129 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:56:18: warning: sending 'client' risks causing data races; this is an error in the Swift 6 language mode
54 |
55 | let drone = drones.getOrElse(cid) {
56 | .init(client,
| |- warning: sending 'client' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'client' to actor-isolated callee risks causing data races between actor-isolated and 'self'-isolated uses
57 | schema: schema,
58 | resolver: resolver,
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:56:18: warning: sending 'self.schema' risks causing data races; this is an error in the Swift 6 language mode
54 |
55 | let drone = drones.getOrElse(cid) {
56 | .init(client,
| |- warning: sending 'self.schema' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.schema' to actor-isolated callee risks causing data races between actor-isolated and 'self'-isolated uses
57 | schema: schema,
58 | resolver: resolver,
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:56:18: warning: sending 'self.resolver' risks causing data races; this is an error in the Swift 6 language mode
54 |
55 | let drone = drones.getOrElse(cid) {
56 | .init(client,
| |- warning: sending 'self.resolver' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.resolver' to actor-isolated callee risks causing data races between actor-isolated and 'self'-isolated uses
57 | schema: schema,
58 | resolver: resolver,
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:107:34: warning: sending value of non-Sendable type 'GraphQLSchema' risks causing data races; this is an error in the Swift 6 language mode
105 | Task { [unowned self] in
106 | let ctx = try await client.context(gql)
107 | return try await executeGraphQL(
| |- warning: sending value of non-Sendable type 'GraphQLSchema' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending actor-isolated value of non-Sendable type 'GraphQLSchema' to nonisolated callee risks causing races in between actor-isolated and nonisolated uses
108 | schema: self.schema,
109 | request: gql.query,
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:107:34: warning: sending value of non-Sendable type 'Resolver' risks causing data races; this is an error in the Swift 6 language mode
105 | Task { [unowned self] in
106 | let ctx = try await client.context(gql)
107 | return try await executeGraphQL(
| |- warning: sending value of non-Sendable type 'Resolver' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending actor-isolated value of non-Sendable type 'Resolver' to nonisolated callee risks causing races in between actor-isolated and nonisolated uses
108 | schema: self.schema,
109 | request: gql.query,
[2006/2007] Compiling Pioneer SubscriptionsTransportWs.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:127:44: warning: non-sendable result type 'Context' cannot be sent from nonisolated context in call to instance method 'context'; this is an error in the Swift 6 language mode
125 | private func subscription(gql: GraphQLRequest) async -> SubscriptionResult {
126 | do {
127 | let ctx = try await client.context(gql)
| `- warning: non-sendable result type 'Context' cannot be sent from nonisolated context in call to instance method 'context'; this is an error in the Swift 6 language mode
128 | return try await subscribeOperation(for: gql, with: ctx, using: client.ev)
129 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:16:33: note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
14 |
15 | /// Pioneer GraphQL Server for handling all GraphQL operations
16 | public struct Pioneer<Resolver, Context> {
| `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
17 | /// Graphiti schema used to execute operations
18 | public private(set) var schema: GraphQLSchema
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:139:23: warning: non-sendable result type 'SubscriptionResult' cannot be sent from nonisolated context in call to global function 'subscribeGraphQL(schema:request:resolver:context:eventLoopGroup:variables:operationName:)'; this is an error in the Swift 6 language mode
137 | /// Execute long lived GraphQL Operation as a subscription
138 | private func subscribeOperation(for gql: GraphQLRequest, with ctx: Context, using eventLoop: EventLoopGroup) async throws -> SubscriptionResult {
139 | try await subscribeGraphQL(
| `- warning: non-sendable result type 'SubscriptionResult' cannot be sent from nonisolated context in call to global function 'subscribeGraphQL(schema:request:resolver:context:eventLoopGroup:variables:operationName:)'; this is an error in the Swift 6 language mode
140 | schema: schema,
141 | request: gql.query,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/GraphQL.swift:47:15: note: struct 'SubscriptionResult' does not conform to the 'Sendable' protocol
45 |
46 | /// SubscriptionResult wraps the observable and error data returned by the subscribe request.
47 | public struct SubscriptionResult {
| `- note: struct 'SubscriptionResult' does not conform to the 'Sendable' protocol
48 | public let stream: SubscriptionEventStream?
49 | public let errors: [GraphQLError]
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
7 |
8 | import class Graphiti.Schema
9 | import GraphQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
10 | import protocol NIO.EventLoopGroup
11 |
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:78:29: warning: capture of 'client' with non-sendable type 'Pioneer<Resolver, Context>.WebSocketClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
76 | await sink.outgoing(
77 | with: oid,
78 | to: client,
| `- warning: capture of 'client' with non-sendable type 'Pioneer<Resolver, Context>.WebSocketClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
79 | given: .from(type: self.proto.next, id: oid, value)
80 | )
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Common/WebSocketClient.swift:21:12: note: consider making struct 'WebSocketClient' conform to the 'Sendable' protocol
19 |
20 | /// Full GraphQL over WebSocket Client
21 | struct WebSocketClient: Identifiable {
| `- note: consider making struct 'WebSocketClient' conform to the 'Sendable' protocol
22 | /// The unique key for this client
23 | public var id: UUID
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:106:44: warning: non-sendable result type 'Context' cannot be sent from nonisolated context in call to instance method 'context'; this is an error in the Swift 6 language mode
104 | private func execute(_ gql: GraphQLRequest, client: WebSocketClient) -> Task<GraphQLResult, Error> {
105 | Task { [unowned self] in
106 | let ctx = try await client.context(gql)
| `- warning: non-sendable result type 'Context' cannot be sent from nonisolated context in call to instance method 'context'; this is an error in the Swift 6 language mode
107 | return try await executeGraphQL(
108 | schema: self.schema,
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:16:33: note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
14 |
15 | /// Pioneer GraphQL Server for handling all GraphQL operations
16 | public struct Pioneer<Resolver, Context> {
| `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
17 | /// Graphiti schema used to execute operations
18 | public private(set) var schema: GraphQLSchema
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:139:23: warning: sending 'self.schema' risks causing data races; this is an error in the Swift 6 language mode
137 | /// Execute long lived GraphQL Operation as a subscription
138 | private func subscribeOperation(for gql: GraphQLRequest, with ctx: Context, using eventLoop: EventLoopGroup) async throws -> SubscriptionResult {
139 | try await subscribeGraphQL(
| |- warning: sending 'self.schema' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.schema' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
140 | schema: schema,
141 | request: gql.query,
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:139:23: warning: sending 'self.resolver' risks causing data races; this is an error in the Swift 6 language mode
137 | /// Execute long lived GraphQL Operation as a subscription
138 | private func subscribeOperation(for gql: GraphQLRequest, with ctx: Context, using eventLoop: EventLoopGroup) async throws -> SubscriptionResult {
139 | try await subscribeGraphQL(
| |- warning: sending 'self.resolver' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.resolver' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
140 | schema: schema,
141 | request: gql.query,
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:139:23: warning: sending 'ctx' risks causing data races; this is an error in the Swift 6 language mode
137 | /// Execute long lived GraphQL Operation as a subscription
138 | private func subscribeOperation(for gql: GraphQLRequest, with ctx: Context, using eventLoop: EventLoopGroup) async throws -> SubscriptionResult {
139 | try await subscribeGraphQL(
| |- warning: sending 'ctx' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'ctx' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
140 | schema: schema,
141 | request: gql.query,
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:127:44: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
125 | private func subscription(gql: GraphQLRequest) async -> SubscriptionResult {
126 | do {
127 | let ctx = try await client.context(gql)
| |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
128 | return try await subscribeOperation(for: gql, with: ctx, using: client.ev)
129 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:56:18: warning: sending 'client' risks causing data races; this is an error in the Swift 6 language mode
54 |
55 | let drone = drones.getOrElse(cid) {
56 | .init(client,
| |- warning: sending 'client' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'client' to actor-isolated callee risks causing data races between actor-isolated and 'self'-isolated uses
57 | schema: schema,
58 | resolver: resolver,
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:56:18: warning: sending 'self.schema' risks causing data races; this is an error in the Swift 6 language mode
54 |
55 | let drone = drones.getOrElse(cid) {
56 | .init(client,
| |- warning: sending 'self.schema' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.schema' to actor-isolated callee risks causing data races between actor-isolated and 'self'-isolated uses
57 | schema: schema,
58 | resolver: resolver,
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:56:18: warning: sending 'self.resolver' risks causing data races; this is an error in the Swift 6 language mode
54 |
55 | let drone = drones.getOrElse(cid) {
56 | .init(client,
| |- warning: sending 'self.resolver' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.resolver' to actor-isolated callee risks causing data races between actor-isolated and 'self'-isolated uses
57 | schema: schema,
58 | resolver: resolver,
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:107:34: warning: sending value of non-Sendable type 'GraphQLSchema' risks causing data races; this is an error in the Swift 6 language mode
105 | Task { [unowned self] in
106 | let ctx = try await client.context(gql)
107 | return try await executeGraphQL(
| |- warning: sending value of non-Sendable type 'GraphQLSchema' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending actor-isolated value of non-Sendable type 'GraphQLSchema' to nonisolated callee risks causing races in between actor-isolated and nonisolated uses
108 | schema: self.schema,
109 | request: gql.query,
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:107:34: warning: sending value of non-Sendable type 'Resolver' risks causing data races; this is an error in the Swift 6 language mode
105 | Task { [unowned self] in
106 | let ctx = try await client.context(gql)
107 | return try await executeGraphQL(
| |- warning: sending value of non-Sendable type 'Resolver' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending actor-isolated value of non-Sendable type 'Resolver' to nonisolated callee risks causing races in between actor-isolated and nonisolated uses
108 | schema: self.schema,
109 | request: gql.query,
[2007/2007] Compiling Pioneer WebsocketProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:127:44: warning: non-sendable result type 'Context' cannot be sent from nonisolated context in call to instance method 'context'; this is an error in the Swift 6 language mode
125 | private func subscription(gql: GraphQLRequest) async -> SubscriptionResult {
126 | do {
127 | let ctx = try await client.context(gql)
| `- warning: non-sendable result type 'Context' cannot be sent from nonisolated context in call to instance method 'context'; this is an error in the Swift 6 language mode
128 | return try await subscribeOperation(for: gql, with: ctx, using: client.ev)
129 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:16:33: note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
14 |
15 | /// Pioneer GraphQL Server for handling all GraphQL operations
16 | public struct Pioneer<Resolver, Context> {
| `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
17 | /// Graphiti schema used to execute operations
18 | public private(set) var schema: GraphQLSchema
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:139:23: warning: non-sendable result type 'SubscriptionResult' cannot be sent from nonisolated context in call to global function 'subscribeGraphQL(schema:request:resolver:context:eventLoopGroup:variables:operationName:)'; this is an error in the Swift 6 language mode
137 | /// Execute long lived GraphQL Operation as a subscription
138 | private func subscribeOperation(for gql: GraphQLRequest, with ctx: Context, using eventLoop: EventLoopGroup) async throws -> SubscriptionResult {
139 | try await subscribeGraphQL(
| `- warning: non-sendable result type 'SubscriptionResult' cannot be sent from nonisolated context in call to global function 'subscribeGraphQL(schema:request:resolver:context:eventLoopGroup:variables:operationName:)'; this is an error in the Swift 6 language mode
140 | schema: schema,
141 | request: gql.query,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GraphQL/Sources/GraphQL/GraphQL.swift:47:15: note: struct 'SubscriptionResult' does not conform to the 'Sendable' protocol
45 |
46 | /// SubscriptionResult wraps the observable and error data returned by the subscribe request.
47 | public struct SubscriptionResult {
| `- note: struct 'SubscriptionResult' does not conform to the 'Sendable' protocol
48 | public let stream: SubscriptionEventStream?
49 | public let errors: [GraphQLError]
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
7 |
8 | import class Graphiti.Schema
9 | import GraphQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
10 | import protocol NIO.EventLoopGroup
11 |
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:78:29: warning: capture of 'client' with non-sendable type 'Pioneer<Resolver, Context>.WebSocketClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
76 | await sink.outgoing(
77 | with: oid,
78 | to: client,
| `- warning: capture of 'client' with non-sendable type 'Pioneer<Resolver, Context>.WebSocketClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
79 | given: .from(type: self.proto.next, id: oid, value)
80 | )
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Common/WebSocketClient.swift:21:12: note: consider making struct 'WebSocketClient' conform to the 'Sendable' protocol
19 |
20 | /// Full GraphQL over WebSocket Client
21 | struct WebSocketClient: Identifiable {
| `- note: consider making struct 'WebSocketClient' conform to the 'Sendable' protocol
22 | /// The unique key for this client
23 | public var id: UUID
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:106:44: warning: non-sendable result type 'Context' cannot be sent from nonisolated context in call to instance method 'context'; this is an error in the Swift 6 language mode
104 | private func execute(_ gql: GraphQLRequest, client: WebSocketClient) -> Task<GraphQLResult, Error> {
105 | Task { [unowned self] in
106 | let ctx = try await client.context(gql)
| `- warning: non-sendable result type 'Context' cannot be sent from nonisolated context in call to instance method 'context'; this is an error in the Swift 6 language mode
107 | return try await executeGraphQL(
108 | schema: self.schema,
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/Pioneer.swift:16:33: note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
14 |
15 | /// Pioneer GraphQL Server for handling all GraphQL operations
16 | public struct Pioneer<Resolver, Context> {
| `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
17 | /// Graphiti schema used to execute operations
18 | public private(set) var schema: GraphQLSchema
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:139:23: warning: sending 'self.schema' risks causing data races; this is an error in the Swift 6 language mode
137 | /// Execute long lived GraphQL Operation as a subscription
138 | private func subscribeOperation(for gql: GraphQLRequest, with ctx: Context, using eventLoop: EventLoopGroup) async throws -> SubscriptionResult {
139 | try await subscribeGraphQL(
| |- warning: sending 'self.schema' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.schema' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
140 | schema: schema,
141 | request: gql.query,
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:139:23: warning: sending 'self.resolver' risks causing data races; this is an error in the Swift 6 language mode
137 | /// Execute long lived GraphQL Operation as a subscription
138 | private func subscribeOperation(for gql: GraphQLRequest, with ctx: Context, using eventLoop: EventLoopGroup) async throws -> SubscriptionResult {
139 | try await subscribeGraphQL(
| |- warning: sending 'self.resolver' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.resolver' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
140 | schema: schema,
141 | request: gql.query,
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:139:23: warning: sending 'ctx' risks causing data races; this is an error in the Swift 6 language mode
137 | /// Execute long lived GraphQL Operation as a subscription
138 | private func subscribeOperation(for gql: GraphQLRequest, with ctx: Context, using eventLoop: EventLoopGroup) async throws -> SubscriptionResult {
139 | try await subscribeGraphQL(
| |- warning: sending 'ctx' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'ctx' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
140 | schema: schema,
141 | request: gql.query,
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Drone/Drone.swift:127:44: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
125 | private func subscription(gql: GraphQLRequest) async -> SubscriptionResult {
126 | do {
127 | let ctx = try await client.context(gql)
| |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
128 | return try await subscribeOperation(for: gql, with: ctx, using: client.ev)
129 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:56:18: warning: sending 'client' risks causing data races; this is an error in the Swift 6 language mode
54 |
55 | let drone = drones.getOrElse(cid) {
56 | .init(client,
| |- warning: sending 'client' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'client' to actor-isolated callee risks causing data races between actor-isolated and 'self'-isolated uses
57 | schema: schema,
58 | resolver: resolver,
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:56:18: warning: sending 'self.schema' risks causing data races; this is an error in the Swift 6 language mode
54 |
55 | let drone = drones.getOrElse(cid) {
56 | .init(client,
| |- warning: sending 'self.schema' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.schema' to actor-isolated callee risks causing data races between actor-isolated and 'self'-isolated uses
57 | schema: schema,
58 | resolver: resolver,
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:56:18: warning: sending 'self.resolver' risks causing data races; this is an error in the Swift 6 language mode
54 |
55 | let drone = drones.getOrElse(cid) {
56 | .init(client,
| |- warning: sending 'self.resolver' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.resolver' to actor-isolated callee risks causing data races between actor-isolated and 'self'-isolated uses
57 | schema: schema,
58 | resolver: resolver,
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:107:34: warning: sending value of non-Sendable type 'GraphQLSchema' risks causing data races; this is an error in the Swift 6 language mode
105 | Task { [unowned self] in
106 | let ctx = try await client.context(gql)
107 | return try await executeGraphQL(
| |- warning: sending value of non-Sendable type 'GraphQLSchema' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending actor-isolated value of non-Sendable type 'GraphQLSchema' to nonisolated callee risks causing races in between actor-isolated and nonisolated uses
108 | schema: self.schema,
109 | request: gql.query,
/Users/admin/builder/spi-builder-workspace/Sources/Pioneer/WebSocket/Probe/Probe.swift:107:34: warning: sending value of non-Sendable type 'Resolver' risks causing data races; this is an error in the Swift 6 language mode
105 | Task { [unowned self] in
106 | let ctx = try await client.context(gql)
107 | return try await executeGraphQL(
| |- warning: sending value of non-Sendable type 'Resolver' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending actor-isolated value of non-Sendable type 'Resolver' to nonisolated callee risks causing races in between actor-isolated and nonisolated uses
108 | schema: self.schema,
109 | request: gql.query,
Build complete! (79.09s)
Fetching https://github.com/vapor/vapor.git
Fetching https://github.com/GraphQLSwift/Graphiti.git
Fetching https://github.com/GraphQLSwift/GraphQL.git
[1/3421] Fetching graphiti
[1165/8441] Fetching graphiti, graphql
[8242/82778] Fetching graphiti, graphql, vapor
Fetched https://github.com/GraphQLSwift/Graphiti.git from cache (2.35s)
Fetched https://github.com/vapor/vapor.git from cache (2.35s)
Fetched https://github.com/GraphQLSwift/GraphQL.git from cache (2.35s)
Computing version for https://github.com/GraphQLSwift/GraphQL.git
Computed https://github.com/GraphQLSwift/GraphQL.git at 2.10.3 (2.87s)
Fetching https://github.com/apple/swift-nio.git from cache
Fetching https://github.com/apple/swift-collections from cache
Fetched https://github.com/apple/swift-nio.git from cache (0.94s)
Fetched https://github.com/apple/swift-collections from cache (0.95s)
Computing version for https://github.com/GraphQLSwift/Graphiti.git
Computed https://github.com/GraphQLSwift/Graphiti.git at 1.15.2 (1.44s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.1.4 (1.01s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 4.114.1 (0.60s)
Fetching https://github.com/apple/swift-service-context.git
Fetching https://github.com/apple/swift-algorithms.git from cache
Fetching https://github.com/vapor/websocket-kit.git
Fetching https://github.com/vapor/multipart-kit.git
Fetching https://github.com/apple/swift-atomics.git from cache
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-metrics.git from cache
Fetched https://github.com/apple/swift-algorithms.git from cache (0.43s)
Fetching https://github.com/apple/swift-log.git from cache
Fetched https://github.com/apple/swift-metrics.git from cache (0.56s)
[1/1063] Fetching swift-service-context
Fetching https://github.com/apple/swift-nio-extras.git from cache
[150/6037] Fetching swift-service-context, swift-distributed-tracing
[250/9245] Fetching swift-service-context, swift-distributed-tracing, multipart-kit
[668/11850] Fetching swift-service-context, swift-distributed-tracing, multipart-kit, websocket-kit
Fetched https://github.com/apple/swift-service-context.git from cache (0.82s)
[5047/10787] Fetching swift-distributed-tracing, multipart-kit, websocket-kit
Fetching https://github.com/apple/swift-nio-http2.git from cache
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.51s)
Fetched https://github.com/apple/swift-log.git from cache (0.65s)
Fetching https://github.com/apple/swift-nio-ssl.git from cache
Fetching https://github.com/vapor/routing-kit.git
Fetched https://github.com/apple/swift-nio-http2.git from cache (0.63s)
Fetching https://github.com/apple/swift-crypto.git from cache
[10788/31514] Fetching swift-distributed-tracing, multipart-kit, websocket-kit, routing-kit
Fetched https://github.com/vapor/multipart-kit.git from cache (1.77s)
Fetched https://github.com/vapor/websocket-kit.git from cache (1.77s)
Fetched https://github.com/apple/swift-atomics.git from cache (1.77s)
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (1.77s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (0.70s)
Fetching https://github.com/swift-server/async-http-client.git from cache
Fetching https://github.com/vapor/console-kit.git
Fetching https://github.com/vapor/async-kit.git
[208/20727] Fetching routing-kit
Fetched https://github.com/apple/swift-crypto.git from cache (0.65s)
[20728/23097] Fetching routing-kit, async-kit
[20800/28582] Fetching routing-kit, async-kit, console-kit
Fetched https://github.com/vapor/routing-kit.git from cache (1.35s)
[656/7855] Fetching async-kit, console-kit
Fetched https://github.com/swift-server/async-http-client.git from cache (0.83s)
Fetched https://github.com/vapor/async-kit.git from cache (0.84s)
[1975/5485] Fetching console-kit
Fetched https://github.com/vapor/console-kit.git from cache (1.00s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (3.31s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.82.1 (0.69s)
Fetching https://github.com/apple/swift-system.git from cache
Fetched https://github.com/apple/swift-system.git from cache (0.60s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.0 (1.09s)
Computing version for https://github.com/vapor/routing-kit.git
Computed https://github.com/vapor/routing-kit.git at 4.9.2 (0.47s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.46s)
Computing version for https://github.com/vapor/websocket-kit.git
Computed https://github.com/vapor/websocket-kit.git at 2.16.0 (0.49s)
Fetching https://github.com/apple/swift-nio-transport-services.git from cache
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.58s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.20s)
Fetching https://github.com/apple/swift-numerics.git from cache
Fetched https://github.com/apple/swift-numerics.git from cache (0.45s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.26.0 (0.99s)
Fetching https://github.com/apple/swift-http-structured-headers.git from cache
Fetching https://github.com/apple/swift-http-types.git from cache
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.45s)
Fetched https://github.com/apple/swift-http-types.git from cache (0.59s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.2.2 (1.08s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (0.46s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.57s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.2.0 (0.45s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (0.45s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.45s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.25.2 (0.47s)
Computing version for https://github.com/vapor/console-kit.git
Computed https://github.com/vapor/console-kit.git at 4.15.2 (0.50s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.20.0 (0.58s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.30.0 (0.59s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.24.0 (0.45s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.36.0 (0.44s)
Computing version for https://github.com/vapor/multipart-kit.git
Computed https://github.com/vapor/multipart-kit.git at 4.7.1 (0.46s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (0.96s)
Fetching https://github.com/apple/swift-asn1.git from cache
Fetched https://github.com/apple/swift-asn1.git from cache (0.64s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (1.20s)
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.12.3
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.2.2
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.24.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.2
Creating working copy for https://github.com/vapor/multipart-kit.git
Working copy of https://github.com/vapor/multipart-kit.git resolved at 4.7.1
Creating working copy for https://github.com/vapor/console-kit.git
Working copy of https://github.com/vapor/console-kit.git resolved at 4.15.2
Creating working copy for https://github.com/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.26.0
Creating working copy for https://github.com/vapor/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 4.114.1
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.36.0
Creating working copy for https://github.com/GraphQLSwift/GraphQL.git
Working copy of https://github.com/GraphQLSwift/GraphQL.git resolved at 2.10.3
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/vapor/async-kit.git
Working copy of https://github.com/vapor/async-kit.git resolved at 1.20.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.3.2
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.82.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.30.0
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.25.2
Creating working copy for https://github.com/vapor/routing-kit.git
Working copy of https://github.com/vapor/routing-kit.git resolved at 4.9.2
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.7.0
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.1.4
Creating working copy for https://github.com/vapor/websocket-kit.git
Working copy of https://github.com/vapor/websocket-kit.git resolved at 2.16.0
Creating working copy for https://github.com/GraphQLSwift/Graphiti.git
Working copy of https://github.com/GraphQLSwift/Graphiti.git resolved at 1.15.2
Build complete.
{
"dependencies" : [
{
"identity" : "graphql",
"requirement" : {
"range" : [
{
"lower_bound" : "2.10.3",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/GraphQLSwift/GraphQL.git"
},
{
"identity" : "graphiti",
"requirement" : {
"range" : [
{
"lower_bound" : "1.15.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/GraphQLSwift/Graphiti.git"
},
{
"identity" : "vapor",
"requirement" : {
"range" : [
{
"lower_bound" : "4.106.3",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/vapor/vapor.git"
}
],
"manifest_display_name" : "Pioneer",
"name" : "Pioneer",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "Pioneer",
"targets" : [
"Pioneer"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "PioneerTests",
"module_type" : "SwiftTarget",
"name" : "PioneerTests",
"path" : "Tests/PioneerTests",
"product_dependencies" : [
"XCTVapor"
],
"sources" : [
"ActorTests/DroneTests.swift",
"ActorTests/ProbeTests.swift",
"DataStructureTests/AsyncPubSubTests.swift",
"DataStructureTests/BuiltInTypesTests.swift",
"DataStructureTests/WebSocketProtocolTests.swift",
"GraphQLTests/GraphQLHTTPSpecTests.swift",
"GraphQLTests/GraphQLRequestTests.swift",
"GraphQLTests/GraphitiAsyncEventStreamTests.swift",
"GraphQLTests/PioneerStatelessTests.swift",
"OtherTests/ExtensionsTests.swift",
"OtherTests/SecurityTest.swift",
"Utils/TestConsumer.swift",
"VaporTests/ContextTests.swift",
"VaporTests/HTTPQueryTests.swift",
"VaporTests/HTTPStrategyTests.swift",
"VaporTests/MiddlewareTests.swift"
],
"target_dependencies" : [
"Pioneer"
],
"type" : "test"
},
{
"c99name" : "Pioneer",
"module_type" : "SwiftTarget",
"name" : "Pioneer",
"path" : "Sources/Pioneer",
"product_dependencies" : [
"GraphQL",
"Graphiti",
"Vapor"
],
"product_memberships" : [
"Pioneer"
],
"sources" : [
"Extensions/Collections/Dictionary+SafeOperation.swift",
"Extensions/Collections/OrderedDictionary+Dictionary.swift",
"Extensions/Expression.swift",
"Extensions/Futures/Actor+Task.swift",
"Extensions/Futures/Task+Starvation.swift",
"Extensions/Int/UInt64+Nanoseconds.swift",
"Extensions/Map/Map+Decoder.swift",
"Extensions/Pioneer+Graphiti.swift",
"Extensions/Results/Data+Json.swift",
"GraphQL/BuiltinTypes.swift",
"GraphQL/Extensions/Field+AsyncAwait.swift",
"GraphQL/Extensions/Field+Middleware.swift",
"GraphQL/Extensions/GraphQL+Execution.swift",
"GraphQL/Extensions/GraphQLError+Error.swift",
"GraphQL/GraphQLMessage.swift",
"GraphQL/GraphQLMiddleware.swift",
"GraphQL/GraphQLRequest.swift",
"GraphQL/GraphQLViolation.swift",
"Http/CSRFProtections.swift",
"Http/HTTPGraphQL.swift",
"Http/HttpStrategy.swift",
"Http/IDE.swift",
"Pioneer.swift",
"Streaming/AsyncEventStream.swift",
"Streaming/AsyncPubSub.swift",
"Streaming/Broadcast.swift",
"Streaming/Extension/AsyncEventStream+Future+GraphQLResult.swift",
"Streaming/Extension/AsyncSequence+EventStream.swift",
"Streaming/Extension/AsyncStream+Statics.swift",
"Streaming/Extension/EventStream+Static.swift",
"Streaming/PubSub.swift",
"Utils/Interval.swift",
"Utils/Timeout.swift",
"Utils/Validation.swift",
"Vapor/Extensions/CORS/CORSMIddleware+BananaCakePop.swift",
"Vapor/Extensions/CORS/CORSMiddleware+ApolloSandbox.swift",
"Vapor/Extensions/EnvironmentVariables/EnvironmentVariables.swift",
"Vapor/Extensions/Request/GraphQLJSONEncoder+ContentEncoder.swift",
"Vapor/Extensions/Request/Request+GraphQLRequest.swift",
"Vapor/Extensions/Request/Request+PathComponent.swift",
"Vapor/Extensions/Request/Request+WebSocket.swift",
"Vapor/Extensions/Request/Request+WebsocketContext.swift",
"Vapor/Extensions/Response/GraphQLResult+Content.swift",
"Vapor/Extensions/Response/Response+GraphQLError.swift",
"Vapor/Extensions/WebSocket/WebSocket+WebSocketable.swift",
"Vapor/Http/Pioneer+Http.swift",
"Vapor/Http/Pioneer+IDE.swift",
"Vapor/Pioneer+Standalone.swift",
"Vapor/Pioneer+Vapor+Void.swift",
"Vapor/Pioneer+Vapor.swift",
"Vapor/WebSocket/Pioneer+WebSocket.swift",
"WebSocket/Common/Intent.swift",
"WebSocket/Common/Payload.swift",
"WebSocket/Common/Pioneer+WebSocketable.swift",
"WebSocket/Common/WebSocketClient.swift",
"WebSocket/Common/WebSocketable.swift",
"WebSocket/Probe/Drone/Drone.swift",
"WebSocket/Probe/Probe.swift",
"WebSocket/Protocol/GraphQLWs.swift",
"WebSocket/Protocol/SubProtocol.swift",
"WebSocket/Protocol/SubscriptionsTransportWs.swift",
"WebSocket/Protocol/WebsocketProtocol.swift"
],
"type" : "library"
}
],
"tools_version" : "5.10"
}
Done.