Build Information
Successful build of GraphQL, reference main (bd5419
), with Swift 6.0 for Linux on 21 Mar 2025 04:25:21 UTC.
Swift 6 data race errors: 52
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
517 | name: "__typename",
518 | type: GraphQLNonNull(GraphQLString),
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:524:20: note: class 'GraphQLFieldDefinition' does not conform to the 'Sendable' protocol
522 | public typealias GraphQLFieldDefinitionMap = OrderedDictionary<String, GraphQLFieldDefinition>
523 |
524 | public final class GraphQLFieldDefinition {
| `- note: class 'GraphQLFieldDefinition' does not conform to the 'Sendable' protocol
525 | public let name: String
526 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Instrumentation/Instrumentation.swift:77:12: warning: let 'NoOpInstrumentation' is not concurrency-safe because non-'Sendable' type 'any Instrumentation' may have shared mutable state; this is an error in the Swift 6 language mode
6 | ///
7 | /// A working implementation of `now` is also provided by default.
8 | public protocol Instrumentation {
| `- note: protocol 'Instrumentation' does not conform to the 'Sendable' protocol
9 | var now: DispatchTime { get }
10 |
:
75 |
76 | /// Does nothing
77 | public let NoOpInstrumentation: Instrumentation = noOpInstrumentation()
| |- warning: let 'NoOpInstrumentation' is not concurrency-safe because non-'Sendable' type 'any Instrumentation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NoOpInstrumentation' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 |
79 | struct noOpInstrumentation: Instrumentation {
/host/spi-builder-workspace/Sources/GraphQL/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]
[377/389] Compiling GraphQL Kinds.swift
/host/spi-builder-workspace/Sources/GraphQL/Instrumentation/Instrumentation.swift:77:12: warning: let 'NoOpInstrumentation' is not concurrency-safe because non-'Sendable' type 'any Instrumentation' may have shared mutable state; this is an error in the Swift 6 language mode
6 | ///
7 | /// A working implementation of `now` is also provided by default.
8 | public protocol Instrumentation {
| `- note: protocol 'Instrumentation' does not conform to the 'Sendable' protocol
9 | var now: DispatchTime { get }
10 |
:
75 |
76 | /// Does nothing
77 | public let NoOpInstrumentation: Instrumentation = noOpInstrumentation()
| |- warning: let 'NoOpInstrumentation' is not concurrency-safe because non-'Sendable' type 'any Instrumentation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NoOpInstrumentation' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 |
79 | struct noOpInstrumentation: Instrumentation {
/host/spi-builder-workspace/Sources/GraphQL/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: annotate 'QueryDocumentKeys' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'prettyPrinted' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'sortedKeys' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate '_iso8601Formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'prettyPrinted' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'sortedKeys' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'withoutEscapingSlashes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate '_iso8601Formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'encoder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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/Instrumentation/Instrumentation.swift:77:12: warning: let 'NoOpInstrumentation' is not concurrency-safe because non-'Sendable' type 'any Instrumentation' may have shared mutable state; this is an error in the Swift 6 language mode
6 | ///
7 | /// A working implementation of `now` is also provided by default.
8 | public protocol Instrumentation {
| `- note: protocol 'Instrumentation' does not conform to the 'Sendable' protocol
9 | var now: DispatchTime { get }
10 |
:
75 |
76 | /// Does nothing
77 | public let NoOpInstrumentation: Instrumentation = noOpInstrumentation()
| |- warning: let 'NoOpInstrumentation' is not concurrency-safe because non-'Sendable' type 'any Instrumentation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NoOpInstrumentation' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 |
79 | struct noOpInstrumentation: Instrumentation {
/host/spi-builder-workspace/Sources/GraphQL/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: annotate 'QueryDocumentKeys' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'prettyPrinted' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'sortedKeys' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate '_iso8601Formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'prettyPrinted' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'sortedKeys' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'withoutEscapingSlashes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate '_iso8601Formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'encoder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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/Instrumentation/Instrumentation.swift:77:12: warning: let 'NoOpInstrumentation' is not concurrency-safe because non-'Sendable' type 'any Instrumentation' may have shared mutable state; this is an error in the Swift 6 language mode
6 | ///
7 | /// A working implementation of `now` is also provided by default.
8 | public protocol Instrumentation {
| `- note: protocol 'Instrumentation' does not conform to the 'Sendable' protocol
9 | var now: DispatchTime { get }
10 |
:
75 |
76 | /// Does nothing
77 | public let NoOpInstrumentation: Instrumentation = noOpInstrumentation()
| |- warning: let 'NoOpInstrumentation' is not concurrency-safe because non-'Sendable' type 'any Instrumentation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NoOpInstrumentation' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 |
79 | struct noOpInstrumentation: Instrumentation {
/host/spi-builder-workspace/Sources/GraphQL/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: annotate 'QueryDocumentKeys' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'prettyPrinted' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'sortedKeys' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate '_iso8601Formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'prettyPrinted' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'sortedKeys' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'withoutEscapingSlashes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate '_iso8601Formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'encoder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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/Instrumentation/Instrumentation.swift:77:12: warning: let 'NoOpInstrumentation' is not concurrency-safe because non-'Sendable' type 'any Instrumentation' may have shared mutable state; this is an error in the Swift 6 language mode
6 | ///
7 | /// A working implementation of `now` is also provided by default.
8 | public protocol Instrumentation {
| `- note: protocol 'Instrumentation' does not conform to the 'Sendable' protocol
9 | var now: DispatchTime { get }
10 |
:
75 |
76 | /// Does nothing
77 | public let NoOpInstrumentation: Instrumentation = noOpInstrumentation()
| |- warning: let 'NoOpInstrumentation' is not concurrency-safe because non-'Sendable' type 'any Instrumentation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NoOpInstrumentation' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 |
79 | struct noOpInstrumentation: Instrumentation {
/host/spi-builder-workspace/Sources/GraphQL/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: annotate 'QueryDocumentKeys' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'prettyPrinted' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'sortedKeys' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate '_iso8601Formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'prettyPrinted' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'sortedKeys' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'withoutEscapingSlashes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate '_iso8601Formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'encoder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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/Instrumentation/Instrumentation.swift:77:12: warning: let 'NoOpInstrumentation' is not concurrency-safe because non-'Sendable' type 'any Instrumentation' may have shared mutable state; this is an error in the Swift 6 language mode
6 | ///
7 | /// A working implementation of `now` is also provided by default.
8 | public protocol Instrumentation {
| `- note: protocol 'Instrumentation' does not conform to the 'Sendable' protocol
9 | var now: DispatchTime { get }
10 |
:
75 |
76 | /// Does nothing
77 | public let NoOpInstrumentation: Instrumentation = noOpInstrumentation()
| |- warning: let 'NoOpInstrumentation' is not concurrency-safe because non-'Sendable' type 'any Instrumentation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NoOpInstrumentation' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 |
79 | struct noOpInstrumentation: Instrumentation {
/host/spi-builder-workspace/Sources/GraphQL/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: annotate 'QueryDocumentKeys' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'prettyPrinted' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'sortedKeys' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate '_iso8601Formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'prettyPrinted' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'sortedKeys' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'withoutEscapingSlashes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate '_iso8601Formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'encoder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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/Instrumentation/Instrumentation.swift:77:12: warning: let 'NoOpInstrumentation' is not concurrency-safe because non-'Sendable' type 'any Instrumentation' may have shared mutable state; this is an error in the Swift 6 language mode
6 | ///
7 | /// A working implementation of `now` is also provided by default.
8 | public protocol Instrumentation {
| `- note: protocol 'Instrumentation' does not conform to the 'Sendable' protocol
9 | var now: DispatchTime { get }
10 |
:
75 |
76 | /// Does nothing
77 | public let NoOpInstrumentation: Instrumentation = noOpInstrumentation()
| |- warning: let 'NoOpInstrumentation' is not concurrency-safe because non-'Sendable' type 'any Instrumentation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NoOpInstrumentation' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 |
79 | struct noOpInstrumentation: Instrumentation {
/host/spi-builder-workspace/Sources/GraphQL/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: annotate 'QueryDocumentKeys' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'prettyPrinted' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'sortedKeys' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate '_iso8601Formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'prettyPrinted' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'sortedKeys' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'withoutEscapingSlashes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate '_iso8601Formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'encoder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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/Instrumentation/Instrumentation.swift:77:12: warning: let 'NoOpInstrumentation' is not concurrency-safe because non-'Sendable' type 'any Instrumentation' may have shared mutable state; this is an error in the Swift 6 language mode
6 | ///
7 | /// A working implementation of `now` is also provided by default.
8 | public protocol Instrumentation {
| `- note: protocol 'Instrumentation' does not conform to the 'Sendable' protocol
9 | var now: DispatchTime { get }
10 |
:
75 |
76 | /// Does nothing
77 | public let NoOpInstrumentation: Instrumentation = noOpInstrumentation()
| |- warning: let 'NoOpInstrumentation' is not concurrency-safe because non-'Sendable' type 'any Instrumentation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NoOpInstrumentation' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 |
79 | struct noOpInstrumentation: Instrumentation {
/host/spi-builder-workspace/Sources/GraphQL/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: annotate 'QueryDocumentKeys' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'prettyPrinted' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'sortedKeys' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate '_iso8601Formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'prettyPrinted' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'sortedKeys' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'withoutEscapingSlashes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate '_iso8601Formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'encoder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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/Instrumentation/Instrumentation.swift:77:12: warning: let 'NoOpInstrumentation' is not concurrency-safe because non-'Sendable' type 'any Instrumentation' may have shared mutable state; this is an error in the Swift 6 language mode
6 | ///
7 | /// A working implementation of `now` is also provided by default.
8 | public protocol Instrumentation {
| `- note: protocol 'Instrumentation' does not conform to the 'Sendable' protocol
9 | var now: DispatchTime { get }
10 |
:
75 |
76 | /// Does nothing
77 | public let NoOpInstrumentation: Instrumentation = noOpInstrumentation()
| |- warning: let 'NoOpInstrumentation' is not concurrency-safe because non-'Sendable' type 'any Instrumentation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NoOpInstrumentation' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 |
79 | struct noOpInstrumentation: Instrumentation {
/host/spi-builder-workspace/Sources/GraphQL/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: annotate 'QueryDocumentKeys' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'prettyPrinted' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'sortedKeys' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate '_iso8601Formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'prettyPrinted' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'sortedKeys' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'withoutEscapingSlashes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate '_iso8601Formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'encoder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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/Instrumentation/Instrumentation.swift:77:12: warning: let 'NoOpInstrumentation' is not concurrency-safe because non-'Sendable' type 'any Instrumentation' may have shared mutable state; this is an error in the Swift 6 language mode
6 | ///
7 | /// A working implementation of `now` is also provided by default.
8 | public protocol Instrumentation {
| `- note: protocol 'Instrumentation' does not conform to the 'Sendable' protocol
9 | var now: DispatchTime { get }
10 |
:
75 |
76 | /// Does nothing
77 | public let NoOpInstrumentation: Instrumentation = noOpInstrumentation()
| |- warning: let 'NoOpInstrumentation' is not concurrency-safe because non-'Sendable' type 'any Instrumentation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NoOpInstrumentation' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 |
79 | struct noOpInstrumentation: Instrumentation {
/host/spi-builder-workspace/Sources/GraphQL/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: annotate 'QueryDocumentKeys' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'prettyPrinted' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'sortedKeys' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate '_iso8601Formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'prettyPrinted' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'sortedKeys' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'withoutEscapingSlashes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate '_iso8601Formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'encoder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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/Instrumentation/Instrumentation.swift:77:12: warning: let 'NoOpInstrumentation' is not concurrency-safe because non-'Sendable' type 'any Instrumentation' may have shared mutable state; this is an error in the Swift 6 language mode
6 | ///
7 | /// A working implementation of `now` is also provided by default.
8 | public protocol Instrumentation {
| `- note: protocol 'Instrumentation' does not conform to the 'Sendable' protocol
9 | var now: DispatchTime { get }
10 |
:
75 |
76 | /// Does nothing
77 | public let NoOpInstrumentation: Instrumentation = noOpInstrumentation()
| |- warning: let 'NoOpInstrumentation' is not concurrency-safe because non-'Sendable' type 'any Instrumentation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NoOpInstrumentation' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 |
79 | struct noOpInstrumentation: Instrumentation {
/host/spi-builder-workspace/Sources/GraphQL/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: annotate 'QueryDocumentKeys' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'prettyPrinted' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'sortedKeys' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate '_iso8601Formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'prettyPrinted' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'sortedKeys' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'withoutEscapingSlashes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate '_iso8601Formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'encoder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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/Instrumentation/Instrumentation.swift:77:12: warning: let 'NoOpInstrumentation' is not concurrency-safe because non-'Sendable' type 'any Instrumentation' may have shared mutable state; this is an error in the Swift 6 language mode
6 | ///
7 | /// A working implementation of `now` is also provided by default.
8 | public protocol Instrumentation {
| `- note: protocol 'Instrumentation' does not conform to the 'Sendable' protocol
9 | var now: DispatchTime { get }
10 |
:
75 |
76 | /// Does nothing
77 | public let NoOpInstrumentation: Instrumentation = noOpInstrumentation()
| |- warning: let 'NoOpInstrumentation' is not concurrency-safe because non-'Sendable' type 'any Instrumentation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NoOpInstrumentation' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 |
79 | struct noOpInstrumentation: Instrumentation {
/host/spi-builder-workspace/Sources/GraphQL/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: annotate 'QueryDocumentKeys' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'prettyPrinted' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'sortedKeys' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate '_iso8601Formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'prettyPrinted' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'sortedKeys' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'withoutEscapingSlashes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate '_iso8601Formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'encoder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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/Instrumentation/Instrumentation.swift:77:12: warning: let 'NoOpInstrumentation' is not concurrency-safe because non-'Sendable' type 'any Instrumentation' may have shared mutable state; this is an error in the Swift 6 language mode
6 | ///
7 | /// A working implementation of `now` is also provided by default.
8 | public protocol Instrumentation {
| `- note: protocol 'Instrumentation' does not conform to the 'Sendable' protocol
9 | var now: DispatchTime { get }
10 |
:
75 |
76 | /// Does nothing
77 | public let NoOpInstrumentation: Instrumentation = noOpInstrumentation()
| |- warning: let 'NoOpInstrumentation' is not concurrency-safe because non-'Sendable' type 'any Instrumentation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NoOpInstrumentation' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 |
79 | struct noOpInstrumentation: Instrumentation {
/host/spi-builder-workspace/Sources/GraphQL/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: annotate 'QueryDocumentKeys' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'prettyPrinted' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'sortedKeys' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate '_iso8601Formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'prettyPrinted' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'sortedKeys' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'withoutEscapingSlashes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate '_iso8601Formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'encoder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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/Instrumentation/Instrumentation.swift:77:12: warning: let 'NoOpInstrumentation' is not concurrency-safe because non-'Sendable' type 'any Instrumentation' may have shared mutable state; this is an error in the Swift 6 language mode
6 | ///
7 | /// A working implementation of `now` is also provided by default.
8 | public protocol Instrumentation {
| `- note: protocol 'Instrumentation' does not conform to the 'Sendable' protocol
9 | var now: DispatchTime { get }
10 |
:
75 |
76 | /// Does nothing
77 | public let NoOpInstrumentation: Instrumentation = noOpInstrumentation()
| |- warning: let 'NoOpInstrumentation' is not concurrency-safe because non-'Sendable' type 'any Instrumentation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NoOpInstrumentation' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 |
79 | struct noOpInstrumentation: Instrumentation {
/host/spi-builder-workspace/Sources/GraphQL/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: annotate 'QueryDocumentKeys' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'prettyPrinted' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'sortedKeys' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate '_iso8601Formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'prettyPrinted' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'sortedKeys' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'withoutEscapingSlashes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate '_iso8601Formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'encoder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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! (64.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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.