Build Information
Successful build of Graphiti, reference main (cedafb
), with Swift 6.1 for macOS (SPM) on 8 Jun 2025 06:03:46 UTC.
Swift 6 data race errors: 2
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Build Log
Computed https://github.com/apple/swift-collections at 1.2.0 (1.28s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (0.67s)
Fetching https://github.com/apple/swift-atomics.git from cache
Fetching https://github.com/apple/swift-system.git from cache
Fetched https://github.com/apple/swift-system.git from cache (0.54s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.57s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.06s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.03s)
Creating working copy for https://github.com/GraphQLSwift/Graphiti.git
Working copy of https://github.com/GraphQLSwift/Graphiti.git resolved at main (cedafbc)
Creating working copy for https://github.com/GraphQLSwift/GraphQL.git
Working copy of https://github.com/GraphQLSwift/GraphQL.git resolved at 3.0.2
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.2.0
warning: '.resolve-product-dependencies': dependency 'graphiti' is not used by any target
Found 1 product dependencies
- GraphQL
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/GraphQLSwift/Graphiti.git
https://github.com/GraphQLSwift/Graphiti.git
{
"dependencies" : [
{
"identity" : "graphql",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/GraphQLSwift/GraphQL.git"
}
],
"manifest_display_name" : "Graphiti",
"name" : "Graphiti",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Graphiti",
"targets" : [
"Graphiti"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "GraphitiTests",
"module_type" : "SwiftTarget",
"name" : "GraphitiTests",
"path" : "Tests/GraphitiTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/GraphitiTests/FederationTests/GraphQL",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"ConnectionTests.swift",
"DefaultValueTests.swift",
"DirectiveTests/DirectiveTests.swift",
"FederationTests/FederationOnlySchemaTests.swift",
"FederationTests/FederationTests.swift",
"HelloWorldTests/HelloWorldAsyncTests.swift",
"HelloWorldTests/HelloWorldTests.swift",
"PartialSchemaTests.swift",
"ProductAPI/ProductAPI.swift",
"ProductAPI/ProductContext.swift",
"ProductAPI/ProductEntities.swift",
"ProductAPI/ProductResolver.swift",
"ProductAPI/ProductSchema.swift",
"ScalarTests.swift",
"SchemaBuilderTests.swift",
"SchemaTests.swift",
"StarWarsAPI/StarWarsAPI.swift",
"StarWarsAPI/StarWarsContext.swift",
"StarWarsAPI/StarWarsEntities.swift",
"StarWarsAPI/StarWarsResolver.swift",
"StarWarsTests/StarWarsIntrospectionTests.swift",
"StarWarsTests/StarWarsQueryTests.swift",
"UnionTests.swift",
"ValidationRulesTests.swift"
],
"target_dependencies" : [
"Graphiti"
],
"type" : "test"
},
{
"c99name" : "Graphiti",
"module_type" : "SwiftTarget",
"name" : "Graphiti",
"path" : "Sources/Graphiti",
"product_dependencies" : [
"GraphQL"
],
"product_memberships" : [
"Graphiti"
],
"sources" : [
"API/API.swift",
"Argument/Argument.swift",
"Argument/ArgumentComponent.swift",
"Argument/ArgumentComponentBuilder.swift",
"Argument/NoArguments.swift",
"Coder/Coders.swift",
"Component/Component.swift",
"Component/ComponentBuilder.swift",
"Component/TypeComponent.swift",
"Component/TypeComponentBuilder.swift",
"Connection/Connection.swift",
"Connection/ConnectionType.swift",
"Connection/Edge.swift",
"Connection/PageInfo.swift",
"Connection/PagniationArguments/BackwardPaginationArguments.swift",
"Connection/PagniationArguments/ForwardPaginationArguments.swift",
"Connection/PagniationArguments/PaginationArguments.swift",
"Context/NoContext.swift",
"Definition/AnyType.swift",
"Definition/Reflection.swift",
"Definition/TypeProvider.swift",
"Definition/Wrappers.swift",
"Enum/Enum.swift",
"Federation/Any.swift",
"Federation/Entity.swift",
"Federation/Key/Key.swift",
"Federation/Key/KeyComponent.swift",
"Federation/Key/Type+Key.swift",
"Federation/Queries.swift",
"Federation/Service.swift",
"Field/Field/Field.swift",
"Field/Field/FieldComponent.swift",
"Field/Field/FieldComponentBuilder.swift",
"Field/Resolve/AsyncResolve.swift",
"Field/Resolve/ConcurrentResolve.swift",
"Field/Resolve/SimpleAsyncResolve.swift",
"Field/Resolve/SyncResolve.swift",
"Input/Input.swift",
"InputField/InputField.swift",
"InputField/InputFieldComponent.swift",
"InputField/InputFieldComponentBuilder.swift",
"Interface/Interface.swift",
"Mutation/Mutation.swift",
"Query/Query.swift",
"Scalar/Scalar.swift",
"Schema/Schema.swift",
"Schema/SchemaTypeProvider.swift",
"SchemaBuilders/PartialSchema.swift",
"SchemaBuilders/SchemaBuilder.swift",
"Subscription/SubscribeField.swift",
"Subscription/SubscribeResolve.swift",
"Subscription/Subscription.swift",
"Type/Type.swift",
"Union/Union.swift",
"Validation/NoIntrospectionRule.swift",
"Value/Value.swift",
"Value/ValueBuilder.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/24] Write sources
[8/24] Copying PrivacyInfo.xcprivacy
[9/24] Write sources
[13/24] Compiling CNIOWindows WSAStartup.c
[14/24] Compiling CNIOWindows shim.c
[15/24] Write sources
[16/24] Compiling CNIOWASI CNIOWASI.c
[17/24] Compiling CNIOLinux shim.c
[17/24] Compiling CNIOLinux liburing_shims.c
[19/24] Write swift-version-2F0A5646E1D333AE.txt
[20/24] Compiling _AtomicsShims.c
[21/67] Compiling CNIODarwin shim.c
[23/67] Compiling Atomics ManagedAtomic.swift
[24/67] Compiling Atomics ManagedAtomicLazyReference.swift
[25/67] Compiling Atomics AtomicStorage.swift
[26/67] Compiling Atomics AtomicValue.swift
[27/67] Compiling Atomics UnsafeAtomic.swift
[28/67] Compiling Atomics UnsafeAtomicLazyReference.swift
[29/67] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[30/68] Emitting module _NIOBase64
[31/68] Compiling _NIOBase64 Base64.swift
[32/68] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[33/68] Compiling Atomics Primitives.shims.swift
[34/68] Compiling Atomics AtomicInteger.swift
[41/68] Compiling Atomics AtomicMemoryOrderings.swift
[42/68] Compiling Atomics DoubleWord.swift
[45/70] Compiling Atomics PointerConformances.swift
[46/70] Compiling Atomics Primitives.native.swift
[47/70] Compiling Atomics OptionalRawRepresentable.swift
[48/70] Compiling Atomics RawRepresentable.swift
[49/70] Emitting module InternalCollectionsUtilities
[50/70] Compiling Atomics AtomicBool.swift
[51/70] Compiling Atomics IntegerConformances.swift
[56/70] Compiling Atomics AtomicOptionalWrappable.swift
[57/70] Compiling Atomics AtomicReference.swift
[60/70] Compiling Atomics IntegerOperations.swift
[61/70] Compiling Atomics Unmanaged extensions.swift
[62/142] Compiling _NIODataStructures PriorityQueue.swift
[63/142] Compiling _NIODataStructures _TinyArray.swift
[64/142] Compiling DequeModule _DequeBufferHeader.swift
[65/143] Compiling DequeModule _DequeSlot.swift
[66/143] Compiling DequeModule _DequeBuffer.swift
[67/143] Emitting module Atomics
[68/143] Compiling OrderedCollections _HashTable+Bucket.swift
[69/143] Compiling OrderedCollections _HashTable+BucketIterator.swift
[70/143] Compiling DequeModule _UnsafeWrappedBuffer.swift
[71/143] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[72/143] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[73/143] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[74/143] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[75/143] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[76/143] Compiling OrderedCollections OrderedSet+Sendable.swift
[77/143] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[78/143] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[79/143] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[80/143] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[81/143] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[82/143] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[83/149] Emitting module _NIODataStructures
[84/149] Compiling _NIODataStructures Heap.swift
[85/149] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[86/149] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[87/149] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[88/149] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[89/149] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[90/149] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[91/149] Compiling OrderedCollections OrderedSet+Codable.swift
[92/149] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[93/149] Compiling OrderedCollections OrderedSet+Descriptions.swift
[94/149] Compiling OrderedCollections OrderedSet+Diffing.swift
[95/149] Compiling OrderedCollections OrderedSet+Equatable.swift
[96/149] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[97/149] Compiling OrderedCollections OrderedSet+Hashable.swift
[98/149] Compiling OrderedCollections OrderedSet+Initializers.swift
[99/149] Compiling OrderedCollections OrderedSet+Insertions.swift
[100/149] Compiling OrderedCollections OrderedSet+Invariants.swift
[101/149] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[102/149] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[103/149] Compiling OrderedCollections _Hashtable+Header.swift
[104/149] Compiling OrderedCollections OrderedDictionary+Codable.swift
[105/149] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[106/149] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[107/149] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[108/149] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[109/149] Compiling OrderedCollections OrderedDictionary+Elements.swift
[110/149] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[111/149] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[112/149] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[113/149] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[114/149] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[115/149] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[116/149] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[117/149] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[118/149] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[119/149] Compiling OrderedCollections OrderedDictionary+Values.swift
[120/149] Compiling OrderedCollections OrderedDictionary.swift
[127/149] Compiling OrderedCollections _HashTable.swift
[129/149] Compiling OrderedCollections _HashTable+Testing.swift
[130/149] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[131/149] Compiling OrderedCollections _HashTable+Constants.swift
[132/149] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[133/149] Emitting module DequeModule
[133/149] Compiling c-nioatomics.c
[142/149] Compiling OrderedCollections OrderedSet+SubSequence.swift
[143/149] Compiling OrderedCollections OrderedSet+Testing.swift
[144/149] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[145/149] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[146/149] Compiling OrderedCollections OrderedSet.swift
[147/149] Compiling OrderedCollections _UnsafeBitset.swift
[148/149] Emitting module OrderedCollections
[148/149] Compiling c-atomics.c
[150/155] Compiling NIOConcurrencyHelpers NIOLock.swift
[151/155] Emitting module NIOConcurrencyHelpers
[152/155] Compiling NIOConcurrencyHelpers atomics.swift
[153/155] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[154/155] Compiling NIOConcurrencyHelpers lock.swift
[155/155] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[156/217] Compiling NIOCore Linux.swift
[157/217] Compiling NIOCore MarkedCircularBuffer.swift
[158/217] Compiling NIOCore MulticastChannel.swift
[159/217] Compiling NIOCore NIOAny.swift
[160/217] Compiling NIOCore NIOCloseOnErrorHandler.swift
[161/217] Compiling NIOCore NIOLoopBound.swift
[162/223] Compiling NIOCore SocketOptionProvider.swift
[163/223] Compiling NIOCore SystemCallHelpers.swift
[164/223] Compiling NIOCore TimeAmount+Duration.swift
[165/223] Compiling NIOCore TypeAssistedChannelHandler.swift
[166/223] Compiling NIOCore UniversalBootstrapSupport.swift
[167/223] Compiling NIOCore Utilities.swift
[168/223] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[169/223] Compiling NIOCore EventLoopFuture+Deprecated.swift
[170/223] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[171/223] Compiling NIOCore EventLoopFuture.swift
[172/223] Compiling NIOCore FileDescriptor.swift
[173/223] Compiling NIOCore FileHandle.swift
[174/223] Compiling NIOCore FileRegion.swift
[175/223] Compiling NIOCore AddressedEnvelope.swift
[176/223] Compiling NIOCore AsyncAwaitSupport.swift
[177/223] Compiling NIOCore AsyncChannel.swift
[178/223] Compiling NIOCore AsyncChannelHandler.swift
[179/223] Compiling NIOCore AsyncChannelInboundStream.swift
[180/223] Compiling NIOCore AsyncChannelOutboundWriter.swift
[181/223] Compiling NIOCore NIOAsyncSequenceProducer.swift
[182/223] Compiling NIOCore GlobalSingletons.swift
[183/223] Compiling NIOCore IO.swift
[184/223] Compiling NIOCore IOData.swift
[185/223] Compiling NIOCore IPProtocol.swift
[186/223] Compiling NIOCore IntegerBitPacking.swift
[187/223] Compiling NIOCore IntegerTypes.swift
[188/223] Compiling NIOCore Interfaces.swift
[189/223] Compiling NIOCore NIOScheduledCallback.swift
[190/223] Compiling NIOCore NIOSendable.swift
[191/223] Compiling NIOCore PointerHelpers.swift
[192/223] Compiling NIOCore RecvByteBufferAllocator.swift
[193/223] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[194/223] Compiling NIOCore SocketAddresses.swift
[195/223] Compiling NIOCore Channel.swift
[196/223] Compiling NIOCore ChannelHandler.swift
[197/223] Compiling NIOCore ChannelHandlers.swift
[198/223] Compiling NIOCore ChannelInvoker.swift
[199/223] Compiling NIOCore ChannelOption.swift
[200/223] Compiling NIOCore ChannelPipeline.swift
[201/223] Compiling NIOCore CircularBuffer.swift
[202/223] Compiling NIOCore Codec.swift
[203/223] Compiling NIOCore ConvenienceOptionSupport.swift
[204/223] Compiling NIOCore DeadChannel.swift
[205/223] Compiling NIOCore DispatchQueue+WithFuture.swift
[206/223] Compiling NIOCore EventLoop+Deprecated.swift
[207/223] Compiling NIOCore EventLoop+SerialExecutor.swift
[208/223] Compiling NIOCore EventLoop.swift
[209/223] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[210/223] Compiling NIOCore NIOAsyncWriter.swift
[211/223] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[212/223] Compiling NIOCore BSDSocketAPI.swift
[213/223] Compiling NIOCore ByteBuffer-aux.swift
[214/223] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[215/223] Compiling NIOCore ByteBuffer-conversions.swift
[216/223] Compiling NIOCore ByteBuffer-core.swift
[217/223] Compiling NIOCore ByteBuffer-hex.swift
[218/223] Compiling NIOCore ByteBuffer-int.swift
[219/223] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[220/223] Compiling NIOCore ByteBuffer-multi-int.swift
[221/223] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[222/223] Compiling NIOCore ByteBuffer-views.swift
[223/223] Emitting module NIOCore
[224/277] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[225/277] Compiling NIOEmbedded AsyncTestingChannel.swift
[226/277] Emitting module NIOEmbedded
[227/277] Compiling NIOEmbedded Embedded.swift
[228/277] Emitting module NIOPosix
[229/282] Compiling NIOPosix SelectorKqueue.swift
[230/282] Compiling NIOPosix SelectorUring.swift
[231/282] Compiling NIOPosix ServerSocket.swift
[232/282] Compiling NIOPosix Socket.swift
[233/282] Compiling NIOPosix SocketChannel.swift
[234/282] Compiling NIOPosix PendingWritesManager.swift
[235/282] Compiling NIOPosix PipeChannel.swift
[236/282] Compiling NIOPosix PipePair.swift
[237/282] Compiling NIOPosix PointerHelpers.swift
[238/282] Compiling NIOPosix Pool.swift
[239/282] Compiling NIOPosix GetaddrinfoResolver.swift
[240/282] Compiling NIOPosix HappyEyeballs.swift
[241/282] Compiling NIOPosix IO.swift
[242/282] Compiling NIOPosix IntegerBitPacking.swift
[243/282] Compiling NIOPosix IntegerTypes.swift
[244/282] Compiling NIOPosix Linux.swift
[245/282] Compiling NIOPosix BSDSocketAPICommon.swift
[246/282] Compiling NIOPosix BSDSocketAPIPosix.swift
[247/282] Compiling NIOPosix BSDSocketAPIWindows.swift
[248/282] Compiling NIOPosix BaseSocket.swift
[249/282] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[250/282] Compiling NIOPosix BaseSocketChannel.swift
[251/282] Compiling NIOPosix PooledRecvBufferAllocator.swift
[252/282] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[253/282] Compiling NIOPosix PosixSingletons.swift
[254/282] Compiling NIOPosix RawSocketBootstrap.swift
[255/282] Compiling NIOPosix Resolver.swift
[256/282] Compiling NIOPosix BaseStreamSocketChannel.swift
[257/282] Compiling NIOPosix Bootstrap.swift
[258/282] Compiling NIOPosix ControlMessage.swift
[259/282] Compiling NIOPosix DatagramVectorReadManager.swift
[260/282] Compiling NIOPosix Errors+Any.swift
[261/282] Compiling NIOPosix FileDescriptor.swift
[262/282] Compiling NIOPosix SocketProtocols.swift
[263/282] Compiling NIOPosix System.swift
[264/282] Compiling NIOPosix Thread.swift
[265/282] Compiling NIOPosix ThreadPosix.swift
[266/282] Compiling NIOPosix ThreadWindows.swift
[267/282] Compiling NIOPosix Selectable.swift
[268/282] Compiling NIOPosix SelectableChannel.swift
[269/282] Compiling NIOPosix SelectableEventLoop.swift
[270/282] Compiling NIOPosix SelectorEpoll.swift
[271/282] Compiling NIOPosix SelectorGeneric.swift
[272/282] Compiling NIOPosix LinuxCPUSet.swift
[273/282] Compiling NIOPosix LinuxUring.swift
[274/282] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[275/282] Compiling NIOPosix NIOThreadPool.swift
[276/282] Compiling NIOPosix NonBlockingFileIO.swift
[277/282] Compiling NIOPosix PendingDatagramWritesManager.swift
[278/282] Compiling NIOPosix UnsafeTransfer.swift
[279/282] Compiling NIOPosix Utilities.swift
[280/282] Compiling NIOPosix VsockAddress.swift
[281/282] Compiling NIOPosix VsockChannelEvents.swift
[282/282] Compiling NIOPosix resource_bundle_accessor.swift
[283/284] Compiling NIO Exports.swift
[284/284] Emitting module NIO
[285/374] Compiling GraphQL UniqueArgumentDefinitionNamesRule.swift
[286/374] Compiling GraphQL UniqueArgumentNamesRule.swift
[287/374] Compiling GraphQL UniqueDirectiveNamesRule.swift
[288/374] Compiling GraphQL UniqueDirectivesPerLocationRule.swift
[289/374] Compiling GraphQL UniqueEnumValueNamesRule.swift
[290/374] Compiling GraphQL UniqueFieldDefinitionNamesRule.swift
[291/374] Compiling GraphQL UniqueFragmentNamesRule.swift
[292/374] Compiling GraphQL UniqueInputFieldNamesRule.swift
[293/374] Compiling GraphQL UniqueOperationNamesRule.swift
[294/383] Compiling GraphQL LoneSchemaDefinitionRule.swift
[295/383] Compiling GraphQL NoFragmentCyclesRule.swift
[296/383] Compiling GraphQL NoUndefinedVariablesRule.swift
[297/383] Compiling GraphQL NoUnusedFragmentsRule.swift
[298/383] Compiling GraphQL NoUnusedVariablesRule.swift
[299/383] Compiling GraphQL PossibleFragmentSpreadsRule.swift
[300/383] Compiling GraphQL PossibleTypeExtensionsRule.swift
[301/383] Compiling GraphQL ProvidedRequiredArgumentsOnDirectivesRule.swift
[302/383] Compiling GraphQL ProvidedRequiredArgumentsRule.swift
[303/383] Compiling GraphQL ScalarLeafsRule.swift
[304/383] Compiling GraphQL EventStream.swift
[305/383] Compiling GraphQL Subscribe.swift
[306/383] Compiling GraphQL DidYouMean.swift
[307/383] Compiling GraphQL Find.swift
[308/383] Compiling GraphQL FormatList.swift
[309/383] Compiling GraphQL IsNullish.swift
[310/383] Compiling GraphQL KeyMap.swift
[311/383] Compiling GraphQL Mirror.swift
[312/383] Compiling GraphQL SuggestionList.swift
[313/383] Compiling GraphQL Definition.swift
[314/383] Compiling GraphQL NoSchemaIntrospectionCustomRule.swift
[315/383] Compiling GraphQL ExecutableDefinitionsRule.swift
[316/383] Compiling GraphQL FieldsOnCorrectTypeRule.swift
[317/383] Compiling GraphQL FragmentsOnCompositeTypesRule.swift
[318/383] Compiling GraphQL KnownArgumentNamesOnDirectivesRule.swift
[319/383] Compiling GraphQL KnownArgumentNamesRule.swift
[320/383] Compiling GraphQL KnownDirectivesRule.swift
[321/383] Compiling GraphQL KnownFragmentNamesRule.swift
[322/383] Compiling GraphQL KnownTypeNamesRule.swift
[323/383] Compiling GraphQL LoneAnonymousOperationRule.swift
[324/383] Emitting module GraphQL
[325/383] Compiling GraphQL GraphQLError.swift
[326/383] Compiling GraphQL LocatedError.swift
[327/383] Compiling GraphQL SyntaxError.swift
[328/383] Compiling GraphQL Execute.swift
[329/383] Compiling GraphQL Values.swift
[330/383] Compiling GraphQL Codable+Extensions.swift
[331/383] Compiling GraphQL GraphQL.swift
[332/383] Compiling GraphQL GraphQLRequest.swift
[333/383] Compiling GraphQL DispatchQueueInstrumentationWrapper.swift
[334/383] Compiling GraphQL Instrumentation.swift
[335/383] Compiling GraphQL UniqueOperationTypesRule.swift
[336/383] Compiling GraphQL UniqueTypeNamesRule.swift
[337/383] Compiling GraphQL UniqueVariableNamesRule.swift
[338/383] Compiling GraphQL ValuesOfCorrectTypeRule.swift
[339/383] Compiling GraphQL VariablesAreInputTypesRule.swift
[340/383] Compiling GraphQL VariablesInAllowedPositionRule.swift
[341/383] Compiling GraphQL SpecifiedRules.swift
[342/383] Compiling GraphQL Validate.swift
[343/383] Compiling GraphQL ValidationContext.swift
[344/383] Compiling GraphQL IsValidValue.swift
[345/383] Compiling GraphQL Keyable.swift
[346/383] Compiling GraphQL NIO+Extensions.swift
[347/383] Compiling GraphQL PrintSchema.swift
[348/383] Compiling GraphQL TypeComparators.swift
[349/383] Compiling GraphQL TypeFromAST.swift
[350/383] Compiling GraphQL TypeInfo.swift
[351/383] Compiling GraphQL ValueFromAST.swift
[352/383] Compiling GraphQL ValueFromASTUntyped.swift
[353/383] Compiling GraphQL NoDeprecatedCustomRule.swift
[354/383] Compiling GraphQL Directives.swift
[355/383] Compiling GraphQL Introspection.swift
[356/383] Compiling GraphQL Scalars.swift
[357/383] Compiling GraphQL Schema.swift
[358/383] Compiling GraphQL Validation.swift
[359/383] Compiling GraphQL ASTFromValue.swift
[360/383] Compiling GraphQL AssertValidName.swift
[361/383] Compiling GraphQL BuildASTSchema.swift
[362/383] Compiling GraphQL ConcatAST.swift
[363/383] Compiling GraphQL ExtendSchema.swift
[364/383] Compiling GraphQL AST.swift
[365/383] Compiling GraphQL BlockString.swift
[366/383] Compiling GraphQL CharacterClasses.swift
[367/383] Compiling GraphQL Kinds.swift
[368/383] Compiling GraphQL Lexer.swift
[369/383] Compiling GraphQL Location.swift
[370/383] Compiling GraphQL Parser.swift
[371/383] Compiling GraphQL Predicates.swift
[372/383] Compiling GraphQL PrintString.swift
[373/383] Compiling GraphQL Printer.swift
[374/383] Compiling GraphQL Source.swift
[375/383] Compiling GraphQL Visitor.swift
[376/383] Compiling GraphQL AnyCoder.swift
[377/383] Compiling GraphQL AnySerialization.swift
[378/383] Compiling GraphQL GraphQLJSONEncoder.swift
[379/383] Compiling GraphQL Map.swift
[380/383] Compiling GraphQL MapCoder.swift
[381/383] Compiling GraphQL MapSerialization.swift
[382/383] Compiling GraphQL Number.swift
[383/383] Compiling GraphQL PersistedQueries.swift
[384/436] Emitting module Graphiti
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Federation/Any.swift:3:5: warning: let 'anyType' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import GraphQL
2 |
3 | let anyType = try! GraphQLScalarType(
| `- warning: let 'anyType' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
4 | name: "_Any",
5 | description: "Scalar representing the JSON form of any type. A __typename field is required.",
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GraphQL/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?
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Federation/Any.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
1 | import GraphQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
2 |
3 | let anyType = try! GraphQLScalarType(
| |- note: add '@MainActor' to make let 'anyType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
4 | name: "_Any",
5 | description: "Scalar representing the JSON form of any type. A __typename field is required.",
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Federation/Service.swift:7:5: warning: let 'serviceType' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
5 | }
6 |
7 | let serviceType = try! GraphQLObjectType(
| `- warning: let 'serviceType' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
8 | name: "_Service",
9 | description: "Federation service object",
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GraphQL/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?
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Federation/Service.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
1 | import GraphQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
2 |
3 | struct Service: Codable {
:
5 | }
6 |
7 | let serviceType = try! GraphQLObjectType(
| |- note: add '@MainActor' to make let 'serviceType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | name: "_Service",
9 | description: "Federation service object",
[385/441] Compiling Graphiti API.swift
[386/441] Compiling Graphiti Argument.swift
[387/441] Compiling Graphiti ArgumentComponent.swift
[388/441] Compiling Graphiti ArgumentComponentBuilder.swift
[389/441] Compiling Graphiti NoArguments.swift
[390/441] Compiling Graphiti Coders.swift
[391/441] Compiling Graphiti SyncResolve.swift
[392/441] Compiling Graphiti Input.swift
[393/441] Compiling Graphiti InputField.swift
[394/441] Compiling Graphiti InputFieldComponent.swift
[395/441] Compiling Graphiti InputFieldComponentBuilder.swift
[396/441] Compiling Graphiti Interface.swift
[397/441] Compiling Graphiti Edge.swift
[398/441] Compiling Graphiti PageInfo.swift
[399/441] Compiling Graphiti BackwardPaginationArguments.swift
[400/441] Compiling Graphiti ForwardPaginationArguments.swift
[401/441] Compiling Graphiti PaginationArguments.swift
[402/441] Compiling Graphiti NoContext.swift
[403/441] Compiling Graphiti Field.swift
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Field/Field/Field.swift:214:31: warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, ResolveType>' (aka '(ObjectType) -> (Context, Arguments) async throws -> ResolveType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
212 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
213 | promise.completeWithTask {
214 | try await concurrentResolve(type)(context, arguments)
| |- warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, ResolveType>' (aka '(ObjectType) -> (Context, Arguments) async throws -> ResolveType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
215 | }
216 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Field/Field/Field.swift:214:49: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
2 | import NIO
3 |
4 | public class Field<ObjectType, Context, FieldType, Arguments: Decodable>: FieldComponent<
| `- note: consider making generic parameter 'ObjectType' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Context
:
212 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
213 | promise.completeWithTask {
214 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
215 | }
216 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Field/Field/Field.swift:214:55: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
2 | import NIO
3 |
4 | public class Field<ObjectType, Context, FieldType, Arguments: Decodable>: FieldComponent<
| `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Context
:
212 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
213 | promise.completeWithTask {
214 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
215 | }
216 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Field/Field/Field.swift:214:64: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
2 | import NIO
3 |
4 | public class Field<ObjectType, Context, FieldType, Arguments: Decodable>: FieldComponent<
| `- note: consider making generic parameter 'Arguments' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Context
:
212 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
213 | promise.completeWithTask {
214 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
215 | }
216 | return promise.futureResult
[404/441] Compiling Graphiti FieldComponent.swift
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Field/Field/Field.swift:214:31: warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, ResolveType>' (aka '(ObjectType) -> (Context, Arguments) async throws -> ResolveType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
212 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
213 | promise.completeWithTask {
214 | try await concurrentResolve(type)(context, arguments)
| |- warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, ResolveType>' (aka '(ObjectType) -> (Context, Arguments) async throws -> ResolveType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
215 | }
216 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Field/Field/Field.swift:214:49: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
2 | import NIO
3 |
4 | public class Field<ObjectType, Context, FieldType, Arguments: Decodable>: FieldComponent<
| `- note: consider making generic parameter 'ObjectType' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Context
:
212 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
213 | promise.completeWithTask {
214 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
215 | }
216 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Field/Field/Field.swift:214:55: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
2 | import NIO
3 |
4 | public class Field<ObjectType, Context, FieldType, Arguments: Decodable>: FieldComponent<
| `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Context
:
212 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
213 | promise.completeWithTask {
214 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
215 | }
216 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Field/Field/Field.swift:214:64: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
2 | import NIO
3 |
4 | public class Field<ObjectType, Context, FieldType, Arguments: Decodable>: FieldComponent<
| `- note: consider making generic parameter 'Arguments' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Context
:
212 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
213 | promise.completeWithTask {
214 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
215 | }
216 | return promise.futureResult
[405/441] Compiling Graphiti FieldComponentBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Field/Field/Field.swift:214:31: warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, ResolveType>' (aka '(ObjectType) -> (Context, Arguments) async throws -> ResolveType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
212 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
213 | promise.completeWithTask {
214 | try await concurrentResolve(type)(context, arguments)
| |- warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, ResolveType>' (aka '(ObjectType) -> (Context, Arguments) async throws -> ResolveType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
215 | }
216 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Field/Field/Field.swift:214:49: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
2 | import NIO
3 |
4 | public class Field<ObjectType, Context, FieldType, Arguments: Decodable>: FieldComponent<
| `- note: consider making generic parameter 'ObjectType' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Context
:
212 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
213 | promise.completeWithTask {
214 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
215 | }
216 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Field/Field/Field.swift:214:55: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
2 | import NIO
3 |
4 | public class Field<ObjectType, Context, FieldType, Arguments: Decodable>: FieldComponent<
| `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Context
:
212 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
213 | promise.completeWithTask {
214 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
215 | }
216 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Field/Field/Field.swift:214:64: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
2 | import NIO
3 |
4 | public class Field<ObjectType, Context, FieldType, Arguments: Decodable>: FieldComponent<
| `- note: consider making generic parameter 'Arguments' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Context
:
212 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
213 | promise.completeWithTask {
214 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
215 | }
216 | return promise.futureResult
[406/441] Compiling Graphiti AsyncResolve.swift
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Field/Field/Field.swift:214:31: warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, ResolveType>' (aka '(ObjectType) -> (Context, Arguments) async throws -> ResolveType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
212 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
213 | promise.completeWithTask {
214 | try await concurrentResolve(type)(context, arguments)
| |- warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, ResolveType>' (aka '(ObjectType) -> (Context, Arguments) async throws -> ResolveType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
215 | }
216 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Field/Field/Field.swift:214:49: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
2 | import NIO
3 |
4 | public class Field<ObjectType, Context, FieldType, Arguments: Decodable>: FieldComponent<
| `- note: consider making generic parameter 'ObjectType' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Context
:
212 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
213 | promise.completeWithTask {
214 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
215 | }
216 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Field/Field/Field.swift:214:55: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
2 | import NIO
3 |
4 | public class Field<ObjectType, Context, FieldType, Arguments: Decodable>: FieldComponent<
| `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Context
:
212 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
213 | promise.completeWithTask {
214 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
215 | }
216 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Field/Field/Field.swift:214:64: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
2 | import NIO
3 |
4 | public class Field<ObjectType, Context, FieldType, Arguments: Decodable>: FieldComponent<
| `- note: consider making generic parameter 'Arguments' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Context
:
212 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
213 | promise.completeWithTask {
214 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
215 | }
216 | return promise.futureResult
[407/441] Compiling Graphiti ConcurrentResolve.swift
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Field/Field/Field.swift:214:31: warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, ResolveType>' (aka '(ObjectType) -> (Context, Arguments) async throws -> ResolveType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
212 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
213 | promise.completeWithTask {
214 | try await concurrentResolve(type)(context, arguments)
| |- warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, ResolveType>' (aka '(ObjectType) -> (Context, Arguments) async throws -> ResolveType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
215 | }
216 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Field/Field/Field.swift:214:49: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
2 | import NIO
3 |
4 | public class Field<ObjectType, Context, FieldType, Arguments: Decodable>: FieldComponent<
| `- note: consider making generic parameter 'ObjectType' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Context
:
212 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
213 | promise.completeWithTask {
214 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
215 | }
216 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Field/Field/Field.swift:214:55: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
2 | import NIO
3 |
4 | public class Field<ObjectType, Context, FieldType, Arguments: Decodable>: FieldComponent<
| `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Context
:
212 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
213 | promise.completeWithTask {
214 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
215 | }
216 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Field/Field/Field.swift:214:64: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
2 | import NIO
3 |
4 | public class Field<ObjectType, Context, FieldType, Arguments: Decodable>: FieldComponent<
| `- note: consider making generic parameter 'Arguments' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Context
:
212 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
213 | promise.completeWithTask {
214 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
215 | }
216 | return promise.futureResult
[408/441] Compiling Graphiti SimpleAsyncResolve.swift
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Field/Field/Field.swift:214:31: warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, ResolveType>' (aka '(ObjectType) -> (Context, Arguments) async throws -> ResolveType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
212 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
213 | promise.completeWithTask {
214 | try await concurrentResolve(type)(context, arguments)
| |- warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, ResolveType>' (aka '(ObjectType) -> (Context, Arguments) async throws -> ResolveType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
215 | }
216 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Field/Field/Field.swift:214:49: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
2 | import NIO
3 |
4 | public class Field<ObjectType, Context, FieldType, Arguments: Decodable>: FieldComponent<
| `- note: consider making generic parameter 'ObjectType' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Context
:
212 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
213 | promise.completeWithTask {
214 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
215 | }
216 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Field/Field/Field.swift:214:55: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
2 | import NIO
3 |
4 | public class Field<ObjectType, Context, FieldType, Arguments: Decodable>: FieldComponent<
| `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Context
:
212 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
213 | promise.completeWithTask {
214 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
215 | }
216 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Field/Field/Field.swift:214:64: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
2 | import NIO
3 |
4 | public class Field<ObjectType, Context, FieldType, Arguments: Decodable>: FieldComponent<
| `- note: consider making generic parameter 'Arguments' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Context
:
212 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
213 | promise.completeWithTask {
214 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
215 | }
216 | return promise.futureResult
[409/441] Compiling Graphiti AnyType.swift
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Federation/Any.swift:3:5: warning: let 'anyType' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import GraphQL
2 |
3 | let anyType = try! GraphQLScalarType(
| `- warning: let 'anyType' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
4 | name: "_Any",
5 | description: "Scalar representing the JSON form of any type. A __typename field is required.",
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GraphQL/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?
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Federation/Any.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
1 | import GraphQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
2 |
3 | let anyType = try! GraphQLScalarType(
| |- note: add '@MainActor' to make let 'anyType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
4 | name: "_Any",
5 | description: "Scalar representing the JSON form of any type. A __typename field is required.",
[410/441] Compiling Graphiti Reflection.swift
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Federation/Any.swift:3:5: warning: let 'anyType' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import GraphQL
2 |
3 | let anyType = try! GraphQLScalarType(
| `- warning: let 'anyType' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
4 | name: "_Any",
5 | description: "Scalar representing the JSON form of any type. A __typename field is required.",
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GraphQL/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?
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Federation/Any.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
1 | import GraphQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
2 |
3 | let anyType = try! GraphQLScalarType(
| |- note: add '@MainActor' to make let 'anyType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
4 | name: "_Any",
5 | description: "Scalar representing the JSON form of any type. A __typename field is required.",
[411/441] Compiling Graphiti TypeProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Federation/Any.swift:3:5: warning: let 'anyType' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import GraphQL
2 |
3 | let anyType = try! GraphQLScalarType(
| `- warning: let 'anyType' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
4 | name: "_Any",
5 | description: "Scalar representing the JSON form of any type. A __typename field is required.",
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GraphQL/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?
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Federation/Any.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
1 | import GraphQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
2 |
3 | let anyType = try! GraphQLScalarType(
| |- note: add '@MainActor' to make let 'anyType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
4 | name: "_Any",
5 | description: "Scalar representing the JSON form of any type. A __typename field is required.",
[412/441] Compiling Graphiti Wrappers.swift
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Federation/Any.swift:3:5: warning: let 'anyType' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import GraphQL
2 |
3 | let anyType = try! GraphQLScalarType(
| `- warning: let 'anyType' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
4 | name: "_Any",
5 | description: "Scalar representing the JSON form of any type. A __typename field is required.",
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GraphQL/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?
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Federation/Any.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
1 | import GraphQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
2 |
3 | let anyType = try! GraphQLScalarType(
| |- note: add '@MainActor' to make let 'anyType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
4 | name: "_Any",
5 | description: "Scalar representing the JSON form of any type. A __typename field is required.",
[413/441] Compiling Graphiti Enum.swift
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Federation/Any.swift:3:5: warning: let 'anyType' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import GraphQL
2 |
3 | let anyType = try! GraphQLScalarType(
| `- warning: let 'anyType' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
4 | name: "_Any",
5 | description: "Scalar representing the JSON form of any type. A __typename field is required.",
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GraphQL/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?
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Federation/Any.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
1 | import GraphQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
2 |
3 | let anyType = try! GraphQLScalarType(
| |- note: add '@MainActor' to make let 'anyType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
4 | name: "_Any",
5 | description: "Scalar representing the JSON form of any type. A __typename field is required.",
[414/441] Compiling Graphiti Any.swift
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Federation/Any.swift:3:5: warning: let 'anyType' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import GraphQL
2 |
3 | let anyType = try! GraphQLScalarType(
| `- warning: let 'anyType' is not concurrency-safe because non-'Sendable' type 'GraphQLScalarType' may have shared mutable state; this is an error in the Swift 6 language mode
4 | name: "_Any",
5 | description: "Scalar representing the JSON form of any type. A __typename field is required.",
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GraphQL/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?
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Federation/Any.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
1 | import GraphQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
2 |
3 | let anyType = try! GraphQLScalarType(
| |- note: add '@MainActor' to make let 'anyType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
4 | name: "_Any",
5 | description: "Scalar representing the JSON form of any type. A __typename field is required.",
[415/441] Compiling Graphiti Type.swift
[416/441] Compiling Graphiti Union.swift
[417/441] Compiling Graphiti NoIntrospectionRule.swift
[418/441] Compiling Graphiti Value.swift
[419/441] Compiling Graphiti ValueBuilder.swift
[420/441] Compiling Graphiti Mutation.swift
[421/441] Compiling Graphiti Query.swift
[422/441] Compiling Graphiti Scalar.swift
[423/441] Compiling Graphiti Schema.swift
[424/441] Compiling Graphiti SchemaTypeProvider.swift
[425/441] Compiling Graphiti Component.swift
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Connection/Connection.swift:45:40: warning: capture of 'arguments' with non-sendable type 'any Paginatable' in a '@Sendable' closure
43 | ) -> EventLoopFuture<Connection<Value.Element>> {
44 | flatMapThrowing { value in
45 | try value.connection(from: arguments, makeCursor: makeCursor)
| `- warning: capture of 'arguments' with non-sendable type 'any Paginatable' in a '@Sendable' closure
46 | }
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Connection/PagniationArguments/PaginationArguments.swift:1:17: note: protocol 'Paginatable' does not conform to the 'Sendable' protocol
1 | public protocol Paginatable: ForwardPaginatable, BackwardPaginatable {}
| `- note: protocol 'Paginatable' does not conform to the 'Sendable' protocol
2 |
3 | public struct PaginationArguments: Paginatable {
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Connection/Connection.swift:45:63: warning: capture of 'makeCursor' with non-sendable type '(Value.Element) throws -> String' in a '@Sendable' closure
43 | ) -> EventLoopFuture<Connection<Value.Element>> {
44 | flatMapThrowing { value in
45 | try value.connection(from: arguments, makeCursor: makeCursor)
| |- warning: capture of 'makeCursor' with non-sendable type '(Value.Element) throws -> String' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
46 | }
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Connection/Connection.swift:54:40: warning: capture of 'arguments' with non-sendable type 'any ForwardPaginatable' in a '@Sendable' closure
52 | ) -> EventLoopFuture<Connection<Value.Element>> {
53 | flatMapThrowing { value in
54 | try value.connection(from: arguments, makeCursor: makeCursor)
| `- warning: capture of 'arguments' with non-sendable type 'any ForwardPaginatable' in a '@Sendable' closure
55 | }
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Connection/PagniationArguments/ForwardPaginationArguments.swift:1:17: note: protocol 'ForwardPaginatable' does not conform to the 'Sendable' protocol
1 | public protocol ForwardPaginatable: Decodable {
| `- note: protocol 'ForwardPaginatable' does not conform to the 'Sendable' protocol
2 | var first: Int? { get }
3 | var after: String? { get }
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Connection/Connection.swift:54:63: warning: capture of 'makeCursor' with non-sendable type '(Value.Element) throws -> String' in a '@Sendable' closure
52 | ) -> EventLoopFuture<Connection<Value.Element>> {
53 | flatMapThrowing { value in
54 | try value.connection(from: arguments, makeCursor: makeCursor)
| |- warning: capture of 'makeCursor' with non-sendable type '(Value.Element) throws -> String' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
55 | }
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Connection/Connection.swift:63:40: warning: capture of 'arguments' with non-sendable type 'any BackwardPaginatable' in a '@Sendable' closure
61 | ) -> EventLoopFuture<Connection<Value.Element>> {
62 | flatMapThrowing { value in
63 | try value.connection(from: arguments, makeCursor: makeCursor)
| `- warning: capture of 'arguments' with non-sendable type 'any BackwardPaginatable' in a '@Sendable' closure
64 | }
65 | }
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Connection/PagniationArguments/BackwardPaginationArguments.swift:1:17: note: protocol 'BackwardPaginatable' does not conform to the 'Sendable' protocol
1 | public protocol BackwardPaginatable: Decodable {
| `- note: protocol 'BackwardPaginatable' does not conform to the 'Sendable' protocol
2 | var last: Int? { get }
3 | var before: String? { get }
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Connection/Connection.swift:63:63: warning: capture of 'makeCursor' with non-sendable type '(Value.Element) throws -> String' in a '@Sendable' closure
61 | ) -> EventLoopFuture<Connection<Value.Element>> {
62 | flatMapThrowing { value in
63 | try value.connection(from: arguments, makeCursor: makeCursor)
| |- warning: capture of 'makeCursor' with non-sendable type '(Value.Element) throws -> String' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
64 | }
65 | }
[426/441] Compiling Graphiti ComponentBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Connection/Connection.swift:45:40: warning: capture of 'arguments' with non-sendable type 'any Paginatable' in a '@Sendable' closure
43 | ) -> EventLoopFuture<Connection<Value.Element>> {
44 | flatMapThrowing { value in
45 | try value.connection(from: arguments, makeCursor: makeCursor)
| `- warning: capture of 'arguments' with non-sendable type 'any Paginatable' in a '@Sendable' closure
46 | }
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Connection/PagniationArguments/PaginationArguments.swift:1:17: note: protocol 'Paginatable' does not conform to the 'Sendable' protocol
1 | public protocol Paginatable: ForwardPaginatable, BackwardPaginatable {}
| `- note: protocol 'Paginatable' does not conform to the 'Sendable' protocol
2 |
3 | public struct PaginationArguments: Paginatable {
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Connection/Connection.swift:45:63: warning: capture of 'makeCursor' with non-sendable type '(Value.Element) throws -> String' in a '@Sendable' closure
43 | ) -> EventLoopFuture<Connection<Value.Element>> {
44 | flatMapThrowing { value in
45 | try value.connection(from: arguments, makeCursor: makeCursor)
| |- warning: capture of 'makeCursor' with non-sendable type '(Value.Element) throws -> String' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
46 | }
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Connection/Connection.swift:54:40: warning: capture of 'arguments' with non-sendable type 'any ForwardPaginatable' in a '@Sendable' closure
52 | ) -> EventLoopFuture<Connection<Value.Element>> {
53 | flatMapThrowing { value in
54 | try value.connection(from: arguments, makeCursor: makeCursor)
| `- warning: capture of 'arguments' with non-sendable type 'any ForwardPaginatable' in a '@Sendable' closure
55 | }
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Connection/PagniationArguments/ForwardPaginationArguments.swift:1:17: note: protocol 'ForwardPaginatable' does not conform to the 'Sendable' protocol
1 | public protocol ForwardPaginatable: Decodable {
| `- note: protocol 'ForwardPaginatable' does not conform to the 'Sendable' protocol
2 | var first: Int? { get }
3 | var after: String? { get }
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Connection/Connection.swift:54:63: warning: capture of 'makeCursor' with non-sendable type '(Value.Element) throws -> String' in a '@Sendable' closure
52 | ) -> EventLoopFuture<Connection<Value.Element>> {
53 | flatMapThrowing { value in
54 | try value.connection(from: arguments, makeCursor: makeCursor)
| |- warning: capture of 'makeCursor' with non-sendable type '(Value.Element) throws -> String' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
55 | }
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Connection/Connection.swift:63:40: warning: capture of 'arguments' with non-sendable type 'any BackwardPaginatable' in a '@Sendable' closure
61 | ) -> EventLoopFuture<Connection<Value.Element>> {
62 | flatMapThrowing { value in
63 | try value.connection(from: arguments, makeCursor: makeCursor)
| `- warning: capture of 'arguments' with non-sendable type 'any BackwardPaginatable' in a '@Sendable' closure
64 | }
65 | }
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Connection/PagniationArguments/BackwardPaginationArguments.swift:1:17: note: protocol 'BackwardPaginatable' does not conform to the 'Sendable' protocol
1 | public protocol BackwardPaginatable: Decodable {
| `- note: protocol 'BackwardPaginatable' does not conform to the 'Sendable' protocol
2 | var last: Int? { get }
3 | var before: String? { get }
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Connection/Connection.swift:63:63: warning: capture of 'makeCursor' with non-sendable type '(Value.Element) throws -> String' in a '@Sendable' closure
61 | ) -> EventLoopFuture<Connection<Value.Element>> {
62 | flatMapThrowing { value in
63 | try value.connection(from: arguments, makeCursor: makeCursor)
| |- warning: capture of 'makeCursor' with non-sendable type '(Value.Element) throws -> String' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
64 | }
65 | }
[427/441] Compiling Graphiti TypeComponent.swift
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Connection/Connection.swift:45:40: warning: capture of 'arguments' with non-sendable type 'any Paginatable' in a '@Sendable' closure
43 | ) -> EventLoopFuture<Connection<Value.Element>> {
44 | flatMapThrowing { value in
45 | try value.connection(from: arguments, makeCursor: makeCursor)
| `- warning: capture of 'arguments' with non-sendable type 'any Paginatable' in a '@Sendable' closure
46 | }
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Connection/PagniationArguments/PaginationArguments.swift:1:17: note: protocol 'Paginatable' does not conform to the 'Sendable' protocol
1 | public protocol Paginatable: ForwardPaginatable, BackwardPaginatable {}
| `- note: protocol 'Paginatable' does not conform to the 'Sendable' protocol
2 |
3 | public struct PaginationArguments: Paginatable {
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Connection/Connection.swift:45:63: warning: capture of 'makeCursor' with non-sendable type '(Value.Element) throws -> String' in a '@Sendable' closure
43 | ) -> EventLoopFuture<Connection<Value.Element>> {
44 | flatMapThrowing { value in
45 | try value.connection(from: arguments, makeCursor: makeCursor)
| |- warning: capture of 'makeCursor' with non-sendable type '(Value.Element) throws -> String' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
46 | }
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Connection/Connection.swift:54:40: warning: capture of 'arguments' with non-sendable type 'any ForwardPaginatable' in a '@Sendable' closure
52 | ) -> EventLoopFuture<Connection<Value.Element>> {
53 | flatMapThrowing { value in
54 | try value.connection(from: arguments, makeCursor: makeCursor)
| `- warning: capture of 'arguments' with non-sendable type 'any ForwardPaginatable' in a '@Sendable' closure
55 | }
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Connection/PagniationArguments/ForwardPaginationArguments.swift:1:17: note: protocol 'ForwardPaginatable' does not conform to the 'Sendable' protocol
1 | public protocol ForwardPaginatable: Decodable {
| `- note: protocol 'ForwardPaginatable' does not conform to the 'Sendable' protocol
2 | var first: Int? { get }
3 | var after: String? { get }
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Connection/Connection.swift:54:63: warning: capture of 'makeCursor' with non-sendable type '(Value.Element) throws -> String' in a '@Sendable' closure
52 | ) -> EventLoopFuture<Connection<Value.Element>> {
53 | flatMapThrowing { value in
54 | try value.connection(from: arguments, makeCursor: makeCursor)
| |- warning: capture of 'makeCursor' with non-sendable type '(Value.Element) throws -> String' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
55 | }
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Connection/Connection.swift:63:40: warning: capture of 'arguments' with non-sendable type 'any BackwardPaginatable' in a '@Sendable' closure
61 | ) -> EventLoopFuture<Connection<Value.Element>> {
62 | flatMapThrowing { value in
63 | try value.connection(from: arguments, makeCursor: makeCursor)
| `- warning: capture of 'arguments' with non-sendable type 'any BackwardPaginatable' in a '@Sendable' closure
64 | }
65 | }
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Connection/PagniationArguments/BackwardPaginationArguments.swift:1:17: note: protocol 'BackwardPaginatable' does not conform to the 'Sendable' protocol
1 | public protocol BackwardPaginatable: Decodable {
| `- note: protocol 'BackwardPaginatable' does not conform to the 'Sendable' protocol
2 | var last: Int? { get }
3 | var before: String? { get }
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Connection/Connection.swift:63:63: warning: capture of 'makeCursor' with non-sendable type '(Value.Element) throws -> String' in a '@Sendable' closure
61 | ) -> EventLoopFuture<Connection<Value.Element>> {
62 | flatMapThrowing { value in
63 | try value.connection(from: arguments, makeCursor: makeCursor)
| |- warning: capture of 'makeCursor' with non-sendable type '(Value.Element) throws -> String' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
64 | }
65 | }
[428/441] Compiling Graphiti TypeComponentBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Connection/Connection.swift:45:40: warning: capture of 'arguments' with non-sendable type 'any Paginatable' in a '@Sendable' closure
43 | ) -> EventLoopFuture<Connection<Value.Element>> {
44 | flatMapThrowing { value in
45 | try value.connection(from: arguments, makeCursor: makeCursor)
| `- warning: capture of 'arguments' with non-sendable type 'any Paginatable' in a '@Sendable' closure
46 | }
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Connection/PagniationArguments/PaginationArguments.swift:1:17: note: protocol 'Paginatable' does not conform to the 'Sendable' protocol
1 | public protocol Paginatable: ForwardPaginatable, BackwardPaginatable {}
| `- note: protocol 'Paginatable' does not conform to the 'Sendable' protocol
2 |
3 | public struct PaginationArguments: Paginatable {
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Connection/Connection.swift:45:63: warning: capture of 'makeCursor' with non-sendable type '(Value.Element) throws -> String' in a '@Sendable' closure
43 | ) -> EventLoopFuture<Connection<Value.Element>> {
44 | flatMapThrowing { value in
45 | try value.connection(from: arguments, makeCursor: makeCursor)
| |- warning: capture of 'makeCursor' with non-sendable type '(Value.Element) throws -> String' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
46 | }
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Connection/Connection.swift:54:40: warning: capture of 'arguments' with non-sendable type 'any ForwardPaginatable' in a '@Sendable' closure
52 | ) -> EventLoopFuture<Connection<Value.Element>> {
53 | flatMapThrowing { value in
54 | try value.connection(from: arguments, makeCursor: makeCursor)
| `- warning: capture of 'arguments' with non-sendable type 'any ForwardPaginatable' in a '@Sendable' closure
55 | }
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Connection/PagniationArguments/ForwardPaginationArguments.swift:1:17: note: protocol 'ForwardPaginatable' does not conform to the 'Sendable' protocol
1 | public protocol ForwardPaginatable: Decodable {
| `- note: protocol 'ForwardPaginatable' does not conform to the 'Sendable' protocol
2 | var first: Int? { get }
3 | var after: String? { get }
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Connection/Connection.swift:54:63: warning: capture of 'makeCursor' with non-sendable type '(Value.Element) throws -> String' in a '@Sendable' closure
52 | ) -> EventLoopFuture<Connection<Value.Element>> {
53 | flatMapThrowing { value in
54 | try value.connection(from: arguments, makeCursor: makeCursor)
| |- warning: capture of 'makeCursor' with non-sendable type '(Value.Element) throws -> String' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
55 | }
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Connection/Connection.swift:63:40: warning: capture of 'arguments' with non-sendable type 'any BackwardPaginatable' in a '@Sendable' closure
61 | ) -> EventLoopFuture<Connection<Value.Element>> {
62 | flatMapThrowing { value in
63 | try value.connection(from: arguments, makeCursor: makeCursor)
| `- warning: capture of 'arguments' with non-sendable type 'any BackwardPaginatable' in a '@Sendable' closure
64 | }
65 | }
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Connection/PagniationArguments/BackwardPaginationArguments.swift:1:17: note: protocol 'BackwardPaginatable' does not conform to the 'Sendable' protocol
1 | public protocol BackwardPaginatable: Decodable {
| `- note: protocol 'BackwardPaginatable' does not conform to the 'Sendable' protocol
2 | var last: Int? { get }
3 | var before: String? { get }
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Connection/Connection.swift:63:63: warning: capture of 'makeCursor' with non-sendable type '(Value.Element) throws -> String' in a '@Sendable' closure
61 | ) -> EventLoopFuture<Connection<Value.Element>> {
62 | flatMapThrowing { value in
63 | try value.connection(from: arguments, makeCursor: makeCursor)
| |- warning: capture of 'makeCursor' with non-sendable type '(Value.Element) throws -> String' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
64 | }
65 | }
[429/441] Compiling Graphiti Connection.swift
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Connection/Connection.swift:45:40: warning: capture of 'arguments' with non-sendable type 'any Paginatable' in a '@Sendable' closure
43 | ) -> EventLoopFuture<Connection<Value.Element>> {
44 | flatMapThrowing { value in
45 | try value.connection(from: arguments, makeCursor: makeCursor)
| `- warning: capture of 'arguments' with non-sendable type 'any Paginatable' in a '@Sendable' closure
46 | }
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Connection/PagniationArguments/PaginationArguments.swift:1:17: note: protocol 'Paginatable' does not conform to the 'Sendable' protocol
1 | public protocol Paginatable: ForwardPaginatable, BackwardPaginatable {}
| `- note: protocol 'Paginatable' does not conform to the 'Sendable' protocol
2 |
3 | public struct PaginationArguments: Paginatable {
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Connection/Connection.swift:45:63: warning: capture of 'makeCursor' with non-sendable type '(Value.Element) throws -> String' in a '@Sendable' closure
43 | ) -> EventLoopFuture<Connection<Value.Element>> {
44 | flatMapThrowing { value in
45 | try value.connection(from: arguments, makeCursor: makeCursor)
| |- warning: capture of 'makeCursor' with non-sendable type '(Value.Element) throws -> String' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
46 | }
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Connection/Connection.swift:54:40: warning: capture of 'arguments' with non-sendable type 'any ForwardPaginatable' in a '@Sendable' closure
52 | ) -> EventLoopFuture<Connection<Value.Element>> {
53 | flatMapThrowing { value in
54 | try value.connection(from: arguments, makeCursor: makeCursor)
| `- warning: capture of 'arguments' with non-sendable type 'any ForwardPaginatable' in a '@Sendable' closure
55 | }
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Connection/PagniationArguments/ForwardPaginationArguments.swift:1:17: note: protocol 'ForwardPaginatable' does not conform to the 'Sendable' protocol
1 | public protocol ForwardPaginatable: Decodable {
| `- note: protocol 'ForwardPaginatable' does not conform to the 'Sendable' protocol
2 | var first: Int? { get }
3 | var after: String? { get }
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Connection/Connection.swift:54:63: warning: capture of 'makeCursor' with non-sendable type '(Value.Element) throws -> String' in a '@Sendable' closure
52 | ) -> EventLoopFuture<Connection<Value.Element>> {
53 | flatMapThrowing { value in
54 | try value.connection(from: arguments, makeCursor: makeCursor)
| |- warning: capture of 'makeCursor' with non-sendable type '(Value.Element) throws -> String' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
55 | }
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Connection/Connection.swift:63:40: warning: capture of 'arguments' with non-sendable type 'any BackwardPaginatable' in a '@Sendable' closure
61 | ) -> EventLoopFuture<Connection<Value.Element>> {
62 | flatMapThrowing { value in
63 | try value.connection(from: arguments, makeCursor: makeCursor)
| `- warning: capture of 'arguments' with non-sendable type 'any BackwardPaginatable' in a '@Sendable' closure
64 | }
65 | }
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Connection/PagniationArguments/BackwardPaginationArguments.swift:1:17: note: protocol 'BackwardPaginatable' does not conform to the 'Sendable' protocol
1 | public protocol BackwardPaginatable: Decodable {
| `- note: protocol 'BackwardPaginatable' does not conform to the 'Sendable' protocol
2 | var last: Int? { get }
3 | var before: String? { get }
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Connection/Connection.swift:63:63: warning: capture of 'makeCursor' with non-sendable type '(Value.Element) throws -> String' in a '@Sendable' closure
61 | ) -> EventLoopFuture<Connection<Value.Element>> {
62 | flatMapThrowing { value in
63 | try value.connection(from: arguments, makeCursor: makeCursor)
| |- warning: capture of 'makeCursor' with non-sendable type '(Value.Element) throws -> String' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
64 | }
65 | }
[430/441] Compiling Graphiti ConnectionType.swift
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Connection/Connection.swift:45:40: warning: capture of 'arguments' with non-sendable type 'any Paginatable' in a '@Sendable' closure
43 | ) -> EventLoopFuture<Connection<Value.Element>> {
44 | flatMapThrowing { value in
45 | try value.connection(from: arguments, makeCursor: makeCursor)
| `- warning: capture of 'arguments' with non-sendable type 'any Paginatable' in a '@Sendable' closure
46 | }
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Connection/PagniationArguments/PaginationArguments.swift:1:17: note: protocol 'Paginatable' does not conform to the 'Sendable' protocol
1 | public protocol Paginatable: ForwardPaginatable, BackwardPaginatable {}
| `- note: protocol 'Paginatable' does not conform to the 'Sendable' protocol
2 |
3 | public struct PaginationArguments: Paginatable {
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Connection/Connection.swift:45:63: warning: capture of 'makeCursor' with non-sendable type '(Value.Element) throws -> String' in a '@Sendable' closure
43 | ) -> EventLoopFuture<Connection<Value.Element>> {
44 | flatMapThrowing { value in
45 | try value.connection(from: arguments, makeCursor: makeCursor)
| |- warning: capture of 'makeCursor' with non-sendable type '(Value.Element) throws -> String' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
46 | }
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Connection/Connection.swift:54:40: warning: capture of 'arguments' with non-sendable type 'any ForwardPaginatable' in a '@Sendable' closure
52 | ) -> EventLoopFuture<Connection<Value.Element>> {
53 | flatMapThrowing { value in
54 | try value.connection(from: arguments, makeCursor: makeCursor)
| `- warning: capture of 'arguments' with non-sendable type 'any ForwardPaginatable' in a '@Sendable' closure
55 | }
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Connection/PagniationArguments/ForwardPaginationArguments.swift:1:17: note: protocol 'ForwardPaginatable' does not conform to the 'Sendable' protocol
1 | public protocol ForwardPaginatable: Decodable {
| `- note: protocol 'ForwardPaginatable' does not conform to the 'Sendable' protocol
2 | var first: Int? { get }
3 | var after: String? { get }
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Connection/Connection.swift:54:63: warning: capture of 'makeCursor' with non-sendable type '(Value.Element) throws -> String' in a '@Sendable' closure
52 | ) -> EventLoopFuture<Connection<Value.Element>> {
53 | flatMapThrowing { value in
54 | try value.connection(from: arguments, makeCursor: makeCursor)
| |- warning: capture of 'makeCursor' with non-sendable type '(Value.Element) throws -> String' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
55 | }
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Connection/Connection.swift:63:40: warning: capture of 'arguments' with non-sendable type 'any BackwardPaginatable' in a '@Sendable' closure
61 | ) -> EventLoopFuture<Connection<Value.Element>> {
62 | flatMapThrowing { value in
63 | try value.connection(from: arguments, makeCursor: makeCursor)
| `- warning: capture of 'arguments' with non-sendable type 'any BackwardPaginatable' in a '@Sendable' closure
64 | }
65 | }
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Connection/PagniationArguments/BackwardPaginationArguments.swift:1:17: note: protocol 'BackwardPaginatable' does not conform to the 'Sendable' protocol
1 | public protocol BackwardPaginatable: Decodable {
| `- note: protocol 'BackwardPaginatable' does not conform to the 'Sendable' protocol
2 | var last: Int? { get }
3 | var before: String? { get }
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Connection/Connection.swift:63:63: warning: capture of 'makeCursor' with non-sendable type '(Value.Element) throws -> String' in a '@Sendable' closure
61 | ) -> EventLoopFuture<Connection<Value.Element>> {
62 | flatMapThrowing { value in
63 | try value.connection(from: arguments, makeCursor: makeCursor)
| |- warning: capture of 'makeCursor' with non-sendable type '(Value.Element) throws -> String' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
64 | }
65 | }
[431/441] Compiling Graphiti Entity.swift
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:108:31: warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<Resolver, Context, Arguments, ObjectType?>' (aka '(Resolver) -> (Context, Arguments) async throws -> Optional<ObjectType>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
106 | let promise = eventLoopGroup.next().makePromise(of: ObjectType?.self)
107 | promise.completeWithTask {
108 | try await concurrentResolve(type)(context, arguments)
| |- warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<Resolver, Context, Arguments, ObjectType?>' (aka '(Resolver) -> (Context, Arguments) async throws -> Optional<ObjectType>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
109 | }
110 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:108:49: warning: capture of 'type' with non-sendable type 'Resolver' in a '@Sendable' closure; this is an error in the Swift 6 language mode
2 | import NIO
3 |
4 | public class Key<ObjectType, Resolver, Context, Arguments: Codable>: KeyComponent<
| `- note: consider making generic parameter 'Resolver' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Resolver,
:
106 | let promise = eventLoopGroup.next().makePromise(of: ObjectType?.self)
107 | promise.completeWithTask {
108 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'type' with non-sendable type 'Resolver' in a '@Sendable' closure; this is an error in the Swift 6 language mode
109 | }
110 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:108:55: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
2 | import NIO
3 |
4 | public class Key<ObjectType, Resolver, Context, Arguments: Codable>: KeyComponent<
| `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Resolver,
:
106 | let promise = eventLoopGroup.next().makePromise(of: ObjectType?.self)
107 | promise.completeWithTask {
108 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
109 | }
110 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:108:64: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
2 | import NIO
3 |
4 | public class Key<ObjectType, Resolver, Context, Arguments: Codable>: KeyComponent<
| `- note: consider making generic parameter 'Arguments' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Resolver,
:
106 | let promise = eventLoopGroup.next().makePromise(of: ObjectType?.self)
107 | promise.completeWithTask {
108 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
109 | }
110 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Federation/Service.swift:7:5: warning: let 'serviceType' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
5 | }
6 |
7 | let serviceType = try! GraphQLObjectType(
| `- warning: let 'serviceType' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
8 | name: "_Service",
9 | description: "Federation service object",
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GraphQL/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?
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Federation/Service.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
1 | import GraphQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
2 |
3 | struct Service: Codable {
:
5 | }
6 |
7 | let serviceType = try! GraphQLObjectType(
| |- note: add '@MainActor' to make let 'serviceType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | name: "_Service",
9 | description: "Federation service object",
[432/441] Compiling Graphiti Key.swift
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:108:31: warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<Resolver, Context, Arguments, ObjectType?>' (aka '(Resolver) -> (Context, Arguments) async throws -> Optional<ObjectType>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
106 | let promise = eventLoopGroup.next().makePromise(of: ObjectType?.self)
107 | promise.completeWithTask {
108 | try await concurrentResolve(type)(context, arguments)
| |- warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<Resolver, Context, Arguments, ObjectType?>' (aka '(Resolver) -> (Context, Arguments) async throws -> Optional<ObjectType>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
109 | }
110 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:108:49: warning: capture of 'type' with non-sendable type 'Resolver' in a '@Sendable' closure; this is an error in the Swift 6 language mode
2 | import NIO
3 |
4 | public class Key<ObjectType, Resolver, Context, Arguments: Codable>: KeyComponent<
| `- note: consider making generic parameter 'Resolver' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Resolver,
:
106 | let promise = eventLoopGroup.next().makePromise(of: ObjectType?.self)
107 | promise.completeWithTask {
108 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'type' with non-sendable type 'Resolver' in a '@Sendable' closure; this is an error in the Swift 6 language mode
109 | }
110 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:108:55: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
2 | import NIO
3 |
4 | public class Key<ObjectType, Resolver, Context, Arguments: Codable>: KeyComponent<
| `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Resolver,
:
106 | let promise = eventLoopGroup.next().makePromise(of: ObjectType?.self)
107 | promise.completeWithTask {
108 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
109 | }
110 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:108:64: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
2 | import NIO
3 |
4 | public class Key<ObjectType, Resolver, Context, Arguments: Codable>: KeyComponent<
| `- note: consider making generic parameter 'Arguments' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Resolver,
:
106 | let promise = eventLoopGroup.next().makePromise(of: ObjectType?.self)
107 | promise.completeWithTask {
108 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
109 | }
110 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Federation/Service.swift:7:5: warning: let 'serviceType' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
5 | }
6 |
7 | let serviceType = try! GraphQLObjectType(
| `- warning: let 'serviceType' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
8 | name: "_Service",
9 | description: "Federation service object",
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GraphQL/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?
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Federation/Service.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
1 | import GraphQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
2 |
3 | struct Service: Codable {
:
5 | }
6 |
7 | let serviceType = try! GraphQLObjectType(
| |- note: add '@MainActor' to make let 'serviceType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | name: "_Service",
9 | description: "Federation service object",
[433/441] Compiling Graphiti KeyComponent.swift
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:108:31: warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<Resolver, Context, Arguments, ObjectType?>' (aka '(Resolver) -> (Context, Arguments) async throws -> Optional<ObjectType>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
106 | let promise = eventLoopGroup.next().makePromise(of: ObjectType?.self)
107 | promise.completeWithTask {
108 | try await concurrentResolve(type)(context, arguments)
| |- warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<Resolver, Context, Arguments, ObjectType?>' (aka '(Resolver) -> (Context, Arguments) async throws -> Optional<ObjectType>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
109 | }
110 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:108:49: warning: capture of 'type' with non-sendable type 'Resolver' in a '@Sendable' closure; this is an error in the Swift 6 language mode
2 | import NIO
3 |
4 | public class Key<ObjectType, Resolver, Context, Arguments: Codable>: KeyComponent<
| `- note: consider making generic parameter 'Resolver' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Resolver,
:
106 | let promise = eventLoopGroup.next().makePromise(of: ObjectType?.self)
107 | promise.completeWithTask {
108 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'type' with non-sendable type 'Resolver' in a '@Sendable' closure; this is an error in the Swift 6 language mode
109 | }
110 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:108:55: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
2 | import NIO
3 |
4 | public class Key<ObjectType, Resolver, Context, Arguments: Codable>: KeyComponent<
| `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Resolver,
:
106 | let promise = eventLoopGroup.next().makePromise(of: ObjectType?.self)
107 | promise.completeWithTask {
108 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
109 | }
110 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:108:64: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
2 | import NIO
3 |
4 | public class Key<ObjectType, Resolver, Context, Arguments: Codable>: KeyComponent<
| `- note: consider making generic parameter 'Arguments' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Resolver,
:
106 | let promise = eventLoopGroup.next().makePromise(of: ObjectType?.self)
107 | promise.completeWithTask {
108 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
109 | }
110 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Federation/Service.swift:7:5: warning: let 'serviceType' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
5 | }
6 |
7 | let serviceType = try! GraphQLObjectType(
| `- warning: let 'serviceType' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
8 | name: "_Service",
9 | description: "Federation service object",
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GraphQL/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?
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Federation/Service.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
1 | import GraphQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
2 |
3 | struct Service: Codable {
:
5 | }
6 |
7 | let serviceType = try! GraphQLObjectType(
| |- note: add '@MainActor' to make let 'serviceType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | name: "_Service",
9 | description: "Federation service object",
[434/441] Compiling Graphiti Type+Key.swift
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:108:31: warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<Resolver, Context, Arguments, ObjectType?>' (aka '(Resolver) -> (Context, Arguments) async throws -> Optional<ObjectType>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
106 | let promise = eventLoopGroup.next().makePromise(of: ObjectType?.self)
107 | promise.completeWithTask {
108 | try await concurrentResolve(type)(context, arguments)
| |- warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<Resolver, Context, Arguments, ObjectType?>' (aka '(Resolver) -> (Context, Arguments) async throws -> Optional<ObjectType>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
109 | }
110 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:108:49: warning: capture of 'type' with non-sendable type 'Resolver' in a '@Sendable' closure; this is an error in the Swift 6 language mode
2 | import NIO
3 |
4 | public class Key<ObjectType, Resolver, Context, Arguments: Codable>: KeyComponent<
| `- note: consider making generic parameter 'Resolver' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Resolver,
:
106 | let promise = eventLoopGroup.next().makePromise(of: ObjectType?.self)
107 | promise.completeWithTask {
108 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'type' with non-sendable type 'Resolver' in a '@Sendable' closure; this is an error in the Swift 6 language mode
109 | }
110 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:108:55: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
2 | import NIO
3 |
4 | public class Key<ObjectType, Resolver, Context, Arguments: Codable>: KeyComponent<
| `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Resolver,
:
106 | let promise = eventLoopGroup.next().makePromise(of: ObjectType?.self)
107 | promise.completeWithTask {
108 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
109 | }
110 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:108:64: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
2 | import NIO
3 |
4 | public class Key<ObjectType, Resolver, Context, Arguments: Codable>: KeyComponent<
| `- note: consider making generic parameter 'Arguments' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Resolver,
:
106 | let promise = eventLoopGroup.next().makePromise(of: ObjectType?.self)
107 | promise.completeWithTask {
108 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
109 | }
110 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Federation/Service.swift:7:5: warning: let 'serviceType' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
5 | }
6 |
7 | let serviceType = try! GraphQLObjectType(
| `- warning: let 'serviceType' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
8 | name: "_Service",
9 | description: "Federation service object",
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GraphQL/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?
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Federation/Service.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
1 | import GraphQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
2 |
3 | struct Service: Codable {
:
5 | }
6 |
7 | let serviceType = try! GraphQLObjectType(
| |- note: add '@MainActor' to make let 'serviceType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | name: "_Service",
9 | description: "Federation service object",
[435/441] Compiling Graphiti Queries.swift
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:108:31: warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<Resolver, Context, Arguments, ObjectType?>' (aka '(Resolver) -> (Context, Arguments) async throws -> Optional<ObjectType>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
106 | let promise = eventLoopGroup.next().makePromise(of: ObjectType?.self)
107 | promise.completeWithTask {
108 | try await concurrentResolve(type)(context, arguments)
| |- warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<Resolver, Context, Arguments, ObjectType?>' (aka '(Resolver) -> (Context, Arguments) async throws -> Optional<ObjectType>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
109 | }
110 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:108:49: warning: capture of 'type' with non-sendable type 'Resolver' in a '@Sendable' closure; this is an error in the Swift 6 language mode
2 | import NIO
3 |
4 | public class Key<ObjectType, Resolver, Context, Arguments: Codable>: KeyComponent<
| `- note: consider making generic parameter 'Resolver' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Resolver,
:
106 | let promise = eventLoopGroup.next().makePromise(of: ObjectType?.self)
107 | promise.completeWithTask {
108 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'type' with non-sendable type 'Resolver' in a '@Sendable' closure; this is an error in the Swift 6 language mode
109 | }
110 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:108:55: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
2 | import NIO
3 |
4 | public class Key<ObjectType, Resolver, Context, Arguments: Codable>: KeyComponent<
| `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Resolver,
:
106 | let promise = eventLoopGroup.next().makePromise(of: ObjectType?.self)
107 | promise.completeWithTask {
108 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
109 | }
110 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:108:64: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
2 | import NIO
3 |
4 | public class Key<ObjectType, Resolver, Context, Arguments: Codable>: KeyComponent<
| `- note: consider making generic parameter 'Arguments' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Resolver,
:
106 | let promise = eventLoopGroup.next().makePromise(of: ObjectType?.self)
107 | promise.completeWithTask {
108 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
109 | }
110 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Federation/Service.swift:7:5: warning: let 'serviceType' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
5 | }
6 |
7 | let serviceType = try! GraphQLObjectType(
| `- warning: let 'serviceType' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
8 | name: "_Service",
9 | description: "Federation service object",
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GraphQL/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?
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Federation/Service.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
1 | import GraphQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
2 |
3 | struct Service: Codable {
:
5 | }
6 |
7 | let serviceType = try! GraphQLObjectType(
| |- note: add '@MainActor' to make let 'serviceType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | name: "_Service",
9 | description: "Federation service object",
[436/441] Compiling Graphiti Service.swift
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:108:31: warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<Resolver, Context, Arguments, ObjectType?>' (aka '(Resolver) -> (Context, Arguments) async throws -> Optional<ObjectType>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
106 | let promise = eventLoopGroup.next().makePromise(of: ObjectType?.self)
107 | promise.completeWithTask {
108 | try await concurrentResolve(type)(context, arguments)
| |- warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<Resolver, Context, Arguments, ObjectType?>' (aka '(Resolver) -> (Context, Arguments) async throws -> Optional<ObjectType>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
109 | }
110 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:108:49: warning: capture of 'type' with non-sendable type 'Resolver' in a '@Sendable' closure; this is an error in the Swift 6 language mode
2 | import NIO
3 |
4 | public class Key<ObjectType, Resolver, Context, Arguments: Codable>: KeyComponent<
| `- note: consider making generic parameter 'Resolver' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Resolver,
:
106 | let promise = eventLoopGroup.next().makePromise(of: ObjectType?.self)
107 | promise.completeWithTask {
108 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'type' with non-sendable type 'Resolver' in a '@Sendable' closure; this is an error in the Swift 6 language mode
109 | }
110 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:108:55: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
2 | import NIO
3 |
4 | public class Key<ObjectType, Resolver, Context, Arguments: Codable>: KeyComponent<
| `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Resolver,
:
106 | let promise = eventLoopGroup.next().makePromise(of: ObjectType?.self)
107 | promise.completeWithTask {
108 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
109 | }
110 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Federation/Key/Key.swift:108:64: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
2 | import NIO
3 |
4 | public class Key<ObjectType, Resolver, Context, Arguments: Codable>: KeyComponent<
| `- note: consider making generic parameter 'Arguments' conform to the 'Sendable' protocol
5 | ObjectType,
6 | Resolver,
:
106 | let promise = eventLoopGroup.next().makePromise(of: ObjectType?.self)
107 | promise.completeWithTask {
108 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
109 | }
110 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Federation/Service.swift:7:5: warning: let 'serviceType' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
5 | }
6 |
7 | let serviceType = try! GraphQLObjectType(
| `- warning: let 'serviceType' is not concurrency-safe because non-'Sendable' type 'GraphQLObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
8 | name: "_Service",
9 | description: "Federation service object",
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GraphQL/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?
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Federation/Service.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
1 | import GraphQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GraphQL'
2 |
3 | struct Service: Codable {
:
5 | }
6 |
7 | let serviceType = try! GraphQLObjectType(
| |- note: add '@MainActor' to make let 'serviceType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | name: "_Service",
9 | description: "Federation service object",
[437/441] Compiling Graphiti PartialSchema.swift
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:628:31: warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<SourceEventType, Context, Arguments, ResolveType>' (aka '(SourceEventType) -> (Context, Arguments) async throws -> ResolveType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
626 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
627 | promise.completeWithTask {
628 | try await concurrentResolve(type)(context, arguments)
| |- warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<SourceEventType, Context, Arguments, ResolveType>' (aka '(SourceEventType) -> (Context, Arguments) async throws -> ResolveType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
629 | }
630 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:628:49: warning: capture of 'type' with non-sendable type 'SourceEventType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
5 |
6 | public class SubscriptionField<
7 | SourceEventType,
| `- note: consider making generic parameter 'SourceEventType' conform to the 'Sendable' protocol
8 | ObjectType,
9 | Context,
:
626 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
627 | promise.completeWithTask {
628 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'type' with non-sendable type 'SourceEventType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
629 | }
630 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:628:55: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
7 | SourceEventType,
8 | ObjectType,
9 | Context,
| `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
10 | FieldType,
11 | Arguments: Decodable
:
626 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
627 | promise.completeWithTask {
628 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
629 | }
630 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:628:64: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | Context,
10 | FieldType,
11 | Arguments: Decodable
| `- note: consider making generic parameter 'Arguments' conform to the 'Sendable' protocol
12 | >: FieldComponent<ObjectType, Context> {
13 | let name: String
:
626 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
627 | promise.completeWithTask {
628 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
629 | }
630 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:643:31: warning: capture of 'concurrentSubscribe' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, EventStream<SourceEventType>>' (aka '(ObjectType) -> (Context, Arguments) async throws -> EventStream<SourceEventType>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
641 | .makePromise(of: EventStream<SourceEventType>.self)
642 | promise.completeWithTask {
643 | try await concurrentSubscribe(type)(context, arguments)
| |- warning: capture of 'concurrentSubscribe' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, EventStream<SourceEventType>>' (aka '(ObjectType) -> (Context, Arguments) async throws -> EventStream<SourceEventType>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
644 | }
645 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:643:51: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
6 | public class SubscriptionField<
7 | SourceEventType,
8 | ObjectType,
| `- note: consider making generic parameter 'ObjectType' conform to the 'Sendable' protocol
9 | Context,
10 | FieldType,
:
641 | .makePromise(of: EventStream<SourceEventType>.self)
642 | promise.completeWithTask {
643 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
644 | }
645 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:643:57: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
7 | SourceEventType,
8 | ObjectType,
9 | Context,
| `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
10 | FieldType,
11 | Arguments: Decodable
:
641 | .makePromise(of: EventStream<SourceEventType>.self)
642 | promise.completeWithTask {
643 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
644 | }
645 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:643:66: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | Context,
10 | FieldType,
11 | Arguments: Decodable
| `- note: consider making generic parameter 'Arguments' conform to the 'Sendable' protocol
12 | >: FieldComponent<ObjectType, Context> {
13 | let name: String
:
641 | .makePromise(of: EventStream<SourceEventType>.self)
642 | promise.completeWithTask {
643 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
644 | }
645 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:678:31: warning: capture of 'concurrentSubscribe' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, EventStream<SourceEventType>>' (aka '(ObjectType) -> (Context, Arguments) async throws -> EventStream<SourceEventType>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
676 | .makePromise(of: EventStream<SourceEventType>.self)
677 | promise.completeWithTask {
678 | try await concurrentSubscribe(type)(context, arguments)
| |- warning: capture of 'concurrentSubscribe' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, EventStream<SourceEventType>>' (aka '(ObjectType) -> (Context, Arguments) async throws -> EventStream<SourceEventType>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
679 | }
680 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:678:51: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
6 | public class SubscriptionField<
7 | SourceEventType,
8 | ObjectType,
| `- note: consider making generic parameter 'ObjectType' conform to the 'Sendable' protocol
9 | Context,
10 | FieldType,
:
676 | .makePromise(of: EventStream<SourceEventType>.self)
677 | promise.completeWithTask {
678 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
679 | }
680 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:678:57: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
7 | SourceEventType,
8 | ObjectType,
9 | Context,
| `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
10 | FieldType,
11 | Arguments: Decodable
:
676 | .makePromise(of: EventStream<SourceEventType>.self)
677 | promise.completeWithTask {
678 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
679 | }
680 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:678:66: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | Context,
10 | FieldType,
11 | Arguments: Decodable
| `- note: consider making generic parameter 'Arguments' conform to the 'Sendable' protocol
12 | >: FieldComponent<ObjectType, Context> {
13 | let name: String
:
676 | .makePromise(of: EventStream<SourceEventType>.self)
677 | promise.completeWithTask {
678 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
679 | }
680 | return promise.futureResult
[438/441] Compiling Graphiti SchemaBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:628:31: warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<SourceEventType, Context, Arguments, ResolveType>' (aka '(SourceEventType) -> (Context, Arguments) async throws -> ResolveType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
626 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
627 | promise.completeWithTask {
628 | try await concurrentResolve(type)(context, arguments)
| |- warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<SourceEventType, Context, Arguments, ResolveType>' (aka '(SourceEventType) -> (Context, Arguments) async throws -> ResolveType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
629 | }
630 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:628:49: warning: capture of 'type' with non-sendable type 'SourceEventType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
5 |
6 | public class SubscriptionField<
7 | SourceEventType,
| `- note: consider making generic parameter 'SourceEventType' conform to the 'Sendable' protocol
8 | ObjectType,
9 | Context,
:
626 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
627 | promise.completeWithTask {
628 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'type' with non-sendable type 'SourceEventType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
629 | }
630 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:628:55: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
7 | SourceEventType,
8 | ObjectType,
9 | Context,
| `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
10 | FieldType,
11 | Arguments: Decodable
:
626 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
627 | promise.completeWithTask {
628 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
629 | }
630 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:628:64: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | Context,
10 | FieldType,
11 | Arguments: Decodable
| `- note: consider making generic parameter 'Arguments' conform to the 'Sendable' protocol
12 | >: FieldComponent<ObjectType, Context> {
13 | let name: String
:
626 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
627 | promise.completeWithTask {
628 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
629 | }
630 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:643:31: warning: capture of 'concurrentSubscribe' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, EventStream<SourceEventType>>' (aka '(ObjectType) -> (Context, Arguments) async throws -> EventStream<SourceEventType>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
641 | .makePromise(of: EventStream<SourceEventType>.self)
642 | promise.completeWithTask {
643 | try await concurrentSubscribe(type)(context, arguments)
| |- warning: capture of 'concurrentSubscribe' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, EventStream<SourceEventType>>' (aka '(ObjectType) -> (Context, Arguments) async throws -> EventStream<SourceEventType>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
644 | }
645 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:643:51: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
6 | public class SubscriptionField<
7 | SourceEventType,
8 | ObjectType,
| `- note: consider making generic parameter 'ObjectType' conform to the 'Sendable' protocol
9 | Context,
10 | FieldType,
:
641 | .makePromise(of: EventStream<SourceEventType>.self)
642 | promise.completeWithTask {
643 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
644 | }
645 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:643:57: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
7 | SourceEventType,
8 | ObjectType,
9 | Context,
| `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
10 | FieldType,
11 | Arguments: Decodable
:
641 | .makePromise(of: EventStream<SourceEventType>.self)
642 | promise.completeWithTask {
643 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
644 | }
645 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:643:66: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | Context,
10 | FieldType,
11 | Arguments: Decodable
| `- note: consider making generic parameter 'Arguments' conform to the 'Sendable' protocol
12 | >: FieldComponent<ObjectType, Context> {
13 | let name: String
:
641 | .makePromise(of: EventStream<SourceEventType>.self)
642 | promise.completeWithTask {
643 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
644 | }
645 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:678:31: warning: capture of 'concurrentSubscribe' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, EventStream<SourceEventType>>' (aka '(ObjectType) -> (Context, Arguments) async throws -> EventStream<SourceEventType>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
676 | .makePromise(of: EventStream<SourceEventType>.self)
677 | promise.completeWithTask {
678 | try await concurrentSubscribe(type)(context, arguments)
| |- warning: capture of 'concurrentSubscribe' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, EventStream<SourceEventType>>' (aka '(ObjectType) -> (Context, Arguments) async throws -> EventStream<SourceEventType>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
679 | }
680 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:678:51: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
6 | public class SubscriptionField<
7 | SourceEventType,
8 | ObjectType,
| `- note: consider making generic parameter 'ObjectType' conform to the 'Sendable' protocol
9 | Context,
10 | FieldType,
:
676 | .makePromise(of: EventStream<SourceEventType>.self)
677 | promise.completeWithTask {
678 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
679 | }
680 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:678:57: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
7 | SourceEventType,
8 | ObjectType,
9 | Context,
| `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
10 | FieldType,
11 | Arguments: Decodable
:
676 | .makePromise(of: EventStream<SourceEventType>.self)
677 | promise.completeWithTask {
678 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
679 | }
680 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:678:66: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | Context,
10 | FieldType,
11 | Arguments: Decodable
| `- note: consider making generic parameter 'Arguments' conform to the 'Sendable' protocol
12 | >: FieldComponent<ObjectType, Context> {
13 | let name: String
:
676 | .makePromise(of: EventStream<SourceEventType>.self)
677 | promise.completeWithTask {
678 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
679 | }
680 | return promise.futureResult
[439/441] Compiling Graphiti SubscribeField.swift
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:628:31: warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<SourceEventType, Context, Arguments, ResolveType>' (aka '(SourceEventType) -> (Context, Arguments) async throws -> ResolveType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
626 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
627 | promise.completeWithTask {
628 | try await concurrentResolve(type)(context, arguments)
| |- warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<SourceEventType, Context, Arguments, ResolveType>' (aka '(SourceEventType) -> (Context, Arguments) async throws -> ResolveType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
629 | }
630 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:628:49: warning: capture of 'type' with non-sendable type 'SourceEventType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
5 |
6 | public class SubscriptionField<
7 | SourceEventType,
| `- note: consider making generic parameter 'SourceEventType' conform to the 'Sendable' protocol
8 | ObjectType,
9 | Context,
:
626 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
627 | promise.completeWithTask {
628 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'type' with non-sendable type 'SourceEventType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
629 | }
630 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:628:55: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
7 | SourceEventType,
8 | ObjectType,
9 | Context,
| `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
10 | FieldType,
11 | Arguments: Decodable
:
626 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
627 | promise.completeWithTask {
628 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
629 | }
630 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:628:64: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | Context,
10 | FieldType,
11 | Arguments: Decodable
| `- note: consider making generic parameter 'Arguments' conform to the 'Sendable' protocol
12 | >: FieldComponent<ObjectType, Context> {
13 | let name: String
:
626 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
627 | promise.completeWithTask {
628 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
629 | }
630 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:643:31: warning: capture of 'concurrentSubscribe' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, EventStream<SourceEventType>>' (aka '(ObjectType) -> (Context, Arguments) async throws -> EventStream<SourceEventType>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
641 | .makePromise(of: EventStream<SourceEventType>.self)
642 | promise.completeWithTask {
643 | try await concurrentSubscribe(type)(context, arguments)
| |- warning: capture of 'concurrentSubscribe' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, EventStream<SourceEventType>>' (aka '(ObjectType) -> (Context, Arguments) async throws -> EventStream<SourceEventType>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
644 | }
645 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:643:51: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
6 | public class SubscriptionField<
7 | SourceEventType,
8 | ObjectType,
| `- note: consider making generic parameter 'ObjectType' conform to the 'Sendable' protocol
9 | Context,
10 | FieldType,
:
641 | .makePromise(of: EventStream<SourceEventType>.self)
642 | promise.completeWithTask {
643 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
644 | }
645 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:643:57: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
7 | SourceEventType,
8 | ObjectType,
9 | Context,
| `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
10 | FieldType,
11 | Arguments: Decodable
:
641 | .makePromise(of: EventStream<SourceEventType>.self)
642 | promise.completeWithTask {
643 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
644 | }
645 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:643:66: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | Context,
10 | FieldType,
11 | Arguments: Decodable
| `- note: consider making generic parameter 'Arguments' conform to the 'Sendable' protocol
12 | >: FieldComponent<ObjectType, Context> {
13 | let name: String
:
641 | .makePromise(of: EventStream<SourceEventType>.self)
642 | promise.completeWithTask {
643 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
644 | }
645 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:678:31: warning: capture of 'concurrentSubscribe' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, EventStream<SourceEventType>>' (aka '(ObjectType) -> (Context, Arguments) async throws -> EventStream<SourceEventType>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
676 | .makePromise(of: EventStream<SourceEventType>.self)
677 | promise.completeWithTask {
678 | try await concurrentSubscribe(type)(context, arguments)
| |- warning: capture of 'concurrentSubscribe' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, EventStream<SourceEventType>>' (aka '(ObjectType) -> (Context, Arguments) async throws -> EventStream<SourceEventType>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
679 | }
680 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:678:51: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
6 | public class SubscriptionField<
7 | SourceEventType,
8 | ObjectType,
| `- note: consider making generic parameter 'ObjectType' conform to the 'Sendable' protocol
9 | Context,
10 | FieldType,
:
676 | .makePromise(of: EventStream<SourceEventType>.self)
677 | promise.completeWithTask {
678 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
679 | }
680 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:678:57: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
7 | SourceEventType,
8 | ObjectType,
9 | Context,
| `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
10 | FieldType,
11 | Arguments: Decodable
:
676 | .makePromise(of: EventStream<SourceEventType>.self)
677 | promise.completeWithTask {
678 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
679 | }
680 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:678:66: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | Context,
10 | FieldType,
11 | Arguments: Decodable
| `- note: consider making generic parameter 'Arguments' conform to the 'Sendable' protocol
12 | >: FieldComponent<ObjectType, Context> {
13 | let name: String
:
676 | .makePromise(of: EventStream<SourceEventType>.self)
677 | promise.completeWithTask {
678 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
679 | }
680 | return promise.futureResult
[440/441] Compiling Graphiti SubscribeResolve.swift
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:628:31: warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<SourceEventType, Context, Arguments, ResolveType>' (aka '(SourceEventType) -> (Context, Arguments) async throws -> ResolveType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
626 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
627 | promise.completeWithTask {
628 | try await concurrentResolve(type)(context, arguments)
| |- warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<SourceEventType, Context, Arguments, ResolveType>' (aka '(SourceEventType) -> (Context, Arguments) async throws -> ResolveType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
629 | }
630 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:628:49: warning: capture of 'type' with non-sendable type 'SourceEventType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
5 |
6 | public class SubscriptionField<
7 | SourceEventType,
| `- note: consider making generic parameter 'SourceEventType' conform to the 'Sendable' protocol
8 | ObjectType,
9 | Context,
:
626 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
627 | promise.completeWithTask {
628 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'type' with non-sendable type 'SourceEventType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
629 | }
630 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:628:55: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
7 | SourceEventType,
8 | ObjectType,
9 | Context,
| `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
10 | FieldType,
11 | Arguments: Decodable
:
626 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
627 | promise.completeWithTask {
628 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
629 | }
630 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:628:64: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | Context,
10 | FieldType,
11 | Arguments: Decodable
| `- note: consider making generic parameter 'Arguments' conform to the 'Sendable' protocol
12 | >: FieldComponent<ObjectType, Context> {
13 | let name: String
:
626 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
627 | promise.completeWithTask {
628 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
629 | }
630 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:643:31: warning: capture of 'concurrentSubscribe' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, EventStream<SourceEventType>>' (aka '(ObjectType) -> (Context, Arguments) async throws -> EventStream<SourceEventType>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
641 | .makePromise(of: EventStream<SourceEventType>.self)
642 | promise.completeWithTask {
643 | try await concurrentSubscribe(type)(context, arguments)
| |- warning: capture of 'concurrentSubscribe' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, EventStream<SourceEventType>>' (aka '(ObjectType) -> (Context, Arguments) async throws -> EventStream<SourceEventType>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
644 | }
645 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:643:51: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
6 | public class SubscriptionField<
7 | SourceEventType,
8 | ObjectType,
| `- note: consider making generic parameter 'ObjectType' conform to the 'Sendable' protocol
9 | Context,
10 | FieldType,
:
641 | .makePromise(of: EventStream<SourceEventType>.self)
642 | promise.completeWithTask {
643 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
644 | }
645 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:643:57: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
7 | SourceEventType,
8 | ObjectType,
9 | Context,
| `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
10 | FieldType,
11 | Arguments: Decodable
:
641 | .makePromise(of: EventStream<SourceEventType>.self)
642 | promise.completeWithTask {
643 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
644 | }
645 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:643:66: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | Context,
10 | FieldType,
11 | Arguments: Decodable
| `- note: consider making generic parameter 'Arguments' conform to the 'Sendable' protocol
12 | >: FieldComponent<ObjectType, Context> {
13 | let name: String
:
641 | .makePromise(of: EventStream<SourceEventType>.self)
642 | promise.completeWithTask {
643 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
644 | }
645 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:678:31: warning: capture of 'concurrentSubscribe' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, EventStream<SourceEventType>>' (aka '(ObjectType) -> (Context, Arguments) async throws -> EventStream<SourceEventType>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
676 | .makePromise(of: EventStream<SourceEventType>.self)
677 | promise.completeWithTask {
678 | try await concurrentSubscribe(type)(context, arguments)
| |- warning: capture of 'concurrentSubscribe' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, EventStream<SourceEventType>>' (aka '(ObjectType) -> (Context, Arguments) async throws -> EventStream<SourceEventType>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
679 | }
680 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:678:51: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
6 | public class SubscriptionField<
7 | SourceEventType,
8 | ObjectType,
| `- note: consider making generic parameter 'ObjectType' conform to the 'Sendable' protocol
9 | Context,
10 | FieldType,
:
676 | .makePromise(of: EventStream<SourceEventType>.self)
677 | promise.completeWithTask {
678 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
679 | }
680 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:678:57: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
7 | SourceEventType,
8 | ObjectType,
9 | Context,
| `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
10 | FieldType,
11 | Arguments: Decodable
:
676 | .makePromise(of: EventStream<SourceEventType>.self)
677 | promise.completeWithTask {
678 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
679 | }
680 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:678:66: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | Context,
10 | FieldType,
11 | Arguments: Decodable
| `- note: consider making generic parameter 'Arguments' conform to the 'Sendable' protocol
12 | >: FieldComponent<ObjectType, Context> {
13 | let name: String
:
676 | .makePromise(of: EventStream<SourceEventType>.self)
677 | promise.completeWithTask {
678 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
679 | }
680 | return promise.futureResult
[441/441] Compiling Graphiti Subscription.swift
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:628:31: warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<SourceEventType, Context, Arguments, ResolveType>' (aka '(SourceEventType) -> (Context, Arguments) async throws -> ResolveType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
626 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
627 | promise.completeWithTask {
628 | try await concurrentResolve(type)(context, arguments)
| |- warning: capture of 'concurrentResolve' with non-sendable type 'ConcurrentResolve<SourceEventType, Context, Arguments, ResolveType>' (aka '(SourceEventType) -> (Context, Arguments) async throws -> ResolveType') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
629 | }
630 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:628:49: warning: capture of 'type' with non-sendable type 'SourceEventType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
5 |
6 | public class SubscriptionField<
7 | SourceEventType,
| `- note: consider making generic parameter 'SourceEventType' conform to the 'Sendable' protocol
8 | ObjectType,
9 | Context,
:
626 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
627 | promise.completeWithTask {
628 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'type' with non-sendable type 'SourceEventType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
629 | }
630 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:628:55: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
7 | SourceEventType,
8 | ObjectType,
9 | Context,
| `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
10 | FieldType,
11 | Arguments: Decodable
:
626 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
627 | promise.completeWithTask {
628 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
629 | }
630 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:628:64: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | Context,
10 | FieldType,
11 | Arguments: Decodable
| `- note: consider making generic parameter 'Arguments' conform to the 'Sendable' protocol
12 | >: FieldComponent<ObjectType, Context> {
13 | let name: String
:
626 | let promise = eventLoopGroup.next().makePromise(of: ResolveType.self)
627 | promise.completeWithTask {
628 | try await concurrentResolve(type)(context, arguments)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
629 | }
630 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:643:31: warning: capture of 'concurrentSubscribe' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, EventStream<SourceEventType>>' (aka '(ObjectType) -> (Context, Arguments) async throws -> EventStream<SourceEventType>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
641 | .makePromise(of: EventStream<SourceEventType>.self)
642 | promise.completeWithTask {
643 | try await concurrentSubscribe(type)(context, arguments)
| |- warning: capture of 'concurrentSubscribe' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, EventStream<SourceEventType>>' (aka '(ObjectType) -> (Context, Arguments) async throws -> EventStream<SourceEventType>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
644 | }
645 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:643:51: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
6 | public class SubscriptionField<
7 | SourceEventType,
8 | ObjectType,
| `- note: consider making generic parameter 'ObjectType' conform to the 'Sendable' protocol
9 | Context,
10 | FieldType,
:
641 | .makePromise(of: EventStream<SourceEventType>.self)
642 | promise.completeWithTask {
643 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
644 | }
645 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:643:57: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
7 | SourceEventType,
8 | ObjectType,
9 | Context,
| `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
10 | FieldType,
11 | Arguments: Decodable
:
641 | .makePromise(of: EventStream<SourceEventType>.self)
642 | promise.completeWithTask {
643 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
644 | }
645 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:643:66: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | Context,
10 | FieldType,
11 | Arguments: Decodable
| `- note: consider making generic parameter 'Arguments' conform to the 'Sendable' protocol
12 | >: FieldComponent<ObjectType, Context> {
13 | let name: String
:
641 | .makePromise(of: EventStream<SourceEventType>.self)
642 | promise.completeWithTask {
643 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
644 | }
645 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:678:31: warning: capture of 'concurrentSubscribe' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, EventStream<SourceEventType>>' (aka '(ObjectType) -> (Context, Arguments) async throws -> EventStream<SourceEventType>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
676 | .makePromise(of: EventStream<SourceEventType>.self)
677 | promise.completeWithTask {
678 | try await concurrentSubscribe(type)(context, arguments)
| |- warning: capture of 'concurrentSubscribe' with non-sendable type 'ConcurrentResolve<ObjectType, Context, Arguments, EventStream<SourceEventType>>' (aka '(ObjectType) -> (Context, Arguments) async throws -> EventStream<SourceEventType>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
679 | }
680 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:678:51: warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
6 | public class SubscriptionField<
7 | SourceEventType,
8 | ObjectType,
| `- note: consider making generic parameter 'ObjectType' conform to the 'Sendable' protocol
9 | Context,
10 | FieldType,
:
676 | .makePromise(of: EventStream<SourceEventType>.self)
677 | promise.completeWithTask {
678 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'type' with non-sendable type 'ObjectType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
679 | }
680 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:678:57: warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
7 | SourceEventType,
8 | ObjectType,
9 | Context,
| `- note: consider making generic parameter 'Context' conform to the 'Sendable' protocol
10 | FieldType,
11 | Arguments: Decodable
:
676 | .makePromise(of: EventStream<SourceEventType>.self)
677 | promise.completeWithTask {
678 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'context' with non-sendable type 'Context' in a '@Sendable' closure; this is an error in the Swift 6 language mode
679 | }
680 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/Graphiti/Subscription/SubscribeField.swift:678:66: warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | Context,
10 | FieldType,
11 | Arguments: Decodable
| `- note: consider making generic parameter 'Arguments' conform to the 'Sendable' protocol
12 | >: FieldComponent<ObjectType, Context> {
13 | let name: String
:
676 | .makePromise(of: EventStream<SourceEventType>.self)
677 | promise.completeWithTask {
678 | try await concurrentSubscribe(type)(context, arguments)
| `- warning: capture of 'arguments' with non-sendable type 'Arguments' in a '@Sendable' closure; this is an error in the Swift 6 language mode
679 | }
680 | return promise.futureResult
Build complete! (19.10s)
Build complete.
{
"dependencies" : [
{
"identity" : "graphql",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/GraphQLSwift/GraphQL.git"
}
],
"manifest_display_name" : "Graphiti",
"name" : "Graphiti",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Graphiti",
"targets" : [
"Graphiti"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "GraphitiTests",
"module_type" : "SwiftTarget",
"name" : "GraphitiTests",
"path" : "Tests/GraphitiTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/GraphitiTests/FederationTests/GraphQL",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"ConnectionTests.swift",
"DefaultValueTests.swift",
"DirectiveTests/DirectiveTests.swift",
"FederationTests/FederationOnlySchemaTests.swift",
"FederationTests/FederationTests.swift",
"HelloWorldTests/HelloWorldAsyncTests.swift",
"HelloWorldTests/HelloWorldTests.swift",
"PartialSchemaTests.swift",
"ProductAPI/ProductAPI.swift",
"ProductAPI/ProductContext.swift",
"ProductAPI/ProductEntities.swift",
"ProductAPI/ProductResolver.swift",
"ProductAPI/ProductSchema.swift",
"ScalarTests.swift",
"SchemaBuilderTests.swift",
"SchemaTests.swift",
"StarWarsAPI/StarWarsAPI.swift",
"StarWarsAPI/StarWarsContext.swift",
"StarWarsAPI/StarWarsEntities.swift",
"StarWarsAPI/StarWarsResolver.swift",
"StarWarsTests/StarWarsIntrospectionTests.swift",
"StarWarsTests/StarWarsQueryTests.swift",
"UnionTests.swift",
"ValidationRulesTests.swift"
],
"target_dependencies" : [
"Graphiti"
],
"type" : "test"
},
{
"c99name" : "Graphiti",
"module_type" : "SwiftTarget",
"name" : "Graphiti",
"path" : "Sources/Graphiti",
"product_dependencies" : [
"GraphQL"
],
"product_memberships" : [
"Graphiti"
],
"sources" : [
"API/API.swift",
"Argument/Argument.swift",
"Argument/ArgumentComponent.swift",
"Argument/ArgumentComponentBuilder.swift",
"Argument/NoArguments.swift",
"Coder/Coders.swift",
"Component/Component.swift",
"Component/ComponentBuilder.swift",
"Component/TypeComponent.swift",
"Component/TypeComponentBuilder.swift",
"Connection/Connection.swift",
"Connection/ConnectionType.swift",
"Connection/Edge.swift",
"Connection/PageInfo.swift",
"Connection/PagniationArguments/BackwardPaginationArguments.swift",
"Connection/PagniationArguments/ForwardPaginationArguments.swift",
"Connection/PagniationArguments/PaginationArguments.swift",
"Context/NoContext.swift",
"Definition/AnyType.swift",
"Definition/Reflection.swift",
"Definition/TypeProvider.swift",
"Definition/Wrappers.swift",
"Enum/Enum.swift",
"Federation/Any.swift",
"Federation/Entity.swift",
"Federation/Key/Key.swift",
"Federation/Key/KeyComponent.swift",
"Federation/Key/Type+Key.swift",
"Federation/Queries.swift",
"Federation/Service.swift",
"Field/Field/Field.swift",
"Field/Field/FieldComponent.swift",
"Field/Field/FieldComponentBuilder.swift",
"Field/Resolve/AsyncResolve.swift",
"Field/Resolve/ConcurrentResolve.swift",
"Field/Resolve/SimpleAsyncResolve.swift",
"Field/Resolve/SyncResolve.swift",
"Input/Input.swift",
"InputField/InputField.swift",
"InputField/InputFieldComponent.swift",
"InputField/InputFieldComponentBuilder.swift",
"Interface/Interface.swift",
"Mutation/Mutation.swift",
"Query/Query.swift",
"Scalar/Scalar.swift",
"Schema/Schema.swift",
"Schema/SchemaTypeProvider.swift",
"SchemaBuilders/PartialSchema.swift",
"SchemaBuilders/SchemaBuilder.swift",
"Subscription/SubscribeField.swift",
"Subscription/SubscribeResolve.swift",
"Subscription/Subscription.swift",
"Type/Type.swift",
"Union/Union.swift",
"Validation/NoIntrospectionRule.swift",
"Value/Value.swift",
"Value/ValueBuilder.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
Done.