Build Information
Successful build of GraphQL, reference main (e3c511
), with Swift 6.1 for Android on 25 Jun 2025 04:49:06 UTC.
Swift 6 data race errors: 52
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
93 | } catch {
94 | return eventLoop.makeFailedFuture(error)
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:496:31: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
494 | description: "Access the current type schema of this server.",
495 | resolve: { _, _, _, eventLoopGroup, info in
496 | eventLoopGroup.next().makeSucceededFuture(info.schema)
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
497 | }
498 | )
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:512:38: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
510 | resolve: { _, arguments, _, eventLoopGroup, info in
511 | let name = arguments["name"].string!
512 | return eventLoopGroup.next().makeSucceededFuture(info.schema.getType(name: name))
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
513 | }
514 | )
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:521:31: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
519 | description: "The name of the current Object type at runtime.",
520 | resolve: { _, _, _, eventLoopGroup, info in
521 | eventLoopGroup.next().makeSucceededFuture(info.parentType.name)
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
522 | }
523 | )
[358/384] Compiling GraphQL NoSchemaIntrospectionCustomRule.swift
/host/spi-builder-workspace/Sources/GraphQL/Utilities/NIO+Extensions.swift:67:1: warning: sendability of function types in instance method 'map(file:line:_:)' does not match requirement in protocol 'FutureType'; this is an error in the Swift 6 language mode
58 | func whenSuccess(_ callback: @escaping @Sendable (Expectation) -> Void)
59 | func whenFailure(_ callback: @escaping @Sendable (Error) -> Void)
60 | func map<NewValue>(
| `- note: expected sendability to match requirement here
61 | file: StaticString,
62 | line: UInt,
:
65 | }
66 |
67 | extension Future: FutureType {
| `- warning: sendability of function types in instance method 'map(file:line:_:)' does not match requirement in protocol 'FutureType'; this is an error in the Swift 6 language mode
68 | public typealias Expectation = Value
69 | }
/host/spi-builder-workspace/Sources/GraphQL/Utilities/NIO+Extensions.swift:16:23: warning: type 'T' does not conform to the 'Sendable' protocol
13 |
14 | public extension Collection {
15 | func flatten<T>(on eventLoopGroup: EventLoopGroup) -> Future<[T]> where Element == Future<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
16 | return Future.whenAllSucceed(Array(self), on: eventLoopGroup.next())
| `- warning: type 'T' does not conform to the 'Sendable' protocol
17 | }
18 | }
/host/spi-builder-workspace/Sources/GraphQL/Utilities/NIO+Extensions.swift:27:32: warning: type 'Key' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
25 | }
26 | // when all futures have succeeded convert tuple array back to dictionary
27 | return EventLoopFuture.whenAllSucceed(futures, on: eventLoopGroup.next()).map {
| `- warning: type 'Key' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
28 | .init(uniqueKeysWithValues: $0)
29 | }
/host/spi-builder-workspace/Sources/GraphQL/Utilities/NIO+Extensions.swift:27:32: warning: type 'Value.Expectation' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
25 | }
26 | // when all futures have succeeded convert tuple array back to dictionary
27 | return EventLoopFuture.whenAllSucceed(futures, on: eventLoopGroup.next()).map {
| `- warning: type 'Value.Expectation' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
28 | .init(uniqueKeysWithValues: $0)
29 | }
/host/spi-builder-workspace/Sources/GraphQL/Utilities/NIO+Extensions.swift:43:32: warning: type 'Key' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
41 | }
42 | // when all futures have succeeded convert tuple array back to dictionary
43 | return EventLoopFuture.whenAllSucceed(futures, on: eventLoopGroup.next())
| `- warning: type 'Key' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
44 | .map { unorderedResult in
45 | var result: OrderedDictionary<Key, Value.Expectation> = [:]
/host/spi-builder-workspace/Sources/GraphQL/Utilities/NIO+Extensions.swift:43:32: warning: type 'Value.Expectation' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
41 | }
42 | // when all futures have succeeded convert tuple array back to dictionary
43 | return EventLoopFuture.whenAllSucceed(futures, on: eventLoopGroup.next())
| `- warning: type 'Value.Expectation' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
44 | .map { unorderedResult in
45 | var result: OrderedDictionary<Key, Value.Expectation> = [:]
/host/spi-builder-workspace/Sources/GraphQL/Utilities/NIO+Extensions.swift:46:28: warning: capture of 'keys' with non-sendable type 'OrderedSet<Key>' in a '@Sendable' closure
44 | .map { unorderedResult in
45 | var result: OrderedDictionary<Key, Value.Expectation> = [:]
46 | for key in keys {
| `- warning: capture of 'keys' with non-sendable type 'OrderedSet<Key>' in a '@Sendable' closure
47 | // Unwrap is guaranteed because keys are from original dictionary and maps
48 | // preserve all elements
/host/spi-builder-workspace/Sources/GraphQL/Utilities/NIO+Extensions.swift:90:9: warning: type 'NewValue' does not conform to the 'Sendable' protocol
72 | // in order to avoid full package dependency.
73 | public extension EventLoopFuture {
74 | func tryFlatMap<NewValue>(
| `- note: consider making generic parameter 'NewValue' conform to the 'Sendable' protocol
75 | file _: StaticString = #file, line _: UInt = #line,
76 | _ callback: @escaping (Value) throws -> EventLoopFuture<NewValue>
:
88 | /// `EventLoopFuture<Value>`
89 | /// to report failure immediately after the completion of the original `EventLoopFuture`.
90 | flatMap { [eventLoop] value in
| `- warning: type 'NewValue' does not conform to the 'Sendable' protocol
91 | do {
92 | return try callback(value)
/host/spi-builder-workspace/Sources/GraphQL/Utilities/NIO+Extensions.swift:92:28: warning: capture of 'callback' with non-sendable type '(Value) throws -> EventLoopFuture<NewValue>' in a '@Sendable' closure
90 | flatMap { [eventLoop] value in
91 | do {
92 | return try callback(value)
| |- warning: capture of 'callback' with non-sendable type '(Value) throws -> EventLoopFuture<NewValue>' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
93 | } catch {
94 | return eventLoop.makeFailedFuture(error)
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:496:31: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
494 | description: "Access the current type schema of this server.",
495 | resolve: { _, _, _, eventLoopGroup, info in
496 | eventLoopGroup.next().makeSucceededFuture(info.schema)
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
497 | }
498 | )
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:512:38: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
510 | resolve: { _, arguments, _, eventLoopGroup, info in
511 | let name = arguments["name"].string!
512 | return eventLoopGroup.next().makeSucceededFuture(info.schema.getType(name: name))
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
513 | }
514 | )
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:521:31: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
519 | description: "The name of the current Object type at runtime.",
520 | resolve: { _, _, _, eventLoopGroup, info in
521 | eventLoopGroup.next().makeSucceededFuture(info.parentType.name)
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
522 | }
523 | )
[359/384] Compiling GraphQL ExecutableDefinitionsRule.swift
/host/spi-builder-workspace/Sources/GraphQL/Utilities/NIO+Extensions.swift:67:1: warning: sendability of function types in instance method 'map(file:line:_:)' does not match requirement in protocol 'FutureType'; this is an error in the Swift 6 language mode
58 | func whenSuccess(_ callback: @escaping @Sendable (Expectation) -> Void)
59 | func whenFailure(_ callback: @escaping @Sendable (Error) -> Void)
60 | func map<NewValue>(
| `- note: expected sendability to match requirement here
61 | file: StaticString,
62 | line: UInt,
:
65 | }
66 |
67 | extension Future: FutureType {
| `- warning: sendability of function types in instance method 'map(file:line:_:)' does not match requirement in protocol 'FutureType'; this is an error in the Swift 6 language mode
68 | public typealias Expectation = Value
69 | }
/host/spi-builder-workspace/Sources/GraphQL/Utilities/NIO+Extensions.swift:16:23: warning: type 'T' does not conform to the 'Sendable' protocol
13 |
14 | public extension Collection {
15 | func flatten<T>(on eventLoopGroup: EventLoopGroup) -> Future<[T]> where Element == Future<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
16 | return Future.whenAllSucceed(Array(self), on: eventLoopGroup.next())
| `- warning: type 'T' does not conform to the 'Sendable' protocol
17 | }
18 | }
/host/spi-builder-workspace/Sources/GraphQL/Utilities/NIO+Extensions.swift:27:32: warning: type 'Key' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
25 | }
26 | // when all futures have succeeded convert tuple array back to dictionary
27 | return EventLoopFuture.whenAllSucceed(futures, on: eventLoopGroup.next()).map {
| `- warning: type 'Key' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
28 | .init(uniqueKeysWithValues: $0)
29 | }
/host/spi-builder-workspace/Sources/GraphQL/Utilities/NIO+Extensions.swift:27:32: warning: type 'Value.Expectation' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
25 | }
26 | // when all futures have succeeded convert tuple array back to dictionary
27 | return EventLoopFuture.whenAllSucceed(futures, on: eventLoopGroup.next()).map {
| `- warning: type 'Value.Expectation' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
28 | .init(uniqueKeysWithValues: $0)
29 | }
/host/spi-builder-workspace/Sources/GraphQL/Utilities/NIO+Extensions.swift:43:32: warning: type 'Key' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
41 | }
42 | // when all futures have succeeded convert tuple array back to dictionary
43 | return EventLoopFuture.whenAllSucceed(futures, on: eventLoopGroup.next())
| `- warning: type 'Key' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
44 | .map { unorderedResult in
45 | var result: OrderedDictionary<Key, Value.Expectation> = [:]
/host/spi-builder-workspace/Sources/GraphQL/Utilities/NIO+Extensions.swift:43:32: warning: type 'Value.Expectation' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
41 | }
42 | // when all futures have succeeded convert tuple array back to dictionary
43 | return EventLoopFuture.whenAllSucceed(futures, on: eventLoopGroup.next())
| `- warning: type 'Value.Expectation' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
44 | .map { unorderedResult in
45 | var result: OrderedDictionary<Key, Value.Expectation> = [:]
/host/spi-builder-workspace/Sources/GraphQL/Utilities/NIO+Extensions.swift:46:28: warning: capture of 'keys' with non-sendable type 'OrderedSet<Key>' in a '@Sendable' closure
44 | .map { unorderedResult in
45 | var result: OrderedDictionary<Key, Value.Expectation> = [:]
46 | for key in keys {
| `- warning: capture of 'keys' with non-sendable type 'OrderedSet<Key>' in a '@Sendable' closure
47 | // Unwrap is guaranteed because keys are from original dictionary and maps
48 | // preserve all elements
/host/spi-builder-workspace/Sources/GraphQL/Utilities/NIO+Extensions.swift:90:9: warning: type 'NewValue' does not conform to the 'Sendable' protocol
72 | // in order to avoid full package dependency.
73 | public extension EventLoopFuture {
74 | func tryFlatMap<NewValue>(
| `- note: consider making generic parameter 'NewValue' conform to the 'Sendable' protocol
75 | file _: StaticString = #file, line _: UInt = #line,
76 | _ callback: @escaping (Value) throws -> EventLoopFuture<NewValue>
:
88 | /// `EventLoopFuture<Value>`
89 | /// to report failure immediately after the completion of the original `EventLoopFuture`.
90 | flatMap { [eventLoop] value in
| `- warning: type 'NewValue' does not conform to the 'Sendable' protocol
91 | do {
92 | return try callback(value)
/host/spi-builder-workspace/Sources/GraphQL/Utilities/NIO+Extensions.swift:92:28: warning: capture of 'callback' with non-sendable type '(Value) throws -> EventLoopFuture<NewValue>' in a '@Sendable' closure
90 | flatMap { [eventLoop] value in
91 | do {
92 | return try callback(value)
| |- warning: capture of 'callback' with non-sendable type '(Value) throws -> EventLoopFuture<NewValue>' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
93 | } catch {
94 | return eventLoop.makeFailedFuture(error)
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:496:31: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
494 | description: "Access the current type schema of this server.",
495 | resolve: { _, _, _, eventLoopGroup, info in
496 | eventLoopGroup.next().makeSucceededFuture(info.schema)
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
497 | }
498 | )
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:512:38: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
510 | resolve: { _, arguments, _, eventLoopGroup, info in
511 | let name = arguments["name"].string!
512 | return eventLoopGroup.next().makeSucceededFuture(info.schema.getType(name: name))
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
513 | }
514 | )
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:521:31: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
519 | description: "The name of the current Object type at runtime.",
520 | resolve: { _, _, _, eventLoopGroup, info in
521 | eventLoopGroup.next().makeSucceededFuture(info.parentType.name)
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
522 | }
523 | )
[360/384] Compiling GraphQL NoUnusedVariablesRule.swift
/host/spi-builder-workspace/Sources/GraphQL/Validation/Rules/PossibleTypeExtensionsRule.swift:83:5: warning: let 'defKindToExtKind' is not concurrency-safe because non-'Sendable' type '[Kind : Kind]' may have shared mutable state; this is an error in the Swift 6 language mode
81 | }
82 |
83 | let defKindToExtKind: [Kind: Kind] = [
| |- warning: let 'defKindToExtKind' is not concurrency-safe because non-'Sendable' type '[Kind : Kind]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'defKindToExtKind' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | .scalarTypeDefinition: .scalarExtensionDefinition,
85 | .objectTypeDefinition: .typeExtensionDefinition,
/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
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
2 | case name
3 | case document
[361/384] Compiling GraphQL PossibleFragmentSpreadsRule.swift
/host/spi-builder-workspace/Sources/GraphQL/Validation/Rules/PossibleTypeExtensionsRule.swift:83:5: warning: let 'defKindToExtKind' is not concurrency-safe because non-'Sendable' type '[Kind : Kind]' may have shared mutable state; this is an error in the Swift 6 language mode
81 | }
82 |
83 | let defKindToExtKind: [Kind: Kind] = [
| |- warning: let 'defKindToExtKind' is not concurrency-safe because non-'Sendable' type '[Kind : Kind]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'defKindToExtKind' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | .scalarTypeDefinition: .scalarExtensionDefinition,
85 | .objectTypeDefinition: .typeExtensionDefinition,
/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
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
2 | case name
3 | case document
[362/384] Compiling GraphQL PossibleTypeExtensionsRule.swift
/host/spi-builder-workspace/Sources/GraphQL/Validation/Rules/PossibleTypeExtensionsRule.swift:83:5: warning: let 'defKindToExtKind' is not concurrency-safe because non-'Sendable' type '[Kind : Kind]' may have shared mutable state; this is an error in the Swift 6 language mode
81 | }
82 |
83 | let defKindToExtKind: [Kind: Kind] = [
| |- warning: let 'defKindToExtKind' is not concurrency-safe because non-'Sendable' type '[Kind : Kind]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'defKindToExtKind' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | .scalarTypeDefinition: .scalarExtensionDefinition,
85 | .objectTypeDefinition: .typeExtensionDefinition,
/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
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
2 | case name
3 | case document
[363/384] Compiling GraphQL ProvidedRequiredArgumentsOnDirectivesRule.swift
/host/spi-builder-workspace/Sources/GraphQL/Validation/Rules/PossibleTypeExtensionsRule.swift:83:5: warning: let 'defKindToExtKind' is not concurrency-safe because non-'Sendable' type '[Kind : Kind]' may have shared mutable state; this is an error in the Swift 6 language mode
81 | }
82 |
83 | let defKindToExtKind: [Kind: Kind] = [
| |- warning: let 'defKindToExtKind' is not concurrency-safe because non-'Sendable' type '[Kind : Kind]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'defKindToExtKind' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | .scalarTypeDefinition: .scalarExtensionDefinition,
85 | .objectTypeDefinition: .typeExtensionDefinition,
/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
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
2 | case name
3 | case document
[364/384] Compiling GraphQL ProvidedRequiredArgumentsRule.swift
/host/spi-builder-workspace/Sources/GraphQL/Validation/Rules/PossibleTypeExtensionsRule.swift:83:5: warning: let 'defKindToExtKind' is not concurrency-safe because non-'Sendable' type '[Kind : Kind]' may have shared mutable state; this is an error in the Swift 6 language mode
81 | }
82 |
83 | let defKindToExtKind: [Kind: Kind] = [
| |- warning: let 'defKindToExtKind' is not concurrency-safe because non-'Sendable' type '[Kind : Kind]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'defKindToExtKind' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | .scalarTypeDefinition: .scalarExtensionDefinition,
85 | .objectTypeDefinition: .typeExtensionDefinition,
/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
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
2 | case name
3 | case document
[365/384] Compiling GraphQL ScalarLeafsRule.swift
/host/spi-builder-workspace/Sources/GraphQL/Validation/Rules/PossibleTypeExtensionsRule.swift:83:5: warning: let 'defKindToExtKind' is not concurrency-safe because non-'Sendable' type '[Kind : Kind]' may have shared mutable state; this is an error in the Swift 6 language mode
81 | }
82 |
83 | let defKindToExtKind: [Kind: Kind] = [
| |- warning: let 'defKindToExtKind' is not concurrency-safe because non-'Sendable' type '[Kind : Kind]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'defKindToExtKind' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | .scalarTypeDefinition: .scalarExtensionDefinition,
85 | .objectTypeDefinition: .typeExtensionDefinition,
/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
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
2 | case name
3 | case document
[366/384] Compiling GraphQL UniqueArgumentDefinitionNamesRule.swift
/host/spi-builder-workspace/Sources/GraphQL/Validation/Rules/PossibleTypeExtensionsRule.swift:83:5: warning: let 'defKindToExtKind' is not concurrency-safe because non-'Sendable' type '[Kind : Kind]' may have shared mutable state; this is an error in the Swift 6 language mode
81 | }
82 |
83 | let defKindToExtKind: [Kind: Kind] = [
| |- warning: let 'defKindToExtKind' is not concurrency-safe because non-'Sendable' type '[Kind : Kind]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'defKindToExtKind' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | .scalarTypeDefinition: .scalarExtensionDefinition,
85 | .objectTypeDefinition: .typeExtensionDefinition,
/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
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
2 | case name
3 | case document
[367/384] Compiling GraphQL UniqueArgumentNamesRule.swift
/host/spi-builder-workspace/Sources/GraphQL/Validation/Rules/PossibleTypeExtensionsRule.swift:83:5: warning: let 'defKindToExtKind' is not concurrency-safe because non-'Sendable' type '[Kind : Kind]' may have shared mutable state; this is an error in the Swift 6 language mode
81 | }
82 |
83 | let defKindToExtKind: [Kind: Kind] = [
| |- warning: let 'defKindToExtKind' is not concurrency-safe because non-'Sendable' type '[Kind : Kind]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'defKindToExtKind' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | .scalarTypeDefinition: .scalarExtensionDefinition,
85 | .objectTypeDefinition: .typeExtensionDefinition,
/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
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
2 | case name
3 | case document
[368/384] Compiling GraphQL UniqueDirectiveNamesRule.swift
/host/spi-builder-workspace/Sources/GraphQL/Validation/Rules/PossibleTypeExtensionsRule.swift:83:5: warning: let 'defKindToExtKind' is not concurrency-safe because non-'Sendable' type '[Kind : Kind]' may have shared mutable state; this is an error in the Swift 6 language mode
81 | }
82 |
83 | let defKindToExtKind: [Kind: Kind] = [
| |- warning: let 'defKindToExtKind' is not concurrency-safe because non-'Sendable' type '[Kind : Kind]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'defKindToExtKind' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | .scalarTypeDefinition: .scalarExtensionDefinition,
85 | .objectTypeDefinition: .typeExtensionDefinition,
/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
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
2 | case name
3 | case document
[369/384] Compiling GraphQL UniqueDirectivesPerLocationRule.swift
/host/spi-builder-workspace/Sources/GraphQL/Validation/Rules/PossibleTypeExtensionsRule.swift:83:5: warning: let 'defKindToExtKind' is not concurrency-safe because non-'Sendable' type '[Kind : Kind]' may have shared mutable state; this is an error in the Swift 6 language mode
81 | }
82 |
83 | let defKindToExtKind: [Kind: Kind] = [
| |- warning: let 'defKindToExtKind' is not concurrency-safe because non-'Sendable' type '[Kind : Kind]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'defKindToExtKind' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | .scalarTypeDefinition: .scalarExtensionDefinition,
85 | .objectTypeDefinition: .typeExtensionDefinition,
/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
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
2 | case name
3 | case document
[370/384] Compiling GraphQL UniqueEnumValueNamesRule.swift
/host/spi-builder-workspace/Sources/GraphQL/Validation/Rules/PossibleTypeExtensionsRule.swift:83:5: warning: let 'defKindToExtKind' is not concurrency-safe because non-'Sendable' type '[Kind : Kind]' may have shared mutable state; this is an error in the Swift 6 language mode
81 | }
82 |
83 | let defKindToExtKind: [Kind: Kind] = [
| |- warning: let 'defKindToExtKind' is not concurrency-safe because non-'Sendable' type '[Kind : Kind]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'defKindToExtKind' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | .scalarTypeDefinition: .scalarExtensionDefinition,
85 | .objectTypeDefinition: .typeExtensionDefinition,
/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
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
2 | case name
3 | case document
[371/384] Compiling GraphQL UniqueFieldDefinitionNamesRule.swift
/host/spi-builder-workspace/Sources/GraphQL/Validation/Rules/PossibleTypeExtensionsRule.swift:83:5: warning: let 'defKindToExtKind' is not concurrency-safe because non-'Sendable' type '[Kind : Kind]' may have shared mutable state; this is an error in the Swift 6 language mode
81 | }
82 |
83 | let defKindToExtKind: [Kind: Kind] = [
| |- warning: let 'defKindToExtKind' is not concurrency-safe because non-'Sendable' type '[Kind : Kind]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'defKindToExtKind' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | .scalarTypeDefinition: .scalarExtensionDefinition,
85 | .objectTypeDefinition: .typeExtensionDefinition,
/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
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
2 | case name
3 | case document
[372/384] Compiling GraphQL Kinds.swift
/host/spi-builder-workspace/Sources/GraphQL/Language/Visitor.swift:1:5: warning: let 'QueryDocumentKeys' is not concurrency-safe because non-'Sendable' type '[Kind : [String]]' may have shared mutable state; this is an error in the Swift 6 language mode
1 | let QueryDocumentKeys: [Kind: [String]] = [
| |- warning: let 'QueryDocumentKeys' is not concurrency-safe because non-'Sendable' type '[Kind : [String]]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'QueryDocumentKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2 | .name: [],
3 |
/host/spi-builder-workspace/Sources/GraphQL/Language/Kinds.swift:1:13: note: consider making enum 'Kind' conform to the 'Sendable' protocol
1 | public enum Kind: String, CaseIterable {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
2 | case name
3 | case document
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:41:27: warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// The formatting of the output Any data.
31 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
32 | /// The format's default value.
33 | public let rawValue: UInt
:
39 |
40 | /// Produce human-readable Any with indented output.
41 | public static let prettyPrinted = OutputFormatting(rawValue: 1 << 0)
| |- warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prettyPrinted' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | /// Produce Any with dictionary keys sorted in lexicographic order.
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:45:27: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// The formatting of the output Any data.
31 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
32 | /// The format's default value.
33 | public let rawValue: UInt
:
43 | /// Produce Any with dictionary keys sorted in lexicographic order.
44 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
45 | public static let sortedKeys = OutputFormatting(rawValue: 1 << 1)
| |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sortedKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | }
47 |
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:3262:13: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3260 | // NOTE: This value is implicitly lazy and _must_ be lazy. We're compiled against the latest SDK (w/ ISO8601DateFormatter), but linked against whichever Foundation the user has. ISO8601DateFormatter might not exist, so we better not hit this code path on an older OS.
3261 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
3262 | private var _iso8601Formatter: ISO8601DateFormatter = {
| |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3263 | let formatter = ISO8601DateFormatter()
3264 | formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:39:27: warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
37 |
38 | /// Produce human-readable JSON with indented output.
39 | public static let prettyPrinted = OutputFormatting(rawValue: 1 << 0)
| |- warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prettyPrinted' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// Produce JSON with dictionary keys sorted in lexicographic order.
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:43:27: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
41 | /// Produce JSON with dictionary keys sorted in lexicographic order.
42 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
43 | public static let sortedKeys = OutputFormatting(rawValue: 1 << 1)
| |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sortedKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | /// By default slashes get escaped ("/" → "\/", "http://apple.com/" → "http:\/\/apple.com\/")
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:49:27: warning: static property 'withoutEscapingSlashes' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
47 | /// In contexts where this escaping is unnecessary, the JSON is known to not be embedded,
48 | /// or is intended only for display, this option avoids this escaping.
49 | public static let withoutEscapingSlashes = OutputFormatting(rawValue: 1 << 3)
| |- warning: static property 'withoutEscapingSlashes' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'withoutEscapingSlashes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | }
51 |
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:1302:13: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1300 | // NOTE: This value is implicitly lazy and _must_ be lazy. We're compiled against the latest SDK (w/ ISO8601DateFormatter), but linked against whichever Foundation the user has. ISO8601DateFormatter might not exist, so we better not hit this code path on an older OS.
1301 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
1302 | private var _iso8601Formatter: ISO8601DateFormatter = {
| |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1303 | let formatter = ISO8601DateFormatter()
1304 | formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/Sources/GraphQL/Map/Map.swift:35:16: warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'MapEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | public extension Map {
35 | static let encoder = MapEncoder()
| |- warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'MapEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'encoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | init<T: Encodable>(_ encodable: T, encoder: MapEncoder = Map.encoder) throws {
/host/spi-builder-workspace/Sources/GraphQL/Map/MapCoder.swift:35:12: note: class 'MapEncoder' does not conform to the 'Sendable' protocol
33 |
34 | /// `MapEncoder` facilitates the encoding of `Encodable` values into Map.
35 | open class MapEncoder {
| `- note: class 'MapEncoder' does not conform to the 'Sendable' protocol
36 | // MARK: Options
37 |
[373/384] Compiling GraphQL Lexer.swift
/host/spi-builder-workspace/Sources/GraphQL/Language/Visitor.swift:1:5: warning: let 'QueryDocumentKeys' is not concurrency-safe because non-'Sendable' type '[Kind : [String]]' may have shared mutable state; this is an error in the Swift 6 language mode
1 | let QueryDocumentKeys: [Kind: [String]] = [
| |- warning: let 'QueryDocumentKeys' is not concurrency-safe because non-'Sendable' type '[Kind : [String]]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'QueryDocumentKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2 | .name: [],
3 |
/host/spi-builder-workspace/Sources/GraphQL/Language/Kinds.swift:1:13: note: consider making enum 'Kind' conform to the 'Sendable' protocol
1 | public enum Kind: String, CaseIterable {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
2 | case name
3 | case document
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:41:27: warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// The formatting of the output Any data.
31 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
32 | /// The format's default value.
33 | public let rawValue: UInt
:
39 |
40 | /// Produce human-readable Any with indented output.
41 | public static let prettyPrinted = OutputFormatting(rawValue: 1 << 0)
| |- warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prettyPrinted' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | /// Produce Any with dictionary keys sorted in lexicographic order.
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:45:27: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// The formatting of the output Any data.
31 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
32 | /// The format's default value.
33 | public let rawValue: UInt
:
43 | /// Produce Any with dictionary keys sorted in lexicographic order.
44 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
45 | public static let sortedKeys = OutputFormatting(rawValue: 1 << 1)
| |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sortedKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | }
47 |
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:3262:13: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3260 | // NOTE: This value is implicitly lazy and _must_ be lazy. We're compiled against the latest SDK (w/ ISO8601DateFormatter), but linked against whichever Foundation the user has. ISO8601DateFormatter might not exist, so we better not hit this code path on an older OS.
3261 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
3262 | private var _iso8601Formatter: ISO8601DateFormatter = {
| |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3263 | let formatter = ISO8601DateFormatter()
3264 | formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:39:27: warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
37 |
38 | /// Produce human-readable JSON with indented output.
39 | public static let prettyPrinted = OutputFormatting(rawValue: 1 << 0)
| |- warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prettyPrinted' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// Produce JSON with dictionary keys sorted in lexicographic order.
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:43:27: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
41 | /// Produce JSON with dictionary keys sorted in lexicographic order.
42 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
43 | public static let sortedKeys = OutputFormatting(rawValue: 1 << 1)
| |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sortedKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | /// By default slashes get escaped ("/" → "\/", "http://apple.com/" → "http:\/\/apple.com\/")
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:49:27: warning: static property 'withoutEscapingSlashes' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
47 | /// In contexts where this escaping is unnecessary, the JSON is known to not be embedded,
48 | /// or is intended only for display, this option avoids this escaping.
49 | public static let withoutEscapingSlashes = OutputFormatting(rawValue: 1 << 3)
| |- warning: static property 'withoutEscapingSlashes' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'withoutEscapingSlashes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | }
51 |
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:1302:13: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1300 | // NOTE: This value is implicitly lazy and _must_ be lazy. We're compiled against the latest SDK (w/ ISO8601DateFormatter), but linked against whichever Foundation the user has. ISO8601DateFormatter might not exist, so we better not hit this code path on an older OS.
1301 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
1302 | private var _iso8601Formatter: ISO8601DateFormatter = {
| |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1303 | let formatter = ISO8601DateFormatter()
1304 | formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/Sources/GraphQL/Map/Map.swift:35:16: warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'MapEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | public extension Map {
35 | static let encoder = MapEncoder()
| |- warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'MapEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'encoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | init<T: Encodable>(_ encodable: T, encoder: MapEncoder = Map.encoder) throws {
/host/spi-builder-workspace/Sources/GraphQL/Map/MapCoder.swift:35:12: note: class 'MapEncoder' does not conform to the 'Sendable' protocol
33 |
34 | /// `MapEncoder` facilitates the encoding of `Encodable` values into Map.
35 | open class MapEncoder {
| `- note: class 'MapEncoder' does not conform to the 'Sendable' protocol
36 | // MARK: Options
37 |
[374/384] Compiling GraphQL Location.swift
/host/spi-builder-workspace/Sources/GraphQL/Language/Visitor.swift:1:5: warning: let 'QueryDocumentKeys' is not concurrency-safe because non-'Sendable' type '[Kind : [String]]' may have shared mutable state; this is an error in the Swift 6 language mode
1 | let QueryDocumentKeys: [Kind: [String]] = [
| |- warning: let 'QueryDocumentKeys' is not concurrency-safe because non-'Sendable' type '[Kind : [String]]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'QueryDocumentKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2 | .name: [],
3 |
/host/spi-builder-workspace/Sources/GraphQL/Language/Kinds.swift:1:13: note: consider making enum 'Kind' conform to the 'Sendable' protocol
1 | public enum Kind: String, CaseIterable {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
2 | case name
3 | case document
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:41:27: warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// The formatting of the output Any data.
31 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
32 | /// The format's default value.
33 | public let rawValue: UInt
:
39 |
40 | /// Produce human-readable Any with indented output.
41 | public static let prettyPrinted = OutputFormatting(rawValue: 1 << 0)
| |- warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prettyPrinted' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | /// Produce Any with dictionary keys sorted in lexicographic order.
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:45:27: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// The formatting of the output Any data.
31 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
32 | /// The format's default value.
33 | public let rawValue: UInt
:
43 | /// Produce Any with dictionary keys sorted in lexicographic order.
44 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
45 | public static let sortedKeys = OutputFormatting(rawValue: 1 << 1)
| |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sortedKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | }
47 |
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:3262:13: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3260 | // NOTE: This value is implicitly lazy and _must_ be lazy. We're compiled against the latest SDK (w/ ISO8601DateFormatter), but linked against whichever Foundation the user has. ISO8601DateFormatter might not exist, so we better not hit this code path on an older OS.
3261 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
3262 | private var _iso8601Formatter: ISO8601DateFormatter = {
| |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3263 | let formatter = ISO8601DateFormatter()
3264 | formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:39:27: warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
37 |
38 | /// Produce human-readable JSON with indented output.
39 | public static let prettyPrinted = OutputFormatting(rawValue: 1 << 0)
| |- warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prettyPrinted' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// Produce JSON with dictionary keys sorted in lexicographic order.
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:43:27: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
41 | /// Produce JSON with dictionary keys sorted in lexicographic order.
42 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
43 | public static let sortedKeys = OutputFormatting(rawValue: 1 << 1)
| |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sortedKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | /// By default slashes get escaped ("/" → "\/", "http://apple.com/" → "http:\/\/apple.com\/")
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:49:27: warning: static property 'withoutEscapingSlashes' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
47 | /// In contexts where this escaping is unnecessary, the JSON is known to not be embedded,
48 | /// or is intended only for display, this option avoids this escaping.
49 | public static let withoutEscapingSlashes = OutputFormatting(rawValue: 1 << 3)
| |- warning: static property 'withoutEscapingSlashes' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'withoutEscapingSlashes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | }
51 |
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:1302:13: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1300 | // NOTE: This value is implicitly lazy and _must_ be lazy. We're compiled against the latest SDK (w/ ISO8601DateFormatter), but linked against whichever Foundation the user has. ISO8601DateFormatter might not exist, so we better not hit this code path on an older OS.
1301 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
1302 | private var _iso8601Formatter: ISO8601DateFormatter = {
| |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1303 | let formatter = ISO8601DateFormatter()
1304 | formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/Sources/GraphQL/Map/Map.swift:35:16: warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'MapEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | public extension Map {
35 | static let encoder = MapEncoder()
| |- warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'MapEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'encoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | init<T: Encodable>(_ encodable: T, encoder: MapEncoder = Map.encoder) throws {
/host/spi-builder-workspace/Sources/GraphQL/Map/MapCoder.swift:35:12: note: class 'MapEncoder' does not conform to the 'Sendable' protocol
33 |
34 | /// `MapEncoder` facilitates the encoding of `Encodable` values into Map.
35 | open class MapEncoder {
| `- note: class 'MapEncoder' does not conform to the 'Sendable' protocol
36 | // MARK: Options
37 |
[375/384] Compiling GraphQL Parser.swift
/host/spi-builder-workspace/Sources/GraphQL/Language/Visitor.swift:1:5: warning: let 'QueryDocumentKeys' is not concurrency-safe because non-'Sendable' type '[Kind : [String]]' may have shared mutable state; this is an error in the Swift 6 language mode
1 | let QueryDocumentKeys: [Kind: [String]] = [
| |- warning: let 'QueryDocumentKeys' is not concurrency-safe because non-'Sendable' type '[Kind : [String]]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'QueryDocumentKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2 | .name: [],
3 |
/host/spi-builder-workspace/Sources/GraphQL/Language/Kinds.swift:1:13: note: consider making enum 'Kind' conform to the 'Sendable' protocol
1 | public enum Kind: String, CaseIterable {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
2 | case name
3 | case document
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:41:27: warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// The formatting of the output Any data.
31 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
32 | /// The format's default value.
33 | public let rawValue: UInt
:
39 |
40 | /// Produce human-readable Any with indented output.
41 | public static let prettyPrinted = OutputFormatting(rawValue: 1 << 0)
| |- warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prettyPrinted' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | /// Produce Any with dictionary keys sorted in lexicographic order.
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:45:27: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// The formatting of the output Any data.
31 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
32 | /// The format's default value.
33 | public let rawValue: UInt
:
43 | /// Produce Any with dictionary keys sorted in lexicographic order.
44 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
45 | public static let sortedKeys = OutputFormatting(rawValue: 1 << 1)
| |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sortedKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | }
47 |
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:3262:13: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3260 | // NOTE: This value is implicitly lazy and _must_ be lazy. We're compiled against the latest SDK (w/ ISO8601DateFormatter), but linked against whichever Foundation the user has. ISO8601DateFormatter might not exist, so we better not hit this code path on an older OS.
3261 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
3262 | private var _iso8601Formatter: ISO8601DateFormatter = {
| |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3263 | let formatter = ISO8601DateFormatter()
3264 | formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:39:27: warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
37 |
38 | /// Produce human-readable JSON with indented output.
39 | public static let prettyPrinted = OutputFormatting(rawValue: 1 << 0)
| |- warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prettyPrinted' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// Produce JSON with dictionary keys sorted in lexicographic order.
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:43:27: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
41 | /// Produce JSON with dictionary keys sorted in lexicographic order.
42 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
43 | public static let sortedKeys = OutputFormatting(rawValue: 1 << 1)
| |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sortedKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | /// By default slashes get escaped ("/" → "\/", "http://apple.com/" → "http:\/\/apple.com\/")
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:49:27: warning: static property 'withoutEscapingSlashes' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
47 | /// In contexts where this escaping is unnecessary, the JSON is known to not be embedded,
48 | /// or is intended only for display, this option avoids this escaping.
49 | public static let withoutEscapingSlashes = OutputFormatting(rawValue: 1 << 3)
| |- warning: static property 'withoutEscapingSlashes' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'withoutEscapingSlashes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | }
51 |
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:1302:13: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1300 | // NOTE: This value is implicitly lazy and _must_ be lazy. We're compiled against the latest SDK (w/ ISO8601DateFormatter), but linked against whichever Foundation the user has. ISO8601DateFormatter might not exist, so we better not hit this code path on an older OS.
1301 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
1302 | private var _iso8601Formatter: ISO8601DateFormatter = {
| |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1303 | let formatter = ISO8601DateFormatter()
1304 | formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/Sources/GraphQL/Map/Map.swift:35:16: warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'MapEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | public extension Map {
35 | static let encoder = MapEncoder()
| |- warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'MapEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'encoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | init<T: Encodable>(_ encodable: T, encoder: MapEncoder = Map.encoder) throws {
/host/spi-builder-workspace/Sources/GraphQL/Map/MapCoder.swift:35:12: note: class 'MapEncoder' does not conform to the 'Sendable' protocol
33 |
34 | /// `MapEncoder` facilitates the encoding of `Encodable` values into Map.
35 | open class MapEncoder {
| `- note: class 'MapEncoder' does not conform to the 'Sendable' protocol
36 | // MARK: Options
37 |
[376/384] Compiling GraphQL Predicates.swift
/host/spi-builder-workspace/Sources/GraphQL/Language/Visitor.swift:1:5: warning: let 'QueryDocumentKeys' is not concurrency-safe because non-'Sendable' type '[Kind : [String]]' may have shared mutable state; this is an error in the Swift 6 language mode
1 | let QueryDocumentKeys: [Kind: [String]] = [
| |- warning: let 'QueryDocumentKeys' is not concurrency-safe because non-'Sendable' type '[Kind : [String]]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'QueryDocumentKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2 | .name: [],
3 |
/host/spi-builder-workspace/Sources/GraphQL/Language/Kinds.swift:1:13: note: consider making enum 'Kind' conform to the 'Sendable' protocol
1 | public enum Kind: String, CaseIterable {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
2 | case name
3 | case document
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:41:27: warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// The formatting of the output Any data.
31 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
32 | /// The format's default value.
33 | public let rawValue: UInt
:
39 |
40 | /// Produce human-readable Any with indented output.
41 | public static let prettyPrinted = OutputFormatting(rawValue: 1 << 0)
| |- warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prettyPrinted' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | /// Produce Any with dictionary keys sorted in lexicographic order.
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:45:27: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// The formatting of the output Any data.
31 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
32 | /// The format's default value.
33 | public let rawValue: UInt
:
43 | /// Produce Any with dictionary keys sorted in lexicographic order.
44 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
45 | public static let sortedKeys = OutputFormatting(rawValue: 1 << 1)
| |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sortedKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | }
47 |
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:3262:13: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3260 | // NOTE: This value is implicitly lazy and _must_ be lazy. We're compiled against the latest SDK (w/ ISO8601DateFormatter), but linked against whichever Foundation the user has. ISO8601DateFormatter might not exist, so we better not hit this code path on an older OS.
3261 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
3262 | private var _iso8601Formatter: ISO8601DateFormatter = {
| |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3263 | let formatter = ISO8601DateFormatter()
3264 | formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:39:27: warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
37 |
38 | /// Produce human-readable JSON with indented output.
39 | public static let prettyPrinted = OutputFormatting(rawValue: 1 << 0)
| |- warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prettyPrinted' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// Produce JSON with dictionary keys sorted in lexicographic order.
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:43:27: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
41 | /// Produce JSON with dictionary keys sorted in lexicographic order.
42 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
43 | public static let sortedKeys = OutputFormatting(rawValue: 1 << 1)
| |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sortedKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | /// By default slashes get escaped ("/" → "\/", "http://apple.com/" → "http:\/\/apple.com\/")
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:49:27: warning: static property 'withoutEscapingSlashes' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
47 | /// In contexts where this escaping is unnecessary, the JSON is known to not be embedded,
48 | /// or is intended only for display, this option avoids this escaping.
49 | public static let withoutEscapingSlashes = OutputFormatting(rawValue: 1 << 3)
| |- warning: static property 'withoutEscapingSlashes' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'withoutEscapingSlashes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | }
51 |
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:1302:13: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1300 | // NOTE: This value is implicitly lazy and _must_ be lazy. We're compiled against the latest SDK (w/ ISO8601DateFormatter), but linked against whichever Foundation the user has. ISO8601DateFormatter might not exist, so we better not hit this code path on an older OS.
1301 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
1302 | private var _iso8601Formatter: ISO8601DateFormatter = {
| |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1303 | let formatter = ISO8601DateFormatter()
1304 | formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/Sources/GraphQL/Map/Map.swift:35:16: warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'MapEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | public extension Map {
35 | static let encoder = MapEncoder()
| |- warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'MapEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'encoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | init<T: Encodable>(_ encodable: T, encoder: MapEncoder = Map.encoder) throws {
/host/spi-builder-workspace/Sources/GraphQL/Map/MapCoder.swift:35:12: note: class 'MapEncoder' does not conform to the 'Sendable' protocol
33 |
34 | /// `MapEncoder` facilitates the encoding of `Encodable` values into Map.
35 | open class MapEncoder {
| `- note: class 'MapEncoder' does not conform to the 'Sendable' protocol
36 | // MARK: Options
37 |
[377/384] Compiling GraphQL PrintString.swift
/host/spi-builder-workspace/Sources/GraphQL/Language/Visitor.swift:1:5: warning: let 'QueryDocumentKeys' is not concurrency-safe because non-'Sendable' type '[Kind : [String]]' may have shared mutable state; this is an error in the Swift 6 language mode
1 | let QueryDocumentKeys: [Kind: [String]] = [
| |- warning: let 'QueryDocumentKeys' is not concurrency-safe because non-'Sendable' type '[Kind : [String]]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'QueryDocumentKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2 | .name: [],
3 |
/host/spi-builder-workspace/Sources/GraphQL/Language/Kinds.swift:1:13: note: consider making enum 'Kind' conform to the 'Sendable' protocol
1 | public enum Kind: String, CaseIterable {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
2 | case name
3 | case document
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:41:27: warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// The formatting of the output Any data.
31 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
32 | /// The format's default value.
33 | public let rawValue: UInt
:
39 |
40 | /// Produce human-readable Any with indented output.
41 | public static let prettyPrinted = OutputFormatting(rawValue: 1 << 0)
| |- warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prettyPrinted' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | /// Produce Any with dictionary keys sorted in lexicographic order.
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:45:27: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// The formatting of the output Any data.
31 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
32 | /// The format's default value.
33 | public let rawValue: UInt
:
43 | /// Produce Any with dictionary keys sorted in lexicographic order.
44 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
45 | public static let sortedKeys = OutputFormatting(rawValue: 1 << 1)
| |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sortedKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | }
47 |
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:3262:13: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3260 | // NOTE: This value is implicitly lazy and _must_ be lazy. We're compiled against the latest SDK (w/ ISO8601DateFormatter), but linked against whichever Foundation the user has. ISO8601DateFormatter might not exist, so we better not hit this code path on an older OS.
3261 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
3262 | private var _iso8601Formatter: ISO8601DateFormatter = {
| |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3263 | let formatter = ISO8601DateFormatter()
3264 | formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:39:27: warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
37 |
38 | /// Produce human-readable JSON with indented output.
39 | public static let prettyPrinted = OutputFormatting(rawValue: 1 << 0)
| |- warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prettyPrinted' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// Produce JSON with dictionary keys sorted in lexicographic order.
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:43:27: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
41 | /// Produce JSON with dictionary keys sorted in lexicographic order.
42 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
43 | public static let sortedKeys = OutputFormatting(rawValue: 1 << 1)
| |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sortedKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | /// By default slashes get escaped ("/" → "\/", "http://apple.com/" → "http:\/\/apple.com\/")
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:49:27: warning: static property 'withoutEscapingSlashes' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
47 | /// In contexts where this escaping is unnecessary, the JSON is known to not be embedded,
48 | /// or is intended only for display, this option avoids this escaping.
49 | public static let withoutEscapingSlashes = OutputFormatting(rawValue: 1 << 3)
| |- warning: static property 'withoutEscapingSlashes' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'withoutEscapingSlashes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | }
51 |
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:1302:13: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1300 | // NOTE: This value is implicitly lazy and _must_ be lazy. We're compiled against the latest SDK (w/ ISO8601DateFormatter), but linked against whichever Foundation the user has. ISO8601DateFormatter might not exist, so we better not hit this code path on an older OS.
1301 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
1302 | private var _iso8601Formatter: ISO8601DateFormatter = {
| |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1303 | let formatter = ISO8601DateFormatter()
1304 | formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/Sources/GraphQL/Map/Map.swift:35:16: warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'MapEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | public extension Map {
35 | static let encoder = MapEncoder()
| |- warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'MapEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'encoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | init<T: Encodable>(_ encodable: T, encoder: MapEncoder = Map.encoder) throws {
/host/spi-builder-workspace/Sources/GraphQL/Map/MapCoder.swift:35:12: note: class 'MapEncoder' does not conform to the 'Sendable' protocol
33 |
34 | /// `MapEncoder` facilitates the encoding of `Encodable` values into Map.
35 | open class MapEncoder {
| `- note: class 'MapEncoder' does not conform to the 'Sendable' protocol
36 | // MARK: Options
37 |
[378/384] Compiling GraphQL Printer.swift
/host/spi-builder-workspace/Sources/GraphQL/Language/Visitor.swift:1:5: warning: let 'QueryDocumentKeys' is not concurrency-safe because non-'Sendable' type '[Kind : [String]]' may have shared mutable state; this is an error in the Swift 6 language mode
1 | let QueryDocumentKeys: [Kind: [String]] = [
| |- warning: let 'QueryDocumentKeys' is not concurrency-safe because non-'Sendable' type '[Kind : [String]]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'QueryDocumentKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2 | .name: [],
3 |
/host/spi-builder-workspace/Sources/GraphQL/Language/Kinds.swift:1:13: note: consider making enum 'Kind' conform to the 'Sendable' protocol
1 | public enum Kind: String, CaseIterable {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
2 | case name
3 | case document
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:41:27: warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// The formatting of the output Any data.
31 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
32 | /// The format's default value.
33 | public let rawValue: UInt
:
39 |
40 | /// Produce human-readable Any with indented output.
41 | public static let prettyPrinted = OutputFormatting(rawValue: 1 << 0)
| |- warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prettyPrinted' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | /// Produce Any with dictionary keys sorted in lexicographic order.
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:45:27: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// The formatting of the output Any data.
31 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
32 | /// The format's default value.
33 | public let rawValue: UInt
:
43 | /// Produce Any with dictionary keys sorted in lexicographic order.
44 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
45 | public static let sortedKeys = OutputFormatting(rawValue: 1 << 1)
| |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sortedKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | }
47 |
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:3262:13: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3260 | // NOTE: This value is implicitly lazy and _must_ be lazy. We're compiled against the latest SDK (w/ ISO8601DateFormatter), but linked against whichever Foundation the user has. ISO8601DateFormatter might not exist, so we better not hit this code path on an older OS.
3261 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
3262 | private var _iso8601Formatter: ISO8601DateFormatter = {
| |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3263 | let formatter = ISO8601DateFormatter()
3264 | formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:39:27: warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
37 |
38 | /// Produce human-readable JSON with indented output.
39 | public static let prettyPrinted = OutputFormatting(rawValue: 1 << 0)
| |- warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prettyPrinted' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// Produce JSON with dictionary keys sorted in lexicographic order.
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:43:27: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
41 | /// Produce JSON with dictionary keys sorted in lexicographic order.
42 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
43 | public static let sortedKeys = OutputFormatting(rawValue: 1 << 1)
| |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sortedKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | /// By default slashes get escaped ("/" → "\/", "http://apple.com/" → "http:\/\/apple.com\/")
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:49:27: warning: static property 'withoutEscapingSlashes' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
47 | /// In contexts where this escaping is unnecessary, the JSON is known to not be embedded,
48 | /// or is intended only for display, this option avoids this escaping.
49 | public static let withoutEscapingSlashes = OutputFormatting(rawValue: 1 << 3)
| |- warning: static property 'withoutEscapingSlashes' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'withoutEscapingSlashes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | }
51 |
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:1302:13: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1300 | // NOTE: This value is implicitly lazy and _must_ be lazy. We're compiled against the latest SDK (w/ ISO8601DateFormatter), but linked against whichever Foundation the user has. ISO8601DateFormatter might not exist, so we better not hit this code path on an older OS.
1301 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
1302 | private var _iso8601Formatter: ISO8601DateFormatter = {
| |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1303 | let formatter = ISO8601DateFormatter()
1304 | formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/Sources/GraphQL/Map/Map.swift:35:16: warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'MapEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | public extension Map {
35 | static let encoder = MapEncoder()
| |- warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'MapEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'encoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | init<T: Encodable>(_ encodable: T, encoder: MapEncoder = Map.encoder) throws {
/host/spi-builder-workspace/Sources/GraphQL/Map/MapCoder.swift:35:12: note: class 'MapEncoder' does not conform to the 'Sendable' protocol
33 |
34 | /// `MapEncoder` facilitates the encoding of `Encodable` values into Map.
35 | open class MapEncoder {
| `- note: class 'MapEncoder' does not conform to the 'Sendable' protocol
36 | // MARK: Options
37 |
[379/384] Compiling GraphQL Source.swift
/host/spi-builder-workspace/Sources/GraphQL/Language/Visitor.swift:1:5: warning: let 'QueryDocumentKeys' is not concurrency-safe because non-'Sendable' type '[Kind : [String]]' may have shared mutable state; this is an error in the Swift 6 language mode
1 | let QueryDocumentKeys: [Kind: [String]] = [
| |- warning: let 'QueryDocumentKeys' is not concurrency-safe because non-'Sendable' type '[Kind : [String]]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'QueryDocumentKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2 | .name: [],
3 |
/host/spi-builder-workspace/Sources/GraphQL/Language/Kinds.swift:1:13: note: consider making enum 'Kind' conform to the 'Sendable' protocol
1 | public enum Kind: String, CaseIterable {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
2 | case name
3 | case document
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:41:27: warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// The formatting of the output Any data.
31 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
32 | /// The format's default value.
33 | public let rawValue: UInt
:
39 |
40 | /// Produce human-readable Any with indented output.
41 | public static let prettyPrinted = OutputFormatting(rawValue: 1 << 0)
| |- warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prettyPrinted' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | /// Produce Any with dictionary keys sorted in lexicographic order.
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:45:27: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// The formatting of the output Any data.
31 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
32 | /// The format's default value.
33 | public let rawValue: UInt
:
43 | /// Produce Any with dictionary keys sorted in lexicographic order.
44 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
45 | public static let sortedKeys = OutputFormatting(rawValue: 1 << 1)
| |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sortedKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | }
47 |
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:3262:13: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3260 | // NOTE: This value is implicitly lazy and _must_ be lazy. We're compiled against the latest SDK (w/ ISO8601DateFormatter), but linked against whichever Foundation the user has. ISO8601DateFormatter might not exist, so we better not hit this code path on an older OS.
3261 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
3262 | private var _iso8601Formatter: ISO8601DateFormatter = {
| |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3263 | let formatter = ISO8601DateFormatter()
3264 | formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:39:27: warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
37 |
38 | /// Produce human-readable JSON with indented output.
39 | public static let prettyPrinted = OutputFormatting(rawValue: 1 << 0)
| |- warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prettyPrinted' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// Produce JSON with dictionary keys sorted in lexicographic order.
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:43:27: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
41 | /// Produce JSON with dictionary keys sorted in lexicographic order.
42 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
43 | public static let sortedKeys = OutputFormatting(rawValue: 1 << 1)
| |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sortedKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | /// By default slashes get escaped ("/" → "\/", "http://apple.com/" → "http:\/\/apple.com\/")
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:49:27: warning: static property 'withoutEscapingSlashes' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
47 | /// In contexts where this escaping is unnecessary, the JSON is known to not be embedded,
48 | /// or is intended only for display, this option avoids this escaping.
49 | public static let withoutEscapingSlashes = OutputFormatting(rawValue: 1 << 3)
| |- warning: static property 'withoutEscapingSlashes' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'withoutEscapingSlashes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | }
51 |
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:1302:13: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1300 | // NOTE: This value is implicitly lazy and _must_ be lazy. We're compiled against the latest SDK (w/ ISO8601DateFormatter), but linked against whichever Foundation the user has. ISO8601DateFormatter might not exist, so we better not hit this code path on an older OS.
1301 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
1302 | private var _iso8601Formatter: ISO8601DateFormatter = {
| |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1303 | let formatter = ISO8601DateFormatter()
1304 | formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/Sources/GraphQL/Map/Map.swift:35:16: warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'MapEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | public extension Map {
35 | static let encoder = MapEncoder()
| |- warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'MapEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'encoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | init<T: Encodable>(_ encodable: T, encoder: MapEncoder = Map.encoder) throws {
/host/spi-builder-workspace/Sources/GraphQL/Map/MapCoder.swift:35:12: note: class 'MapEncoder' does not conform to the 'Sendable' protocol
33 |
34 | /// `MapEncoder` facilitates the encoding of `Encodable` values into Map.
35 | open class MapEncoder {
| `- note: class 'MapEncoder' does not conform to the 'Sendable' protocol
36 | // MARK: Options
37 |
[380/384] Compiling GraphQL Visitor.swift
/host/spi-builder-workspace/Sources/GraphQL/Language/Visitor.swift:1:5: warning: let 'QueryDocumentKeys' is not concurrency-safe because non-'Sendable' type '[Kind : [String]]' may have shared mutable state; this is an error in the Swift 6 language mode
1 | let QueryDocumentKeys: [Kind: [String]] = [
| |- warning: let 'QueryDocumentKeys' is not concurrency-safe because non-'Sendable' type '[Kind : [String]]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'QueryDocumentKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2 | .name: [],
3 |
/host/spi-builder-workspace/Sources/GraphQL/Language/Kinds.swift:1:13: note: consider making enum 'Kind' conform to the 'Sendable' protocol
1 | public enum Kind: String, CaseIterable {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
2 | case name
3 | case document
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:41:27: warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// The formatting of the output Any data.
31 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
32 | /// The format's default value.
33 | public let rawValue: UInt
:
39 |
40 | /// Produce human-readable Any with indented output.
41 | public static let prettyPrinted = OutputFormatting(rawValue: 1 << 0)
| |- warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prettyPrinted' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | /// Produce Any with dictionary keys sorted in lexicographic order.
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:45:27: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// The formatting of the output Any data.
31 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
32 | /// The format's default value.
33 | public let rawValue: UInt
:
43 | /// Produce Any with dictionary keys sorted in lexicographic order.
44 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
45 | public static let sortedKeys = OutputFormatting(rawValue: 1 << 1)
| |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sortedKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | }
47 |
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:3262:13: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3260 | // NOTE: This value is implicitly lazy and _must_ be lazy. We're compiled against the latest SDK (w/ ISO8601DateFormatter), but linked against whichever Foundation the user has. ISO8601DateFormatter might not exist, so we better not hit this code path on an older OS.
3261 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
3262 | private var _iso8601Formatter: ISO8601DateFormatter = {
| |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3263 | let formatter = ISO8601DateFormatter()
3264 | formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:39:27: warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
37 |
38 | /// Produce human-readable JSON with indented output.
39 | public static let prettyPrinted = OutputFormatting(rawValue: 1 << 0)
| |- warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prettyPrinted' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// Produce JSON with dictionary keys sorted in lexicographic order.
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:43:27: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
41 | /// Produce JSON with dictionary keys sorted in lexicographic order.
42 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
43 | public static let sortedKeys = OutputFormatting(rawValue: 1 << 1)
| |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sortedKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | /// By default slashes get escaped ("/" → "\/", "http://apple.com/" → "http:\/\/apple.com\/")
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:49:27: warning: static property 'withoutEscapingSlashes' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
47 | /// In contexts where this escaping is unnecessary, the JSON is known to not be embedded,
48 | /// or is intended only for display, this option avoids this escaping.
49 | public static let withoutEscapingSlashes = OutputFormatting(rawValue: 1 << 3)
| |- warning: static property 'withoutEscapingSlashes' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'withoutEscapingSlashes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | }
51 |
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:1302:13: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1300 | // NOTE: This value is implicitly lazy and _must_ be lazy. We're compiled against the latest SDK (w/ ISO8601DateFormatter), but linked against whichever Foundation the user has. ISO8601DateFormatter might not exist, so we better not hit this code path on an older OS.
1301 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
1302 | private var _iso8601Formatter: ISO8601DateFormatter = {
| |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1303 | let formatter = ISO8601DateFormatter()
1304 | formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/Sources/GraphQL/Map/Map.swift:35:16: warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'MapEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | public extension Map {
35 | static let encoder = MapEncoder()
| |- warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'MapEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'encoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | init<T: Encodable>(_ encodable: T, encoder: MapEncoder = Map.encoder) throws {
/host/spi-builder-workspace/Sources/GraphQL/Map/MapCoder.swift:35:12: note: class 'MapEncoder' does not conform to the 'Sendable' protocol
33 |
34 | /// `MapEncoder` facilitates the encoding of `Encodable` values into Map.
35 | open class MapEncoder {
| `- note: class 'MapEncoder' does not conform to the 'Sendable' protocol
36 | // MARK: Options
37 |
[381/384] Compiling GraphQL AnyCoder.swift
/host/spi-builder-workspace/Sources/GraphQL/Language/Visitor.swift:1:5: warning: let 'QueryDocumentKeys' is not concurrency-safe because non-'Sendable' type '[Kind : [String]]' may have shared mutable state; this is an error in the Swift 6 language mode
1 | let QueryDocumentKeys: [Kind: [String]] = [
| |- warning: let 'QueryDocumentKeys' is not concurrency-safe because non-'Sendable' type '[Kind : [String]]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'QueryDocumentKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2 | .name: [],
3 |
/host/spi-builder-workspace/Sources/GraphQL/Language/Kinds.swift:1:13: note: consider making enum 'Kind' conform to the 'Sendable' protocol
1 | public enum Kind: String, CaseIterable {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
2 | case name
3 | case document
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:41:27: warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// The formatting of the output Any data.
31 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
32 | /// The format's default value.
33 | public let rawValue: UInt
:
39 |
40 | /// Produce human-readable Any with indented output.
41 | public static let prettyPrinted = OutputFormatting(rawValue: 1 << 0)
| |- warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prettyPrinted' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | /// Produce Any with dictionary keys sorted in lexicographic order.
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:45:27: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// The formatting of the output Any data.
31 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
32 | /// The format's default value.
33 | public let rawValue: UInt
:
43 | /// Produce Any with dictionary keys sorted in lexicographic order.
44 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
45 | public static let sortedKeys = OutputFormatting(rawValue: 1 << 1)
| |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sortedKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | }
47 |
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:3262:13: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3260 | // NOTE: This value is implicitly lazy and _must_ be lazy. We're compiled against the latest SDK (w/ ISO8601DateFormatter), but linked against whichever Foundation the user has. ISO8601DateFormatter might not exist, so we better not hit this code path on an older OS.
3261 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
3262 | private var _iso8601Formatter: ISO8601DateFormatter = {
| |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3263 | let formatter = ISO8601DateFormatter()
3264 | formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:39:27: warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
37 |
38 | /// Produce human-readable JSON with indented output.
39 | public static let prettyPrinted = OutputFormatting(rawValue: 1 << 0)
| |- warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prettyPrinted' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// Produce JSON with dictionary keys sorted in lexicographic order.
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:43:27: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
41 | /// Produce JSON with dictionary keys sorted in lexicographic order.
42 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
43 | public static let sortedKeys = OutputFormatting(rawValue: 1 << 1)
| |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sortedKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | /// By default slashes get escaped ("/" → "\/", "http://apple.com/" → "http:\/\/apple.com\/")
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:49:27: warning: static property 'withoutEscapingSlashes' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
47 | /// In contexts where this escaping is unnecessary, the JSON is known to not be embedded,
48 | /// or is intended only for display, this option avoids this escaping.
49 | public static let withoutEscapingSlashes = OutputFormatting(rawValue: 1 << 3)
| |- warning: static property 'withoutEscapingSlashes' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'withoutEscapingSlashes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | }
51 |
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:1302:13: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1300 | // NOTE: This value is implicitly lazy and _must_ be lazy. We're compiled against the latest SDK (w/ ISO8601DateFormatter), but linked against whichever Foundation the user has. ISO8601DateFormatter might not exist, so we better not hit this code path on an older OS.
1301 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
1302 | private var _iso8601Formatter: ISO8601DateFormatter = {
| |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1303 | let formatter = ISO8601DateFormatter()
1304 | formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/Sources/GraphQL/Map/Map.swift:35:16: warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'MapEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | public extension Map {
35 | static let encoder = MapEncoder()
| |- warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'MapEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'encoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | init<T: Encodable>(_ encodable: T, encoder: MapEncoder = Map.encoder) throws {
/host/spi-builder-workspace/Sources/GraphQL/Map/MapCoder.swift:35:12: note: class 'MapEncoder' does not conform to the 'Sendable' protocol
33 |
34 | /// `MapEncoder` facilitates the encoding of `Encodable` values into Map.
35 | open class MapEncoder {
| `- note: class 'MapEncoder' does not conform to the 'Sendable' protocol
36 | // MARK: Options
37 |
[382/384] Compiling GraphQL AnySerialization.swift
/host/spi-builder-workspace/Sources/GraphQL/Language/Visitor.swift:1:5: warning: let 'QueryDocumentKeys' is not concurrency-safe because non-'Sendable' type '[Kind : [String]]' may have shared mutable state; this is an error in the Swift 6 language mode
1 | let QueryDocumentKeys: [Kind: [String]] = [
| |- warning: let 'QueryDocumentKeys' is not concurrency-safe because non-'Sendable' type '[Kind : [String]]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'QueryDocumentKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2 | .name: [],
3 |
/host/spi-builder-workspace/Sources/GraphQL/Language/Kinds.swift:1:13: note: consider making enum 'Kind' conform to the 'Sendable' protocol
1 | public enum Kind: String, CaseIterable {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
2 | case name
3 | case document
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:41:27: warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// The formatting of the output Any data.
31 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
32 | /// The format's default value.
33 | public let rawValue: UInt
:
39 |
40 | /// Produce human-readable Any with indented output.
41 | public static let prettyPrinted = OutputFormatting(rawValue: 1 << 0)
| |- warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prettyPrinted' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | /// Produce Any with dictionary keys sorted in lexicographic order.
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:45:27: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// The formatting of the output Any data.
31 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
32 | /// The format's default value.
33 | public let rawValue: UInt
:
43 | /// Produce Any with dictionary keys sorted in lexicographic order.
44 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
45 | public static let sortedKeys = OutputFormatting(rawValue: 1 << 1)
| |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sortedKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | }
47 |
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:3262:13: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3260 | // NOTE: This value is implicitly lazy and _must_ be lazy. We're compiled against the latest SDK (w/ ISO8601DateFormatter), but linked against whichever Foundation the user has. ISO8601DateFormatter might not exist, so we better not hit this code path on an older OS.
3261 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
3262 | private var _iso8601Formatter: ISO8601DateFormatter = {
| |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3263 | let formatter = ISO8601DateFormatter()
3264 | formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:39:27: warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
37 |
38 | /// Produce human-readable JSON with indented output.
39 | public static let prettyPrinted = OutputFormatting(rawValue: 1 << 0)
| |- warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prettyPrinted' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// Produce JSON with dictionary keys sorted in lexicographic order.
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:43:27: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
41 | /// Produce JSON with dictionary keys sorted in lexicographic order.
42 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
43 | public static let sortedKeys = OutputFormatting(rawValue: 1 << 1)
| |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sortedKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | /// By default slashes get escaped ("/" → "\/", "http://apple.com/" → "http:\/\/apple.com\/")
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:49:27: warning: static property 'withoutEscapingSlashes' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
47 | /// In contexts where this escaping is unnecessary, the JSON is known to not be embedded,
48 | /// or is intended only for display, this option avoids this escaping.
49 | public static let withoutEscapingSlashes = OutputFormatting(rawValue: 1 << 3)
| |- warning: static property 'withoutEscapingSlashes' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'withoutEscapingSlashes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | }
51 |
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:1302:13: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1300 | // NOTE: This value is implicitly lazy and _must_ be lazy. We're compiled against the latest SDK (w/ ISO8601DateFormatter), but linked against whichever Foundation the user has. ISO8601DateFormatter might not exist, so we better not hit this code path on an older OS.
1301 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
1302 | private var _iso8601Formatter: ISO8601DateFormatter = {
| |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1303 | let formatter = ISO8601DateFormatter()
1304 | formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/Sources/GraphQL/Map/Map.swift:35:16: warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'MapEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | public extension Map {
35 | static let encoder = MapEncoder()
| |- warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'MapEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'encoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | init<T: Encodable>(_ encodable: T, encoder: MapEncoder = Map.encoder) throws {
/host/spi-builder-workspace/Sources/GraphQL/Map/MapCoder.swift:35:12: note: class 'MapEncoder' does not conform to the 'Sendable' protocol
33 |
34 | /// `MapEncoder` facilitates the encoding of `Encodable` values into Map.
35 | open class MapEncoder {
| `- note: class 'MapEncoder' does not conform to the 'Sendable' protocol
36 | // MARK: Options
37 |
[383/384] Compiling GraphQL GraphQLJSONEncoder.swift
/host/spi-builder-workspace/Sources/GraphQL/Language/Visitor.swift:1:5: warning: let 'QueryDocumentKeys' is not concurrency-safe because non-'Sendable' type '[Kind : [String]]' may have shared mutable state; this is an error in the Swift 6 language mode
1 | let QueryDocumentKeys: [Kind: [String]] = [
| |- warning: let 'QueryDocumentKeys' is not concurrency-safe because non-'Sendable' type '[Kind : [String]]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'QueryDocumentKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2 | .name: [],
3 |
/host/spi-builder-workspace/Sources/GraphQL/Language/Kinds.swift:1:13: note: consider making enum 'Kind' conform to the 'Sendable' protocol
1 | public enum Kind: String, CaseIterable {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
2 | case name
3 | case document
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:41:27: warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// The formatting of the output Any data.
31 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
32 | /// The format's default value.
33 | public let rawValue: UInt
:
39 |
40 | /// Produce human-readable Any with indented output.
41 | public static let prettyPrinted = OutputFormatting(rawValue: 1 << 0)
| |- warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prettyPrinted' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | /// Produce Any with dictionary keys sorted in lexicographic order.
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:45:27: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// The formatting of the output Any data.
31 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
32 | /// The format's default value.
33 | public let rawValue: UInt
:
43 | /// Produce Any with dictionary keys sorted in lexicographic order.
44 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
45 | public static let sortedKeys = OutputFormatting(rawValue: 1 << 1)
| |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sortedKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | }
47 |
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:3262:13: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3260 | // NOTE: This value is implicitly lazy and _must_ be lazy. We're compiled against the latest SDK (w/ ISO8601DateFormatter), but linked against whichever Foundation the user has. ISO8601DateFormatter might not exist, so we better not hit this code path on an older OS.
3261 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
3262 | private var _iso8601Formatter: ISO8601DateFormatter = {
| |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3263 | let formatter = ISO8601DateFormatter()
3264 | formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:39:27: warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
37 |
38 | /// Produce human-readable JSON with indented output.
39 | public static let prettyPrinted = OutputFormatting(rawValue: 1 << 0)
| |- warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prettyPrinted' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// Produce JSON with dictionary keys sorted in lexicographic order.
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:43:27: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
41 | /// Produce JSON with dictionary keys sorted in lexicographic order.
42 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
43 | public static let sortedKeys = OutputFormatting(rawValue: 1 << 1)
| |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sortedKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | /// By default slashes get escaped ("/" → "\/", "http://apple.com/" → "http:\/\/apple.com\/")
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:49:27: warning: static property 'withoutEscapingSlashes' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
47 | /// In contexts where this escaping is unnecessary, the JSON is known to not be embedded,
48 | /// or is intended only for display, this option avoids this escaping.
49 | public static let withoutEscapingSlashes = OutputFormatting(rawValue: 1 << 3)
| |- warning: static property 'withoutEscapingSlashes' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'withoutEscapingSlashes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | }
51 |
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:1302:13: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1300 | // NOTE: This value is implicitly lazy and _must_ be lazy. We're compiled against the latest SDK (w/ ISO8601DateFormatter), but linked against whichever Foundation the user has. ISO8601DateFormatter might not exist, so we better not hit this code path on an older OS.
1301 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
1302 | private var _iso8601Formatter: ISO8601DateFormatter = {
| |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1303 | let formatter = ISO8601DateFormatter()
1304 | formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/Sources/GraphQL/Map/Map.swift:35:16: warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'MapEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | public extension Map {
35 | static let encoder = MapEncoder()
| |- warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'MapEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'encoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | init<T: Encodable>(_ encodable: T, encoder: MapEncoder = Map.encoder) throws {
/host/spi-builder-workspace/Sources/GraphQL/Map/MapCoder.swift:35:12: note: class 'MapEncoder' does not conform to the 'Sendable' protocol
33 |
34 | /// `MapEncoder` facilitates the encoding of `Encodable` values into Map.
35 | open class MapEncoder {
| `- note: class 'MapEncoder' does not conform to the 'Sendable' protocol
36 | // MARK: Options
37 |
[384/384] Compiling GraphQL Map.swift
/host/spi-builder-workspace/Sources/GraphQL/Language/Visitor.swift:1:5: warning: let 'QueryDocumentKeys' is not concurrency-safe because non-'Sendable' type '[Kind : [String]]' may have shared mutable state; this is an error in the Swift 6 language mode
1 | let QueryDocumentKeys: [Kind: [String]] = [
| |- warning: let 'QueryDocumentKeys' is not concurrency-safe because non-'Sendable' type '[Kind : [String]]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'QueryDocumentKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2 | .name: [],
3 |
/host/spi-builder-workspace/Sources/GraphQL/Language/Kinds.swift:1:13: note: consider making enum 'Kind' conform to the 'Sendable' protocol
1 | public enum Kind: String, CaseIterable {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
2 | case name
3 | case document
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:41:27: warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// The formatting of the output Any data.
31 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
32 | /// The format's default value.
33 | public let rawValue: UInt
:
39 |
40 | /// Produce human-readable Any with indented output.
41 | public static let prettyPrinted = OutputFormatting(rawValue: 1 << 0)
| |- warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prettyPrinted' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | /// Produce Any with dictionary keys sorted in lexicographic order.
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:45:27: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// The formatting of the output Any data.
31 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
32 | /// The format's default value.
33 | public let rawValue: UInt
:
43 | /// Produce Any with dictionary keys sorted in lexicographic order.
44 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
45 | public static let sortedKeys = OutputFormatting(rawValue: 1 << 1)
| |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'AnyEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sortedKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | }
47 |
/host/spi-builder-workspace/Sources/GraphQL/Map/AnyCoder.swift:3262:13: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3260 | // NOTE: This value is implicitly lazy and _must_ be lazy. We're compiled against the latest SDK (w/ ISO8601DateFormatter), but linked against whichever Foundation the user has. ISO8601DateFormatter might not exist, so we better not hit this code path on an older OS.
3261 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
3262 | private var _iso8601Formatter: ISO8601DateFormatter = {
| |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3263 | let formatter = ISO8601DateFormatter()
3264 | formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:39:27: warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
37 |
38 | /// Produce human-readable JSON with indented output.
39 | public static let prettyPrinted = OutputFormatting(rawValue: 1 << 0)
| |- warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prettyPrinted' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// Produce JSON with dictionary keys sorted in lexicographic order.
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:43:27: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
41 | /// Produce JSON with dictionary keys sorted in lexicographic order.
42 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
43 | public static let sortedKeys = OutputFormatting(rawValue: 1 << 1)
| |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sortedKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | /// By default slashes get escaped ("/" → "\/", "http://apple.com/" → "http:\/\/apple.com\/")
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:49:27: warning: static property 'withoutEscapingSlashes' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// The formatting of the output JSON data.
29 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
30 | /// The format's default value.
31 | public let rawValue: UInt
:
47 | /// In contexts where this escaping is unnecessary, the JSON is known to not be embedded,
48 | /// or is intended only for display, this option avoids this escaping.
49 | public static let withoutEscapingSlashes = OutputFormatting(rawValue: 1 << 3)
| |- warning: static property 'withoutEscapingSlashes' is not concurrency-safe because non-'Sendable' type 'GraphQLJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'withoutEscapingSlashes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | }
51 |
/host/spi-builder-workspace/Sources/GraphQL/Map/GraphQLJSONEncoder.swift:1302:13: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1300 | // NOTE: This value is implicitly lazy and _must_ be lazy. We're compiled against the latest SDK (w/ ISO8601DateFormatter), but linked against whichever Foundation the user has. ISO8601DateFormatter might not exist, so we better not hit this code path on an older OS.
1301 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
1302 | private var _iso8601Formatter: ISO8601DateFormatter = {
| |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1303 | let formatter = ISO8601DateFormatter()
1304 | formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/Sources/GraphQL/Map/Map.swift:35:16: warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'MapEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | public extension Map {
35 | static let encoder = MapEncoder()
| |- warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'MapEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'encoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | init<T: Encodable>(_ encodable: T, encoder: MapEncoder = Map.encoder) throws {
/host/spi-builder-workspace/Sources/GraphQL/Map/MapCoder.swift:35:12: note: class 'MapEncoder' does not conform to the 'Sendable' protocol
33 |
34 | /// `MapEncoder` facilitates the encoding of `Encodable` values into Map.
35 | open class MapEncoder {
| `- note: class 'MapEncoder' does not conform to the 'Sendable' protocol
36 | // MARK: Options
37 |
Build complete! (105.54s)
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"
}
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Done.