Build Information
Successful build of DataLoader, reference 2.3.1 (3945e9
), with Swift 6.1 for Linux on 21 Jun 2025 20:21:01 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/GraphQLSwift/DataLoader.git
Reference: 2.3.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/GraphQLSwift/DataLoader
* tag 2.3.1 -> FETCH_HEAD
HEAD is now at 3945e9c Merge pull request #25 from NeedleInAJayStack/docs/spi
Cloned https://github.com/GraphQLSwift/DataLoader.git
Revision (git rev-parse @):
3945e9c9262c3792a0a4c952761f4e0de70df563
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/GraphQLSwift/DataLoader.git at 2.3.1
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/GraphQLSwift/DataLoader.git
https://github.com/GraphQLSwift/DataLoader.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-algorithms",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-algorithms.git"
},
{
"identity" : "async-collections",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/adam-fowler/async-collections"
},
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
}
],
"manifest_display_name" : "DataLoader",
"name" : "DataLoader",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "tvos",
"version" : "15.0"
},
{
"name" : "watchos",
"version" : "8.0"
}
],
"products" : [
{
"name" : "DataLoader",
"targets" : [
"DataLoader"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "AsyncDataLoader",
"targets" : [
"AsyncDataLoader"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "DataLoaderTests",
"module_type" : "SwiftTarget",
"name" : "DataLoaderTests",
"path" : "Tests/DataLoaderTests",
"product_dependencies" : [
"NIOCore",
"NIOPosix"
],
"sources" : [
"DataLoaderAbuseTests.swift",
"DataLoaderAsyncTests.swift",
"DataLoaderTests.swift"
],
"target_dependencies" : [
"DataLoader"
],
"type" : "test"
},
{
"c99name" : "DataLoader",
"module_type" : "SwiftTarget",
"name" : "DataLoader",
"path" : "Sources/DataLoader",
"product_dependencies" : [
"NIOCore",
"NIOConcurrencyHelpers"
],
"product_memberships" : [
"DataLoader"
],
"sources" : [
"DataLoader.swift",
"DataLoaderError.swift",
"DataLoaderOptions.swift"
],
"type" : "library"
},
{
"c99name" : "AsyncDataLoaderTests",
"module_type" : "SwiftTarget",
"name" : "AsyncDataLoaderTests",
"path" : "Tests/AsyncDataLoaderTests",
"sources" : [
"DataLoaderAbuseTests.swift",
"DataLoaderTests.swift"
],
"target_dependencies" : [
"AsyncDataLoader"
],
"type" : "test"
},
{
"c99name" : "AsyncDataLoader",
"module_type" : "SwiftTarget",
"name" : "AsyncDataLoader",
"path" : "Sources/AsyncDataLoader",
"product_dependencies" : [
"Algorithms",
"AsyncCollections"
],
"product_memberships" : [
"AsyncDataLoader"
],
"sources" : [
"Channel/Channel.swift",
"Channel/State.swift",
"DataLoader.swift",
"DataLoaderError.swift",
"DataLoaderOptions.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:2e2b3aca8600f890617c2faa770b70e33c1dfd303d6f92b308423b89ef6bde64
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/adam-fowler/async-collections
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-nio.git
[1/289] Fetching async-collections
[290/6248] Fetching async-collections, swift-algorithms
Fetched https://github.com/adam-fowler/async-collections from cache (0.43s)
[1/76339] Fetching swift-nio
Fetched https://github.com/apple/swift-algorithms.git from cache (5.07s)
Fetched https://github.com/apple/swift-nio.git from cache (5.18s)
Computing version for https://github.com/adam-fowler/async-collections
Computed https://github.com/adam-fowler/async-collections at 0.1.0 (5.74s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
[1/1797] Fetching swift-atomics
[1798/18437] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (0.47s)
[1997/16640] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.70s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (3.89s)
Fetching https://github.com/apple/swift-numerics.git
[1/5757] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.47s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (1.12s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.68s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.72s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (0.79s)
Fetching https://github.com/apple/swift-system.git
[1/4436] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.38s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.85s)
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.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-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/adam-fowler/async-collections
Working copy of https://github.com/adam-fowler/async-collections resolved at 0.1.0
Building for debugging...
[0/29] Write sources
[13/29] Compiling _NumericsShims _NumericsShims.c
[14/29] Compiling CNIOWindows shim.c
[15/29] Compiling CNIOWindows WSAStartup.c
[16/29] Compiling _AtomicsShims.c
[16/29] Write sources
[19/29] Compiling CNIOWASI CNIOWASI.c
[23/29] Compiling CNIODarwin shim.c
[24/29] Compiling CNIOLinux liburing_shims.c
[25/29] Compiling CNIOLinux shim.c
[26/29] Write swift-version-24593BA9C3E375BF.txt
[28/77] Emitting module Atomics
[29/79] Compiling _NIODataStructures PriorityQueue.swift
[30/79] Compiling RealModule Float80+Real.swift
[31/79] Compiling _NIODataStructures _TinyArray.swift
[32/80] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[33/81] Compiling Atomics IntegerOperations.swift
[34/81] Compiling Atomics Unmanaged extensions.swift
[35/81] Compiling Atomics IntegerConformances.swift
[36/81] Compiling Atomics PointerConformances.swift
[37/81] Compiling Atomics OptionalRawRepresentable.swift
[38/81] Compiling Atomics RawRepresentable.swift
[39/81] Compiling RealModule Real.swift
[40/81] Compiling Atomics AtomicStorage.swift
[41/81] Compiling Atomics AtomicValue.swift
[42/81] Emitting module RealModule
[43/81] Compiling Atomics AtomicMemoryOrderings.swift
[44/81] Compiling Atomics DoubleWord.swift
[45/81] Compiling Atomics UnsafeAtomic.swift
[46/81] Compiling Atomics UnsafeAtomicLazyReference.swift
[47/81] Compiling Atomics ManagedAtomic.swift
[48/81] Compiling Atomics ManagedAtomicLazyReference.swift
[49/81] Compiling _NIOBase64 Base64.swift
[50/81] Emitting module _NIOBase64
[51/82] Compiling RealModule ElementaryFunctions.swift
[54/82] Emitting module InternalCollectionsUtilities
[57/82] Compiling Atomics AtomicOptionalWrappable.swift
[58/82] Compiling Atomics AtomicReference.swift
[59/82] Compiling Atomics AtomicBool.swift
[60/82] Compiling Atomics AtomicInteger.swift
[61/82] Compiling RealModule Float+Real.swift
[62/82] Compiling RealModule Float16+Real.swift
[75/82] Compiling Atomics Primitives.native.swift
[76/83] Compiling RealModule RealFunctions.swift
[79/84] Compiling c-nioatomics.c
[81/84] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[83/331] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[84/331] Compiling HeapModule Heap+Descriptions.swift
[85/331] Compiling HashTreeCollections _Bucket.swift
[86/331] Compiling HashTreeCollections _Hash.swift
[87/331] Compiling HashTreeCollections _HashLevel.swift
[88/331] Compiling HashTreeCollections _HashNode+Builder.swift
[89/333] Compiling HashTreeCollections _HashNode+Structural symmetricDifference.swift
[90/333] Compiling HashTreeCollections _HashNode+Structural union.swift
[91/333] Compiling HeapModule _HeapNode.swift
[92/333] Emitting module _NIODataStructures
[93/333] Compiling _NIODataStructures Heap.swift
[94/334] Compiling HeapModule Heap.swift
[94/334] Compiling c-atomics.c
[96/334] Compiling HeapModule Heap+UnsafeHandle.swift
[97/334] Compiling HeapModule Heap+Invariants.swift
[99/334] Emitting module HeapModule
[101/335] Compiling HashTreeCollections TreeSet+Hashable.swift
[102/335] Compiling HashTreeCollections TreeSet+Sendable.swift
[103/335] Compiling HashTreeCollections TreeSet+Sequence.swift
[104/335] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[105/335] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[106/335] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[107/335] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[108/335] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[109/335] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[110/335] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[111/397] Compiling BitCollections BitSet+SetAlgebra subtracting.swift
[112/397] Compiling BitCollections BitSet+SetAlgebra symmetricDifference.swift
[113/397] Compiling BitCollections BitSet+SetAlgebra union.swift
[114/397] Compiling BitCollections BitSet+Sorted Collection APIs.swift
[115/397] Compiling HashTreeCollections TreeDictionary+Sendable.swift
[116/397] Compiling HashTreeCollections TreeDictionary+Sequence.swift
[117/397] Compiling HashTreeCollections TreeDictionary+Values.swift
[118/397] Compiling BitCollections BitSet+CustomReflectable.swift
[119/397] Compiling BitCollections BitSet+CustomStringConvertible.swift
[120/397] Compiling BitCollections BitSet+Equatable.swift
[121/397] Compiling BitCollections BitSet+ExpressibleByArrayLiteral.swift
[122/397] Compiling BitCollections BitSet+Extras.swift
[123/397] Compiling BitCollections BitSet+Hashable.swift
[124/397] Compiling BitCollections BitSet+Initializers.swift
[125/411] Compiling BitCollections BitSet+BidirectionalCollection.swift
[126/411] Compiling BitCollections BitSet+Codable.swift
[127/411] Compiling BitCollections BitArray+Invariants.swift
[128/411] Compiling BitCollections BitArray+LosslessStringConvertible.swift
[129/411] Compiling BitCollections BitArray+Shifts.swift
[130/411] Compiling BitCollections BitArray+Testing.swift
[131/411] Compiling BitCollections BitArray+RandomBits.swift
[132/411] Compiling BitCollections BitArray+RangeReplaceableCollection.swift
[133/411] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[134/411] Compiling BitCollections BitArray+CustomReflectable.swift
[135/411] Compiling BitCollections BitArray+Descriptions.swift
[136/411] Compiling BitCollections BitArray+Equatable.swift
[138/414] Compiling BitCollections BitArray+BitwiseOperations.swift
[139/414] Compiling BitCollections BitArray+ChunkedBitsIterators.swift
[140/414] Compiling Algorithms Trim.swift
[141/414] Compiling Algorithms Unique.swift
[142/414] Compiling Algorithms Windows.swift
[143/414] Compiling BitCollections BitSet+SetAlgebra isEqualSet.swift
[144/414] Compiling BitCollections BitSet+SetAlgebra isStrictSubset.swift
[145/414] Compiling BitCollections BitSet+SetAlgebra isStrictSuperset.swift
[146/414] Compiling BitCollections BitSet+SetAlgebra isSubset.swift
[147/414] Compiling BitCollections BitSet+CustomDebugStringConvertible.swift
[148/414] Compiling BitCollections BitSet+Invariants.swift
[149/414] Compiling BitCollections BitSet+Random.swift
[150/414] Compiling BitCollections BitSet+SetAlgebra basics.swift
[151/414] Compiling BitCollections BitSet+SetAlgebra conformance.swift
[152/414] Compiling BitCollections BitSet+SetAlgebra formIntersection.swift
[153/414] Compiling BitCollections BitSet+SetAlgebra formSymmetricDifference.swift
[154/414] Compiling BitCollections BitSet+SetAlgebra isSuperset.swift
[155/414] Compiling BitCollections BitSet+SetAlgebra subtract.swift
[170/414] Compiling BitCollections BitArray._UnsafeHandle.swift
[171/414] Compiling BitCollections BitArray.swift
[176/414] Compiling BitCollections BitArray+Codable.swift
[177/414] Compiling BitCollections BitArray+Collection.swift
[178/414] Compiling BitCollections BitArray+Copy.swift
[190/414] Compiling BitCollections BitSet.Counted.swift
[193/414] Compiling BitCollections BitArray+ExpressibleByArrayLiteral.swift
[194/414] Compiling BitCollections BitArray+ExpressibleByStringLiteral.swift
[195/414] Compiling NIOConcurrencyHelpers NIOLock.swift
[196/414] Compiling NIOConcurrencyHelpers lock.swift
[197/414] Emitting module DequeModule
[198/415] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[199/415] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[200/415] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[201/415] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[202/415] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[203/415] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[204/415] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[205/415] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[206/415] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[207/415] Compiling HashTreeCollections TreeSet.swift
[208/415] Emitting module NIOConcurrencyHelpers
[209/415] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[211/415] Emitting module BitCollections
[218/422] Compiling NIOConcurrencyHelpers atomics.swift
[223/423] Compiling BitCollections BitArray+Hashable.swift
[224/423] Compiling BitCollections BitArray+Initializers.swift
[261/423] Compiling BitCollections BitArray+Extras.swift
[262/423] Compiling BitCollections BitArray+Fill.swift
[267/423] Compiling HashTreeCollections _HashTreeIterator.swift
[268/423] Compiling HashTreeCollections _HashTreeStatistics.swift
[269/423] Compiling HashTreeCollections _RawHashNode+UnsafeHandle.swift
[270/423] Compiling HashTreeCollections _RawHashNode.swift
[271/423] Compiling HashTreeCollections _UnmanagedHashNode.swift
[272/423] Compiling HashTreeCollections _UnsafePath.swift
[273/423] Compiling HashTreeCollections TreeDictionary+Codable.swift
[274/423] Compiling HashTreeCollections TreeDictionary+Collection.swift
[275/423] Compiling HashTreeCollections TreeDictionary+CustomReflectable.swift
[276/423] Compiling HashTreeCollections TreeDictionary+Debugging.swift
[277/423] Compiling HashTreeCollections TreeDictionary+Descriptions.swift
[278/483] Compiling NIOCore RecvByteBufferAllocator.swift
[279/483] Compiling OrderedCollections OrderedSet.swift
[280/483] Compiling OrderedCollections _UnsafeBitset.swift
[287/483] Compiling NIOCore ByteBuffer-int.swift
[288/483] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[289/483] Compiling NIOCore MulticastChannel.swift
[290/483] Compiling NIOCore NIOAny.swift
[291/483] Compiling NIOCore NIOCloseOnErrorHandler.swift
[292/483] Compiling NIOCore NIOLoopBound.swift
[293/483] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[294/483] Compiling NIOCore NIOScheduledCallback.swift
[295/483] Compiling NIOCore NIOSendable.swift
[303/492] Compiling NIOCore AddressedEnvelope.swift
[304/492] Compiling NIOCore AsyncAwaitSupport.swift
[305/492] Compiling NIOCore AsyncChannel.swift
[306/492] Compiling NIOCore AsyncChannelHandler.swift
[307/492] Compiling NIOCore NIOAsyncWriter.swift
[308/492] Compiling NIOCore ByteBuffer-multi-int.swift
[309/492] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[310/492] Compiling NIOCore ByteBuffer-views.swift
[311/492] Compiling NIOCore Channel.swift
[312/492] Compiling NIOCore ChannelHandler.swift
[313/492] Compiling NIOCore ChannelHandlers.swift
[314/492] Compiling NIOCore ChannelInvoker.swift
[315/492] Compiling NIOCore ChannelOption.swift
[316/492] Compiling NIOCore ChannelPipeline.swift
[317/492] Compiling NIOCore CircularBuffer.swift
[318/492] Compiling NIOCore Codec.swift
[319/492] Compiling NIOCore ConvenienceOptionSupport.swift
[320/492] Compiling NIOCore DeadChannel.swift
[321/492] Compiling NIOCore DispatchQueue+WithFuture.swift
[322/492] Compiling NIOCore EventLoop+Deprecated.swift
[327/492] Compiling NIOCore AsyncChannelInboundStream.swift
[328/492] Compiling NIOCore AsyncChannelOutboundWriter.swift
[329/492] Compiling NIOCore NIOAsyncSequenceProducer.swift
[330/492] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[338/493] Emitting module OrderedCollections
[354/494] Compiling NIOCore EventLoop+SerialExecutor.swift
[355/494] Compiling NIOCore EventLoop.swift
[356/494] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[357/494] Compiling NIOCore EventLoopFuture+Deprecated.swift
[358/494] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[359/494] Compiling NIOCore EventLoopFuture.swift
[360/494] Compiling NIOCore FileDescriptor.swift
[361/494] Compiling NIOCore FileHandle.swift
[362/494] Compiling NIOCore FileRegion.swift
[374/494] Emitting module _RopeModule
[375/494] Emitting module Algorithms
[377/495] Compiling _RopeModule Rope+Join.swift
[378/495] Compiling _RopeModule Rope+MutatingForEach.swift
[379/495] Compiling _RopeModule Rope+Remove.swift
[380/495] Compiling _RopeModule Rope+RemoveSubrange.swift
[381/495] Compiling _RopeModule Rope+Split.swift
[382/495] Compiling _RopeModule Optional Utilities.swift
[383/495] Compiling _RopeModule String Utilities.swift
[384/495] Compiling _RopeModule String.Index+ABI.swift
[385/495] Compiling _RopeModule _CharacterRecognizer.swift
[386/495] Emitting module HashTreeCollections
[395/496] Compiling NIOCore IO.swift
[396/496] Compiling NIOCore IOData.swift
[397/496] Compiling NIOCore IPProtocol.swift
[398/496] Compiling NIOCore IntegerBitPacking.swift
[399/496] Compiling NIOCore IntegerTypes.swift
[400/496] Compiling NIOCore Interfaces.swift
[401/496] Compiling NIOCore Linux.swift
[402/496] Compiling NIOCore MarkedCircularBuffer.swift
[417/504] Compiling NIOCore GlobalSingletons.swift
[436/504] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[437/504] Compiling NIOCore BSDSocketAPI.swift
[438/504] Compiling NIOCore ByteBuffer-aux.swift
[439/504] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[440/504] Compiling NIOCore ByteBuffer-conversions.swift
[441/504] Compiling NIOCore ByteBuffer-core.swift
[442/504] Compiling NIOCore ByteBuffer-hex.swift
[462/507] Compiling Collections Collections.swift
[463/507] Emitting module Collections
[473/516] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[474/516] Compiling NIOCore SocketAddresses.swift
[475/516] Compiling NIOCore SocketOptionProvider.swift
[476/516] Compiling NIOCore SystemCallHelpers.swift
[477/516] Compiling NIOCore TimeAmount+Duration.swift
[478/516] Compiling NIOCore TypeAssistedChannelHandler.swift
[479/516] Compiling NIOCore UniversalBootstrapSupport.swift
[480/516] Compiling NIOCore Utilities.swift
[481/516] Compiling AsyncCollections TaskQueue.swift
[482/516] Compiling AsyncCollections FlatMap.swift
[483/516] Compiling AsyncCollections ForEach.swift
[484/516] Compiling AsyncCollections Map.swift
[485/516] Compiling AsyncCollections Filter.swift
[486/516] Compiling AsyncCollections CompactMap.swift
[487/516] Compiling AsyncCollections AsyncSemaphore.swift
[488/516] Emitting module AsyncCollections
[490/523] Emitting module AsyncDataLoader
[491/523] Emitting module NIOCore
[492/523] Compiling AsyncDataLoader DataLoaderError.swift
[493/523] Compiling AsyncDataLoader DataLoaderOptions.swift
[494/523] Compiling AsyncDataLoader Channel.swift
[522/523] Compiling AsyncDataLoader DataLoader.swift
[523/523] Compiling AsyncDataLoader State.swift
[526/529] Compiling DataLoader DataLoaderOptions.swift
[527/529] Compiling DataLoader DataLoaderError.swift
[528/529] Emitting module DataLoader
[529/529] Compiling DataLoader DataLoader.swift
/host/spi-builder-workspace/Sources/DataLoader/DataLoader.swift:70:63: warning: type 'Value' does not conform to the 'Sendable' protocol
19 | /// with different access permissions and consider creating a new instance
20 | /// per data request.
21 | public final class DataLoader<Key: Hashable, Value> {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
22 | private let batchLoadFunction: BatchLoadFunction<Key, Value>
23 | private let options: DataLoaderOptions<Key, Value>
:
68 | let result = results[0]
69 | switch result {
70 | case let .success(value): promise.succeed(value)
| `- warning: type 'Value' does not conform to the 'Sendable' protocol
71 | case let .failure(error): promise.fail(error)
72 | }
/host/spi-builder-workspace/Sources/DataLoader/DataLoader.swift:54:29: warning: capture of 'self' with non-sendable type 'DataLoader<Key, Value>' in a '@Sendable' closure
19 | /// with different access permissions and consider creating a new instance
20 | /// per data request.
21 | public final class DataLoader<Key: Hashable, Value> {
| `- note: generic class 'DataLoader' does not conform to the 'Sendable' protocol
22 | private let batchLoadFunction: BatchLoadFunction<Key, Value>
23 | private let options: DataLoaderOptions<Key, Value>
:
52 | if let executionPeriod = options.executionPeriod, !dispatchScheduled {
53 | eventLoopGroup.next().scheduleTask(in: executionPeriod) {
54 | try self.execute()
| `- warning: capture of 'self' with non-sendable type 'DataLoader<Key, Value>' in a '@Sendable' closure
55 | }
56 | dispatchScheduled = true
/host/spi-builder-workspace/Sources/DataLoader/DataLoader.swift:65:89: warning: capture of 'key' with non-sendable type 'Key' in a '@Sendable' closure
19 | /// with different access permissions and consider creating a new instance
20 | /// per data request.
21 | public final class DataLoader<Key: Hashable, Value> {
| `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
22 | private let batchLoadFunction: BatchLoadFunction<Key, Value>
23 | private let options: DataLoaderOptions<Key, Value>
:
63 | .fail(
64 | DataLoaderError
65 | .noValueForKey("Did not return value for key: \(key)")
| `- warning: capture of 'key' with non-sendable type 'Key' in a '@Sendable' closure
66 | )
67 | } else {
/host/spi-builder-workspace/Sources/DataLoader/DataLoader.swift:109:42: warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
19 | /// with different access permissions and consider creating a new instance
20 | /// per data request.
21 | public final class DataLoader<Key: Hashable, Value> {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
22 | private let batchLoadFunction: BatchLoadFunction<Key, Value>
23 | private let options: DataLoaderOptions<Key, Value>
:
107 | ) throws -> EventLoopFuture<[Value]> {
108 | guard !keys.isEmpty else {
109 | return eventLoopGroup.next().makeSucceededFuture([])
| `- warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
110 | }
111 | let futures = try keys.map { try load(key: $0, on: eventLoopGroup) }
/host/spi-builder-workspace/Sources/DataLoader/DataLoader.swift:112:32: warning: type 'Value' does not conform to the 'Sendable' protocol
19 | /// with different access permissions and consider creating a new instance
20 | /// per data request.
21 | public final class DataLoader<Key: Hashable, Value> {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
22 | private let batchLoadFunction: BatchLoadFunction<Key, Value>
23 | private let options: DataLoaderOptions<Key, Value>
:
110 | }
111 | let futures = try keys.map { try load(key: $0, on: eventLoopGroup) }
112 | return EventLoopFuture.whenAllSucceed(futures, on: eventLoopGroup.next())
| `- warning: type 'Value' does not conform to the 'Sendable' protocol
113 | }
114 |
/host/spi-builder-workspace/Sources/DataLoader/DataLoader.swift:150:25: warning: type 'Value' does not conform to the 'Sendable' protocol
19 | /// with different access permissions and consider creating a new instance
20 | /// per data request.
21 | public final class DataLoader<Key: Hashable, Value> {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
22 | private let batchLoadFunction: BatchLoadFunction<Key, Value>
23 | private let options: DataLoaderOptions<Key, Value>
:
148 | if cache[cacheKey] == nil {
149 | let promise: EventLoopPromise<Value> = eventLoop.next().makePromise()
150 | promise.succeed(value)
| `- warning: type 'Value' does not conform to the 'Sendable' protocol
151 |
152 | cache[cacheKey] = promise.futureResult
/host/spi-builder-workspace/Sources/DataLoader/DataLoader.swift:216:69: warning: type 'Value' does not conform to the 'Sendable' protocol
19 | /// with different access permissions and consider creating a new instance
20 | /// per data request.
21 | public final class DataLoader<Key: Hashable, Value> {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
22 | private let batchLoadFunction: BatchLoadFunction<Key, Value>
23 | private let options: DataLoaderOptions<Key, Value>
:
214 | switch result {
215 | case let .failure(error): entry.element.promise.fail(error)
216 | case let .success(value): entry.element.promise.succeed(value)
| `- warning: type 'Value' does not conform to the 'Sendable' protocol
217 | }
218 | }
/host/spi-builder-workspace/Sources/DataLoader/DataLoader.swift:204:36: warning: capture of 'keys' with non-sendable type '[Key]' in a '@Sendable' closure
19 | /// with different access permissions and consider creating a new instance
20 | /// per data request.
21 | public final class DataLoader<Key: Hashable, Value> {
| `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
22 | private let batchLoadFunction: BatchLoadFunction<Key, Value>
23 | private let options: DataLoaderOptions<Key, Value>
:
202 | do {
203 | _ = try batchLoadFunction(keys).flatMapThrowing { values in
204 | if values.count != keys.count {
| `- warning: capture of 'keys' with non-sendable type '[Key]' in a '@Sendable' closure
205 | throw DataLoaderError
206 | .typeError(
/host/spi-builder-workspace/Sources/DataLoader/DataLoader.swift:211:30: warning: capture of 'batch' with non-sendable type 'LoaderQueue<Key, Value>' (aka 'Array<(key: Key, promise: EventLoopPromise<Value>)>') in a '@Sendable' closure
19 | /// with different access permissions and consider creating a new instance
20 | /// per data request.
21 | public final class DataLoader<Key: Hashable, Value> {
| `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
22 | private let batchLoadFunction: BatchLoadFunction<Key, Value>
23 | private let options: DataLoaderOptions<Key, Value>
:
209 | }
210 |
211 | for entry in batch.enumerated() {
| `- warning: capture of 'batch' with non-sendable type 'LoaderQueue<Key, Value>' (aka 'Array<(key: Key, promise: EventLoopPromise<Value>)>') in a '@Sendable' closure
212 | let result = values[entry.offset]
213 |
/host/spi-builder-workspace/Sources/DataLoader/DataLoader.swift:220:17: warning: capture of 'self' with non-sendable type 'DataLoader<Key, Value>' in a '@Sendable' closure
19 | /// with different access permissions and consider creating a new instance
20 | /// per data request.
21 | public final class DataLoader<Key: Hashable, Value> {
| `- note: generic class 'DataLoader' does not conform to the 'Sendable' protocol
22 | private let batchLoadFunction: BatchLoadFunction<Key, Value>
23 | private let options: DataLoaderOptions<Key, Value>
:
218 | }
219 | }.recover { error in
220 | self.failedExecution(batch: batch, error: error)
| `- warning: capture of 'self' with non-sendable type 'DataLoader<Key, Value>' in a '@Sendable' closure
221 | }
222 | } catch {
/host/spi-builder-workspace/Sources/DataLoader/DataLoader.swift:220:45: warning: capture of 'batch' with non-sendable type 'LoaderQueue<Key, Value>' (aka 'Array<(key: Key, promise: EventLoopPromise<Value>)>') in a '@Sendable' closure
19 | /// with different access permissions and consider creating a new instance
20 | /// per data request.
21 | public final class DataLoader<Key: Hashable, Value> {
| `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
22 | private let batchLoadFunction: BatchLoadFunction<Key, Value>
23 | private let options: DataLoaderOptions<Key, Value>
:
218 | }
219 | }.recover { error in
220 | self.failedExecution(batch: batch, error: error)
| `- warning: capture of 'batch' with non-sendable type 'LoaderQueue<Key, Value>' (aka 'Array<(key: Key, promise: EventLoopPromise<Value>)>') in a '@Sendable' closure
221 | }
222 | } catch {
/host/spi-builder-workspace/Sources/DataLoader/DataLoader.swift:250:25: warning: type 'DataLoaderFutureValue<Value>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
2 | import NIOCore
3 |
4 | public enum DataLoaderFutureValue<T> {
| `- note: consider making generic enum 'DataLoaderFutureValue' conform to the 'Sendable' protocol
5 | case success(T)
6 | case failure(Error)
:
248 | self.init(options: options, batchLoadFunction: { keys in
249 | let promise = eventLoop.next().makePromise(of: [DataLoaderFutureValue<Value>].self)
250 | promise.completeWithTask {
| `- warning: type 'DataLoaderFutureValue<Value>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
251 | try await asyncThrowingLoadFunction(keys)
252 | }
/host/spi-builder-workspace/Sources/DataLoader/DataLoader.swift:251:57: warning: capture of 'keys' with non-sendable type '[Key]' in a '@Sendable' closure
19 | /// with different access permissions and consider creating a new instance
20 | /// per data request.
21 | public final class DataLoader<Key: Hashable, Value> {
| `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
22 | private let batchLoadFunction: BatchLoadFunction<Key, Value>
23 | private let options: DataLoaderOptions<Key, Value>
:
249 | let promise = eventLoop.next().makePromise(of: [DataLoaderFutureValue<Value>].self)
250 | promise.completeWithTask {
251 | try await asyncThrowingLoadFunction(keys)
| `- warning: capture of 'keys' with non-sendable type '[Key]' in a '@Sendable' closure
252 | }
253 | return promise.futureResult
/host/spi-builder-workspace/Sources/DataLoader/DataLoader.swift:260:58: warning: type 'Value' does not conform to the 'Sendable' protocol
19 | /// with different access permissions and consider creating a new instance
20 | /// per data request.
21 | public final class DataLoader<Key: Hashable, Value> {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
22 | private let batchLoadFunction: BatchLoadFunction<Key, Value>
23 | private let options: DataLoaderOptions<Key, Value>
:
258 | @available(macOS 12, iOS 15, watchOS 8, tvOS 15, *)
259 | func load(key: Key, on eventLoopGroup: EventLoopGroup) async throws -> Value {
260 | try await load(key: key, on: eventLoopGroup).get()
| `- warning: type 'Value' does not conform to the 'Sendable' protocol
261 | }
262 |
/host/spi-builder-workspace/Sources/DataLoader/DataLoader.swift:278:64: warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
19 | /// with different access permissions and consider creating a new instance
20 | /// per data request.
21 | public final class DataLoader<Key: Hashable, Value> {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
22 | private let batchLoadFunction: BatchLoadFunction<Key, Value>
23 | private let options: DataLoaderOptions<Key, Value>
:
276 | @available(macOS 12, iOS 15, watchOS 8, tvOS 15, *)
277 | func loadMany(keys: [Key], on eventLoopGroup: EventLoopGroup) async throws -> [Value] {
278 | try await loadMany(keys: keys, on: eventLoopGroup).get()
| `- warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
279 | }
280 | }
Build complete! (120.43s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-algorithms",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-algorithms.git"
},
{
"identity" : "async-collections",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/adam-fowler/async-collections"
},
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
}
],
"manifest_display_name" : "DataLoader",
"name" : "DataLoader",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "tvos",
"version" : "15.0"
},
{
"name" : "watchos",
"version" : "8.0"
}
],
"products" : [
{
"name" : "DataLoader",
"targets" : [
"DataLoader"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "AsyncDataLoader",
"targets" : [
"AsyncDataLoader"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "DataLoaderTests",
"module_type" : "SwiftTarget",
"name" : "DataLoaderTests",
"path" : "Tests/DataLoaderTests",
"product_dependencies" : [
"NIOCore",
"NIOPosix"
],
"sources" : [
"DataLoaderAbuseTests.swift",
"DataLoaderAsyncTests.swift",
"DataLoaderTests.swift"
],
"target_dependencies" : [
"DataLoader"
],
"type" : "test"
},
{
"c99name" : "DataLoader",
"module_type" : "SwiftTarget",
"name" : "DataLoader",
"path" : "Sources/DataLoader",
"product_dependencies" : [
"NIOCore",
"NIOConcurrencyHelpers"
],
"product_memberships" : [
"DataLoader"
],
"sources" : [
"DataLoader.swift",
"DataLoaderError.swift",
"DataLoaderOptions.swift"
],
"type" : "library"
},
{
"c99name" : "AsyncDataLoaderTests",
"module_type" : "SwiftTarget",
"name" : "AsyncDataLoaderTests",
"path" : "Tests/AsyncDataLoaderTests",
"sources" : [
"DataLoaderAbuseTests.swift",
"DataLoaderTests.swift"
],
"target_dependencies" : [
"AsyncDataLoader"
],
"type" : "test"
},
{
"c99name" : "AsyncDataLoader",
"module_type" : "SwiftTarget",
"name" : "AsyncDataLoader",
"path" : "Sources/AsyncDataLoader",
"product_dependencies" : [
"Algorithms",
"AsyncCollections"
],
"product_memberships" : [
"AsyncDataLoader"
],
"sources" : [
"Channel/Channel.swift",
"Channel/State.swift",
"DataLoader.swift",
"DataLoaderError.swift",
"DataLoaderOptions.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:2e2b3aca8600f890617c2faa770b70e33c1dfd303d6f92b308423b89ef6bde64
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.