The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of DataLoader, reference main (52b1f3), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 18:18:11 UTC.

Swift 6 data race errors: 0

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

========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/GraphQLSwift/DataLoader.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/GraphQLSwift/DataLoader
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 52b1f3d Merge pull request #21 from ZirgVoice/concurrency
Cloned https://github.com/GraphQLSwift/DataLoader.git
Revision (git rev-parse @):
52b1f3d96adf2ddce348f698f46ec8e7827493dc
SUCCESS checkout https://github.com/GraphQLSwift/DataLoader.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/GraphQLSwift/DataLoader.git
https://github.com/GraphQLSwift/DataLoader.git
{
  "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" : "/Users/admin/builder/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",
      "sources" : [
        "DataLoaderAbuseTests.swift",
        "DataLoaderAsyncTests.swift",
        "DataLoaderTests.swift"
      ],
      "target_dependencies" : [
        "DataLoader"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DataLoader",
      "module_type" : "SwiftTarget",
      "name" : "DataLoader",
      "path" : "Sources/DataLoader",
      "product_dependencies" : [
        "NIO",
        "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.9"
}
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/33] Write sources
[3/33] Copying PrivacyInfo.xcprivacy
[4/33] Write sources
[17/33] Compiling CNIOWindows WSAStartup.c
[17/33] Compiling CNIOWindows shim.c
[19/33] Write sources
[24/33] Compiling CNIOWASI CNIOWASI.c
[25/33] Compiling CNIOLinux shim.c
[26/33] Compiling CNIOLinux liburing_shims.c
[27/33] Compiling _NumericsShims _NumericsShims.c
[28/33] Write swift-version-2F0A5646E1D333AE.txt
[29/33] Compiling _AtomicsShims.c
[30/86] Compiling CNIODarwin shim.c
[32/86] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[33/87] Compiling RealModule Real.swift
[34/87] Compiling RealModule Float80+Real.swift
[35/88] Emitting module InternalCollectionsUtilities
[36/88] Compiling Atomics PointerConformances.swift
[37/88] Compiling Atomics Primitives.native.swift
[38/88] Compiling RealModule Float+Real.swift
[39/88] Compiling RealModule ElementaryFunctions.swift
[40/88] Compiling RealModule Float16+Real.swift
[41/88] Emitting module RealModule
[42/88] Compiling Atomics ManagedAtomic.swift
[43/88] Compiling Atomics ManagedAtomicLazyReference.swift
[44/88] Compiling Atomics UnsafeAtomic.swift
[45/88] Compiling Atomics UnsafeAtomicLazyReference.swift
[46/88] Compiling RealModule AugmentedArithmetic.swift
[47/88] Compiling RealModule ApproximateEquality.swift
[48/88] Compiling RealModule AlgebraicField.swift
[49/88] Compiling RealModule Double+Real.swift
[50/88] Compiling RealModule RealFunctions.swift
[51/88] Compiling Atomics OptionalRawRepresentable.swift
[52/88] Compiling Atomics RawRepresentable.swift
[53/88] Compiling Atomics AtomicBool.swift
[54/88] Compiling Atomics IntegerConformances.swift
[55/88] Compiling Atomics Primitives.shims.swift
[56/88] Compiling Atomics AtomicInteger.swift
[57/88] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[58/88] Compiling _NIOBase64 Base64.swift
[59/88] Emitting module _NIOBase64
[64/88] Compiling Atomics AtomicMemoryOrderings.swift
[65/88] Compiling Atomics DoubleWord.swift
[66/116] Compiling Algorithms Cycle.swift
[67/116] Compiling Algorithms Grouped.swift
[68/116] Compiling Algorithms FirstNonNil.swift
[69/116] Compiling Algorithms FlattenCollection.swift
[70/116] Compiling Algorithms Chunked.swift
[71/116] Compiling Algorithms EitherSequence.swift
[72/116] Compiling Algorithms Combinations.swift
[73/116] Compiling Algorithms Compacted.swift
[78/116] Compiling Algorithms Suffix.swift
[79/116] Compiling Algorithms Trim.swift
[80/118] Compiling Algorithms RandomSample.swift
[81/118] Compiling Algorithms Reductions.swift
[82/118] Compiling Algorithms Indexed.swift
[83/118] Compiling Algorithms Intersperse.swift
[84/345] Compiling DequeModule _DequeBuffer.swift
[85/345] Compiling DequeModule _DequeSlot.swift
[86/345] Compiling DequeModule _DequeBufferHeader.swift
[87/346] Compiling _NIODataStructures PriorityQueue.swift
[88/346] Compiling _NIODataStructures _TinyArray.swift
[89/346] Compiling HeapModule _HeapNode.swift
[90/346] Compiling HashTreeCollections _HashNode+Lookups.swift
[91/346] Compiling HashTreeCollections _HashNode+Primitive Insertions.swift
[92/346] Emitting module Atomics
[93/346] Compiling HashTreeCollections _HashNode+Structural filter.swift
[94/346] Compiling HashTreeCollections _HashNode+Structural intersection.swift
[95/346] Compiling HeapModule Heap.swift
[96/346] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[97/346] Compiling HeapModule Heap+Descriptions.swift
[98/346] Compiling HeapModule Heap+Invariants.swift
[99/346] Compiling HeapModule Heap+UnsafeHandle.swift
[100/346] Emitting module HeapModule
[102/346] Compiling HashTreeCollections _HashNode+Structural isDisjoint.swift
[103/346] Compiling HashTreeCollections _HashNode+Subtree Removals.swift
[104/346] Compiling HashTreeCollections _HashNode+UnsafeHandle.swift
[105/346] Compiling HashTreeCollections _HashNode.swift
[106/346] Compiling HashTreeCollections _HashNodeHeader.swift
[107/352] Compiling HashTreeCollections TreeSet+Descriptions.swift
[108/352] Compiling HashTreeCollections TreeDictionary+ExpressibleByDictionaryLiteral.swift
[109/407] Compiling BitCollections BitSet+Equatable.swift
[110/407] Compiling BitCollections BitSet+ExpressibleByArrayLiteral.swift
[111/407] Compiling BitCollections BitSet+CustomDebugStringConvertible.swift
[112/407] Compiling BitCollections BitSet+CustomReflectable.swift
[113/407] Compiling BitCollections BitSet+CustomStringConvertible.swift
[114/407] Compiling DequeModule _UnsafeWrappedBuffer.swift
[115/407] Emitting module _NIODataStructures
[116/407] Compiling _NIODataStructures Heap.swift
[117/407] Compiling BitCollections BitSet+SetAlgebra isDisjoint.swift
[118/407] Compiling BitCollections BitSet+SetAlgebra isEqualSet.swift
[119/407] Compiling BitCollections BitSet+Initializers.swift
[120/407] Compiling BitCollections BitSet+Invariants.swift
[121/407] Compiling BitCollections BitSet+Random.swift
[122/407] Compiling BitCollections BitSet+SetAlgebra basics.swift
[123/407] Compiling BitCollections BitSet+SetAlgebra conformance.swift
[124/407] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[125/407] Compiling BitCollections BitSet+SetAlgebra isStrictSuperset.swift
[126/407] Compiling BitCollections BitSet+SetAlgebra isSubset.swift
[127/407] Compiling BitCollections BitSet+SetAlgebra isSuperset.swift
[128/407] Compiling BitCollections BitSet+SetAlgebra subtract.swift
[129/407] Compiling BitCollections BitSet+SetAlgebra subtracting.swift
[130/407] Compiling BitCollections BitSet+Hashable.swift
[131/407] Compiling BitCollections BitArray+Invariants.swift
[132/407] Compiling BitCollections BitArray+LosslessStringConvertible.swift
[133/407] Compiling BitCollections BitArray+RandomBits.swift
[134/407] Compiling BitCollections BitArray+RangeReplaceableCollection.swift
[135/407] Compiling BitCollections BitSet+SetAlgebra symmetricDifference.swift
[136/407] Compiling BitCollections BitSet+SetAlgebra union.swift
[137/407] Compiling BitCollections BitSet+Sorted Collection APIs.swift
[138/407] Compiling BitCollections BitSet.Counted.swift
[139/415] Compiling BitCollections BitSet+SetAlgebra formIntersection.swift
[140/415] Compiling BitCollections BitSet+SetAlgebra formSymmetricDifference.swift
[141/415] Compiling BitCollections BitArray+ExpressibleByArrayLiteral.swift
[142/415] Compiling BitCollections BitArray+ExpressibleByStringLiteral.swift
[143/415] Compiling BitCollections BitSet+SetAlgebra formUnion.swift
[144/415] Compiling BitCollections BitSet+SetAlgebra intersection.swift
[145/415] Compiling BitCollections BitArray+Extras.swift
[146/415] Compiling BitCollections BitArray+Fill.swift
[147/415] Compiling BitCollections BitArray+Initializers.swift
[157/415] Compiling BitCollections BitSet+Extras.swift
[158/415] Compiling BitCollections BitArray+Hashable.swift
[162/415] Compiling BitCollections BitSet.Index.swift
[163/415] Compiling BitCollections BitSet._UnsafeHandle.swift
[164/415] Compiling BitCollections BitArray+BitwiseOperations.swift
[173/415] Compiling BitCollections BitArray+Testing.swift
[174/415] Compiling BitCollections BitArray._UnsafeHandle.swift
[175/415] Compiling BitCollections BitArray.swift
[176/415] Compiling BitCollections BitSet+BidirectionalCollection.swift
[177/415] Compiling BitCollections BitSet+Codable.swift
[179/415] Compiling BitCollections BitArray+ChunkedBitsIterators.swift
[180/415] Compiling BitCollections BitArray+Codable.swift
[181/415] Compiling BitCollections BitArray+Collection.swift
[182/415] Compiling BitCollections BitArray+Copy.swift
[183/415] Compiling BitCollections BitArray+CustomReflectable.swift
[184/415] Compiling BitCollections BitSet+SetAlgebra isStrictSubset.swift
[191/420] Compiling BitCollections BitArray+Shifts.swift
[203/420] Compiling BitCollections BitArray+Descriptions.swift
[204/420] Compiling BitCollections BitArray+Equatable.swift
[206/420] Emitting module DequeModule
[218/420] Compiling c-nioatomics.c
[220/420] Emitting module BitCollections
[221/420] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[222/420] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[223/420] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[224/420] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[225/420] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[226/420] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[227/420] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[228/420] Compiling HashTreeCollections TreeSet.swift
[264/427] Compiling BitCollections BitSet.swift
[265/427] Compiling BitCollections Range+Utilities.swift
[266/427] Compiling BitCollections Slice+Utilities.swift
[267/427] Compiling BitCollections UInt+Tricks.swift
[268/427] Compiling BitCollections _Word.swift
[269/427] Compiling OrderedCollections OrderedSet.swift
[270/427] Compiling OrderedCollections _UnsafeBitset.swift
[271/427] Compiling HashTreeCollections _UnsafePath.swift
[272/427] Compiling HashTreeCollections TreeDictionary+Codable.swift
[273/427] Compiling HashTreeCollections TreeDictionary+Collection.swift
[274/427] Compiling HashTreeCollections TreeDictionary+CustomReflectable.swift
[275/427] Compiling HashTreeCollections TreeDictionary+Debugging.swift
[276/427] Compiling HashTreeCollections TreeDictionary+Descriptions.swift
[277/427] Compiling HashTreeCollections TreeDictionary+Equatable.swift
[359/427] Compiling HashTreeCollections _AncestorHashSlots.swift
[360/427] Compiling _RopeModule Rope+Remove.swift
[361/427] Compiling _RopeModule Rope+RemoveSubrange.swift
[362/427] Compiling _RopeModule Rope+Split.swift
[363/427] Compiling _RopeModule Optional Utilities.swift
[364/427] Compiling _RopeModule String Utilities.swift
[365/427] Compiling _RopeModule String.Index+ABI.swift
[366/427] Compiling _RopeModule _CharacterRecognizer.swift
[367/427] Compiling HashTreeCollections _HashNode+Invariants.swift
[368/427] Emitting module OrderedCollections
[368/427] Compiling c-atomics.c
[379/433] Emitting module Algorithms
[380/433] Emitting module _RopeModule
[427/433] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[428/433] Emitting module HashTreeCollections
[429/433] Compiling NIOConcurrencyHelpers lock.swift
[430/433] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[431/433] Compiling NIOConcurrencyHelpers NIOLock.swift
[432/433] Compiling NIOConcurrencyHelpers atomics.swift
[433/433] Emitting module NIOConcurrencyHelpers
[434/436] Compiling Collections Collections.swift
[435/436] Emitting module Collections
[436/504] Compiling NIOCore Interfaces.swift
[437/504] Compiling NIOCore Linux.swift
[438/504] Compiling NIOCore MarkedCircularBuffer.swift
[439/504] Compiling NIOCore MulticastChannel.swift
[440/504] Compiling NIOCore NIOAny.swift
[441/504] Compiling NIOCore NIOCloseOnErrorHandler.swift
[442/510] Compiling NIOCore AddressedEnvelope.swift
[443/510] Compiling NIOCore AsyncAwaitSupport.swift
[444/510] Compiling NIOCore AsyncChannel.swift
[445/510] Compiling NIOCore AsyncChannelHandler.swift
[446/510] Compiling NIOCore AsyncChannelInboundStream.swift
[447/510] Compiling NIOCore AsyncChannelOutboundWriter.swift
[448/510] Compiling NIOCore NIOAsyncSequenceProducer.swift
[449/510] Compiling NIOCore SocketOptionProvider.swift
[450/510] Compiling NIOCore SystemCallHelpers.swift
[451/510] Compiling NIOCore TimeAmount+Duration.swift
[452/510] Compiling NIOCore TypeAssistedChannelHandler.swift
[453/510] Compiling NIOCore UniversalBootstrapSupport.swift
[454/510] Compiling NIOCore Utilities.swift
[455/510] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[456/510] Compiling NIOCore EventLoopFuture+Deprecated.swift
[457/510] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[458/510] Compiling NIOCore EventLoopFuture.swift
[459/510] Compiling NIOCore FileDescriptor.swift
[460/510] Compiling NIOCore FileHandle.swift
[461/510] Compiling NIOCore FileRegion.swift
[462/510] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[463/510] Compiling NIOCore NIOAsyncWriter.swift
[464/510] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[465/510] Compiling NIOCore BSDSocketAPI.swift
[466/510] Compiling NIOCore ByteBuffer-aux.swift
[467/510] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[468/510] Compiling NIOCore ByteBuffer-conversions.swift
[469/510] Compiling NIOCore GlobalSingletons.swift
[470/510] Compiling NIOCore IO.swift
[471/510] Compiling NIOCore IOData.swift
[472/510] Compiling NIOCore IPProtocol.swift
[473/510] Compiling NIOCore IntegerBitPacking.swift
[474/510] Compiling NIOCore IntegerTypes.swift
[475/510] Compiling NIOCore Channel.swift
[476/510] Compiling NIOCore ChannelHandler.swift
[477/510] Compiling NIOCore ChannelHandlers.swift
[478/510] Compiling NIOCore ChannelInvoker.swift
[479/510] Compiling NIOCore ChannelOption.swift
[480/510] Compiling NIOCore ChannelPipeline.swift
[481/510] Compiling NIOCore CircularBuffer.swift
[482/510] Emitting module NIOCore
[483/510] Compiling NIOCore Codec.swift
[484/510] Compiling NIOCore ConvenienceOptionSupport.swift
[485/510] Compiling NIOCore DeadChannel.swift
[486/510] Compiling NIOCore DispatchQueue+WithFuture.swift
[487/510] Compiling NIOCore EventLoop+Deprecated.swift
[488/510] Compiling NIOCore EventLoop+SerialExecutor.swift
[489/510] Compiling NIOCore EventLoop.swift
[490/510] Compiling NIOCore NIOLoopBound.swift
[491/510] Compiling NIOCore NIOScheduledCallback.swift
[492/510] Compiling NIOCore NIOSendable.swift
[493/510] Compiling NIOCore RecvByteBufferAllocator.swift
[494/510] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[495/510] Compiling NIOCore SocketAddresses.swift
[496/510] Compiling NIOCore ByteBuffer-core.swift
[497/510] Compiling NIOCore ByteBuffer-hex.swift
[498/510] Compiling NIOCore ByteBuffer-int.swift
[499/510] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[500/510] Compiling NIOCore ByteBuffer-multi-int.swift
[501/510] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[502/510] Compiling NIOCore ByteBuffer-views.swift
[503/563] Compiling AsyncCollections TaskQueue.swift
[504/563] Compiling AsyncCollections Filter.swift
[505/563] Compiling AsyncCollections CompactMap.swift
[506/563] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[507/563] Compiling AsyncCollections FlatMap.swift
[508/563] Compiling AsyncCollections ForEach.swift
[509/563] Compiling AsyncCollections Map.swift
[510/563] Compiling NIOEmbedded AsyncTestingChannel.swift
[511/563] Emitting module NIOEmbedded
[512/563] Compiling NIOEmbedded Embedded.swift
[513/563] Emitting module AsyncCollections
[514/563] Compiling AsyncCollections AsyncSemaphore.swift
[515/569] Emitting module NIOPosix
[516/569] Compiling NIOPosix SocketProtocols.swift
[517/569] Compiling NIOPosix System.swift
[518/569] Compiling NIOPosix Thread.swift
[519/569] Compiling NIOPosix ThreadPosix.swift
[520/569] Compiling NIOPosix ThreadWindows.swift
[521/574] Compiling NIOPosix UnsafeTransfer.swift
[522/574] Compiling NIOPosix Utilities.swift
[523/574] Compiling NIOPosix VsockAddress.swift
[524/574] Compiling NIOPosix VsockChannelEvents.swift
[525/574] Compiling NIOPosix resource_bundle_accessor.swift
[526/574] Compiling NIOPosix Selectable.swift
[527/574] Compiling NIOPosix SelectableChannel.swift
[528/574] Compiling NIOPosix SelectableEventLoop.swift
[529/574] Compiling NIOPosix SelectorEpoll.swift
[530/574] Compiling NIOPosix SelectorGeneric.swift
[531/574] Compiling NIOPosix BSDSocketAPICommon.swift
[532/574] Compiling NIOPosix BSDSocketAPIPosix.swift
[533/574] Compiling NIOPosix BSDSocketAPIWindows.swift
[534/574] Compiling NIOPosix BaseSocket.swift
[535/574] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[536/574] Compiling NIOPosix BaseSocketChannel.swift
[537/574] Compiling NIOPosix PooledRecvBufferAllocator.swift
[538/574] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[539/574] Compiling NIOPosix PosixSingletons.swift
[540/574] Compiling NIOPosix RawSocketBootstrap.swift
[541/574] Compiling NIOPosix Resolver.swift
[542/574] Compiling NIOPosix SelectorKqueue.swift
[543/574] Compiling NIOPosix SelectorUring.swift
[544/574] Compiling NIOPosix ServerSocket.swift
[545/574] Compiling NIOPosix Socket.swift
[546/574] Compiling NIOPosix SocketChannel.swift
[547/574] Compiling NIOPosix LinuxCPUSet.swift
[548/574] Compiling NIOPosix LinuxUring.swift
[549/574] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[550/574] Compiling NIOPosix NIOThreadPool.swift
[551/574] Compiling NIOPosix NonBlockingFileIO.swift
[552/574] Compiling NIOPosix PendingDatagramWritesManager.swift
[553/574] Compiling NIOPosix PendingWritesManager.swift
[554/574] Compiling NIOPosix PipeChannel.swift
[555/574] Compiling NIOPosix PipePair.swift
[556/574] Compiling NIOPosix Pool.swift
[557/574] Compiling NIOPosix GetaddrinfoResolver.swift
[558/574] Compiling NIOPosix HappyEyeballs.swift
[559/574] Compiling NIOPosix IO.swift
[560/574] Compiling NIOPosix IntegerBitPacking.swift
[561/574] Compiling NIOPosix IntegerTypes.swift
[562/574] Compiling NIOPosix Linux.swift
[563/574] Compiling NIOPosix BaseStreamSocketChannel.swift
[564/574] Compiling NIOPosix Bootstrap.swift
[565/574] Compiling NIOPosix ControlMessage.swift
[566/574] Compiling NIOPosix DatagramVectorReadManager.swift
[567/574] Compiling NIOPosix Errors+Any.swift
[568/574] Compiling NIOPosix FileDescriptor.swift
[569/576] Emitting module NIO
[570/576] Compiling NIO Exports.swift
[571/580] Compiling DataLoader DataLoaderOptions.swift
[572/580] Compiling AsyncDataLoader State.swift
[573/580] Compiling AsyncDataLoader DataLoaderOptions.swift
[574/580] Compiling AsyncDataLoader DataLoaderError.swift
[575/580] Compiling AsyncDataLoader DataLoader.swift
[576/580] Compiling DataLoader DataLoaderError.swift
[577/580] Emitting module DataLoader
[578/580] Compiling DataLoader DataLoader.swift
/Users/admin/builder/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 |                             }
/Users/admin/builder/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
/Users/admin/builder/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 {
/Users/admin/builder/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) }
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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 |                 }
/Users/admin/builder/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(
/Users/admin/builder/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 |
/Users/admin/builder/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 {
/Users/admin/builder/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 {
/Users/admin/builder/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 NIOConcurrencyHelpers
  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 |                 }
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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 |     }
[579/580] Emitting module AsyncDataLoader
[580/580] Compiling AsyncDataLoader Channel.swift
Build complete! (24.97s)
Fetching https://github.com/adam-fowler/async-collections
Fetching https://github.com/apple/swift-algorithms.git from cache
Fetching https://github.com/apple/swift-nio.git from cache
[6/289] Fetching async-collections
Fetched https://github.com/adam-fowler/async-collections from cache (0.95s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.95s)
Fetched https://github.com/apple/swift-nio.git from cache (0.95s)
Computing version for https://github.com/adam-fowler/async-collections
Computed https://github.com/adam-fowler/async-collections at 0.1.0 (1.44s)
Fetching https://github.com/apple/swift-collections.git from cache
Fetching https://github.com/apple/swift-atomics.git from cache
Fetched https://github.com/apple/swift-atomics.git from cache (0.68s)
Fetched https://github.com/apple/swift-collections.git from cache (0.70s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.64s)
Fetching https://github.com/apple/swift-numerics.git from cache
Fetched https://github.com/apple/swift-numerics.git from cache (0.40s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (1.00s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.47s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.69s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.82.1 (0.68s)
Fetching https://github.com/apple/swift-system.git from cache
Fetched https://github.com/apple/swift-system.git from cache (0.61s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (1.07s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
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.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.4.2
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
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.82.1
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" : "/Users/admin/builder/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",
      "sources" : [
        "DataLoaderAbuseTests.swift",
        "DataLoaderAsyncTests.swift",
        "DataLoaderTests.swift"
      ],
      "target_dependencies" : [
        "DataLoader"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DataLoader",
      "module_type" : "SwiftTarget",
      "name" : "DataLoader",
      "path" : "Sources/DataLoader",
      "product_dependencies" : [
        "NIO",
        "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.9"
}
Done.