This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
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 6717df8 Merge pull request #17 from NeedleInAJayStack/fix/swiftformat
Cloned https://github.com/GraphQLSwift/DataLoader.git
Revision (git rev-parse @):
6717df89423726bbe99ec90ad23a61a63aa66cc7
SUCCESS checkout https://github.com/GraphQLSwift/DataLoader.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/GraphQLSwift/DataLoader.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/15] Write sources
[7/15] Compiling CNIOWindows WSAStartup.c
[7/15] Compiling CNIOWindows shim.c
[9/15] Compiling CNIOLinux shim.c
[10/15] Compiling CNIOLinux liburing_shims.c
[11/15] Write swift-version-6F35C1178C84523A.txt
[12/18] Compiling CNIODarwin shim.c
[13/18] Compiling c-nioatomics.c
[14/18] Compiling c-atomics.c
[16/22] Compiling _NIODataStructures Heap.swift
[17/22] Compiling _NIODataStructures PriorityQueue.swift
[18/22] Emitting module _NIODataStructures
[19/22] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[20/22] Emitting module NIOConcurrencyHelpers
[21/22] Compiling NIOConcurrencyHelpers lock.swift
[22/22] Compiling NIOConcurrencyHelpers atomics.swift
[23/67] Compiling NIOCore MarkedCircularBuffer.swift
[24/67] Compiling NIOCore MulticastChannel.swift
[25/67] Compiling NIOCore NIOAny.swift
[26/67] Compiling NIOCore NIOCloseOnErrorHandler.swift
[27/67] Compiling NIOCore PointerHelpers.swift
[28/71] Compiling NIOCore SystemCallHelpers.swift
[29/71] Compiling NIOCore TypeAssistedChannelHandler.swift
[30/71] Compiling NIOCore UniversalBootstrapSupport.swift
[31/71] Compiling NIOCore Utilities.swift
[32/71] Compiling NIOCore IOData.swift
[33/71] Compiling NIOCore IntegerBitPacking.swift
[34/71] Compiling NIOCore IntegerTypes.swift
[35/71] Compiling NIOCore Interfaces.swift
[36/71] Compiling NIOCore Linux.swift
[37/71] Compiling NIOCore AddressedEnvelope.swift
[38/71] Compiling NIOCore AsyncAwaitSupport+OldXcodes.swift
[39/71] Compiling NIOCore AsyncAwaitSupport.swift
[40/71] Compiling NIOCore BSDSocketAPI.swift
[41/71] Compiling NIOCore ByteBuffer-aux.swift
[42/71] Compiling NIOCore RecvByteBufferAllocator.swift
[43/71] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[44/71] Compiling NIOCore SocketAddresses.swift
[45/71] Compiling NIOCore SocketOptionProvider.swift
[46/71] Compiling NIOCore ByteBuffer-views.swift
[47/71] Compiling NIOCore Channel.swift
[48/71] Compiling NIOCore ChannelHandler.swift
[49/71] Compiling NIOCore ChannelHandlers.swift
[50/71] Compiling NIOCore ChannelInvoker.swift
[51/71] Compiling NIOCore DeadChannel.swift
[52/71] Compiling NIOCore DispatchQueue+WithFuture.swift
[53/71] Compiling NIOCore EventLoop+Deprecated.swift
[54/71] Compiling NIOCore EventLoop.swift
[55/71] Compiling NIOCore EventLoopFuture+Deprecated.swift
[56/71] Compiling NIOCore EventLoopFuture.swift
[57/71] Compiling NIOCore FileDescriptor.swift
[58/71] Compiling NIOCore FileHandle.swift
[59/71] Compiling NIOCore FileRegion.swift
[60/71] Compiling NIOCore IO.swift
[61/71] Compiling NIOCore ChannelOption.swift
[62/71] Compiling NIOCore ChannelPipeline.swift
[63/71] Compiling NIOCore CircularBuffer.swift
[64/71] Compiling NIOCore Codec.swift
[65/71] Compiling NIOCore ConvenienceOptionSupport.swift
[66/71] Compiling NIOCore ByteBuffer-conversions.swift
[67/71] Compiling NIOCore ByteBuffer-core.swift
[68/71] Compiling NIOCore ByteBuffer-int.swift
[69/71] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[70/71] Compiling NIOCore ByteBuffer-multi-int.swift
[71/71] Emitting module NIOCore
[72/114] Emitting module NIOEmbedded
[73/114] Compiling NIOEmbedded Embedded.swift
[74/114] Compiling NIOPosix PipeChannel.swift
[75/114] Compiling NIOPosix PipePair.swift
[76/114] Compiling NIOPosix PointerHelpers.swift
[77/114] Compiling NIOPosix Resolver.swift
[78/118] Compiling NIOPosix IntegerTypes.swift
[79/118] Compiling NIOPosix Linux.swift
[80/118] Compiling NIOPosix LinuxCPUSet.swift
[81/118] Compiling NIOPosix LinuxUring.swift
[82/118] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[83/118] Compiling NIOPosix FileDescriptor.swift
[84/118] Compiling NIOPosix GetaddrinfoResolver.swift
[85/118] Compiling NIOPosix HappyEyeballs.swift
[86/118] Compiling NIOPosix IO.swift
[87/118] Compiling NIOPosix IntegerBitPacking.swift
[88/118] Compiling NIOPosix Thread.swift
[89/118] Compiling NIOPosix ThreadPosix.swift
[90/118] Compiling NIOPosix ThreadWindows.swift
[91/118] Compiling NIOPosix Utilities.swift
[92/118] Compiling NIOPosix NIOThreadPool.swift
[93/118] Compiling NIOPosix NonBlockingFileIO.swift
[94/118] Compiling NIOPosix PendingDatagramWritesManager.swift
[95/118] Compiling NIOPosix PendingWritesManager.swift
[96/118] Compiling NIOPosix Socket.swift
[97/118] Compiling NIOPosix SocketChannel.swift
[98/118] Compiling NIOPosix SocketProtocols.swift
[99/118] Compiling NIOPosix System.swift
[100/118] Compiling NIOPosix SelectorGeneric.swift
[101/118] Compiling NIOPosix SelectorKqueue.swift
[102/118] Compiling NIOPosix SelectorUring.swift
[103/118] Compiling NIOPosix ServerSocket.swift
[104/118] Compiling NIOPosix Selectable.swift
[105/118] Compiling NIOPosix SelectableChannel.swift
[106/118] Compiling NIOPosix SelectableEventLoop.swift
[107/118] Compiling NIOPosix SelectorEpoll.swift
[108/118] Compiling NIOPosix BSDSocketAPICommon.swift
[109/118] Compiling NIOPosix BSDSocketAPIPosix.swift
[110/118] Compiling NIOPosix BSDSocketAPIWindows.swift
[111/118] Compiling NIOPosix BaseSocket.swift
[112/118] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[113/118] Emitting module NIOPosix
[114/118] Compiling NIOPosix BaseSocketChannel.swift
[115/118] Compiling NIOPosix BaseStreamSocketChannel.swift
[116/118] Compiling NIOPosix Bootstrap.swift
[117/118] Compiling NIOPosix ControlMessage.swift
[118/118] Compiling NIOPosix DatagramVectorReadManager.swift
[119/120] Emitting module NIO
[120/120] Compiling NIO Exports.swift
[121/124] Compiling DataLoader DataLoaderOptions.swift
[122/124] Compiling DataLoader DataLoaderError.swift
[123/124] Compiling DataLoader DataLoader.swift
/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; 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 '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; this is an error in the Swift 6 language mode
252 |                 }
253 |                 return promise.futureResult
[124/124] Emitting module DataLoader
Build complete! (21.21s)
Fetching https://github.com/apple/swift-nio.git
[1/65607] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (3.67s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.37.0 (0.79s)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.37.0
Build complete.
{
  "dependencies" : [
    {
      "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" : [
  ],
  "products" : [
    {
      "name" : "DataLoader",
      "targets" : [
        "DataLoader"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "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"
    }
  ],
  "tools_version" : "5.0"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.