Build Information
Failed to build swift-graphql-codegen, reference 0.7.2 (f25c7e), with Swift 6.3 for macOS (SPM) on 17 Apr 2026 05:17:06 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pm-dev/swift-graphql-codegen.git
Reference: 0.7.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/pm-dev/swift-graphql-codegen
* tag 0.7.2 -> FETCH_HEAD
HEAD is now at f25c7e9 Response types conform to Hashable by default
Cloned https://github.com/pm-dev/swift-graphql-codegen.git
Revision (git rev-parse @):
f25c7e93a0cc59c7d98219e4377c9b7afbfae21a
SUCCESS checkout https://github.com/pm-dev/swift-graphql-codegen.git at 0.7.2
Fetching https://github.com/SimplyDanny/SwiftLintPlugins
Fetching https://github.com/apple/swift-collections
[1/316] Fetching swiftlintplugins
[242/23885] Fetching swiftlintplugins, swift-collections
Fetched https://github.com/apple/swift-collections from cache (1.77s)
Fetched https://github.com/SimplyDanny/SwiftLintPlugins from cache (1.77s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.1.4 (4.98s)
Computing version for https://github.com/SimplyDanny/SwiftLintPlugins
Computed https://github.com/SimplyDanny/SwiftLintPlugins at 0.58.2 (0.55s)
Creating working copy for https://github.com/SimplyDanny/SwiftLintPlugins
Working copy of https://github.com/SimplyDanny/SwiftLintPlugins resolved at 0.58.2
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.1.4
Downloading binary artifact https://github.com/realm/SwiftLint/releases/download/0.58.2/SwiftLintBinary.artifactbundle.zip
[16375/40913916] Downloading https://github.com/realm/SwiftLint/releases/download/0.58.2/SwiftLintBinary.artifactbundle.zip
Downloaded https://github.com/realm/SwiftLint/releases/download/0.58.2/SwiftLintBinary.artifactbundle.zip (2.65s)
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swift-graphql-codegen",
"name": "swift-graphql-codegen",
"url": "https://github.com/pm-dev/swift-graphql-codegen.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-graphql-codegen",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swift-collections",
"name": "swift-collections",
"url": "https://github.com/apple/swift-collections",
"version": "1.4.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
"traits": [
],
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/pm-dev/swift-graphql-codegen.git
[1/417] Fetching swift-graphql-codegen
Fetched https://github.com/pm-dev/swift-graphql-codegen.git from cache (0.79s)
Fetching https://github.com/apple/swift-collections from cache
Fetched https://github.com/apple/swift-collections from cache (0.53s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.4.1 (1.19s)
Creating working copy for https://github.com/pm-dev/swift-graphql-codegen.git
Working copy of https://github.com/pm-dev/swift-graphql-codegen.git resolved at 0.7.2 (f25c7e9)
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.4.1
warning: '.resolve-product-dependencies': dependency 'swift-graphql-codegen' is not used by any target
Found 1 product dependencies
- swift-collections
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/pm-dev/swift-graphql-codegen.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin SwiftLintCommandPlugin
[2/2] Compiling plugin SwiftLintBuildToolPlugin
Building for debugging...
[2/13] Copying graphql.bundle.js
[3/13] Write sources
[7/13] Write StarwarsExample-entitlement.plist
[7/13] Write sources
[9/13] Write swift-version--6988338F2F200930.txt
[11/36] Compiling InternalCollectionsUtilities _SortedCollection.swift
[12/36] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[13/37] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[14/37] Compiling InternalCollectionsUtilities Specialize.swift
[15/37] Compiling InternalCollectionsUtilities Debugging.swift
[16/37] Compiling InternalCollectionsUtilities Descriptions.swift
[17/37] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[18/37] Emitting module InternalCollectionsUtilities
[19/37] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[20/37] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[21/37] Compiling InternalCollectionsUtilities UInt+reversed.swift
[22/37] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[23/37] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[24/37] Compiling InternalCollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[25/37] Compiling InternalCollectionsUtilities UnsafeRawPointer extensions.swift
[26/37] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[27/37] Compiling InternalCollectionsUtilities Integer rank.swift
[28/37] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[29/37] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[30/93] Compiling OrderedCollections OrderedSet+Codable.swift
[31/93] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[32/93] Compiling OrderedCollections OrderedSet+Descriptions.swift
[33/93] Compiling OrderedCollections OrderedSet+Diffing.swift
[34/93] Compiling OrderedCollections OrderedSet+Equatable.swift
[35/93] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[36/99] Compiling OrderedCollections OrderedDictionary+Elements.swift
[37/99] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[38/99] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[39/99] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[40/99] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[41/99] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[42/99] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[43/99] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[44/99] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[45/99] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[46/99] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[47/99] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[48/99] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[49/99] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[50/99] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[51/99] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[52/99] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[53/99] Compiling OrderedCollections OrderedSet+Sendable.swift
[54/99] Compiling OrderedCollections _Hashtable+Header.swift
[55/99] Compiling OrderedCollections OrderedDictionary+Codable.swift
[56/99] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[57/99] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[58/99] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[59/99] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[60/99] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[61/99] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[62/99] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[63/99] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[64/99] Compiling OrderedCollections OrderedDictionary+Values.swift
[65/99] Compiling OrderedCollections OrderedDictionary.swift
[66/99] Compiling OrderedCollections OrderedSet+Hashable.swift
[67/99] Compiling OrderedCollections OrderedSet+Initializers.swift
[68/99] Compiling OrderedCollections OrderedSet+Insertions.swift
[69/99] Compiling OrderedCollections OrderedSet+Invariants.swift
[70/99] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[71/99] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[72/99] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[73/99] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[74/99] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[75/99] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[76/99] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[77/99] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[78/99] Compiling OrderedCollections _HashTable+Bucket.swift
[79/99] Compiling OrderedCollections _HashTable+BucketIterator.swift
[80/99] Compiling OrderedCollections _HashTable+Constants.swift
[81/99] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[82/99] Compiling OrderedCollections _HashTable+Testing.swift
[83/99] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[84/99] Compiling OrderedCollections _HashTable.swift
[85/99] Compiling OrderedCollections OrderedSet+SubSequence.swift
[86/99] Compiling OrderedCollections OrderedSet+Testing.swift
[87/99] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[88/99] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[89/99] Compiling OrderedCollections OrderedSet.swift
[90/99] Compiling OrderedCollections _UnsafeBitset.swift
[91/99] Emitting module OrderedCollections
[92/99] Compiling LetterCase LetterCase.swift
[93/99] Compiling LetterCase StringAdditions.swift
[94/99] Emitting module LetterCase
[95/99] Compiling LetterCase KeyDecodingStrategyAdditions.swift
[96/99] Compiling LetterCase LetterCaseOptions.swift
[97/166] Emitting module GraphQLCodegen
[98/173] Compiling GraphQLCodegen Codegen.swift
[99/173] Compiling GraphQLCodegen Configuration.Input.SchemaSource.swift
[100/173] Compiling GraphQLCodegen Configuration.Input.swift
[101/173] Compiling GraphQLCodegen Configuration.Output.API.HTTPSupport.swift
[102/173] Compiling GraphQLCodegen Configuration.Output.API.swift
[103/173] Compiling GraphQLCodegen Configuration.Output.Documents.Fragments.swift
[104/173] Compiling GraphQLCodegen Configuration.Output.Documents.Operations.PersistedOperations.swift
[105/173] Compiling GraphQLCodegen Configuration.Output.Documents.Operations.ResponseData.swift
[106/173] Compiling GraphQLCodegen PersistedOperationManifestWriter.swift
[107/173] Compiling GraphQLCodegen SchemaWriter.swift
[108/173] Compiling GraphQLCodegen SchemaEnumBuilder.swift
[109/173] Compiling GraphQLCodegen SchemaInputObjectBuilder.swift
[110/173] Compiling GraphQLCodegen SchemaScalarBuilder.swift
[111/173] Compiling GraphQLCodegen SourceTypeName.swift
[112/173] Compiling GraphQLCodegen SwiftEnumBuilder.swift
[113/173] Compiling GraphQLCodegen Configuration.Output.Documents.Operations.Variables.swift
[114/173] Compiling GraphQLCodegen Configuration.Output.Documents.Operations.swift
[115/173] Compiling GraphQLCodegen Configuration.Output.Documents.swift
[116/173] Compiling GraphQLCodegen Configuration.Output.Schema.Enums.swift
[117/173] Compiling GraphQLCodegen Configuration.Output.Schema.InputObjects.swift
[118/173] Compiling GraphQLCodegen Configuration.Output.Schema.Scalars.swift
[119/173] Compiling GraphQLCodegen Configuration.Output.Schema.swift
[120/173] Compiling GraphQLCodegen Configuration.Output.swift
[121/173] Compiling GraphQLCodegen SwiftFileWriter.swift
/Users/admin/builder/spi-builder-workspace/Sources/GraphQLCodegen/Resolution/Documents/DocumentsResolver.swift:65:23: error: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure [#SendingClosureRisksDataRace]
63 | try await withThrowingTaskGroup(of: (String, ResolvedFragment).self) { group in
64 | for (name, fragment) in usedFragments {
65 | group.addTask {
| `- error: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure [#SendingClosureRisksDataRace]
66 | let selectionSet = try SelectionSetResolver(
67 | onType: try schema.fragmentType(fragment.ast),
| `- note: closure captures 'self' which is accessible to code in the current task
68 | selectionSet: fragment.ast.selectionSet,
69 | schema: schema,
/Users/admin/builder/spi-builder-workspace/Sources/GraphQLCodegen/Resolution/Documents/DocumentsResolver.swift:90:23: error: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure [#SendingClosureRisksDataRace]
88 | try await withThrowingTaskGroup(of: ResolvedDocument.self) { group in
89 | for document in documents.documents {
90 | group.addTask {
| `- error: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure [#SendingClosureRisksDataRace]
91 | var resolvedDefinitions: [ResolvedDefinition] = []
92 | for definition in document.definitions {
:
98 | operation: operation,
99 | resolvedSelectionSet: SelectionSetResolver(
100 | onType: .OBJECT(schema.operationType(operation)),
| `- note: closure captures 'self' which is accessible to code in the current task
101 | selectionSet: operation.ast.selectionSet,
102 | schema: schema,
[#SendingClosureRisksDataRace]: <https://docs.swift.org/compiler/documentation/diagnostics/sending-closure-risks-data-race>
[122/173] Compiling GraphQLCodegen SwiftReservedKeywords.swift
/Users/admin/builder/spi-builder-workspace/Sources/GraphQLCodegen/Resolution/Documents/DocumentsResolver.swift:65:23: error: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure [#SendingClosureRisksDataRace]
63 | try await withThrowingTaskGroup(of: (String, ResolvedFragment).self) { group in
64 | for (name, fragment) in usedFragments {
65 | group.addTask {
| `- error: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure [#SendingClosureRisksDataRace]
66 | let selectionSet = try SelectionSetResolver(
67 | onType: try schema.fragmentType(fragment.ast),
| `- note: closure captures 'self' which is accessible to code in the current task
68 | selectionSet: fragment.ast.selectionSet,
69 | schema: schema,
/Users/admin/builder/spi-builder-workspace/Sources/GraphQLCodegen/Resolution/Documents/DocumentsResolver.swift:90:23: error: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure [#SendingClosureRisksDataRace]
88 | try await withThrowingTaskGroup(of: ResolvedDocument.self) { group in
89 | for document in documents.documents {
90 | group.addTask {
| `- error: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure [#SendingClosureRisksDataRace]
91 | var resolvedDefinitions: [ResolvedDefinition] = []
92 | for definition in document.definitions {
:
98 | operation: operation,
99 | resolvedSelectionSet: SelectionSetResolver(
100 | onType: .OBJECT(schema.operationType(operation)),
| `- note: closure captures 'self' which is accessible to code in the current task
101 | selectionSet: operation.ast.selectionSet,
102 | schema: schema,
[#SendingClosureRisksDataRace]: <https://docs.swift.org/compiler/documentation/diagnostics/sending-closure-risks-data-race>
[123/173] Compiling GraphQLCodegen SwiftStructBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/GraphQLCodegen/Resolution/Documents/DocumentsResolver.swift:65:23: error: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure [#SendingClosureRisksDataRace]
63 | try await withThrowingTaskGroup(of: (String, ResolvedFragment).self) { group in
64 | for (name, fragment) in usedFragments {
65 | group.addTask {
| `- error: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure [#SendingClosureRisksDataRace]
66 | let selectionSet = try SelectionSetResolver(
67 | onType: try schema.fragmentType(fragment.ast),
| `- note: closure captures 'self' which is accessible to code in the current task
68 | selectionSet: fragment.ast.selectionSet,
69 | schema: schema,
/Users/admin/builder/spi-builder-workspace/Sources/GraphQLCodegen/Resolution/Documents/DocumentsResolver.swift:90:23: error: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure [#SendingClosureRisksDataRace]
88 | try await withThrowingTaskGroup(of: ResolvedDocument.self) { group in
89 | for document in documents.documents {
90 | group.addTask {
| `- error: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure [#SendingClosureRisksDataRace]
91 | var resolvedDefinitions: [ResolvedDefinition] = []
92 | for definition in document.definitions {
:
98 | operation: operation,
99 | resolvedSelectionSet: SelectionSetResolver(
100 | onType: .OBJECT(schema.operationType(operation)),
| `- note: closure captures 'self' which is accessible to code in the current task
101 | selectionSet: operation.ast.selectionSet,
102 | schema: schema,
[#SendingClosureRisksDataRace]: <https://docs.swift.org/compiler/documentation/diagnostics/sending-closure-risks-data-race>
[124/173] Compiling GraphQLCodegen SwiftTypeBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/GraphQLCodegen/Resolution/Documents/DocumentsResolver.swift:65:23: error: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure [#SendingClosureRisksDataRace]
63 | try await withThrowingTaskGroup(of: (String, ResolvedFragment).self) { group in
64 | for (name, fragment) in usedFragments {
65 | group.addTask {
| `- error: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure [#SendingClosureRisksDataRace]
66 | let selectionSet = try SelectionSetResolver(
67 | onType: try schema.fragmentType(fragment.ast),
| `- note: closure captures 'self' which is accessible to code in the current task
68 | selectionSet: fragment.ast.selectionSet,
69 | schema: schema,
/Users/admin/builder/spi-builder-workspace/Sources/GraphQLCodegen/Resolution/Documents/DocumentsResolver.swift:90:23: error: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure [#SendingClosureRisksDataRace]
88 | try await withThrowingTaskGroup(of: ResolvedDocument.self) { group in
89 | for document in documents.documents {
90 | group.addTask {
| `- error: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure [#SendingClosureRisksDataRace]
91 | var resolvedDefinitions: [ResolvedDefinition] = []
92 | for definition in document.definitions {
:
98 | operation: operation,
99 | resolvedSelectionSet: SelectionSetResolver(
100 | onType: .OBJECT(schema.operationType(operation)),
| `- note: closure captures 'self' which is accessible to code in the current task
101 | selectionSet: operation.ast.selectionSet,
102 | schema: schema,
[#SendingClosureRisksDataRace]: <https://docs.swift.org/compiler/documentation/diagnostics/sending-closure-risks-data-race>
[125/173] Compiling GraphQLCodegen DocumentsResolver.swift
/Users/admin/builder/spi-builder-workspace/Sources/GraphQLCodegen/Resolution/Documents/DocumentsResolver.swift:65:23: error: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure [#SendingClosureRisksDataRace]
63 | try await withThrowingTaskGroup(of: (String, ResolvedFragment).self) { group in
64 | for (name, fragment) in usedFragments {
65 | group.addTask {
| `- error: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure [#SendingClosureRisksDataRace]
66 | let selectionSet = try SelectionSetResolver(
67 | onType: try schema.fragmentType(fragment.ast),
| `- note: closure captures 'self' which is accessible to code in the current task
68 | selectionSet: fragment.ast.selectionSet,
69 | schema: schema,
/Users/admin/builder/spi-builder-workspace/Sources/GraphQLCodegen/Resolution/Documents/DocumentsResolver.swift:90:23: error: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure [#SendingClosureRisksDataRace]
88 | try await withThrowingTaskGroup(of: ResolvedDocument.self) { group in
89 | for document in documents.documents {
90 | group.addTask {
| `- error: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure [#SendingClosureRisksDataRace]
91 | var resolvedDefinitions: [ResolvedDefinition] = []
92 | for definition in document.definitions {
:
98 | operation: operation,
99 | resolvedSelectionSet: SelectionSetResolver(
100 | onType: .OBJECT(schema.operationType(operation)),
| `- note: closure captures 'self' which is accessible to code in the current task
101 | selectionSet: operation.ast.selectionSet,
102 | schema: schema,
[#SendingClosureRisksDataRace]: <https://docs.swift.org/compiler/documentation/diagnostics/sending-closure-risks-data-race>
[126/173] Compiling GraphQLCodegen ResolvedDocuments.swift
/Users/admin/builder/spi-builder-workspace/Sources/GraphQLCodegen/Resolution/Documents/DocumentsResolver.swift:65:23: error: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure [#SendingClosureRisksDataRace]
63 | try await withThrowingTaskGroup(of: (String, ResolvedFragment).self) { group in
64 | for (name, fragment) in usedFragments {
65 | group.addTask {
| `- error: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure [#SendingClosureRisksDataRace]
66 | let selectionSet = try SelectionSetResolver(
67 | onType: try schema.fragmentType(fragment.ast),
| `- note: closure captures 'self' which is accessible to code in the current task
68 | selectionSet: fragment.ast.selectionSet,
69 | schema: schema,
/Users/admin/builder/spi-builder-workspace/Sources/GraphQLCodegen/Resolution/Documents/DocumentsResolver.swift:90:23: error: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure [#SendingClosureRisksDataRace]
88 | try await withThrowingTaskGroup(of: ResolvedDocument.self) { group in
89 | for document in documents.documents {
90 | group.addTask {
| `- error: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure [#SendingClosureRisksDataRace]
91 | var resolvedDefinitions: [ResolvedDefinition] = []
92 | for definition in document.definitions {
:
98 | operation: operation,
99 | resolvedSelectionSet: SelectionSetResolver(
100 | onType: .OBJECT(schema.operationType(operation)),
| `- note: closure captures 'self' which is accessible to code in the current task
101 | selectionSet: operation.ast.selectionSet,
102 | schema: schema,
[#SendingClosureRisksDataRace]: <https://docs.swift.org/compiler/documentation/diagnostics/sending-closure-risks-data-race>
[127/173] Compiling GraphQLCodegen FieldResolver.swift
/Users/admin/builder/spi-builder-workspace/Sources/GraphQLCodegen/Resolution/Documents/DocumentsResolver.swift:65:23: error: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure [#SendingClosureRisksDataRace]
63 | try await withThrowingTaskGroup(of: (String, ResolvedFragment).self) { group in
64 | for (name, fragment) in usedFragments {
65 | group.addTask {
| `- error: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure [#SendingClosureRisksDataRace]
66 | let selectionSet = try SelectionSetResolver(
67 | onType: try schema.fragmentType(fragment.ast),
| `- note: closure captures 'self' which is accessible to code in the current task
68 | selectionSet: fragment.ast.selectionSet,
69 | schema: schema,
/Users/admin/builder/spi-builder-workspace/Sources/GraphQLCodegen/Resolution/Documents/DocumentsResolver.swift:90:23: error: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure [#SendingClosureRisksDataRace]
88 | try await withThrowingTaskGroup(of: ResolvedDocument.self) { group in
89 | for document in documents.documents {
90 | group.addTask {
| `- error: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure [#SendingClosureRisksDataRace]
91 | var resolvedDefinitions: [ResolvedDefinition] = []
92 | for definition in document.definitions {
:
98 | operation: operation,
99 | resolvedSelectionSet: SelectionSetResolver(
100 | onType: .OBJECT(schema.operationType(operation)),
| `- note: closure captures 'self' which is accessible to code in the current task
101 | selectionSet: operation.ast.selectionSet,
102 | schema: schema,
[#SendingClosureRisksDataRace]: <https://docs.swift.org/compiler/documentation/diagnostics/sending-closure-risks-data-race>
[128/173] Compiling GraphQLCodegen GraphQLNullableWriter.swift
[129/173] Compiling GraphQLCodegen GraphQLResponseWriter.swift
[130/173] Compiling GraphQLCodegen DefaultEncodersWriter.swift
[131/173] Compiling GraphQLCodegen EncodersWriter.swift
[132/173] Compiling GraphQLCodegen GraphQLOperationWriter.swift
[133/173] Compiling GraphQLCodegen GraphQLRequestWriter.swift
[134/173] Compiling GraphQLCodegen URLSessionWriter.swift
[135/173] Compiling GraphQLCodegen OperationTextResolver.swift
[136/173] Compiling GraphQLCodegen DocumentScan.swift
[137/173] Compiling GraphQLCodegen DocumentScanner.swift
[138/173] Compiling GraphQLCodegen IntrospectionDocument.swift
[139/173] Compiling GraphQLCodegen IntrospectionQuery.swift
[140/173] Compiling GraphQLCodegen IntrospectionRunner.swift
[141/173] Compiling GraphQLCodegen __Schema.swift
[142/173] Compiling GraphQLCodegen JSONValueWriter.swift
[143/173] Compiling GraphQLCodegen FragmentBuilder.swift
[144/173] Compiling GraphQLCodegen OperationBuilder.swift
[145/173] Compiling GraphQLCodegen SwiftStructBuilder+SelectionSet.swift
[146/173] Compiling GraphQLCodegen DocumentsWriter.swift
[147/173] Compiling GraphQLCodegen FileOutput.swift
[148/173] Compiling GraphQLCodegen PersistedOperationManifest.swift
[149/173] Compiling GraphQLCodegen Schema.swift
[150/173] Compiling GraphQLCodegen SchemaLoader.swift
[151/173] Compiling GraphQLCodegen APIWriter.swift
[152/173] Compiling GraphQLCodegen AnyEncodableWriter.swift
[153/173] Compiling GraphQLCodegen GraphQLEnumWriter.swift
[154/173] Compiling GraphQLCodegen GraphQLErrorWriter.swift
[155/173] Compiling GraphQLCodegen GraphQLHasDefaultWriter.swift
[156/173] Compiling GraphQLCodegen ResolvedField.swift
[157/173] Compiling GraphQLCodegen ResolvedFieldType.swift
[158/173] Compiling GraphQLCodegen ResolvedSelectionSet.swift
[159/173] Compiling GraphQLCodegen SelectionSetResolver.swift
[160/173] Compiling GraphQLCodegen DocumentValidator.swift
[161/173] Compiling GraphQLCodegen DocumentsValidator.swift
[162/173] Compiling GraphQLCodegen resource_bundle_accessor.swift
[163/173] Compiling GraphQLCodegen Configuration.swift
[164/173] Compiling GraphQLCodegen Deprecation.swift
[165/173] Compiling GraphQLCodegen String.swift
[166/173] Compiling GraphQLCodegen DocumentAST.swift
[167/173] Compiling GraphQLCodegen DocumentASTParser.swift
[168/173] Compiling GraphQLCodegen GraphQLJS.swift
[169/173] Compiling GraphQLCodegen Documents.swift
[170/173] Compiling GraphQLCodegen DocumentsLoader.swift
BUILD FAILURE 6.3 macosSpm