Build Information
Successful build of GraphQL, reference 3.0.2 (bd5419
), with Swift 6.1 for Android on 30 May 2025 14:53:26 UTC.
Swift 6 data race errors: 52
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:214:5: warning: let 'defaultParseLiteral' is not concurrency-safe because non-'Sendable' type '(any Value) throws -> Map' may have shared mutable state; this is an error in the Swift 6 language mode
212 | }
213 |
214 | let defaultParseLiteral: ((Value) throws -> Map) = { value in
| |- warning: let 'defaultParseLiteral' is not concurrency-safe because non-'Sendable' type '(any Value) throws -> Map' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'defaultParseLiteral' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
215 | try valueFromASTUntyped(valueAST: value)
216 | }
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:516:42: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
514 | self.resolve = { source, args, context, eventLoopGroup, info in
515 | let result = try resolve(source, args, context, info)
516 | return eventLoopGroup.next().makeSucceededFuture(result)
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
517 | }
518 | subscribe = nil
/host/spi-builder-workspace/Sources/GraphQL/Type/Directives.swift:69:12: warning: let 'GraphQLIncludeDirective' is not concurrency-safe because non-'Sendable' type 'GraphQLDirective' may have shared mutable state; this is an error in the Swift 6 language mode
30 | * behavior. Type system creators will usually not create these directly.
31 | */
32 | public final class GraphQLDirective {
| `- note: class 'GraphQLDirective' does not conform to the 'Sendable' protocol
33 | public let name: String
34 | public let description: String?
:
67 | * Used to conditionally include fields or fragments.
68 | */
69 | public let GraphQLIncludeDirective = try! GraphQLDirective(
| |- warning: let 'GraphQLIncludeDirective' is not concurrency-safe because non-'Sendable' type 'GraphQLDirective' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'GraphQLIncludeDirective' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | name: "include",
71 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Directives.swift:90:12: warning: let 'GraphQLSkipDirective' is not concurrency-safe because non-'Sendable' type 'GraphQLDirective' may have shared mutable state; this is an error in the Swift 6 language mode
30 | * behavior. Type system creators will usually not create these directly.
31 | */
32 | public final class GraphQLDirective {
| `- note: class 'GraphQLDirective' does not conform to the 'Sendable' protocol
33 | public let name: String
34 | public let description: String?
:
88 | * Used to conditionally skip (exclude) fields or fragments.
89 | */
90 | public let GraphQLSkipDirective = try! GraphQLDirective(
| |- warning: let 'GraphQLSkipDirective' is not concurrency-safe because non-'Sendable' type 'GraphQLDirective' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'GraphQLSkipDirective' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | name: "skip",
92 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Directives.swift:116:12: warning: let 'GraphQLDeprecatedDirective' is not concurrency-safe because non-'Sendable' type 'GraphQLDirective' may have shared mutable state; this is an error in the Swift 6 language mode
30 | * behavior. Type system creators will usually not create these directly.
31 | */
32 | public final class GraphQLDirective {
| `- note: class 'GraphQLDirective' does not conform to the 'Sendable' protocol
33 | public let name: String
34 | public let description: String?
:
114 | * Used to declare element of a GraphQL schema as deprecated.
115 | */
116 | public let GraphQLDeprecatedDirective = try! GraphQLDirective(
| |- warning: let 'GraphQLDeprecatedDirective' is not concurrency-safe because non-'Sendable' type 'GraphQLDirective' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'GraphQLDeprecatedDirective' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 | name: "deprecated",
118 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Directives.swift:142:12: warning: let 'GraphQLSpecifiedByDirective' is not concurrency-safe because non-'Sendable' type 'GraphQLDirective' may have shared mutable state; this is an error in the Swift 6 language mode
30 | * behavior. Type system creators will usually not create these directly.
31 | */
32 | public final class GraphQLDirective {
| `- note: class 'GraphQLDirective' does not conform to the 'Sendable' protocol
33 | public let name: String
34 | public let description: String?
:
140 | * Used to provide a URL for specifying the behavior of custom scalar definitions.
141 | */
142 | public let GraphQLSpecifiedByDirective = try! GraphQLDirective(
| |- warning: let 'GraphQLSpecifiedByDirective' is not concurrency-safe because non-'Sendable' type 'GraphQLDirective' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'GraphQLSpecifiedByDirective' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
143 | name: "specifiedBy",
144 | description: "Exposes a URL that specifies the behavior of this scalar.",
/host/spi-builder-workspace/Sources/GraphQL/Type/Directives.swift:157:12: warning: let 'GraphQLOneOfDirective' is not concurrency-safe because non-'Sendable' type 'GraphQLDirective' may have shared mutable state; this is an error in the Swift 6 language mode
30 | * behavior. Type system creators will usually not create these directly.
31 | */
32 | public final class GraphQLDirective {
| `- note: class 'GraphQLDirective' does not conform to the 'Sendable' protocol
33 | public let name: String
34 | public let description: String?
:
155 | * Used to indicate an Input Object is a OneOf Input Object.
156 | */
157 | public let GraphQLOneOfDirective = try! GraphQLDirective(
| |- warning: let 'GraphQLOneOfDirective' is not concurrency-safe because non-'Sendable' type 'GraphQLDirective' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'GraphQLOneOfDirective' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
158 | name: "oneOf",
159 | description: "Indicates exactly one field must be supplied and this field must not be \\`null\\`.",
/host/spi-builder-workspace/Sources/GraphQL/Type/Directives.swift:167:5: warning: let 'specifiedDirectives' is not concurrency-safe because non-'Sendable' type '[GraphQLDirective]' may have shared mutable state; this is an error in the Swift 6 language mode
30 | * behavior. Type system creators will usually not create these directly.
31 | */
32 | public final class GraphQLDirective {
| `- note: class 'GraphQLDirective' does not conform to the 'Sendable' protocol
33 | public let name: String
34 | public let description: String?
:
165 | * The full list of specified directives.
166 | */
167 | let specifiedDirectives: [GraphQLDirective] = [
| |- warning: let 'specifiedDirectives' is not concurrency-safe because non-'Sendable' type '[GraphQLDirective]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'specifiedDirectives' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
168 | GraphQLIncludeDirective,
169 | GraphQLSkipDirective,
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:3:5: warning: let '__Schema' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import NIO
2 |
3 | let __Schema = try! GraphQLObjectType(
| |- warning: let '__Schema' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let '__Schema' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
4 | name: "__Schema",
5 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:276:20: note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
274 | *
275 | */
276 | public final class GraphQLObjectType {
| `- note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
277 | public let name: String
278 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:74:5: warning: let '__Directive' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
72 | )
73 |
74 | let __Directive = try! GraphQLObjectType(
| |- warning: let '__Directive' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let '__Directive' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | name: "__Directive",
76 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:276:20: note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
274 | *
275 | */
276 | public final class GraphQLObjectType {
| `- note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
277 | public let name: String
278 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:104:5: warning: let '__DirectiveLocation' is not concurrency-safe because non-'Sendable' type 'GraphQLEnumType' may have shared mutable state; this is an error in the Swift 6 language mode
102 | )
103 |
104 | let __DirectiveLocation = try! GraphQLEnumType(
| |- warning: let '__DirectiveLocation' is not concurrency-safe because non-'Sendable' type 'GraphQLEnumType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let '__DirectiveLocation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | name: "__DirectiveLocation",
106 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:860:20: note: class 'GraphQLEnumType' does not conform to the 'Sendable' protocol
858 | * will be used as its internal value.
859 | */
860 | public final class GraphQLEnumType {
| `- note: class 'GraphQLEnumType' does not conform to the 'Sendable' protocol
861 | public let name: String
862 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:193:5: warning: let '__Type' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
191 | )
192 |
193 | let __Type: GraphQLObjectType = {
| |- warning: let '__Type' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let '__Type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
194 | let __Type = try! GraphQLObjectType(
195 | name: "__Type",
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:276:20: note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
274 | *
275 | */
276 | public final class GraphQLObjectType {
| `- note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
277 | public let name: String
278 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:348:5: warning: let '__Field' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
346 | }()
347 |
348 | let __Field = try! GraphQLObjectType(
| |- warning: let '__Field' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let '__Field' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
349 | name: "__Field",
350 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:276:20: note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
274 | *
275 | */
276 | public final class GraphQLObjectType {
| `- note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
277 | public let name: String
278 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:375:5: warning: let '__InputValue' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
373 | )
374 |
375 | let __InputValue = try! GraphQLObjectType(
| |- warning: let '__InputValue' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let '__InputValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
376 | name: "__InputValue",
377 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:276:20: note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
274 | *
275 | */
276 | public final class GraphQLObjectType {
| `- note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
277 | public let name: String
278 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:415:5: warning: let '__EnumValue' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
413 | )
414 |
415 | let __EnumValue = try! GraphQLObjectType(
| |- warning: let '__EnumValue' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let '__EnumValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
416 | name: "__EnumValue",
417 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:276:20: note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
274 | *
275 | */
276 | public final class GraphQLObjectType {
| `- note: class 'GraphQLObjectType' does not conform to the 'Sendable' protocol
277 | public let name: String
278 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:440:5: warning: let '__TypeKind' is not concurrency-safe because non-'Sendable' type 'GraphQLEnumType' may have shared mutable state; this is an error in the Swift 6 language mode
438 | }
439 |
440 | let __TypeKind = try! GraphQLEnumType(
| |- warning: let '__TypeKind' is not concurrency-safe because non-'Sendable' type 'GraphQLEnumType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let '__TypeKind' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
441 | name: "__TypeKind",
442 | description: "An enum describing what kind of type a given \\`__Type\\` is.",
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:860:20: note: class 'GraphQLEnumType' does not conform to the 'Sendable' protocol
858 | * will be used as its internal value.
859 | */
860 | public final class GraphQLEnumType {
| `- note: class 'GraphQLEnumType' does not conform to the 'Sendable' protocol
861 | public let name: String
862 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:496:31: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
494 | description: "Access the current type schema of this server.",
495 | resolve: { _, _, _, eventLoopGroup, info in
496 | eventLoopGroup.next().makeSucceededFuture(info.schema)
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
497 | }
498 | )
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:491:5: warning: let 'SchemaMetaFieldDef' is not concurrency-safe because non-'Sendable' type 'GraphQLFieldDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
489 | */
490 |
491 | let SchemaMetaFieldDef = GraphQLFieldDefinition(
| |- warning: let 'SchemaMetaFieldDef' is not concurrency-safe because non-'Sendable' type 'GraphQLFieldDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'SchemaMetaFieldDef' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
492 | name: "__schema",
493 | type: GraphQLNonNull(__Schema),
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:524:20: note: class 'GraphQLFieldDefinition' does not conform to the 'Sendable' protocol
522 | public typealias GraphQLFieldDefinitionMap = OrderedDictionary<String, GraphQLFieldDefinition>
523 |
524 | public final class GraphQLFieldDefinition {
| `- note: class 'GraphQLFieldDefinition' does not conform to the 'Sendable' protocol
525 | public let name: String
526 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:512:38: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
510 | resolve: { _, arguments, _, eventLoopGroup, info in
511 | let name = arguments["name"].string!
512 | return eventLoopGroup.next().makeSucceededFuture(info.schema.getType(name: name))
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
513 | }
514 | )
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:500:5: warning: let 'TypeMetaFieldDef' is not concurrency-safe because non-'Sendable' type 'GraphQLFieldDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
498 | )
499 |
500 | let TypeMetaFieldDef = GraphQLFieldDefinition(
| |- warning: let 'TypeMetaFieldDef' is not concurrency-safe because non-'Sendable' type 'GraphQLFieldDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'TypeMetaFieldDef' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
501 | name: "__type",
502 | type: __Type,
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:524:20: note: class 'GraphQLFieldDefinition' does not conform to the 'Sendable' protocol
522 | public typealias GraphQLFieldDefinitionMap = OrderedDictionary<String, GraphQLFieldDefinition>
523 |
524 | public final class GraphQLFieldDefinition {
| `- note: class 'GraphQLFieldDefinition' does not conform to the 'Sendable' protocol
525 | public let name: String
526 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:521:31: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
519 | description: "The name of the current Object type at runtime.",
520 | resolve: { _, _, _, eventLoopGroup, info in
521 | eventLoopGroup.next().makeSucceededFuture(info.parentType.name)
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
522 | }
523 | )
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:516:5: warning: let 'TypeNameMetaFieldDef' is not concurrency-safe because non-'Sendable' type 'GraphQLFieldDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
514 | )
515 |
516 | let TypeNameMetaFieldDef = GraphQLFieldDefinition(
| |- warning: let 'TypeNameMetaFieldDef' is not concurrency-safe because non-'Sendable' type 'GraphQLFieldDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'TypeNameMetaFieldDef' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
517 | name: "__typename",
518 | type: GraphQLNonNull(GraphQLString),
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:524:20: note: class 'GraphQLFieldDefinition' does not conform to the 'Sendable' protocol
522 | public typealias GraphQLFieldDefinitionMap = OrderedDictionary<String, GraphQLFieldDefinition>
523 |
524 | public final class GraphQLFieldDefinition {
| `- note: class 'GraphQLFieldDefinition' does not conform to the 'Sendable' protocol
525 | public let name: String
526 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Introspection.swift:525:5: warning: let 'introspectionTypes' is not concurrency-safe because non-'Sendable' type '[any GraphQLNamedType]' may have shared mutable state; this is an error in the Swift 6 language mode
523 | )
524 |
525 | let introspectionTypes: [GraphQLNamedType] = [
| |- warning: let 'introspectionTypes' is not concurrency-safe because non-'Sendable' type '[any GraphQLNamedType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'introspectionTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
526 | __Schema,
527 | __Directive,
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:113:17: note: protocol 'GraphQLNamedType' does not conform to the 'Sendable' protocol
111 | * These named types do not include modifiers like List or NonNull.
112 | */
113 | public protocol GraphQLNamedType: GraphQLNullableType {
| `- note: protocol 'GraphQLNamedType' does not conform to the 'Sendable' protocol
114 | var name: String { get }
115 | }
/host/spi-builder-workspace/Sources/GraphQL/Type/Scalars.swift:13:12: warning: let 'GraphQLInt' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | let GRAPHQL_MIN_INT = -2_147_483_648
12 |
13 | public let GraphQLInt = try! GraphQLScalarType(
| |- warning: let 'GraphQLInt' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'GraphQLInt' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | name: "Int",
15 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:161:20: note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
159 | *
160 | */
161 | public final class GraphQLScalarType {
| `- note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
162 | public let name: String
163 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Scalars.swift:69:12: warning: let 'GraphQLFloat' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
67 | )
68 |
69 | public let GraphQLFloat = try! GraphQLScalarType(
| |- warning: let 'GraphQLFloat' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'GraphQLFloat' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | name: "Float",
71 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:161:20: note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
159 | *
160 | */
161 | public final class GraphQLScalarType {
| `- note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
162 | public let name: String
163 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Scalars.swift:124:12: warning: let 'GraphQLString' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
122 | )
123 |
124 | public let GraphQLString = try! GraphQLScalarType(
| |- warning: let 'GraphQLString' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'GraphQLString' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
125 | name: "String",
126 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:161:20: note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
159 | *
160 | */
161 | public final class GraphQLScalarType {
| `- note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
162 | public let name: String
163 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Scalars.swift:175:12: warning: let 'GraphQLBoolean' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
173 | )
174 |
175 | public let GraphQLBoolean = try! GraphQLScalarType(
| |- warning: let 'GraphQLBoolean' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'GraphQLBoolean' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
176 | name: "Boolean",
177 | description: "The `Boolean` scalar type represents `true` or `false`.",
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:161:20: note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
159 | *
160 | */
161 | public final class GraphQLScalarType {
| `- note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
162 | public let name: String
163 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Scalars.swift:225:12: warning: let 'GraphQLID' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
223 | )
224 |
225 | public let GraphQLID = try! GraphQLScalarType(
| |- warning: let 'GraphQLID' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'GraphQLID' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
226 | name: "ID",
227 | description:
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:161:20: note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
159 | *
160 | */
161 | public final class GraphQLScalarType {
| `- note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
162 | public let name: String
163 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Type/Scalars.swift:278:5: warning: let 'specifiedScalarTypes' is not concurrency-safe because non-'Sendable' type '[GraphQLScalarType]' may have shared mutable state; this is an error in the Swift 6 language mode
276 | )
277 |
278 | let specifiedScalarTypes = [
| |- warning: let 'specifiedScalarTypes' is not concurrency-safe because non-'Sendable' type '[GraphQLScalarType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'specifiedScalarTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
279 | GraphQLString,
280 | GraphQLInt,
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:161:20: note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
159 | *
160 | */
161 | public final class GraphQLScalarType {
| `- note: class 'GraphQLScalarType' does not conform to the 'Sendable' protocol
162 | public let name: String
163 | public let description: String?
/host/spi-builder-workspace/Sources/GraphQL/Utilities/ExtendSchema.swift:951:5: warning: let 'stdTypeMap' is not concurrency-safe because non-'Sendable' type '[String : any GraphQLNamedType]' may have shared mutable state; this is an error in the Swift 6 language mode
949 | }
950 |
951 | let stdTypeMap = {
| |- warning: let 'stdTypeMap' is not concurrency-safe because non-'Sendable' type '[String : any GraphQLNamedType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'stdTypeMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
952 | var types = [GraphQLNamedType]()
953 | types.append(contentsOf: specifiedScalarTypes)
/host/spi-builder-workspace/Sources/GraphQL/Type/Definition.swift:113:17: note: protocol 'GraphQLNamedType' does not conform to the 'Sendable' protocol
111 | * These named types do not include modifiers like List or NonNull.
112 | */
113 | public protocol GraphQLNamedType: GraphQLNullableType {
| `- note: protocol 'GraphQLNamedType' does not conform to the 'Sendable' protocol
114 | var name: String { get }
115 | }
[373/385] 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 |
[374/385] 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 |
[375/385] 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 |
[376/385] 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 |
[377/385] 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 |
[378/385] 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 |
[379/385] 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 |
[380/385] 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 |
[381/385] 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 |
[382/385] 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 |
[383/385] 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 |
[384/385] 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 |
[385/385] 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! (98.39s)
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:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Done.