Build Information
Successful build of DataLoader, reference 2.3.2 (15ff32
), with Swift 6.1 for Wasm on 11 Sep 2025 19:21:31 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/GraphQLSwift/DataLoader.git
Reference: 2.3.2
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.2 -> FETCH_HEAD
HEAD is now at 15ff327 Merge pull request #27 from bjschoenfeld/refactor/simplify-channel
Cloned https://github.com/GraphQLSwift/DataLoader.git
Revision (git rev-parse @):
15ff3272acac747a127e578c8f23b727e1f4fb89
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/GraphQLSwift/DataLoader.git at 2.3.2
========================================
Build
========================================
Selected platform: wasm
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.swift",
"DataLoader.swift",
"DataLoaderError.swift",
"DataLoaderOptions.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/adam-fowler/async-collections
[1/289] Fetching async-collections
[288/6274] Fetching async-collections, swift-algorithms
[2993/5985] Fetching swift-algorithms
Fetched https://github.com/adam-fowler/async-collections from cache (0.33s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.50s)
[1/78073] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (7.97s)
Computing version for https://github.com/adam-fowler/async-collections
Computed https://github.com/adam-fowler/async-collections at 0.1.0 (8.73s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
[1/1814] Fetching swift-atomics
[1815/19267] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (0.90s)
[8727/17453] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.46s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (3.79s)
Fetching https://github.com/apple/swift-numerics.git
[1/6348] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.53s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.0 (1.11s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.57s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (0.80s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.86.0 (0.90s)
Fetching https://github.com/apple/swift-system.git
[1/4937] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.44s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.2 (1.41s)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.2
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.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.86.0
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
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.1
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-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Building for debugging...
[0/29] Write sources
[13/29] Compiling _NumericsShims _NumericsShims.c
[14/29] Compiling _AtomicsShims.c
[15/29] Compiling CNIOWindows WSAStartup.c
[16/29] Compiling CNIOLinux shim.c
[17/29] Write sources
[17/29] Compiling CNIOWindows shim.c
[17/29] Compiling CNIOWASI CNIOWASI.c
[17/29] Write sources
[24/29] Compiling CNIODarwin shim.c
[25/29] Compiling CNIOLinux liburing_shims.c
[26/29] Write swift-version-24593BA9C3E375BF.txt
[28/78] Emitting module RealModule
[29/79] Emitting module InternalCollectionsUtilities
[30/80] Emitting module Atomics
[31/82] Compiling Atomics AtomicMemoryOrderings.swift
[32/82] Compiling Atomics DoubleWord.swift
[33/82] Compiling Atomics AtomicReference.swift
[34/82] Compiling Atomics AtomicStorage.swift
[34/82] Compiling c-nioatomics.c
[36/82] Compiling RealModule RelaxedArithmetic.swift
[37/82] Compiling RealModule RealFunctions.swift
[38/82] Compiling _NIOBase64 Base64.swift
[39/82] Emitting module _NIOBase64
[42/82] Compiling Atomics ManagedAtomic.swift
[43/82] Compiling Atomics ManagedAtomicLazyReference.swift
[45/83] Compiling Atomics AtomicValue.swift
[46/83] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[47/83] Compiling Atomics UnsafeAtomic.swift
[48/83] Compiling Atomics UnsafeAtomicLazyReference.swift
[49/83] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[50/83] Compiling Atomics OptionalRawRepresentable.swift
[51/83] Compiling Atomics RawRepresentable.swift
[52/83] Compiling _NIODataStructures _TinyArray.swift
[53/83] Compiling RealModule Float80+Real.swift
[54/83] Compiling RealModule Real.swift
[55/83] Compiling _NIODataStructures PriorityQueue.swift
[56/83] Compiling Atomics PointerConformances.swift
[57/83] Compiling Atomics Primitives.native.swift
[58/83] Compiling Atomics AtomicBool.swift
[59/83] Compiling Atomics IntegerConformances.swift
[60/83] Compiling Atomics AtomicInteger.swift
[61/83] Compiling Atomics AtomicOptionalWrappable.swift
[71/84] Compiling RealModule Float16+Real.swift
[72/84] Compiling Atomics IntegerOperations.swift
[73/84] Compiling Atomics Unmanaged extensions.swift
[84/332] Compiling HeapModule Heap+Descriptions.swift
[85/332] Emitting module _NIODataStructures
[86/332] Compiling _NIODataStructures Heap.swift
[88/333] Compiling HeapModule _HeapNode.swift
[89/333] Compiling HeapModule Heap.swift
[90/333] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[91/333] Compiling HeapModule Heap+Invariants.swift
[92/333] Compiling HeapModule Heap+UnsafeHandle.swift
[93/333] Emitting module HeapModule
[94/334] Compiling HashTreeCollections _HashNode+Subtree Modify.swift
[95/334] Compiling HashTreeCollections _HashNode+Subtree Removals.swift
[96/334] Compiling HashTreeCollections _HashNode+Structural union.swift
[97/334] Compiling HashTreeCollections _HashNode+Subtree Insertions.swift
[99/389] Compiling BitCollections BitSet+SetAlgebra subtracting.swift
[100/389] Compiling BitCollections BitSet+SetAlgebra symmetricDifference.swift
[101/389] Compiling BitCollections BitSet+SetAlgebra union.swift
[102/389] Compiling BitCollections BitSet+Sorted Collection APIs.swift
[103/389] Compiling BitCollections BitSet.Counted.swift
[104/389] Compiling BitCollections BitSet+SetAlgebra formUnion.swift
[105/389] Compiling BitCollections BitSet+SetAlgebra intersection.swift
[106/396] Compiling BitCollections BitSet+SetAlgebra isDisjoint.swift
[107/396] Compiling BitCollections BitSet+SetAlgebra isEqualSet.swift
[108/396] Compiling BitCollections BitSet+SetAlgebra isStrictSubset.swift
[109/396] Compiling BitCollections BitSet+SetAlgebra isStrictSuperset.swift
[110/396] Compiling BitCollections BitSet+SetAlgebra isSubset.swift
[111/396] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[112/396] Compiling HashTreeCollections _AncestorHashSlots.swift
[112/396] Compiling c-atomics.c
[114/396] Compiling BitCollections BitSet+CustomDebugStringConvertible.swift
[115/396] Compiling BitCollections BitSet+CustomReflectable.swift
[116/396] Compiling BitCollections BitSet+CustomStringConvertible.swift
[117/396] Compiling BitCollections BitSet+Equatable.swift
[118/396] Compiling BitCollections BitSet+ExpressibleByArrayLiteral.swift
[119/396] Compiling BitCollections BitSet+Extras.swift
[120/396] Compiling BitCollections BitSet+Hashable.swift
[121/396] Compiling BitCollections BitArray+RandomBits.swift
[122/396] Compiling BitCollections BitSet+Invariants.swift
[123/396] Compiling BitCollections BitSet+Random.swift
[124/396] Compiling BitCollections BitSet+SetAlgebra basics.swift
[125/396] Compiling BitCollections BitSet+SetAlgebra conformance.swift
[126/396] Compiling BitCollections BitSet+SetAlgebra formIntersection.swift
[127/396] Compiling BitCollections BitSet+SetAlgebra formSymmetricDifference.swift
[128/396] Compiling BitCollections BitSet+SetAlgebra isSuperset.swift
[129/396] Compiling BitCollections BitSet+SetAlgebra subtract.swift
[134/396] Compiling BitCollections BitArray+Invariants.swift
[135/396] Compiling BitCollections BitArray+LosslessStringConvertible.swift
[138/402] Compiling BitCollections BitSet+Codable.swift
[139/402] Compiling BitCollections BitArray+BitwiseOperations.swift
[140/402] Compiling BitCollections BitArray+ChunkedBitsIterators.swift
[141/402] Compiling BitCollections BitArray+Codable.swift
[142/402] Compiling BitCollections BitArray+Collection.swift
[143/402] Compiling BitCollections BitArray+Copy.swift
[144/402] Compiling BitCollections BitArray+CustomReflectable.swift
[145/402] Compiling BitCollections BitArray+Descriptions.swift
[146/402] Compiling BitCollections BitArray+Equatable.swift
[147/402] Compiling BitCollections BitSet+Initializers.swift
[150/412] Compiling BitCollections BitArray+Testing.swift
[151/412] Compiling BitCollections BitArray._UnsafeHandle.swift
[152/412] Compiling BitCollections BitArray.swift
[153/415] Compiling BitCollections BitSet+BidirectionalCollection.swift
[156/415] Compiling BitCollections BitArray+ExpressibleByArrayLiteral.swift
[157/415] Compiling BitCollections BitArray+ExpressibleByStringLiteral.swift
[158/415] Compiling NIOConcurrencyHelpers lock.swift
[159/415] Emitting module BitCollections
[160/422] Emitting module DequeModule
[163/423] Compiling BitCollections BitArray+Extras.swift
[173/423] Compiling BitCollections BitArray+RangeReplaceableCollection.swift
[174/423] Compiling BitCollections BitArray+Shifts.swift
[182/423] Emitting module NIOConcurrencyHelpers
[183/423] Compiling BitCollections BitArray+Fill.swift
[184/423] Compiling BitCollections BitArray+Hashable.swift
[185/423] Compiling BitCollections BitArray+Initializers.swift
[191/423] Compiling NIOConcurrencyHelpers NIOLock.swift
[192/423] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[193/423] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[194/423] Compiling NIOConcurrencyHelpers atomics.swift
[195/424] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[196/424] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[197/424] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[198/424] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[199/424] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[200/424] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[201/424] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[202/424] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[203/424] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[204/424] Compiling HashTreeCollections TreeSet.swift
[206/424] Compiling Algorithms Trim.swift
[207/424] Compiling Algorithms Unique.swift
[208/424] Compiling Algorithms Windows.swift
[264/433] Compiling BitCollections BitSet.swift
[265/433] Compiling BitCollections Range+Utilities.swift
[266/433] Compiling BitCollections Slice+Utilities.swift
[267/433] Compiling BitCollections UInt+Tricks.swift
[268/433] Compiling BitCollections _Word.swift
[269/433] Compiling OrderedCollections OrderedSet.swift
[270/433] Compiling OrderedCollections _UnsafeBitset.swift
[271/494] Compiling NIOCore ByteBuffer-hex.swift
[272/494] Compiling NIOCore ByteBuffer-int.swift
[273/494] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[274/494] Compiling NIOCore ByteBuffer-multi-int.swift
[275/494] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[276/494] Compiling NIOCore ByteBuffer-views.swift
[277/494] Compiling NIOCore Channel.swift
[278/494] Compiling NIOCore ChannelHandler.swift
[279/494] Compiling NIOCore AddressedEnvelope.swift
[280/494] Compiling NIOCore AsyncAwaitSupport.swift
[281/494] Compiling NIOCore AsyncChannel.swift
[282/494] Compiling NIOCore AsyncChannelHandler.swift
[283/494] Compiling NIOCore AsyncChannelInboundStream.swift
[284/494] Compiling NIOCore AsyncChannelOutboundWriter.swift
[285/494] Compiling NIOCore NIOAsyncSequenceProducer.swift
[286/494] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[287/494] Compiling NIOCore ByteBuffer-aux.swift
[288/494] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[289/494] Compiling NIOCore ByteBuffer-conversions.swift
[290/494] Compiling NIOCore ByteBuffer-core.swift
[298/494] Compiling NIOCore NIOAny.swift
[299/494] Compiling NIOCore NIOCloseOnErrorHandler.swift
[300/494] Compiling NIOCore NIOCoreSendableMetatype.swift
[301/494] Compiling NIOCore NIOLoopBound.swift
[302/494] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[303/494] Compiling NIOCore NIOScheduledCallback.swift
[304/494] Compiling NIOCore NIOSendable.swift
[309/495] Emitting module OrderedCollections
[314/496] Compiling NIOCore RecvByteBufferAllocator.swift
[316/496] Compiling HashTreeCollections _HashNode+Invariants.swift
[317/496] Compiling HashTreeCollections _HashNode+Lookups.swift
[318/496] Compiling HashTreeCollections _HashNode+Primitive Insertions.swift
[319/496] Compiling HashTreeCollections TreeDictionary+Equatable.swift
[320/496] Compiling HashTreeCollections TreeDictionary+ExpressibleByDictionaryLiteral.swift
[321/496] Compiling HashTreeCollections TreeDictionary+Filter.swift
[322/496] Compiling NIOCore Interfaces.swift
[323/496] Compiling NIOCore Linux.swift
[324/496] Compiling NIOCore MarkedCircularBuffer.swift
[325/496] Compiling NIOCore MulticastChannel.swift
[334/496] Compiling _RopeModule Rope+Join.swift
[335/496] Compiling _RopeModule Rope+MutatingForEach.swift
[336/496] Compiling _RopeModule Rope+Remove.swift
[337/496] Compiling _RopeModule Rope+RemoveSubrange.swift
[338/496] Compiling _RopeModule Rope+Split.swift
[339/496] Compiling _RopeModule Optional Utilities.swift
[340/496] Compiling _RopeModule String Utilities.swift
[341/496] Compiling _RopeModule String.Index+ABI.swift
[353/496] Compiling NIOCore IO.swift
[354/496] Compiling NIOCore IOData.swift
[355/496] Compiling NIOCore IPProtocol.swift
[356/496] Compiling NIOCore IntegerBitPacking.swift
[357/496] Compiling NIOCore IntegerTypes.swift
[363/496] Compiling NIOCore EventLoop+Deprecated.swift
[364/496] Compiling NIOCore EventLoop+SerialExecutor.swift
[365/496] Compiling NIOCore EventLoop.swift
[366/496] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[367/496] Compiling NIOCore EventLoopFuture+Deprecated.swift
[368/496] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[369/496] Compiling NIOCore EventLoopFuture.swift
[370/496] Compiling NIOCore FileDescriptor.swift
[371/496] Compiling NIOCore FileHandle.swift
[372/496] Compiling NIOCore FileRegion.swift
[373/496] Compiling NIOCore GlobalSingletons.swift
[374/496] Emitting module _RopeModule
[383/496] Compiling NIOCore NIOAsyncWriter.swift
[384/496] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[385/496] Compiling NIOCore BSDSocketAPI.swift
[394/504] Emitting module Algorithms
[404/505] Emitting module HashTreeCollections
[406/506] Compiling NIOCore Utilities.swift
[414/506] Compiling _RopeModule _CharacterRecognizer.swift
[443/506] Compiling NIOCore ConvenienceOptionSupport.swift
[444/506] Compiling NIOCore DeadChannel.swift
[445/506] Compiling NIOCore DispatchQueue+WithFuture.swift
[463/509] Compiling Collections Collections.swift
[464/509] Emitting module Collections
[465/510] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[466/510] Compiling NIOCore SocketAddresses.swift
[467/510] Compiling NIOCore SocketOptionProvider.swift
[468/510] Compiling NIOCore SystemCallHelpers.swift
[469/510] Compiling NIOCore TimeAmount+Duration.swift
[470/510] Compiling NIOCore TypeAssistedChannelHandler.swift
[471/510] Compiling NIOCore UniversalBootstrapSupport.swift
[474/518] Compiling NIOCore CircularBuffer.swift
[475/518] Compiling NIOCore Codec.swift
[483/518] Compiling AsyncCollections ForEach.swift
[484/518] Compiling AsyncCollections TaskQueue.swift
[485/518] Compiling AsyncCollections Map.swift
[486/518] Compiling AsyncCollections Filter.swift
[487/518] Compiling AsyncCollections FlatMap.swift
[488/518] Compiling AsyncCollections CompactMap.swift
[489/518] Compiling AsyncCollections AsyncSemaphore.swift
[490/518] Emitting module AsyncCollections
[492/524] Compiling AsyncDataLoader DataLoaderOptions.swift
[493/524] Compiling AsyncDataLoader DataLoaderError.swift
[494/524] Emitting module AsyncDataLoader
[495/524] Compiling AsyncDataLoader Channel.swift
[496/524] Compiling AsyncDataLoader DataLoader.swift
[498/525] Emitting module NIOCore
[513/525] Compiling NIOCore ChannelHandlers.swift
[514/525] Compiling NIOCore ChannelInvoker.swift
[515/525] Compiling NIOCore ChannelOption.swift
[516/525] Compiling NIOCore ChannelPipeline.swift
[527/530] Compiling DataLoader DataLoaderError.swift
[528/530] Compiling DataLoader DataLoaderOptions.swift
[529/530] 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 | }
[530/530] Emitting module DataLoader
Build complete! (150.94s)
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.swift",
"DataLoader.swift",
"DataLoaderError.swift",
"DataLoaderOptions.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Done.