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

Failed to build swift-tools-support-async, reference 0.14.1 (8fcd85), with Swift 6.1 for Android on 30 May 2025 06:33:58 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-tools-support-async.git
Reference: 0.14.1
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/apple/swift-tools-support-async
 * tag               0.14.1     -> FETCH_HEAD
HEAD is now at 8fcd85d Merge pull request #57 from weissi/jw-musl-compat
Submodule path 'ThirdParty/BLAKE3': checked out '2f6f56f3477321c9e4742f1c863e45f2cfcbfb5e'
Submodule 'ThirdParty/BLAKE3' (https://github.com/BLAKE3-team/BLAKE3.git) registered for path 'ThirdParty/BLAKE3'
Cloning into '/host/spi-builder-workspace/ThirdParty/BLAKE3'...
Cloned https://github.com/apple/swift-tools-support-async.git
Revision (git rev-parse @):
8fcd85de84e3d4748053c5d563de3c5ea584d190
SUCCESS checkout https://github.com/apple/swift-tools-support-async.git at 0.14.1
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/apple/swift-tools-support-async.git
https://github.com/apple/swift-tools-support-async.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.68.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    },
    {
      "identity" : "swift-protobuf",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.28.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-protobuf.git"
    },
    {
      "identity" : "swift-tools-support-core",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.5.8",
            "upper_bound" : "0.8.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-tools-support-core.git"
    }
  ],
  "manifest_display_name" : "swift-tools-support-async",
  "name" : "swift-tools-support-async",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftToolsSupportAsync",
      "targets" : [
        "TSFFutures",
        "TSFUtility"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SwiftToolsSupportCAS",
      "targets" : [
        "TSFCAS",
        "TSFCASFileTree",
        "TSFCASUtilities"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TSFUtility",
      "module_type" : "SwiftTarget",
      "name" : "TSFUtility",
      "path" : "Sources/TSFUtility",
      "product_dependencies" : [
        "NIO",
        "NIOConcurrencyHelpers",
        "NIOFoundationCompat"
      ],
      "product_memberships" : [
        "SwiftToolsSupportAsync",
        "SwiftToolsSupportCAS"
      ],
      "sources" : [
        "ByteBuffer.swift",
        "FastData.swift",
        "FutureFileSystem.swift",
        "Serializable.swift"
      ],
      "target_dependencies" : [
        "TSFFutures"
      ],
      "type" : "library"
    },
    {
      "c99name" : "TSFFuturesTests",
      "module_type" : "SwiftTarget",
      "name" : "TSFFuturesTests",
      "path" : "Tests/TSFFuturesTests",
      "sources" : [
        "BatchingFutureOperationQueue.swift",
        "CancellableFutureTests.swift",
        "CancellablePromiseTests.swift",
        "CancellerTests.swift",
        "EventualResultsCacheTests.swift",
        "FutureDeduplicatorTests.swift",
        "FutureOperationQueueTests.swift",
        "OrderManagerTests.swift"
      ],
      "target_dependencies" : [
        "TSFFutures"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TSFFutures",
      "module_type" : "SwiftTarget",
      "name" : "TSFFutures",
      "path" : "Sources/TSFFutures",
      "product_dependencies" : [
        "NIO",
        "NIOFoundationCompat",
        "SwiftToolsSupport-auto"
      ],
      "product_memberships" : [
        "SwiftToolsSupportAsync",
        "SwiftToolsSupportCAS"
      ],
      "sources" : [
        "BatchingFutureOperationQueue.swift",
        "CancellableFuture.swift",
        "CancellablePromise.swift",
        "Canceller.swift",
        "EventualResultsCache.swift",
        "FutureDeduplicator.swift",
        "FutureOperationQueue.swift",
        "Futures.swift",
        "OperationQueue+Extensions.swift",
        "OrderManager.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "TSFCASUtilitiesTests",
      "module_type" : "SwiftTarget",
      "name" : "TSFCASUtilitiesTests",
      "path" : "Tests/TSFCASUtilitiesTests",
      "sources" : [
        "BufferedStreamWriterTests.swift",
        "LinkedListStreamTests.swift"
      ],
      "target_dependencies" : [
        "TSFCASUtilities"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TSFCASUtilities",
      "module_type" : "SwiftTarget",
      "name" : "TSFCASUtilities",
      "path" : "Sources/TSFCASUtilities",
      "product_memberships" : [
        "SwiftToolsSupportCAS"
      ],
      "sources" : [
        "BufferedStreamWriter.swift",
        "LinkedListStream.swift",
        "StreamReader.swift"
      ],
      "target_dependencies" : [
        "TSFCAS",
        "TSFCASFileTree"
      ],
      "type" : "library"
    },
    {
      "c99name" : "TSFCASTests",
      "module_type" : "SwiftTarget",
      "name" : "TSFCASTests",
      "path" : "Tests/TSFCASTests",
      "sources" : [
        "DataIDTests.swift",
        "FileBackedCASDatabaseTests.swift",
        "InMemoryCASDatabaseTests.swift"
      ],
      "target_dependencies" : [
        "TSFCAS"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TSFCASFileTreeTests",
      "module_type" : "SwiftTarget",
      "name" : "TSFCASFileTreeTests",
      "path" : "Tests/TSFCASFileTreeTests",
      "sources" : [
        "CASBlobTests.swift",
        "FileTreeImportExportTests.swift",
        "FileTreeTests.swift"
      ],
      "target_dependencies" : [
        "TSFCASFileTree"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TSFCASFileTree",
      "module_type" : "SwiftTarget",
      "name" : "TSFCASFileTree",
      "path" : "Sources/TSFCASFileTree",
      "product_memberships" : [
        "SwiftToolsSupportCAS"
      ],
      "sources" : [
        "BinarySearch.swift",
        "CASBlob.swift",
        "CASFSClient.swift",
        "CASFSNode.swift",
        "ConcurrentFileTreeWalker.swift",
        "Context.swift",
        "DeclFileTree.swift",
        "DirectoryEntry.swift",
        "Errors.swift",
        "FileInfo.swift",
        "FileTree.swift",
        "FileTreeExport.swift",
        "FileTreeImport.swift",
        "FilesystemObject.swift",
        "Generated/CASFileTreeProtocol/file_tree.pb.swift",
        "Internal/ConcurrentFilesystemScanner.swift",
        "Internal/FileSegmenter.swift",
        "Internal/FileTreeParser.swift",
        "TSCCASFileSystem.swift"
      ],
      "target_dependencies" : [
        "TSFCAS"
      ],
      "type" : "library"
    },
    {
      "c99name" : "TSFCAS",
      "module_type" : "SwiftTarget",
      "name" : "TSFCAS",
      "path" : "Sources/TSFCAS",
      "product_dependencies" : [
        "SwiftProtobuf"
      ],
      "product_memberships" : [
        "SwiftToolsSupportCAS"
      ],
      "sources" : [
        "DataID.swift",
        "Database.swift",
        "DatabaseSpec.swift",
        "Generated/CASProtocol/cas_object.pb.swift",
        "Generated/CASProtocol/data_id.pb.swift",
        "Implementations/Blake3DataID.swift",
        "Implementations/FileBackedCASDatabase.swift",
        "Implementations/InMemoryCASDatabase.swift",
        "Object.swift"
      ],
      "target_dependencies" : [
        "TSFFutures",
        "TSFUtility",
        "CBLAKE3"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CBLAKE3",
      "module_type" : "ClangTarget",
      "name" : "CBLAKE3",
      "path" : "Sources/CBLAKE3",
      "product_memberships" : [
        "SwiftToolsSupportCAS"
      ],
      "sources" : [
        "blake3.c",
        "blake3_avx2.c",
        "blake3_avx512.c",
        "blake3_sse41.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/apple/swift-tools-support-core.git
[1/6764] Fetching swift-tools-support-core
Fetched https://github.com/apple/swift-tools-support-core.git from cache (0.61s)
[1/39311] Fetching swift-protobuf
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/apple/swift-protobuf.git from cache (10.23s)
[1/76108] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (6.29s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.30.0 (17.11s)
Computing version for https://github.com/apple/swift-tools-support-core.git
Computed https://github.com/apple/swift-tools-support-core.git at 0.7.3 (0.93s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.10s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
[1/1710] Fetching swift-atomics
[1711/6101] Fetching swift-atomics, swift-system
[1799/22692] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.63s)
[6024/18301] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.31s)
Fetched https://github.com/apple/swift-collections.git from cache (1.33s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (2.02s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.57s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.87s)
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.0
Creating working copy for https://github.com/apple/swift-tools-support-core.git
Working copy of https://github.com/apple/swift-tools-support-core.git resolved at 0.7.3
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.30.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.5.0
[1/1] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[1/39] Write sources
[8/39] Compiling CBLAKE3 blake3_sse41.c
[9/39] Compiling _AtomicsShims.c
[10/39] Compiling CBLAKE3 blake3_avx2.c
[11/39] Write sources
[13/39] Copying PrivacyInfo.xcprivacy
[13/39] Write sources
[24/39] Compiling CBLAKE3 blake3_avx512.c
[25/39] Compiling TSCclibc process.c
[26/39] Compiling TSCclibc libc.c
[27/39] Compiling CNIOWindows WSAStartup.c
[28/39] Compiling CNIOWASI CNIOWASI.c
[29/39] Compiling TSCclibc strerror.c
[30/39] Compiling CNIOWindows shim.c
[31/39] Write sources
[32/39] Compiling CNIODarwin shim.c
[33/39] Compiling CNIOLinux liburing_shims.c
[34/39] Compiling CNIOLinux shim.c
[35/39] Write swift-version-24593BA9C3E375BF.txt
[36/47] Compiling CBLAKE3 blake3.c
[38/163] Emitting module _NIODataStructures
[38/163] Compiling c-atomics.c
[40/163] Emitting module Atomics
[41/165] Compiling Atomics Primitives.shims.swift
[42/165] Compiling Atomics AtomicInteger.swift
[43/165] Compiling Atomics AtomicOptionalWrappable.swift
[43/165] Compiling c-nioatomics.c
[47/172] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[48/172] Compiling _NIODataStructures PriorityQueue.swift
[49/172] Compiling _NIODataStructures _TinyArray.swift
[50/172] Compiling Atomics AtomicMemoryOrderings.swift
[51/172] Compiling Atomics DoubleWord.swift
[52/172] Compiling Atomics ManagedAtomic.swift
[53/172] Compiling Atomics ManagedAtomicLazyReference.swift
[54/172] Compiling Atomics UnsafeAtomic.swift
[55/172] Compiling Atomics UnsafeAtomicLazyReference.swift
[56/172] Compiling Atomics IntegerOperations.swift
[57/172] Compiling Atomics Unmanaged extensions.swift
[58/172] Emitting module _NIOBase64
[59/172] Compiling _NIOBase64 Base64.swift
[60/172] Compiling Atomics AtomicReference.swift
[61/172] Compiling Atomics AtomicStorage.swift
[62/172] Compiling Atomics AtomicValue.swift
[63/172] Compiling Atomics AtomicBool.swift
[64/172] Compiling Atomics IntegerConformances.swift
[65/172] Compiling Atomics OptionalRawRepresentable.swift
[66/172] Compiling Atomics RawRepresentable.swift
[69/172] Compiling Atomics PointerConformances.swift
[70/172] Compiling Atomics Primitives.native.swift
[73/172] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[74/172] Emitting module InternalCollectionsUtilities
[75/174] Compiling _NIODataStructures Heap.swift
[86/176] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[87/176] Compiling NIOConcurrencyHelpers lock.swift
[88/191] Compiling NIOConcurrencyHelpers NIOLock.swift
[89/191] Compiling DequeModule Deque+CustomReflectable.swift
[90/191] Compiling DequeModule Deque+Descriptions.swift
[91/193] Compiling DequeModule _DequeBuffer.swift
[92/193] Compiling DequeModule _DequeBufferHeader.swift
[93/193] Compiling NIOConcurrencyHelpers atomics.swift
[94/193] Emitting module NIOConcurrencyHelpers
[95/193] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[97/194] Compiling DequeModule Deque+Extras.swift
[98/194] Compiling DequeModule Deque+Hashable.swift
[99/194] Compiling DequeModule Deque+Equatable.swift
[100/194] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[101/194] Compiling DequeModule Deque+Testing.swift
[102/194] Compiling DequeModule Deque._Storage.swift
[103/194] Compiling DequeModule Deque._UnsafeHandle.swift
[104/194] Compiling DequeModule Deque.swift
[105/194] Compiling DequeModule _DequeSlot.swift
[106/194] Compiling DequeModule _UnsafeWrappedBuffer.swift
[107/194] Compiling DequeModule Deque+Codable.swift
[108/194] Compiling DequeModule Deque+Collection.swift
[109/194] Emitting module DequeModule
[111/255] Emitting module TSCLibc
[112/255] Compiling TSCLibc libc.swift
[114/256] Emitting module SwiftProtobuf
[115/307] Compiling NIOCore EventLoop+Deprecated.swift
[116/307] Compiling NIOCore EventLoop+SerialExecutor.swift
[117/307] Compiling NIOCore EventLoop.swift
[118/307] Compiling NIOCore MulticastChannel.swift
[119/307] Compiling NIOCore NIOAny.swift
[120/307] Compiling NIOCore NIOCloseOnErrorHandler.swift
[121/307] Compiling NIOCore NIOLoopBound.swift
[122/307] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[123/307] Compiling NIOCore NIOScheduledCallback.swift
[124/307] Compiling NIOCore NIOSendable.swift
[125/307] Compiling NIOCore RecvByteBufferAllocator.swift
[126/307] Compiling SwiftProtobuf ProtobufAPIVersionCheck.swift
[127/307] Compiling TSCBasic PathShims.swift
[128/307] Compiling TSCBasic Process.swift
[129/307] Compiling TSCBasic ProcessEnv.swift
[130/307] Compiling TSCBasic ProcessSet.swift
[131/307] Compiling TSCBasic RegEx.swift
[132/307] Compiling TSCBasic OSLog.swift
[133/307] Compiling TSCBasic ObjectIdentifierProtocol.swift
[134/307] Compiling TSCBasic OrderedDictionary.swift
[135/307] Compiling TSCBasic OrderedSet.swift
[136/307] Compiling TSCBasic Path.swift
[137/307] Compiling TSCBasic Result.swift
[138/307] Compiling TSCBasic SortedArray.swift
[139/307] Compiling TSCBasic StringConversions.swift
[140/307] Compiling TSCBasic SynchronizedQueue.swift
[141/307] Compiling TSCBasic TemporaryFile.swift
[142/307] Compiling NIOCore IntegerTypes.swift
[143/307] Compiling NIOCore Interfaces.swift
[144/307] Compiling NIOCore Linux.swift
[145/307] Compiling NIOCore MarkedCircularBuffer.swift
[146/307] Compiling NIOCore CircularBuffer.swift
[147/307] Compiling NIOCore Codec.swift
[148/307] Compiling NIOCore ConvenienceOptionSupport.swift
[149/307] Compiling NIOCore DeadChannel.swift
[150/307] Compiling NIOCore DispatchQueue+WithFuture.swift
[159/315] Emitting module TSCBasic
[169/320] Compiling TSCBasic TerminalController.swift
[170/320] Compiling TSCBasic Thread.swift
[171/320] Compiling TSCBasic Tuple.swift
[172/320] Compiling TSCBasic WritableByteStream.swift
[173/320] Compiling SwiftProtobuf TextFormatEncodingVisitor.swift
[174/320] Compiling SwiftProtobuf TextFormatScanner.swift
[175/320] Compiling SwiftProtobuf TimeUtils.swift
[176/320] Compiling SwiftProtobuf UnknownStorage.swift
[177/320] Compiling SwiftProtobuf UnsafeRawPointer+Shims.swift
[178/320] Compiling SwiftProtobuf Varint.swift
[179/320] Compiling SwiftProtobuf Version.swift
[180/320] Compiling SwiftProtobuf Visitor.swift
[181/320] Compiling SwiftProtobuf WireFormat.swift
[182/320] Compiling SwiftProtobuf ZigZag.swift
[183/320] Compiling SwiftProtobuf any.pb.swift
[184/320] Compiling NIOCore SocketAddresses.swift
[185/320] Compiling NIOCore SocketOptionProvider.swift
[186/320] Compiling NIOCore SystemCallHelpers.swift
[187/320] Compiling NIOCore TimeAmount+Duration.swift
[188/320] Compiling NIOCore TypeAssistedChannelHandler.swift
[189/320] Compiling NIOCore UniversalBootstrapSupport.swift
[190/320] Compiling NIOCore Utilities.swift
[191/320] Compiling SwiftProtobuf TextFormatDecodingError.swift
[192/320] Compiling SwiftProtobuf TextFormatDecodingOptions.swift
[193/320] Compiling SwiftProtobuf TextFormatEncoder.swift
[194/320] Compiling SwiftProtobuf TextFormatEncodingOptions.swift
[203/320] Compiling TSCBasic Await.swift
[204/320] Compiling TSCBasic Base64URL.swift
[205/320] Compiling TSCBasic ByteString.swift
[206/320] Compiling TSCBasic CStringArray.swift
[207/320] Compiling TSCBasic CacheableSequence.swift
[208/320] Compiling TSCBasic Closable.swift
[209/320] Compiling TSCBasic CodableResult.swift
[210/320] Compiling TSCBasic CollectionAlgorithms.swift
[211/320] Compiling TSCBasic CollectionExtensions.swift
[212/320] Compiling TSCBasic Condition.swift
[213/320] Compiling TSCBasic DeltaAlgorithm.swift
[214/320] Compiling TSCBasic DiagnosticsEngine.swift
[215/320] Compiling TSCBasic DictionaryExtensions.swift
[216/320] Compiling TSCBasic DictionaryLiteralExtensions.swift
[217/320] Compiling TSCBasic EditDistance.swift
[218/320] Compiling TSCBasic FileInfo.swift
[219/320] Compiling TSCBasic FileSystem.swift
[220/320] Compiling TSCBasic GraphAlgorithms.swift
[221/320] Compiling TSCBasic HashAlgorithms.swift
[222/320] Compiling TSCBasic JSON.swift
[223/320] Compiling TSCBasic JSONMapper.swift
[224/320] Compiling TSCBasic KeyedPair.swift
[225/320] Compiling TSCBasic LazyCache.swift
[226/320] Compiling TSCBasic Lock.swift
[261/320] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[282/320] Compiling TSCBasic misc.swift
[301/356] Emitting module TSCUtility
[302/360] Compiling TSCUtility Tracing.swift
[303/360] Compiling TSCUtility Triple.swift
[304/360] Compiling TSCUtility URL.swift
[305/360] Compiling TSCUtility Verbosity.swift
[306/360] Compiling TSCUtility OSLog.swift
[307/360] Compiling TSCUtility OrderedZip.swift
[308/360] Compiling TSCUtility PkgConfig.swift
[309/360] Compiling TSCUtility Platform.swift
[310/360] Compiling TSCUtility PolymorphicCodable.swift
[311/360] Compiling TSCUtility Context.swift
[312/360] Compiling TSCUtility Diagnostics.swift
[313/360] Compiling TSCUtility FSWatch.swift
[314/360] Compiling TSCUtility FloatingPointExtensions.swift
[315/360] Compiling TSCUtility Git.swift
[316/360] Compiling TSCUtility Version.swift
[317/360] Compiling TSCUtility Versioning.swift
[318/360] Compiling TSCUtility dlopen.swift
[319/360] Compiling TSCUtility misc.swift
[320/360] Compiling TSCUtility Bitstream.swift
[321/360] Compiling TSCUtility BitstreamReader.swift
[322/360] Compiling TSCUtility BitstreamWriter.swift
[323/360] Compiling TSCUtility BuildFlags.swift
[324/360] Compiling TSCUtility CollectionExtensions.swift
[325/360] Compiling TSCUtility Hex.swift
[326/360] Compiling TSCUtility IndexStore.swift
[327/360] Compiling TSCUtility InterruptHandler.swift
[328/360] Compiling TSCUtility JSONMessageStreamingParser.swift
[329/360] Compiling TSCUtility Netrc.swift
[330/360] Emitting module NIOCore
[331/360] Compiling TSCUtility ProgressAnimation.swift
[332/360] Compiling TSCUtility SerializedDiagnostics.swift
[333/360] Compiling TSCUtility SimplePersistence.swift
[334/360] Compiling TSCUtility StringExtensions.swift
[335/360] Compiling TSCUtility StringMangling.swift
[336/360] Compiling TSCUtility Archiver.swift
[337/360] Compiling TSCUtility ArgumentParser.swift
[338/360] Compiling TSCUtility ArgumentParserShellCompletion.swift
[339/360] Compiling TSCUtility Array+Extensions.swift
[340/360] Compiling TSCUtility Bits.swift
[352/412] Emitting module NIOEmbedded
[353/412] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[354/412] Compiling NIOEmbedded AsyncTestingChannel.swift
[355/412] Compiling NIOEmbedded Embedded.swift
[356/412] Compiling NIOPosix IO.swift
[357/412] Compiling NIOPosix IntegerBitPacking.swift
[358/412] Compiling NIOPosix IntegerTypes.swift
[359/412] Compiling NIOPosix Linux.swift
[360/412] Compiling NIOPosix LinuxCPUSet.swift
[361/412] Compiling NIOPosix LinuxUring.swift
[362/412] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[364/419] Compiling NIOPosix ThreadPosix.swift
[365/419] Compiling NIOPosix ThreadWindows.swift
[366/419] Compiling NIOPosix UnsafeTransfer.swift
[367/419] Compiling NIOPosix Utilities.swift
[368/419] Compiling NIOPosix VsockAddress.swift
[369/419] Compiling NIOPosix VsockChannelEvents.swift
[370/419] Compiling NIOPosix BSDSocketAPICommon.swift
[371/419] Compiling NIOPosix BSDSocketAPIPosix.swift
[372/419] Compiling NIOPosix BSDSocketAPIWindows.swift
[373/419] Compiling NIOPosix BaseSocket.swift
[374/419] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[375/419] Compiling NIOPosix BaseSocketChannel.swift
[376/419] Compiling NIOPosix BaseStreamSocketChannel.swift
[377/419] Emitting module NIOPosix
[378/419] Compiling NIOPosix Pool.swift
[379/419] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[380/419] Compiling NIOPosix PosixSingletons.swift
[381/419] Compiling NIOPosix RawSocketBootstrap.swift
[382/419] Compiling NIOPosix Resolver.swift
[383/419] Compiling NIOPosix Selectable.swift
[384/419] Compiling NIOPosix NIOThreadPool.swift
[385/419] Compiling NIOPosix NonBlockingFileIO.swift
[386/419] Compiling NIOPosix PendingDatagramWritesManager.swift
[387/419] Compiling NIOPosix PendingWritesManager.swift
[388/419] Compiling NIOPosix PipeChannel.swift
[389/419] Compiling NIOPosix PipePair.swift
[390/419] Compiling NIOPosix SelectableChannel.swift
[391/419] Compiling NIOPosix SelectableEventLoop.swift
[392/419] Compiling NIOPosix SelectorEpoll.swift
[393/419] Compiling NIOPosix SelectorGeneric.swift
[394/419] Compiling NIOPosix SelectorKqueue.swift
[395/419] Compiling NIOPosix SelectorUring.swift
[396/419] Compiling NIOPosix ServerSocket.swift
[397/419] Compiling NIOPosix Socket.swift
[398/419] Compiling NIOPosix SocketChannel.swift
[399/419] Compiling NIOPosix SocketProtocols.swift
[400/419] Compiling NIOPosix System.swift
[401/419] Compiling NIOPosix Thread.swift
[402/419] Compiling SwiftProtobuf api.pb.swift
[403/419] Compiling SwiftProtobuf descriptor.pb.swift
[404/419] Compiling SwiftProtobuf duration.pb.swift
[405/419] Compiling SwiftProtobuf empty.pb.swift
[406/419] Compiling SwiftProtobuf field_mask.pb.swift
[407/419] Compiling SwiftProtobuf source_context.pb.swift
[408/419] Compiling SwiftProtobuf struct.pb.swift
[409/419] Compiling SwiftProtobuf timestamp.pb.swift
[410/419] Compiling SwiftProtobuf type.pb.swift
[411/419] Compiling SwiftProtobuf wrappers.pb.swift
[412/419] Compiling SwiftProtobuf resource_bundle_accessor.swift
[414/420] Compiling NIOPosix Bootstrap.swift
[415/420] Compiling NIOPosix ControlMessage.swift
[416/420] Compiling NIOPosix DatagramVectorReadManager.swift
[417/420] Compiling NIOPosix Errors+Any.swift
[418/420] Compiling NIOPosix FileDescriptor.swift
[419/420] Compiling NIOPosix GetaddrinfoResolver.swift
[420/420] Compiling NIOPosix HappyEyeballs.swift
[422/423] Compiling NIO Exports.swift
[423/423] Emitting module NIO
[425/429] Compiling NIOFoundationCompat WaitSpinningRunLoop.swift
[426/429] Compiling NIOFoundationCompat JSONSerialization+ByteBuffer.swift
[427/429] Compiling NIOFoundationCompat Codable+ByteBuffer.swift
[428/429] Emitting module NIOFoundationCompat
[429/429] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[431/440] Compiling TSFFutures EventualResultsCache.swift
[432/440] Compiling TSFFutures Futures.swift
/host/spi-builder-workspace/Sources/TSFFutures/Futures.swift:29:17: warning: type 'Value' does not conform to the 'Sendable' protocol
27 |     func fulfill(_ body: () throws -> Value) {
28 |         do {
29 |             try succeed(body())
   |                 `- warning: type 'Value' does not conform to the 'Sendable' protocol
30 |         } catch {
31 |             fail(error)
/host/spi-builder-workspace/Sources/TSFFutures/Futures.swift:40:92: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
38 | public extension Context {
39 |     static func with(_ group: LLBFuturesDispatchGroup) -> Context {
40 |         return Context(dictionaryLiteral: (ObjectIdentifier(LLBFuturesDispatchGroup.self), group as Any))
   |                                                                                            `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
41 |     }
42 |
[433/440] Compiling TSFFutures OperationQueue+Extensions.swift
[434/441] Compiling TSFFutures FutureOperationQueue.swift
/host/spi-builder-workspace/Sources/TSFFutures/FutureOperationQueue.swift:29:13: warning: stored property 'workQueue' of 'Sendable'-conforming struct 'State' has non-sendable type 'CircularBuffer<LLBFutureOperationQueue.WorkItem>'; this is an error in the Swift 6 language mode
 27 |
 28 |         /// The queue of operations to run.
 29 |         var workQueue = NIO.CircularBuffer<WorkItem>()
    |             `- warning: stored property 'workQueue' of 'Sendable'-conforming struct 'State' has non-sendable type 'CircularBuffer<LLBFutureOperationQueue.WorkItem>'; this is an error in the Swift 6 language mode
 30 |     }
 31 |
 32 |     struct WorkItem {
    |            `- note: consider making struct 'WorkItem' conform to the 'Sendable' protocol
 33 |         let loop: LLBFuturesDispatchLoop
 34 |         let share: Int
/host/spi-builder-workspace/Sources/TSFFutures/FutureOperationQueue.swift:105:15: warning: type 'T' does not conform to the 'Sendable' protocol
 90 |     /// low-share loads. Useful to model queue size in bytes.
 91 |     /// For such use cases, set share to the payload size in bytes.
 92 |     public func enqueue<T>(on loop: LLBFuturesDispatchLoop, share: Int = 1, notifyWhenScheduled: LLBPromise<Void>? = nil, body: @escaping () -> LLBFuture<T>) -> LLBFuture<T> {
    |                         `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 93 |         let promise = loop.makePromise(of: T.self)
 94 |
    :
103 |                 }
104 |             }
105 |             f.cascade(to: promise)
    |               `- warning: type 'T' does not conform to the 'Sendable' protocol
106 |         }
107 |
/host/spi-builder-workspace/Sources/TSFFutures/FutureOperationQueue.swift:146:17: warning: capture of 'run' with non-sendable type '() -> Void' in a '@Sendable' closure
144 |             loop.execute {
145 |                 notify?.succeed(())
146 |                 run()
    |                 |- warning: capture of 'run' with non-sendable type '() -> Void' in a '@Sendable' closure
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
147 |             }
148 |         }
[435/441] Compiling TSFFutures FutureDeduplicator.swift
/host/spi-builder-workspace/Sources/TSFFutures/FutureDeduplicator.swift:148:11: warning: type 'Value' does not conform to the 'Sendable' protocol
 16 | ///
 17 | /// This cache coalesces requests and avoids re-obtaining values multiple times.
 18 | public class LLBFutureDeduplicator<Key: Hashable, Value> {
    |                                                   `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
 19 |     /// The futures group.
 20 |     @usableFromInline
    :
146 |             }
147 |             throw error
148 |         }.cascade(to: promise)
    |           `- warning: type 'Value' does not conform to the 'Sendable' protocol
149 |
150 |         return promise.futureResult
/host/spi-builder-workspace/Sources/TSFFutures/FutureDeduplicator.swift:126:13: warning: capture of 'self' with non-sendable type 'LLBFutureDeduplicator<Key, Value>' in a '@Sendable' closure
 16 | ///
 17 | /// This cache coalesces requests and avoids re-obtaining values multiple times.
 18 | public class LLBFutureDeduplicator<Key: Hashable, Value> {
    |              `- note: generic class 'LLBFutureDeduplicator' does not conform to the 'Sendable' protocol
 19 |     /// The futures group.
 20 |     @usableFromInline
    :
124 |
125 |         resolver(key).map { result in
126 |             self.lock.withLockVoid {
    |             `- warning: capture of 'self' with non-sendable type 'LLBFutureDeduplicator<Key, Value>' in a '@Sendable' closure
127 |                 guard self.inFlightRequests[key]?.result.futureResult === future else {
128 |                     return
/host/spi-builder-workspace/Sources/TSFFutures/FutureDeduplicator.swift:127:45: warning: capture of 'key' with non-sendable type 'Key' in a '@Sendable' closure
 16 | ///
 17 | /// This cache coalesces requests and avoids re-obtaining values multiple times.
 18 | public class LLBFutureDeduplicator<Key: Hashable, Value> {
    |                                    `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
 19 |     /// The futures group.
 20 |     @usableFromInline
    :
125 |         resolver(key).map { result in
126 |             self.lock.withLockVoid {
127 |                 guard self.inFlightRequests[key]?.result.futureResult === future else {
    |                                             `- warning: capture of 'key' with non-sendable type 'Key' in a '@Sendable' closure
128 |                     return
129 |                 }
/host/spi-builder-workspace/Sources/TSFFutures/FutureDeduplicator.swift:127:23: warning: capture of 'self' with non-sendable type 'LLBFutureDeduplicator<Key, Value>' in an isolated closure; this is an error in the Swift 6 language mode
 16 | ///
 17 | /// This cache coalesces requests and avoids re-obtaining values multiple times.
 18 | public class LLBFutureDeduplicator<Key: Hashable, Value> {
    |              `- note: generic class 'LLBFutureDeduplicator' does not conform to the 'Sendable' protocol
 19 |     /// The futures group.
 20 |     @usableFromInline
    :
125 |         resolver(key).map { result in
126 |             self.lock.withLockVoid {
127 |                 guard self.inFlightRequests[key]?.result.futureResult === future else {
    |                       `- warning: capture of 'self' with non-sendable type 'LLBFutureDeduplicator<Key, Value>' in an isolated closure; this is an error in the Swift 6 language mode
128 |                     return
129 |                 }
/host/spi-builder-workspace/Sources/TSFFutures/FutureDeduplicator.swift:127:45: warning: capture of 'key' with non-sendable type 'Key' in an isolated closure; this is an error in the Swift 6 language mode
 16 | ///
 17 | /// This cache coalesces requests and avoids re-obtaining values multiple times.
 18 | public class LLBFutureDeduplicator<Key: Hashable, Value> {
    |                                    `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
 19 |     /// The futures group.
 20 |     @usableFromInline
    :
125 |         resolver(key).map { result in
126 |             self.lock.withLockVoid {
127 |                 guard self.inFlightRequests[key]?.result.futureResult === future else {
    |                                             `- warning: capture of 'key' with non-sendable type 'Key' in an isolated closure; this is an error in the Swift 6 language mode
128 |                     return
129 |                 }
/host/spi-builder-workspace/Sources/TSFFutures/FutureDeduplicator.swift:136:50: warning: capture of 'self' with non-sendable type 'LLBFutureDeduplicator<Key, Value>' in a '@Sendable' closure
 16 | ///
 17 | /// This cache coalesces requests and avoids re-obtaining values multiple times.
 18 | public class LLBFutureDeduplicator<Key: Hashable, Value> {
    |              `- note: generic class 'LLBFutureDeduplicator' does not conform to the 'Sendable' protocol
 19 |     /// The futures group.
 20 |     @usableFromInline
    :
134 |             return result
135 |         }.flatMapErrorThrowing { error in
136 |             let expires: DispatchTimeInterval? = self.expirationInterval(error)
    |                                                  `- warning: capture of 'self' with non-sendable type 'LLBFutureDeduplicator<Key, Value>' in a '@Sendable' closure
137 |             self.lock.withLockVoid {
138 |                 guard self.inFlightRequests[key]?.result.futureResult === future else {
/host/spi-builder-workspace/Sources/TSFFutures/FutureDeduplicator.swift:138:45: warning: capture of 'key' with non-sendable type 'Key' in a '@Sendable' closure
 16 | ///
 17 | /// This cache coalesces requests and avoids re-obtaining values multiple times.
 18 | public class LLBFutureDeduplicator<Key: Hashable, Value> {
    |                                    `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
 19 |     /// The futures group.
 20 |     @usableFromInline
    :
136 |             let expires: DispatchTimeInterval? = self.expirationInterval(error)
137 |             self.lock.withLockVoid {
138 |                 guard self.inFlightRequests[key]?.result.futureResult === future else {
    |                                             `- warning: capture of 'key' with non-sendable type 'Key' in a '@Sendable' closure
139 |                     return
140 |                 }
/host/spi-builder-workspace/Sources/TSFFutures/FutureDeduplicator.swift:138:23: warning: capture of 'self' with non-sendable type 'LLBFutureDeduplicator<Key, Value>' in an isolated closure; this is an error in the Swift 6 language mode
 16 | ///
 17 | /// This cache coalesces requests and avoids re-obtaining values multiple times.
 18 | public class LLBFutureDeduplicator<Key: Hashable, Value> {
    |              `- note: generic class 'LLBFutureDeduplicator' does not conform to the 'Sendable' protocol
 19 |     /// The futures group.
 20 |     @usableFromInline
    :
136 |             let expires: DispatchTimeInterval? = self.expirationInterval(error)
137 |             self.lock.withLockVoid {
138 |                 guard self.inFlightRequests[key]?.result.futureResult === future else {
    |                       `- warning: capture of 'self' with non-sendable type 'LLBFutureDeduplicator<Key, Value>' in an isolated closure; this is an error in the Swift 6 language mode
139 |                     return
140 |                 }
/host/spi-builder-workspace/Sources/TSFFutures/FutureDeduplicator.swift:138:45: warning: capture of 'key' with non-sendable type 'Key' in an isolated closure; this is an error in the Swift 6 language mode
 16 | ///
 17 | /// This cache coalesces requests and avoids re-obtaining values multiple times.
 18 | public class LLBFutureDeduplicator<Key: Hashable, Value> {
    |                                    `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
 19 |     /// The futures group.
 20 |     @usableFromInline
    :
136 |             let expires: DispatchTimeInterval? = self.expirationInterval(error)
137 |             self.lock.withLockVoid {
138 |                 guard self.inFlightRequests[key]?.result.futureResult === future else {
    |                                             `- warning: capture of 'key' with non-sendable type 'Key' in an isolated closure; this is an error in the Swift 6 language mode
139 |                     return
140 |                 }
/host/spi-builder-workspace/Sources/TSFFutures/FutureDeduplicator.swift:215:25: warning: type 'Value' does not conform to the 'Sendable' protocol
 16 | ///
 17 | /// This cache coalesces requests and avoids re-obtaining values multiple times.
 18 | public class LLBFutureDeduplicator<Key: Hashable, Value> {
    |                                                   `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
 19 |     /// The futures group.
 20 |     @usableFromInline
    :
213 |             }
214 |             for (promise, result) in zip(promises, results) {
215 |                 promise.succeed(result)
    |                         `- warning: type 'Value' does not conform to the 'Sendable' protocol
216 |             }
217 |         }.whenFailure { error in
/host/spi-builder-workspace/Sources/TSFFutures/FutureDeduplicator.swift:200:13: warning: capture of 'self' with non-sendable type 'LLBFutureDeduplicator<Key, Value>' in a '@Sendable' closure
 16 | ///
 17 | /// This cache coalesces requests and avoids re-obtaining values multiple times.
 18 | public class LLBFutureDeduplicator<Key: Hashable, Value> {
    |              `- note: generic class 'LLBFutureDeduplicator' does not conform to the 'Sendable' protocol
 19 |     /// The futures group.
 20 |     @usableFromInline
    :
198 |
199 |         resolver(created).map { results in
200 |             self.lock.withLockVoid {
    |             `- warning: capture of 'self' with non-sendable type 'LLBFutureDeduplicator<Key, Value>' in a '@Sendable' closure
201 |                 for idx in 0..<created.count {
202 |                     let key = created[idx]
/host/spi-builder-workspace/Sources/TSFFutures/FutureDeduplicator.swift:201:32: warning: capture of 'created' with non-sendable type '[Key]' in a '@Sendable' closure
 16 | ///
 17 | /// This cache coalesces requests and avoids re-obtaining values multiple times.
 18 | public class LLBFutureDeduplicator<Key: Hashable, Value> {
    |                                    `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
 19 |     /// The futures group.
 20 |     @usableFromInline
    :
199 |         resolver(created).map { results in
200 |             self.lock.withLockVoid {
201 |                 for idx in 0..<created.count {
    |                                `- warning: capture of 'created' with non-sendable type '[Key]' in a '@Sendable' closure
202 |                     let key = created[idx]
203 |                     let promise = promises[idx]
/host/spi-builder-workspace/Sources/TSFFutures/FutureDeduplicator.swift:201:32: warning: capture of 'created' with non-sendable type '[Key]' in an isolated closure; this is an error in the Swift 6 language mode
 16 | ///
 17 | /// This cache coalesces requests and avoids re-obtaining values multiple times.
 18 | public class LLBFutureDeduplicator<Key: Hashable, Value> {
    |                                    `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
 19 |     /// The futures group.
 20 |     @usableFromInline
    :
199 |         resolver(created).map { results in
200 |             self.lock.withLockVoid {
201 |                 for idx in 0..<created.count {
    |                                `- warning: capture of 'created' with non-sendable type '[Key]' in an isolated closure; this is an error in the Swift 6 language mode
202 |                     let key = created[idx]
203 |                     let promise = promises[idx]
/host/spi-builder-workspace/Sources/TSFFutures/FutureDeduplicator.swift:204:27: warning: capture of 'self' with non-sendable type 'LLBFutureDeduplicator<Key, Value>' in an isolated closure; this is an error in the Swift 6 language mode
 16 | ///
 17 | /// This cache coalesces requests and avoids re-obtaining values multiple times.
 18 | public class LLBFutureDeduplicator<Key: Hashable, Value> {
    |              `- note: generic class 'LLBFutureDeduplicator' does not conform to the 'Sendable' protocol
 19 |     /// The futures group.
 20 |     @usableFromInline
    :
202 |                     let key = created[idx]
203 |                     let promise = promises[idx]
204 |                     guard self.inFlightRequests[key]?.result.futureResult === promise.futureResult else {
    |                           `- warning: capture of 'self' with non-sendable type 'LLBFutureDeduplicator<Key, Value>' in an isolated closure; this is an error in the Swift 6 language mode
205 |                         continue
206 |                     }
/host/spi-builder-workspace/Sources/TSFFutures/FutureDeduplicator.swift:219:50: warning: capture of 'self' with non-sendable type 'LLBFutureDeduplicator<Key, Value>' in a '@Sendable' closure
 16 | ///
 17 | /// This cache coalesces requests and avoids re-obtaining values multiple times.
 18 | public class LLBFutureDeduplicator<Key: Hashable, Value> {
    |              `- note: generic class 'LLBFutureDeduplicator' does not conform to the 'Sendable' protocol
 19 |     /// The futures group.
 20 |     @usableFromInline
    :
217 |         }.whenFailure { error in
218 |             let now = DispatchTime.now()
219 |             let expires: DispatchTimeInterval? = self.expirationInterval(error)
    |                                                  `- warning: capture of 'self' with non-sendable type 'LLBFutureDeduplicator<Key, Value>' in a '@Sendable' closure
220 |             self.lock.withLockVoid {
221 |                 for (key, promise) in zip(created, promises) {
/host/spi-builder-workspace/Sources/TSFFutures/FutureDeduplicator.swift:221:43: warning: capture of 'created' with non-sendable type '[Key]' in a '@Sendable' closure
 16 | ///
 17 | /// This cache coalesces requests and avoids re-obtaining values multiple times.
 18 | public class LLBFutureDeduplicator<Key: Hashable, Value> {
    |                                    `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
 19 |     /// The futures group.
 20 |     @usableFromInline
    :
219 |             let expires: DispatchTimeInterval? = self.expirationInterval(error)
220 |             self.lock.withLockVoid {
221 |                 for (key, promise) in zip(created, promises) {
    |                                           `- warning: capture of 'created' with non-sendable type '[Key]' in a '@Sendable' closure
222 |                     guard self.inFlightRequests[key]?.result.futureResult === promise.futureResult else {
223 |                         continue
/host/spi-builder-workspace/Sources/TSFFutures/FutureDeduplicator.swift:221:43: warning: capture of 'created' with non-sendable type '[Key]' in an isolated closure; this is an error in the Swift 6 language mode
 16 | ///
 17 | /// This cache coalesces requests and avoids re-obtaining values multiple times.
 18 | public class LLBFutureDeduplicator<Key: Hashable, Value> {
    |                                    `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
 19 |     /// The futures group.
 20 |     @usableFromInline
    :
219 |             let expires: DispatchTimeInterval? = self.expirationInterval(error)
220 |             self.lock.withLockVoid {
221 |                 for (key, promise) in zip(created, promises) {
    |                                           `- warning: capture of 'created' with non-sendable type '[Key]' in an isolated closure; this is an error in the Swift 6 language mode
222 |                     guard self.inFlightRequests[key]?.result.futureResult === promise.futureResult else {
223 |                         continue
/host/spi-builder-workspace/Sources/TSFFutures/FutureDeduplicator.swift:222:27: warning: capture of 'self' with non-sendable type 'LLBFutureDeduplicator<Key, Value>' in an isolated closure; this is an error in the Swift 6 language mode
 16 | ///
 17 | /// This cache coalesces requests and avoids re-obtaining values multiple times.
 18 | public class LLBFutureDeduplicator<Key: Hashable, Value> {
    |              `- note: generic class 'LLBFutureDeduplicator' does not conform to the 'Sendable' protocol
 19 |     /// The futures group.
 20 |     @usableFromInline
    :
220 |             self.lock.withLockVoid {
221 |                 for (key, promise) in zip(created, promises) {
222 |                     guard self.inFlightRequests[key]?.result.futureResult === promise.futureResult else {
    |                           `- warning: capture of 'self' with non-sendable type 'LLBFutureDeduplicator<Key, Value>' in an isolated closure; this is an error in the Swift 6 language mode
223 |                         continue
224 |                     }
[436/441] Compiling TSFFutures CancellablePromise.swift
/host/spi-builder-workspace/Sources/TSFFutures/CancellablePromise.swift:111:21: warning: type 'T' does not conform to the 'Sendable' protocol
 23 | ///       back indication of whether or not that operation was successful.
 24 | ///     - The reader access that checks if the promise has been fulfilled.
 25 | open class LLBCancellablePromise<T>: @unchecked /* because inheritance... */ Sendable {
    |                                  `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 26 |     /// Underlying promise. Private to avoid messing with out outside
 27 |     /// of CancellablePromise lifecycle protection.
    :
109 |         let justModified = modifyState(State.fulfilled)
110 |         if justModified {
111 |             promise.succeed(value)
    |                     `- warning: type 'T' does not conform to the 'Sendable' protocol
112 |         }
113 |         return justModified
/host/spi-builder-workspace/Sources/TSFFutures/CancellablePromise.swift:127:9: warning: type 'O' does not conform to the 'Sendable' protocol
124 |     /// Otherwise encode a `CancellablePromiseError`.
125 |     @inlinable
126 |     public func ifNotCompleteThen<P, O>(check promise: LLBCancellablePromise<P>, _ operation: @escaping (Value) -> LLBFuture<O>) -> LLBFuture<O> {
    |                                      `- note: consider making generic parameter 'O' conform to the 'Sendable' protocol
127 |         flatMap { value in
    |         `- warning: type 'O' does not conform to the 'Sendable' protocol
128 |             switch promise.state {
129 |             case .inProgress:
/host/spi-builder-workspace/Sources/TSFFutures/CancellablePromise.swift:130:24: warning: capture of 'operation' with non-sendable type '(Value) -> LLBFuture<O>' (aka '(Value) -> EventLoopFuture<O>') in a '@Sendable' closure
128 |             switch promise.state {
129 |             case .inProgress:
130 |                 return operation(value)
    |                        |- warning: capture of 'operation' with non-sendable type '(Value) -> LLBFuture<O>' (aka '(Value) -> EventLoopFuture<O>') in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
131 |             case .fulfilled:
132 |                 return self.eventLoop.makeFailedFuture(LLBCancellablePromiseError.promiseFulfilled)
/host/spi-builder-workspace/Sources/TSFFutures/CancellablePromise.swift:146:24: warning: capture of 'operation' with non-sendable type '(Value) -> O' in a '@Sendable' closure
144 |             switch promise.state {
145 |             case .inProgress:
146 |                 return operation(value)
    |                        |- warning: capture of 'operation' with non-sendable type '(Value) -> O' in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
147 |             case .fulfilled:
148 |                 throw LLBCancellablePromiseError.promiseFulfilled
[437/441] Compiling TSFFutures Canceller.swift
/host/spi-builder-workspace/Sources/TSFFutures/CancellablePromise.swift:111:21: warning: type 'T' does not conform to the 'Sendable' protocol
 23 | ///       back indication of whether or not that operation was successful.
 24 | ///     - The reader access that checks if the promise has been fulfilled.
 25 | open class LLBCancellablePromise<T>: @unchecked /* because inheritance... */ Sendable {
    |                                  `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 26 |     /// Underlying promise. Private to avoid messing with out outside
 27 |     /// of CancellablePromise lifecycle protection.
    :
109 |         let justModified = modifyState(State.fulfilled)
110 |         if justModified {
111 |             promise.succeed(value)
    |                     `- warning: type 'T' does not conform to the 'Sendable' protocol
112 |         }
113 |         return justModified
/host/spi-builder-workspace/Sources/TSFFutures/CancellablePromise.swift:127:9: warning: type 'O' does not conform to the 'Sendable' protocol
124 |     /// Otherwise encode a `CancellablePromiseError`.
125 |     @inlinable
126 |     public func ifNotCompleteThen<P, O>(check promise: LLBCancellablePromise<P>, _ operation: @escaping (Value) -> LLBFuture<O>) -> LLBFuture<O> {
    |                                      `- note: consider making generic parameter 'O' conform to the 'Sendable' protocol
127 |         flatMap { value in
    |         `- warning: type 'O' does not conform to the 'Sendable' protocol
128 |             switch promise.state {
129 |             case .inProgress:
/host/spi-builder-workspace/Sources/TSFFutures/CancellablePromise.swift:130:24: warning: capture of 'operation' with non-sendable type '(Value) -> LLBFuture<O>' (aka '(Value) -> EventLoopFuture<O>') in a '@Sendable' closure
128 |             switch promise.state {
129 |             case .inProgress:
130 |                 return operation(value)
    |                        |- warning: capture of 'operation' with non-sendable type '(Value) -> LLBFuture<O>' (aka '(Value) -> EventLoopFuture<O>') in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
131 |             case .fulfilled:
132 |                 return self.eventLoop.makeFailedFuture(LLBCancellablePromiseError.promiseFulfilled)
/host/spi-builder-workspace/Sources/TSFFutures/CancellablePromise.swift:146:24: warning: capture of 'operation' with non-sendable type '(Value) -> O' in a '@Sendable' closure
144 |             switch promise.state {
145 |             case .inProgress:
146 |                 return operation(value)
    |                        |- warning: capture of 'operation' with non-sendable type '(Value) -> O' in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
147 |             case .fulfilled:
148 |                 throw LLBCancellablePromiseError.promiseFulfilled
[438/441] Compiling TSFFutures BatchingFutureOperationQueue.swift
/host/spi-builder-workspace/Sources/TSFFutures/BatchingFutureOperationQueue.swift:75:29: warning: capture of 'body' with non-sendable type '() throws -> T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 73 |         let promise = group.next().makePromise(of: T.self)
 74 |         operationQueue.addOperation {
 75 |             promise.fulfill(body)
    |                             |- warning: capture of 'body' with non-sendable type '() throws -> T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 76 |         }
 77 |         return promise.futureResult
/host/spi-builder-workspace/Sources/TSFFutures/BatchingFutureOperationQueue.swift:85:15: warning: type 'T' does not conform to the 'Sendable' protocol
 79 |
 80 |     @inlinable
 81 |     public func execute<T>(_ body: @escaping () -> LLBFuture<T>) -> LLBFuture<T> {
    |                         `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 82 |         let promise = group.next().makePromise(of: T.self)
 83 |         operationQueue.addOperation {
 84 |             let f = body()
 85 |             f.cascade(to: promise)
    |               `- warning: type 'T' does not conform to the 'Sendable' protocol
 86 |
 87 |             // Wait for completion, to ensure we maintain at most N concurrent operations.
/host/spi-builder-workspace/Sources/TSFFutures/BatchingFutureOperationQueue.swift:88:24: warning: type 'T' does not conform to the 'Sendable' protocol
 79 |
 80 |     @inlinable
 81 |     public func execute<T>(_ body: @escaping () -> LLBFuture<T>) -> LLBFuture<T> {
    |                         `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 82 |         let promise = group.next().makePromise(of: T.self)
 83 |         operationQueue.addOperation {
    :
 86 |
 87 |             // Wait for completion, to ensure we maintain at most N concurrent operations.
 88 |             _ = try? f.wait()
    |                        `- warning: type 'T' does not conform to the 'Sendable' protocol
 89 |         }
 90 |         return promise.futureResult
/host/spi-builder-workspace/Sources/TSFFutures/BatchingFutureOperationQueue.swift:84:21: warning: capture of 'body' with non-sendable type '() -> LLBFuture<T>' (aka '() -> EventLoopFuture<T>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
 82 |         let promise = group.next().makePromise(of: T.self)
 83 |         operationQueue.addOperation {
 84 |             let f = body()
    |                     |- warning: capture of 'body' with non-sendable type '() -> LLBFuture<T>' (aka '() -> EventLoopFuture<T>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 85 |             f.cascade(to: promise)
 86 |
/host/spi-builder-workspace/Sources/TSFFutures/BatchingFutureOperationQueue.swift:98:31: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 93 |     /// Order-preserving parallel execution. Wait for everything to complete.
 94 |     @inlinable
 95 |     public func execute<A,T>(_ args: [A], minStride: Int = 1, _ body: @escaping (ArraySlice<A>) throws -> [T]) -> LLBFuture<[T]> {
    |                           `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 96 |         let futures: [LLBFuture<[T]>] = executeNoWait(args, minStride: minStride, body)
 97 |         let loop = futures.first?.eventLoop ?? group.next()
 98 |         return LLBFuture<[T]>.whenAllSucceed(futures, on: loop).map{$0.flatMap{$0}}
    |                               `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 99 |     }
100 |
/host/spi-builder-workspace/Sources/TSFFutures/CancellableFuture.swift:33:13: warning: capture of 'canceller' with non-sendable type 'LLBCanceller' in a '@Sendable' closure
31 |             // we expect the cancellation handlers to be no-op
32 |             // when cancelling something that's not there.
33 |             canceller.abandon()
   |             `- warning: capture of 'canceller' with non-sendable type 'LLBCanceller' in a '@Sendable' closure
34 |         }
35 |     }
/host/spi-builder-workspace/Sources/TSFFutures/Canceller.swift:17:20: note: class 'LLBCanceller' does not conform to the 'Sendable' protocol
 15 | /// An object serving as a cancellation handler which can
 16 | /// be supplied a cancellation procedure much later in its lifetime.
 17 | public final class LLBCanceller {
    |                    `- note: class 'LLBCanceller' does not conform to the 'Sendable' protocol
 18 |     private let mutex_ = NIOConcurrencyHelpers.NIOLock()
 19 |
/host/spi-builder-workspace/Sources/TSFFutures/CancellableFuture.swift:57:20: warning: type 'T' does not conform to the 'Sendable' protocol
13 | /// are provided with respect to the order of future's callbacks and the
14 | /// cancel operation returning.
15 | public struct LLBCancellableFuture<T>: LLBCancelProtocol {
   |                                    `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
16 |     /// The underlying future.
17 |     public let future: LLBFuture<T>
   :
55 |     @inlinable
56 |     public func wait() throws -> T {
57 |         try future.wait()
   |                    `- warning: type 'T' does not conform to the 'Sendable' protocol
58 |     }
59 |     #else
/host/spi-builder-workspace/Sources/TSFFutures/CancellableFuture.swift:69:26: warning: type 'T' does not conform to the 'Sendable' protocol
13 | /// are provided with respect to the order of future's callbacks and the
14 | /// cancel operation returning.
15 | public struct LLBCancellableFuture<T>: LLBCancelProtocol {
   |                                    `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
16 |     /// The underlying future.
17 |     public let future: LLBFuture<T>
   :
67 |     @inlinable
68 |     public func get() async throws -> T {
69 |         try await future.get()
   |                          `- warning: type 'T' does not conform to the 'Sendable' protocol
70 |     }
71 | }
[439/441] Compiling TSFFutures CancellableFuture.swift
/host/spi-builder-workspace/Sources/TSFFutures/BatchingFutureOperationQueue.swift:75:29: warning: capture of 'body' with non-sendable type '() throws -> T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 73 |         let promise = group.next().makePromise(of: T.self)
 74 |         operationQueue.addOperation {
 75 |             promise.fulfill(body)
    |                             |- warning: capture of 'body' with non-sendable type '() throws -> T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 76 |         }
 77 |         return promise.futureResult
/host/spi-builder-workspace/Sources/TSFFutures/BatchingFutureOperationQueue.swift:85:15: warning: type 'T' does not conform to the 'Sendable' protocol
 79 |
 80 |     @inlinable
 81 |     public func execute<T>(_ body: @escaping () -> LLBFuture<T>) -> LLBFuture<T> {
    |                         `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 82 |         let promise = group.next().makePromise(of: T.self)
 83 |         operationQueue.addOperation {
 84 |             let f = body()
 85 |             f.cascade(to: promise)
    |               `- warning: type 'T' does not conform to the 'Sendable' protocol
 86 |
 87 |             // Wait for completion, to ensure we maintain at most N concurrent operations.
/host/spi-builder-workspace/Sources/TSFFutures/BatchingFutureOperationQueue.swift:88:24: warning: type 'T' does not conform to the 'Sendable' protocol
 79 |
 80 |     @inlinable
 81 |     public func execute<T>(_ body: @escaping () -> LLBFuture<T>) -> LLBFuture<T> {
    |                         `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 82 |         let promise = group.next().makePromise(of: T.self)
 83 |         operationQueue.addOperation {
    :
 86 |
 87 |             // Wait for completion, to ensure we maintain at most N concurrent operations.
 88 |             _ = try? f.wait()
    |                        `- warning: type 'T' does not conform to the 'Sendable' protocol
 89 |         }
 90 |         return promise.futureResult
/host/spi-builder-workspace/Sources/TSFFutures/BatchingFutureOperationQueue.swift:84:21: warning: capture of 'body' with non-sendable type '() -> LLBFuture<T>' (aka '() -> EventLoopFuture<T>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
 82 |         let promise = group.next().makePromise(of: T.self)
 83 |         operationQueue.addOperation {
 84 |             let f = body()
    |                     |- warning: capture of 'body' with non-sendable type '() -> LLBFuture<T>' (aka '() -> EventLoopFuture<T>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 85 |             f.cascade(to: promise)
 86 |
/host/spi-builder-workspace/Sources/TSFFutures/BatchingFutureOperationQueue.swift:98:31: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 93 |     /// Order-preserving parallel execution. Wait for everything to complete.
 94 |     @inlinable
 95 |     public func execute<A,T>(_ args: [A], minStride: Int = 1, _ body: @escaping (ArraySlice<A>) throws -> [T]) -> LLBFuture<[T]> {
    |                           `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 96 |         let futures: [LLBFuture<[T]>] = executeNoWait(args, minStride: minStride, body)
 97 |         let loop = futures.first?.eventLoop ?? group.next()
 98 |         return LLBFuture<[T]>.whenAllSucceed(futures, on: loop).map{$0.flatMap{$0}}
    |                               `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 99 |     }
100 |
/host/spi-builder-workspace/Sources/TSFFutures/CancellableFuture.swift:33:13: warning: capture of 'canceller' with non-sendable type 'LLBCanceller' in a '@Sendable' closure
31 |             // we expect the cancellation handlers to be no-op
32 |             // when cancelling something that's not there.
33 |             canceller.abandon()
   |             `- warning: capture of 'canceller' with non-sendable type 'LLBCanceller' in a '@Sendable' closure
34 |         }
35 |     }
/host/spi-builder-workspace/Sources/TSFFutures/Canceller.swift:17:20: note: class 'LLBCanceller' does not conform to the 'Sendable' protocol
 15 | /// An object serving as a cancellation handler which can
 16 | /// be supplied a cancellation procedure much later in its lifetime.
 17 | public final class LLBCanceller {
    |                    `- note: class 'LLBCanceller' does not conform to the 'Sendable' protocol
 18 |     private let mutex_ = NIOConcurrencyHelpers.NIOLock()
 19 |
/host/spi-builder-workspace/Sources/TSFFutures/CancellableFuture.swift:57:20: warning: type 'T' does not conform to the 'Sendable' protocol
13 | /// are provided with respect to the order of future's callbacks and the
14 | /// cancel operation returning.
15 | public struct LLBCancellableFuture<T>: LLBCancelProtocol {
   |                                    `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
16 |     /// The underlying future.
17 |     public let future: LLBFuture<T>
   :
55 |     @inlinable
56 |     public func wait() throws -> T {
57 |         try future.wait()
   |                    `- warning: type 'T' does not conform to the 'Sendable' protocol
58 |     }
59 |     #else
/host/spi-builder-workspace/Sources/TSFFutures/CancellableFuture.swift:69:26: warning: type 'T' does not conform to the 'Sendable' protocol
13 | /// are provided with respect to the order of future's callbacks and the
14 | /// cancel operation returning.
15 | public struct LLBCancellableFuture<T>: LLBCancelProtocol {
   |                                    `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
16 |     /// The underlying future.
17 |     public let future: LLBFuture<T>
   :
67 |     @inlinable
68 |     public func get() async throws -> T {
69 |         try await future.get()
   |                          `- warning: type 'T' does not conform to the 'Sendable' protocol
70 |     }
71 | }
[440/441] Emitting module TSFFutures
/host/spi-builder-workspace/Sources/TSFFutures/BatchingFutureOperationQueue.swift:75:29: warning: capture of 'body' with non-sendable type '() throws -> T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 73 |         let promise = group.next().makePromise(of: T.self)
 74 |         operationQueue.addOperation {
 75 |             promise.fulfill(body)
    |                             |- warning: capture of 'body' with non-sendable type '() throws -> T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 76 |         }
 77 |         return promise.futureResult
/host/spi-builder-workspace/Sources/TSFFutures/BatchingFutureOperationQueue.swift:85:15: warning: type 'T' does not conform to the 'Sendable' protocol
 79 |
 80 |     @inlinable
 81 |     public func execute<T>(_ body: @escaping () -> LLBFuture<T>) -> LLBFuture<T> {
    |                         `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 82 |         let promise = group.next().makePromise(of: T.self)
 83 |         operationQueue.addOperation {
 84 |             let f = body()
 85 |             f.cascade(to: promise)
    |               `- warning: type 'T' does not conform to the 'Sendable' protocol
 86 |
 87 |             // Wait for completion, to ensure we maintain at most N concurrent operations.
/host/spi-builder-workspace/Sources/TSFFutures/BatchingFutureOperationQueue.swift:88:24: warning: type 'T' does not conform to the 'Sendable' protocol
 79 |
 80 |     @inlinable
 81 |     public func execute<T>(_ body: @escaping () -> LLBFuture<T>) -> LLBFuture<T> {
    |                         `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 82 |         let promise = group.next().makePromise(of: T.self)
 83 |         operationQueue.addOperation {
    :
 86 |
 87 |             // Wait for completion, to ensure we maintain at most N concurrent operations.
 88 |             _ = try? f.wait()
    |                        `- warning: type 'T' does not conform to the 'Sendable' protocol
 89 |         }
 90 |         return promise.futureResult
/host/spi-builder-workspace/Sources/TSFFutures/BatchingFutureOperationQueue.swift:84:21: warning: capture of 'body' with non-sendable type '() -> LLBFuture<T>' (aka '() -> EventLoopFuture<T>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
 82 |         let promise = group.next().makePromise(of: T.self)
 83 |         operationQueue.addOperation {
 84 |             let f = body()
    |                     |- warning: capture of 'body' with non-sendable type '() -> LLBFuture<T>' (aka '() -> EventLoopFuture<T>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 85 |             f.cascade(to: promise)
 86 |
/host/spi-builder-workspace/Sources/TSFFutures/BatchingFutureOperationQueue.swift:98:31: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 93 |     /// Order-preserving parallel execution. Wait for everything to complete.
 94 |     @inlinable
 95 |     public func execute<A,T>(_ args: [A], minStride: Int = 1, _ body: @escaping (ArraySlice<A>) throws -> [T]) -> LLBFuture<[T]> {
    |                           `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 96 |         let futures: [LLBFuture<[T]>] = executeNoWait(args, minStride: minStride, body)
 97 |         let loop = futures.first?.eventLoop ?? group.next()
 98 |         return LLBFuture<[T]>.whenAllSucceed(futures, on: loop).map{$0.flatMap{$0}}
    |                               `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 99 |     }
100 |
/host/spi-builder-workspace/Sources/TSFFutures/CancellableFuture.swift:57:20: warning: type 'T' does not conform to the 'Sendable' protocol
13 | /// are provided with respect to the order of future's callbacks and the
14 | /// cancel operation returning.
15 | public struct LLBCancellableFuture<T>: LLBCancelProtocol {
   |                                    `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
16 |     /// The underlying future.
17 |     public let future: LLBFuture<T>
   :
55 |     @inlinable
56 |     public func wait() throws -> T {
57 |         try future.wait()
   |                    `- warning: type 'T' does not conform to the 'Sendable' protocol
58 |     }
59 |     #else
/host/spi-builder-workspace/Sources/TSFFutures/CancellableFuture.swift:69:26: warning: type 'T' does not conform to the 'Sendable' protocol
13 | /// are provided with respect to the order of future's callbacks and the
14 | /// cancel operation returning.
15 | public struct LLBCancellableFuture<T>: LLBCancelProtocol {
   |                                    `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
16 |     /// The underlying future.
17 |     public let future: LLBFuture<T>
   :
67 |     @inlinable
68 |     public func get() async throws -> T {
69 |         try await future.get()
   |                          `- warning: type 'T' does not conform to the 'Sendable' protocol
70 |     }
71 | }
/host/spi-builder-workspace/Sources/TSFFutures/CancellablePromise.swift:127:9: warning: type 'O' does not conform to the 'Sendable' protocol
124 |     /// Otherwise encode a `CancellablePromiseError`.
125 |     @inlinable
126 |     public func ifNotCompleteThen<P, O>(check promise: LLBCancellablePromise<P>, _ operation: @escaping (Value) -> LLBFuture<O>) -> LLBFuture<O> {
    |                                      `- note: consider making generic parameter 'O' conform to the 'Sendable' protocol
127 |         flatMap { value in
    |         `- warning: type 'O' does not conform to the 'Sendable' protocol
128 |             switch promise.state {
129 |             case .inProgress:
/host/spi-builder-workspace/Sources/TSFFutures/CancellablePromise.swift:130:24: warning: capture of 'operation' with non-sendable type '(Value) -> LLBFuture<O>' (aka '(Value) -> EventLoopFuture<O>') in a '@Sendable' closure
128 |             switch promise.state {
129 |             case .inProgress:
130 |                 return operation(value)
    |                        |- warning: capture of 'operation' with non-sendable type '(Value) -> LLBFuture<O>' (aka '(Value) -> EventLoopFuture<O>') in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
131 |             case .fulfilled:
132 |                 return self.eventLoop.makeFailedFuture(LLBCancellablePromiseError.promiseFulfilled)
/host/spi-builder-workspace/Sources/TSFFutures/CancellablePromise.swift:146:24: warning: capture of 'operation' with non-sendable type '(Value) -> O' in a '@Sendable' closure
144 |             switch promise.state {
145 |             case .inProgress:
146 |                 return operation(value)
    |                        |- warning: capture of 'operation' with non-sendable type '(Value) -> O' in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
147 |             case .fulfilled:
148 |                 throw LLBCancellablePromiseError.promiseFulfilled
/host/spi-builder-workspace/Sources/TSFFutures/FutureDeduplicator.swift:148:11: warning: type 'Value' does not conform to the 'Sendable' protocol
 16 | ///
 17 | /// This cache coalesces requests and avoids re-obtaining values multiple times.
 18 | public class LLBFutureDeduplicator<Key: Hashable, Value> {
    |                                                   `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
 19 |     /// The futures group.
 20 |     @usableFromInline
    :
146 |             }
147 |             throw error
148 |         }.cascade(to: promise)
    |           `- warning: type 'Value' does not conform to the 'Sendable' protocol
149 |
150 |         return promise.futureResult
/host/spi-builder-workspace/Sources/TSFFutures/FutureDeduplicator.swift:126:13: warning: capture of 'self' with non-sendable type 'LLBFutureDeduplicator<Key, Value>' in a '@Sendable' closure
 16 | ///
 17 | /// This cache coalesces requests and avoids re-obtaining values multiple times.
 18 | public class LLBFutureDeduplicator<Key: Hashable, Value> {
    |              `- note: generic class 'LLBFutureDeduplicator' does not conform to the 'Sendable' protocol
 19 |     /// The futures group.
 20 |     @usableFromInline
    :
124 |
125 |         resolver(key).map { result in
126 |             self.lock.withLockVoid {
    |             `- warning: capture of 'self' with non-sendable type 'LLBFutureDeduplicator<Key, Value>' in a '@Sendable' closure
127 |                 guard self.inFlightRequests[key]?.result.futureResult === future else {
128 |                     return
/host/spi-builder-workspace/Sources/TSFFutures/FutureDeduplicator.swift:127:45: warning: capture of 'key' with non-sendable type 'Key' in a '@Sendable' closure
 16 | ///
 17 | /// This cache coalesces requests and avoids re-obtaining values multiple times.
 18 | public class LLBFutureDeduplicator<Key: Hashable, Value> {
    |                                    `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
 19 |     /// The futures group.
 20 |     @usableFromInline
    :
125 |         resolver(key).map { result in
126 |             self.lock.withLockVoid {
127 |                 guard self.inFlightRequests[key]?.result.futureResult === future else {
    |                                             `- warning: capture of 'key' with non-sendable type 'Key' in a '@Sendable' closure
128 |                     return
129 |                 }
/host/spi-builder-workspace/Sources/TSFFutures/FutureDeduplicator.swift:127:23: warning: capture of 'self' with non-sendable type 'LLBFutureDeduplicator<Key, Value>' in an isolated closure; this is an error in the Swift 6 language mode
 16 | ///
 17 | /// This cache coalesces requests and avoids re-obtaining values multiple times.
 18 | public class LLBFutureDeduplicator<Key: Hashable, Value> {
    |              `- note: generic class 'LLBFutureDeduplicator' does not conform to the 'Sendable' protocol
 19 |     /// The futures group.
 20 |     @usableFromInline
    :
125 |         resolver(key).map { result in
126 |             self.lock.withLockVoid {
127 |                 guard self.inFlightRequests[key]?.result.futureResult === future else {
    |                       `- warning: capture of 'self' with non-sendable type 'LLBFutureDeduplicator<Key, Value>' in an isolated closure; this is an error in the Swift 6 language mode
128 |                     return
129 |                 }
/host/spi-builder-workspace/Sources/TSFFutures/FutureDeduplicator.swift:127:45: warning: capture of 'key' with non-sendable type 'Key' in an isolated closure; this is an error in the Swift 6 language mode
 16 | ///
 17 | /// This cache coalesces requests and avoids re-obtaining values multiple times.
 18 | public class LLBFutureDeduplicator<Key: Hashable, Value> {
    |                                    `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
 19 |     /// The futures group.
 20 |     @usableFromInline
    :
125 |         resolver(key).map { result in
126 |             self.lock.withLockVoid {
127 |                 guard self.inFlightRequests[key]?.result.futureResult === future else {
    |                                             `- warning: capture of 'key' with non-sendable type 'Key' in an isolated closure; this is an error in the Swift 6 language mode
128 |                     return
129 |                 }
/host/spi-builder-workspace/Sources/TSFFutures/FutureDeduplicator.swift:136:50: warning: capture of 'self' with non-sendable type 'LLBFutureDeduplicator<Key, Value>' in a '@Sendable' closure
 16 | ///
 17 | /// This cache coalesces requests and avoids re-obtaining values multiple times.
 18 | public class LLBFutureDeduplicator<Key: Hashable, Value> {
    |              `- note: generic class 'LLBFutureDeduplicator' does not conform to the 'Sendable' protocol
 19 |     /// The futures group.
 20 |     @usableFromInline
    :
134 |             return result
135 |         }.flatMapErrorThrowing { error in
136 |             let expires: DispatchTimeInterval? = self.expirationInterval(error)
    |                                                  `- warning: capture of 'self' with non-sendable type 'LLBFutureDeduplicator<Key, Value>' in a '@Sendable' closure
137 |             self.lock.withLockVoid {
138 |                 guard self.inFlightRequests[key]?.result.futureResult === future else {
/host/spi-builder-workspace/Sources/TSFFutures/FutureDeduplicator.swift:138:45: warning: capture of 'key' with non-sendable type 'Key' in a '@Sendable' closure
 16 | ///
 17 | /// This cache coalesces requests and avoids re-obtaining values multiple times.
 18 | public class LLBFutureDeduplicator<Key: Hashable, Value> {
    |                                    `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
 19 |     /// The futures group.
 20 |     @usableFromInline
    :
136 |             let expires: DispatchTimeInterval? = self.expirationInterval(error)
137 |             self.lock.withLockVoid {
138 |                 guard self.inFlightRequests[key]?.result.futureResult === future else {
    |                                             `- warning: capture of 'key' with non-sendable type 'Key' in a '@Sendable' closure
139 |                     return
140 |                 }
/host/spi-builder-workspace/Sources/TSFFutures/FutureDeduplicator.swift:138:23: warning: capture of 'self' with non-sendable type 'LLBFutureDeduplicator<Key, Value>' in an isolated closure; this is an error in the Swift 6 language mode
 16 | ///
 17 | /// This cache coalesces requests and avoids re-obtaining values multiple times.
 18 | public class LLBFutureDeduplicator<Key: Hashable, Value> {
    |              `- note: generic class 'LLBFutureDeduplicator' does not conform to the 'Sendable' protocol
 19 |     /// The futures group.
 20 |     @usableFromInline
    :
136 |             let expires: DispatchTimeInterval? = self.expirationInterval(error)
137 |             self.lock.withLockVoid {
138 |                 guard self.inFlightRequests[key]?.result.futureResult === future else {
    |                       `- warning: capture of 'self' with non-sendable type 'LLBFutureDeduplicator<Key, Value>' in an isolated closure; this is an error in the Swift 6 language mode
139 |                     return
140 |                 }
/host/spi-builder-workspace/Sources/TSFFutures/FutureDeduplicator.swift:138:45: warning: capture of 'key' with non-sendable type 'Key' in an isolated closure; this is an error in the Swift 6 language mode
 16 | ///
 17 | /// This cache coalesces requests and avoids re-obtaining values multiple times.
 18 | public class LLBFutureDeduplicator<Key: Hashable, Value> {
    |                                    `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
 19 |     /// The futures group.
 20 |     @usableFromInline
    :
136 |             let expires: DispatchTimeInterval? = self.expirationInterval(error)
137 |             self.lock.withLockVoid {
138 |                 guard self.inFlightRequests[key]?.result.futureResult === future else {
    |                                             `- warning: capture of 'key' with non-sendable type 'Key' in an isolated closure; this is an error in the Swift 6 language mode
139 |                     return
140 |                 }
/host/spi-builder-workspace/Sources/TSFFutures/FutureDeduplicator.swift:215:25: warning: type 'Value' does not conform to the 'Sendable' protocol
 16 | ///
 17 | /// This cache coalesces requests and avoids re-obtaining values multiple times.
 18 | public class LLBFutureDeduplicator<Key: Hashable, Value> {
    |                                                   `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
 19 |     /// The futures group.
 20 |     @usableFromInline
    :
213 |             }
214 |             for (promise, result) in zip(promises, results) {
215 |                 promise.succeed(result)
    |                         `- warning: type 'Value' does not conform to the 'Sendable' protocol
216 |             }
217 |         }.whenFailure { error in
/host/spi-builder-workspace/Sources/TSFFutures/FutureDeduplicator.swift:200:13: warning: capture of 'self' with non-sendable type 'LLBFutureDeduplicator<Key, Value>' in a '@Sendable' closure
 16 | ///
 17 | /// This cache coalesces requests and avoids re-obtaining values multiple times.
 18 | public class LLBFutureDeduplicator<Key: Hashable, Value> {
    |              `- note: generic class 'LLBFutureDeduplicator' does not conform to the 'Sendable' protocol
 19 |     /// The futures group.
 20 |     @usableFromInline
    :
198 |
199 |         resolver(created).map { results in
200 |             self.lock.withLockVoid {
    |             `- warning: capture of 'self' with non-sendable type 'LLBFutureDeduplicator<Key, Value>' in a '@Sendable' closure
201 |                 for idx in 0..<created.count {
202 |                     let key = created[idx]
/host/spi-builder-workspace/Sources/TSFFutures/FutureDeduplicator.swift:201:32: warning: capture of 'created' with non-sendable type '[Key]' in a '@Sendable' closure
 16 | ///
 17 | /// This cache coalesces requests and avoids re-obtaining values multiple times.
 18 | public class LLBFutureDeduplicator<Key: Hashable, Value> {
    |                                    `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
 19 |     /// The futures group.
 20 |     @usableFromInline
    :
199 |         resolver(created).map { results in
200 |             self.lock.withLockVoid {
201 |                 for idx in 0..<created.count {
    |                                `- warning: capture of 'created' with non-sendable type '[Key]' in a '@Sendable' closure
202 |                     let key = created[idx]
203 |                     let promise = promises[idx]
/host/spi-builder-workspace/Sources/TSFFutures/FutureDeduplicator.swift:201:32: warning: capture of 'created' with non-sendable type '[Key]' in an isolated closure; this is an error in the Swift 6 language mode
 16 | ///
 17 | /// This cache coalesces requests and avoids re-obtaining values multiple times.
 18 | public class LLBFutureDeduplicator<Key: Hashable, Value> {
    |                                    `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
 19 |     /// The futures group.
 20 |     @usableFromInline
    :
199 |         resolver(created).map { results in
200 |             self.lock.withLockVoid {
201 |                 for idx in 0..<created.count {
    |                                `- warning: capture of 'created' with non-sendable type '[Key]' in an isolated closure; this is an error in the Swift 6 language mode
202 |                     let key = created[idx]
203 |                     let promise = promises[idx]
/host/spi-builder-workspace/Sources/TSFFutures/FutureDeduplicator.swift:204:27: warning: capture of 'self' with non-sendable type 'LLBFutureDeduplicator<Key, Value>' in an isolated closure; this is an error in the Swift 6 language mode
 16 | ///
 17 | /// This cache coalesces requests and avoids re-obtaining values multiple times.
 18 | public class LLBFutureDeduplicator<Key: Hashable, Value> {
    |              `- note: generic class 'LLBFutureDeduplicator' does not conform to the 'Sendable' protocol
 19 |     /// The futures group.
 20 |     @usableFromInline
    :
202 |                     let key = created[idx]
203 |                     let promise = promises[idx]
204 |                     guard self.inFlightRequests[key]?.result.futureResult === promise.futureResult else {
    |                           `- warning: capture of 'self' with non-sendable type 'LLBFutureDeduplicator<Key, Value>' in an isolated closure; this is an error in the Swift 6 language mode
205 |                         continue
206 |                     }
/host/spi-builder-workspace/Sources/TSFFutures/FutureDeduplicator.swift:219:50: warning: capture of 'self' with non-sendable type 'LLBFutureDeduplicator<Key, Value>' in a '@Sendable' closure
 16 | ///
 17 | /// This cache coalesces requests and avoids re-obtaining values multiple times.
 18 | public class LLBFutureDeduplicator<Key: Hashable, Value> {
    |              `- note: generic class 'LLBFutureDeduplicator' does not conform to the 'Sendable' protocol
 19 |     /// The futures group.
 20 |     @usableFromInline
    :
217 |         }.whenFailure { error in
218 |             let now = DispatchTime.now()
219 |             let expires: DispatchTimeInterval? = self.expirationInterval(error)
    |                                                  `- warning: capture of 'self' with non-sendable type 'LLBFutureDeduplicator<Key, Value>' in a '@Sendable' closure
220 |             self.lock.withLockVoid {
221 |                 for (key, promise) in zip(created, promises) {
/host/spi-builder-workspace/Sources/TSFFutures/FutureDeduplicator.swift:221:43: warning: capture of 'created' with non-sendable type '[Key]' in a '@Sendable' closure
 16 | ///
 17 | /// This cache coalesces requests and avoids re-obtaining values multiple times.
 18 | public class LLBFutureDeduplicator<Key: Hashable, Value> {
    |                                    `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
 19 |     /// The futures group.
 20 |     @usableFromInline
    :
219 |             let expires: DispatchTimeInterval? = self.expirationInterval(error)
220 |             self.lock.withLockVoid {
221 |                 for (key, promise) in zip(created, promises) {
    |                                           `- warning: capture of 'created' with non-sendable type '[Key]' in a '@Sendable' closure
222 |                     guard self.inFlightRequests[key]?.result.futureResult === promise.futureResult else {
223 |                         continue
/host/spi-builder-workspace/Sources/TSFFutures/FutureDeduplicator.swift:221:43: warning: capture of 'created' with non-sendable type '[Key]' in an isolated closure; this is an error in the Swift 6 language mode
 16 | ///
 17 | /// This cache coalesces requests and avoids re-obtaining values multiple times.
 18 | public class LLBFutureDeduplicator<Key: Hashable, Value> {
    |                                    `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
 19 |     /// The futures group.
 20 |     @usableFromInline
    :
219 |             let expires: DispatchTimeInterval? = self.expirationInterval(error)
220 |             self.lock.withLockVoid {
221 |                 for (key, promise) in zip(created, promises) {
    |                                           `- warning: capture of 'created' with non-sendable type '[Key]' in an isolated closure; this is an error in the Swift 6 language mode
222 |                     guard self.inFlightRequests[key]?.result.futureResult === promise.futureResult else {
223 |                         continue
/host/spi-builder-workspace/Sources/TSFFutures/FutureDeduplicator.swift:222:27: warning: capture of 'self' with non-sendable type 'LLBFutureDeduplicator<Key, Value>' in an isolated closure; this is an error in the Swift 6 language mode
 16 | ///
 17 | /// This cache coalesces requests and avoids re-obtaining values multiple times.
 18 | public class LLBFutureDeduplicator<Key: Hashable, Value> {
    |              `- note: generic class 'LLBFutureDeduplicator' does not conform to the 'Sendable' protocol
 19 |     /// The futures group.
 20 |     @usableFromInline
    :
220 |             self.lock.withLockVoid {
221 |                 for (key, promise) in zip(created, promises) {
222 |                     guard self.inFlightRequests[key]?.result.futureResult === promise.futureResult else {
    |                           `- warning: capture of 'self' with non-sendable type 'LLBFutureDeduplicator<Key, Value>' in an isolated closure; this is an error in the Swift 6 language mode
223 |                         continue
224 |                     }
/host/spi-builder-workspace/Sources/TSFFutures/FutureOperationQueue.swift:29:13: warning: stored property 'workQueue' of 'Sendable'-conforming struct 'State' has non-sendable type 'CircularBuffer<LLBFutureOperationQueue.WorkItem>'; this is an error in the Swift 6 language mode
 27 |
 28 |         /// The queue of operations to run.
 29 |         var workQueue = NIO.CircularBuffer<WorkItem>()
    |             `- warning: stored property 'workQueue' of 'Sendable'-conforming struct 'State' has non-sendable type 'CircularBuffer<LLBFutureOperationQueue.WorkItem>'; this is an error in the Swift 6 language mode
 30 |     }
 31 |
 32 |     struct WorkItem {
    |            `- note: consider making struct 'WorkItem' conform to the 'Sendable' protocol
 33 |         let loop: LLBFuturesDispatchLoop
 34 |         let share: Int
/host/spi-builder-workspace/Sources/TSFFutures/FutureOperationQueue.swift:146:17: warning: capture of 'run' with non-sendable type '() -> Void' in a '@Sendable' closure
144 |             loop.execute {
145 |                 notify?.succeed(())
146 |                 run()
    |                 |- warning: capture of 'run' with non-sendable type '() -> Void' in a '@Sendable' closure
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
147 |             }
148 |         }
/host/spi-builder-workspace/Sources/TSFFutures/Futures.swift:29:17: warning: type 'Value' does not conform to the 'Sendable' protocol
27 |     func fulfill(_ body: () throws -> Value) {
28 |         do {
29 |             try succeed(body())
   |                 `- warning: type 'Value' does not conform to the 'Sendable' protocol
30 |         } catch {
31 |             fail(error)
[441/441] Compiling TSFFutures OrderManager.swift
/host/spi-builder-workspace/Sources/TSFFutures/OrderManager.swift:100:17: warning: capture of 'callback' with non-sendable type '() throws -> T' in a '@Sendable' closure
 98 |
 99 |         let future = promise.futureResult.flatMapThrowing {
100 |             try callback()
    |                 |- warning: capture of 'callback' with non-sendable type '() throws -> T' in a '@Sendable' closure
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
101 |         }
102 |
/host/spi-builder-workspace/Sources/TSFFutures/OrderManager.swift:104:13: warning: capture of 'self' with non-sendable type 'LLBOrderManager' in a '@Sendable' closure
 39 | ///
 40 |
 41 | public class LLBOrderManager {
    |              `- note: class 'LLBOrderManager' does not conform to the 'Sendable' protocol
 42 |
 43 |     // A safety timer, not to be exceeded.
    :
102 |
103 |         future.whenComplete { _ in
104 |             self.lock.withLockVoid {
    |             `- warning: capture of 'self' with non-sendable type 'LLBOrderManager' in a '@Sendable' closure
105 |                 if n == self.nextToRun {
106 |                     self.nextToRun += 1
/host/spi-builder-workspace/Sources/TSFFutures/OrderManager.swift:105:25: warning: capture of 'self' with non-sendable type 'LLBOrderManager' in an isolated closure; this is an error in the Swift 6 language mode
 39 | ///
 40 |
 41 | public class LLBOrderManager {
    |              `- note: class 'LLBOrderManager' does not conform to the 'Sendable' protocol
 42 |
 43 |     // A safety timer, not to be exceeded.
    :
103 |         future.whenComplete { _ in
104 |             self.lock.withLockVoid {
105 |                 if n == self.nextToRun {
    |                         `- warning: capture of 'self' with non-sendable type 'LLBOrderManager' in an isolated closure; this is an error in the Swift 6 language mode
106 |                     self.nextToRun += 1
107 |                 }
/host/spi-builder-workspace/Sources/TSFFutures/OrderManager.swift:141:30: warning: capture of 'self' with non-sendable type 'LLBOrderManager?' in a '@Sendable' closure
 39 | ///
 40 |
 41 | public class LLBOrderManager {
    |              `- note: class 'LLBOrderManager' does not conform to the 'Sendable' protocol
 42 |
 43 |     // A safety timer, not to be exceeded.
    :
139 |
140 |         return EventLoopFuture.whenAllSucceed(futures, on: eventLoop).map { [weak self] _ in
141 |             guard let self = self else { return }
    |                              `- warning: capture of 'self' with non-sendable type 'LLBOrderManager?' in a '@Sendable' closure
142 |             lock.withLockVoid {
143 |                 assert(self.waitlist.isEmpty)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[443/447] Emitting module TSFUtility
/host/spi-builder-workspace/Sources/TSFUtility/FutureFileSystem.swift:37:113: error: cannot find type 'stat' in scope
 35 |     }
 36 |
 37 |     public func readFileContentsWithStat(_ path: AbsolutePath) -> LLBFuture<(contents: ArraySlice<UInt8>, stat: stat)> {
    |                                                                                                                 `- error: cannot find type 'stat' in scope
 38 |         let pathString = path.pathString
 39 |         return batchingQueue.execute {
/host/spi-builder-workspace/Sources/TSFUtility/FutureFileSystem.swift:44:64: error: cannot find type 'stat' in scope
 42 |     }
 43 |
 44 |     public func getFileInfo(_ path: AbsolutePath) -> LLBFuture<stat> {
    |                                                                `- error: cannot find type 'stat' in scope
 45 |         let pathString = path.pathString
 46 |         return batchingQueue.execute {
/host/spi-builder-workspace/Sources/TSFUtility/FutureFileSystem.swift:97:104: error: cannot find type 'stat' in scope
 95 |     /// Return the bytes and sometimes the stat information for the file.
 96 |     /// The stat information is a byproduct and can be used as an optimization.
 97 |     private static func syncReadWithStat(_ path: String) throws -> (contents: ArraySlice<UInt8>, stat: stat) {
    |                                                                                                        `- error: cannot find type 'stat' in scope
 98 |         let fd = try Self.openImpl(path)
 99 |         defer { close(fd) }
/host/spi-builder-workspace/Sources/TSFUtility/FutureFileSystem.swift:126:63: error: cannot find 'O_RDONLY' in scope
124 |     }
125 |
126 |     public static func openImpl(_ path: String, flags: CInt = O_RDONLY) throws -> CInt {
    |                                                               `- error: cannot find 'O_RDONLY' in scope
127 |         let fd = open(path, flags | O_CLOEXEC)
128 |         guard fd != -1 else {
[444/447] Compiling TSFUtility Serializable.swift
[445/447] Compiling TSFUtility FastData.swift
[446/447] Compiling TSFUtility ByteBuffer.swift
[447/447] Compiling TSFUtility FutureFileSystem.swift
/host/spi-builder-workspace/Sources/TSFUtility/FutureFileSystem.swift:37:113: error: cannot find type 'stat' in scope
 35 |     }
 36 |
 37 |     public func readFileContentsWithStat(_ path: AbsolutePath) -> LLBFuture<(contents: ArraySlice<UInt8>, stat: stat)> {
    |                                                                                                                 `- error: cannot find type 'stat' in scope
 38 |         let pathString = path.pathString
 39 |         return batchingQueue.execute {
/host/spi-builder-workspace/Sources/TSFUtility/FutureFileSystem.swift:44:64: error: cannot find type 'stat' in scope
 42 |     }
 43 |
 44 |     public func getFileInfo(_ path: AbsolutePath) -> LLBFuture<stat> {
    |                                                                `- error: cannot find type 'stat' in scope
 45 |         let pathString = path.pathString
 46 |         return batchingQueue.execute {
/host/spi-builder-workspace/Sources/TSFUtility/FutureFileSystem.swift:97:104: error: cannot find type 'stat' in scope
 95 |     /// Return the bytes and sometimes the stat information for the file.
 96 |     /// The stat information is a byproduct and can be used as an optimization.
 97 |     private static func syncReadWithStat(_ path: String) throws -> (contents: ArraySlice<UInt8>, stat: stat) {
    |                                                                                                        `- error: cannot find type 'stat' in scope
 98 |         let fd = try Self.openImpl(path)
 99 |         defer { close(fd) }
/host/spi-builder-workspace/Sources/TSFUtility/FutureFileSystem.swift:126:63: error: cannot find 'O_RDONLY' in scope
124 |     }
125 |
126 |     public static func openImpl(_ path: String, flags: CInt = O_RDONLY) throws -> CInt {
    |                                                               `- error: cannot find 'O_RDONLY' in scope
127 |         let fd = open(path, flags | O_CLOEXEC)
128 |         guard fd != -1 else {
/host/spi-builder-workspace/Sources/TSFUtility/FutureFileSystem.swift:58:17: error: cannot find 'close' in scope
 56 |     public static func syncRead(_ path: String) throws -> [UInt8] {
 57 |         let fd = try Self.openImpl(path)
 58 |         defer { close(fd) }
    |                 `- error: cannot find 'close' in scope
 59 |
 60 |         let expectedFileSize = 8192 // Greater than 78% of stdlib headers.
/host/spi-builder-workspace/Sources/TSFUtility/FutureFileSystem.swift:68:18: error: cannot find 'stat' in scope
 66 |
 67 |         // Fast path failed. Measure file size and try to swallow it whole.
 68 |         var sb = stat()
    |                  `- error: cannot find 'stat' in scope
 69 |         guard fstat(fd, &sb) == 0 else {
 70 |             throw FileSystemError(.ioError(code: 0), try? AbsolutePath(validating: path))
/host/spi-builder-workspace/Sources/TSFUtility/FutureFileSystem.swift:69:15: error: cannot find 'fstat' in scope
 67 |         // Fast path failed. Measure file size and try to swallow it whole.
 68 |         var sb = stat()
 69 |         guard fstat(fd, &sb) == 0 else {
    |               `- error: cannot find 'fstat' in scope
 70 |             throw FileSystemError(.ioError(code: 0), try? AbsolutePath(validating: path))
 71 |         }
/host/spi-builder-workspace/Sources/TSFUtility/FutureFileSystem.swift:99:17: error: cannot find 'close' in scope
 97 |     private static func syncReadWithStat(_ path: String) throws -> (contents: ArraySlice<UInt8>, stat: stat) {
 98 |         let fd = try Self.openImpl(path)
 99 |         defer { close(fd) }
    |                 `- error: cannot find 'close' in scope
100 |
101 |         // Fast path failed. Measure file size and try to swallow it whole.
/host/spi-builder-workspace/Sources/TSFUtility/FutureFileSystem.swift:102:18: error: cannot find 'stat' in scope
100 |
101 |         // Fast path failed. Measure file size and try to swallow it whole.
102 |         var sb = stat()
    |                  `- error: cannot find 'stat' in scope
103 |         guard fstat(fd, &sb) == 0 else {
104 |             throw FileSystemError(.ioError(code: errno), try? AbsolutePath(validating: path))
/host/spi-builder-workspace/Sources/TSFUtility/FutureFileSystem.swift:103:15: error: cannot find 'fstat' in scope
101 |         // Fast path failed. Measure file size and try to swallow it whole.
102 |         var sb = stat()
103 |         guard fstat(fd, &sb) == 0 else {
    |               `- error: cannot find 'fstat' in scope
104 |             throw FileSystemError(.ioError(code: errno), try? AbsolutePath(validating: path))
105 |         }
/host/spi-builder-workspace/Sources/TSFUtility/FutureFileSystem.swift:104:50: error: cannot find 'errno' in scope
102 |         var sb = stat()
103 |         guard fstat(fd, &sb) == 0 else {
104 |             throw FileSystemError(.ioError(code: errno), try? AbsolutePath(validating: path))
    |                                                  `- error: cannot find 'errno' in scope
105 |         }
106 |
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/TSFUtility/FutureFileSystem.swift:127:18: error: cannot find 'open' in scope
125 |
126 |     public static func openImpl(_ path: String, flags: CInt = O_RDONLY) throws -> CInt {
127 |         let fd = open(path, flags | O_CLOEXEC)
    |                  `- error: cannot find 'open' in scope
128 |         guard fd != -1 else {
129 |             // FIXME: Need to fix FileSystemError to not require an AbsolutePath.
/host/spi-builder-workspace/Sources/TSFUtility/FutureFileSystem.swift:127:37: error: cannot find 'O_CLOEXEC' in scope
125 |
126 |     public static func openImpl(_ path: String, flags: CInt = O_RDONLY) throws -> CInt {
127 |         let fd = open(path, flags | O_CLOEXEC)
    |                                     `- error: cannot find 'O_CLOEXEC' in scope
128 |         guard fd != -1 else {
129 |             // FIXME: Need to fix FileSystemError to not require an AbsolutePath.
/host/spi-builder-workspace/Sources/TSFUtility/FutureFileSystem.swift:130:42: error: cannot find 'errno' in scope
128 |         guard fd != -1 else {
129 |             // FIXME: Need to fix FileSystemError to not require an AbsolutePath.
130 |             throw FileSystemError(errno: errno, (try? AbsolutePath(validating: path)) ?? .root)
    |                                          `- error: cannot find 'errno' in scope
131 |         }
132 |         return fd
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/TSFUtility/FutureFileSystem.swift:168:23: error: cannot find 'pread' in scope
166 |             }
167 |
168 |             let ret = pread(fd, ptr.baseAddress! + bufferOffset, ptr.count - bufferOffset, off)
    |                       `- error: cannot find 'pread' in scope
169 |             switch ret {
170 |             case let count where count > 0:
/host/spi-builder-workspace/Sources/TSFUtility/FutureFileSystem.swift:175:23: error: cannot find 'errno' in scope
173 |                 return 0
174 |             case -1:
175 |                 guard errno == EINTR else {
    |                       `- error: cannot find 'errno' in scope
176 |                     throw FileSystemError.init(.ioError(code: errno))
177 |                 }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/TSFUtility/FutureFileSystem.swift:176:63: error: cannot find 'errno' in scope
174 |             case -1:
175 |                 guard errno == EINTR else {
176 |                     throw FileSystemError.init(.ioError(code: errno))
    |                                                               `- error: cannot find 'errno' in scope
177 |                 }
178 |                 continue
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/49] Compiling Atomics AtomicMemoryOrderings.swift
[4/49] Compiling Atomics DoubleWord.swift
[5/49] Compiling TSCLibc libc.swift
[6/49] Emitting module TSCLibc
[7/52] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[8/53] Compiling Atomics AtomicBool.swift
[9/53] Compiling Atomics AtomicReference.swift
[10/81] Compiling SwiftProtobuf JSONDecoder.swift
[11/81] Compiling SwiftProtobuf JSONDecodingError.swift
[13/136] Compiling SwiftProtobuf Google_Protobuf_Duration+Extensions.swift
[14/136] Compiling SwiftProtobuf Google_Protobuf_FieldMask+Extensions.swift
[15/136] Compiling SwiftProtobuf Google_Protobuf_ListValue+Extensions.swift
[16/136] Compiling SwiftProtobuf ExtensibleMessage.swift
[17/136] Compiling SwiftProtobuf ExtensionFieldValueSet.swift
[18/136] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[19/136] Compiling SwiftProtobuf DoubleParser.swift
[20/136] Compiling SwiftProtobuf Enum.swift
[21/136] Compiling NIOConcurrencyHelpers NIOLock.swift
[22/136] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[23/136] Compiling _NIODataStructures Heap.swift
[24/136] Compiling _NIODataStructures _TinyArray.swift
[25/136] Compiling _NIODataStructures PriorityQueue.swift
[26/136] Compiling SwiftProtobuf ExtensionFields.swift
[27/136] Compiling SwiftProtobuf ExtensionMap.swift
[30/136] Compiling SwiftProtobuf Internal.swift
[33/149] Compiling NIOConcurrencyHelpers lock.swift
[34/161] Compiling NIOConcurrencyHelpers atomics.swift
[35/161] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[36/176] Emitting module NIOConcurrencyHelpers
[37/177] Emitting module _NIOBase64
[38/177] Compiling _NIOBase64 Base64.swift
[39/178] Emitting module _NIODataStructures
[42/179] Compiling TSCBasic EditDistance.swift
[43/179] Compiling TSCBasic FileInfo.swift
[45/179] Compiling TSCBasic CodableResult.swift
[46/179] Compiling TSCBasic CollectionAlgorithms.swift
[47/179] Compiling TSCBasic FileSystem.swift
[48/179] Compiling TSCBasic GraphAlgorithms.swift
[49/179] Emitting module InternalCollectionsUtilities
[51/195] Compiling TSCBasic Result.swift
[52/195] Compiling TSCBasic SortedArray.swift
[53/195] Compiling TSCBasic StringConversions.swift
[54/195] Compiling TSCBasic SynchronizedQueue.swift
[55/195] Compiling TSCBasic TemporaryFile.swift
[56/200] Compiling DequeModule Deque+CustomReflectable.swift
[57/200] Compiling DequeModule Deque+Descriptions.swift
[58/200] Compiling DequeModule Deque+Equatable.swift
[59/200] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[60/202] Compiling DequeModule _DequeBuffer.swift
[61/202] Compiling DequeModule _DequeBufferHeader.swift
[62/202] Compiling DequeModule Deque+Extras.swift
[63/202] Compiling DequeModule Deque+Hashable.swift
[64/202] Emitting module TSCBasic
[65/202] Compiling DequeModule Deque+Codable.swift
[66/202] Compiling DequeModule Deque+Collection.swift
[67/202] Compiling DequeModule _DequeSlot.swift
[68/202] Compiling DequeModule _UnsafeWrappedBuffer.swift
[69/202] Compiling SwiftProtobuf Message+JSONAdditions.swift
[70/202] Compiling SwiftProtobuf Message+JSONAdditions_Data.swift
[71/202] Compiling SwiftProtobuf Message+JSONArrayAdditions.swift
[72/202] Compiling SwiftProtobuf Message+JSONArrayAdditions_Data.swift
[73/202] Compiling SwiftProtobuf Message+TextFormatAdditions.swift
[74/202] Compiling SwiftProtobuf Message.swift
[75/202] Compiling SwiftProtobuf MessageExtension.swift
[76/202] Compiling SwiftProtobuf NameMap.swift
[77/202] Compiling SwiftProtobuf PathDecoder.swift
[78/202] Compiling SwiftProtobuf PathVisitor.swift
[79/202] Compiling SwiftProtobuf ProtoNameProviding.swift
[80/202] Compiling SwiftProtobuf ProtobufAPIVersionCheck.swift
[81/213] Compiling DequeModule Deque+Testing.swift
[82/213] Compiling DequeModule Deque._Storage.swift
[83/213] Compiling DequeModule Deque._UnsafeHandle.swift
[84/213] Compiling DequeModule Deque.swift
[85/213] Emitting module SwiftProtobuf
[92/213] Emitting module Atomics
[93/214] Emitting module DequeModule
[101/215] Compiling SwiftProtobuf ProtobufMap.swift
[102/215] Compiling SwiftProtobuf SelectiveVisitor.swift
[103/215] Compiling SwiftProtobuf SimpleExtensionMap.swift
[104/215] Compiling SwiftProtobuf StringUtils.swift
[105/215] Compiling SwiftProtobuf SwiftProtobufContiguousBytes.swift
[106/215] Compiling SwiftProtobuf SwiftProtobufError.swift
[107/215] Compiling SwiftProtobuf TextFormatDecoder.swift
[108/215] Compiling SwiftProtobuf TextFormatDecodingError.swift
[109/215] Compiling SwiftProtobuf TextFormatDecodingOptions.swift
[110/215] Compiling SwiftProtobuf TextFormatEncoder.swift
[111/215] Compiling SwiftProtobuf TextFormatEncodingOptions.swift
[112/215] Compiling TSCBasic PathShims.swift
[113/215] Compiling TSCBasic Process.swift
[114/215] Compiling TSCBasic ProcessEnv.swift
[115/215] Compiling TSCBasic ProcessSet.swift
[116/215] Compiling TSCBasic RegEx.swift
[117/215] Compiling TSCBasic OSLog.swift
[118/215] Compiling TSCBasic ObjectIdentifierProtocol.swift
[119/215] Compiling TSCBasic OrderedDictionary.swift
[120/215] Compiling TSCBasic OrderedSet.swift
[121/215] Compiling TSCBasic Path.swift
[133/215] Compiling TSCBasic CacheableSequence.swift
[134/215] Compiling TSCBasic Closable.swift
[135/215] Compiling TSCBasic HashAlgorithms.swift
[136/215] Compiling TSCBasic JSON.swift
[137/215] Compiling TSCBasic JSONMapper.swift
[138/215] Compiling TSCBasic KeyedPair.swift
[139/215] Compiling TSCBasic LazyCache.swift
[140/215] Compiling TSCBasic Lock.swift
[141/215] Compiling TSCBasic TerminalController.swift
[142/215] Compiling TSCBasic Thread.swift
[143/215] Compiling TSCBasic Tuple.swift
[144/215] Compiling TSCBasic WritableByteStream.swift
[145/215] Compiling TSCBasic misc.swift
[147/311] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[148/311] Compiling NIOCore ByteBuffer-conversions.swift
[149/311] Compiling NIOCore ByteBuffer-core.swift
[150/311] Compiling NIOCore ByteBuffer-hex.swift
[151/311] Compiling NIOCore ByteBuffer-int.swift
[152/311] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[153/311] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[154/311] Compiling NIOCore EventLoopFuture+Deprecated.swift
[155/311] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[156/311] Compiling NIOCore EventLoopFuture.swift
[157/311] Compiling NIOCore FileDescriptor.swift
[158/311] Compiling NIOCore FileHandle.swift
[159/311] Compiling SwiftProtobuf TextFormatEncodingVisitor.swift
[160/311] Compiling SwiftProtobuf TextFormatScanner.swift
[161/311] Compiling SwiftProtobuf TimeUtils.swift
[162/311] Compiling SwiftProtobuf UnknownStorage.swift
[163/311] Compiling SwiftProtobuf UnsafeRawPointer+Shims.swift
[164/311] Compiling SwiftProtobuf Varint.swift
[165/311] Compiling SwiftProtobuf Version.swift
[166/311] Compiling SwiftProtobuf Visitor.swift
[167/311] Compiling SwiftProtobuf WireFormat.swift
[168/311] Compiling SwiftProtobuf ZigZag.swift
[169/311] Compiling SwiftProtobuf any.pb.swift
[170/311] Compiling TSCUtility OSLog.swift
[171/311] Compiling TSCUtility OrderedZip.swift
[172/311] Compiling TSCUtility PkgConfig.swift
[173/311] Compiling TSCUtility Platform.swift
[174/311] Compiling TSCUtility PolymorphicCodable.swift
[175/315] Compiling TSCUtility Tracing.swift
[176/315] Compiling TSCUtility Triple.swift
[177/315] Compiling TSCUtility URL.swift
[178/315] Compiling TSCUtility Verbosity.swift
[179/315] Compiling TSCUtility ProgressAnimation.swift
[180/315] Compiling TSCUtility SerializedDiagnostics.swift
[181/315] Compiling TSCUtility SimplePersistence.swift
[182/315] Compiling TSCUtility StringExtensions.swift
[187/323] Emitting module TSCUtility
[197/323] Compiling TSCUtility StringMangling.swift
[198/323] Compiling TSCUtility Version.swift
[199/323] Compiling TSCUtility Versioning.swift
[200/323] Compiling TSCUtility FSWatch.swift
[201/323] Compiling TSCUtility FloatingPointExtensions.swift
[202/323] Compiling TSCUtility Git.swift
[203/323] Compiling TSCUtility Hex.swift
[204/323] Compiling TSCUtility IndexStore.swift
[205/323] Compiling TSCUtility InterruptHandler.swift
[206/323] Compiling TSCUtility JSONMessageStreamingParser.swift
[207/323] Compiling TSCUtility Netrc.swift
[212/323] Compiling TSCUtility Bitstream.swift
[213/323] Compiling TSCUtility BitstreamReader.swift
[214/323] Compiling TSCUtility BitstreamWriter.swift
[215/323] Compiling TSCUtility BuildFlags.swift
[216/323] Compiling TSCUtility CollectionExtensions.swift
[217/323] Compiling TSCUtility Archiver.swift
[218/323] Compiling TSCUtility ArgumentParser.swift
[219/323] Compiling TSCUtility ArgumentParserShellCompletion.swift
[220/323] Compiling TSCUtility Array+Extensions.swift
[221/323] Compiling TSCUtility Bits.swift
[222/323] Compiling TSCUtility Context.swift
[223/323] Compiling TSCUtility Diagnostics.swift
[236/323] Compiling TSCUtility dlopen.swift
[237/323] Compiling TSCUtility misc.swift
[244/323] Compiling NIOCore FileRegion.swift
[245/323] Compiling NIOCore GlobalSingletons.swift
[260/323] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[261/323] Compiling NIOCore SocketAddresses.swift
[262/323] Compiling NIOCore SocketOptionProvider.swift
[263/323] Compiling NIOCore SystemCallHelpers.swift
[264/323] Compiling NIOCore TimeAmount+Duration.swift
[265/323] Compiling NIOCore TypeAssistedChannelHandler.swift
[266/323] Compiling NIOCore UniversalBootstrapSupport.swift
[267/323] Compiling NIOCore Utilities.swift
[279/324] Compiling SwiftProtobuf api.pb.swift
[280/324] Compiling SwiftProtobuf descriptor.pb.swift
[281/324] Compiling SwiftProtobuf duration.pb.swift
[282/324] Compiling SwiftProtobuf empty.pb.swift
[283/324] Compiling SwiftProtobuf field_mask.pb.swift
[284/324] Compiling SwiftProtobuf source_context.pb.swift
[285/324] Compiling SwiftProtobuf struct.pb.swift
[286/324] Compiling SwiftProtobuf timestamp.pb.swift
[287/324] Compiling SwiftProtobuf type.pb.swift
[288/324] Compiling SwiftProtobuf wrappers.pb.swift
[289/324] Compiling SwiftProtobuf resource_bundle_accessor.swift
[307/325] Compiling NIOCore AddressedEnvelope.swift
[308/325] Compiling NIOCore AsyncAwaitSupport.swift
[309/325] Compiling NIOCore AsyncChannel.swift
[310/325] Compiling NIOCore AsyncChannelHandler.swift
[311/325] Compiling NIOCore AsyncChannelInboundStream.swift
[312/325] Compiling NIOCore AsyncChannelOutboundWriter.swift
[313/325] Compiling NIOCore NIOAsyncSequenceProducer.swift
[314/325] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[315/325] Compiling NIOCore NIOAsyncWriter.swift
[325/325] Emitting module NIOCore
[327/376] Emitting module NIOEmbedded
[328/376] Compiling NIOPosix Pool.swift
[329/376] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[330/376] Compiling NIOPosix PosixSingletons.swift
[331/376] Compiling NIOPosix RawSocketBootstrap.swift
[332/376] Compiling NIOPosix Resolver.swift
[333/376] Compiling NIOPosix Selectable.swift
[334/382] Compiling NIOEmbedded AsyncTestingChannel.swift
[335/382] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[336/382] Compiling NIOEmbedded Embedded.swift
[338/383] Compiling NIOPosix ThreadPosix.swift
[339/383] Compiling NIOPosix ThreadWindows.swift
[340/383] Compiling NIOPosix UnsafeTransfer.swift
[341/383] Compiling NIOPosix Utilities.swift
[342/383] Compiling NIOPosix VsockAddress.swift
[343/383] Compiling NIOPosix VsockChannelEvents.swift
[344/383] Compiling NIOPosix Bootstrap.swift
[345/383] Compiling NIOPosix ControlMessage.swift
[346/383] Compiling NIOPosix DatagramVectorReadManager.swift
[347/383] Compiling NIOPosix Errors+Any.swift
[348/383] Compiling NIOPosix FileDescriptor.swift
[349/383] Compiling NIOPosix GetaddrinfoResolver.swift
[350/383] Compiling NIOPosix HappyEyeballs.swift
[351/383] Compiling NIOPosix BSDSocketAPICommon.swift
[352/383] Compiling NIOPosix BSDSocketAPIPosix.swift
[353/383] Compiling NIOPosix BSDSocketAPIWindows.swift
[354/383] Compiling NIOPosix BaseSocket.swift
[355/383] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[356/383] Compiling NIOPosix BaseSocketChannel.swift
[357/383] Compiling NIOPosix BaseStreamSocketChannel.swift
[358/383] Compiling NIOPosix SelectableChannel.swift
[359/383] Compiling NIOPosix SelectableEventLoop.swift
[360/383] Compiling NIOPosix SelectorEpoll.swift
[361/383] Compiling NIOPosix SelectorGeneric.swift
[362/383] Compiling NIOPosix SelectorKqueue.swift
[363/383] Compiling NIOPosix SelectorUring.swift
[364/383] Compiling NIOPosix ServerSocket.swift
[365/383] Compiling NIOPosix Socket.swift
[366/383] Compiling NIOPosix SocketChannel.swift
[367/383] Compiling NIOPosix SocketProtocols.swift
[368/383] Compiling NIOPosix System.swift
[369/383] Compiling NIOPosix Thread.swift
[370/383] Emitting module NIOPosix
[371/383] Compiling NIOPosix IO.swift
[372/383] Compiling NIOPosix IntegerBitPacking.swift
[373/383] Compiling NIOPosix IntegerTypes.swift
[374/383] Compiling NIOPosix Linux.swift
[375/383] Compiling NIOPosix LinuxCPUSet.swift
[376/383] Compiling NIOPosix LinuxUring.swift
[377/383] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[378/383] Compiling NIOPosix NIOThreadPool.swift
[379/383] Compiling NIOPosix NonBlockingFileIO.swift
[380/383] Compiling NIOPosix PendingDatagramWritesManager.swift
[381/383] Compiling NIOPosix PendingWritesManager.swift
[382/383] Compiling NIOPosix PipeChannel.swift
[383/383] Compiling NIOPosix PipePair.swift
[385/386] Emitting module NIO
[386/386] Compiling NIO Exports.swift
[388/392] Compiling NIOFoundationCompat JSONSerialization+ByteBuffer.swift
[389/392] Compiling NIOFoundationCompat Codable+ByteBuffer.swift
[390/392] Compiling NIOFoundationCompat WaitSpinningRunLoop.swift
[391/392] Emitting module NIOFoundationCompat
[392/392] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[394/403] Compiling TSFFutures Futures.swift
[395/403] Compiling TSFFutures OperationQueue+Extensions.swift
[396/404] Compiling TSFFutures BatchingFutureOperationQueue.swift
[397/404] Compiling TSFFutures CancellableFuture.swift
[398/404] Compiling TSFFutures FutureDeduplicator.swift
[399/404] Compiling TSFFutures CancellablePromise.swift
[400/404] Compiling TSFFutures Canceller.swift
[401/404] Compiling TSFFutures FutureOperationQueue.swift
[402/404] Compiling TSFFutures EventualResultsCache.swift
[403/404] Emitting module TSFFutures
[404/404] Compiling TSFFutures OrderManager.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[406/410] Emitting module TSFUtility
/host/spi-builder-workspace/Sources/TSFUtility/FutureFileSystem.swift:37:113: error: cannot find type 'stat' in scope
 35 |     }
 36 |
 37 |     public func readFileContentsWithStat(_ path: AbsolutePath) -> LLBFuture<(contents: ArraySlice<UInt8>, stat: stat)> {
    |                                                                                                                 `- error: cannot find type 'stat' in scope
 38 |         let pathString = path.pathString
 39 |         return batchingQueue.execute {
/host/spi-builder-workspace/Sources/TSFUtility/FutureFileSystem.swift:44:64: error: cannot find type 'stat' in scope
 42 |     }
 43 |
 44 |     public func getFileInfo(_ path: AbsolutePath) -> LLBFuture<stat> {
    |                                                                `- error: cannot find type 'stat' in scope
 45 |         let pathString = path.pathString
 46 |         return batchingQueue.execute {
/host/spi-builder-workspace/Sources/TSFUtility/FutureFileSystem.swift:97:104: error: cannot find type 'stat' in scope
 95 |     /// Return the bytes and sometimes the stat information for the file.
 96 |     /// The stat information is a byproduct and can be used as an optimization.
 97 |     private static func syncReadWithStat(_ path: String) throws -> (contents: ArraySlice<UInt8>, stat: stat) {
    |                                                                                                        `- error: cannot find type 'stat' in scope
 98 |         let fd = try Self.openImpl(path)
 99 |         defer { close(fd) }
/host/spi-builder-workspace/Sources/TSFUtility/FutureFileSystem.swift:126:63: error: cannot find 'O_RDONLY' in scope
124 |     }
125 |
126 |     public static func openImpl(_ path: String, flags: CInt = O_RDONLY) throws -> CInt {
    |                                                               `- error: cannot find 'O_RDONLY' in scope
127 |         let fd = open(path, flags | O_CLOEXEC)
128 |         guard fd != -1 else {
[407/410] Compiling TSFUtility Serializable.swift
[408/410] Compiling TSFUtility ByteBuffer.swift
[409/410] Compiling TSFUtility FastData.swift
[410/410] Compiling TSFUtility FutureFileSystem.swift
/host/spi-builder-workspace/Sources/TSFUtility/FutureFileSystem.swift:37:113: error: cannot find type 'stat' in scope
 35 |     }
 36 |
 37 |     public func readFileContentsWithStat(_ path: AbsolutePath) -> LLBFuture<(contents: ArraySlice<UInt8>, stat: stat)> {
    |                                                                                                                 `- error: cannot find type 'stat' in scope
 38 |         let pathString = path.pathString
 39 |         return batchingQueue.execute {
/host/spi-builder-workspace/Sources/TSFUtility/FutureFileSystem.swift:44:64: error: cannot find type 'stat' in scope
 42 |     }
 43 |
 44 |     public func getFileInfo(_ path: AbsolutePath) -> LLBFuture<stat> {
    |                                                                `- error: cannot find type 'stat' in scope
 45 |         let pathString = path.pathString
 46 |         return batchingQueue.execute {
/host/spi-builder-workspace/Sources/TSFUtility/FutureFileSystem.swift:97:104: error: cannot find type 'stat' in scope
 95 |     /// Return the bytes and sometimes the stat information for the file.
 96 |     /// The stat information is a byproduct and can be used as an optimization.
 97 |     private static func syncReadWithStat(_ path: String) throws -> (contents: ArraySlice<UInt8>, stat: stat) {
    |                                                                                                        `- error: cannot find type 'stat' in scope
 98 |         let fd = try Self.openImpl(path)
 99 |         defer { close(fd) }
/host/spi-builder-workspace/Sources/TSFUtility/FutureFileSystem.swift:126:63: error: cannot find 'O_RDONLY' in scope
124 |     }
125 |
126 |     public static func openImpl(_ path: String, flags: CInt = O_RDONLY) throws -> CInt {
    |                                                               `- error: cannot find 'O_RDONLY' in scope
127 |         let fd = open(path, flags | O_CLOEXEC)
128 |         guard fd != -1 else {
/host/spi-builder-workspace/Sources/TSFUtility/FutureFileSystem.swift:58:17: error: cannot find 'close' in scope
 56 |     public static func syncRead(_ path: String) throws -> [UInt8] {
 57 |         let fd = try Self.openImpl(path)
 58 |         defer { close(fd) }
    |                 `- error: cannot find 'close' in scope
 59 |
 60 |         let expectedFileSize = 8192 // Greater than 78% of stdlib headers.
/host/spi-builder-workspace/Sources/TSFUtility/FutureFileSystem.swift:68:18: error: cannot find 'stat' in scope
 66 |
 67 |         // Fast path failed. Measure file size and try to swallow it whole.
 68 |         var sb = stat()
    |                  `- error: cannot find 'stat' in scope
 69 |         guard fstat(fd, &sb) == 0 else {
 70 |             throw FileSystemError(.ioError(code: 0), try? AbsolutePath(validating: path))
/host/spi-builder-workspace/Sources/TSFUtility/FutureFileSystem.swift:69:15: error: cannot find 'fstat' in scope
 67 |         // Fast path failed. Measure file size and try to swallow it whole.
 68 |         var sb = stat()
 69 |         guard fstat(fd, &sb) == 0 else {
    |               `- error: cannot find 'fstat' in scope
 70 |             throw FileSystemError(.ioError(code: 0), try? AbsolutePath(validating: path))
 71 |         }
/host/spi-builder-workspace/Sources/TSFUtility/FutureFileSystem.swift:99:17: error: cannot find 'close' in scope
 97 |     private static func syncReadWithStat(_ path: String) throws -> (contents: ArraySlice<UInt8>, stat: stat) {
 98 |         let fd = try Self.openImpl(path)
 99 |         defer { close(fd) }
    |                 `- error: cannot find 'close' in scope
100 |
101 |         // Fast path failed. Measure file size and try to swallow it whole.
/host/spi-builder-workspace/Sources/TSFUtility/FutureFileSystem.swift:102:18: error: cannot find 'stat' in scope
100 |
101 |         // Fast path failed. Measure file size and try to swallow it whole.
102 |         var sb = stat()
    |                  `- error: cannot find 'stat' in scope
103 |         guard fstat(fd, &sb) == 0 else {
104 |             throw FileSystemError(.ioError(code: errno), try? AbsolutePath(validating: path))
/host/spi-builder-workspace/Sources/TSFUtility/FutureFileSystem.swift:103:15: error: cannot find 'fstat' in scope
101 |         // Fast path failed. Measure file size and try to swallow it whole.
102 |         var sb = stat()
103 |         guard fstat(fd, &sb) == 0 else {
    |               `- error: cannot find 'fstat' in scope
104 |             throw FileSystemError(.ioError(code: errno), try? AbsolutePath(validating: path))
105 |         }
/host/spi-builder-workspace/Sources/TSFUtility/FutureFileSystem.swift:104:50: error: cannot find 'errno' in scope
102 |         var sb = stat()
103 |         guard fstat(fd, &sb) == 0 else {
104 |             throw FileSystemError(.ioError(code: errno), try? AbsolutePath(validating: path))
    |                                                  `- error: cannot find 'errno' in scope
105 |         }
106 |
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/TSFUtility/FutureFileSystem.swift:127:18: error: cannot find 'open' in scope
125 |
126 |     public static func openImpl(_ path: String, flags: CInt = O_RDONLY) throws -> CInt {
127 |         let fd = open(path, flags | O_CLOEXEC)
    |                  `- error: cannot find 'open' in scope
128 |         guard fd != -1 else {
129 |             // FIXME: Need to fix FileSystemError to not require an AbsolutePath.
/host/spi-builder-workspace/Sources/TSFUtility/FutureFileSystem.swift:127:37: error: cannot find 'O_CLOEXEC' in scope
125 |
126 |     public static func openImpl(_ path: String, flags: CInt = O_RDONLY) throws -> CInt {
127 |         let fd = open(path, flags | O_CLOEXEC)
    |                                     `- error: cannot find 'O_CLOEXEC' in scope
128 |         guard fd != -1 else {
129 |             // FIXME: Need to fix FileSystemError to not require an AbsolutePath.
/host/spi-builder-workspace/Sources/TSFUtility/FutureFileSystem.swift:130:42: error: cannot find 'errno' in scope
128 |         guard fd != -1 else {
129 |             // FIXME: Need to fix FileSystemError to not require an AbsolutePath.
130 |             throw FileSystemError(errno: errno, (try? AbsolutePath(validating: path)) ?? .root)
    |                                          `- error: cannot find 'errno' in scope
131 |         }
132 |         return fd
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/TSFUtility/FutureFileSystem.swift:168:23: error: cannot find 'pread' in scope
166 |             }
167 |
168 |             let ret = pread(fd, ptr.baseAddress! + bufferOffset, ptr.count - bufferOffset, off)
    |                       `- error: cannot find 'pread' in scope
169 |             switch ret {
170 |             case let count where count > 0:
/host/spi-builder-workspace/Sources/TSFUtility/FutureFileSystem.swift:175:23: error: cannot find 'errno' in scope
173 |                 return 0
174 |             case -1:
175 |                 guard errno == EINTR else {
    |                       `- error: cannot find 'errno' in scope
176 |                     throw FileSystemError.init(.ioError(code: errno))
177 |                 }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/TSFUtility/FutureFileSystem.swift:176:63: error: cannot find 'errno' in scope
174 |             case -1:
175 |                 guard errno == EINTR else {
176 |                     throw FileSystemError.init(.ioError(code: errno))
    |                                                               `- error: cannot find 'errno' in scope
177 |                 }
178 |                 continue
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
BUILD FAILURE 6.1 android