The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of DataLoader, reference main (15ff32), with Swift 6.1 for Wasm on 11 Sep 2025 11:12:02 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/GraphQLSwift/DataLoader.git
Reference: 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 15ff327 Merge pull request #27 from bjschoenfeld/refactor/simplify-channel
Cloned https://github.com/GraphQLSwift/DataLoader.git
Revision (git rev-parse @):
15ff3272acac747a127e578c8f23b727e1f4fb89
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/GraphQLSwift/DataLoader.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/GraphQLSwift/DataLoader.git
https://github.com/GraphQLSwift/DataLoader.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-algorithms",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-algorithms.git"
    },
    {
      "identity" : "async-collections",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/adam-fowler/async-collections"
    },
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    }
  ],
  "manifest_display_name" : "DataLoader",
  "name" : "DataLoader",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    }
  ],
  "products" : [
    {
      "name" : "DataLoader",
      "targets" : [
        "DataLoader"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "AsyncDataLoader",
      "targets" : [
        "AsyncDataLoader"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DataLoaderTests",
      "module_type" : "SwiftTarget",
      "name" : "DataLoaderTests",
      "path" : "Tests/DataLoaderTests",
      "product_dependencies" : [
        "NIOCore",
        "NIOPosix"
      ],
      "sources" : [
        "DataLoaderAbuseTests.swift",
        "DataLoaderAsyncTests.swift",
        "DataLoaderTests.swift"
      ],
      "target_dependencies" : [
        "DataLoader"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DataLoader",
      "module_type" : "SwiftTarget",
      "name" : "DataLoader",
      "path" : "Sources/DataLoader",
      "product_dependencies" : [
        "NIOCore",
        "NIOConcurrencyHelpers"
      ],
      "product_memberships" : [
        "DataLoader"
      ],
      "sources" : [
        "DataLoader.swift",
        "DataLoaderError.swift",
        "DataLoaderOptions.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AsyncDataLoaderTests",
      "module_type" : "SwiftTarget",
      "name" : "AsyncDataLoaderTests",
      "path" : "Tests/AsyncDataLoaderTests",
      "sources" : [
        "DataLoaderAbuseTests.swift",
        "DataLoaderTests.swift"
      ],
      "target_dependencies" : [
        "AsyncDataLoader"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AsyncDataLoader",
      "module_type" : "SwiftTarget",
      "name" : "AsyncDataLoader",
      "path" : "Sources/AsyncDataLoader",
      "product_dependencies" : [
        "Algorithms",
        "AsyncCollections"
      ],
      "product_memberships" : [
        "AsyncDataLoader"
      ],
      "sources" : [
        "Channel.swift",
        "DataLoader.swift",
        "DataLoaderError.swift",
        "DataLoaderOptions.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/adam-fowler/async-collections
[1/289] Fetching async-collections
[290/6274] Fetching async-collections, swift-algorithms
[6275/84336] Fetching async-collections, swift-algorithms, swift-nio
Fetched https://github.com/adam-fowler/async-collections from cache (5.04s)
Fetched https://github.com/apple/swift-algorithms.git from cache (5.05s)
Fetched https://github.com/apple/swift-nio.git from cache (5.14s)
Computing version for https://github.com/adam-fowler/async-collections
Computed https://github.com/adam-fowler/async-collections at 0.1.0 (5.67s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
[1/1814] Fetching swift-atomics
[1815/19267] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.27s)
Fetched https://github.com/apple/swift-collections.git from cache (1.30s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (3.57s)
Fetching https://github.com/apple/swift-numerics.git
[1/6348] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.50s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.0 (1.12s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.73s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (0.90s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.86.0 (2.41s)
Fetching https://github.com/apple/swift-system.git
[1/4937] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.51s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.2 (1.53s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.86.0
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.0
Creating working copy for https://github.com/adam-fowler/async-collections
Working copy of https://github.com/adam-fowler/async-collections resolved at 0.1.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.2
Building for debugging...
[0/29] Write sources
[16/29] Compiling _NumericsShims _NumericsShims.c
[16/29] Compiling CNIOWindows shim.c
[18/29] Compiling CNIOLinux liburing_shims.c
[19/29] Compiling CNIOWASI CNIOWASI.c
[19/29] Write sources
[22/29] Compiling CNIOLinux shim.c
[23/29] Compiling CNIOWindows WSAStartup.c
[23/29] Compiling _AtomicsShims.c
[25/29] Compiling CNIODarwin shim.c
[26/29] Write swift-version-24593BA9C3E375BF.txt
[28/78] Emitting module _NIODataStructures
[29/78] Emitting module Atomics
[30/80] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[31/81] Emitting module InternalCollectionsUtilities
[32/81] Compiling RealModule RealFunctions.swift
[32/81] Compiling c-nioatomics.c
[34/82] Compiling Atomics UnsafeAtomic.swift
[35/82] Compiling Atomics UnsafeAtomicLazyReference.swift
[36/82] Emitting module _NIOBase64
[37/82] Compiling _NIOBase64 Base64.swift
[38/83] Compiling RealModule RelaxedArithmetic.swift
[40/83] Compiling Atomics ManagedAtomic.swift
[41/83] Compiling Atomics ManagedAtomicLazyReference.swift
[42/83] Compiling Atomics RawRepresentable.swift
[43/83] Compiling Atomics AtomicBool.swift
[44/83] Compiling Atomics AtomicStorage.swift
[45/83] Compiling Atomics AtomicValue.swift
[46/83] Compiling Atomics DoubleWord.swift
[48/83] Compiling Atomics IntegerConformances.swift
[49/83] Compiling Atomics PointerConformances.swift
[51/83] Compiling Atomics OptionalRawRepresentable.swift
[52/83] Compiling Atomics Primitives.native.swift
[53/83] Compiling Atomics AtomicMemoryOrderings.swift
[54/83] Compiling _NIODataStructures _TinyArray.swift
[55/83] Compiling _NIODataStructures PriorityQueue.swift
[56/83] Compiling Atomics AtomicInteger.swift
[57/83] Compiling Atomics AtomicOptionalWrappable.swift
[58/83] Compiling Atomics AtomicReference.swift
[59/83] Compiling RealModule Float16+Real.swift
[60/83] Compiling RealModule Float80+Real.swift
[61/83] Compiling RealModule Real.swift
[62/83] Emitting module RealModule
[79/84] Compiling Atomics IntegerOperations.swift
[80/84] Compiling Atomics Unmanaged extensions.swift
[83/85] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[85/111] Compiling _NIODataStructures Heap.swift
[87/310] Compiling HeapModule Heap+Invariants.swift
[88/386] Compiling HashTreeCollections _HashLevel.swift
[89/386] Compiling HashTreeCollections _HashNode+Builder.swift
[90/388] Compiling HashTreeCollections _Bucket.swift
[91/388] Compiling HashTreeCollections _Hash.swift
[92/388] Compiling HeapModule Heap+Descriptions.swift
[93/388] Compiling HashTreeCollections _HashTreeStatistics.swift
[94/388] Compiling HashTreeCollections _RawHashNode+UnsafeHandle.swift
[94/388] Compiling c-atomics.c
[96/388] Compiling HeapModule Heap.swift
[97/388] Compiling HeapModule _HeapNode.swift
[98/388] Emitting module HeapModule
[99/388] Compiling HashTreeCollections _HashNode+Invariants.swift
[100/388] Compiling HashTreeCollections _HashNode+Lookups.swift
[101/388] Compiling HeapModule Heap+UnsafeHandle.swift
[102/388] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[103/389] Compiling HashTreeCollections _HashNode+Debugging.swift
[104/389] Compiling HashTreeCollections _HashNode+Initializers.swift
[105/389] Compiling DequeModule _DequeSlot.swift
[106/389] Compiling DequeModule _UnsafeWrappedBuffer.swift
[107/389] Compiling HashTreeCollections TreeSet+Sequence.swift
[108/389] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[109/389] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[110/389] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[111/389] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[112/389] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[113/389] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[114/398] Compiling HashTreeCollections TreeSet+Debugging.swift
[115/398] Compiling HashTreeCollections TreeSet+Descriptions.swift
[116/398] Compiling HashTreeCollections TreeSet+Equatable.swift
[117/398] Compiling HashTreeCollections TreeSet+ExpressibleByArrayLiteral.swift
[118/398] Compiling HashTreeCollections TreeSet+Extras.swift
[119/398] Compiling BitCollections BitSet.Index.swift
[120/398] Compiling BitCollections BitSet._UnsafeHandle.swift
[122/409] Compiling HashTreeCollections _HashNode+Structural subtracting.swift
[123/409] Compiling HashTreeCollections _HashNode+Structural symmetricDifference.swift
[124/409] Compiling HashTreeCollections _HashNode+Structural union.swift
[125/409] Compiling HashTreeCollections _HashNode+Subtree Insertions.swift
[126/409] Compiling HashTreeCollections _HashNode+Subtree Modify.swift
[127/409] Compiling HashTreeCollections _HashNode+Subtree Removals.swift
[128/409] Compiling HashTreeCollections _HashNode+UnsafeHandle.swift
[129/409] Compiling HashTreeCollections _HashNode.swift
[130/409] Compiling HashTreeCollections _HashNodeHeader.swift
[131/409] Compiling HashTreeCollections _HashSlot.swift
[132/409] Compiling HashTreeCollections _HashStack.swift
[133/409] Compiling HashTreeCollections TreeDictionary.swift
[134/409] Compiling HashTreeCollections TreeSet+Codable.swift
[135/409] Compiling HashTreeCollections TreeSet+Collection.swift
[136/409] Compiling HashTreeCollections TreeSet+CustomReflectable.swift
[137/409] Compiling HashTreeCollections _UnsafePath.swift
[138/409] Compiling HashTreeCollections TreeDictionary+Codable.swift
[139/409] Compiling HashTreeCollections TreeDictionary+Collection.swift
[140/409] Compiling HashTreeCollections TreeDictionary+CustomReflectable.swift
[141/409] Compiling HashTreeCollections TreeDictionary+Debugging.swift
[142/409] Compiling HashTreeCollections TreeDictionary+Descriptions.swift
[143/409] Compiling HashTreeCollections TreeSet+Hashable.swift
[144/409] Compiling HashTreeCollections TreeSet+Sendable.swift
[145/409] Compiling NIOConcurrencyHelpers lock.swift
[146/409] Emitting module BitCollections
[161/409] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[168/409] Compiling HashTreeCollections _HashNode+Primitive Insertions.swift
[169/409] Compiling HashTreeCollections _HashTreeIterator.swift
[193/419] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[197/422] Compiling HashTreeCollections _AncestorHashSlots.swift
[198/422] Compiling HashTreeCollections _Bitmap.swift
[199/422] Emitting module DequeModule
[200/423] Emitting module NIOConcurrencyHelpers
[202/423] Compiling NIOConcurrencyHelpers NIOLock.swift
[203/423] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[204/423] Compiling NIOConcurrencyHelpers atomics.swift
[244/424] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[245/424] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[246/424] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[247/424] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[248/424] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[249/424] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[250/424] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[251/424] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[252/424] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[253/424] Compiling HashTreeCollections TreeSet.swift
[256/424] Compiling OrderedCollections OrderedSet+Sendable.swift
[257/424] Compiling OrderedCollections OrderedSet+SubSequence.swift
[258/424] Compiling OrderedCollections OrderedSet+Testing.swift
[259/424] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[260/424] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[261/486] Compiling NIOCore ByteBuffer-hex.swift
[262/486] Compiling NIOCore ByteBuffer-int.swift
[263/486] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[265/486] Compiling NIOCore AsyncChannel.swift
[266/486] Compiling NIOCore AsyncChannelHandler.swift
[267/486] Compiling NIOCore AsyncChannelInboundStream.swift
[268/486] Compiling NIOCore AsyncChannelOutboundWriter.swift
[269/486] Compiling NIOCore NIOAsyncSequenceProducer.swift
[270/486] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[271/486] Compiling NIOCore NIOAsyncWriter.swift
[272/486] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[273/486] Compiling NIOCore BSDSocketAPI.swift
[274/486] Compiling NIOCore ByteBuffer-aux.swift
[275/486] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[279/486] Compiling NIOCore CircularBuffer.swift
[280/486] Compiling NIOCore Codec.swift
[281/486] Compiling NIOCore ConvenienceOptionSupport.swift
[282/486] Compiling NIOCore DeadChannel.swift
[283/486] Compiling NIOCore DispatchQueue+WithFuture.swift
[284/486] Compiling NIOCore ByteBuffer-multi-int.swift
[285/486] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[286/486] Compiling NIOCore ByteBuffer-views.swift
[287/486] Compiling NIOCore Channel.swift
[288/486] Compiling NIOCore ChannelHandler.swift
[289/486] Compiling NIOCore ChannelHandlers.swift
[290/486] Compiling NIOCore ChannelInvoker.swift
[291/486] Compiling NIOCore ChannelOption.swift
[292/486] Compiling NIOCore ChannelPipeline.swift
[293/486] Compiling NIOCore AddressedEnvelope.swift
[294/486] Compiling NIOCore AsyncAwaitSupport.swift
[300/486] Compiling NIOCore NIOScheduledCallback.swift
[301/486] Compiling NIOCore NIOSendable.swift
[302/486] Compiling NIOCore RecvByteBufferAllocator.swift
[303/486] Compiling NIOCore EventLoopFuture+Deprecated.swift
[304/486] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[305/486] Compiling NIOCore EventLoopFuture.swift
[306/486] Compiling NIOCore FileDescriptor.swift
[307/486] Compiling NIOCore FileHandle.swift
[308/486] Compiling NIOCore FileRegion.swift
[309/486] Compiling NIOCore GlobalSingletons.swift
[310/486] Compiling NIOCore IO.swift
[311/486] Compiling OrderedCollections _UnsafeBitset.swift
[312/486] Compiling HashTreeCollections _HashNode+Structural isSubset.swift
[313/486] Compiling HashTreeCollections _HashNode+Structural mapValues.swift
[314/486] Compiling HashTreeCollections _HashNode+Structural merge.swift
[315/486] Compiling HashTreeCollections TreeDictionary+Equatable.swift
[316/486] Compiling HashTreeCollections TreeDictionary+ExpressibleByDictionaryLiteral.swift
[317/486] Compiling HashTreeCollections TreeDictionary+Filter.swift
[339/495] Emitting module OrderedCollections
[341/496] Compiling NIOCore NIOAny.swift
[342/496] Compiling NIOCore NIOCloseOnErrorHandler.swift
[343/496] Compiling NIOCore NIOCoreSendableMetatype.swift
[344/496] Compiling NIOCore NIOLoopBound.swift
[345/496] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[349/504] Compiling NIOCore TimeAmount+Duration.swift
[350/504] Compiling NIOCore TypeAssistedChannelHandler.swift
[351/504] Compiling NIOCore UniversalBootstrapSupport.swift
[352/504] Compiling NIOCore Utilities.swift
[353/504] Compiling _RopeModule Rope+MutatingForEach.swift
[354/504] Compiling _RopeModule Rope+Remove.swift
[355/504] Compiling _RopeModule Rope+RemoveSubrange.swift
[356/504] Compiling _RopeModule Rope+Split.swift
[357/504] Compiling _RopeModule Optional Utilities.swift
[358/504] Compiling _RopeModule String Utilities.swift
[359/504] Compiling _RopeModule String.Index+ABI.swift
[367/504] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[368/504] Compiling NIOCore SocketAddresses.swift
[369/504] Compiling NIOCore SocketOptionProvider.swift
[370/504] Compiling NIOCore SystemCallHelpers.swift
[382/504] Compiling NIOCore EventLoop+Deprecated.swift
[383/504] Compiling NIOCore EventLoop+SerialExecutor.swift
[384/504] Compiling NIOCore EventLoop.swift
[385/504] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[386/504] Compiling NIOCore IOData.swift
[387/504] Compiling NIOCore IPProtocol.swift
[388/504] Compiling NIOCore IntegerBitPacking.swift
[389/504] Compiling NIOCore IntegerTypes.swift
[390/504] Compiling NIOCore Interfaces.swift
[391/504] Compiling NIOCore Linux.swift
[392/504] Compiling NIOCore MarkedCircularBuffer.swift
[393/504] Emitting module _RopeModule
[394/504] Emitting module HashTreeCollections
[396/505] Emitting module Algorithms
[406/506] Compiling _RopeModule _CharacterRecognizer.swift
[438/506] Compiling NIOCore MulticastChannel.swift
[446/506] Compiling NIOCore ByteBuffer-conversions.swift
[447/506] Compiling NIOCore ByteBuffer-core.swift
[471/509] Emitting module Collections
[472/509] Compiling Collections Collections.swift
[483/518] Emitting module AsyncCollections
[484/518] Compiling AsyncCollections TaskQueue.swift
[485/518] Compiling AsyncCollections CompactMap.swift
[486/518] Compiling AsyncCollections Filter.swift
[487/518] Compiling AsyncCollections FlatMap.swift
[488/518] Compiling AsyncCollections ForEach.swift
[489/518] Compiling AsyncCollections Map.swift
[490/518] Compiling AsyncCollections AsyncSemaphore.swift
[492/519] Emitting module NIOCore
[521/525] Emitting module AsyncDataLoader
[522/525] Compiling AsyncDataLoader DataLoaderOptions.swift
[523/525] Compiling AsyncDataLoader DataLoaderError.swift
[524/529] Compiling AsyncDataLoader DataLoader.swift
[525/529] Compiling AsyncDataLoader Channel.swift
[526/530] Compiling DataLoader DataLoaderError.swift
[527/530] Compiling DataLoader DataLoaderOptions.swift
[529/530] Emitting module DataLoader
[530/530] Compiling DataLoader DataLoader.swift
/host/spi-builder-workspace/Sources/DataLoader/DataLoader.swift:70:63: warning: type 'Value' does not conform to the 'Sendable' protocol
 19 | /// with different access permissions and consider creating a new instance
 20 | /// per data request.
 21 | public final class DataLoader<Key: Hashable, Value> {
    |                                              `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
 22 |     private let batchLoadFunction: BatchLoadFunction<Key, Value>
 23 |     private let options: DataLoaderOptions<Key, Value>
    :
 68 |                             let result = results[0]
 69 |                             switch result {
 70 |                             case let .success(value): promise.succeed(value)
    |                                                               `- warning: type 'Value' does not conform to the 'Sendable' protocol
 71 |                             case let .failure(error): promise.fail(error)
 72 |                             }
/host/spi-builder-workspace/Sources/DataLoader/DataLoader.swift:54:29: warning: capture of 'self' with non-sendable type 'DataLoader<Key, Value>' in a '@Sendable' closure
 19 | /// with different access permissions and consider creating a new instance
 20 | /// per data request.
 21 | public final class DataLoader<Key: Hashable, Value> {
    |                    `- note: generic class 'DataLoader' does not conform to the 'Sendable' protocol
 22 |     private let batchLoadFunction: BatchLoadFunction<Key, Value>
 23 |     private let options: DataLoaderOptions<Key, Value>
    :
 52 |                 if let executionPeriod = options.executionPeriod, !dispatchScheduled {
 53 |                     eventLoopGroup.next().scheduleTask(in: executionPeriod) {
 54 |                         try self.execute()
    |                             `- warning: capture of 'self' with non-sendable type 'DataLoader<Key, Value>' in a '@Sendable' closure
 55 |                     }
 56 |                     dispatchScheduled = true
/host/spi-builder-workspace/Sources/DataLoader/DataLoader.swift:65:89: warning: capture of 'key' with non-sendable type 'Key' in a '@Sendable' closure
 19 | /// with different access permissions and consider creating a new instance
 20 | /// per data request.
 21 | public final class DataLoader<Key: Hashable, Value> {
    |                               `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
 22 |     private let batchLoadFunction: BatchLoadFunction<Key, Value>
 23 |     private let options: DataLoaderOptions<Key, Value>
    :
 63 |                                 .fail(
 64 |                                     DataLoaderError
 65 |                                         .noValueForKey("Did not return value for key: \(key)")
    |                                                                                         `- warning: capture of 'key' with non-sendable type 'Key' in a '@Sendable' closure
 66 |                                 )
 67 |                         } else {
/host/spi-builder-workspace/Sources/DataLoader/DataLoader.swift:109:42: warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 19 | /// with different access permissions and consider creating a new instance
 20 | /// per data request.
 21 | public final class DataLoader<Key: Hashable, Value> {
    |                                              `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
 22 |     private let batchLoadFunction: BatchLoadFunction<Key, Value>
 23 |     private let options: DataLoaderOptions<Key, Value>
    :
107 |     ) throws -> EventLoopFuture<[Value]> {
108 |         guard !keys.isEmpty else {
109 |             return eventLoopGroup.next().makeSucceededFuture([])
    |                                          `- warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
110 |         }
111 |         let futures = try keys.map { try load(key: $0, on: eventLoopGroup) }
/host/spi-builder-workspace/Sources/DataLoader/DataLoader.swift:112:32: warning: type 'Value' does not conform to the 'Sendable' protocol
 19 | /// with different access permissions and consider creating a new instance
 20 | /// per data request.
 21 | public final class DataLoader<Key: Hashable, Value> {
    |                                              `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
 22 |     private let batchLoadFunction: BatchLoadFunction<Key, Value>
 23 |     private let options: DataLoaderOptions<Key, Value>
    :
110 |         }
111 |         let futures = try keys.map { try load(key: $0, on: eventLoopGroup) }
112 |         return EventLoopFuture.whenAllSucceed(futures, on: eventLoopGroup.next())
    |                                `- warning: type 'Value' does not conform to the 'Sendable' protocol
113 |     }
114 |
/host/spi-builder-workspace/Sources/DataLoader/DataLoader.swift:150:25: warning: type 'Value' does not conform to the 'Sendable' protocol
 19 | /// with different access permissions and consider creating a new instance
 20 | /// per data request.
 21 | public final class DataLoader<Key: Hashable, Value> {
    |                                              `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
 22 |     private let batchLoadFunction: BatchLoadFunction<Key, Value>
 23 |     private let options: DataLoaderOptions<Key, Value>
    :
148 |             if cache[cacheKey] == nil {
149 |                 let promise: EventLoopPromise<Value> = eventLoop.next().makePromise()
150 |                 promise.succeed(value)
    |                         `- warning: type 'Value' does not conform to the 'Sendable' protocol
151 |
152 |                 cache[cacheKey] = promise.futureResult
/host/spi-builder-workspace/Sources/DataLoader/DataLoader.swift:216:69: warning: type 'Value' does not conform to the 'Sendable' protocol
 19 | /// with different access permissions and consider creating a new instance
 20 | /// per data request.
 21 | public final class DataLoader<Key: Hashable, Value> {
    |                                              `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
 22 |     private let batchLoadFunction: BatchLoadFunction<Key, Value>
 23 |     private let options: DataLoaderOptions<Key, Value>
    :
214 |                     switch result {
215 |                     case let .failure(error): entry.element.promise.fail(error)
216 |                     case let .success(value): entry.element.promise.succeed(value)
    |                                                                     `- warning: type 'Value' does not conform to the 'Sendable' protocol
217 |                     }
218 |                 }
/host/spi-builder-workspace/Sources/DataLoader/DataLoader.swift:204:36: warning: capture of 'keys' with non-sendable type '[Key]' in a '@Sendable' closure
 19 | /// with different access permissions and consider creating a new instance
 20 | /// per data request.
 21 | public final class DataLoader<Key: Hashable, Value> {
    |                               `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
 22 |     private let batchLoadFunction: BatchLoadFunction<Key, Value>
 23 |     private let options: DataLoaderOptions<Key, Value>
    :
202 |         do {
203 |             _ = try batchLoadFunction(keys).flatMapThrowing { values in
204 |                 if values.count != keys.count {
    |                                    `- warning: capture of 'keys' with non-sendable type '[Key]' in a '@Sendable' closure
205 |                     throw DataLoaderError
206 |                         .typeError(
/host/spi-builder-workspace/Sources/DataLoader/DataLoader.swift:211:30: warning: capture of 'batch' with non-sendable type 'LoaderQueue<Key, Value>' (aka 'Array<(key: Key, promise: EventLoopPromise<Value>)>') in a '@Sendable' closure
 19 | /// with different access permissions and consider creating a new instance
 20 | /// per data request.
 21 | public final class DataLoader<Key: Hashable, Value> {
    |                               `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
 22 |     private let batchLoadFunction: BatchLoadFunction<Key, Value>
 23 |     private let options: DataLoaderOptions<Key, Value>
    :
209 |                 }
210 |
211 |                 for entry in batch.enumerated() {
    |                              `- warning: capture of 'batch' with non-sendable type 'LoaderQueue<Key, Value>' (aka 'Array<(key: Key, promise: EventLoopPromise<Value>)>') in a '@Sendable' closure
212 |                     let result = values[entry.offset]
213 |
/host/spi-builder-workspace/Sources/DataLoader/DataLoader.swift:220:17: warning: capture of 'self' with non-sendable type 'DataLoader<Key, Value>' in a '@Sendable' closure
 19 | /// with different access permissions and consider creating a new instance
 20 | /// per data request.
 21 | public final class DataLoader<Key: Hashable, Value> {
    |                    `- note: generic class 'DataLoader' does not conform to the 'Sendable' protocol
 22 |     private let batchLoadFunction: BatchLoadFunction<Key, Value>
 23 |     private let options: DataLoaderOptions<Key, Value>
    :
218 |                 }
219 |             }.recover { error in
220 |                 self.failedExecution(batch: batch, error: error)
    |                 `- warning: capture of 'self' with non-sendable type 'DataLoader<Key, Value>' in a '@Sendable' closure
221 |             }
222 |         } catch {
/host/spi-builder-workspace/Sources/DataLoader/DataLoader.swift:220:45: warning: capture of 'batch' with non-sendable type 'LoaderQueue<Key, Value>' (aka 'Array<(key: Key, promise: EventLoopPromise<Value>)>') in a '@Sendable' closure
 19 | /// with different access permissions and consider creating a new instance
 20 | /// per data request.
 21 | public final class DataLoader<Key: Hashable, Value> {
    |                               `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
 22 |     private let batchLoadFunction: BatchLoadFunction<Key, Value>
 23 |     private let options: DataLoaderOptions<Key, Value>
    :
218 |                 }
219 |             }.recover { error in
220 |                 self.failedExecution(batch: batch, error: error)
    |                                             `- warning: capture of 'batch' with non-sendable type 'LoaderQueue<Key, Value>' (aka 'Array<(key: Key, promise: EventLoopPromise<Value>)>') in a '@Sendable' closure
221 |             }
222 |         } catch {
/host/spi-builder-workspace/Sources/DataLoader/DataLoader.swift:250:25: warning: type 'DataLoaderFutureValue<Value>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  2 | import NIOCore
  3 |
  4 | public enum DataLoaderFutureValue<T> {
    |             `- note: consider making generic enum 'DataLoaderFutureValue' conform to the 'Sendable' protocol
  5 |     case success(T)
  6 |     case failure(Error)
    :
248 |             self.init(options: options, batchLoadFunction: { keys in
249 |                 let promise = eventLoop.next().makePromise(of: [DataLoaderFutureValue<Value>].self)
250 |                 promise.completeWithTask {
    |                         `- warning: type 'DataLoaderFutureValue<Value>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
251 |                     try await asyncThrowingLoadFunction(keys)
252 |                 }
/host/spi-builder-workspace/Sources/DataLoader/DataLoader.swift:251:57: warning: capture of 'keys' with non-sendable type '[Key]' in a '@Sendable' closure
 19 | /// with different access permissions and consider creating a new instance
 20 | /// per data request.
 21 | public final class DataLoader<Key: Hashable, Value> {
    |                               `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
 22 |     private let batchLoadFunction: BatchLoadFunction<Key, Value>
 23 |     private let options: DataLoaderOptions<Key, Value>
    :
249 |                 let promise = eventLoop.next().makePromise(of: [DataLoaderFutureValue<Value>].self)
250 |                 promise.completeWithTask {
251 |                     try await asyncThrowingLoadFunction(keys)
    |                                                         `- warning: capture of 'keys' with non-sendable type '[Key]' in a '@Sendable' closure
252 |                 }
253 |                 return promise.futureResult
/host/spi-builder-workspace/Sources/DataLoader/DataLoader.swift:260:58: warning: type 'Value' does not conform to the 'Sendable' protocol
 19 | /// with different access permissions and consider creating a new instance
 20 | /// per data request.
 21 | public final class DataLoader<Key: Hashable, Value> {
    |                                              `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
 22 |     private let batchLoadFunction: BatchLoadFunction<Key, Value>
 23 |     private let options: DataLoaderOptions<Key, Value>
    :
258 |         @available(macOS 12, iOS 15, watchOS 8, tvOS 15, *)
259 |         func load(key: Key, on eventLoopGroup: EventLoopGroup) async throws -> Value {
260 |             try await load(key: key, on: eventLoopGroup).get()
    |                                                          `- warning: type 'Value' does not conform to the 'Sendable' protocol
261 |         }
262 |
/host/spi-builder-workspace/Sources/DataLoader/DataLoader.swift:278:64: warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 19 | /// with different access permissions and consider creating a new instance
 20 | /// per data request.
 21 | public final class DataLoader<Key: Hashable, Value> {
    |                                              `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
 22 |     private let batchLoadFunction: BatchLoadFunction<Key, Value>
 23 |     private let options: DataLoaderOptions<Key, Value>
    :
276 |         @available(macOS 12, iOS 15, watchOS 8, tvOS 15, *)
277 |         func loadMany(keys: [Key], on eventLoopGroup: EventLoopGroup) async throws -> [Value] {
278 |             try await loadMany(keys: keys, on: eventLoopGroup).get()
    |                                                                `- warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
279 |         }
280 |     }
Build complete! (103.88s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-algorithms",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-algorithms.git"
    },
    {
      "identity" : "async-collections",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/adam-fowler/async-collections"
    },
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    }
  ],
  "manifest_display_name" : "DataLoader",
  "name" : "DataLoader",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    }
  ],
  "products" : [
    {
      "name" : "DataLoader",
      "targets" : [
        "DataLoader"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "AsyncDataLoader",
      "targets" : [
        "AsyncDataLoader"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DataLoaderTests",
      "module_type" : "SwiftTarget",
      "name" : "DataLoaderTests",
      "path" : "Tests/DataLoaderTests",
      "product_dependencies" : [
        "NIOCore",
        "NIOPosix"
      ],
      "sources" : [
        "DataLoaderAbuseTests.swift",
        "DataLoaderAsyncTests.swift",
        "DataLoaderTests.swift"
      ],
      "target_dependencies" : [
        "DataLoader"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DataLoader",
      "module_type" : "SwiftTarget",
      "name" : "DataLoader",
      "path" : "Sources/DataLoader",
      "product_dependencies" : [
        "NIOCore",
        "NIOConcurrencyHelpers"
      ],
      "product_memberships" : [
        "DataLoader"
      ],
      "sources" : [
        "DataLoader.swift",
        "DataLoaderError.swift",
        "DataLoaderOptions.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AsyncDataLoaderTests",
      "module_type" : "SwiftTarget",
      "name" : "AsyncDataLoaderTests",
      "path" : "Tests/AsyncDataLoaderTests",
      "sources" : [
        "DataLoaderAbuseTests.swift",
        "DataLoaderTests.swift"
      ],
      "target_dependencies" : [
        "AsyncDataLoader"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AsyncDataLoader",
      "module_type" : "SwiftTarget",
      "name" : "AsyncDataLoader",
      "path" : "Sources/AsyncDataLoader",
      "product_dependencies" : [
        "Algorithms",
        "AsyncCollections"
      ],
      "product_memberships" : [
        "AsyncDataLoader"
      ],
      "sources" : [
        "Channel.swift",
        "DataLoader.swift",
        "DataLoaderError.swift",
        "DataLoaderOptions.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Done.