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 2.3.0 (52b1f3), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 18:18:07 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: 2.3.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/GraphQLSwift/DataLoader
 * tag               2.3.0      -> FETCH_HEAD
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 2.3.0
========================================
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
[2/33] Copying PrivacyInfo.xcprivacy
[2/33] Write sources
[17/33] Compiling CNIOWindows WSAStartup.c
[18/33] Compiling CNIOWASI CNIOWASI.c
[18/33] Compiling CNIOWindows shim.c
[20/33] Write sources
[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] Emitting module RealModule
[34/87] Compiling Atomics AtomicMemoryOrderings.swift
[35/87] Compiling Atomics DoubleWord.swift
[36/88] Compiling Atomics Primitives.shims.swift
[37/88] Compiling Atomics AtomicInteger.swift
[38/88] Compiling Atomics UnsafeAtomic.swift
[39/88] Compiling Atomics UnsafeAtomicLazyReference.swift
[40/88] Compiling RealModule Float16+Real.swift
[41/88] Compiling RealModule Real.swift
[42/88] Compiling RealModule Float80+Real.swift
[43/88] Compiling RealModule RealFunctions.swift
[44/88] Compiling RealModule ApproximateEquality.swift
[45/88] Compiling RealModule AlgebraicField.swift
[46/88] Compiling RealModule Double+Real.swift
[47/88] Compiling RealModule AugmentedArithmetic.swift
[48/88] Compiling RealModule ElementaryFunctions.swift
[49/88] Compiling RealModule Float+Real.swift
[50/88] Compiling Atomics AtomicStorage.swift
[51/88] Compiling Atomics AtomicValue.swift
[52/88] Compiling Atomics OptionalRawRepresentable.swift
[53/88] Compiling Atomics RawRepresentable.swift
[54/88] Emitting module InternalCollectionsUtilities
[55/88] Compiling Atomics AtomicBool.swift
[56/88] Compiling Atomics IntegerConformances.swift
[57/88] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[58/88] Compiling _NIOBase64 Base64.swift
[59/88] Emitting module _NIOBase64
[62/116] Compiling Algorithms Combinations.swift
[63/116] Compiling Algorithms Compacted.swift
[64/116] Compiling Algorithms Cycle.swift
[65/116] Compiling Algorithms Partition.swift
[66/116] Compiling Algorithms Suffix.swift
[67/116] Compiling Algorithms Trim.swift
[68/116] Compiling Algorithms Intersperse.swift
[69/116] Compiling Algorithms Joined.swift
[72/116] Compiling Algorithms Grouped.swift
[73/116] Compiling Algorithms Indexed.swift
[74/116] Compiling Algorithms Keyed.swift
[75/116] Compiling Algorithms MinMax.swift
[76/116] Compiling Algorithms Chunked.swift
[77/116] Compiling Algorithms RandomSample.swift
[78/116] Compiling Algorithms Reductions.swift
[79/116] Compiling Algorithms Rotate.swift
[80/116] Compiling Algorithms AdjacentPairs.swift
[81/116] Compiling Algorithms Chain.swift
[84/116] Compiling _NIODataStructures PriorityQueue.swift
[85/116] Compiling _NIODataStructures _TinyArray.swift
[86/343] Compiling DequeModule _DequeSlot.swift
[87/343] Compiling DequeModule _DequeBufferHeader.swift
[88/344] Compiling DequeModule _DequeBuffer.swift
[89/344] Compiling HeapModule Heap.swift
[90/344] Compiling HeapModule _HeapNode.swift
[91/344] Compiling _RopeModule BigString+Debugging.swift
[92/344] Compiling _RopeModule BigString+Index.swift
[93/344] Compiling _RopeModule BigString+Builder.swift
[94/344] Compiling _RopeModule BigString+Contents.swift
[95/344] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[96/344] Compiling HeapModule Heap+UnsafeHandle.swift
[97/344] Compiling HeapModule Heap+Invariants.swift
[98/344] Compiling HeapModule Heap+Descriptions.swift
[99/344] Emitting module HeapModule
[100/344] Compiling _RopeModule BigString+Chunk+Breaks.swift
[101/344] Compiling _RopeModule BigString+Chunk+Counts.swift
[102/344] Compiling _RopeModule BigString+Chunk+Description.swift
[103/346] Compiling _RopeModule BigString+UTF16View.swift
[104/346] Compiling _RopeModule BigString+UTF8View.swift
[105/346] Compiling _RopeModule Rope+_Node.swift
[106/346] Emitting module Atomics
[107/346] Compiling DequeModule _UnsafeWrappedBuffer.swift
[108/401] Compiling BitCollections BitArray+Testing.swift
[109/401] Compiling BitCollections BitArray._UnsafeHandle.swift
[110/401] Compiling BitCollections BitArray.swift
[111/401] Compiling BitCollections BitSet+BidirectionalCollection.swift
[112/401] Compiling BitCollections BitSet+Codable.swift
[113/401] Compiling BitCollections BitSet+Hashable.swift
[114/401] Compiling BitCollections BitSet+Initializers.swift
[115/401] Compiling BitCollections BitSet+Invariants.swift
[116/401] Compiling BitCollections BitSet+Random.swift
[117/401] Compiling BitCollections BitSet+SetAlgebra basics.swift
[118/401] Compiling BitCollections BitSet+SetAlgebra conformance.swift
[119/401] Compiling BitCollections BitSet+SetAlgebra isStrictSubset.swift
[120/407] Emitting module _NIODataStructures
[121/407] Compiling _NIODataStructures Heap.swift
[122/407] Compiling BitCollections BitArray+BitwiseOperations.swift
[123/407] Compiling BitCollections BitArray+ChunkedBitsIterators.swift
[124/407] Compiling BitCollections BitArray+RandomBits.swift
[125/407] Compiling BitCollections BitArray+RangeReplaceableCollection.swift
[126/407] Compiling BitCollections BitArray+Invariants.swift
[127/407] Compiling BitCollections BitArray+LosslessStringConvertible.swift
[128/407] Compiling BitCollections BitSet+Sorted Collection APIs.swift
[129/407] Compiling BitCollections BitSet.Counted.swift
[130/407] Compiling BitCollections BitSet+SetAlgebra symmetricDifference.swift
[131/407] Compiling BitCollections BitSet+SetAlgebra union.swift
[132/407] Compiling BitCollections BitSet+SetAlgebra intersection.swift
[133/407] Compiling BitCollections BitSet+SetAlgebra isDisjoint.swift
[134/407] Compiling BitCollections BitSet+SetAlgebra isEqualSet.swift
[135/407] Compiling BitCollections BitArray+Hashable.swift
[136/407] Compiling BitCollections BitArray+Initializers.swift
[143/407] Compiling BitCollections BitSet+SetAlgebra formIntersection.swift
[144/407] Compiling BitCollections BitSet+SetAlgebra formSymmetricDifference.swift
[145/407] Compiling BitCollections BitSet+SetAlgebra formUnion.swift
[146/407] Compiling BitCollections BitArray+Collection.swift
[147/407] Compiling BitCollections BitArray+Copy.swift
[148/407] Compiling BitCollections BitArray+CustomReflectable.swift
[151/407] Compiling BitCollections BitArray+Codable.swift
[152/407] Compiling BitCollections BitSet+SetAlgebra isStrictSuperset.swift
[153/407] Compiling BitCollections BitSet+SetAlgebra isSubset.swift
[154/407] Compiling BitCollections BitSet+SetAlgebra isSuperset.swift
[155/407] Compiling BitCollections BitSet+SetAlgebra subtract.swift
[156/407] Compiling BitCollections BitSet+SetAlgebra subtracting.swift
[157/407] Compiling BitCollections BitSet+CustomDebugStringConvertible.swift
[158/407] Compiling BitCollections BitSet+CustomReflectable.swift
[159/407] Compiling BitCollections BitSet+CustomStringConvertible.swift
[160/407] Compiling BitCollections BitSet+Equatable.swift
[161/407] Compiling BitCollections BitSet+ExpressibleByArrayLiteral.swift
[162/407] Compiling BitCollections BitSet+Extras.swift
[163/407] Compiling _RopeModule BigString+ExpressibleByStringLiteral.swift
[167/407] Compiling BitCollections BitSet.Index.swift
[168/407] Compiling BitCollections BitSet._UnsafeHandle.swift
[169/407] Compiling BitCollections BitArray+Descriptions.swift
[170/407] Compiling BitCollections BitArray+Equatable.swift
[171/407] Compiling BitCollections BitArray+ExpressibleByArrayLiteral.swift
[172/407] Compiling BitCollections BitArray+ExpressibleByStringLiteral.swift
[173/407] Compiling BitCollections BitArray+Extras.swift
[174/407] Compiling BitCollections BitArray+Fill.swift
[175/407] Compiling BitCollections BitArray+Shifts.swift
[178/407] Emitting module DequeModule
[211/419] Emitting module BitCollections
[214/419] Compiling c-nioatomics.c
[216/419] Compiling BitCollections BitSet.swift
[217/419] Compiling BitCollections Range+Utilities.swift
[218/419] Compiling BitCollections Slice+Utilities.swift
[219/419] Compiling BitCollections UInt+Tricks.swift
[220/419] Compiling BitCollections _Word.swift
[221/419] Compiling OrderedCollections OrderedSet.swift
[222/419] Compiling OrderedCollections _UnsafeBitset.swift
[223/419] Compiling _RopeModule BigString+Initializers.swift
[224/419] Compiling _RopeModule RopeSummary.swift
[225/419] Compiling _RopeModule _RopeItem.swift
[226/419] Compiling _RopeModule _RopePath.swift
[227/419] Compiling _RopeModule _RopeVersion.swift
[228/419] Compiling _RopeModule Rope+Collection.swift
[229/419] Compiling _RopeModule Rope+Index.swift
[230/419] Compiling _RopeModule Rope+Sequence.swift
[265/427] Compiling _RopeModule Rope+Remove.swift
[266/427] Compiling _RopeModule Rope+RemoveSubrange.swift
[267/427] Compiling _RopeModule Rope+Split.swift
[268/427] Compiling _RopeModule Optional Utilities.swift
[269/427] Compiling _RopeModule String Utilities.swift
[270/427] Compiling _RopeModule String.Index+ABI.swift
[271/427] Compiling _RopeModule _CharacterRecognizer.swift
[272/427] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[369/427] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[370/427] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[371/427] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[372/427] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[373/427] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[374/427] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[375/427] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[376/427] Compiling HashTreeCollections TreeSet.swift
[376/427] Compiling c-atomics.c
[378/427] Emitting module OrderedCollections
[388/433] Emitting module Algorithms
[396/433] Emitting module _RopeModule
[397/433] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[428/433] Compiling NIOConcurrencyHelpers NIOLock.swift
[429/433] Emitting module NIOConcurrencyHelpers
[430/433] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[431/433] Compiling NIOConcurrencyHelpers atomics.swift
[432/433] Compiling NIOConcurrencyHelpers lock.swift
[433/433] Emitting module HashTreeCollections
[434/496] Compiling Collections Collections.swift
[435/496] Emitting module Collections
[436/504] Compiling NIOCore GlobalSingletons.swift
[437/504] Compiling NIOCore IO.swift
[438/504] Compiling NIOCore IOData.swift
[439/504] Compiling NIOCore IPProtocol.swift
[440/504] Compiling NIOCore IntegerBitPacking.swift
[441/504] Compiling NIOCore IntegerTypes.swift
[442/510] Compiling NIOCore SocketOptionProvider.swift
[443/510] Compiling NIOCore SystemCallHelpers.swift
[444/510] Compiling NIOCore TimeAmount+Duration.swift
[445/510] Compiling NIOCore TypeAssistedChannelHandler.swift
[446/510] Compiling NIOCore UniversalBootstrapSupport.swift
[447/510] Compiling NIOCore Utilities.swift
[448/510] Compiling NIOCore Channel.swift
[449/510] Compiling NIOCore ChannelHandler.swift
[450/510] Compiling NIOCore ChannelHandlers.swift
[451/510] Compiling NIOCore ChannelInvoker.swift
[452/510] Compiling NIOCore ChannelOption.swift
[453/510] Compiling NIOCore ChannelPipeline.swift
[454/510] Compiling NIOCore CircularBuffer.swift
[455/510] Compiling NIOCore NIOLoopBound.swift
[456/510] Compiling NIOCore NIOScheduledCallback.swift
[457/510] Compiling NIOCore NIOSendable.swift
[458/510] Compiling NIOCore RecvByteBufferAllocator.swift
[459/510] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[460/510] Compiling NIOCore SocketAddresses.swift
[461/510] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[462/510] Compiling NIOCore EventLoopFuture+Deprecated.swift
[463/510] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[464/510] Compiling NIOCore EventLoopFuture.swift
[465/510] Compiling NIOCore FileDescriptor.swift
[466/510] Compiling NIOCore FileHandle.swift
[467/510] Compiling NIOCore FileRegion.swift
[468/510] Compiling NIOCore Interfaces.swift
[469/510] Compiling NIOCore Linux.swift
[470/510] Compiling NIOCore MarkedCircularBuffer.swift
[471/510] Compiling NIOCore MulticastChannel.swift
[472/510] Compiling NIOCore NIOAny.swift
[473/510] Compiling NIOCore NIOCloseOnErrorHandler.swift
[474/510] Compiling NIOCore Codec.swift
[475/510] Compiling NIOCore ConvenienceOptionSupport.swift
[476/510] Compiling NIOCore DeadChannel.swift
[477/510] Compiling NIOCore DispatchQueue+WithFuture.swift
[478/510] Compiling NIOCore EventLoop+Deprecated.swift
[479/510] Compiling NIOCore EventLoop+SerialExecutor.swift
[480/510] Compiling NIOCore EventLoop.swift
[481/510] Compiling NIOCore AddressedEnvelope.swift
[482/510] Compiling NIOCore AsyncAwaitSupport.swift
[483/510] Compiling NIOCore AsyncChannel.swift
[484/510] Compiling NIOCore AsyncChannelHandler.swift
[485/510] Compiling NIOCore AsyncChannelInboundStream.swift
[486/510] Compiling NIOCore AsyncChannelOutboundWriter.swift
[487/510] Compiling NIOCore NIOAsyncSequenceProducer.swift
[488/510] Compiling NIOCore ByteBuffer-core.swift
[489/510] Compiling NIOCore ByteBuffer-hex.swift
[490/510] Compiling NIOCore ByteBuffer-int.swift
[491/510] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[492/510] Compiling NIOCore ByteBuffer-multi-int.swift
[493/510] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[494/510] Compiling NIOCore ByteBuffer-views.swift
[495/510] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[496/510] Compiling NIOCore NIOAsyncWriter.swift
[497/510] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[498/510] Compiling NIOCore BSDSocketAPI.swift
[499/510] Compiling NIOCore ByteBuffer-aux.swift
[500/510] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[501/510] Compiling NIOCore ByteBuffer-conversions.swift
[502/510] Emitting module NIOCore
[503/563] Compiling AsyncCollections FlatMap.swift
[504/563] Compiling AsyncCollections Filter.swift
[505/563] Compiling AsyncCollections CompactMap.swift
[506/563] Compiling AsyncCollections ForEach.swift
[507/563] Compiling AsyncCollections TaskQueue.swift
[508/563] Compiling AsyncCollections Map.swift
[509/563] Emitting module NIOEmbedded
[510/563] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[511/563] Compiling NIOEmbedded Embedded.swift
[512/563] Compiling NIOEmbedded AsyncTestingChannel.swift
[513/563] Emitting module AsyncCollections
[514/563] Compiling AsyncCollections AsyncSemaphore.swift
[515/569] Compiling NIOPosix LinuxCPUSet.swift
[516/569] Compiling NIOPosix LinuxUring.swift
[517/569] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[518/569] Compiling NIOPosix NIOThreadPool.swift
[519/569] Compiling NIOPosix NonBlockingFileIO.swift
[520/574] Emitting module NIOPosix
[521/574] Compiling NIOPosix Selectable.swift
[522/574] Compiling NIOPosix SelectableChannel.swift
[523/574] Compiling NIOPosix SelectableEventLoop.swift
[524/574] Compiling NIOPosix SelectorEpoll.swift
[525/574] Compiling NIOPosix SelectorGeneric.swift
[526/574] Compiling NIOPosix PendingDatagramWritesManager.swift
[527/574] Compiling NIOPosix PendingWritesManager.swift
[528/574] Compiling NIOPosix PipeChannel.swift
[529/574] Compiling NIOPosix PipePair.swift
[530/574] Compiling NIOPosix Pool.swift
[531/574] Compiling NIOPosix SocketProtocols.swift
[532/574] Compiling NIOPosix System.swift
[533/574] Compiling NIOPosix Thread.swift
[534/574] Compiling NIOPosix ThreadPosix.swift
[535/574] Compiling NIOPosix ThreadWindows.swift
[536/574] Compiling NIOPosix UnsafeTransfer.swift
[537/574] Compiling NIOPosix Utilities.swift
[538/574] Compiling NIOPosix VsockAddress.swift
[539/574] Compiling NIOPosix VsockChannelEvents.swift
[540/574] Compiling NIOPosix resource_bundle_accessor.swift
[541/574] Compiling NIOPosix BSDSocketAPICommon.swift
[542/574] Compiling NIOPosix BSDSocketAPIPosix.swift
[543/574] Compiling NIOPosix BSDSocketAPIWindows.swift
[544/574] Compiling NIOPosix BaseSocket.swift
[545/574] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[546/574] Compiling NIOPosix BaseSocketChannel.swift
[547/574] Compiling NIOPosix PooledRecvBufferAllocator.swift
[548/574] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[549/574] Compiling NIOPosix PosixSingletons.swift
[550/574] Compiling NIOPosix RawSocketBootstrap.swift
[551/574] Compiling NIOPosix Resolver.swift
[552/574] Compiling NIOPosix GetaddrinfoResolver.swift
[553/574] Compiling NIOPosix HappyEyeballs.swift
[554/574] Compiling NIOPosix IO.swift
[555/574] Compiling NIOPosix IntegerBitPacking.swift
[556/574] Compiling NIOPosix IntegerTypes.swift
[557/574] Compiling NIOPosix Linux.swift
[558/574] Compiling NIOPosix SelectorKqueue.swift
[559/574] Compiling NIOPosix SelectorUring.swift
[560/574] Compiling NIOPosix ServerSocket.swift
[561/574] Compiling NIOPosix Socket.swift
[562/574] Compiling NIOPosix SocketChannel.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 DataLoaderOptions.swift
[573/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 |     }
[574/580] Compiling AsyncDataLoader DataLoader.swift
[575/580] Compiling AsyncDataLoader State.swift
[576/580] Emitting module AsyncDataLoader
[577/580] Compiling AsyncDataLoader DataLoaderError.swift
[578/580] Compiling AsyncDataLoader Channel.swift
[579/580] Compiling DataLoader DataLoaderError.swift
[580/580] Emitting module DataLoader
Build complete! (23.52s)
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
[1/289] Fetching async-collections
Fetched https://github.com/adam-fowler/async-collections from cache (0.97s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.97s)
Fetched https://github.com/apple/swift-nio.git from cache (0.98s)
Computing version for https://github.com/adam-fowler/async-collections
Computed https://github.com/adam-fowler/async-collections at 0.1.0 (1.48s)
Fetching https://github.com/apple/swift-atomics.git from cache
Fetching https://github.com/apple/swift-collections.git from cache
Fetched https://github.com/apple/swift-atomics.git from cache (0.71s)
Fetched https://github.com/apple/swift-collections.git from cache (0.73s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.68s)
Fetching https://github.com/apple/swift-numerics.git from cache
Fetched https://github.com/apple/swift-numerics.git from cache (0.44s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (1.06s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.44s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.68s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.82.1 (0.66s)
Fetching https://github.com/apple/swift-system.git from cache
Fetched https://github.com/apple/swift-system.git from cache (0.62s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (1.08s)
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-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
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-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-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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.82.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
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.