Build Information
Successful build of GraphQL, reference 3.0.2 (bd5419
), with Swift 6.1 for Linux on 1 May 2025 01:40:29 UTC.
Swift 6 data race errors: 52
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
204 | path: fieldPath
205 | )
/host/spi-builder-workspace/Sources/GraphQL/Language/AST.swift:708:20: note: class 'Field' does not conform to the 'Sendable' protocol
706 | }
707 |
708 | public final class Field {
| `- note: class 'Field' does not conform to the 'Sendable' protocol
709 | public let kind: Kind = .field
710 | public let loc: Location?
/host/spi-builder-workspace/Sources/GraphQL/Execution/Execute.swift:204:31: warning: capture of 'fieldPath' with non-sendable type 'IndexPath' in a '@Sendable' closure; this is an error in the Swift 6 language mode
202 | source: sourceValue,
203 | fieldASTs: fieldASTs,
204 | path: fieldPath
| `- warning: capture of 'fieldPath' with non-sendable type 'IndexPath' in a '@Sendable' closure; this is an error in the Swift 6 language mode
205 | )
206 | resultsQueue.async(group: group) {
/host/spi-builder-workspace/Sources/GraphQL/Error/GraphQLError.swift:172:15: note: consider making struct 'IndexPath' conform to the 'Sendable' protocol
170 | // MARK: IndexPath
171 |
172 | public struct IndexPath: Codable {
| `- note: consider making struct 'IndexPath' conform to the 'Sendable' protocol
173 | public let elements: [IndexPathValue]
174 |
/host/spi-builder-workspace/Sources/GraphQL/Execution/Execute.swift:195:23: warning: reference to captured var 'err' in concurrently-executing code; this is an error in the Swift 6 language mode
193 | let fieldPath = path.appending(fieldKey)
194 | dispatchQueue.async(group: group) {
195 | guard err == nil else {
| `- warning: reference to captured var 'err' in concurrently-executing code; this is an error in the Swift 6 language mode
196 | return
197 | }
/host/spi-builder-workspace/Sources/GraphQL/Execution/Execute.swift:207:25: warning: mutation of captured var 'results' in concurrently-executing code; this is an error in the Swift 6 language mode
205 | )
206 | resultsQueue.async(group: group) {
207 | results[fieldKey] = result.map { $0 ?? Map.null }
| `- warning: mutation of captured var 'results' in concurrently-executing code; this is an error in the Swift 6 language mode
208 | }
209 | } catch {
/host/spi-builder-workspace/Sources/GraphQL/Execution/Execute.swift:211:25: warning: mutation of captured var 'err' in concurrently-executing code; this is an error in the Swift 6 language mode
209 | } catch {
210 | resultsQueue.async(group: group) {
211 | err = error
| `- warning: mutation of captured var 'err' in concurrently-executing code; this is an error in the Swift 6 language mode
212 | }
213 | }
/host/spi-builder-workspace/Sources/GraphQL/Execution/Execute.swift:303:17: warning: capture of 'buildContext' with non-sendable type 'ExecutionContext' in a '@Sendable' closure
29 | * and the fragments defined in the query document
30 | */
31 | public final class ExecutionContext {
| `- note: class 'ExecutionContext' does not conform to the 'Sendable' protocol
32 | let queryStrategy: QueryFieldExecutionStrategy
33 | let mutationStrategy: MutationFieldExecutionStrategy
:
301 | var result: GraphQLResult = .init(data: dataMap)
302 |
303 | if !buildContext.errors.isEmpty {
| `- warning: capture of 'buildContext' with non-sendable type 'ExecutionContext' in a '@Sendable' closure
304 | result.errors = buildContext.errors
305 | }
/host/spi-builder-workspace/Sources/GraphQL/Execution/Execute.swift:317:20: warning: capture of 'buildContext' with non-sendable type 'ExecutionContext' in a '@Sendable' closure
29 | * and the fragments defined in the query document
30 | */
31 | public final class ExecutionContext {
| `- note: class 'ExecutionContext' does not conform to the 'Sendable' protocol
32 | let queryStrategy: QueryFieldExecutionStrategy
33 | let mutationStrategy: MutationFieldExecutionStrategy
:
315 | }
316 |
317 | return buildContext.eventLoopGroup.next().makeSucceededFuture(result)
| `- warning: capture of 'buildContext' with non-sendable type 'ExecutionContext' in a '@Sendable' closure
318 | }.map { result -> GraphQLResult in
319 | // instrumentation.operationExecution(
/host/spi-builder-workspace/Sources/GraphQL/Execution/Execute.swift:818:11: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
816 | path: path,
817 | result: result
818 | ).flatMapError { error -> EventLoopFuture<Any?> in
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
819 | guard let error = error as? GraphQLError else {
820 | return exeContext.eventLoopGroup.next().makeFailedFuture(error)
/host/spi-builder-workspace/Sources/GraphQL/Execution/Execute.swift:823:53: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
821 | }
822 | exeContext.append(error: error)
823 | return exeContext.eventLoopGroup.next().makeSucceededFuture(nil)
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
824 | }
825 |
/host/spi-builder-workspace/Sources/GraphQL/Execution/Execute.swift:831:49: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
829 | // log the error and return .null.
830 | exeContext.append(error: error)
831 | return exeContext.eventLoopGroup.next().makeSucceededFuture(nil)
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
832 | } catch {
833 | return exeContext.eventLoopGroup.next().makeFailedFuture(error)
/host/spi-builder-workspace/Sources/GraphQL/Execution/Execute.swift:820:24: warning: capture of 'exeContext' with non-sendable type 'ExecutionContext' in a '@Sendable' closure
29 | * and the fragments defined in the query document
30 | */
31 | public final class ExecutionContext {
| `- note: class 'ExecutionContext' does not conform to the 'Sendable' protocol
32 | let queryStrategy: QueryFieldExecutionStrategy
33 | let mutationStrategy: MutationFieldExecutionStrategy
:
818 | ).flatMapError { error -> EventLoopFuture<Any?> in
819 | guard let error = error as? GraphQLError else {
820 | return exeContext.eventLoopGroup.next().makeFailedFuture(error)
| `- warning: capture of 'exeContext' with non-sendable type 'ExecutionContext' in a '@Sendable' closure
821 | }
822 | exeContext.append(error: error)
/host/spi-builder-workspace/Sources/GraphQL/Execution/Execute.swift:856:61: warning: capture of 'fieldASTs' with non-sendable type '[Field]' in a '@Sendable' closure
854 | result: result
855 | ).flatMapErrorThrowing { error -> Any? in
856 | throw locatedError(originalError: error, nodes: fieldASTs, path: path)
| `- warning: capture of 'fieldASTs' with non-sendable type '[Field]' in a '@Sendable' closure
857 | }
858 | return completed
/host/spi-builder-workspace/Sources/GraphQL/Language/AST.swift:708:20: note: class 'Field' does not conform to the 'Sendable' protocol
706 | }
707 |
708 | public final class Field {
| `- note: class 'Field' does not conform to the 'Sendable' protocol
709 | public let kind: Kind = .field
710 | public let loc: Location?
/host/spi-builder-workspace/Sources/GraphQL/Execution/Execute.swift:856:78: warning: capture of 'path' with non-sendable type 'IndexPath' in a '@Sendable' closure
854 | result: result
855 | ).flatMapErrorThrowing { error -> Any? in
856 | throw locatedError(originalError: error, nodes: fieldASTs, path: path)
| `- warning: capture of 'path' with non-sendable type 'IndexPath' in a '@Sendable' closure
857 | }
858 | return completed
/host/spi-builder-workspace/Sources/GraphQL/Error/GraphQLError.swift:172:15: note: consider making struct 'IndexPath' conform to the 'Sendable' protocol
170 | // MARK: IndexPath
171 |
172 | public struct IndexPath: Codable {
| `- note: consider making struct 'IndexPath' conform to the 'Sendable' protocol
173 | public let elements: [IndexPathValue]
174 |
/host/spi-builder-workspace/Sources/GraphQL/Execution/Execute.swift:925:57: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
923 | // If result value is null-ish (nil or .null) then return .null.
924 | guard let result = result, let r = unwrap(result) else {
925 | return exeContext.eventLoopGroup.next().makeSucceededFuture(nil)
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
926 | }
927 |
/host/spi-builder-workspace/Sources/GraphQL/Execution/Execute.swift:944:22: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
942 | if let returnType = returnType as? GraphQLLeafType {
943 | return try exeContext.eventLoopGroup.next()
944 | .makeSucceededFuture(completeLeafValue(returnType: returnType, result: r))
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
945 | }
946 |
/host/spi-builder-workspace/Sources/GraphQL/Execution/Execute.swift:914:79: warning: capture of 'info' with non-sendable type 'GraphQLResolveInfo' in a '@Sendable' closure
912 | guard let value = value else {
913 | throw GraphQLError(
914 | message: "Cannot return null for non-nullable field \(info.parentType.name).\(info.fieldName)."
| `- warning: capture of 'info' with non-sendable type 'GraphQLResolveInfo' in a '@Sendable' closure
915 | )
916 | }
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:442:15: note: consider making struct 'GraphQLResolveInfo' conform to the 'Sendable' protocol
440 | ) throws -> Any?
441 |
442 | public struct GraphQLResolveInfo {
| `- note: consider making struct 'GraphQLResolveInfo' conform to the 'Sendable' protocol
443 | public let fieldName: String
444 | public let fieldASTs: [Field]
/host/spi-builder-workspace/Sources/GraphQL/Execution/Execute.swift:1008:14: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
1006 | let fieldPath = path.appending(index)
1007 | let futureItem = item as? Future<Any?> ?? exeContext.eventLoopGroup.next()
1008 | .makeSucceededFuture(item)
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
1009 |
1010 | let completedItem = try completeValueCatchingError(
/host/spi-builder-workspace/Sources/GraphQL/Execution/Execute.swift:1194:38: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
1192 | ) -> Future<Any?> {
1193 | guard let source = unwrap(source) else {
1194 | return eventLoopGroup.next().makeSucceededFuture(nil)
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
1195 | }
1196 |
/host/spi-builder-workspace/Sources/GraphQL/Execution/Execute.swift:1199:38: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
1197 | if let subscriptable = source as? KeySubscriptable {
1198 | let value = subscriptable[info.fieldName]
1199 | return eventLoopGroup.next().makeSucceededFuture(value)
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
1200 | }
1201 | if let subscriptable = source as? [String: Any] {
/host/spi-builder-workspace/Sources/GraphQL/Execution/Execute.swift:1203:38: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
1201 | if let subscriptable = source as? [String: Any] {
1202 | let value = subscriptable[info.fieldName]
1203 | return eventLoopGroup.next().makeSucceededFuture(value)
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
1204 | }
1205 | if let subscriptable = source as? OrderedDictionary<String, Any> {
/host/spi-builder-workspace/Sources/GraphQL/Execution/Execute.swift:1207:38: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
1205 | if let subscriptable = source as? OrderedDictionary<String, Any> {
1206 | let value = subscriptable[info.fieldName]
1207 | return eventLoopGroup.next().makeSucceededFuture(value)
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
1208 | }
1209 |
/host/spi-builder-workspace/Sources/GraphQL/Execution/Execute.swift:1212:38: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
1210 | let mirror = Mirror(reflecting: source)
1211 | guard let value = mirror.getValue(named: info.fieldName) else {
1212 | return eventLoopGroup.next().makeSucceededFuture(nil)
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
1213 | }
1214 | return eventLoopGroup.next().makeSucceededFuture(value)
/host/spi-builder-workspace/Sources/GraphQL/Execution/Execute.swift:1214:34: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
1212 | return eventLoopGroup.next().makeSucceededFuture(nil)
1213 | }
1214 | return eventLoopGroup.next().makeSucceededFuture(value)
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
1215 | }
1216 |
/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: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: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/GraphQL.swift:262:14: warning: type 'SubscriptionResult' does not conform to the 'Sendable' protocol
45 |
46 | /// SubscriptionResult wraps the observable and error data returned by the subscribe request.
47 | public struct SubscriptionResult {
| `- note: consider making struct 'SubscriptionResult' conform to the 'Sendable' protocol
48 | public let stream: SubscriptionEventStream?
49 | public let errors: [GraphQLError]
:
260 | guard validationErrors.isEmpty else {
261 | return eventLoopGroup.next()
262 | .makeSucceededFuture(SubscriptionResult(errors: validationErrors))
| `- warning: type 'SubscriptionResult' does not conform to the 'Sendable' protocol
263 | }
264 |
/host/spi-builder-workspace/Sources/GraphQL/GraphQL.swift:410:7: warning: type 'SubscriptionResult' does not conform to the 'Sendable' protocol
45 |
46 | /// SubscriptionResult wraps the observable and error data returned by the subscribe request.
47 | public struct SubscriptionResult {
| `- note: consider making struct 'SubscriptionResult' conform to the 'Sendable' protocol
48 | public let stream: SubscriptionEventStream?
49 | public let errors: [GraphQLError]
:
408 | variableValues: variableValues,
409 | operationName: operationName
410 | ).get()
| `- warning: type 'SubscriptionResult' does not conform to the 'Sendable' protocol
411 | }
412 |
/host/spi-builder-workspace/Sources/GraphQL/Instrumentation/DispatchQueueInstrumentationWrapper.swift:51:13: warning: capture of 'self' with non-sendable type 'DispatchQueueInstrumentationWrapper' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | /// 2. Allows slow or heavy instrumentation processing to happen outside of the current query
10 | /// execution
11 | public class DispatchQueueInstrumentationWrapper: Instrumentation {
| `- note: class 'DispatchQueueInstrumentationWrapper' does not conform to the 'Sendable' protocol
12 | let instrumentation: Instrumentation
13 | let dispatchQueue: DispatchQueue
:
49 | ) {
50 | dispatchQueue.async(group: dispatchGroup) {
51 | self.instrumentation.queryParsing(
| `- warning: capture of 'self' with non-sendable type 'DispatchQueueInstrumentationWrapper' in a '@Sendable' closure; this is an error in the Swift 6 language mode
52 | processId: processId,
53 | threadId: threadId,
/host/spi-builder-workspace/Sources/GraphQL/Instrumentation/DispatchQueueInstrumentationWrapper.swift:56:25: warning: capture of 'source' with non-sendable type 'Source' in a '@Sendable' closure; this is an error in the Swift 6 language mode
54 | started: started,
55 | finished: finished,
56 | source: source,
| `- warning: capture of 'source' with non-sendable type 'Source' in a '@Sendable' closure; this is an error in the Swift 6 language mode
57 | result: result
58 | )
/host/spi-builder-workspace/Sources/GraphQL/Language/Source.swift:10:15: note: consider making struct 'Source' conform to the 'Sendable' protocol
8 | * is converted into contiguous UTF8 bytes if necessary for optimal performance.
9 | */
10 | public struct Source {
| `- note: consider making struct 'Source' conform to the 'Sendable' protocol
11 | public let body: String
12 | public let name: String
/host/spi-builder-workspace/Sources/GraphQL/Instrumentation/DispatchQueueInstrumentationWrapper.swift:57:25: warning: capture of 'result' with non-sendable type 'Result<Document, GraphQLError>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
55 | finished: finished,
56 | source: source,
57 | result: result
| `- warning: capture of 'result' with non-sendable type 'Result<Document, GraphQLError>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
58 | )
59 | }
/host/spi-builder-workspace/Sources/GraphQL/Language/AST.swift:281:20: note: class 'Document' does not conform to the 'Sendable' protocol
279 | }
280 |
281 | public final class Document {
| `- note: class 'Document' does not conform to the 'Sendable' protocol
282 | public let kind: Kind = .document
283 | public let loc: Location?
/host/spi-builder-workspace/Sources/GraphQL/Instrumentation/DispatchQueueInstrumentationWrapper.swift:72:13: warning: capture of 'self' with non-sendable type 'DispatchQueueInstrumentationWrapper' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | /// 2. Allows slow or heavy instrumentation processing to happen outside of the current query
10 | /// execution
11 | public class DispatchQueueInstrumentationWrapper: Instrumentation {
| `- note: class 'DispatchQueueInstrumentationWrapper' does not conform to the 'Sendable' protocol
12 | let instrumentation: Instrumentation
13 | let dispatchQueue: DispatchQueue
:
70 | ) {
71 | dispatchQueue.async(group: dispatchGroup) {
72 | self.instrumentation.queryValidation(
| `- warning: capture of 'self' with non-sendable type 'DispatchQueueInstrumentationWrapper' in a '@Sendable' closure; this is an error in the Swift 6 language mode
73 | processId: processId,
74 | threadId: threadId,
/host/spi-builder-workspace/Sources/GraphQL/Instrumentation/DispatchQueueInstrumentationWrapper.swift:77:25: warning: capture of 'schema' with non-sendable type 'GraphQLSchema' in a '@Sendable' closure; this is an error in the Swift 6 language mode
75 | started: started,
76 | finished: finished,
77 | schema: schema,
| `- warning: capture of 'schema' with non-sendable type 'GraphQLSchema' in a '@Sendable' closure; this is an error in the Swift 6 language mode
78 | document: document,
79 | errors: errors
/host/spi-builder-workspace/Sources/GraphQL/Type/Schema.swift:30:20: note: class 'GraphQLSchema' does not conform to the 'Sendable' protocol
28 | *
29 | */
30 | public final class GraphQLSchema {
| `- note: class 'GraphQLSchema' does not conform to the 'Sendable' protocol
31 | let description: String?
32 | let extensions: [GraphQLSchemaExtensions]
/host/spi-builder-workspace/Sources/GraphQL/Instrumentation/DispatchQueueInstrumentationWrapper.swift:78:27: warning: capture of 'document' with non-sendable type 'Document' in a '@Sendable' closure; this is an error in the Swift 6 language mode
76 | finished: finished,
77 | schema: schema,
78 | document: document,
| `- warning: capture of 'document' with non-sendable type 'Document' in a '@Sendable' closure; this is an error in the Swift 6 language mode
79 | errors: errors
80 | )
/host/spi-builder-workspace/Sources/GraphQL/Language/AST.swift:281:20: note: class 'Document' does not conform to the 'Sendable' protocol
279 | }
280 |
281 | public final class Document {
| `- note: class 'Document' does not conform to the 'Sendable' protocol
282 | public let kind: Kind = .document
283 | public let loc: Location?
/host/spi-builder-workspace/Sources/GraphQL/Instrumentation/DispatchQueueInstrumentationWrapper.swift:99:13: warning: capture of 'self' with non-sendable type 'DispatchQueueInstrumentationWrapper' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | /// 2. Allows slow or heavy instrumentation processing to happen outside of the current query
10 | /// execution
11 | public class DispatchQueueInstrumentationWrapper: Instrumentation {
| `- note: class 'DispatchQueueInstrumentationWrapper' does not conform to the 'Sendable' protocol
12 | let instrumentation: Instrumentation
13 | let dispatchQueue: DispatchQueue
:
97 | ) {
98 | dispatchQueue.async(group: dispatchGroup) {
99 | self.instrumentation.operationExecution(
| `- warning: capture of 'self' with non-sendable type 'DispatchQueueInstrumentationWrapper' in a '@Sendable' closure; this is an error in the Swift 6 language mode
100 | processId: processId,
101 | threadId: threadId,
/host/spi-builder-workspace/Sources/GraphQL/Instrumentation/DispatchQueueInstrumentationWrapper.swift:104:25: warning: capture of 'schema' with non-sendable type 'GraphQLSchema' in a '@Sendable' closure; this is an error in the Swift 6 language mode
102 | started: started,
103 | finished: finished,
104 | schema: schema,
| `- warning: capture of 'schema' with non-sendable type 'GraphQLSchema' in a '@Sendable' closure; this is an error in the Swift 6 language mode
105 | document: document,
106 | rootValue: rootValue,
/host/spi-builder-workspace/Sources/GraphQL/Type/Schema.swift:30:20: note: class 'GraphQLSchema' does not conform to the 'Sendable' protocol
28 | *
29 | */
30 | public final class GraphQLSchema {
| `- note: class 'GraphQLSchema' does not conform to the 'Sendable' protocol
31 | let description: String?
32 | let extensions: [GraphQLSchemaExtensions]
/host/spi-builder-workspace/Sources/GraphQL/Instrumentation/DispatchQueueInstrumentationWrapper.swift:105:27: warning: capture of 'document' with non-sendable type 'Document' in a '@Sendable' closure; this is an error in the Swift 6 language mode
103 | finished: finished,
104 | schema: schema,
105 | document: document,
| `- warning: capture of 'document' with non-sendable type 'Document' in a '@Sendable' closure; this is an error in the Swift 6 language mode
106 | rootValue: rootValue,
107 | eventLoopGroup: eventLoopGroup,
/host/spi-builder-workspace/Sources/GraphQL/Language/AST.swift:281:20: note: class 'Document' does not conform to the 'Sendable' protocol
279 | }
280 |
281 | public final class Document {
| `- note: class 'Document' does not conform to the 'Sendable' protocol
282 | public let kind: Kind = .document
283 | public let loc: Location?
/host/spi-builder-workspace/Sources/GraphQL/Instrumentation/DispatchQueueInstrumentationWrapper.swift:106:28: warning: capture of 'rootValue' with non-sendable type 'Any' in a '@Sendable' closure; this is an error in the Swift 6 language mode
104 | schema: schema,
105 | document: document,
106 | rootValue: rootValue,
| `- warning: capture of 'rootValue' with non-sendable type 'Any' in a '@Sendable' closure; this is an error in the Swift 6 language mode
107 | eventLoopGroup: eventLoopGroup,
108 | variableValues: variableValues,
/host/spi-builder-workspace/Sources/GraphQL/Instrumentation/DispatchQueueInstrumentationWrapper.swift:109:28: warning: capture of 'operation' with non-sendable type 'OperationDefinition?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
107 | eventLoopGroup: eventLoopGroup,
108 | variableValues: variableValues,
109 | operation: operation,
| `- warning: capture of 'operation' with non-sendable type 'OperationDefinition?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
110 | errors: errors,
111 | result: result
/host/spi-builder-workspace/Sources/GraphQL/Language/AST.swift:369:20: note: class 'OperationDefinition' does not conform to the 'Sendable' protocol
367 | }
368 |
369 | public final class OperationDefinition {
| `- note: class 'OperationDefinition' does not conform to the 'Sendable' protocol
370 | public let kind: Kind = .operationDefinition
371 | public let loc: Location?
/host/spi-builder-workspace/Sources/GraphQL/Instrumentation/DispatchQueueInstrumentationWrapper.swift:128:13: warning: capture of 'self' with non-sendable type 'DispatchQueueInstrumentationWrapper' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | /// 2. Allows slow or heavy instrumentation processing to happen outside of the current query
10 | /// execution
11 | public class DispatchQueueInstrumentationWrapper: Instrumentation {
| `- note: class 'DispatchQueueInstrumentationWrapper' does not conform to the 'Sendable' protocol
12 | let instrumentation: Instrumentation
13 | let dispatchQueue: DispatchQueue
:
126 | ) {
127 | dispatchQueue.async(group: dispatchGroup) {
128 | self.instrumentation.fieldResolution(
| `- warning: capture of 'self' with non-sendable type 'DispatchQueueInstrumentationWrapper' in a '@Sendable' closure; this is an error in the Swift 6 language mode
129 | processId: processId,
130 | threadId: threadId,
/host/spi-builder-workspace/Sources/GraphQL/Instrumentation/DispatchQueueInstrumentationWrapper.swift:133:25: warning: capture of 'source' with non-sendable type 'Any' in a '@Sendable' closure; this is an error in the Swift 6 language mode
131 | started: started,
132 | finished: finished,
133 | source: source,
| `- warning: capture of 'source' with non-sendable type 'Any' in a '@Sendable' closure; this is an error in the Swift 6 language mode
134 | args: args,
135 | eventLoopGroup: eventLoopGroup,
/host/spi-builder-workspace/Sources/GraphQL/Instrumentation/DispatchQueueInstrumentationWrapper.swift:136:23: warning: capture of 'info' with non-sendable type 'GraphQLResolveInfo' in a '@Sendable' closure; this is an error in the Swift 6 language mode
134 | args: args,
135 | eventLoopGroup: eventLoopGroup,
136 | info: info,
| `- warning: capture of 'info' with non-sendable type 'GraphQLResolveInfo' in a '@Sendable' closure; this is an error in the Swift 6 language mode
137 | result: result
138 | )
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:442:15: note: consider making struct 'GraphQLResolveInfo' conform to the 'Sendable' protocol
440 | ) throws -> Any?
441 |
442 | public struct GraphQLResolveInfo {
| `- note: consider making struct 'GraphQLResolveInfo' conform to the 'Sendable' protocol
443 | public let fieldName: String
444 | public let fieldASTs: [Field]
/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: add '@MainActor' to make let 'NoOpInstrumentation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 |
79 | struct noOpInstrumentation: Instrumentation {
[377/389] Compiling GraphQL Kinds.swift
/host/spi-builder-workspace/Sources/GraphQL/Language/Visitor.swift:1:5: warning: let 'QueryDocumentKeys' is not concurrency-safe because non-'Sendable' type '[Kind : [String]]' may have shared mutable state; this is an error in the Swift 6 language mode
1 | let QueryDocumentKeys: [Kind: [String]] = [
| |- warning: let 'QueryDocumentKeys' is not concurrency-safe because non-'Sendable' type '[Kind : [String]]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'QueryDocumentKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2 | .name: [],
3 |
/host/spi-builder-workspace/Sources/GraphQL/Language/Kinds.swift:1:13: note: consider making enum 'Kind' conform to the 'Sendable' protocol
1 | public enum Kind: String, CaseIterable {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
2 | case name
3 | case document
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:41:27: warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// The formatting of the output Any data.
31 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
32 | /// The format's default value.
33 | public let rawValue: UInt
:
39 |
40 | /// Produce human-readable Any with indented output.
41 | public static let prettyPrinted = OutputFormatting(rawValue: 1 << 0)
| |- warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prettyPrinted' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | /// Produce Any with dictionary keys sorted in lexicographic order.
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:45:27: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// The formatting of the output Any data.
31 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
32 | /// The format's default value.
33 | public let rawValue: UInt
:
43 | /// Produce Any with dictionary keys sorted in lexicographic order.
44 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
45 | public static let sortedKeys = OutputFormatting(rawValue: 1 << 1)
| |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sortedKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | }
47 |
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:3262:13: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3260 | // NOTE: This value is implicitly lazy and _must_ be lazy. We're compiled against the latest SDK (w/ ISO8601DateFormatter), but linked against whichever Foundation the user has. ISO8601DateFormatter might not exist, so we better not hit this code path on an older OS.
3261 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
3262 | private var _iso8601Formatter: ISO8601DateFormatter = {
| |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3263 | let formatter = ISO8601DateFormatter()
3264 | formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:39:27: warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
37 |
38 | /// Produce human-readable JSON with indented output.
39 | public static let prettyPrinted = OutputFormatting(rawValue: 1 << 0)
| |- warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prettyPrinted' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// Produce JSON with dictionary keys sorted in lexicographic order.
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:43:27: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
41 | /// Produce JSON with dictionary keys sorted in lexicographic order.
42 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
43 | public static let sortedKeys = OutputFormatting(rawValue: 1 << 1)
| |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sortedKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | /// By default slashes get escaped ("/" → "\/", "http://apple.com/" → "http:\/\/apple.com\/")
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:49:27: warning: static property 'withoutEscapingSlashes' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
47 | /// In contexts where this escaping is unnecessary, the JSON is known to not be embedded,
48 | /// or is intended only for display, this option avoids this escaping.
49 | public static let withoutEscapingSlashes = OutputFormatting(rawValue: 1 << 3)
| |- warning: static property 'withoutEscapingSlashes' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'withoutEscapingSlashes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | }
51 |
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:1302:13: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1300 | // NOTE: This value is implicitly lazy and _must_ be lazy. We're compiled against the latest SDK (w/ ISO8601DateFormatter), but linked against whichever Foundation the user has. ISO8601DateFormatter might not exist, so we better not hit this code path on an older OS.
1301 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
1302 | private var _iso8601Formatter: ISO8601DateFormatter = {
| |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1303 | let formatter = ISO8601DateFormatter()
1304 | formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/Sources/GraphQL/Map/Map.swift:35:16: warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'MapEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | public extension Map {
35 | static let encoder = MapEncoder()
| |- warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'MapEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'encoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | init<T: Encodable>(_ encodable: T, encoder: MapEncoder = Map.encoder) throws {
/host/spi-builder-workspace/Sources/GraphQL/Map/MapCoder.swift:35:12: note: class 'MapEncoder' does not conform to the 'Sendable' protocol
33 |
34 | /// `MapEncoder` facilitates the encoding of `Encodable` values into Map.
35 | open class MapEncoder {
| `- note: class 'MapEncoder' does not conform to the 'Sendable' protocol
36 | // MARK: Options
37 |
[378/389] Compiling GraphQL Lexer.swift
/host/spi-builder-workspace/Sources/GraphQL/Language/Visitor.swift:1:5: warning: let 'QueryDocumentKeys' is not concurrency-safe because non-'Sendable' type '[Kind : [String]]' may have shared mutable state; this is an error in the Swift 6 language mode
1 | let QueryDocumentKeys: [Kind: [String]] = [
| |- warning: let 'QueryDocumentKeys' is not concurrency-safe because non-'Sendable' type '[Kind : [String]]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'QueryDocumentKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2 | .name: [],
3 |
/host/spi-builder-workspace/Sources/GraphQL/Language/Kinds.swift:1:13: note: consider making enum 'Kind' conform to the 'Sendable' protocol
1 | public enum Kind: String, CaseIterable {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
2 | case name
3 | case document
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:41:27: warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// The formatting of the output Any data.
31 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
32 | /// The format's default value.
33 | public let rawValue: UInt
:
39 |
40 | /// Produce human-readable Any with indented output.
41 | public static let prettyPrinted = OutputFormatting(rawValue: 1 << 0)
| |- warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prettyPrinted' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | /// Produce Any with dictionary keys sorted in lexicographic order.
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:45:27: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// The formatting of the output Any data.
31 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
32 | /// The format's default value.
33 | public let rawValue: UInt
:
43 | /// Produce Any with dictionary keys sorted in lexicographic order.
44 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
45 | public static let sortedKeys = OutputFormatting(rawValue: 1 << 1)
| |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sortedKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | }
47 |
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:3262:13: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3260 | // NOTE: This value is implicitly lazy and _must_ be lazy. We're compiled against the latest SDK (w/ ISO8601DateFormatter), but linked against whichever Foundation the user has. ISO8601DateFormatter might not exist, so we better not hit this code path on an older OS.
3261 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
3262 | private var _iso8601Formatter: ISO8601DateFormatter = {
| |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3263 | let formatter = ISO8601DateFormatter()
3264 | formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:39:27: warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
37 |
38 | /// Produce human-readable JSON with indented output.
39 | public static let prettyPrinted = OutputFormatting(rawValue: 1 << 0)
| |- warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prettyPrinted' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// Produce JSON with dictionary keys sorted in lexicographic order.
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:43:27: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
41 | /// Produce JSON with dictionary keys sorted in lexicographic order.
42 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
43 | public static let sortedKeys = OutputFormatting(rawValue: 1 << 1)
| |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sortedKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | /// By default slashes get escaped ("/" → "\/", "http://apple.com/" → "http:\/\/apple.com\/")
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:49:27: warning: static property 'withoutEscapingSlashes' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
47 | /// In contexts where this escaping is unnecessary, the JSON is known to not be embedded,
48 | /// or is intended only for display, this option avoids this escaping.
49 | public static let withoutEscapingSlashes = OutputFormatting(rawValue: 1 << 3)
| |- warning: static property 'withoutEscapingSlashes' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'withoutEscapingSlashes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | }
51 |
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:1302:13: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1300 | // NOTE: This value is implicitly lazy and _must_ be lazy. We're compiled against the latest SDK (w/ ISO8601DateFormatter), but linked against whichever Foundation the user has. ISO8601DateFormatter might not exist, so we better not hit this code path on an older OS.
1301 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
1302 | private var _iso8601Formatter: ISO8601DateFormatter = {
| |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1303 | let formatter = ISO8601DateFormatter()
1304 | formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/Sources/GraphQL/Map/Map.swift:35:16: warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'MapEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | public extension Map {
35 | static let encoder = MapEncoder()
| |- warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'MapEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'encoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | init<T: Encodable>(_ encodable: T, encoder: MapEncoder = Map.encoder) throws {
/host/spi-builder-workspace/Sources/GraphQL/Map/MapCoder.swift:35:12: note: class 'MapEncoder' does not conform to the 'Sendable' protocol
33 |
34 | /// `MapEncoder` facilitates the encoding of `Encodable` values into Map.
35 | open class MapEncoder {
| `- note: class 'MapEncoder' does not conform to the 'Sendable' protocol
36 | // MARK: Options
37 |
[379/389] Compiling GraphQL Location.swift
/host/spi-builder-workspace/Sources/GraphQL/Language/Visitor.swift:1:5: warning: let 'QueryDocumentKeys' is not concurrency-safe because non-'Sendable' type '[Kind : [String]]' may have shared mutable state; this is an error in the Swift 6 language mode
1 | let QueryDocumentKeys: [Kind: [String]] = [
| |- warning: let 'QueryDocumentKeys' is not concurrency-safe because non-'Sendable' type '[Kind : [String]]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'QueryDocumentKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2 | .name: [],
3 |
/host/spi-builder-workspace/Sources/GraphQL/Language/Kinds.swift:1:13: note: consider making enum 'Kind' conform to the 'Sendable' protocol
1 | public enum Kind: String, CaseIterable {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
2 | case name
3 | case document
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:41:27: warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// The formatting of the output Any data.
31 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
32 | /// The format's default value.
33 | public let rawValue: UInt
:
39 |
40 | /// Produce human-readable Any with indented output.
41 | public static let prettyPrinted = OutputFormatting(rawValue: 1 << 0)
| |- warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prettyPrinted' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | /// Produce Any with dictionary keys sorted in lexicographic order.
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:45:27: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// The formatting of the output Any data.
31 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
32 | /// The format's default value.
33 | public let rawValue: UInt
:
43 | /// Produce Any with dictionary keys sorted in lexicographic order.
44 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
45 | public static let sortedKeys = OutputFormatting(rawValue: 1 << 1)
| |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sortedKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | }
47 |
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:3262:13: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3260 | // NOTE: This value is implicitly lazy and _must_ be lazy. We're compiled against the latest SDK (w/ ISO8601DateFormatter), but linked against whichever Foundation the user has. ISO8601DateFormatter might not exist, so we better not hit this code path on an older OS.
3261 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
3262 | private var _iso8601Formatter: ISO8601DateFormatter = {
| |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3263 | let formatter = ISO8601DateFormatter()
3264 | formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:39:27: warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
37 |
38 | /// Produce human-readable JSON with indented output.
39 | public static let prettyPrinted = OutputFormatting(rawValue: 1 << 0)
| |- warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prettyPrinted' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// Produce JSON with dictionary keys sorted in lexicographic order.
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:43:27: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
41 | /// Produce JSON with dictionary keys sorted in lexicographic order.
42 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
43 | public static let sortedKeys = OutputFormatting(rawValue: 1 << 1)
| |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sortedKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | /// By default slashes get escaped ("/" → "\/", "http://apple.com/" → "http:\/\/apple.com\/")
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:49:27: warning: static property 'withoutEscapingSlashes' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
47 | /// In contexts where this escaping is unnecessary, the JSON is known to not be embedded,
48 | /// or is intended only for display, this option avoids this escaping.
49 | public static let withoutEscapingSlashes = OutputFormatting(rawValue: 1 << 3)
| |- warning: static property 'withoutEscapingSlashes' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'withoutEscapingSlashes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | }
51 |
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:1302:13: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1300 | // NOTE: This value is implicitly lazy and _must_ be lazy. We're compiled against the latest SDK (w/ ISO8601DateFormatter), but linked against whichever Foundation the user has. ISO8601DateFormatter might not exist, so we better not hit this code path on an older OS.
1301 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
1302 | private var _iso8601Formatter: ISO8601DateFormatter = {
| |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1303 | let formatter = ISO8601DateFormatter()
1304 | formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/Sources/GraphQL/Map/Map.swift:35:16: warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'MapEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | public extension Map {
35 | static let encoder = MapEncoder()
| |- warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'MapEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'encoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | init<T: Encodable>(_ encodable: T, encoder: MapEncoder = Map.encoder) throws {
/host/spi-builder-workspace/Sources/GraphQL/Map/MapCoder.swift:35:12: note: class 'MapEncoder' does not conform to the 'Sendable' protocol
33 |
34 | /// `MapEncoder` facilitates the encoding of `Encodable` values into Map.
35 | open class MapEncoder {
| `- note: class 'MapEncoder' does not conform to the 'Sendable' protocol
36 | // MARK: Options
37 |
[380/389] Compiling GraphQL Parser.swift
/host/spi-builder-workspace/Sources/GraphQL/Language/Visitor.swift:1:5: warning: let 'QueryDocumentKeys' is not concurrency-safe because non-'Sendable' type '[Kind : [String]]' may have shared mutable state; this is an error in the Swift 6 language mode
1 | let QueryDocumentKeys: [Kind: [String]] = [
| |- warning: let 'QueryDocumentKeys' is not concurrency-safe because non-'Sendable' type '[Kind : [String]]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'QueryDocumentKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2 | .name: [],
3 |
/host/spi-builder-workspace/Sources/GraphQL/Language/Kinds.swift:1:13: note: consider making enum 'Kind' conform to the 'Sendable' protocol
1 | public enum Kind: String, CaseIterable {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
2 | case name
3 | case document
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:41:27: warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// The formatting of the output Any data.
31 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
32 | /// The format's default value.
33 | public let rawValue: UInt
:
39 |
40 | /// Produce human-readable Any with indented output.
41 | public static let prettyPrinted = OutputFormatting(rawValue: 1 << 0)
| |- warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prettyPrinted' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | /// Produce Any with dictionary keys sorted in lexicographic order.
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:45:27: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// The formatting of the output Any data.
31 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
32 | /// The format's default value.
33 | public let rawValue: UInt
:
43 | /// Produce Any with dictionary keys sorted in lexicographic order.
44 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
45 | public static let sortedKeys = OutputFormatting(rawValue: 1 << 1)
| |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sortedKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | }
47 |
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:3262:13: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3260 | // NOTE: This value is implicitly lazy and _must_ be lazy. We're compiled against the latest SDK (w/ ISO8601DateFormatter), but linked against whichever Foundation the user has. ISO8601DateFormatter might not exist, so we better not hit this code path on an older OS.
3261 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
3262 | private var _iso8601Formatter: ISO8601DateFormatter = {
| |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3263 | let formatter = ISO8601DateFormatter()
3264 | formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:39:27: warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
37 |
38 | /// Produce human-readable JSON with indented output.
39 | public static let prettyPrinted = OutputFormatting(rawValue: 1 << 0)
| |- warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prettyPrinted' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// Produce JSON with dictionary keys sorted in lexicographic order.
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:43:27: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
41 | /// Produce JSON with dictionary keys sorted in lexicographic order.
42 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
43 | public static let sortedKeys = OutputFormatting(rawValue: 1 << 1)
| |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sortedKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | /// By default slashes get escaped ("/" → "\/", "http://apple.com/" → "http:\/\/apple.com\/")
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:49:27: warning: static property 'withoutEscapingSlashes' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
47 | /// In contexts where this escaping is unnecessary, the JSON is known to not be embedded,
48 | /// or is intended only for display, this option avoids this escaping.
49 | public static let withoutEscapingSlashes = OutputFormatting(rawValue: 1 << 3)
| |- warning: static property 'withoutEscapingSlashes' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'withoutEscapingSlashes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | }
51 |
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:1302:13: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1300 | // NOTE: This value is implicitly lazy and _must_ be lazy. We're compiled against the latest SDK (w/ ISO8601DateFormatter), but linked against whichever Foundation the user has. ISO8601DateFormatter might not exist, so we better not hit this code path on an older OS.
1301 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
1302 | private var _iso8601Formatter: ISO8601DateFormatter = {
| |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1303 | let formatter = ISO8601DateFormatter()
1304 | formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/Sources/GraphQL/Map/Map.swift:35:16: warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'MapEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | public extension Map {
35 | static let encoder = MapEncoder()
| |- warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'MapEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'encoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | init<T: Encodable>(_ encodable: T, encoder: MapEncoder = Map.encoder) throws {
/host/spi-builder-workspace/Sources/GraphQL/Map/MapCoder.swift:35:12: note: class 'MapEncoder' does not conform to the 'Sendable' protocol
33 |
34 | /// `MapEncoder` facilitates the encoding of `Encodable` values into Map.
35 | open class MapEncoder {
| `- note: class 'MapEncoder' does not conform to the 'Sendable' protocol
36 | // MARK: Options
37 |
[381/389] Compiling GraphQL Predicates.swift
/host/spi-builder-workspace/Sources/GraphQL/Language/Visitor.swift:1:5: warning: let 'QueryDocumentKeys' is not concurrency-safe because non-'Sendable' type '[Kind : [String]]' may have shared mutable state; this is an error in the Swift 6 language mode
1 | let QueryDocumentKeys: [Kind: [String]] = [
| |- warning: let 'QueryDocumentKeys' is not concurrency-safe because non-'Sendable' type '[Kind : [String]]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'QueryDocumentKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2 | .name: [],
3 |
/host/spi-builder-workspace/Sources/GraphQL/Language/Kinds.swift:1:13: note: consider making enum 'Kind' conform to the 'Sendable' protocol
1 | public enum Kind: String, CaseIterable {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
2 | case name
3 | case document
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:41:27: warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// The formatting of the output Any data.
31 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
32 | /// The format's default value.
33 | public let rawValue: UInt
:
39 |
40 | /// Produce human-readable Any with indented output.
41 | public static let prettyPrinted = OutputFormatting(rawValue: 1 << 0)
| |- warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prettyPrinted' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | /// Produce Any with dictionary keys sorted in lexicographic order.
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:45:27: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// The formatting of the output Any data.
31 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
32 | /// The format's default value.
33 | public let rawValue: UInt
:
43 | /// Produce Any with dictionary keys sorted in lexicographic order.
44 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
45 | public static let sortedKeys = OutputFormatting(rawValue: 1 << 1)
| |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sortedKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | }
47 |
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:3262:13: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3260 | // NOTE: This value is implicitly lazy and _must_ be lazy. We're compiled against the latest SDK (w/ ISO8601DateFormatter), but linked against whichever Foundation the user has. ISO8601DateFormatter might not exist, so we better not hit this code path on an older OS.
3261 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
3262 | private var _iso8601Formatter: ISO8601DateFormatter = {
| |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3263 | let formatter = ISO8601DateFormatter()
3264 | formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:39:27: warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
37 |
38 | /// Produce human-readable JSON with indented output.
39 | public static let prettyPrinted = OutputFormatting(rawValue: 1 << 0)
| |- warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prettyPrinted' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// Produce JSON with dictionary keys sorted in lexicographic order.
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:43:27: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
41 | /// Produce JSON with dictionary keys sorted in lexicographic order.
42 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
43 | public static let sortedKeys = OutputFormatting(rawValue: 1 << 1)
| |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sortedKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | /// By default slashes get escaped ("/" → "\/", "http://apple.com/" → "http:\/\/apple.com\/")
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:49:27: warning: static property 'withoutEscapingSlashes' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
47 | /// In contexts where this escaping is unnecessary, the JSON is known to not be embedded,
48 | /// or is intended only for display, this option avoids this escaping.
49 | public static let withoutEscapingSlashes = OutputFormatting(rawValue: 1 << 3)
| |- warning: static property 'withoutEscapingSlashes' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'withoutEscapingSlashes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | }
51 |
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:1302:13: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1300 | // NOTE: This value is implicitly lazy and _must_ be lazy. We're compiled against the latest SDK (w/ ISO8601DateFormatter), but linked against whichever Foundation the user has. ISO8601DateFormatter might not exist, so we better not hit this code path on an older OS.
1301 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
1302 | private var _iso8601Formatter: ISO8601DateFormatter = {
| |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1303 | let formatter = ISO8601DateFormatter()
1304 | formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/Sources/GraphQL/Map/Map.swift:35:16: warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'MapEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | public extension Map {
35 | static let encoder = MapEncoder()
| |- warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'MapEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'encoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | init<T: Encodable>(_ encodable: T, encoder: MapEncoder = Map.encoder) throws {
/host/spi-builder-workspace/Sources/GraphQL/Map/MapCoder.swift:35:12: note: class 'MapEncoder' does not conform to the 'Sendable' protocol
33 |
34 | /// `MapEncoder` facilitates the encoding of `Encodable` values into Map.
35 | open class MapEncoder {
| `- note: class 'MapEncoder' does not conform to the 'Sendable' protocol
36 | // MARK: Options
37 |
[382/389] Compiling GraphQL PrintString.swift
/host/spi-builder-workspace/Sources/GraphQL/Language/Visitor.swift:1:5: warning: let 'QueryDocumentKeys' is not concurrency-safe because non-'Sendable' type '[Kind : [String]]' may have shared mutable state; this is an error in the Swift 6 language mode
1 | let QueryDocumentKeys: [Kind: [String]] = [
| |- warning: let 'QueryDocumentKeys' is not concurrency-safe because non-'Sendable' type '[Kind : [String]]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'QueryDocumentKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2 | .name: [],
3 |
/host/spi-builder-workspace/Sources/GraphQL/Language/Kinds.swift:1:13: note: consider making enum 'Kind' conform to the 'Sendable' protocol
1 | public enum Kind: String, CaseIterable {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
2 | case name
3 | case document
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:41:27: warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// The formatting of the output Any data.
31 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
32 | /// The format's default value.
33 | public let rawValue: UInt
:
39 |
40 | /// Produce human-readable Any with indented output.
41 | public static let prettyPrinted = OutputFormatting(rawValue: 1 << 0)
| |- warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prettyPrinted' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | /// Produce Any with dictionary keys sorted in lexicographic order.
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:45:27: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// The formatting of the output Any data.
31 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
32 | /// The format's default value.
33 | public let rawValue: UInt
:
43 | /// Produce Any with dictionary keys sorted in lexicographic order.
44 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
45 | public static let sortedKeys = OutputFormatting(rawValue: 1 << 1)
| |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sortedKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | }
47 |
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:3262:13: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3260 | // NOTE: This value is implicitly lazy and _must_ be lazy. We're compiled against the latest SDK (w/ ISO8601DateFormatter), but linked against whichever Foundation the user has. ISO8601DateFormatter might not exist, so we better not hit this code path on an older OS.
3261 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
3262 | private var _iso8601Formatter: ISO8601DateFormatter = {
| |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3263 | let formatter = ISO8601DateFormatter()
3264 | formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:39:27: warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
37 |
38 | /// Produce human-readable JSON with indented output.
39 | public static let prettyPrinted = OutputFormatting(rawValue: 1 << 0)
| |- warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prettyPrinted' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// Produce JSON with dictionary keys sorted in lexicographic order.
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:43:27: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
41 | /// Produce JSON with dictionary keys sorted in lexicographic order.
42 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
43 | public static let sortedKeys = OutputFormatting(rawValue: 1 << 1)
| |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sortedKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | /// By default slashes get escaped ("/" → "\/", "http://apple.com/" → "http:\/\/apple.com\/")
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:49:27: warning: static property 'withoutEscapingSlashes' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
47 | /// In contexts where this escaping is unnecessary, the JSON is known to not be embedded,
48 | /// or is intended only for display, this option avoids this escaping.
49 | public static let withoutEscapingSlashes = OutputFormatting(rawValue: 1 << 3)
| |- warning: static property 'withoutEscapingSlashes' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'withoutEscapingSlashes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | }
51 |
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:1302:13: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1300 | // NOTE: This value is implicitly lazy and _must_ be lazy. We're compiled against the latest SDK (w/ ISO8601DateFormatter), but linked against whichever Foundation the user has. ISO8601DateFormatter might not exist, so we better not hit this code path on an older OS.
1301 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
1302 | private var _iso8601Formatter: ISO8601DateFormatter = {
| |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1303 | let formatter = ISO8601DateFormatter()
1304 | formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/Sources/GraphQL/Map/Map.swift:35:16: warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'MapEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | public extension Map {
35 | static let encoder = MapEncoder()
| |- warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'MapEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'encoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | init<T: Encodable>(_ encodable: T, encoder: MapEncoder = Map.encoder) throws {
/host/spi-builder-workspace/Sources/GraphQL/Map/MapCoder.swift:35:12: note: class 'MapEncoder' does not conform to the 'Sendable' protocol
33 |
34 | /// `MapEncoder` facilitates the encoding of `Encodable` values into Map.
35 | open class MapEncoder {
| `- note: class 'MapEncoder' does not conform to the 'Sendable' protocol
36 | // MARK: Options
37 |
[383/389] Compiling GraphQL Printer.swift
/host/spi-builder-workspace/Sources/GraphQL/Language/Visitor.swift:1:5: warning: let 'QueryDocumentKeys' is not concurrency-safe because non-'Sendable' type '[Kind : [String]]' may have shared mutable state; this is an error in the Swift 6 language mode
1 | let QueryDocumentKeys: [Kind: [String]] = [
| |- warning: let 'QueryDocumentKeys' is not concurrency-safe because non-'Sendable' type '[Kind : [String]]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'QueryDocumentKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2 | .name: [],
3 |
/host/spi-builder-workspace/Sources/GraphQL/Language/Kinds.swift:1:13: note: consider making enum 'Kind' conform to the 'Sendable' protocol
1 | public enum Kind: String, CaseIterable {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
2 | case name
3 | case document
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:41:27: warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// The formatting of the output Any data.
31 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
32 | /// The format's default value.
33 | public let rawValue: UInt
:
39 |
40 | /// Produce human-readable Any with indented output.
41 | public static let prettyPrinted = OutputFormatting(rawValue: 1 << 0)
| |- warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prettyPrinted' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | /// Produce Any with dictionary keys sorted in lexicographic order.
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:45:27: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// The formatting of the output Any data.
31 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
32 | /// The format's default value.
33 | public let rawValue: UInt
:
43 | /// Produce Any with dictionary keys sorted in lexicographic order.
44 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
45 | public static let sortedKeys = OutputFormatting(rawValue: 1 << 1)
| |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sortedKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | }
47 |
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:3262:13: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3260 | // NOTE: This value is implicitly lazy and _must_ be lazy. We're compiled against the latest SDK (w/ ISO8601DateFormatter), but linked against whichever Foundation the user has. ISO8601DateFormatter might not exist, so we better not hit this code path on an older OS.
3261 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
3262 | private var _iso8601Formatter: ISO8601DateFormatter = {
| |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3263 | let formatter = ISO8601DateFormatter()
3264 | formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:39:27: warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
37 |
38 | /// Produce human-readable JSON with indented output.
39 | public static let prettyPrinted = OutputFormatting(rawValue: 1 << 0)
| |- warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prettyPrinted' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// Produce JSON with dictionary keys sorted in lexicographic order.
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:43:27: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
41 | /// Produce JSON with dictionary keys sorted in lexicographic order.
42 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
43 | public static let sortedKeys = OutputFormatting(rawValue: 1 << 1)
| |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sortedKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | /// By default slashes get escaped ("/" → "\/", "http://apple.com/" → "http:\/\/apple.com\/")
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:49:27: warning: static property 'withoutEscapingSlashes' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
47 | /// In contexts where this escaping is unnecessary, the JSON is known to not be embedded,
48 | /// or is intended only for display, this option avoids this escaping.
49 | public static let withoutEscapingSlashes = OutputFormatting(rawValue: 1 << 3)
| |- warning: static property 'withoutEscapingSlashes' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'withoutEscapingSlashes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | }
51 |
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:1302:13: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1300 | // NOTE: This value is implicitly lazy and _must_ be lazy. We're compiled against the latest SDK (w/ ISO8601DateFormatter), but linked against whichever Foundation the user has. ISO8601DateFormatter might not exist, so we better not hit this code path on an older OS.
1301 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
1302 | private var _iso8601Formatter: ISO8601DateFormatter = {
| |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1303 | let formatter = ISO8601DateFormatter()
1304 | formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/Sources/GraphQL/Map/Map.swift:35:16: warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'MapEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | public extension Map {
35 | static let encoder = MapEncoder()
| |- warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'MapEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'encoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | init<T: Encodable>(_ encodable: T, encoder: MapEncoder = Map.encoder) throws {
/host/spi-builder-workspace/Sources/GraphQL/Map/MapCoder.swift:35:12: note: class 'MapEncoder' does not conform to the 'Sendable' protocol
33 |
34 | /// `MapEncoder` facilitates the encoding of `Encodable` values into Map.
35 | open class MapEncoder {
| `- note: class 'MapEncoder' does not conform to the 'Sendable' protocol
36 | // MARK: Options
37 |
[384/389] Compiling GraphQL Source.swift
/host/spi-builder-workspace/Sources/GraphQL/Language/Visitor.swift:1:5: warning: let 'QueryDocumentKeys' is not concurrency-safe because non-'Sendable' type '[Kind : [String]]' may have shared mutable state; this is an error in the Swift 6 language mode
1 | let QueryDocumentKeys: [Kind: [String]] = [
| |- warning: let 'QueryDocumentKeys' is not concurrency-safe because non-'Sendable' type '[Kind : [String]]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'QueryDocumentKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2 | .name: [],
3 |
/host/spi-builder-workspace/Sources/GraphQL/Language/Kinds.swift:1:13: note: consider making enum 'Kind' conform to the 'Sendable' protocol
1 | public enum Kind: String, CaseIterable {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
2 | case name
3 | case document
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:41:27: warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// The formatting of the output Any data.
31 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
32 | /// The format's default value.
33 | public let rawValue: UInt
:
39 |
40 | /// Produce human-readable Any with indented output.
41 | public static let prettyPrinted = OutputFormatting(rawValue: 1 << 0)
| |- warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prettyPrinted' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | /// Produce Any with dictionary keys sorted in lexicographic order.
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:45:27: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// The formatting of the output Any data.
31 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
32 | /// The format's default value.
33 | public let rawValue: UInt
:
43 | /// Produce Any with dictionary keys sorted in lexicographic order.
44 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
45 | public static let sortedKeys = OutputFormatting(rawValue: 1 << 1)
| |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sortedKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | }
47 |
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:3262:13: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3260 | // NOTE: This value is implicitly lazy and _must_ be lazy. We're compiled against the latest SDK (w/ ISO8601DateFormatter), but linked against whichever Foundation the user has. ISO8601DateFormatter might not exist, so we better not hit this code path on an older OS.
3261 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
3262 | private var _iso8601Formatter: ISO8601DateFormatter = {
| |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3263 | let formatter = ISO8601DateFormatter()
3264 | formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:39:27: warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
37 |
38 | /// Produce human-readable JSON with indented output.
39 | public static let prettyPrinted = OutputFormatting(rawValue: 1 << 0)
| |- warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prettyPrinted' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// Produce JSON with dictionary keys sorted in lexicographic order.
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:43:27: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
41 | /// Produce JSON with dictionary keys sorted in lexicographic order.
42 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
43 | public static let sortedKeys = OutputFormatting(rawValue: 1 << 1)
| |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sortedKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | /// By default slashes get escaped ("/" → "\/", "http://apple.com/" → "http:\/\/apple.com\/")
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:49:27: warning: static property 'withoutEscapingSlashes' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
47 | /// In contexts where this escaping is unnecessary, the JSON is known to not be embedded,
48 | /// or is intended only for display, this option avoids this escaping.
49 | public static let withoutEscapingSlashes = OutputFormatting(rawValue: 1 << 3)
| |- warning: static property 'withoutEscapingSlashes' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'withoutEscapingSlashes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | }
51 |
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:1302:13: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1300 | // NOTE: This value is implicitly lazy and _must_ be lazy. We're compiled against the latest SDK (w/ ISO8601DateFormatter), but linked against whichever Foundation the user has. ISO8601DateFormatter might not exist, so we better not hit this code path on an older OS.
1301 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
1302 | private var _iso8601Formatter: ISO8601DateFormatter = {
| |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1303 | let formatter = ISO8601DateFormatter()
1304 | formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/Sources/GraphQL/Map/Map.swift:35:16: warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'MapEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | public extension Map {
35 | static let encoder = MapEncoder()
| |- warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'MapEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'encoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | init<T: Encodable>(_ encodable: T, encoder: MapEncoder = Map.encoder) throws {
/host/spi-builder-workspace/Sources/GraphQL/Map/MapCoder.swift:35:12: note: class 'MapEncoder' does not conform to the 'Sendable' protocol
33 |
34 | /// `MapEncoder` facilitates the encoding of `Encodable` values into Map.
35 | open class MapEncoder {
| `- note: class 'MapEncoder' does not conform to the 'Sendable' protocol
36 | // MARK: Options
37 |
[385/389] Compiling GraphQL Visitor.swift
/host/spi-builder-workspace/Sources/GraphQL/Language/Visitor.swift:1:5: warning: let 'QueryDocumentKeys' is not concurrency-safe because non-'Sendable' type '[Kind : [String]]' may have shared mutable state; this is an error in the Swift 6 language mode
1 | let QueryDocumentKeys: [Kind: [String]] = [
| |- warning: let 'QueryDocumentKeys' is not concurrency-safe because non-'Sendable' type '[Kind : [String]]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'QueryDocumentKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2 | .name: [],
3 |
/host/spi-builder-workspace/Sources/GraphQL/Language/Kinds.swift:1:13: note: consider making enum 'Kind' conform to the 'Sendable' protocol
1 | public enum Kind: String, CaseIterable {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
2 | case name
3 | case document
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:41:27: warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// The formatting of the output Any data.
31 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
32 | /// The format's default value.
33 | public let rawValue: UInt
:
39 |
40 | /// Produce human-readable Any with indented output.
41 | public static let prettyPrinted = OutputFormatting(rawValue: 1 << 0)
| |- warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prettyPrinted' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | /// Produce Any with dictionary keys sorted in lexicographic order.
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:45:27: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// The formatting of the output Any data.
31 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
32 | /// The format's default value.
33 | public let rawValue: UInt
:
43 | /// Produce Any with dictionary keys sorted in lexicographic order.
44 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
45 | public static let sortedKeys = OutputFormatting(rawValue: 1 << 1)
| |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sortedKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | }
47 |
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:3262:13: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3260 | // NOTE: This value is implicitly lazy and _must_ be lazy. We're compiled against the latest SDK (w/ ISO8601DateFormatter), but linked against whichever Foundation the user has. ISO8601DateFormatter might not exist, so we better not hit this code path on an older OS.
3261 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
3262 | private var _iso8601Formatter: ISO8601DateFormatter = {
| |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3263 | let formatter = ISO8601DateFormatter()
3264 | formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:39:27: warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
37 |
38 | /// Produce human-readable JSON with indented output.
39 | public static let prettyPrinted = OutputFormatting(rawValue: 1 << 0)
| |- warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prettyPrinted' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// Produce JSON with dictionary keys sorted in lexicographic order.
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:43:27: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
41 | /// Produce JSON with dictionary keys sorted in lexicographic order.
42 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
43 | public static let sortedKeys = OutputFormatting(rawValue: 1 << 1)
| |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sortedKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | /// By default slashes get escaped ("/" → "\/", "http://apple.com/" → "http:\/\/apple.com\/")
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:49:27: warning: static property 'withoutEscapingSlashes' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
47 | /// In contexts where this escaping is unnecessary, the JSON is known to not be embedded,
48 | /// or is intended only for display, this option avoids this escaping.
49 | public static let withoutEscapingSlashes = OutputFormatting(rawValue: 1 << 3)
| |- warning: static property 'withoutEscapingSlashes' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'withoutEscapingSlashes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | }
51 |
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:1302:13: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1300 | // NOTE: This value is implicitly lazy and _must_ be lazy. We're compiled against the latest SDK (w/ ISO8601DateFormatter), but linked against whichever Foundation the user has. ISO8601DateFormatter might not exist, so we better not hit this code path on an older OS.
1301 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
1302 | private var _iso8601Formatter: ISO8601DateFormatter = {
| |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1303 | let formatter = ISO8601DateFormatter()
1304 | formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/Sources/GraphQL/Map/Map.swift:35:16: warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'MapEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | public extension Map {
35 | static let encoder = MapEncoder()
| |- warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'MapEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'encoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | init<T: Encodable>(_ encodable: T, encoder: MapEncoder = Map.encoder) throws {
/host/spi-builder-workspace/Sources/GraphQL/Map/MapCoder.swift:35:12: note: class 'MapEncoder' does not conform to the 'Sendable' protocol
33 |
34 | /// `MapEncoder` facilitates the encoding of `Encodable` values into Map.
35 | open class MapEncoder {
| `- note: class 'MapEncoder' does not conform to the 'Sendable' protocol
36 | // MARK: Options
37 |
[386/389] Compiling GraphQL AnyCoder.swift
/host/spi-builder-workspace/Sources/GraphQL/Language/Visitor.swift:1:5: warning: let 'QueryDocumentKeys' is not concurrency-safe because non-'Sendable' type '[Kind : [String]]' may have shared mutable state; this is an error in the Swift 6 language mode
1 | let QueryDocumentKeys: [Kind: [String]] = [
| |- warning: let 'QueryDocumentKeys' is not concurrency-safe because non-'Sendable' type '[Kind : [String]]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'QueryDocumentKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2 | .name: [],
3 |
/host/spi-builder-workspace/Sources/GraphQL/Language/Kinds.swift:1:13: note: consider making enum 'Kind' conform to the 'Sendable' protocol
1 | public enum Kind: String, CaseIterable {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
2 | case name
3 | case document
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:41:27: warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// The formatting of the output Any data.
31 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
32 | /// The format's default value.
33 | public let rawValue: UInt
:
39 |
40 | /// Produce human-readable Any with indented output.
41 | public static let prettyPrinted = OutputFormatting(rawValue: 1 << 0)
| |- warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prettyPrinted' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | /// Produce Any with dictionary keys sorted in lexicographic order.
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:45:27: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// The formatting of the output Any data.
31 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
32 | /// The format's default value.
33 | public let rawValue: UInt
:
43 | /// Produce Any with dictionary keys sorted in lexicographic order.
44 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
45 | public static let sortedKeys = OutputFormatting(rawValue: 1 << 1)
| |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sortedKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | }
47 |
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:3262:13: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3260 | // NOTE: This value is implicitly lazy and _must_ be lazy. We're compiled against the latest SDK (w/ ISO8601DateFormatter), but linked against whichever Foundation the user has. ISO8601DateFormatter might not exist, so we better not hit this code path on an older OS.
3261 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
3262 | private var _iso8601Formatter: ISO8601DateFormatter = {
| |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3263 | let formatter = ISO8601DateFormatter()
3264 | formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:39:27: warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
37 |
38 | /// Produce human-readable JSON with indented output.
39 | public static let prettyPrinted = OutputFormatting(rawValue: 1 << 0)
| |- warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prettyPrinted' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// Produce JSON with dictionary keys sorted in lexicographic order.
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:43:27: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
41 | /// Produce JSON with dictionary keys sorted in lexicographic order.
42 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
43 | public static let sortedKeys = OutputFormatting(rawValue: 1 << 1)
| |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sortedKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | /// By default slashes get escaped ("/" → "\/", "http://apple.com/" → "http:\/\/apple.com\/")
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:49:27: warning: static property 'withoutEscapingSlashes' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
47 | /// In contexts where this escaping is unnecessary, the JSON is known to not be embedded,
48 | /// or is intended only for display, this option avoids this escaping.
49 | public static let withoutEscapingSlashes = OutputFormatting(rawValue: 1 << 3)
| |- warning: static property 'withoutEscapingSlashes' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'withoutEscapingSlashes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | }
51 |
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:1302:13: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1300 | // NOTE: This value is implicitly lazy and _must_ be lazy. We're compiled against the latest SDK (w/ ISO8601DateFormatter), but linked against whichever Foundation the user has. ISO8601DateFormatter might not exist, so we better not hit this code path on an older OS.
1301 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
1302 | private var _iso8601Formatter: ISO8601DateFormatter = {
| |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1303 | let formatter = ISO8601DateFormatter()
1304 | formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/Sources/GraphQL/Map/Map.swift:35:16: warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'MapEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | public extension Map {
35 | static let encoder = MapEncoder()
| |- warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'MapEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'encoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | init<T: Encodable>(_ encodable: T, encoder: MapEncoder = Map.encoder) throws {
/host/spi-builder-workspace/Sources/GraphQL/Map/MapCoder.swift:35:12: note: class 'MapEncoder' does not conform to the 'Sendable' protocol
33 |
34 | /// `MapEncoder` facilitates the encoding of `Encodable` values into Map.
35 | open class MapEncoder {
| `- note: class 'MapEncoder' does not conform to the 'Sendable' protocol
36 | // MARK: Options
37 |
[387/389] Compiling GraphQL AnySerialization.swift
/host/spi-builder-workspace/Sources/GraphQL/Language/Visitor.swift:1:5: warning: let 'QueryDocumentKeys' is not concurrency-safe because non-'Sendable' type '[Kind : [String]]' may have shared mutable state; this is an error in the Swift 6 language mode
1 | let QueryDocumentKeys: [Kind: [String]] = [
| |- warning: let 'QueryDocumentKeys' is not concurrency-safe because non-'Sendable' type '[Kind : [String]]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'QueryDocumentKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2 | .name: [],
3 |
/host/spi-builder-workspace/Sources/GraphQL/Language/Kinds.swift:1:13: note: consider making enum 'Kind' conform to the 'Sendable' protocol
1 | public enum Kind: String, CaseIterable {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
2 | case name
3 | case document
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:41:27: warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// The formatting of the output Any data.
31 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
32 | /// The format's default value.
33 | public let rawValue: UInt
:
39 |
40 | /// Produce human-readable Any with indented output.
41 | public static let prettyPrinted = OutputFormatting(rawValue: 1 << 0)
| |- warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prettyPrinted' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | /// Produce Any with dictionary keys sorted in lexicographic order.
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:45:27: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// The formatting of the output Any data.
31 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
32 | /// The format's default value.
33 | public let rawValue: UInt
:
43 | /// Produce Any with dictionary keys sorted in lexicographic order.
44 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
45 | public static let sortedKeys = OutputFormatting(rawValue: 1 << 1)
| |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sortedKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | }
47 |
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:3262:13: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3260 | // NOTE: This value is implicitly lazy and _must_ be lazy. We're compiled against the latest SDK (w/ ISO8601DateFormatter), but linked against whichever Foundation the user has. ISO8601DateFormatter might not exist, so we better not hit this code path on an older OS.
3261 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
3262 | private var _iso8601Formatter: ISO8601DateFormatter = {
| |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3263 | let formatter = ISO8601DateFormatter()
3264 | formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:39:27: warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
37 |
38 | /// Produce human-readable JSON with indented output.
39 | public static let prettyPrinted = OutputFormatting(rawValue: 1 << 0)
| |- warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prettyPrinted' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// Produce JSON with dictionary keys sorted in lexicographic order.
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:43:27: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
41 | /// Produce JSON with dictionary keys sorted in lexicographic order.
42 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
43 | public static let sortedKeys = OutputFormatting(rawValue: 1 << 1)
| |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sortedKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | /// By default slashes get escaped ("/" → "\/", "http://apple.com/" → "http:\/\/apple.com\/")
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:49:27: warning: static property 'withoutEscapingSlashes' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
47 | /// In contexts where this escaping is unnecessary, the JSON is known to not be embedded,
48 | /// or is intended only for display, this option avoids this escaping.
49 | public static let withoutEscapingSlashes = OutputFormatting(rawValue: 1 << 3)
| |- warning: static property 'withoutEscapingSlashes' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'withoutEscapingSlashes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | }
51 |
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:1302:13: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1300 | // NOTE: This value is implicitly lazy and _must_ be lazy. We're compiled against the latest SDK (w/ ISO8601DateFormatter), but linked against whichever Foundation the user has. ISO8601DateFormatter might not exist, so we better not hit this code path on an older OS.
1301 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
1302 | private var _iso8601Formatter: ISO8601DateFormatter = {
| |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1303 | let formatter = ISO8601DateFormatter()
1304 | formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/Sources/GraphQL/Map/Map.swift:35:16: warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'MapEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | public extension Map {
35 | static let encoder = MapEncoder()
| |- warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'MapEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'encoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | init<T: Encodable>(_ encodable: T, encoder: MapEncoder = Map.encoder) throws {
/host/spi-builder-workspace/Sources/GraphQL/Map/MapCoder.swift:35:12: note: class 'MapEncoder' does not conform to the 'Sendable' protocol
33 |
34 | /// `MapEncoder` facilitates the encoding of `Encodable` values into Map.
35 | open class MapEncoder {
| `- note: class 'MapEncoder' does not conform to the 'Sendable' protocol
36 | // MARK: Options
37 |
[388/389] Compiling GraphQL GraphQLJSONEncoder.swift
/host/spi-builder-workspace/Sources/GraphQL/Language/Visitor.swift:1:5: warning: let 'QueryDocumentKeys' is not concurrency-safe because non-'Sendable' type '[Kind : [String]]' may have shared mutable state; this is an error in the Swift 6 language mode
1 | let QueryDocumentKeys: [Kind: [String]] = [
| |- warning: let 'QueryDocumentKeys' is not concurrency-safe because non-'Sendable' type '[Kind : [String]]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'QueryDocumentKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2 | .name: [],
3 |
/host/spi-builder-workspace/Sources/GraphQL/Language/Kinds.swift:1:13: note: consider making enum 'Kind' conform to the 'Sendable' protocol
1 | public enum Kind: String, CaseIterable {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
2 | case name
3 | case document
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:41:27: warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// The formatting of the output Any data.
31 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
32 | /// The format's default value.
33 | public let rawValue: UInt
:
39 |
40 | /// Produce human-readable Any with indented output.
41 | public static let prettyPrinted = OutputFormatting(rawValue: 1 << 0)
| |- warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prettyPrinted' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | /// Produce Any with dictionary keys sorted in lexicographic order.
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:45:27: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// The formatting of the output Any data.
31 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
32 | /// The format's default value.
33 | public let rawValue: UInt
:
43 | /// Produce Any with dictionary keys sorted in lexicographic order.
44 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
45 | public static let sortedKeys = OutputFormatting(rawValue: 1 << 1)
| |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sortedKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | }
47 |
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:3262:13: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3260 | // NOTE: This value is implicitly lazy and _must_ be lazy. We're compiled against the latest SDK (w/ ISO8601DateFormatter), but linked against whichever Foundation the user has. ISO8601DateFormatter might not exist, so we better not hit this code path on an older OS.
3261 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
3262 | private var _iso8601Formatter: ISO8601DateFormatter = {
| |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3263 | let formatter = ISO8601DateFormatter()
3264 | formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:39:27: warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
37 |
38 | /// Produce human-readable JSON with indented output.
39 | public static let prettyPrinted = OutputFormatting(rawValue: 1 << 0)
| |- warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prettyPrinted' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// Produce JSON with dictionary keys sorted in lexicographic order.
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:43:27: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
41 | /// Produce JSON with dictionary keys sorted in lexicographic order.
42 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
43 | public static let sortedKeys = OutputFormatting(rawValue: 1 << 1)
| |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sortedKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | /// By default slashes get escaped ("/" → "\/", "http://apple.com/" → "http:\/\/apple.com\/")
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:49:27: warning: static property 'withoutEscapingSlashes' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
47 | /// In contexts where this escaping is unnecessary, the JSON is known to not be embedded,
48 | /// or is intended only for display, this option avoids this escaping.
49 | public static let withoutEscapingSlashes = OutputFormatting(rawValue: 1 << 3)
| |- warning: static property 'withoutEscapingSlashes' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'withoutEscapingSlashes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | }
51 |
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:1302:13: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1300 | // NOTE: This value is implicitly lazy and _must_ be lazy. We're compiled against the latest SDK (w/ ISO8601DateFormatter), but linked against whichever Foundation the user has. ISO8601DateFormatter might not exist, so we better not hit this code path on an older OS.
1301 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
1302 | private var _iso8601Formatter: ISO8601DateFormatter = {
| |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1303 | let formatter = ISO8601DateFormatter()
1304 | formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/Sources/GraphQL/Map/Map.swift:35:16: warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'MapEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | public extension Map {
35 | static let encoder = MapEncoder()
| |- warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'MapEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'encoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | init<T: Encodable>(_ encodable: T, encoder: MapEncoder = Map.encoder) throws {
/host/spi-builder-workspace/Sources/GraphQL/Map/MapCoder.swift:35:12: note: class 'MapEncoder' does not conform to the 'Sendable' protocol
33 |
34 | /// `MapEncoder` facilitates the encoding of `Encodable` values into Map.
35 | open class MapEncoder {
| `- note: class 'MapEncoder' does not conform to the 'Sendable' protocol
36 | // MARK: Options
37 |
[389/389] Compiling GraphQL Map.swift
/host/spi-builder-workspace/Sources/GraphQL/Language/Visitor.swift:1:5: warning: let 'QueryDocumentKeys' is not concurrency-safe because non-'Sendable' type '[Kind : [String]]' may have shared mutable state; this is an error in the Swift 6 language mode
1 | let QueryDocumentKeys: [Kind: [String]] = [
| |- warning: let 'QueryDocumentKeys' is not concurrency-safe because non-'Sendable' type '[Kind : [String]]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'QueryDocumentKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2 | .name: [],
3 |
/host/spi-builder-workspace/Sources/GraphQL/Language/Kinds.swift:1:13: note: consider making enum 'Kind' conform to the 'Sendable' protocol
1 | public enum Kind: String, CaseIterable {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
2 | case name
3 | case document
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:41:27: warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// The formatting of the output Any data.
31 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
32 | /// The format's default value.
33 | public let rawValue: UInt
:
39 |
40 | /// Produce human-readable Any with indented output.
41 | public static let prettyPrinted = OutputFormatting(rawValue: 1 << 0)
| |- warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prettyPrinted' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | /// Produce Any with dictionary keys sorted in lexicographic order.
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:45:27: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// The formatting of the output Any data.
31 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
32 | /// The format's default value.
33 | public let rawValue: UInt
:
43 | /// Produce Any with dictionary keys sorted in lexicographic order.
44 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
45 | public static let sortedKeys = OutputFormatting(rawValue: 1 << 1)
| |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sortedKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | }
47 |
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:3262:13: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3260 | // NOTE: This value is implicitly lazy and _must_ be lazy. We're compiled against the latest SDK (w/ ISO8601DateFormatter), but linked against whichever Foundation the user has. ISO8601DateFormatter might not exist, so we better not hit this code path on an older OS.
3261 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
3262 | private var _iso8601Formatter: ISO8601DateFormatter = {
| |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3263 | let formatter = ISO8601DateFormatter()
3264 | formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:39:27: warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
37 |
38 | /// Produce human-readable JSON with indented output.
39 | public static let prettyPrinted = OutputFormatting(rawValue: 1 << 0)
| |- warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prettyPrinted' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// Produce JSON with dictionary keys sorted in lexicographic order.
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:43:27: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
41 | /// Produce JSON with dictionary keys sorted in lexicographic order.
42 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
43 | public static let sortedKeys = OutputFormatting(rawValue: 1 << 1)
| |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sortedKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | /// By default slashes get escaped ("/" → "\/", "http://apple.com/" → "http:\/\/apple.com\/")
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:49:27: warning: static property 'withoutEscapingSlashes' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
47 | /// In contexts where this escaping is unnecessary, the JSON is known to not be embedded,
48 | /// or is intended only for display, this option avoids this escaping.
49 | public static let withoutEscapingSlashes = OutputFormatting(rawValue: 1 << 3)
| |- warning: static property 'withoutEscapingSlashes' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'withoutEscapingSlashes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | }
51 |
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:1302:13: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1300 | // NOTE: This value is implicitly lazy and _must_ be lazy. We're compiled against the latest SDK (w/ ISO8601DateFormatter), but linked against whichever Foundation the user has. ISO8601DateFormatter might not exist, so we better not hit this code path on an older OS.
1301 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
1302 | private var _iso8601Formatter: ISO8601DateFormatter = {
| |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1303 | let formatter = ISO8601DateFormatter()
1304 | formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/Sources/GraphQL/Map/Map.swift:35:16: warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'MapEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | public extension Map {
35 | static let encoder = MapEncoder()
| |- warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'MapEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'encoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | init<T: Encodable>(_ encodable: T, encoder: MapEncoder = Map.encoder) throws {
/host/spi-builder-workspace/Sources/GraphQL/Map/MapCoder.swift:35:12: note: class 'MapEncoder' does not conform to the 'Sendable' protocol
33 |
34 | /// `MapEncoder` facilitates the encoding of `Encodable` values into Map.
35 | open class MapEncoder {
| `- note: class 'MapEncoder' does not conform to the 'Sendable' protocol
36 | // MARK: Options
37 |
Build complete! (54.58s)
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.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.