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 main (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-3":/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: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/apple/swift-tools-support-async
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
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-3":/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-nio.git
Fetching https://github.com/apple/swift-tools-support-core.git
[1/6764] Fetching swift-tools-support-core
[6765/82872] Fetching swift-tools-support-core, swift-nio
[12854/122183] Fetching swift-tools-support-core, swift-nio, swift-protobuf
Fetched https://github.com/apple/swift-nio.git from cache (8.51s)
Fetched https://github.com/apple/swift-tools-support-core.git from cache (9.42s)
Fetched https://github.com/apple/swift-protobuf.git from cache (9.52s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.30.0 (10.43s)
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 (2.29s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.97s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
[1/1710] Fetching swift-atomics
[532/6101] Fetching swift-atomics, swift-system
Fetching https://github.com/apple/swift-collections.git
Fetched https://github.com/apple/swift-atomics.git from cache (0.79s)
Fetched https://github.com/apple/swift-system.git from cache (0.79s)
[1/16591] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.41s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (2.90s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.59s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.77s)
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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.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-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-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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.0
[1/1] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[1/39] Write sources
[11/39] Copying PrivacyInfo.xcprivacy
[13/39] Write sources
[21/39] Compiling _AtomicsShims.c
[22/39] Compiling TSCclibc libc.c
[23/39] Compiling CNIOWindows shim.c
[24/39] Compiling TSCclibc strerror.c
[25/39] Compiling CNIOWASI CNIOWASI.c
[26/39] Compiling CNIOLinux liburing_shims.c
[27/39] Compiling TSCclibc process.c
[28/39] Compiling CNIOWindows WSAStartup.c
[29/39] Compiling CNIODarwin shim.c
[30/39] Compiling CBLAKE3 blake3_sse41.c
[30/39] Write sources
[32/39] Compiling CBLAKE3 blake3_avx2.c
[33/39] Compiling CNIOLinux shim.c
[34/39] Compiling CBLAKE3 blake3_avx512.c
[35/39] Write swift-version-24593BA9C3E375BF.txt
[36/144] Compiling CBLAKE3 blake3.c
[38/144] Emitting module _NIOBase64
[39/163] Emitting module InternalCollectionsUtilities
[40/164] Compiling _NIODataStructures _TinyArray.swift
[41/164] Compiling Atomics AtomicBool.swift
[42/164] Compiling Atomics IntegerConformances.swift
[43/164] Compiling Atomics AtomicOptionalWrappable.swift
[44/164] Compiling Atomics AtomicReference.swift
[45/164] Compiling _NIODataStructures PriorityQueue.swift
[46/164] Compiling Atomics Primitives.shims.swift
[47/164] Compiling Atomics AtomicInteger.swift
[48/164] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[50/164] Compiling Atomics AtomicStorage.swift
[51/164] Compiling Atomics AtomicValue.swift
[52/166] Compiling Atomics UnsafeAtomic.swift
[53/166] Compiling Atomics UnsafeAtomicLazyReference.swift
[54/166] Emitting module _NIODataStructures
[55/166] Compiling _NIODataStructures Heap.swift
[56/167] Compiling _NIOBase64 Base64.swift
[59/168] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[60/168] Compiling Atomics AtomicMemoryOrderings.swift
[61/168] Compiling Atomics DoubleWord.swift
[62/168] Compiling Atomics ManagedAtomic.swift
[63/168] Compiling Atomics ManagedAtomicLazyReference.swift
[65/168] Compiling Atomics PointerConformances.swift
[66/168] Compiling Atomics Primitives.native.swift
[67/168] Compiling Atomics OptionalRawRepresentable.swift
[68/168] Compiling Atomics RawRepresentable.swift
[75/168] Emitting module Atomics
[77/169] Compiling c-nioatomics.c
[82/169] Compiling Atomics IntegerOperations.swift
[83/169] Compiling Atomics Unmanaged extensions.swift
[85/185] Compiling DequeModule _DequeBuffer.swift
[86/185] Compiling DequeModule _DequeBufferHeader.swift
[86/187] Compiling c-atomics.c
[88/187] Compiling DequeModule _DequeSlot.swift
[89/187] Compiling DequeModule _UnsafeWrappedBuffer.swift
[90/187] Compiling DequeModule Deque+Testing.swift
[91/187] Compiling DequeModule Deque._Storage.swift
[92/187] Compiling DequeModule Deque._UnsafeHandle.swift
[93/187] Compiling DequeModule Deque.swift
[94/187] Compiling DequeModule Deque+Extras.swift
[95/187] Compiling DequeModule Deque+Hashable.swift
[96/187] Compiling DequeModule Deque+CustomReflectable.swift
[97/187] Compiling DequeModule Deque+Descriptions.swift
[98/187] Compiling DequeModule Deque+Equatable.swift
[99/187] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[100/193] Emitting module DequeModule
[101/193] Compiling DequeModule Deque+Codable.swift
[102/193] Compiling DequeModule Deque+Collection.swift
[104/194] Compiling NIOConcurrencyHelpers lock.swift
[105/194] Emitting module NIOConcurrencyHelpers
[106/194] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[107/194] Emitting module TSCLibc
[108/194] Compiling TSCLibc libc.swift
[109/195] Compiling NIOConcurrencyHelpers NIOLock.swift
[110/195] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[111/195] Compiling NIOConcurrencyHelpers atomics.swift
[114/296] Compiling NIOCore EventLoopFuture+Deprecated.swift
[115/296] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[116/296] Compiling NIOCore EventLoopFuture.swift
[117/296] Compiling NIOCore FileDescriptor.swift
[118/296] Compiling NIOCore FileHandle.swift
[119/296] Compiling NIOCore FileRegion.swift
[120/296] Compiling NIOCore GlobalSingletons.swift
[121/296] Compiling NIOCore MulticastChannel.swift
[122/296] Compiling NIOCore NIOAny.swift
[123/296] Compiling NIOCore NIOCloseOnErrorHandler.swift
[124/296] Compiling NIOCore NIOLoopBound.swift
[125/296] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[126/307] Emitting module SwiftProtobuf
[127/307] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[128/307] Compiling NIOCore BSDSocketAPI.swift
[129/307] Compiling NIOCore ByteBuffer-aux.swift
[130/307] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[131/307] Compiling NIOCore ByteBuffer-conversions.swift
[132/307] Compiling NIOCore ByteBuffer-core.swift
[133/307] Compiling NIOCore ByteBuffer-hex.swift
[134/307] Compiling NIOCore ByteBuffer-int.swift
[135/307] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[136/307] Compiling NIOCore AddressedEnvelope.swift
[137/307] Compiling NIOCore AsyncAwaitSupport.swift
[138/307] Compiling NIOCore AsyncChannel.swift
[139/307] Compiling NIOCore NIOScheduledCallback.swift
[140/307] Compiling NIOCore NIOSendable.swift
[141/307] Compiling NIOCore RecvByteBufferAllocator.swift
[142/307] Compiling NIOCore IO.swift
[143/307] Compiling NIOCore IOData.swift
[144/307] Compiling NIOCore IPProtocol.swift
[145/307] Compiling NIOCore IntegerBitPacking.swift
[146/307] Compiling NIOCore IntegerTypes.swift
[147/307] Compiling NIOCore Interfaces.swift
[148/307] Compiling NIOCore Linux.swift
[149/307] Compiling NIOCore MarkedCircularBuffer.swift
[150/307] Compiling SwiftProtobuf Message+FieldMask.swift
[151/307] Compiling NIOCore ChannelInvoker.swift
[152/307] Compiling NIOCore ChannelOption.swift
[153/307] Compiling NIOCore ChannelPipeline.swift
[154/307] Compiling NIOCore CircularBuffer.swift
[155/307] Compiling NIOCore Codec.swift
[156/307] Compiling NIOCore ConvenienceOptionSupport.swift
[157/307] Compiling NIOCore DeadChannel.swift
[158/307] Compiling NIOCore DispatchQueue+WithFuture.swift
[159/307] Compiling NIOCore EventLoop+Deprecated.swift
[160/307] Compiling NIOCore EventLoop+SerialExecutor.swift
[161/307] Compiling NIOCore EventLoop.swift
[162/307] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[181/320] Compiling NIOCore ByteBuffer-multi-int.swift
[182/320] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[183/320] Compiling NIOCore ByteBuffer-views.swift
[184/320] Compiling NIOCore Channel.swift
[185/320] Compiling NIOCore ChannelHandler.swift
[186/320] Compiling NIOCore ChannelHandlers.swift
[187/320] Compiling SwiftProtobuf TextFormatEncodingVisitor.swift
[188/320] Compiling SwiftProtobuf TextFormatScanner.swift
[189/320] Compiling SwiftProtobuf TimeUtils.swift
[190/320] Compiling SwiftProtobuf UnknownStorage.swift
[191/320] Compiling SwiftProtobuf UnsafeRawPointer+Shims.swift
[192/320] Compiling SwiftProtobuf Varint.swift
[193/320] Compiling SwiftProtobuf Version.swift
[194/320] Compiling SwiftProtobuf Visitor.swift
[195/320] Compiling SwiftProtobuf WireFormat.swift
[196/320] Compiling SwiftProtobuf ZigZag.swift
[197/320] Compiling SwiftProtobuf any.pb.swift
[198/320] Compiling NIOCore SocketAddresses.swift
[199/320] Compiling NIOCore SocketOptionProvider.swift
[200/320] Compiling NIOCore SystemCallHelpers.swift
[201/320] Compiling NIOCore TimeAmount+Duration.swift
[202/320] Compiling NIOCore TypeAssistedChannelHandler.swift
[203/320] Compiling NIOCore UniversalBootstrapSupport.swift
[204/320] Compiling NIOCore Utilities.swift
[205/320] Compiling SwiftProtobuf TextFormatDecodingError.swift
[206/320] Compiling SwiftProtobuf TextFormatDecodingOptions.swift
[207/320] Compiling SwiftProtobuf TextFormatEncoder.swift
[208/320] Compiling SwiftProtobuf TextFormatEncodingOptions.swift
[221/320] Compiling TSCBasic TerminalController.swift
[222/320] Compiling TSCBasic Thread.swift
[223/320] Compiling TSCBasic Tuple.swift
[224/320] Compiling TSCBasic WritableByteStream.swift
[236/320] Emitting module TSCBasic
[237/320] Compiling NIOCore AsyncChannelHandler.swift
[238/320] Compiling NIOCore AsyncChannelInboundStream.swift
[239/320] Compiling NIOCore AsyncChannelOutboundWriter.swift
[240/320] Compiling NIOCore NIOAsyncSequenceProducer.swift
[241/320] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[242/320] Compiling NIOCore NIOAsyncWriter.swift
[265/320] Compiling TSCBasic misc.swift
[275/347] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[283/356] Compiling TSCUtility Bitstream.swift
[284/356] Compiling TSCUtility BitstreamReader.swift
[285/356] Compiling TSCUtility BitstreamWriter.swift
[286/356] Compiling TSCUtility BuildFlags.swift
[287/356] Compiling TSCUtility CollectionExtensions.swift
[288/356] Compiling TSCUtility Context.swift
[289/356] Compiling TSCUtility Diagnostics.swift
[290/356] Compiling TSCUtility FSWatch.swift
[291/356] Compiling TSCUtility FloatingPointExtensions.swift
[292/356] Compiling TSCUtility Tracing.swift
[293/356] Compiling TSCUtility Triple.swift
[294/356] Compiling TSCUtility URL.swift
[295/356] Compiling TSCUtility Verbosity.swift
[296/360] Compiling TSCUtility Hex.swift
[297/360] Compiling TSCUtility IndexStore.swift
[298/360] Compiling TSCUtility InterruptHandler.swift
[299/360] Compiling TSCUtility JSONMessageStreamingParser.swift
[300/360] Compiling TSCUtility Netrc.swift
[301/360] Compiling TSCUtility Version.swift
[302/360] Compiling TSCUtility Versioning.swift
[303/360] Compiling TSCUtility dlopen.swift
[304/360] Compiling TSCUtility misc.swift
[309/360] Compiling TSCUtility Git.swift
[310/360] Compiling TSCUtility Archiver.swift
[311/360] Compiling TSCUtility ArgumentParser.swift
[312/360] Compiling TSCUtility ArgumentParserShellCompletion.swift
[313/360] Compiling TSCUtility Array+Extensions.swift
[314/360] Compiling TSCUtility Bits.swift
[315/360] Emitting module TSCUtility
[321/360] Compiling TSCUtility OSLog.swift
[322/360] Compiling TSCUtility OrderedZip.swift
[323/360] Compiling TSCUtility PkgConfig.swift
[324/360] Compiling TSCUtility Platform.swift
[325/360] Compiling TSCUtility PolymorphicCodable.swift
[326/360] Compiling TSCUtility ProgressAnimation.swift
[327/360] Compiling TSCUtility SerializedDiagnostics.swift
[328/360] Compiling TSCUtility SimplePersistence.swift
[329/360] Compiling TSCUtility StringExtensions.swift
[330/360] Compiling TSCUtility StringMangling.swift
[332/361] Emitting module NIOCore
[352/412] Emitting module NIOEmbedded
[353/412] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[354/412] Compiling NIOEmbedded AsyncTestingChannel.swift
[355/412] Compiling NIOEmbedded Embedded.swift
[357/413] Compiling NIOPosix IO.swift
[358/413] Compiling NIOPosix IntegerBitPacking.swift
[359/413] Compiling NIOPosix IntegerTypes.swift
[360/413] Compiling NIOPosix Linux.swift
[361/413] Compiling NIOPosix LinuxCPUSet.swift
[362/413] Compiling NIOPosix LinuxUring.swift
[363/413] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[364/413] Compiling NIOPosix Pool.swift
[365/413] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[366/413] Compiling NIOPosix PosixSingletons.swift
[367/413] Compiling NIOPosix RawSocketBootstrap.swift
[368/413] Compiling NIOPosix Resolver.swift
[369/413] Compiling NIOPosix Selectable.swift
[370/413] Compiling NIOPosix NIOThreadPool.swift
[371/413] Compiling NIOPosix NonBlockingFileIO.swift
[372/413] Compiling NIOPosix PendingDatagramWritesManager.swift
[373/413] Compiling NIOPosix PendingWritesManager.swift
[374/413] Compiling NIOPosix PipeChannel.swift
[375/413] Compiling NIOPosix PipePair.swift
[376/419] Compiling NIOPosix BSDSocketAPICommon.swift
[377/419] Compiling NIOPosix BSDSocketAPIPosix.swift
[378/419] Compiling NIOPosix BSDSocketAPIWindows.swift
[379/419] Compiling NIOPosix BaseSocket.swift
[380/419] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[381/419] Compiling NIOPosix BaseSocketChannel.swift
[382/419] Compiling NIOPosix BaseStreamSocketChannel.swift
[383/419] Emitting module NIOPosix
[384/419] Compiling NIOPosix ServerSocket.swift
[385/419] Compiling NIOPosix Socket.swift
[386/419] Compiling NIOPosix SocketChannel.swift
[387/419] Compiling NIOPosix SocketProtocols.swift
[388/419] Compiling NIOPosix System.swift
[389/419] Compiling NIOPosix Thread.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 SwiftProtobuf api.pb.swift
[397/419] Compiling SwiftProtobuf descriptor.pb.swift
[398/419] Compiling SwiftProtobuf duration.pb.swift
[399/419] Compiling SwiftProtobuf empty.pb.swift
[400/419] Compiling SwiftProtobuf field_mask.pb.swift
[401/419] Compiling SwiftProtobuf source_context.pb.swift
[402/419] Compiling SwiftProtobuf struct.pb.swift
[403/419] Compiling SwiftProtobuf timestamp.pb.swift
[404/419] Compiling SwiftProtobuf type.pb.swift
[405/419] Compiling SwiftProtobuf wrappers.pb.swift
[406/419] Compiling SwiftProtobuf resource_bundle_accessor.swift
[408/420] Compiling NIOPosix ThreadPosix.swift
[409/420] Compiling NIOPosix ThreadWindows.swift
[410/420] Compiling NIOPosix UnsafeTransfer.swift
[411/420] Compiling NIOPosix Utilities.swift
[412/420] Compiling NIOPosix VsockAddress.swift
[413/420] Compiling NIOPosix VsockChannelEvents.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 Codable+ByteBuffer.swift
[426/429] Compiling NIOFoundationCompat JSONSerialization+ByteBuffer.swift
[427/429] Compiling NIOFoundationCompat WaitSpinningRunLoop.swift
[428/429] Emitting module NIOFoundationCompat
[429/429] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[431/440] Compiling TSFFutures OperationQueue+Extensions.swift
[432/441] 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/441] Compiling TSFFutures EventualResultsCache.swift
[434/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 | }
[435/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 | }
[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 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 |         }
[439/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 |                     }
[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)
[443/447] Compiling TSFUtility Serializable.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[444/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 {
[445/447] Compiling TSFUtility ByteBuffer.swift
[446/447] Compiling TSFUtility FastData.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-3":/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 TSCLibc libc.swift
[4/49] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[5/50] Compiling Atomics ManagedAtomic.swift
[6/50] Compiling Atomics ManagedAtomicLazyReference.swift
[7/50] Compiling Atomics UnsafeAtomic.swift
[8/50] Compiling Atomics UnsafeAtomicLazyReference.swift
[9/52] Emitting module TSCLibc
[10/107] Compiling SwiftProtobuf BinaryDecodingError.swift
[11/107] Compiling SwiftProtobuf BinaryDecodingOptions.swift
[13/136] Compiling SwiftProtobuf Google_Protobuf_Any+Extensions.swift
[14/136] Compiling SwiftProtobuf Google_Protobuf_Any+Registry.swift
[15/136] Compiling SwiftProtobuf FieldTag.swift
[16/136] Compiling SwiftProtobuf FieldTypes.swift
[17/136] Compiling SwiftProtobuf CustomJSONCodable.swift
[18/136] Compiling SwiftProtobuf Decoder.swift
[19/136] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[20/136] Compiling SwiftProtobuf BinaryDelimited.swift
[21/136] Compiling SwiftProtobuf BinaryEncoder.swift
[22/136] Compiling _NIODataStructures PriorityQueue.swift
[23/136] Compiling _NIODataStructures Heap.swift
[24/136] Emitting module _NIODataStructures
[25/136] Compiling _NIODataStructures _TinyArray.swift
[26/136] Compiling SwiftProtobuf ExtensionFieldValueSet.swift
[27/136] Compiling SwiftProtobuf ExtensionFields.swift
[28/136] Compiling SwiftProtobuf ExtensionMap.swift
[29/136] Compiling SwiftProtobuf AnyUnpackError.swift
[30/136] Compiling SwiftProtobuf AsyncMessageSequence.swift
[31/136] Compiling SwiftProtobuf BinaryDecoder.swift
[32/137] Compiling SwiftProtobuf DoubleParser.swift
[33/137] Compiling SwiftProtobuf Enum.swift
[35/177] Compiling _NIOBase64 Base64.swift
[36/177] Emitting module _NIOBase64
[37/178] Compiling NIOConcurrencyHelpers lock.swift
[38/178] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[39/178] Compiling NIOConcurrencyHelpers NIOLock.swift
[40/178] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[41/178] Emitting module NIOConcurrencyHelpers
[42/178] Compiling NIOConcurrencyHelpers atomics.swift
[45/179] Compiling TSCBasic CacheableSequence.swift
[46/179] Compiling TSCBasic Closable.swift
[47/179] Compiling TSCBasic CodableResult.swift
[48/179] Compiling TSCBasic CollectionAlgorithms.swift
[49/179] Emitting module TSCBasic
[50/184] Emitting module InternalCollectionsUtilities
[52/200] Compiling DequeModule Deque+CustomReflectable.swift
[53/200] Compiling DequeModule Deque+Descriptions.swift
[54/202] Compiling DequeModule _DequeBuffer.swift
[55/202] Compiling DequeModule _DequeBufferHeader.swift
[56/202] Compiling DequeModule _DequeSlot.swift
[57/202] Compiling DequeModule _UnsafeWrappedBuffer.swift
[58/202] Compiling DequeModule Deque+Extras.swift
[59/202] Compiling DequeModule Deque+Hashable.swift
[60/202] Compiling DequeModule Deque+Equatable.swift
[61/202] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[62/202] Compiling DequeModule Deque+Testing.swift
[63/202] Compiling DequeModule Deque._Storage.swift
[64/202] Compiling TSCBasic Result.swift
[65/202] Compiling TSCBasic SortedArray.swift
[66/202] Compiling TSCBasic StringConversions.swift
[67/202] Compiling TSCBasic SynchronizedQueue.swift
[68/202] Compiling TSCBasic TemporaryFile.swift
[69/202] Emitting module Atomics
[70/202] Compiling DequeModule Deque._UnsafeHandle.swift
[71/202] Compiling DequeModule Deque.swift
[72/202] Compiling SwiftProtobuf Message+JSONAdditions.swift
[73/202] Compiling SwiftProtobuf Message+JSONAdditions_Data.swift
[74/202] Compiling SwiftProtobuf Message+JSONArrayAdditions.swift
[75/202] Compiling SwiftProtobuf Message+JSONArrayAdditions_Data.swift
[76/202] Compiling SwiftProtobuf Message+TextFormatAdditions.swift
[77/202] Compiling SwiftProtobuf Message.swift
[78/202] Compiling SwiftProtobuf MessageExtension.swift
[79/202] Compiling SwiftProtobuf NameMap.swift
[80/202] Compiling SwiftProtobuf PathDecoder.swift
[81/202] Compiling SwiftProtobuf PathVisitor.swift
[82/202] Compiling SwiftProtobuf ProtoNameProviding.swift
[83/202] Compiling SwiftProtobuf ProtobufAPIVersionCheck.swift
[84/213] Compiling DequeModule Deque+Codable.swift
[85/213] Compiling DequeModule Deque+Collection.swift
[86/213] Compiling TSCBasic TerminalController.swift
[87/213] Compiling TSCBasic Thread.swift
[88/213] Compiling TSCBasic Tuple.swift
[89/213] Compiling TSCBasic WritableByteStream.swift
[90/213] Compiling TSCBasic misc.swift
[91/213] Emitting module DequeModule
[98/214] Compiling TSCBasic OSLog.swift
[99/214] Compiling TSCBasic ObjectIdentifierProtocol.swift
[100/214] Compiling TSCBasic OrderedDictionary.swift
[101/214] Compiling TSCBasic OrderedSet.swift
[102/214] Compiling TSCBasic Path.swift
[103/214] Compiling TSCBasic PathShims.swift
[104/214] Compiling TSCBasic Process.swift
[105/214] Compiling TSCBasic ProcessEnv.swift
[106/214] Compiling TSCBasic ProcessSet.swift
[107/214] Compiling TSCBasic RegEx.swift
[109/215] Compiling TSCBasic HashAlgorithms.swift
[110/215] Compiling TSCBasic JSON.swift
[111/215] Compiling TSCBasic JSONMapper.swift
[112/215] Compiling TSCBasic KeyedPair.swift
[113/215] Compiling TSCBasic LazyCache.swift
[114/215] Compiling TSCBasic Lock.swift
[125/215] Compiling TSCBasic FileSystem.swift
[126/215] Compiling TSCBasic GraphAlgorithms.swift
[135/276] Emitting module SwiftProtobuf
[136/276] Compiling NIOCore EventLoop+SerialExecutor.swift
[137/276] Compiling NIOCore EventLoop.swift
[138/276] Compiling NIOCore ByteBuffer-multi-int.swift
[139/276] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[140/276] Compiling NIOCore ByteBuffer-views.swift
[141/276] Compiling NIOCore Channel.swift
[142/276] Compiling NIOCore ChannelHandler.swift
[143/276] Compiling NIOCore ChannelHandlers.swift
[144/276] Compiling NIOCore ChannelInvoker.swift
[145/276] Compiling NIOCore ChannelOption.swift
[146/276] Compiling NIOCore ChannelPipeline.swift
[147/276] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[148/311] Compiling NIOCore MulticastChannel.swift
[149/311] Compiling NIOCore NIOAny.swift
[150/311] Compiling NIOCore NIOCloseOnErrorHandler.swift
[151/311] Compiling NIOCore NIOLoopBound.swift
[152/311] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[153/311] Compiling NIOCore NIOScheduledCallback.swift
[154/311] Compiling NIOCore NIOSendable.swift
[155/311] Compiling NIOCore RecvByteBufferAllocator.swift
[156/319] Compiling NIOCore EventLoopFuture+Deprecated.swift
[157/319] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[158/319] Compiling NIOCore EventLoopFuture.swift
[159/319] Compiling NIOCore FileDescriptor.swift
[160/319] Compiling NIOCore FileHandle.swift
[161/319] Compiling NIOCore FileRegion.swift
[162/319] Compiling NIOCore GlobalSingletons.swift
[163/319] Compiling NIOCore IO.swift
[164/319] Compiling NIOCore IOData.swift
[165/319] Compiling NIOCore IPProtocol.swift
[166/319] Compiling NIOCore IntegerBitPacking.swift
[167/319] Compiling NIOCore IntegerTypes.swift
[173/319] Compiling NIOCore Interfaces.swift
[174/319] Compiling NIOCore Linux.swift
[175/319] Compiling NIOCore MarkedCircularBuffer.swift
[176/319] Compiling TSCUtility OSLog.swift
[177/319] Compiling TSCUtility OrderedZip.swift
[178/319] Compiling TSCUtility PkgConfig.swift
[179/319] Compiling TSCUtility Platform.swift
[180/319] Compiling TSCUtility PolymorphicCodable.swift
[186/323] Compiling TSCUtility Tracing.swift
[187/323] Compiling TSCUtility Triple.swift
[188/323] Compiling TSCUtility URL.swift
[189/323] Compiling TSCUtility Verbosity.swift
[190/323] Compiling TSCUtility Archiver.swift
[191/323] Compiling TSCUtility ArgumentParser.swift
[192/323] Compiling TSCUtility ArgumentParserShellCompletion.swift
[193/323] Compiling TSCUtility Array+Extensions.swift
[194/323] Compiling TSCUtility Bits.swift
[195/323] Compiling TSCUtility Context.swift
[196/323] Compiling TSCUtility Diagnostics.swift
[197/323] Compiling TSCUtility FSWatch.swift
[198/323] Compiling TSCUtility FloatingPointExtensions.swift
[199/323] Compiling TSCUtility Git.swift
[200/323] Compiling TSCUtility Hex.swift
[201/323] Compiling TSCUtility IndexStore.swift
[202/323] Compiling TSCUtility InterruptHandler.swift
[203/323] Compiling TSCUtility JSONMessageStreamingParser.swift
[204/323] Compiling TSCUtility Netrc.swift
[205/323] Compiling TSCUtility Versioning.swift
[206/323] Compiling TSCUtility dlopen.swift
[207/323] Compiling TSCUtility misc.swift
[213/323] Compiling NIOCore SocketAddresses.swift
[214/323] Compiling NIOCore SocketOptionProvider.swift
[215/323] Compiling NIOCore SystemCallHelpers.swift
[216/323] Compiling NIOCore TimeAmount+Duration.swift
[217/323] Compiling NIOCore TypeAssistedChannelHandler.swift
[218/323] Compiling NIOCore UniversalBootstrapSupport.swift
[219/323] Compiling NIOCore Utilities.swift
[220/323] Compiling SwiftProtobuf TextFormatDecodingError.swift
[221/323] Compiling SwiftProtobuf TextFormatDecodingOptions.swift
[222/323] Compiling SwiftProtobuf TextFormatEncoder.swift
[223/323] Compiling SwiftProtobuf TextFormatEncodingOptions.swift
[224/323] Compiling SwiftProtobuf TextFormatEncodingVisitor.swift
[225/323] Compiling SwiftProtobuf TextFormatScanner.swift
[226/323] Compiling SwiftProtobuf TimeUtils.swift
[227/323] Compiling SwiftProtobuf UnknownStorage.swift
[228/323] Compiling SwiftProtobuf UnsafeRawPointer+Shims.swift
[229/323] Compiling SwiftProtobuf Varint.swift
[230/323] Compiling SwiftProtobuf Version.swift
[231/323] Compiling SwiftProtobuf Visitor.swift
[232/323] Compiling SwiftProtobuf WireFormat.swift
[233/323] Compiling SwiftProtobuf ZigZag.swift
[234/323] Compiling SwiftProtobuf any.pb.swift
[235/323] Emitting module TSCUtility
[241/323] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[249/323] Compiling TSCUtility Version.swift
[253/323] Compiling TSCUtility Bitstream.swift
[254/323] Compiling TSCUtility BitstreamReader.swift
[255/323] Compiling TSCUtility BitstreamWriter.swift
[256/323] Compiling TSCUtility BuildFlags.swift
[257/323] Compiling TSCUtility CollectionExtensions.swift
[276/323] Compiling TSCUtility ProgressAnimation.swift
[277/323] Compiling TSCUtility SerializedDiagnostics.swift
[278/323] Compiling TSCUtility SimplePersistence.swift
[279/323] Compiling TSCUtility StringExtensions.swift
[280/323] Compiling TSCUtility StringMangling.swift
[287/324] Compiling SwiftProtobuf api.pb.swift
[288/324] Compiling SwiftProtobuf descriptor.pb.swift
[289/324] Compiling SwiftProtobuf duration.pb.swift
[290/324] Compiling SwiftProtobuf empty.pb.swift
[291/324] Compiling SwiftProtobuf field_mask.pb.swift
[292/324] Compiling SwiftProtobuf source_context.pb.swift
[293/324] Compiling SwiftProtobuf struct.pb.swift
[294/324] Compiling SwiftProtobuf timestamp.pb.swift
[295/324] Compiling SwiftProtobuf type.pb.swift
[296/324] Compiling SwiftProtobuf wrappers.pb.swift
[297/324] Compiling SwiftProtobuf resource_bundle_accessor.swift
[325/325] Emitting module NIOCore
[327/376] Compiling NIOEmbedded AsyncTestingChannel.swift
[328/376] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[329/376] Compiling NIOEmbedded Embedded.swift
[330/376] Emitting module NIOEmbedded
[332/377] Compiling NIOPosix IO.swift
[333/377] Compiling NIOPosix IntegerBitPacking.swift
[334/377] Compiling NIOPosix IntegerTypes.swift
[335/377] Compiling NIOPosix Linux.swift
[336/377] Compiling NIOPosix LinuxCPUSet.swift
[337/377] Compiling NIOPosix LinuxUring.swift
[338/377] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[339/383] Compiling NIOPosix ThreadPosix.swift
[340/383] Compiling NIOPosix ThreadWindows.swift
[341/383] Compiling NIOPosix UnsafeTransfer.swift
[342/383] Compiling NIOPosix Utilities.swift
[343/383] Compiling NIOPosix VsockAddress.swift
[344/383] Compiling NIOPosix VsockChannelEvents.swift
[345/383] Compiling NIOPosix SelectableChannel.swift
[346/383] Compiling NIOPosix SelectableEventLoop.swift
[347/383] Compiling NIOPosix SelectorEpoll.swift
[348/383] Compiling NIOPosix SelectorGeneric.swift
[349/383] Compiling NIOPosix SelectorKqueue.swift
[350/383] Compiling NIOPosix SelectorUring.swift
[351/383] Compiling NIOPosix Pool.swift
[352/383] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[353/383] Compiling NIOPosix PosixSingletons.swift
[354/383] Compiling NIOPosix RawSocketBootstrap.swift
[355/383] Compiling NIOPosix Resolver.swift
[356/383] Compiling NIOPosix Selectable.swift
[357/383] Compiling NIOPosix ServerSocket.swift
[358/383] Compiling NIOPosix Socket.swift
[359/383] Compiling NIOPosix SocketChannel.swift
[360/383] Compiling NIOPosix SocketProtocols.swift
[361/383] Compiling NIOPosix System.swift
[362/383] Compiling NIOPosix Thread.swift
[363/383] Compiling NIOPosix Bootstrap.swift
[364/383] Compiling NIOPosix ControlMessage.swift
[365/383] Compiling NIOPosix DatagramVectorReadManager.swift
[366/383] Compiling NIOPosix Errors+Any.swift
[367/383] Compiling NIOPosix FileDescriptor.swift
[368/383] Compiling NIOPosix GetaddrinfoResolver.swift
[369/383] Compiling NIOPosix HappyEyeballs.swift
[370/383] Compiling NIOPosix BSDSocketAPICommon.swift
[371/383] Compiling NIOPosix BSDSocketAPIPosix.swift
[372/383] Compiling NIOPosix BSDSocketAPIWindows.swift
[373/383] Compiling NIOPosix BaseSocket.swift
[374/383] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[375/383] Compiling NIOPosix BaseSocketChannel.swift
[376/383] Compiling NIOPosix BaseStreamSocketChannel.swift
[377/383] Emitting module NIOPosix
[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 WaitSpinningRunLoop.swift
[389/392] Compiling NIOFoundationCompat JSONSerialization+ByteBuffer.swift
[390/392] Emitting module NIOFoundationCompat
[391/392] Compiling NIOFoundationCompat Codable+ByteBuffer.swift
[392/392] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[394/403] Compiling TSFFutures OperationQueue+Extensions.swift
[395/404] Compiling TSFFutures Futures.swift
[396/404] Compiling TSFFutures BatchingFutureOperationQueue.swift
[397/404] Compiling TSFFutures CancellableFuture.swift
[398/404] Compiling TSFFutures CancellablePromise.swift
[399/404] Compiling TSFFutures Canceller.swift
[400/404] Compiling TSFFutures EventualResultsCache.swift
[401/404] Compiling TSFFutures FutureDeduplicator.swift
[402/404] Compiling TSFFutures FutureOperationQueue.swift
[403/404] Emitting module TSFFutures
[404/404] Compiling TSFFutures OrderManager.swift
[406/410] Compiling TSFUtility Serializable.swift
[407/410] Compiling TSFUtility FastData.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[408/410] Compiling TSFUtility ByteBuffer.swift
[409/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 {
[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