Build Information
Successful build of GraphQL, reference 3.0.2 (bd5419
), with Swift 6.0 for Linux on 21 Mar 2025 11:22:12 UTC.
Swift 6 data race errors: 52
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
162 | public let name: String
163 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Scalars.swift:69:12: warning: let 'GraphQLFloat' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
67 | )
68 |
69 | public let GraphQLFloat = try! GraphQLScalarType(
| |- warning: let 'GraphQLFloat' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'GraphQLFloat' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | name: "Float",
71 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:161:20: note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
159 | *
160 | */
161 | public final class GraphQLScalarType {
| `- note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
162 | public let name: String
163 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Scalars.swift:225:12: warning: let 'GraphQLID' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
223 | )
224 |
225 | public let GraphQLID = try! GraphQLScalarType(
| |- warning: let 'GraphQLID' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'GraphQLID' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
226 | name: "ID",
227 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:161:20: note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
159 | *
160 | */
161 | public final class GraphQLScalarType {
| `- note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
162 | public let name: String
163 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Scalars.swift:278:5: warning: let 'specifiedScalarTypes' is not concurrency-safe because non-'Sendable' type '[GraphQLScalarType]' may have shared mutable state; this is an error in the Swift 6 language mode
276 | )
277 |
278 | let specifiedScalarTypes = [
| |- warning: let 'specifiedScalarTypes' is not concurrency-safe because non-'Sendable' type '[GraphQLScalarType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'specifiedScalarTypes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
279 | GraphQLString,
280 | GraphQLInt,
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:161:20: note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
159 | *
160 | */
161 | public final class GraphQLScalarType {
| `- note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
162 | public let name: String
163 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Instrumentation/Instrumentation.swift:77:12: warning: let 'NoOpInstrumentation' is not concurrency-safe because non-'Sendable' type 'any Instrumentation' may have shared mutable state; this is an error in the Swift 6 language mode
6 | ///
7 | /// A working implementation of `now` is also provided by default.
8 | public protocol Instrumentation {
| `- note: protocol 'Instrumentation' does not conform to the 'Sendable' protocol
9 | var now: DispatchTime { get }
10 |
:
75 |
76 | /// Does nothing
77 | public let NoOpInstrumentation: Instrumentation = noOpInstrumentation()
| |- warning: let 'NoOpInstrumentation' is not concurrency-safe because non-'Sendable' type 'any Instrumentation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NoOpInstrumentation' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 |
79 | struct noOpInstrumentation: Instrumentation {
/host/spi-builder-workspace/Sources/GraphQL/Utilities/ExtendSchema.swift:951:5: warning: let 'stdTypeMap' is not concurrency-safe because non-'Sendable' type '[String : any GraphQLNamedType]' may have shared mutable state; this is an error in the Swift 6 language mode
949 | }
950 |
951 | let stdTypeMap = {
| |- warning: let 'stdTypeMap' is not concurrency-safe because non-'Sendable' type '[String : any GraphQLNamedType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stdTypeMap' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
952 | var types = [GraphQLNamedType]()
953 | types.append(contentsOf: specifiedScalarTypes)
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:113:17: note: protocol 'GraphQLNamedType' does not conform to the 'Sendable' protocol
111 | * These named types do not include modifiers like List or NonNull.
112 | */
113 | public protocol GraphQLNamedType: GraphQLNullableType {
| `- note: protocol 'GraphQLNamedType' does not conform to the 'Sendable' protocol
114 | var name: String { get }
115 | }
[385/389] Compiling GraphQL ASTFromValue.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:210:5: warning: let 'defaultParseValue' is not concurrency-safe because non-'Sendable' type '(Map) throws -> Map' may have shared mutable state; this is an error in the Swift 6 language mode
208 | }
209 |
210 | let defaultParseValue: ((Map) throws -> Map) = { value in
| |- warning: let 'defaultParseValue' is not concurrency-safe because non-'Sendable' type '(Map) throws -> Map' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultParseValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
211 | value
212 | }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:214:5: warning: let 'defaultParseLiteral' is not concurrency-safe because non-'Sendable' type '(any Value) throws -> Map' may have shared mutable state; this is an error in the Swift 6 language mode
212 | }
213 |
214 | let defaultParseLiteral: ((Value) throws -> Map) = { value in
| |- warning: let 'defaultParseLiteral' is not concurrency-safe because non-'Sendable' type '(any Value) throws -> Map' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultParseLiteral' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
215 | try valueFromASTUntyped(valueAST: value)
216 | }
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:516:42: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
514 | self.resolve = { source, args, context, eventLoopGroup, info in
515 | let result = try resolve(source, args, context, info)
516 | return eventLoopGroup.next().makeSucceededFuture(result)
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
517 | }
518 | subscribe = nil
/host/spi-builder-workspace/Sources/GraphQL/Type/Directives.swift:69:12: warning: let 'GraphQLIncludeDirective' is not concurrency-safe because non-'Sendable' type 'GraphQLDirective' may have shared mutable state; this is an error in the Swift 6 language mode
30 | * behavior. Type system creators will usually not create these directly.
31 | */
32 | public final class GraphQLDirective {
| `- note: class 'GraphQLDirective' does not conform to the 'Sendable' protocol
33 | public let name: String
34 | public let description: String?
:
67 | * Used to conditionally include fields or fragments.
68 | */
69 | public let GraphQLIncludeDirective = try! GraphQLDirective(
| |- warning: let 'GraphQLIncludeDirective' is not concurrency-safe because non-'Sendable' type 'GraphQLDirective' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'GraphQLIncludeDirective' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | name: "include",
71 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Scalars.swift:175:12: warning: let 'GraphQLBoolean' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
173 | )
174 |
175 | public let GraphQLBoolean = try! GraphQLScalarType(
| |- warning: let 'GraphQLBoolean' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'GraphQLBoolean' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
176 | name: "Boolean",
177 | description: "The `Boolean` scalar type represents `true` or `false`.",
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:161:20: note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
159 | *
160 | */
161 | public final class GraphQLScalarType {
| `- note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
162 | public let name: String
163 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Directives.swift:90:12: warning: let 'GraphQLSkipDirective' is not concurrency-safe because non-'Sendable' type 'GraphQLDirective' may have shared mutable state; this is an error in the Swift 6 language mode
30 | * behavior. Type system creators will usually not create these directly.
31 | */
32 | public final class GraphQLDirective {
| `- note: class 'GraphQLDirective' does not conform to the 'Sendable' protocol
33 | public let name: String
34 | public let description: String?
:
88 | * Used to conditionally skip (exclude) fields or fragments.
89 | */
90 | public let GraphQLSkipDirective = try! GraphQLDirective(
| |- warning: let 'GraphQLSkipDirective' is not concurrency-safe because non-'Sendable' type 'GraphQLDirective' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'GraphQLSkipDirective' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | name: "skip",
92 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Directives.swift:116:12: warning: let 'GraphQLDeprecatedDirective' is not concurrency-safe because non-'Sendable' type 'GraphQLDirective' may have shared mutable state; this is an error in the Swift 6 language mode
30 | * behavior. Type system creators will usually not create these directly.
31 | */
32 | public final class GraphQLDirective {
| `- note: class 'GraphQLDirective' does not conform to the 'Sendable' protocol
33 | public let name: String
34 | public let description: String?
:
114 | * Used to declare element of a GraphQL schema as deprecated.
115 | */
116 | public let GraphQLDeprecatedDirective = try! GraphQLDirective(
| |- warning: let 'GraphQLDeprecatedDirective' is not concurrency-safe because non-'Sendable' type 'GraphQLDirective' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'GraphQLDeprecatedDirective' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 | name: "deprecated",
118 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Scalars.swift:124:12: warning: let 'GraphQLString' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
122 | )
123 |
124 | public let GraphQLString = try! GraphQLScalarType(
| |- warning: let 'GraphQLString' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'GraphQLString' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
125 | name: "String",
126 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:161:20: note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
159 | *
160 | */
161 | public final class GraphQLScalarType {
| `- note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
162 | public let name: String
163 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Directives.swift:142:12: warning: let 'GraphQLSpecifiedByDirective' is not concurrency-safe because non-'Sendable' type 'GraphQLDirective' may have shared mutable state; this is an error in the Swift 6 language mode
30 | * behavior. Type system creators will usually not create these directly.
31 | */
32 | public final class GraphQLDirective {
| `- note: class 'GraphQLDirective' does not conform to the 'Sendable' protocol
33 | public let name: String
34 | public let description: String?
:
140 | * Used to provide a URL for specifying the behavior of custom scalar definitions.
141 | */
142 | public let GraphQLSpecifiedByDirective = try! GraphQLDirective(
| |- warning: let 'GraphQLSpecifiedByDirective' is not concurrency-safe because non-'Sendable' type 'GraphQLDirective' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'GraphQLSpecifiedByDirective' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
143 | name: "specifiedBy",
144 | description: "Exposes a URL that specifies the behavior of this scalar.",
/host/spi-builder-workspace/Sources/GraphQL/Type/Directives.swift:157:12: warning: let 'GraphQLOneOfDirective' is not concurrency-safe because non-'Sendable' type 'GraphQLDirective' may have shared mutable state; this is an error in the Swift 6 language mode
30 | * behavior. Type system creators will usually not create these directly.
31 | */
32 | public final class GraphQLDirective {
| `- note: class 'GraphQLDirective' does not conform to the 'Sendable' protocol
33 | public let name: String
34 | public let description: String?
:
155 | * Used to indicate an Input Object is a OneOf Input Object.
156 | */
157 | public let GraphQLOneOfDirective = try! GraphQLDirective(
| |- warning: let 'GraphQLOneOfDirective' is not concurrency-safe because non-'Sendable' type 'GraphQLDirective' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'GraphQLOneOfDirective' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
158 | name: "oneOf",
159 | description: "Indicates exactly one field must be supplied and this field must not be \\`null\\`.",
/host/spi-builder-workspace/Sources/GraphQL/Type/Directives.swift:167:5: warning: let 'specifiedDirectives' is not concurrency-safe because non-'Sendable' type '[GraphQLDirective]' may have shared mutable state; this is an error in the Swift 6 language mode
30 | * behavior. Type system creators will usually not create these directly.
31 | */
32 | public final class GraphQLDirective {
| `- note: class 'GraphQLDirective' does not conform to the 'Sendable' protocol
33 | public let name: String
34 | public let description: String?
:
165 | * The full list of specified directives.
166 | */
167 | let specifiedDirectives: [GraphQLDirective] = [
| |- warning: let 'specifiedDirectives' is not concurrency-safe because non-'Sendable' type '[GraphQLDirective]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'specifiedDirectives' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
168 | GraphQLIncludeDirective,
169 | GraphQLSkipDirective,
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:3:5: warning: let '__Schema' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import NIO
2 |
3 | let __Schema = try! GraphQLObjectType(
| |- warning: let '__Schema' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '__Schema' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
4 | name: "__Schema",
5 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:276:20: note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
274 | *
275 | */
276 | public final class GraphQLObjectType {
| `- note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
277 | public let name: String
278 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:193:5: warning: let '__Type' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
191 | )
192 |
193 | let __Type: GraphQLObjectType = {
| |- warning: let '__Type' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '__Type' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
194 | let __Type = try! GraphQLObjectType(
195 | name: "__Type",
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:276:20: note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
274 | *
275 | */
276 | public final class GraphQLObjectType {
| `- note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
277 | public let name: String
278 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:74:5: warning: let '__Directive' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
72 | )
73 |
74 | let __Directive = try! GraphQLObjectType(
| |- warning: let '__Directive' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '__Directive' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | name: "__Directive",
76 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:276:20: note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
274 | *
275 | */
276 | public final class GraphQLObjectType {
| `- note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
277 | public let name: String
278 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:104:5: warning: let '__DirectiveLocation' is not concurrency-safe because non-'Sendable' type 'GraphQLEnumType' may have shared mutable state; this is an error in the Swift 6 language mode
102 | )
103 |
104 | let __DirectiveLocation = try! GraphQLEnumType(
| |- warning: let '__DirectiveLocation' is not concurrency-safe because non-'Sendable' type 'GraphQLEnumType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '__DirectiveLocation' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | name: "__DirectiveLocation",
106 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:860:20: note: class 'GraphQLEnumType' does not conform to the 'Sendable' protocol
858 | * will be used as its internal value.
859 | */
860 | public final class GraphQLEnumType {
| `- note: class 'GraphQLEnumType' does not conform to the 'Sendable' protocol
861 | public let name: String
862 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:375:5: warning: let '__InputValue' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
373 | )
374 |
375 | let __InputValue = try! GraphQLObjectType(
| |- warning: let '__InputValue' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '__InputValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
376 | name: "__InputValue",
377 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:276:20: note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
274 | *
275 | */
276 | public final class GraphQLObjectType {
| `- note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
277 | public let name: String
278 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:440:5: warning: let '__TypeKind' is not concurrency-safe because non-'Sendable' type 'GraphQLEnumType' may have shared mutable state; this is an error in the Swift 6 language mode
438 | }
439 |
440 | let __TypeKind = try! GraphQLEnumType(
| |- warning: let '__TypeKind' is not concurrency-safe because non-'Sendable' type 'GraphQLEnumType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '__TypeKind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
441 | name: "__TypeKind",
442 | description: "An enum describing what kind of type a given \\`__Type\\` is.",
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:860:20: note: class 'GraphQLEnumType' does not conform to the 'Sendable' protocol
858 | * will be used as its internal value.
859 | */
860 | public final class GraphQLEnumType {
| `- note: class 'GraphQLEnumType' does not conform to the 'Sendable' protocol
861 | public let name: String
862 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:348:5: warning: let '__Field' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
346 | }()
347 |
348 | let __Field = try! GraphQLObjectType(
| |- warning: let '__Field' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '__Field' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
349 | name: "__Field",
350 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:276:20: note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
274 | *
275 | */
276 | public final class GraphQLObjectType {
| `- note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
277 | public let name: String
278 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:415:5: warning: let '__EnumValue' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
413 | )
414 |
415 | let __EnumValue = try! GraphQLObjectType(
| |- warning: let '__EnumValue' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '__EnumValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
416 | name: "__EnumValue",
417 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:276:20: note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
274 | *
275 | */
276 | public final class GraphQLObjectType {
| `- note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
277 | public let name: String
278 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:496:31: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
494 | description: "Access the current type schema of this server.",
495 | resolve: { _, _, _, eventLoopGroup, info in
496 | eventLoopGroup.next().makeSucceededFuture(info.schema)
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
497 | }
498 | )
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:491:5: warning: let 'SchemaMetaFieldDef' is not concurrency-safe because non-'Sendable' type 'GraphQLFieldDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
489 | */
490 |
491 | let SchemaMetaFieldDef = GraphQLFieldDefinition(
| |- warning: let 'SchemaMetaFieldDef' is not concurrency-safe because non-'Sendable' type 'GraphQLFieldDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'SchemaMetaFieldDef' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
492 | name: "__schema",
493 | type: GraphQLNonNull(__Schema),
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:524:20: note: class 'GraphQLFieldDefinition' does not conform to the 'Sendable' protocol
522 | public typealias GraphQLFieldDefinitionMap = OrderedDictionary<String, GraphQLFieldDefinition>
523 |
524 | public final class GraphQLFieldDefinition {
| `- note: class 'GraphQLFieldDefinition' does not conform to the 'Sendable' protocol
525 | public let name: String
526 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:512:38: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
510 | resolve: { _, arguments, _, eventLoopGroup, info in
511 | let name = arguments["name"].string!
512 | return eventLoopGroup.next().makeSucceededFuture(info.schema.getType(name: name))
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
513 | }
514 | )
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:500:5: warning: let 'TypeMetaFieldDef' is not concurrency-safe because non-'Sendable' type 'GraphQLFieldDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
498 | )
499 |
500 | let TypeMetaFieldDef = GraphQLFieldDefinition(
| |- warning: let 'TypeMetaFieldDef' is not concurrency-safe because non-'Sendable' type 'GraphQLFieldDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'TypeMetaFieldDef' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
501 | name: "__type",
502 | type: __Type,
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:524:20: note: class 'GraphQLFieldDefinition' does not conform to the 'Sendable' protocol
522 | public typealias GraphQLFieldDefinitionMap = OrderedDictionary<String, GraphQLFieldDefinition>
523 |
524 | public final class GraphQLFieldDefinition {
| `- note: class 'GraphQLFieldDefinition' does not conform to the 'Sendable' protocol
525 | public let name: String
526 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:521:31: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
519 | description: "The name of the current Object type at runtime.",
520 | resolve: { _, _, _, eventLoopGroup, info in
521 | eventLoopGroup.next().makeSucceededFuture(info.parentType.name)
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
522 | }
523 | )
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:516:5: warning: let 'TypeNameMetaFieldDef' is not concurrency-safe because non-'Sendable' type 'GraphQLFieldDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
514 | )
515 |
516 | let TypeNameMetaFieldDef = GraphQLFieldDefinition(
| |- warning: let 'TypeNameMetaFieldDef' is not concurrency-safe because non-'Sendable' type 'GraphQLFieldDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'TypeNameMetaFieldDef' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
517 | name: "__typename",
518 | type: GraphQLNonNull(GraphQLString),
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:524:20: note: class 'GraphQLFieldDefinition' does not conform to the 'Sendable' protocol
522 | public typealias GraphQLFieldDefinitionMap = OrderedDictionary<String, GraphQLFieldDefinition>
523 |
524 | public final class GraphQLFieldDefinition {
| `- note: class 'GraphQLFieldDefinition' does not conform to the 'Sendable' protocol
525 | public let name: String
526 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:525:5: warning: let 'introspectionTypes' is not concurrency-safe because non-'Sendable' type '[any GraphQLNamedType]' may have shared mutable state; this is an error in the Swift 6 language mode
523 | )
524 |
525 | let introspectionTypes: [GraphQLNamedType] = [
| |- warning: let 'introspectionTypes' is not concurrency-safe because non-'Sendable' type '[any GraphQLNamedType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'introspectionTypes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
526 | __Schema,
527 | __Directive,
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:113:17: note: protocol 'GraphQLNamedType' does not conform to the 'Sendable' protocol
111 | * These named types do not include modifiers like List or NonNull.
112 | */
113 | public protocol GraphQLNamedType: GraphQLNullableType {
| `- note: protocol 'GraphQLNamedType' does not conform to the 'Sendable' protocol
114 | var name: String { get }
115 | }
/host/spi-builder-workspace/Sources/GraphQL/Type/Scalars.swift:13:12: warning: let 'GraphQLInt' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | let GRAPHQL_MIN_INT = -2_147_483_648
12 |
13 | public let GraphQLInt = try! GraphQLScalarType(
| |- warning: let 'GraphQLInt' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'GraphQLInt' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | name: "Int",
15 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:161:20: note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
159 | *
160 | */
161 | public final class GraphQLScalarType {
| `- note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
162 | public let name: String
163 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Scalars.swift:69:12: warning: let 'GraphQLFloat' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
67 | )
68 |
69 | public let GraphQLFloat = try! GraphQLScalarType(
| |- warning: let 'GraphQLFloat' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'GraphQLFloat' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | name: "Float",
71 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:161:20: note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
159 | *
160 | */
161 | public final class GraphQLScalarType {
| `- note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
162 | public let name: String
163 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Scalars.swift:225:12: warning: let 'GraphQLID' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
223 | )
224 |
225 | public let GraphQLID = try! GraphQLScalarType(
| |- warning: let 'GraphQLID' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'GraphQLID' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
226 | name: "ID",
227 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:161:20: note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
159 | *
160 | */
161 | public final class GraphQLScalarType {
| `- note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
162 | public let name: String
163 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Scalars.swift:278:5: warning: let 'specifiedScalarTypes' is not concurrency-safe because non-'Sendable' type '[GraphQLScalarType]' may have shared mutable state; this is an error in the Swift 6 language mode
276 | )
277 |
278 | let specifiedScalarTypes = [
| |- warning: let 'specifiedScalarTypes' is not concurrency-safe because non-'Sendable' type '[GraphQLScalarType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'specifiedScalarTypes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
279 | GraphQLString,
280 | GraphQLInt,
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:161:20: note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
159 | *
160 | */
161 | public final class GraphQLScalarType {
| `- note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
162 | public let name: String
163 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Instrumentation/Instrumentation.swift:77:12: warning: let 'NoOpInstrumentation' is not concurrency-safe because non-'Sendable' type 'any Instrumentation' may have shared mutable state; this is an error in the Swift 6 language mode
6 | ///
7 | /// A working implementation of `now` is also provided by default.
8 | public protocol Instrumentation {
| `- note: protocol 'Instrumentation' does not conform to the 'Sendable' protocol
9 | var now: DispatchTime { get }
10 |
:
75 |
76 | /// Does nothing
77 | public let NoOpInstrumentation: Instrumentation = noOpInstrumentation()
| |- warning: let 'NoOpInstrumentation' is not concurrency-safe because non-'Sendable' type 'any Instrumentation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NoOpInstrumentation' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 |
79 | struct noOpInstrumentation: Instrumentation {
/host/spi-builder-workspace/Sources/GraphQL/Utilities/ExtendSchema.swift:951:5: warning: let 'stdTypeMap' is not concurrency-safe because non-'Sendable' type '[String : any GraphQLNamedType]' may have shared mutable state; this is an error in the Swift 6 language mode
949 | }
950 |
951 | let stdTypeMap = {
| |- warning: let 'stdTypeMap' is not concurrency-safe because non-'Sendable' type '[String : any GraphQLNamedType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stdTypeMap' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
952 | var types = [GraphQLNamedType]()
953 | types.append(contentsOf: specifiedScalarTypes)
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:113:17: note: protocol 'GraphQLNamedType' does not conform to the 'Sendable' protocol
111 | * These named types do not include modifiers like List or NonNull.
112 | */
113 | public protocol GraphQLNamedType: GraphQLNullableType {
| `- note: protocol 'GraphQLNamedType' does not conform to the 'Sendable' protocol
114 | var name: String { get }
115 | }
[386/389] Compiling GraphQL AssertValidName.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:210:5: warning: let 'defaultParseValue' is not concurrency-safe because non-'Sendable' type '(Map) throws -> Map' may have shared mutable state; this is an error in the Swift 6 language mode
208 | }
209 |
210 | let defaultParseValue: ((Map) throws -> Map) = { value in
| |- warning: let 'defaultParseValue' is not concurrency-safe because non-'Sendable' type '(Map) throws -> Map' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultParseValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
211 | value
212 | }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:214:5: warning: let 'defaultParseLiteral' is not concurrency-safe because non-'Sendable' type '(any Value) throws -> Map' may have shared mutable state; this is an error in the Swift 6 language mode
212 | }
213 |
214 | let defaultParseLiteral: ((Value) throws -> Map) = { value in
| |- warning: let 'defaultParseLiteral' is not concurrency-safe because non-'Sendable' type '(any Value) throws -> Map' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultParseLiteral' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
215 | try valueFromASTUntyped(valueAST: value)
216 | }
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:516:42: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
514 | self.resolve = { source, args, context, eventLoopGroup, info in
515 | let result = try resolve(source, args, context, info)
516 | return eventLoopGroup.next().makeSucceededFuture(result)
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
517 | }
518 | subscribe = nil
/host/spi-builder-workspace/Sources/GraphQL/Type/Directives.swift:69:12: warning: let 'GraphQLIncludeDirective' is not concurrency-safe because non-'Sendable' type 'GraphQLDirective' may have shared mutable state; this is an error in the Swift 6 language mode
30 | * behavior. Type system creators will usually not create these directly.
31 | */
32 | public final class GraphQLDirective {
| `- note: class 'GraphQLDirective' does not conform to the 'Sendable' protocol
33 | public let name: String
34 | public let description: String?
:
67 | * Used to conditionally include fields or fragments.
68 | */
69 | public let GraphQLIncludeDirective = try! GraphQLDirective(
| |- warning: let 'GraphQLIncludeDirective' is not concurrency-safe because non-'Sendable' type 'GraphQLDirective' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'GraphQLIncludeDirective' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | name: "include",
71 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Scalars.swift:175:12: warning: let 'GraphQLBoolean' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
173 | )
174 |
175 | public let GraphQLBoolean = try! GraphQLScalarType(
| |- warning: let 'GraphQLBoolean' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'GraphQLBoolean' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
176 | name: "Boolean",
177 | description: "The `Boolean` scalar type represents `true` or `false`.",
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:161:20: note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
159 | *
160 | */
161 | public final class GraphQLScalarType {
| `- note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
162 | public let name: String
163 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Directives.swift:90:12: warning: let 'GraphQLSkipDirective' is not concurrency-safe because non-'Sendable' type 'GraphQLDirective' may have shared mutable state; this is an error in the Swift 6 language mode
30 | * behavior. Type system creators will usually not create these directly.
31 | */
32 | public final class GraphQLDirective {
| `- note: class 'GraphQLDirective' does not conform to the 'Sendable' protocol
33 | public let name: String
34 | public let description: String?
:
88 | * Used to conditionally skip (exclude) fields or fragments.
89 | */
90 | public let GraphQLSkipDirective = try! GraphQLDirective(
| |- warning: let 'GraphQLSkipDirective' is not concurrency-safe because non-'Sendable' type 'GraphQLDirective' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'GraphQLSkipDirective' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | name: "skip",
92 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Directives.swift:116:12: warning: let 'GraphQLDeprecatedDirective' is not concurrency-safe because non-'Sendable' type 'GraphQLDirective' may have shared mutable state; this is an error in the Swift 6 language mode
30 | * behavior. Type system creators will usually not create these directly.
31 | */
32 | public final class GraphQLDirective {
| `- note: class 'GraphQLDirective' does not conform to the 'Sendable' protocol
33 | public let name: String
34 | public let description: String?
:
114 | * Used to declare element of a GraphQL schema as deprecated.
115 | */
116 | public let GraphQLDeprecatedDirective = try! GraphQLDirective(
| |- warning: let 'GraphQLDeprecatedDirective' is not concurrency-safe because non-'Sendable' type 'GraphQLDirective' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'GraphQLDeprecatedDirective' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 | name: "deprecated",
118 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Scalars.swift:124:12: warning: let 'GraphQLString' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
122 | )
123 |
124 | public let GraphQLString = try! GraphQLScalarType(
| |- warning: let 'GraphQLString' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'GraphQLString' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
125 | name: "String",
126 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:161:20: note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
159 | *
160 | */
161 | public final class GraphQLScalarType {
| `- note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
162 | public let name: String
163 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Directives.swift:142:12: warning: let 'GraphQLSpecifiedByDirective' is not concurrency-safe because non-'Sendable' type 'GraphQLDirective' may have shared mutable state; this is an error in the Swift 6 language mode
30 | * behavior. Type system creators will usually not create these directly.
31 | */
32 | public final class GraphQLDirective {
| `- note: class 'GraphQLDirective' does not conform to the 'Sendable' protocol
33 | public let name: String
34 | public let description: String?
:
140 | * Used to provide a URL for specifying the behavior of custom scalar definitions.
141 | */
142 | public let GraphQLSpecifiedByDirective = try! GraphQLDirective(
| |- warning: let 'GraphQLSpecifiedByDirective' is not concurrency-safe because non-'Sendable' type 'GraphQLDirective' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'GraphQLSpecifiedByDirective' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
143 | name: "specifiedBy",
144 | description: "Exposes a URL that specifies the behavior of this scalar.",
/host/spi-builder-workspace/Sources/GraphQL/Type/Directives.swift:157:12: warning: let 'GraphQLOneOfDirective' is not concurrency-safe because non-'Sendable' type 'GraphQLDirective' may have shared mutable state; this is an error in the Swift 6 language mode
30 | * behavior. Type system creators will usually not create these directly.
31 | */
32 | public final class GraphQLDirective {
| `- note: class 'GraphQLDirective' does not conform to the 'Sendable' protocol
33 | public let name: String
34 | public let description: String?
:
155 | * Used to indicate an Input Object is a OneOf Input Object.
156 | */
157 | public let GraphQLOneOfDirective = try! GraphQLDirective(
| |- warning: let 'GraphQLOneOfDirective' is not concurrency-safe because non-'Sendable' type 'GraphQLDirective' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'GraphQLOneOfDirective' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
158 | name: "oneOf",
159 | description: "Indicates exactly one field must be supplied and this field must not be \\`null\\`.",
/host/spi-builder-workspace/Sources/GraphQL/Type/Directives.swift:167:5: warning: let 'specifiedDirectives' is not concurrency-safe because non-'Sendable' type '[GraphQLDirective]' may have shared mutable state; this is an error in the Swift 6 language mode
30 | * behavior. Type system creators will usually not create these directly.
31 | */
32 | public final class GraphQLDirective {
| `- note: class 'GraphQLDirective' does not conform to the 'Sendable' protocol
33 | public let name: String
34 | public let description: String?
:
165 | * The full list of specified directives.
166 | */
167 | let specifiedDirectives: [GraphQLDirective] = [
| |- warning: let 'specifiedDirectives' is not concurrency-safe because non-'Sendable' type '[GraphQLDirective]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'specifiedDirectives' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
168 | GraphQLIncludeDirective,
169 | GraphQLSkipDirective,
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:3:5: warning: let '__Schema' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import NIO
2 |
3 | let __Schema = try! GraphQLObjectType(
| |- warning: let '__Schema' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '__Schema' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
4 | name: "__Schema",
5 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:276:20: note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
274 | *
275 | */
276 | public final class GraphQLObjectType {
| `- note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
277 | public let name: String
278 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:193:5: warning: let '__Type' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
191 | )
192 |
193 | let __Type: GraphQLObjectType = {
| |- warning: let '__Type' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '__Type' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
194 | let __Type = try! GraphQLObjectType(
195 | name: "__Type",
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:276:20: note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
274 | *
275 | */
276 | public final class GraphQLObjectType {
| `- note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
277 | public let name: String
278 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:74:5: warning: let '__Directive' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
72 | )
73 |
74 | let __Directive = try! GraphQLObjectType(
| |- warning: let '__Directive' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '__Directive' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | name: "__Directive",
76 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:276:20: note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
274 | *
275 | */
276 | public final class GraphQLObjectType {
| `- note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
277 | public let name: String
278 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:104:5: warning: let '__DirectiveLocation' is not concurrency-safe because non-'Sendable' type 'GraphQLEnumType' may have shared mutable state; this is an error in the Swift 6 language mode
102 | )
103 |
104 | let __DirectiveLocation = try! GraphQLEnumType(
| |- warning: let '__DirectiveLocation' is not concurrency-safe because non-'Sendable' type 'GraphQLEnumType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '__DirectiveLocation' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | name: "__DirectiveLocation",
106 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:860:20: note: class 'GraphQLEnumType' does not conform to the 'Sendable' protocol
858 | * will be used as its internal value.
859 | */
860 | public final class GraphQLEnumType {
| `- note: class 'GraphQLEnumType' does not conform to the 'Sendable' protocol
861 | public let name: String
862 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:375:5: warning: let '__InputValue' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
373 | )
374 |
375 | let __InputValue = try! GraphQLObjectType(
| |- warning: let '__InputValue' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '__InputValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
376 | name: "__InputValue",
377 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:276:20: note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
274 | *
275 | */
276 | public final class GraphQLObjectType {
| `- note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
277 | public let name: String
278 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:440:5: warning: let '__TypeKind' is not concurrency-safe because non-'Sendable' type 'GraphQLEnumType' may have shared mutable state; this is an error in the Swift 6 language mode
438 | }
439 |
440 | let __TypeKind = try! GraphQLEnumType(
| |- warning: let '__TypeKind' is not concurrency-safe because non-'Sendable' type 'GraphQLEnumType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '__TypeKind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
441 | name: "__TypeKind",
442 | description: "An enum describing what kind of type a given \\`__Type\\` is.",
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:860:20: note: class 'GraphQLEnumType' does not conform to the 'Sendable' protocol
858 | * will be used as its internal value.
859 | */
860 | public final class GraphQLEnumType {
| `- note: class 'GraphQLEnumType' does not conform to the 'Sendable' protocol
861 | public let name: String
862 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:348:5: warning: let '__Field' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
346 | }()
347 |
348 | let __Field = try! GraphQLObjectType(
| |- warning: let '__Field' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '__Field' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
349 | name: "__Field",
350 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:276:20: note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
274 | *
275 | */
276 | public final class GraphQLObjectType {
| `- note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
277 | public let name: String
278 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:415:5: warning: let '__EnumValue' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
413 | )
414 |
415 | let __EnumValue = try! GraphQLObjectType(
| |- warning: let '__EnumValue' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '__EnumValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
416 | name: "__EnumValue",
417 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:276:20: note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
274 | *
275 | */
276 | public final class GraphQLObjectType {
| `- note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
277 | public let name: String
278 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:496:31: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
494 | description: "Access the current type schema of this server.",
495 | resolve: { _, _, _, eventLoopGroup, info in
496 | eventLoopGroup.next().makeSucceededFuture(info.schema)
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
497 | }
498 | )
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:491:5: warning: let 'SchemaMetaFieldDef' is not concurrency-safe because non-'Sendable' type 'GraphQLFieldDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
489 | */
490 |
491 | let SchemaMetaFieldDef = GraphQLFieldDefinition(
| |- warning: let 'SchemaMetaFieldDef' is not concurrency-safe because non-'Sendable' type 'GraphQLFieldDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'SchemaMetaFieldDef' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
492 | name: "__schema",
493 | type: GraphQLNonNull(__Schema),
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:524:20: note: class 'GraphQLFieldDefinition' does not conform to the 'Sendable' protocol
522 | public typealias GraphQLFieldDefinitionMap = OrderedDictionary<String, GraphQLFieldDefinition>
523 |
524 | public final class GraphQLFieldDefinition {
| `- note: class 'GraphQLFieldDefinition' does not conform to the 'Sendable' protocol
525 | public let name: String
526 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:512:38: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
510 | resolve: { _, arguments, _, eventLoopGroup, info in
511 | let name = arguments["name"].string!
512 | return eventLoopGroup.next().makeSucceededFuture(info.schema.getType(name: name))
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
513 | }
514 | )
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:500:5: warning: let 'TypeMetaFieldDef' is not concurrency-safe because non-'Sendable' type 'GraphQLFieldDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
498 | )
499 |
500 | let TypeMetaFieldDef = GraphQLFieldDefinition(
| |- warning: let 'TypeMetaFieldDef' is not concurrency-safe because non-'Sendable' type 'GraphQLFieldDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'TypeMetaFieldDef' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
501 | name: "__type",
502 | type: __Type,
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:524:20: note: class 'GraphQLFieldDefinition' does not conform to the 'Sendable' protocol
522 | public typealias GraphQLFieldDefinitionMap = OrderedDictionary<String, GraphQLFieldDefinition>
523 |
524 | public final class GraphQLFieldDefinition {
| `- note: class 'GraphQLFieldDefinition' does not conform to the 'Sendable' protocol
525 | public let name: String
526 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:521:31: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
519 | description: "The name of the current Object type at runtime.",
520 | resolve: { _, _, _, eventLoopGroup, info in
521 | eventLoopGroup.next().makeSucceededFuture(info.parentType.name)
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
522 | }
523 | )
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:516:5: warning: let 'TypeNameMetaFieldDef' is not concurrency-safe because non-'Sendable' type 'GraphQLFieldDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
514 | )
515 |
516 | let TypeNameMetaFieldDef = GraphQLFieldDefinition(
| |- warning: let 'TypeNameMetaFieldDef' is not concurrency-safe because non-'Sendable' type 'GraphQLFieldDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'TypeNameMetaFieldDef' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
517 | name: "__typename",
518 | type: GraphQLNonNull(GraphQLString),
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:524:20: note: class 'GraphQLFieldDefinition' does not conform to the 'Sendable' protocol
522 | public typealias GraphQLFieldDefinitionMap = OrderedDictionary<String, GraphQLFieldDefinition>
523 |
524 | public final class GraphQLFieldDefinition {
| `- note: class 'GraphQLFieldDefinition' does not conform to the 'Sendable' protocol
525 | public let name: String
526 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:525:5: warning: let 'introspectionTypes' is not concurrency-safe because non-'Sendable' type '[any GraphQLNamedType]' may have shared mutable state; this is an error in the Swift 6 language mode
523 | )
524 |
525 | let introspectionTypes: [GraphQLNamedType] = [
| |- warning: let 'introspectionTypes' is not concurrency-safe because non-'Sendable' type '[any GraphQLNamedType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'introspectionTypes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
526 | __Schema,
527 | __Directive,
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:113:17: note: protocol 'GraphQLNamedType' does not conform to the 'Sendable' protocol
111 | * These named types do not include modifiers like List or NonNull.
112 | */
113 | public protocol GraphQLNamedType: GraphQLNullableType {
| `- note: protocol 'GraphQLNamedType' does not conform to the 'Sendable' protocol
114 | var name: String { get }
115 | }
/host/spi-builder-workspace/Sources/GraphQL/Type/Scalars.swift:13:12: warning: let 'GraphQLInt' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | let GRAPHQL_MIN_INT = -2_147_483_648
12 |
13 | public let GraphQLInt = try! GraphQLScalarType(
| |- warning: let 'GraphQLInt' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'GraphQLInt' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | name: "Int",
15 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:161:20: note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
159 | *
160 | */
161 | public final class GraphQLScalarType {
| `- note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
162 | public let name: String
163 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Scalars.swift:69:12: warning: let 'GraphQLFloat' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
67 | )
68 |
69 | public let GraphQLFloat = try! GraphQLScalarType(
| |- warning: let 'GraphQLFloat' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'GraphQLFloat' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | name: "Float",
71 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:161:20: note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
159 | *
160 | */
161 | public final class GraphQLScalarType {
| `- note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
162 | public let name: String
163 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Scalars.swift:225:12: warning: let 'GraphQLID' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
223 | )
224 |
225 | public let GraphQLID = try! GraphQLScalarType(
| |- warning: let 'GraphQLID' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'GraphQLID' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
226 | name: "ID",
227 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:161:20: note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
159 | *
160 | */
161 | public final class GraphQLScalarType {
| `- note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
162 | public let name: String
163 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Scalars.swift:278:5: warning: let 'specifiedScalarTypes' is not concurrency-safe because non-'Sendable' type '[GraphQLScalarType]' may have shared mutable state; this is an error in the Swift 6 language mode
276 | )
277 |
278 | let specifiedScalarTypes = [
| |- warning: let 'specifiedScalarTypes' is not concurrency-safe because non-'Sendable' type '[GraphQLScalarType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'specifiedScalarTypes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
279 | GraphQLString,
280 | GraphQLInt,
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:161:20: note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
159 | *
160 | */
161 | public final class GraphQLScalarType {
| `- note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
162 | public let name: String
163 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Instrumentation/Instrumentation.swift:77:12: warning: let 'NoOpInstrumentation' is not concurrency-safe because non-'Sendable' type 'any Instrumentation' may have shared mutable state; this is an error in the Swift 6 language mode
6 | ///
7 | /// A working implementation of `now` is also provided by default.
8 | public protocol Instrumentation {
| `- note: protocol 'Instrumentation' does not conform to the 'Sendable' protocol
9 | var now: DispatchTime { get }
10 |
:
75 |
76 | /// Does nothing
77 | public let NoOpInstrumentation: Instrumentation = noOpInstrumentation()
| |- warning: let 'NoOpInstrumentation' is not concurrency-safe because non-'Sendable' type 'any Instrumentation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NoOpInstrumentation' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 |
79 | struct noOpInstrumentation: Instrumentation {
/host/spi-builder-workspace/Sources/GraphQL/Utilities/ExtendSchema.swift:951:5: warning: let 'stdTypeMap' is not concurrency-safe because non-'Sendable' type '[String : any GraphQLNamedType]' may have shared mutable state; this is an error in the Swift 6 language mode
949 | }
950 |
951 | let stdTypeMap = {
| |- warning: let 'stdTypeMap' is not concurrency-safe because non-'Sendable' type '[String : any GraphQLNamedType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stdTypeMap' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
952 | var types = [GraphQLNamedType]()
953 | types.append(contentsOf: specifiedScalarTypes)
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:113:17: note: protocol 'GraphQLNamedType' does not conform to the 'Sendable' protocol
111 | * These named types do not include modifiers like List or NonNull.
112 | */
113 | public protocol GraphQLNamedType: GraphQLNullableType {
| `- note: protocol 'GraphQLNamedType' does not conform to the 'Sendable' protocol
114 | var name: String { get }
115 | }
[387/389] Compiling GraphQL BuildASTSchema.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:210:5: warning: let 'defaultParseValue' is not concurrency-safe because non-'Sendable' type '(Map) throws -> Map' may have shared mutable state; this is an error in the Swift 6 language mode
208 | }
209 |
210 | let defaultParseValue: ((Map) throws -> Map) = { value in
| |- warning: let 'defaultParseValue' is not concurrency-safe because non-'Sendable' type '(Map) throws -> Map' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultParseValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
211 | value
212 | }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:214:5: warning: let 'defaultParseLiteral' is not concurrency-safe because non-'Sendable' type '(any Value) throws -> Map' may have shared mutable state; this is an error in the Swift 6 language mode
212 | }
213 |
214 | let defaultParseLiteral: ((Value) throws -> Map) = { value in
| |- warning: let 'defaultParseLiteral' is not concurrency-safe because non-'Sendable' type '(any Value) throws -> Map' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultParseLiteral' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
215 | try valueFromASTUntyped(valueAST: value)
216 | }
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:516:42: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
514 | self.resolve = { source, args, context, eventLoopGroup, info in
515 | let result = try resolve(source, args, context, info)
516 | return eventLoopGroup.next().makeSucceededFuture(result)
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
517 | }
518 | subscribe = nil
/host/spi-builder-workspace/Sources/GraphQL/Type/Directives.swift:69:12: warning: let 'GraphQLIncludeDirective' is not concurrency-safe because non-'Sendable' type 'GraphQLDirective' may have shared mutable state; this is an error in the Swift 6 language mode
30 | * behavior. Type system creators will usually not create these directly.
31 | */
32 | public final class GraphQLDirective {
| `- note: class 'GraphQLDirective' does not conform to the 'Sendable' protocol
33 | public let name: String
34 | public let description: String?
:
67 | * Used to conditionally include fields or fragments.
68 | */
69 | public let GraphQLIncludeDirective = try! GraphQLDirective(
| |- warning: let 'GraphQLIncludeDirective' is not concurrency-safe because non-'Sendable' type 'GraphQLDirective' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'GraphQLIncludeDirective' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | name: "include",
71 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Scalars.swift:175:12: warning: let 'GraphQLBoolean' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
173 | )
174 |
175 | public let GraphQLBoolean = try! GraphQLScalarType(
| |- warning: let 'GraphQLBoolean' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'GraphQLBoolean' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
176 | name: "Boolean",
177 | description: "The `Boolean` scalar type represents `true` or `false`.",
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:161:20: note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
159 | *
160 | */
161 | public final class GraphQLScalarType {
| `- note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
162 | public let name: String
163 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Directives.swift:90:12: warning: let 'GraphQLSkipDirective' is not concurrency-safe because non-'Sendable' type 'GraphQLDirective' may have shared mutable state; this is an error in the Swift 6 language mode
30 | * behavior. Type system creators will usually not create these directly.
31 | */
32 | public final class GraphQLDirective {
| `- note: class 'GraphQLDirective' does not conform to the 'Sendable' protocol
33 | public let name: String
34 | public let description: String?
:
88 | * Used to conditionally skip (exclude) fields or fragments.
89 | */
90 | public let GraphQLSkipDirective = try! GraphQLDirective(
| |- warning: let 'GraphQLSkipDirective' is not concurrency-safe because non-'Sendable' type 'GraphQLDirective' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'GraphQLSkipDirective' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | name: "skip",
92 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Directives.swift:116:12: warning: let 'GraphQLDeprecatedDirective' is not concurrency-safe because non-'Sendable' type 'GraphQLDirective' may have shared mutable state; this is an error in the Swift 6 language mode
30 | * behavior. Type system creators will usually not create these directly.
31 | */
32 | public final class GraphQLDirective {
| `- note: class 'GraphQLDirective' does not conform to the 'Sendable' protocol
33 | public let name: String
34 | public let description: String?
:
114 | * Used to declare element of a GraphQL schema as deprecated.
115 | */
116 | public let GraphQLDeprecatedDirective = try! GraphQLDirective(
| |- warning: let 'GraphQLDeprecatedDirective' is not concurrency-safe because non-'Sendable' type 'GraphQLDirective' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'GraphQLDeprecatedDirective' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 | name: "deprecated",
118 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Scalars.swift:124:12: warning: let 'GraphQLString' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
122 | )
123 |
124 | public let GraphQLString = try! GraphQLScalarType(
| |- warning: let 'GraphQLString' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'GraphQLString' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
125 | name: "String",
126 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:161:20: note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
159 | *
160 | */
161 | public final class GraphQLScalarType {
| `- note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
162 | public let name: String
163 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Directives.swift:142:12: warning: let 'GraphQLSpecifiedByDirective' is not concurrency-safe because non-'Sendable' type 'GraphQLDirective' may have shared mutable state; this is an error in the Swift 6 language mode
30 | * behavior. Type system creators will usually not create these directly.
31 | */
32 | public final class GraphQLDirective {
| `- note: class 'GraphQLDirective' does not conform to the 'Sendable' protocol
33 | public let name: String
34 | public let description: String?
:
140 | * Used to provide a URL for specifying the behavior of custom scalar definitions.
141 | */
142 | public let GraphQLSpecifiedByDirective = try! GraphQLDirective(
| |- warning: let 'GraphQLSpecifiedByDirective' is not concurrency-safe because non-'Sendable' type 'GraphQLDirective' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'GraphQLSpecifiedByDirective' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
143 | name: "specifiedBy",
144 | description: "Exposes a URL that specifies the behavior of this scalar.",
/host/spi-builder-workspace/Sources/GraphQL/Type/Directives.swift:157:12: warning: let 'GraphQLOneOfDirective' is not concurrency-safe because non-'Sendable' type 'GraphQLDirective' may have shared mutable state; this is an error in the Swift 6 language mode
30 | * behavior. Type system creators will usually not create these directly.
31 | */
32 | public final class GraphQLDirective {
| `- note: class 'GraphQLDirective' does not conform to the 'Sendable' protocol
33 | public let name: String
34 | public let description: String?
:
155 | * Used to indicate an Input Object is a OneOf Input Object.
156 | */
157 | public let GraphQLOneOfDirective = try! GraphQLDirective(
| |- warning: let 'GraphQLOneOfDirective' is not concurrency-safe because non-'Sendable' type 'GraphQLDirective' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'GraphQLOneOfDirective' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
158 | name: "oneOf",
159 | description: "Indicates exactly one field must be supplied and this field must not be \\`null\\`.",
/host/spi-builder-workspace/Sources/GraphQL/Type/Directives.swift:167:5: warning: let 'specifiedDirectives' is not concurrency-safe because non-'Sendable' type '[GraphQLDirective]' may have shared mutable state; this is an error in the Swift 6 language mode
30 | * behavior. Type system creators will usually not create these directly.
31 | */
32 | public final class GraphQLDirective {
| `- note: class 'GraphQLDirective' does not conform to the 'Sendable' protocol
33 | public let name: String
34 | public let description: String?
:
165 | * The full list of specified directives.
166 | */
167 | let specifiedDirectives: [GraphQLDirective] = [
| |- warning: let 'specifiedDirectives' is not concurrency-safe because non-'Sendable' type '[GraphQLDirective]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'specifiedDirectives' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
168 | GraphQLIncludeDirective,
169 | GraphQLSkipDirective,
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:3:5: warning: let '__Schema' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import NIO
2 |
3 | let __Schema = try! GraphQLObjectType(
| |- warning: let '__Schema' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '__Schema' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
4 | name: "__Schema",
5 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:276:20: note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
274 | *
275 | */
276 | public final class GraphQLObjectType {
| `- note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
277 | public let name: String
278 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:193:5: warning: let '__Type' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
191 | )
192 |
193 | let __Type: GraphQLObjectType = {
| |- warning: let '__Type' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '__Type' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
194 | let __Type = try! GraphQLObjectType(
195 | name: "__Type",
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:276:20: note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
274 | *
275 | */
276 | public final class GraphQLObjectType {
| `- note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
277 | public let name: String
278 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:74:5: warning: let '__Directive' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
72 | )
73 |
74 | let __Directive = try! GraphQLObjectType(
| |- warning: let '__Directive' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '__Directive' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | name: "__Directive",
76 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:276:20: note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
274 | *
275 | */
276 | public final class GraphQLObjectType {
| `- note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
277 | public let name: String
278 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:104:5: warning: let '__DirectiveLocation' is not concurrency-safe because non-'Sendable' type 'GraphQLEnumType' may have shared mutable state; this is an error in the Swift 6 language mode
102 | )
103 |
104 | let __DirectiveLocation = try! GraphQLEnumType(
| |- warning: let '__DirectiveLocation' is not concurrency-safe because non-'Sendable' type 'GraphQLEnumType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '__DirectiveLocation' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | name: "__DirectiveLocation",
106 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:860:20: note: class 'GraphQLEnumType' does not conform to the 'Sendable' protocol
858 | * will be used as its internal value.
859 | */
860 | public final class GraphQLEnumType {
| `- note: class 'GraphQLEnumType' does not conform to the 'Sendable' protocol
861 | public let name: String
862 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:375:5: warning: let '__InputValue' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
373 | )
374 |
375 | let __InputValue = try! GraphQLObjectType(
| |- warning: let '__InputValue' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '__InputValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
376 | name: "__InputValue",
377 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:276:20: note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
274 | *
275 | */
276 | public final class GraphQLObjectType {
| `- note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
277 | public let name: String
278 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:440:5: warning: let '__TypeKind' is not concurrency-safe because non-'Sendable' type 'GraphQLEnumType' may have shared mutable state; this is an error in the Swift 6 language mode
438 | }
439 |
440 | let __TypeKind = try! GraphQLEnumType(
| |- warning: let '__TypeKind' is not concurrency-safe because non-'Sendable' type 'GraphQLEnumType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '__TypeKind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
441 | name: "__TypeKind",
442 | description: "An enum describing what kind of type a given \\`__Type\\` is.",
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:860:20: note: class 'GraphQLEnumType' does not conform to the 'Sendable' protocol
858 | * will be used as its internal value.
859 | */
860 | public final class GraphQLEnumType {
| `- note: class 'GraphQLEnumType' does not conform to the 'Sendable' protocol
861 | public let name: String
862 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:348:5: warning: let '__Field' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
346 | }()
347 |
348 | let __Field = try! GraphQLObjectType(
| |- warning: let '__Field' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '__Field' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
349 | name: "__Field",
350 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:276:20: note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
274 | *
275 | */
276 | public final class GraphQLObjectType {
| `- note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
277 | public let name: String
278 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:415:5: warning: let '__EnumValue' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
413 | )
414 |
415 | let __EnumValue = try! GraphQLObjectType(
| |- warning: let '__EnumValue' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '__EnumValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
416 | name: "__EnumValue",
417 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:276:20: note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
274 | *
275 | */
276 | public final class GraphQLObjectType {
| `- note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
277 | public let name: String
278 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:496:31: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
494 | description: "Access the current type schema of this server.",
495 | resolve: { _, _, _, eventLoopGroup, info in
496 | eventLoopGroup.next().makeSucceededFuture(info.schema)
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
497 | }
498 | )
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:491:5: warning: let 'SchemaMetaFieldDef' is not concurrency-safe because non-'Sendable' type 'GraphQLFieldDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
489 | */
490 |
491 | let SchemaMetaFieldDef = GraphQLFieldDefinition(
| |- warning: let 'SchemaMetaFieldDef' is not concurrency-safe because non-'Sendable' type 'GraphQLFieldDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'SchemaMetaFieldDef' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
492 | name: "__schema",
493 | type: GraphQLNonNull(__Schema),
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:524:20: note: class 'GraphQLFieldDefinition' does not conform to the 'Sendable' protocol
522 | public typealias GraphQLFieldDefinitionMap = OrderedDictionary<String, GraphQLFieldDefinition>
523 |
524 | public final class GraphQLFieldDefinition {
| `- note: class 'GraphQLFieldDefinition' does not conform to the 'Sendable' protocol
525 | public let name: String
526 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:512:38: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
510 | resolve: { _, arguments, _, eventLoopGroup, info in
511 | let name = arguments["name"].string!
512 | return eventLoopGroup.next().makeSucceededFuture(info.schema.getType(name: name))
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
513 | }
514 | )
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:500:5: warning: let 'TypeMetaFieldDef' is not concurrency-safe because non-'Sendable' type 'GraphQLFieldDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
498 | )
499 |
500 | let TypeMetaFieldDef = GraphQLFieldDefinition(
| |- warning: let 'TypeMetaFieldDef' is not concurrency-safe because non-'Sendable' type 'GraphQLFieldDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'TypeMetaFieldDef' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
501 | name: "__type",
502 | type: __Type,
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:524:20: note: class 'GraphQLFieldDefinition' does not conform to the 'Sendable' protocol
522 | public typealias GraphQLFieldDefinitionMap = OrderedDictionary<String, GraphQLFieldDefinition>
523 |
524 | public final class GraphQLFieldDefinition {
| `- note: class 'GraphQLFieldDefinition' does not conform to the 'Sendable' protocol
525 | public let name: String
526 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:521:31: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
519 | description: "The name of the current Object type at runtime.",
520 | resolve: { _, _, _, eventLoopGroup, info in
521 | eventLoopGroup.next().makeSucceededFuture(info.parentType.name)
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
522 | }
523 | )
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:516:5: warning: let 'TypeNameMetaFieldDef' is not concurrency-safe because non-'Sendable' type 'GraphQLFieldDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
514 | )
515 |
516 | let TypeNameMetaFieldDef = GraphQLFieldDefinition(
| |- warning: let 'TypeNameMetaFieldDef' is not concurrency-safe because non-'Sendable' type 'GraphQLFieldDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'TypeNameMetaFieldDef' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
517 | name: "__typename",
518 | type: GraphQLNonNull(GraphQLString),
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:524:20: note: class 'GraphQLFieldDefinition' does not conform to the 'Sendable' protocol
522 | public typealias GraphQLFieldDefinitionMap = OrderedDictionary<String, GraphQLFieldDefinition>
523 |
524 | public final class GraphQLFieldDefinition {
| `- note: class 'GraphQLFieldDefinition' does not conform to the 'Sendable' protocol
525 | public let name: String
526 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:525:5: warning: let 'introspectionTypes' is not concurrency-safe because non-'Sendable' type '[any GraphQLNamedType]' may have shared mutable state; this is an error in the Swift 6 language mode
523 | )
524 |
525 | let introspectionTypes: [GraphQLNamedType] = [
| |- warning: let 'introspectionTypes' is not concurrency-safe because non-'Sendable' type '[any GraphQLNamedType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'introspectionTypes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
526 | __Schema,
527 | __Directive,
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:113:17: note: protocol 'GraphQLNamedType' does not conform to the 'Sendable' protocol
111 | * These named types do not include modifiers like List or NonNull.
112 | */
113 | public protocol GraphQLNamedType: GraphQLNullableType {
| `- note: protocol 'GraphQLNamedType' does not conform to the 'Sendable' protocol
114 | var name: String { get }
115 | }
/host/spi-builder-workspace/Sources/GraphQL/Type/Scalars.swift:13:12: warning: let 'GraphQLInt' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | let GRAPHQL_MIN_INT = -2_147_483_648
12 |
13 | public let GraphQLInt = try! GraphQLScalarType(
| |- warning: let 'GraphQLInt' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'GraphQLInt' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | name: "Int",
15 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:161:20: note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
159 | *
160 | */
161 | public final class GraphQLScalarType {
| `- note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
162 | public let name: String
163 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Scalars.swift:69:12: warning: let 'GraphQLFloat' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
67 | )
68 |
69 | public let GraphQLFloat = try! GraphQLScalarType(
| |- warning: let 'GraphQLFloat' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'GraphQLFloat' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | name: "Float",
71 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:161:20: note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
159 | *
160 | */
161 | public final class GraphQLScalarType {
| `- note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
162 | public let name: String
163 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Scalars.swift:225:12: warning: let 'GraphQLID' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
223 | )
224 |
225 | public let GraphQLID = try! GraphQLScalarType(
| |- warning: let 'GraphQLID' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'GraphQLID' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
226 | name: "ID",
227 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:161:20: note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
159 | *
160 | */
161 | public final class GraphQLScalarType {
| `- note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
162 | public let name: String
163 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Scalars.swift:278:5: warning: let 'specifiedScalarTypes' is not concurrency-safe because non-'Sendable' type '[GraphQLScalarType]' may have shared mutable state; this is an error in the Swift 6 language mode
276 | )
277 |
278 | let specifiedScalarTypes = [
| |- warning: let 'specifiedScalarTypes' is not concurrency-safe because non-'Sendable' type '[GraphQLScalarType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'specifiedScalarTypes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
279 | GraphQLString,
280 | GraphQLInt,
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:161:20: note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
159 | *
160 | */
161 | public final class GraphQLScalarType {
| `- note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
162 | public let name: String
163 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Instrumentation/Instrumentation.swift:77:12: warning: let 'NoOpInstrumentation' is not concurrency-safe because non-'Sendable' type 'any Instrumentation' may have shared mutable state; this is an error in the Swift 6 language mode
6 | ///
7 | /// A working implementation of `now` is also provided by default.
8 | public protocol Instrumentation {
| `- note: protocol 'Instrumentation' does not conform to the 'Sendable' protocol
9 | var now: DispatchTime { get }
10 |
:
75 |
76 | /// Does nothing
77 | public let NoOpInstrumentation: Instrumentation = noOpInstrumentation()
| |- warning: let 'NoOpInstrumentation' is not concurrency-safe because non-'Sendable' type 'any Instrumentation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NoOpInstrumentation' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 |
79 | struct noOpInstrumentation: Instrumentation {
/host/spi-builder-workspace/Sources/GraphQL/Utilities/ExtendSchema.swift:951:5: warning: let 'stdTypeMap' is not concurrency-safe because non-'Sendable' type '[String : any GraphQLNamedType]' may have shared mutable state; this is an error in the Swift 6 language mode
949 | }
950 |
951 | let stdTypeMap = {
| |- warning: let 'stdTypeMap' is not concurrency-safe because non-'Sendable' type '[String : any GraphQLNamedType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stdTypeMap' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
952 | var types = [GraphQLNamedType]()
953 | types.append(contentsOf: specifiedScalarTypes)
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:113:17: note: protocol 'GraphQLNamedType' does not conform to the 'Sendable' protocol
111 | * These named types do not include modifiers like List or NonNull.
112 | */
113 | public protocol GraphQLNamedType: GraphQLNullableType {
| `- note: protocol 'GraphQLNamedType' does not conform to the 'Sendable' protocol
114 | var name: String { get }
115 | }
[388/389] Compiling GraphQL ConcatAST.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:210:5: warning: let 'defaultParseValue' is not concurrency-safe because non-'Sendable' type '(Map) throws -> Map' may have shared mutable state; this is an error in the Swift 6 language mode
208 | }
209 |
210 | let defaultParseValue: ((Map) throws -> Map) = { value in
| |- warning: let 'defaultParseValue' is not concurrency-safe because non-'Sendable' type '(Map) throws -> Map' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultParseValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
211 | value
212 | }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:214:5: warning: let 'defaultParseLiteral' is not concurrency-safe because non-'Sendable' type '(any Value) throws -> Map' may have shared mutable state; this is an error in the Swift 6 language mode
212 | }
213 |
214 | let defaultParseLiteral: ((Value) throws -> Map) = { value in
| |- warning: let 'defaultParseLiteral' is not concurrency-safe because non-'Sendable' type '(any Value) throws -> Map' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultParseLiteral' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
215 | try valueFromASTUntyped(valueAST: value)
216 | }
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:516:42: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
514 | self.resolve = { source, args, context, eventLoopGroup, info in
515 | let result = try resolve(source, args, context, info)
516 | return eventLoopGroup.next().makeSucceededFuture(result)
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
517 | }
518 | subscribe = nil
/host/spi-builder-workspace/Sources/GraphQL/Type/Directives.swift:69:12: warning: let 'GraphQLIncludeDirective' is not concurrency-safe because non-'Sendable' type 'GraphQLDirective' may have shared mutable state; this is an error in the Swift 6 language mode
30 | * behavior. Type system creators will usually not create these directly.
31 | */
32 | public final class GraphQLDirective {
| `- note: class 'GraphQLDirective' does not conform to the 'Sendable' protocol
33 | public let name: String
34 | public let description: String?
:
67 | * Used to conditionally include fields or fragments.
68 | */
69 | public let GraphQLIncludeDirective = try! GraphQLDirective(
| |- warning: let 'GraphQLIncludeDirective' is not concurrency-safe because non-'Sendable' type 'GraphQLDirective' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'GraphQLIncludeDirective' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | name: "include",
71 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Scalars.swift:175:12: warning: let 'GraphQLBoolean' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
173 | )
174 |
175 | public let GraphQLBoolean = try! GraphQLScalarType(
| |- warning: let 'GraphQLBoolean' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'GraphQLBoolean' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
176 | name: "Boolean",
177 | description: "The `Boolean` scalar type represents `true` or `false`.",
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:161:20: note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
159 | *
160 | */
161 | public final class GraphQLScalarType {
| `- note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
162 | public let name: String
163 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Directives.swift:90:12: warning: let 'GraphQLSkipDirective' is not concurrency-safe because non-'Sendable' type 'GraphQLDirective' may have shared mutable state; this is an error in the Swift 6 language mode
30 | * behavior. Type system creators will usually not create these directly.
31 | */
32 | public final class GraphQLDirective {
| `- note: class 'GraphQLDirective' does not conform to the 'Sendable' protocol
33 | public let name: String
34 | public let description: String?
:
88 | * Used to conditionally skip (exclude) fields or fragments.
89 | */
90 | public let GraphQLSkipDirective = try! GraphQLDirective(
| |- warning: let 'GraphQLSkipDirective' is not concurrency-safe because non-'Sendable' type 'GraphQLDirective' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'GraphQLSkipDirective' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | name: "skip",
92 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Directives.swift:116:12: warning: let 'GraphQLDeprecatedDirective' is not concurrency-safe because non-'Sendable' type 'GraphQLDirective' may have shared mutable state; this is an error in the Swift 6 language mode
30 | * behavior. Type system creators will usually not create these directly.
31 | */
32 | public final class GraphQLDirective {
| `- note: class 'GraphQLDirective' does not conform to the 'Sendable' protocol
33 | public let name: String
34 | public let description: String?
:
114 | * Used to declare element of a GraphQL schema as deprecated.
115 | */
116 | public let GraphQLDeprecatedDirective = try! GraphQLDirective(
| |- warning: let 'GraphQLDeprecatedDirective' is not concurrency-safe because non-'Sendable' type 'GraphQLDirective' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'GraphQLDeprecatedDirective' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 | name: "deprecated",
118 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Scalars.swift:124:12: warning: let 'GraphQLString' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
122 | )
123 |
124 | public let GraphQLString = try! GraphQLScalarType(
| |- warning: let 'GraphQLString' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'GraphQLString' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
125 | name: "String",
126 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:161:20: note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
159 | *
160 | */
161 | public final class GraphQLScalarType {
| `- note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
162 | public let name: String
163 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Directives.swift:142:12: warning: let 'GraphQLSpecifiedByDirective' is not concurrency-safe because non-'Sendable' type 'GraphQLDirective' may have shared mutable state; this is an error in the Swift 6 language mode
30 | * behavior. Type system creators will usually not create these directly.
31 | */
32 | public final class GraphQLDirective {
| `- note: class 'GraphQLDirective' does not conform to the 'Sendable' protocol
33 | public let name: String
34 | public let description: String?
:
140 | * Used to provide a URL for specifying the behavior of custom scalar definitions.
141 | */
142 | public let GraphQLSpecifiedByDirective = try! GraphQLDirective(
| |- warning: let 'GraphQLSpecifiedByDirective' is not concurrency-safe because non-'Sendable' type 'GraphQLDirective' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'GraphQLSpecifiedByDirective' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
143 | name: "specifiedBy",
144 | description: "Exposes a URL that specifies the behavior of this scalar.",
/host/spi-builder-workspace/Sources/GraphQL/Type/Directives.swift:157:12: warning: let 'GraphQLOneOfDirective' is not concurrency-safe because non-'Sendable' type 'GraphQLDirective' may have shared mutable state; this is an error in the Swift 6 language mode
30 | * behavior. Type system creators will usually not create these directly.
31 | */
32 | public final class GraphQLDirective {
| `- note: class 'GraphQLDirective' does not conform to the 'Sendable' protocol
33 | public let name: String
34 | public let description: String?
:
155 | * Used to indicate an Input Object is a OneOf Input Object.
156 | */
157 | public let GraphQLOneOfDirective = try! GraphQLDirective(
| |- warning: let 'GraphQLOneOfDirective' is not concurrency-safe because non-'Sendable' type 'GraphQLDirective' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'GraphQLOneOfDirective' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
158 | name: "oneOf",
159 | description: "Indicates exactly one field must be supplied and this field must not be \\`null\\`.",
/host/spi-builder-workspace/Sources/GraphQL/Type/Directives.swift:167:5: warning: let 'specifiedDirectives' is not concurrency-safe because non-'Sendable' type '[GraphQLDirective]' may have shared mutable state; this is an error in the Swift 6 language mode
30 | * behavior. Type system creators will usually not create these directly.
31 | */
32 | public final class GraphQLDirective {
| `- note: class 'GraphQLDirective' does not conform to the 'Sendable' protocol
33 | public let name: String
34 | public let description: String?
:
165 | * The full list of specified directives.
166 | */
167 | let specifiedDirectives: [GraphQLDirective] = [
| |- warning: let 'specifiedDirectives' is not concurrency-safe because non-'Sendable' type '[GraphQLDirective]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'specifiedDirectives' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
168 | GraphQLIncludeDirective,
169 | GraphQLSkipDirective,
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:3:5: warning: let '__Schema' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import NIO
2 |
3 | let __Schema = try! GraphQLObjectType(
| |- warning: let '__Schema' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '__Schema' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
4 | name: "__Schema",
5 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:276:20: note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
274 | *
275 | */
276 | public final class GraphQLObjectType {
| `- note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
277 | public let name: String
278 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:193:5: warning: let '__Type' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
191 | )
192 |
193 | let __Type: GraphQLObjectType = {
| |- warning: let '__Type' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '__Type' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
194 | let __Type = try! GraphQLObjectType(
195 | name: "__Type",
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:276:20: note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
274 | *
275 | */
276 | public final class GraphQLObjectType {
| `- note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
277 | public let name: String
278 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:74:5: warning: let '__Directive' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
72 | )
73 |
74 | let __Directive = try! GraphQLObjectType(
| |- warning: let '__Directive' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '__Directive' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | name: "__Directive",
76 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:276:20: note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
274 | *
275 | */
276 | public final class GraphQLObjectType {
| `- note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
277 | public let name: String
278 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:104:5: warning: let '__DirectiveLocation' is not concurrency-safe because non-'Sendable' type 'GraphQLEnumType' may have shared mutable state; this is an error in the Swift 6 language mode
102 | )
103 |
104 | let __DirectiveLocation = try! GraphQLEnumType(
| |- warning: let '__DirectiveLocation' is not concurrency-safe because non-'Sendable' type 'GraphQLEnumType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '__DirectiveLocation' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | name: "__DirectiveLocation",
106 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:860:20: note: class 'GraphQLEnumType' does not conform to the 'Sendable' protocol
858 | * will be used as its internal value.
859 | */
860 | public final class GraphQLEnumType {
| `- note: class 'GraphQLEnumType' does not conform to the 'Sendable' protocol
861 | public let name: String
862 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:375:5: warning: let '__InputValue' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
373 | )
374 |
375 | let __InputValue = try! GraphQLObjectType(
| |- warning: let '__InputValue' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '__InputValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
376 | name: "__InputValue",
377 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:276:20: note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
274 | *
275 | */
276 | public final class GraphQLObjectType {
| `- note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
277 | public let name: String
278 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:440:5: warning: let '__TypeKind' is not concurrency-safe because non-'Sendable' type 'GraphQLEnumType' may have shared mutable state; this is an error in the Swift 6 language mode
438 | }
439 |
440 | let __TypeKind = try! GraphQLEnumType(
| |- warning: let '__TypeKind' is not concurrency-safe because non-'Sendable' type 'GraphQLEnumType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '__TypeKind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
441 | name: "__TypeKind",
442 | description: "An enum describing what kind of type a given \\`__Type\\` is.",
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:860:20: note: class 'GraphQLEnumType' does not conform to the 'Sendable' protocol
858 | * will be used as its internal value.
859 | */
860 | public final class GraphQLEnumType {
| `- note: class 'GraphQLEnumType' does not conform to the 'Sendable' protocol
861 | public let name: String
862 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:348:5: warning: let '__Field' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
346 | }()
347 |
348 | let __Field = try! GraphQLObjectType(
| |- warning: let '__Field' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '__Field' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
349 | name: "__Field",
350 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:276:20: note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
274 | *
275 | */
276 | public final class GraphQLObjectType {
| `- note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
277 | public let name: String
278 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:415:5: warning: let '__EnumValue' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
413 | )
414 |
415 | let __EnumValue = try! GraphQLObjectType(
| |- warning: let '__EnumValue' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '__EnumValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
416 | name: "__EnumValue",
417 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:276:20: note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
274 | *
275 | */
276 | public final class GraphQLObjectType {
| `- note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
277 | public let name: String
278 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:496:31: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
494 | description: "Access the current type schema of this server.",
495 | resolve: { _, _, _, eventLoopGroup, info in
496 | eventLoopGroup.next().makeSucceededFuture(info.schema)
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
497 | }
498 | )
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:491:5: warning: let 'SchemaMetaFieldDef' is not concurrency-safe because non-'Sendable' type 'GraphQLFieldDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
489 | */
490 |
491 | let SchemaMetaFieldDef = GraphQLFieldDefinition(
| |- warning: let 'SchemaMetaFieldDef' is not concurrency-safe because non-'Sendable' type 'GraphQLFieldDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'SchemaMetaFieldDef' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
492 | name: "__schema",
493 | type: GraphQLNonNull(__Schema),
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:524:20: note: class 'GraphQLFieldDefinition' does not conform to the 'Sendable' protocol
522 | public typealias GraphQLFieldDefinitionMap = OrderedDictionary<String, GraphQLFieldDefinition>
523 |
524 | public final class GraphQLFieldDefinition {
| `- note: class 'GraphQLFieldDefinition' does not conform to the 'Sendable' protocol
525 | public let name: String
526 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:512:38: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
510 | resolve: { _, arguments, _, eventLoopGroup, info in
511 | let name = arguments["name"].string!
512 | return eventLoopGroup.next().makeSucceededFuture(info.schema.getType(name: name))
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
513 | }
514 | )
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:500:5: warning: let 'TypeMetaFieldDef' is not concurrency-safe because non-'Sendable' type 'GraphQLFieldDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
498 | )
499 |
500 | let TypeMetaFieldDef = GraphQLFieldDefinition(
| |- warning: let 'TypeMetaFieldDef' is not concurrency-safe because non-'Sendable' type 'GraphQLFieldDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'TypeMetaFieldDef' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
501 | name: "__type",
502 | type: __Type,
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:524:20: note: class 'GraphQLFieldDefinition' does not conform to the 'Sendable' protocol
522 | public typealias GraphQLFieldDefinitionMap = OrderedDictionary<String, GraphQLFieldDefinition>
523 |
524 | public final class GraphQLFieldDefinition {
| `- note: class 'GraphQLFieldDefinition' does not conform to the 'Sendable' protocol
525 | public let name: String
526 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:521:31: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
519 | description: "The name of the current Object type at runtime.",
520 | resolve: { _, _, _, eventLoopGroup, info in
521 | eventLoopGroup.next().makeSucceededFuture(info.parentType.name)
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
522 | }
523 | )
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:516:5: warning: let 'TypeNameMetaFieldDef' is not concurrency-safe because non-'Sendable' type 'GraphQLFieldDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
514 | )
515 |
516 | let TypeNameMetaFieldDef = GraphQLFieldDefinition(
| |- warning: let 'TypeNameMetaFieldDef' is not concurrency-safe because non-'Sendable' type 'GraphQLFieldDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'TypeNameMetaFieldDef' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
517 | name: "__typename",
518 | type: GraphQLNonNull(GraphQLString),
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:524:20: note: class 'GraphQLFieldDefinition' does not conform to the 'Sendable' protocol
522 | public typealias GraphQLFieldDefinitionMap = OrderedDictionary<String, GraphQLFieldDefinition>
523 |
524 | public final class GraphQLFieldDefinition {
| `- note: class 'GraphQLFieldDefinition' does not conform to the 'Sendable' protocol
525 | public let name: String
526 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:525:5: warning: let 'introspectionTypes' is not concurrency-safe because non-'Sendable' type '[any GraphQLNamedType]' may have shared mutable state; this is an error in the Swift 6 language mode
523 | )
524 |
525 | let introspectionTypes: [GraphQLNamedType] = [
| |- warning: let 'introspectionTypes' is not concurrency-safe because non-'Sendable' type '[any GraphQLNamedType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'introspectionTypes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
526 | __Schema,
527 | __Directive,
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:113:17: note: protocol 'GraphQLNamedType' does not conform to the 'Sendable' protocol
111 | * These named types do not include modifiers like List or NonNull.
112 | */
113 | public protocol GraphQLNamedType: GraphQLNullableType {
| `- note: protocol 'GraphQLNamedType' does not conform to the 'Sendable' protocol
114 | var name: String { get }
115 | }
/host/spi-builder-workspace/Sources/GraphQL/Type/Scalars.swift:13:12: warning: let 'GraphQLInt' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | let GRAPHQL_MIN_INT = -2_147_483_648
12 |
13 | public let GraphQLInt = try! GraphQLScalarType(
| |- warning: let 'GraphQLInt' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'GraphQLInt' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | name: "Int",
15 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:161:20: note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
159 | *
160 | */
161 | public final class GraphQLScalarType {
| `- note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
162 | public let name: String
163 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Scalars.swift:69:12: warning: let 'GraphQLFloat' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
67 | )
68 |
69 | public let GraphQLFloat = try! GraphQLScalarType(
| |- warning: let 'GraphQLFloat' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'GraphQLFloat' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | name: "Float",
71 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:161:20: note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
159 | *
160 | */
161 | public final class GraphQLScalarType {
| `- note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
162 | public let name: String
163 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Scalars.swift:225:12: warning: let 'GraphQLID' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
223 | )
224 |
225 | public let GraphQLID = try! GraphQLScalarType(
| |- warning: let 'GraphQLID' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'GraphQLID' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
226 | name: "ID",
227 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:161:20: note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
159 | *
160 | */
161 | public final class GraphQLScalarType {
| `- note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
162 | public let name: String
163 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Scalars.swift:278:5: warning: let 'specifiedScalarTypes' is not concurrency-safe because non-'Sendable' type '[GraphQLScalarType]' may have shared mutable state; this is an error in the Swift 6 language mode
276 | )
277 |
278 | let specifiedScalarTypes = [
| |- warning: let 'specifiedScalarTypes' is not concurrency-safe because non-'Sendable' type '[GraphQLScalarType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'specifiedScalarTypes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
279 | GraphQLString,
280 | GraphQLInt,
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:161:20: note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
159 | *
160 | */
161 | public final class GraphQLScalarType {
| `- note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
162 | public let name: String
163 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Instrumentation/Instrumentation.swift:77:12: warning: let 'NoOpInstrumentation' is not concurrency-safe because non-'Sendable' type 'any Instrumentation' may have shared mutable state; this is an error in the Swift 6 language mode
6 | ///
7 | /// A working implementation of `now` is also provided by default.
8 | public protocol Instrumentation {
| `- note: protocol 'Instrumentation' does not conform to the 'Sendable' protocol
9 | var now: DispatchTime { get }
10 |
:
75 |
76 | /// Does nothing
77 | public let NoOpInstrumentation: Instrumentation = noOpInstrumentation()
| |- warning: let 'NoOpInstrumentation' is not concurrency-safe because non-'Sendable' type 'any Instrumentation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NoOpInstrumentation' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 |
79 | struct noOpInstrumentation: Instrumentation {
/host/spi-builder-workspace/Sources/GraphQL/Utilities/ExtendSchema.swift:951:5: warning: let 'stdTypeMap' is not concurrency-safe because non-'Sendable' type '[String : any GraphQLNamedType]' may have shared mutable state; this is an error in the Swift 6 language mode
949 | }
950 |
951 | let stdTypeMap = {
| |- warning: let 'stdTypeMap' is not concurrency-safe because non-'Sendable' type '[String : any GraphQLNamedType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stdTypeMap' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
952 | var types = [GraphQLNamedType]()
953 | types.append(contentsOf: specifiedScalarTypes)
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:113:17: note: protocol 'GraphQLNamedType' does not conform to the 'Sendable' protocol
111 | * These named types do not include modifiers like List or NonNull.
112 | */
113 | public protocol GraphQLNamedType: GraphQLNullableType {
| `- note: protocol 'GraphQLNamedType' does not conform to the 'Sendable' protocol
114 | var name: String { get }
115 | }
[389/389] Compiling GraphQL ExtendSchema.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:210:5: warning: let 'defaultParseValue' is not concurrency-safe because non-'Sendable' type '(Map) throws -> Map' may have shared mutable state; this is an error in the Swift 6 language mode
208 | }
209 |
210 | let defaultParseValue: ((Map) throws -> Map) = { value in
| |- warning: let 'defaultParseValue' is not concurrency-safe because non-'Sendable' type '(Map) throws -> Map' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultParseValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
211 | value
212 | }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:214:5: warning: let 'defaultParseLiteral' is not concurrency-safe because non-'Sendable' type '(any Value) throws -> Map' may have shared mutable state; this is an error in the Swift 6 language mode
212 | }
213 |
214 | let defaultParseLiteral: ((Value) throws -> Map) = { value in
| |- warning: let 'defaultParseLiteral' is not concurrency-safe because non-'Sendable' type '(any Value) throws -> Map' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultParseLiteral' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
215 | try valueFromASTUntyped(valueAST: value)
216 | }
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:516:42: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
514 | self.resolve = { source, args, context, eventLoopGroup, info in
515 | let result = try resolve(source, args, context, info)
516 | return eventLoopGroup.next().makeSucceededFuture(result)
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
517 | }
518 | subscribe = nil
/host/spi-builder-workspace/Sources/GraphQL/Type/Directives.swift:69:12: warning: let 'GraphQLIncludeDirective' is not concurrency-safe because non-'Sendable' type 'GraphQLDirective' may have shared mutable state; this is an error in the Swift 6 language mode
30 | * behavior. Type system creators will usually not create these directly.
31 | */
32 | public final class GraphQLDirective {
| `- note: class 'GraphQLDirective' does not conform to the 'Sendable' protocol
33 | public let name: String
34 | public let description: String?
:
67 | * Used to conditionally include fields or fragments.
68 | */
69 | public let GraphQLIncludeDirective = try! GraphQLDirective(
| |- warning: let 'GraphQLIncludeDirective' is not concurrency-safe because non-'Sendable' type 'GraphQLDirective' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'GraphQLIncludeDirective' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | name: "include",
71 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Scalars.swift:175:12: warning: let 'GraphQLBoolean' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
173 | )
174 |
175 | public let GraphQLBoolean = try! GraphQLScalarType(
| |- warning: let 'GraphQLBoolean' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'GraphQLBoolean' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
176 | name: "Boolean",
177 | description: "The `Boolean` scalar type represents `true` or `false`.",
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:161:20: note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
159 | *
160 | */
161 | public final class GraphQLScalarType {
| `- note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
162 | public let name: String
163 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Directives.swift:90:12: warning: let 'GraphQLSkipDirective' is not concurrency-safe because non-'Sendable' type 'GraphQLDirective' may have shared mutable state; this is an error in the Swift 6 language mode
30 | * behavior. Type system creators will usually not create these directly.
31 | */
32 | public final class GraphQLDirective {
| `- note: class 'GraphQLDirective' does not conform to the 'Sendable' protocol
33 | public let name: String
34 | public let description: String?
:
88 | * Used to conditionally skip (exclude) fields or fragments.
89 | */
90 | public let GraphQLSkipDirective = try! GraphQLDirective(
| |- warning: let 'GraphQLSkipDirective' is not concurrency-safe because non-'Sendable' type 'GraphQLDirective' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'GraphQLSkipDirective' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | name: "skip",
92 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Directives.swift:116:12: warning: let 'GraphQLDeprecatedDirective' is not concurrency-safe because non-'Sendable' type 'GraphQLDirective' may have shared mutable state; this is an error in the Swift 6 language mode
30 | * behavior. Type system creators will usually not create these directly.
31 | */
32 | public final class GraphQLDirective {
| `- note: class 'GraphQLDirective' does not conform to the 'Sendable' protocol
33 | public let name: String
34 | public let description: String?
:
114 | * Used to declare element of a GraphQL schema as deprecated.
115 | */
116 | public let GraphQLDeprecatedDirective = try! GraphQLDirective(
| |- warning: let 'GraphQLDeprecatedDirective' is not concurrency-safe because non-'Sendable' type 'GraphQLDirective' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'GraphQLDeprecatedDirective' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 | name: "deprecated",
118 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Scalars.swift:124:12: warning: let 'GraphQLString' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
122 | )
123 |
124 | public let GraphQLString = try! GraphQLScalarType(
| |- warning: let 'GraphQLString' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'GraphQLString' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
125 | name: "String",
126 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:161:20: note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
159 | *
160 | */
161 | public final class GraphQLScalarType {
| `- note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
162 | public let name: String
163 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Directives.swift:142:12: warning: let 'GraphQLSpecifiedByDirective' is not concurrency-safe because non-'Sendable' type 'GraphQLDirective' may have shared mutable state; this is an error in the Swift 6 language mode
30 | * behavior. Type system creators will usually not create these directly.
31 | */
32 | public final class GraphQLDirective {
| `- note: class 'GraphQLDirective' does not conform to the 'Sendable' protocol
33 | public let name: String
34 | public let description: String?
:
140 | * Used to provide a URL for specifying the behavior of custom scalar definitions.
141 | */
142 | public let GraphQLSpecifiedByDirective = try! GraphQLDirective(
| |- warning: let 'GraphQLSpecifiedByDirective' is not concurrency-safe because non-'Sendable' type 'GraphQLDirective' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'GraphQLSpecifiedByDirective' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
143 | name: "specifiedBy",
144 | description: "Exposes a URL that specifies the behavior of this scalar.",
/host/spi-builder-workspace/Sources/GraphQL/Type/Directives.swift:157:12: warning: let 'GraphQLOneOfDirective' is not concurrency-safe because non-'Sendable' type 'GraphQLDirective' may have shared mutable state; this is an error in the Swift 6 language mode
30 | * behavior. Type system creators will usually not create these directly.
31 | */
32 | public final class GraphQLDirective {
| `- note: class 'GraphQLDirective' does not conform to the 'Sendable' protocol
33 | public let name: String
34 | public let description: String?
:
155 | * Used to indicate an Input Object is a OneOf Input Object.
156 | */
157 | public let GraphQLOneOfDirective = try! GraphQLDirective(
| |- warning: let 'GraphQLOneOfDirective' is not concurrency-safe because non-'Sendable' type 'GraphQLDirective' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'GraphQLOneOfDirective' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
158 | name: "oneOf",
159 | description: "Indicates exactly one field must be supplied and this field must not be \\`null\\`.",
/host/spi-builder-workspace/Sources/GraphQL/Type/Directives.swift:167:5: warning: let 'specifiedDirectives' is not concurrency-safe because non-'Sendable' type '[GraphQLDirective]' may have shared mutable state; this is an error in the Swift 6 language mode
30 | * behavior. Type system creators will usually not create these directly.
31 | */
32 | public final class GraphQLDirective {
| `- note: class 'GraphQLDirective' does not conform to the 'Sendable' protocol
33 | public let name: String
34 | public let description: String?
:
165 | * The full list of specified directives.
166 | */
167 | let specifiedDirectives: [GraphQLDirective] = [
| |- warning: let 'specifiedDirectives' is not concurrency-safe because non-'Sendable' type '[GraphQLDirective]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'specifiedDirectives' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
168 | GraphQLIncludeDirective,
169 | GraphQLSkipDirective,
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:3:5: warning: let '__Schema' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import NIO
2 |
3 | let __Schema = try! GraphQLObjectType(
| |- warning: let '__Schema' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '__Schema' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
4 | name: "__Schema",
5 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:276:20: note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
274 | *
275 | */
276 | public final class GraphQLObjectType {
| `- note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
277 | public let name: String
278 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:193:5: warning: let '__Type' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
191 | )
192 |
193 | let __Type: GraphQLObjectType = {
| |- warning: let '__Type' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '__Type' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
194 | let __Type = try! GraphQLObjectType(
195 | name: "__Type",
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:276:20: note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
274 | *
275 | */
276 | public final class GraphQLObjectType {
| `- note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
277 | public let name: String
278 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:74:5: warning: let '__Directive' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
72 | )
73 |
74 | let __Directive = try! GraphQLObjectType(
| |- warning: let '__Directive' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '__Directive' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | name: "__Directive",
76 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:276:20: note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
274 | *
275 | */
276 | public final class GraphQLObjectType {
| `- note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
277 | public let name: String
278 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:104:5: warning: let '__DirectiveLocation' is not concurrency-safe because non-'Sendable' type 'GraphQLEnumType' may have shared mutable state; this is an error in the Swift 6 language mode
102 | )
103 |
104 | let __DirectiveLocation = try! GraphQLEnumType(
| |- warning: let '__DirectiveLocation' is not concurrency-safe because non-'Sendable' type 'GraphQLEnumType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '__DirectiveLocation' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | name: "__DirectiveLocation",
106 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:860:20: note: class 'GraphQLEnumType' does not conform to the 'Sendable' protocol
858 | * will be used as its internal value.
859 | */
860 | public final class GraphQLEnumType {
| `- note: class 'GraphQLEnumType' does not conform to the 'Sendable' protocol
861 | public let name: String
862 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:375:5: warning: let '__InputValue' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
373 | )
374 |
375 | let __InputValue = try! GraphQLObjectType(
| |- warning: let '__InputValue' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '__InputValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
376 | name: "__InputValue",
377 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:276:20: note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
274 | *
275 | */
276 | public final class GraphQLObjectType {
| `- note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
277 | public let name: String
278 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:440:5: warning: let '__TypeKind' is not concurrency-safe because non-'Sendable' type 'GraphQLEnumType' may have shared mutable state; this is an error in the Swift 6 language mode
438 | }
439 |
440 | let __TypeKind = try! GraphQLEnumType(
| |- warning: let '__TypeKind' is not concurrency-safe because non-'Sendable' type 'GraphQLEnumType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '__TypeKind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
441 | name: "__TypeKind",
442 | description: "An enum describing what kind of type a given \\`__Type\\` is.",
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:860:20: note: class 'GraphQLEnumType' does not conform to the 'Sendable' protocol
858 | * will be used as its internal value.
859 | */
860 | public final class GraphQLEnumType {
| `- note: class 'GraphQLEnumType' does not conform to the 'Sendable' protocol
861 | public let name: String
862 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:348:5: warning: let '__Field' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
346 | }()
347 |
348 | let __Field = try! GraphQLObjectType(
| |- warning: let '__Field' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '__Field' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
349 | name: "__Field",
350 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:276:20: note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
274 | *
275 | */
276 | public final class GraphQLObjectType {
| `- note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
277 | public let name: String
278 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:415:5: warning: let '__EnumValue' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
413 | )
414 |
415 | let __EnumValue = try! GraphQLObjectType(
| |- warning: let '__EnumValue' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '__EnumValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
416 | name: "__EnumValue",
417 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:276:20: note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
274 | *
275 | */
276 | public final class GraphQLObjectType {
| `- note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
277 | public let name: String
278 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:496:31: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
494 | description: "Access the current type schema of this server.",
495 | resolve: { _, _, _, eventLoopGroup, info in
496 | eventLoopGroup.next().makeSucceededFuture(info.schema)
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
497 | }
498 | )
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:491:5: warning: let 'SchemaMetaFieldDef' is not concurrency-safe because non-'Sendable' type 'GraphQLFieldDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
489 | */
490 |
491 | let SchemaMetaFieldDef = GraphQLFieldDefinition(
| |- warning: let 'SchemaMetaFieldDef' is not concurrency-safe because non-'Sendable' type 'GraphQLFieldDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'SchemaMetaFieldDef' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
492 | name: "__schema",
493 | type: GraphQLNonNull(__Schema),
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:524:20: note: class 'GraphQLFieldDefinition' does not conform to the 'Sendable' protocol
522 | public typealias GraphQLFieldDefinitionMap = OrderedDictionary<String, GraphQLFieldDefinition>
523 |
524 | public final class GraphQLFieldDefinition {
| `- note: class 'GraphQLFieldDefinition' does not conform to the 'Sendable' protocol
525 | public let name: String
526 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:512:38: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
510 | resolve: { _, arguments, _, eventLoopGroup, info in
511 | let name = arguments["name"].string!
512 | return eventLoopGroup.next().makeSucceededFuture(info.schema.getType(name: name))
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
513 | }
514 | )
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:500:5: warning: let 'TypeMetaFieldDef' is not concurrency-safe because non-'Sendable' type 'GraphQLFieldDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
498 | )
499 |
500 | let TypeMetaFieldDef = GraphQLFieldDefinition(
| |- warning: let 'TypeMetaFieldDef' is not concurrency-safe because non-'Sendable' type 'GraphQLFieldDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'TypeMetaFieldDef' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
501 | name: "__type",
502 | type: __Type,
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:524:20: note: class 'GraphQLFieldDefinition' does not conform to the 'Sendable' protocol
522 | public typealias GraphQLFieldDefinitionMap = OrderedDictionary<String, GraphQLFieldDefinition>
523 |
524 | public final class GraphQLFieldDefinition {
| `- note: class 'GraphQLFieldDefinition' does not conform to the 'Sendable' protocol
525 | public let name: String
526 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:521:31: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
519 | description: "The name of the current Object type at runtime.",
520 | resolve: { _, _, _, eventLoopGroup, info in
521 | eventLoopGroup.next().makeSucceededFuture(info.parentType.name)
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
522 | }
523 | )
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:516:5: warning: let 'TypeNameMetaFieldDef' is not concurrency-safe because non-'Sendable' type 'GraphQLFieldDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
514 | )
515 |
516 | let TypeNameMetaFieldDef = GraphQLFieldDefinition(
| |- warning: let 'TypeNameMetaFieldDef' is not concurrency-safe because non-'Sendable' type 'GraphQLFieldDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'TypeNameMetaFieldDef' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
517 | name: "__typename",
518 | type: GraphQLNonNull(GraphQLString),
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:524:20: note: class 'GraphQLFieldDefinition' does not conform to the 'Sendable' protocol
522 | public typealias GraphQLFieldDefinitionMap = OrderedDictionary<String, GraphQLFieldDefinition>
523 |
524 | public final class GraphQLFieldDefinition {
| `- note: class 'GraphQLFieldDefinition' does not conform to the 'Sendable' protocol
525 | public let name: String
526 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:525:5: warning: let 'introspectionTypes' is not concurrency-safe because non-'Sendable' type '[any GraphQLNamedType]' may have shared mutable state; this is an error in the Swift 6 language mode
523 | )
524 |
525 | let introspectionTypes: [GraphQLNamedType] = [
| |- warning: let 'introspectionTypes' is not concurrency-safe because non-'Sendable' type '[any GraphQLNamedType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'introspectionTypes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
526 | __Schema,
527 | __Directive,
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:113:17: note: protocol 'GraphQLNamedType' does not conform to the 'Sendable' protocol
111 | * These named types do not include modifiers like List or NonNull.
112 | */
113 | public protocol GraphQLNamedType: GraphQLNullableType {
| `- note: protocol 'GraphQLNamedType' does not conform to the 'Sendable' protocol
114 | var name: String { get }
115 | }
/host/spi-builder-workspace/Sources/GraphQL/Type/Scalars.swift:13:12: warning: let 'GraphQLInt' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | let GRAPHQL_MIN_INT = -2_147_483_648
12 |
13 | public let GraphQLInt = try! GraphQLScalarType(
| |- warning: let 'GraphQLInt' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'GraphQLInt' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | name: "Int",
15 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:161:20: note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
159 | *
160 | */
161 | public final class GraphQLScalarType {
| `- note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
162 | public let name: String
163 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Scalars.swift:69:12: warning: let 'GraphQLFloat' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
67 | )
68 |
69 | public let GraphQLFloat = try! GraphQLScalarType(
| |- warning: let 'GraphQLFloat' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'GraphQLFloat' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | name: "Float",
71 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:161:20: note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
159 | *
160 | */
161 | public final class GraphQLScalarType {
| `- note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
162 | public let name: String
163 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Scalars.swift:225:12: warning: let 'GraphQLID' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
223 | )
224 |
225 | public let GraphQLID = try! GraphQLScalarType(
| |- warning: let 'GraphQLID' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'GraphQLID' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
226 | name: "ID",
227 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:161:20: note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
159 | *
160 | */
161 | public final class GraphQLScalarType {
| `- note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
162 | public let name: String
163 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Scalars.swift:278:5: warning: let 'specifiedScalarTypes' is not concurrency-safe because non-'Sendable' type '[GraphQLScalarType]' may have shared mutable state; this is an error in the Swift 6 language mode
276 | )
277 |
278 | let specifiedScalarTypes = [
| |- warning: let 'specifiedScalarTypes' is not concurrency-safe because non-'Sendable' type '[GraphQLScalarType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'specifiedScalarTypes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
279 | GraphQLString,
280 | GraphQLInt,
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:161:20: note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
159 | *
160 | */
161 | public final class GraphQLScalarType {
| `- note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
162 | public let name: String
163 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Instrumentation/Instrumentation.swift:77:12: warning: let 'NoOpInstrumentation' is not concurrency-safe because non-'Sendable' type 'any Instrumentation' may have shared mutable state; this is an error in the Swift 6 language mode
6 | ///
7 | /// A working implementation of `now` is also provided by default.
8 | public protocol Instrumentation {
| `- note: protocol 'Instrumentation' does not conform to the 'Sendable' protocol
9 | var now: DispatchTime { get }
10 |
:
75 |
76 | /// Does nothing
77 | public let NoOpInstrumentation: Instrumentation = noOpInstrumentation()
| |- warning: let 'NoOpInstrumentation' is not concurrency-safe because non-'Sendable' type 'any Instrumentation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NoOpInstrumentation' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 |
79 | struct noOpInstrumentation: Instrumentation {
/host/spi-builder-workspace/Sources/GraphQL/Utilities/ExtendSchema.swift:951:5: warning: let 'stdTypeMap' is not concurrency-safe because non-'Sendable' type '[String : any GraphQLNamedType]' may have shared mutable state; this is an error in the Swift 6 language mode
949 | }
950 |
951 | let stdTypeMap = {
| |- warning: let 'stdTypeMap' is not concurrency-safe because non-'Sendable' type '[String : any GraphQLNamedType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stdTypeMap' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
952 | var types = [GraphQLNamedType]()
953 | types.append(contentsOf: specifiedScalarTypes)
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:113:17: note: protocol 'GraphQLNamedType' does not conform to the 'Sendable' protocol
111 | * These named types do not include modifiers like List or NonNull.
112 | */
113 | public protocol GraphQLNamedType: GraphQLNullableType {
| `- note: protocol 'GraphQLNamedType' does not conform to the 'Sendable' protocol
114 | var name: String { get }
115 | }
Build complete! (82.37s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.10.1",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
},
{
"identity" : "swift-collections",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-collections"
}
],
"manifest_display_name" : "GraphQL",
"name" : "GraphQL",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "GraphQL",
"targets" : [
"GraphQL"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "GraphQLTests",
"module_type" : "SwiftTarget",
"name" : "GraphQLTests",
"path" : "Tests/GraphQLTests",
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/GraphQLTests/LanguageTests/kitchen-sink.graphql",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/GraphQLTests/LanguageTests/schema-kitchen-sink.graphql",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"ExecutionTests/OneOfTests.swift",
"FederationTests/FederationTests.swift",
"FieldExecutionStrategyTests/FieldExecutionStrategyTests.swift",
"HelloWorldTests/HelloWorldTests.swift",
"InputTests/InputTests.swift",
"InstrumentationTests/InstrumentationTests.swift",
"LanguageTests/BlockStringTests.swift",
"LanguageTests/LexerTests.swift",
"LanguageTests/ParserTests.swift",
"LanguageTests/PrintStringTests.swift",
"LanguageTests/PrinterTests.swift",
"LanguageTests/SchemaParserTests.swift",
"LanguageTests/SchemaPrinterTests.swift",
"LanguageTests/VisitorTests.swift",
"MapTests/MapTests.swift",
"PersistedQueriesTests/PersistedQueriesTests.swift",
"StarWarsTests/StarWarsData.swift",
"StarWarsTests/StarWarsIntrospectionTests.swift",
"StarWarsTests/StarWarsQueryTests.swift",
"StarWarsTests/StarWarsSchema.swift",
"StarWarsTests/StarWarsValidationTests.swift",
"SubscriptionTests/SimplePubSub.swift",
"SubscriptionTests/SubscriptionSchema.swift",
"SubscriptionTests/SubscriptionTests.swift",
"SwiftUtilitiesTests/DidYouMeanTests.swift",
"TypeTests/GraphQLArgumentDefinitionTests.swift",
"TypeTests/GraphQLSchemaTests.swift",
"TypeTests/IntrospectionTests.swift",
"TypeTests/ScalarTests.swift",
"TypeTests/ValidateSchemaTests.swift",
"UtilitiesTests/BuildASTSchemaTests.swift",
"UtilitiesTests/ConcatASTTests.swift",
"UtilitiesTests/ExtendSchemaTests.swift",
"UtilitiesTests/PrintSchemaTests.swift",
"ValidationTests/ExampleSchema.swift",
"ValidationTests/ExecutableDefinitionsRuleTests.swift",
"ValidationTests/FieldsOnCorrectTypeTests.swift",
"ValidationTests/FragmentsOnCompositeTypesRuleTests.swift",
"ValidationTests/KnownArgumentNamesOnDirectivesRuleTests.swift",
"ValidationTests/KnownArgumentNamesTests.swift",
"ValidationTests/KnownDirectivesRuleTests.swift",
"ValidationTests/KnownFragmentNamesTests.swift",
"ValidationTests/KnownTypeNamesRuleTests.swift",
"ValidationTests/LoneAnonymousOperationRuleTests.swift",
"ValidationTests/LoneSchemaDefinitionRuleTests.swift",
"ValidationTests/NoDeprecatedCustomRuleTests.swift",
"ValidationTests/NoFragmentCyclesRuleTests.swift",
"ValidationTests/NoUndefinedVariablesRuleTests.swift",
"ValidationTests/NoUnusedFragmentsRuleTests.swift",
"ValidationTests/NoUnusedVariablesRuleTests.swift",
"ValidationTests/PossibleFragmentSpreadsRuleRuleTests.swift",
"ValidationTests/PossibleTypeExtensionsRuleTests.swift",
"ValidationTests/ProvidedRequiredArgumentsOnDirectivesRuleTests.swift",
"ValidationTests/ProvidedRequiredArgumentsRuleTests.swift",
"ValidationTests/UniqueArgumentDefinitionNamesRuleTests.swift",
"ValidationTests/UniqueArgumentNamesRuleTests.swift",
"ValidationTests/UniqueDirectiveNamesRuleTests.swift",
"ValidationTests/UniqueDirectivesPerLocationRuleTests.swift",
"ValidationTests/UniqueEnumValueNamesRuleTests.swift",
"ValidationTests/UniqueFieldDefinitionNamesRuleTests.swift",
"ValidationTests/UniqueFragmentNamesRuleTests.swift",
"ValidationTests/UniqueInputFieldNamesRuleTests.swift",
"ValidationTests/UniqueOperationNamesRuleTests.swift",
"ValidationTests/UniqueOperationTypesRuleTests.swift",
"ValidationTests/UniqueTypeNamesRuleTests.swift",
"ValidationTests/UniqueVariableNamesRuleTests.swift",
"ValidationTests/ValidationTests.swift",
"ValidationTests/ValuesOfCorrectTypeRuleTests.swift",
"ValidationTests/VariablesAreInputTypesRuleTests.swift",
"ValidationTests/VariablesInAllowedPositionRuleTests.swift"
],
"target_dependencies" : [
"GraphQL"
],
"type" : "test"
},
{
"c99name" : "GraphQL",
"module_type" : "SwiftTarget",
"name" : "GraphQL",
"path" : "Sources/GraphQL",
"product_dependencies" : [
"NIO",
"OrderedCollections"
],
"product_memberships" : [
"GraphQL"
],
"sources" : [
"Error/GraphQLError.swift",
"Error/LocatedError.swift",
"Error/SyntaxError.swift",
"Execution/Execute.swift",
"Execution/Values.swift",
"Extensions/Codable+Extensions.swift",
"GraphQL.swift",
"GraphQLRequest.swift",
"Instrumentation/DispatchQueueInstrumentationWrapper.swift",
"Instrumentation/Instrumentation.swift",
"Language/AST.swift",
"Language/BlockString.swift",
"Language/CharacterClasses.swift",
"Language/Kinds.swift",
"Language/Lexer.swift",
"Language/Location.swift",
"Language/Parser.swift",
"Language/Predicates.swift",
"Language/PrintString.swift",
"Language/Printer.swift",
"Language/Source.swift",
"Language/Visitor.swift",
"Map/AnyCoder.swift",
"Map/AnySerialization.swift",
"Map/GraphQLJSONEncoder.swift",
"Map/Map.swift",
"Map/MapCoder.swift",
"Map/MapSerialization.swift",
"Map/Number.swift",
"PersistedQueries/PersistedQueries.swift",
"Subscription/EventStream.swift",
"Subscription/Subscribe.swift",
"SwiftUtilities/DidYouMean.swift",
"SwiftUtilities/Find.swift",
"SwiftUtilities/FormatList.swift",
"SwiftUtilities/IsNullish.swift",
"SwiftUtilities/KeyMap.swift",
"SwiftUtilities/Mirror.swift",
"SwiftUtilities/SuggestionList.swift",
"Type/Definition.swift",
"Type/Directives.swift",
"Type/Introspection.swift",
"Type/Scalars.swift",
"Type/Schema.swift",
"Type/Validation.swift",
"Utilities/ASTFromValue.swift",
"Utilities/AssertValidName.swift",
"Utilities/BuildASTSchema.swift",
"Utilities/ConcatAST.swift",
"Utilities/ExtendSchema.swift",
"Utilities/IsValidValue.swift",
"Utilities/Keyable.swift",
"Utilities/NIO+Extensions.swift",
"Utilities/PrintSchema.swift",
"Utilities/TypeComparators.swift",
"Utilities/TypeFromAST.swift",
"Utilities/TypeInfo.swift",
"Utilities/ValueFromAST.swift",
"Utilities/ValueFromASTUntyped.swift",
"Validation/Rules/Custom/NoDeprecatedCustomRule.swift",
"Validation/Rules/Custom/NoSchemaIntrospectionCustomRule.swift",
"Validation/Rules/ExecutableDefinitionsRule.swift",
"Validation/Rules/FieldsOnCorrectTypeRule.swift",
"Validation/Rules/FragmentsOnCompositeTypesRule.swift",
"Validation/Rules/KnownArgumentNamesOnDirectivesRule.swift",
"Validation/Rules/KnownArgumentNamesRule.swift",
"Validation/Rules/KnownDirectivesRule.swift",
"Validation/Rules/KnownFragmentNamesRule.swift",
"Validation/Rules/KnownTypeNamesRule.swift",
"Validation/Rules/LoneAnonymousOperationRule.swift",
"Validation/Rules/LoneSchemaDefinitionRule.swift",
"Validation/Rules/NoFragmentCyclesRule.swift",
"Validation/Rules/NoUndefinedVariablesRule.swift",
"Validation/Rules/NoUnusedFragmentsRule.swift",
"Validation/Rules/NoUnusedVariablesRule.swift",
"Validation/Rules/PossibleFragmentSpreadsRule.swift",
"Validation/Rules/PossibleTypeExtensionsRule.swift",
"Validation/Rules/ProvidedRequiredArgumentsOnDirectivesRule.swift",
"Validation/Rules/ProvidedRequiredArgumentsRule.swift",
"Validation/Rules/ScalarLeafsRule.swift",
"Validation/Rules/UniqueArgumentDefinitionNamesRule.swift",
"Validation/Rules/UniqueArgumentNamesRule.swift",
"Validation/Rules/UniqueDirectiveNamesRule.swift",
"Validation/Rules/UniqueDirectivesPerLocationRule.swift",
"Validation/Rules/UniqueEnumValueNamesRule.swift",
"Validation/Rules/UniqueFieldDefinitionNamesRule.swift",
"Validation/Rules/UniqueFragmentNamesRule.swift",
"Validation/Rules/UniqueInputFieldNamesRule.swift",
"Validation/Rules/UniqueOperationNamesRule.swift",
"Validation/Rules/UniqueOperationTypesRule.swift",
"Validation/Rules/UniqueTypeNamesRule.swift",
"Validation/Rules/UniqueVariableNamesRule.swift",
"Validation/Rules/ValuesOfCorrectTypeRule.swift",
"Validation/Rules/VariablesAreInputTypesRule.swift",
"Validation/Rules/VariablesInAllowedPositionRule.swift",
"Validation/SpecifiedRules.swift",
"Validation/Validate.swift",
"Validation/ValidationContext.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.