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 Linux on 29 Apr 2025 18:12:50 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/GraphQLSwift/DataLoader.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/GraphQLSwift/DataLoader
 * 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:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/GraphQLSwift/DataLoader.git
https://github.com/GraphQLSwift/DataLoader.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-algorithms",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-algorithms.git"
    },
    {
      "identity" : "async-collections",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/adam-fowler/async-collections"
    },
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    }
  ],
  "manifest_display_name" : "DataLoader",
  "name" : "DataLoader",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    }
  ],
  "products" : [
    {
      "name" : "DataLoader",
      "targets" : [
        "DataLoader"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "AsyncDataLoader",
      "targets" : [
        "AsyncDataLoader"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DataLoaderTests",
      "module_type" : "SwiftTarget",
      "name" : "DataLoaderTests",
      "path" : "Tests/DataLoaderTests",
      "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 ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/adam-fowler/async-collections
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-nio.git
[1/289] Fetching async-collections
[290/6192] Fetching async-collections, swift-algorithms
[6193/81742] Fetching async-collections, swift-algorithms, swift-nio
Fetched https://github.com/adam-fowler/async-collections from cache (4.11s)
Fetched https://github.com/apple/swift-algorithms.git from cache (4.11s)
Fetched https://github.com/apple/swift-nio.git from cache (4.21s)
Computing version for https://github.com/adam-fowler/async-collections
Computed https://github.com/adam-fowler/async-collections at 0.1.0 (5.55s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
[1/1705] Fetching swift-atomics
[530/17974] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.14s)
Fetched https://github.com/apple/swift-collections.git from cache (1.16s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (3.46s)
Fetching https://github.com/apple/swift-numerics.git
[1/5674] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.47s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (1.70s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.55s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.83s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.82.1 (1.13s)
Fetching https://github.com/apple/swift-system.git
[1/4364] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.39s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.90s)
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
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/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
Building for debugging...
[0/32] Write sources
[18/32] Compiling CNIOWindows shim.c
[18/32] Compiling CNIOWindows WSAStartup.c
[18/32] Compiling _AtomicsShims.c
[21/32] Compiling _NumericsShims _NumericsShims.c
[22/32] Write sources
[25/32] Compiling CNIOWASI CNIOWASI.c
[25/32] Compiling CNIOLinux liburing_shims.c
[27/32] Compiling CNIODarwin shim.c
[28/32] Compiling CNIOLinux shim.c
[29/32] Write swift-version-24593BA9C3E375BF.txt
[31/84] Emitting module InternalCollectionsUtilities
[32/86] Emitting module RealModule
[32/87] Compiling c-nioatomics.c
[33/87] Compiling c-atomics.c
[35/87] Compiling Atomics AtomicStorage.swift
[36/87] Compiling Atomics AtomicValue.swift
[37/87] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[38/87] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[39/89] Compiling RealModule Double+Real.swift
[40/89] Compiling Atomics PointerConformances.swift
[41/89] Compiling Atomics Primitives.native.swift
[44/89] Compiling RealModule Float+Real.swift
[45/89] Compiling RealModule AlgebraicField.swift
[46/89] Compiling RealModule ApproximateEquality.swift
[47/89] Compiling RealModule AugmentedArithmetic.swift
[48/95] Compiling RealModule ElementaryFunctions.swift
[52/95] Emitting module Atomics
[53/95] Compiling _NIOBase64 Base64.swift
[54/95] Emitting module _NIOBase64
[55/95] Compiling Atomics AtomicMemoryOrderings.swift
[56/95] Compiling Atomics DoubleWord.swift
[57/95] Compiling Atomics ManagedAtomic.swift
[58/95] Compiling Atomics ManagedAtomicLazyReference.swift
[59/96] Compiling Atomics Primitives.shims.swift
[60/96] Compiling Atomics AtomicInteger.swift
[61/96] Compiling Atomics AtomicOptionalWrappable.swift
[67/96] Compiling Atomics AtomicReference.swift
[70/96] Compiling RealModule RealFunctions.swift
[77/96] Compiling RealModule Real.swift
[82/96] Compiling _NIODataStructures PriorityQueue.swift
[83/96] Compiling _NIODataStructures _TinyArray.swift
[84/97] Compiling RealModule Float80+Real.swift
[85/97] Compiling RealModule Float16+Real.swift
[88/98] Compiling Atomics IntegerOperations.swift
[89/98] Compiling Atomics Unmanaged extensions.swift
[92/254] Emitting module NIOConcurrencyHelpers
[93/330] Compiling NIOConcurrencyHelpers lock.swift
[94/330] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[95/330] Compiling NIOConcurrencyHelpers NIOLock.swift
[96/330] Compiling HeapModule Heap+Invariants.swift
[97/345] Emitting module _NIODataStructures
[98/345] Compiling _NIODataStructures Heap.swift
[99/346] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[100/346] Emitting module HeapModule
[101/346] Compiling HeapModule Heap+Descriptions.swift
[102/346] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[104/346] Compiling NIOConcurrencyHelpers atomics.swift
[105/347] Compiling HeapModule Heap.swift
[106/347] Compiling HeapModule _HeapNode.swift
[108/347] Compiling DequeModule _DequeBuffer.swift
[109/347] Compiling DequeModule _DequeBufferHeader.swift
[110/349] Compiling HeapModule Heap+UnsafeHandle.swift
[111/403] Compiling BitCollections BitArray+Codable.swift
[112/403] Compiling BitCollections BitArray+Collection.swift
[113/403] Compiling BitCollections BitArray+Copy.swift
[114/403] Compiling BitCollections BitArray+CustomReflectable.swift
[116/403] Compiling HashTreeCollections TreeSet+Hashable.swift
[117/403] Compiling HashTreeCollections TreeSet+Sendable.swift
[118/403] Compiling HashTreeCollections TreeSet+Sequence.swift
[119/403] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[120/403] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[121/403] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[122/403] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[123/403] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[124/403] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[125/403] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[126/413] Compiling BitCollections BitSet+SetAlgebra intersection.swift
[127/413] Compiling BitCollections BitSet+SetAlgebra isDisjoint.swift
[128/413] Compiling BitCollections BitSet+SetAlgebra isEqualSet.swift
[129/413] Compiling BitCollections BitSet+SetAlgebra isStrictSubset.swift
[130/413] Compiling BitCollections BitSet+SetAlgebra isStrictSuperset.swift
[131/413] Compiling BitCollections BitSet+SetAlgebra isSubset.swift
[132/413] Compiling BitCollections BitSet+SetAlgebra isSuperset.swift
[133/413] Compiling BitCollections BitSet+Invariants.swift
[134/413] Compiling BitCollections BitSet+Random.swift
[135/413] Compiling BitCollections BitSet+SetAlgebra basics.swift
[136/413] Compiling BitCollections BitSet+SetAlgebra conformance.swift
[137/413] Compiling BitCollections BitSet+SetAlgebra formIntersection.swift
[138/413] Compiling BitCollections BitSet+SetAlgebra formSymmetricDifference.swift
[139/413] Compiling BitCollections BitSet+SetAlgebra formUnion.swift
[140/420] Compiling BitCollections BitArray+Invariants.swift
[141/420] Compiling BitCollections BitArray+LosslessStringConvertible.swift
[142/420] Compiling BitCollections BitArray+RandomBits.swift
[143/420] Compiling BitCollections BitArray+RangeReplaceableCollection.swift
[144/420] Compiling BitCollections BitArray+Shifts.swift
[145/420] Compiling BitCollections BitArray+Testing.swift
[146/420] Compiling BitCollections BitArray._UnsafeHandle.swift
[147/420] Compiling BitCollections BitArray.swift
[148/420] Compiling BitCollections BitSet+BidirectionalCollection.swift
[149/420] Compiling BitCollections BitSet+Codable.swift
[150/420] Compiling BitCollections BitSet+CustomDebugStringConvertible.swift
[151/420] Compiling BitCollections BitSet+CustomReflectable.swift
[152/420] Compiling BitCollections BitSet+CustomStringConvertible.swift
[153/420] Compiling BitCollections BitSet+Equatable.swift
[154/420] Compiling BitCollections BitSet+ExpressibleByArrayLiteral.swift
[155/420] Compiling BitCollections BitSet+Extras.swift
[156/420] Compiling BitCollections BitSet+Hashable.swift
[157/420] Compiling BitCollections BitSet+Initializers.swift
[158/420] Compiling BitCollections BitSet+SetAlgebra subtract.swift
[159/420] Compiling BitCollections BitSet+SetAlgebra subtracting.swift
[160/420] Compiling BitCollections BitSet+SetAlgebra symmetricDifference.swift
[161/420] Compiling BitCollections BitSet+SetAlgebra union.swift
[162/420] Compiling BitCollections BitSet+Sorted Collection APIs.swift
[163/420] Compiling BitCollections BitSet.Counted.swift
[164/420] Compiling HashTreeCollections TreeDictionary+Sendable.swift
[165/420] Compiling HashTreeCollections TreeDictionary+Sequence.swift
[166/420] Compiling BitCollections BitArray+ExpressibleByArrayLiteral.swift
[167/420] Compiling BitCollections BitArray+ExpressibleByStringLiteral.swift
[168/420] Compiling BitCollections BitArray+Extras.swift
[169/420] Compiling BitCollections BitArray+Fill.swift
[170/420] Compiling BitCollections BitArray+Hashable.swift
[171/420] Compiling BitCollections BitArray+Initializers.swift
[184/420] Compiling OrderedCollections OrderedSet+Sendable.swift
[185/420] Compiling OrderedCollections OrderedSet+SubSequence.swift
[186/420] Compiling OrderedCollections OrderedSet+Testing.swift
[187/420] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[188/420] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[189/420] Compiling OrderedCollections OrderedSet.swift
[190/420] Compiling OrderedCollections _UnsafeBitset.swift
[191/420] Compiling HashTreeCollections TreeSet+Equatable.swift
[192/420] Compiling HashTreeCollections TreeSet+ExpressibleByArrayLiteral.swift
[193/420] Compiling HashTreeCollections TreeSet+Extras.swift
[194/420] Compiling HashTreeCollections TreeSet+Filter.swift
[195/420] Compiling BitCollections BitArray+Descriptions.swift
[196/420] Compiling BitCollections BitArray+Equatable.swift
[214/430] Compiling Algorithms Trim.swift
[215/430] Compiling Algorithms Unique.swift
[216/430] Compiling Algorithms Windows.swift
[228/430] Compiling BitCollections BitArray+BitwiseOperations.swift
[229/430] Compiling BitCollections BitArray+ChunkedBitsIterators.swift
[244/430] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[245/430] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[246/430] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[247/430] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[248/430] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[249/430] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[250/430] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[251/430] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[252/430] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[253/430] Compiling HashTreeCollections TreeSet.swift
[261/430] Emitting module DequeModule
[276/431] Compiling BitCollections _Word.swift
[295/440] Compiling BitCollections BitSet.Index.swift
[296/440] Compiling BitCollections BitSet._UnsafeHandle.swift
[297/440] Compiling BitCollections BitSet.swift
[298/440] Compiling BitCollections Range+Utilities.swift
[299/440] Compiling BitCollections Slice+Utilities.swift
[300/440] Compiling BitCollections UInt+Tricks.swift
[336/440] Emitting module BitCollections
[367/500] Emitting module OrderedCollections
[368/500] Compiling NIOCore AddressedEnvelope.swift
[369/500] Compiling NIOCore AsyncAwaitSupport.swift
[370/500] Compiling NIOCore AsyncChannel.swift
[371/500] Compiling NIOCore AsyncChannelHandler.swift
[372/500] Compiling NIOCore IntegerBitPacking.swift
[373/500] Compiling NIOCore IntegerTypes.swift
[374/500] Compiling NIOCore Interfaces.swift
[375/500] Compiling NIOCore Linux.swift
[383/501] Compiling NIOCore AsyncChannelInboundStream.swift
[384/501] Compiling NIOCore AsyncChannelOutboundWriter.swift
[385/501] Compiling NIOCore NIOAsyncSequenceProducer.swift
[386/501] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[387/501] Compiling NIOCore NIOAsyncWriter.swift
[388/501] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[399/501] Compiling NIOCore BSDSocketAPI.swift
[401/501] Emitting module _RopeModule
[402/501] Compiling NIOCore ChannelHandler.swift
[403/501] Compiling NIOCore ChannelHandlers.swift
[404/501] Compiling NIOCore ChannelInvoker.swift
[405/501] Compiling NIOCore ChannelOption.swift
[406/501] Compiling NIOCore EventLoop.swift
[407/501] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[408/501] Compiling NIOCore EventLoopFuture+Deprecated.swift
[409/501] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[410/501] Compiling NIOCore EventLoopFuture.swift
[411/501] Compiling NIOCore FileDescriptor.swift
[412/501] Compiling NIOCore FileHandle.swift
[413/501] Emitting module Algorithms
[415/502] Compiling NIOCore MarkedCircularBuffer.swift
[416/502] Compiling NIOCore MulticastChannel.swift
[417/502] Compiling NIOCore NIOAny.swift
[418/502] Compiling NIOCore NIOCloseOnErrorHandler.swift
[419/502] Compiling NIOCore NIOLoopBound.swift
[420/502] Compiling NIOCore NIOScheduledCallback.swift
[421/502] Compiling NIOCore NIOSendable.swift
[422/502] Compiling NIOCore RecvByteBufferAllocator.swift
[423/510] Compiling _RopeModule Rope+Join.swift
[424/510] Compiling _RopeModule Rope+MutatingForEach.swift
[425/510] Compiling _RopeModule Rope+Remove.swift
[426/510] Compiling _RopeModule Rope+RemoveSubrange.swift
[427/510] Compiling _RopeModule Rope+Split.swift
[428/510] Compiling _RopeModule Optional Utilities.swift
[429/510] Compiling _RopeModule String Utilities.swift
[430/510] Compiling _RopeModule String.Index+ABI.swift
[431/510] Compiling _RopeModule _CharacterRecognizer.swift
[432/510] Emitting module HashTreeCollections
[435/511] Compiling NIOCore GlobalSingletons.swift
[436/511] Compiling NIOCore IO.swift
[437/511] Compiling NIOCore IOData.swift
[438/511] Compiling NIOCore IPProtocol.swift
[446/511] Compiling NIOCore FileRegion.swift
[447/511] Compiling NIOCore ChannelPipeline.swift
[448/511] Compiling NIOCore CircularBuffer.swift
[449/511] Compiling NIOCore Codec.swift
[450/511] Compiling NIOCore ConvenienceOptionSupport.swift
[451/511] Compiling NIOCore DeadChannel.swift
[462/514] Compiling Collections Collections.swift
[463/514] Emitting module Collections
[478/523] Compiling NIOCore DispatchQueue+WithFuture.swift
[479/523] Compiling NIOCore EventLoop+Deprecated.swift
[480/523] Compiling NIOCore EventLoop+SerialExecutor.swift
[481/523] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[482/523] Compiling NIOCore SocketAddresses.swift
[483/523] Compiling NIOCore SocketOptionProvider.swift
[484/523] Compiling NIOCore SystemCallHelpers.swift
[485/523] Compiling NIOCore TimeAmount+Duration.swift
[486/523] Compiling NIOCore TypeAssistedChannelHandler.swift
[487/523] Compiling NIOCore UniversalBootstrapSupport.swift
[488/523] Compiling NIOCore Utilities.swift
[491/523] Compiling NIOCore ByteBuffer-aux.swift
[492/523] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[493/523] Compiling NIOCore ByteBuffer-conversions.swift
[494/523] Compiling NIOCore ByteBuffer-core.swift
[495/523] Compiling NIOCore ByteBuffer-hex.swift
[496/523] Compiling NIOCore ByteBuffer-int.swift
[497/523] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[507/523] Emitting module AsyncCollections
[508/523] Compiling AsyncCollections Filter.swift
[509/523] Compiling AsyncCollections Map.swift
[510/523] Compiling AsyncCollections TaskQueue.swift
[511/523] Compiling AsyncCollections ForEach.swift
[512/523] Compiling AsyncCollections FlatMap.swift
[513/523] Compiling AsyncCollections CompactMap.swift
[514/523] Compiling NIOCore ByteBuffer-multi-int.swift
[515/523] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[516/523] Compiling NIOCore ByteBuffer-views.swift
[517/523] Compiling NIOCore Channel.swift
[522/523] Compiling AsyncCollections AsyncSemaphore.swift
[524/530] Emitting module AsyncDataLoader
[525/530] Compiling AsyncDataLoader Channel.swift
[526/530] Compiling AsyncDataLoader DataLoaderOptions.swift
[527/530] Compiling AsyncDataLoader DataLoaderError.swift
[528/530] Compiling AsyncDataLoader DataLoader.swift
[529/530] Compiling AsyncDataLoader State.swift
[531/531] Emitting module NIOCore
[533/583] Emitting module NIOEmbedded
[534/583] Compiling NIOEmbedded AsyncTestingChannel.swift
[535/583] Compiling NIOEmbedded Embedded.swift
[536/583] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[538/584] Emitting module NIOPosix
[539/590] Compiling NIOPosix SelectableChannel.swift
[540/590] Compiling NIOPosix SelectableEventLoop.swift
[541/590] Compiling NIOPosix SelectorEpoll.swift
[542/590] Compiling NIOPosix SelectorGeneric.swift
[543/590] Compiling NIOPosix SelectorKqueue.swift
[544/590] Compiling NIOPosix SelectorUring.swift
[545/590] Compiling NIOPosix ThreadPosix.swift
[546/590] Compiling NIOPosix ThreadWindows.swift
[547/590] Compiling NIOPosix UnsafeTransfer.swift
[548/590] Compiling NIOPosix Utilities.swift
[549/590] Compiling NIOPosix VsockAddress.swift
[550/590] Compiling NIOPosix VsockChannelEvents.swift
[551/590] Compiling NIOPosix Bootstrap.swift
[552/590] Compiling NIOPosix ControlMessage.swift
[553/590] Compiling NIOPosix DatagramVectorReadManager.swift
[554/590] Compiling NIOPosix Errors+Any.swift
[555/590] Compiling NIOPosix FileDescriptor.swift
[556/590] Compiling NIOPosix GetaddrinfoResolver.swift
[557/590] Compiling NIOPosix HappyEyeballs.swift
[558/590] Compiling NIOPosix ServerSocket.swift
[559/590] Compiling NIOPosix Socket.swift
[560/590] Compiling NIOPosix SocketChannel.swift
[561/590] Compiling NIOPosix SocketProtocols.swift
[562/590] Compiling NIOPosix System.swift
[563/590] Compiling NIOPosix Thread.swift
[564/590] Compiling NIOPosix NIOThreadPool.swift
[565/590] Compiling NIOPosix NonBlockingFileIO.swift
[566/590] Compiling NIOPosix PendingDatagramWritesManager.swift
[567/590] Compiling NIOPosix PendingWritesManager.swift
[568/590] Compiling NIOPosix PipeChannel.swift
[569/590] Compiling NIOPosix PipePair.swift
[570/590] Compiling NIOPosix Pool.swift
[571/590] Compiling NIOPosix IO.swift
[572/590] Compiling NIOPosix IntegerBitPacking.swift
[573/590] Compiling NIOPosix IntegerTypes.swift
[574/590] Compiling NIOPosix Linux.swift
[575/590] Compiling NIOPosix LinuxCPUSet.swift
[576/590] Compiling NIOPosix LinuxUring.swift
[577/590] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[578/590] Compiling NIOPosix PooledRecvBufferAllocator.swift
[579/590] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[580/590] Compiling NIOPosix PosixSingletons.swift
[581/590] Compiling NIOPosix RawSocketBootstrap.swift
[582/590] Compiling NIOPosix Resolver.swift
[583/590] Compiling NIOPosix Selectable.swift
[584/590] Compiling NIOPosix BSDSocketAPICommon.swift
[585/590] Compiling NIOPosix BSDSocketAPIPosix.swift
[586/590] Compiling NIOPosix BSDSocketAPIWindows.swift
[587/590] Compiling NIOPosix BaseSocket.swift
[588/590] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[589/590] Compiling NIOPosix BaseSocketChannel.swift
[590/590] Compiling NIOPosix BaseStreamSocketChannel.swift
[592/593] Emitting module NIO
[593/593] Compiling NIO Exports.swift
[595/598] Compiling DataLoader DataLoaderError.swift
[596/598] Compiling DataLoader DataLoaderOptions.swift
[597/598] Emitting module DataLoader
[598/598] Compiling DataLoader DataLoader.swift
/host/spi-builder-workspace/Sources/DataLoader/DataLoader.swift:70:63: warning: type 'Value' does not conform to the 'Sendable' protocol
 19 | /// with different access permissions and consider creating a new instance
 20 | /// per data request.
 21 | public final class DataLoader<Key: Hashable, Value> {
    |                                              `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
 22 |     private let batchLoadFunction: BatchLoadFunction<Key, Value>
 23 |     private let options: DataLoaderOptions<Key, Value>
    :
 68 |                             let result = results[0]
 69 |                             switch result {
 70 |                             case let .success(value): promise.succeed(value)
    |                                                               `- warning: type 'Value' does not conform to the 'Sendable' protocol
 71 |                             case let .failure(error): promise.fail(error)
 72 |                             }
/host/spi-builder-workspace/Sources/DataLoader/DataLoader.swift:54:29: warning: capture of 'self' with non-sendable type 'DataLoader<Key, Value>' in a '@Sendable' closure
 19 | /// with different access permissions and consider creating a new instance
 20 | /// per data request.
 21 | public final class DataLoader<Key: Hashable, Value> {
    |                    `- note: generic class 'DataLoader' does not conform to the 'Sendable' protocol
 22 |     private let batchLoadFunction: BatchLoadFunction<Key, Value>
 23 |     private let options: DataLoaderOptions<Key, Value>
    :
 52 |                 if let executionPeriod = options.executionPeriod, !dispatchScheduled {
 53 |                     eventLoopGroup.next().scheduleTask(in: executionPeriod) {
 54 |                         try self.execute()
    |                             `- warning: capture of 'self' with non-sendable type 'DataLoader<Key, Value>' in a '@Sendable' closure
 55 |                     }
 56 |                     dispatchScheduled = true
/host/spi-builder-workspace/Sources/DataLoader/DataLoader.swift:65:89: warning: capture of 'key' with non-sendable type 'Key' in a '@Sendable' closure
 19 | /// with different access permissions and consider creating a new instance
 20 | /// per data request.
 21 | public final class DataLoader<Key: Hashable, Value> {
    |                               `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
 22 |     private let batchLoadFunction: BatchLoadFunction<Key, Value>
 23 |     private let options: DataLoaderOptions<Key, Value>
    :
 63 |                                 .fail(
 64 |                                     DataLoaderError
 65 |                                         .noValueForKey("Did not return value for key: \(key)")
    |                                                                                         `- warning: capture of 'key' with non-sendable type 'Key' in a '@Sendable' closure
 66 |                                 )
 67 |                         } else {
/host/spi-builder-workspace/Sources/DataLoader/DataLoader.swift:109:42: warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 19 | /// with different access permissions and consider creating a new instance
 20 | /// per data request.
 21 | public final class DataLoader<Key: Hashable, Value> {
    |                                              `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
 22 |     private let batchLoadFunction: BatchLoadFunction<Key, Value>
 23 |     private let options: DataLoaderOptions<Key, Value>
    :
107 |     ) throws -> EventLoopFuture<[Value]> {
108 |         guard !keys.isEmpty else {
109 |             return eventLoopGroup.next().makeSucceededFuture([])
    |                                          `- warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
110 |         }
111 |         let futures = try keys.map { try load(key: $0, on: eventLoopGroup) }
/host/spi-builder-workspace/Sources/DataLoader/DataLoader.swift:112:32: warning: type 'Value' does not conform to the 'Sendable' protocol
 19 | /// with different access permissions and consider creating a new instance
 20 | /// per data request.
 21 | public final class DataLoader<Key: Hashable, Value> {
    |                                              `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
 22 |     private let batchLoadFunction: BatchLoadFunction<Key, Value>
 23 |     private let options: DataLoaderOptions<Key, Value>
    :
110 |         }
111 |         let futures = try keys.map { try load(key: $0, on: eventLoopGroup) }
112 |         return EventLoopFuture.whenAllSucceed(futures, on: eventLoopGroup.next())
    |                                `- warning: type 'Value' does not conform to the 'Sendable' protocol
113 |     }
114 |
/host/spi-builder-workspace/Sources/DataLoader/DataLoader.swift:150:25: warning: type 'Value' does not conform to the 'Sendable' protocol
 19 | /// with different access permissions and consider creating a new instance
 20 | /// per data request.
 21 | public final class DataLoader<Key: Hashable, Value> {
    |                                              `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
 22 |     private let batchLoadFunction: BatchLoadFunction<Key, Value>
 23 |     private let options: DataLoaderOptions<Key, Value>
    :
148 |             if cache[cacheKey] == nil {
149 |                 let promise: EventLoopPromise<Value> = eventLoop.next().makePromise()
150 |                 promise.succeed(value)
    |                         `- warning: type 'Value' does not conform to the 'Sendable' protocol
151 |
152 |                 cache[cacheKey] = promise.futureResult
/host/spi-builder-workspace/Sources/DataLoader/DataLoader.swift:216:69: warning: type 'Value' does not conform to the 'Sendable' protocol
 19 | /// with different access permissions and consider creating a new instance
 20 | /// per data request.
 21 | public final class DataLoader<Key: Hashable, Value> {
    |                                              `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
 22 |     private let batchLoadFunction: BatchLoadFunction<Key, Value>
 23 |     private let options: DataLoaderOptions<Key, Value>
    :
214 |                     switch result {
215 |                     case let .failure(error): entry.element.promise.fail(error)
216 |                     case let .success(value): entry.element.promise.succeed(value)
    |                                                                     `- warning: type 'Value' does not conform to the 'Sendable' protocol
217 |                     }
218 |                 }
/host/spi-builder-workspace/Sources/DataLoader/DataLoader.swift:204:36: warning: capture of 'keys' with non-sendable type '[Key]' in a '@Sendable' closure
 19 | /// with different access permissions and consider creating a new instance
 20 | /// per data request.
 21 | public final class DataLoader<Key: Hashable, Value> {
    |                               `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
 22 |     private let batchLoadFunction: BatchLoadFunction<Key, Value>
 23 |     private let options: DataLoaderOptions<Key, Value>
    :
202 |         do {
203 |             _ = try batchLoadFunction(keys).flatMapThrowing { values in
204 |                 if values.count != keys.count {
    |                                    `- warning: capture of 'keys' with non-sendable type '[Key]' in a '@Sendable' closure
205 |                     throw DataLoaderError
206 |                         .typeError(
/host/spi-builder-workspace/Sources/DataLoader/DataLoader.swift:211:30: warning: capture of 'batch' with non-sendable type 'LoaderQueue<Key, Value>' (aka 'Array<(key: Key, promise: EventLoopPromise<Value>)>') in a '@Sendable' closure
 19 | /// with different access permissions and consider creating a new instance
 20 | /// per data request.
 21 | public final class DataLoader<Key: Hashable, Value> {
    |                               `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
 22 |     private let batchLoadFunction: BatchLoadFunction<Key, Value>
 23 |     private let options: DataLoaderOptions<Key, Value>
    :
209 |                 }
210 |
211 |                 for entry in batch.enumerated() {
    |                              `- warning: capture of 'batch' with non-sendable type 'LoaderQueue<Key, Value>' (aka 'Array<(key: Key, promise: EventLoopPromise<Value>)>') in a '@Sendable' closure
212 |                     let result = values[entry.offset]
213 |
/host/spi-builder-workspace/Sources/DataLoader/DataLoader.swift:220:17: warning: capture of 'self' with non-sendable type 'DataLoader<Key, Value>' in a '@Sendable' closure
 19 | /// with different access permissions and consider creating a new instance
 20 | /// per data request.
 21 | public final class DataLoader<Key: Hashable, Value> {
    |                    `- note: generic class 'DataLoader' does not conform to the 'Sendable' protocol
 22 |     private let batchLoadFunction: BatchLoadFunction<Key, Value>
 23 |     private let options: DataLoaderOptions<Key, Value>
    :
218 |                 }
219 |             }.recover { error in
220 |                 self.failedExecution(batch: batch, error: error)
    |                 `- warning: capture of 'self' with non-sendable type 'DataLoader<Key, Value>' in a '@Sendable' closure
221 |             }
222 |         } catch {
/host/spi-builder-workspace/Sources/DataLoader/DataLoader.swift:220:45: warning: capture of 'batch' with non-sendable type 'LoaderQueue<Key, Value>' (aka 'Array<(key: Key, promise: EventLoopPromise<Value>)>') in a '@Sendable' closure
 19 | /// with different access permissions and consider creating a new instance
 20 | /// per data request.
 21 | public final class DataLoader<Key: Hashable, Value> {
    |                               `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
 22 |     private let batchLoadFunction: BatchLoadFunction<Key, Value>
 23 |     private let options: DataLoaderOptions<Key, Value>
    :
218 |                 }
219 |             }.recover { error in
220 |                 self.failedExecution(batch: batch, error: error)
    |                                             `- warning: capture of 'batch' with non-sendable type 'LoaderQueue<Key, Value>' (aka 'Array<(key: Key, promise: EventLoopPromise<Value>)>') in a '@Sendable' closure
221 |             }
222 |         } catch {
/host/spi-builder-workspace/Sources/DataLoader/DataLoader.swift:250:25: warning: type 'DataLoaderFutureValue<Value>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  2 | import 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 |                 }
/host/spi-builder-workspace/Sources/DataLoader/DataLoader.swift:251:57: warning: capture of 'keys' with non-sendable type '[Key]' in a '@Sendable' closure
 19 | /// with different access permissions and consider creating a new instance
 20 | /// per data request.
 21 | public final class DataLoader<Key: Hashable, Value> {
    |                               `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
 22 |     private let batchLoadFunction: BatchLoadFunction<Key, Value>
 23 |     private let options: DataLoaderOptions<Key, Value>
    :
249 |                 let promise = eventLoop.next().makePromise(of: [DataLoaderFutureValue<Value>].self)
250 |                 promise.completeWithTask {
251 |                     try await asyncThrowingLoadFunction(keys)
    |                                                         `- warning: capture of 'keys' with non-sendable type '[Key]' in a '@Sendable' closure
252 |                 }
253 |                 return promise.futureResult
/host/spi-builder-workspace/Sources/DataLoader/DataLoader.swift:260:58: warning: type 'Value' does not conform to the 'Sendable' protocol
 19 | /// with different access permissions and consider creating a new instance
 20 | /// per data request.
 21 | public final class DataLoader<Key: Hashable, Value> {
    |                                              `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
 22 |     private let batchLoadFunction: BatchLoadFunction<Key, Value>
 23 |     private let options: DataLoaderOptions<Key, Value>
    :
258 |         @available(macOS 12, iOS 15, watchOS 8, tvOS 15, *)
259 |         func load(key: Key, on eventLoopGroup: EventLoopGroup) async throws -> Value {
260 |             try await load(key: key, on: eventLoopGroup).get()
    |                                                          `- warning: type 'Value' does not conform to the 'Sendable' protocol
261 |         }
262 |
/host/spi-builder-workspace/Sources/DataLoader/DataLoader.swift:278:64: warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 19 | /// with different access permissions and consider creating a new instance
 20 | /// per data request.
 21 | public final class DataLoader<Key: Hashable, Value> {
    |                                              `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
 22 |     private let batchLoadFunction: BatchLoadFunction<Key, Value>
 23 |     private let options: DataLoaderOptions<Key, Value>
    :
276 |         @available(macOS 12, iOS 15, watchOS 8, tvOS 15, *)
277 |         func loadMany(keys: [Key], on eventLoopGroup: EventLoopGroup) async throws -> [Value] {
278 |             try await loadMany(keys: keys, on: eventLoopGroup).get()
    |                                                                `- warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
279 |         }
280 |     }
Build complete! (77.83s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-algorithms",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-algorithms.git"
    },
    {
      "identity" : "async-collections",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/adam-fowler/async-collections"
    },
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    }
  ],
  "manifest_display_name" : "DataLoader",
  "name" : "DataLoader",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    }
  ],
  "products" : [
    {
      "name" : "DataLoader",
      "targets" : [
        "DataLoader"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "AsyncDataLoader",
      "targets" : [
        "AsyncDataLoader"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DataLoaderTests",
      "module_type" : "SwiftTarget",
      "name" : "DataLoaderTests",
      "path" : "Tests/DataLoaderTests",
      "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"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.