The Swift Package Index logo.Swift Package Index

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

Build Information

Successful build of swift-tools-support-async, reference main (16f296), with Swift 6.1 for Linux on 10 Sep 2025 01:55:26 UTC.

Swift 6 data race errors: 16

Build Command

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

Build Log

    |                     |- note: add '@MainActor' to make static property 'allCases' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
119 |     .none,
120 |   ]
/host/spi-builder-workspace/Sources/TSFCASFileTree/Generated/CASFileTreeProtocol/file_tree.pb.swift:320:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin.
318 |
319 | extension LLBFileType: SwiftProtobuf._ProtoNameProviding {
320 |   public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
    |                                                                 `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin.
321 |     0: .same(proto: "PLAIN_FILE"),
322 |     1: .same(proto: "EXECUTABLE"),
/host/spi-builder-workspace/Sources/TSFCASFileTree/Generated/CASFileTreeProtocol/file_tree.pb.swift:329:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin.
327 |
328 | extension LLBFileDataCompressionMethod: SwiftProtobuf._ProtoNameProviding {
329 |   public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
    |                                                                 `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin.
330 |     0: .same(proto: "NONE"),
331 |   ]
/host/spi-builder-workspace/Sources/TSFCASFileTree/Generated/CASFileTreeProtocol/file_tree.pb.swift:336:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin.
334 | extension LLBPosixFileDetails: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
335 |   public static let protoMessageName: String = "LLBPosixFileDetails"
336 |   public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
    |                                                                 `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin.
337 |     1: .same(proto: "mode"),
338 |     2: .same(proto: "owner"),
/host/spi-builder-workspace/Sources/TSFCASFileTree/Generated/CASFileTreeProtocol/file_tree.pb.swift:380:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin.
378 | extension LLBDirectoryEntry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
379 |   public static let protoMessageName: String = "LLBDirectoryEntry"
380 |   public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
    |                                                                 `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin.
381 |     1: .same(proto: "name"),
382 |     2: .same(proto: "type"),
/host/spi-builder-workspace/Sources/TSFCASFileTree/Generated/CASFileTreeProtocol/file_tree.pb.swift:434:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin.
432 | extension LLBDirectoryEntries: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
433 |   public static let protoMessageName: String = "LLBDirectoryEntries"
434 |   public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
    |                                                                 `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin.
435 |     1: .same(proto: "entries"),
436 |   ]
/host/spi-builder-workspace/Sources/TSFCASFileTree/Generated/CASFileTreeProtocol/file_tree.pb.swift:466:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin.
464 | extension LLBFileInfo: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
465 |   public static let protoMessageName: String = "LLBFileInfo"
466 |   public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
    |                                                                 `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin.
467 |     1: .same(proto: "type"),
468 |     2: .same(proto: "size"),
[644/660] Compiling TSFCASFileTree CASFSNode.swift
/host/spi-builder-workspace/Sources/TSFCASFileTree/ConcurrentFileTreeWalker.swift:44:38: warning: capture of 'self' with non-sendable type 'ConcurrentHierarchyWalker<Item>' in a '@Sendable' closure
 22 |
 23 | /// Walk the hierarchy with bounded concurrency.
 24 | final class ConcurrentHierarchyWalker<Item> {
    |             `- note: generic class 'ConcurrentHierarchyWalker' does not conform to the 'Sendable' protocol
 25 |
 26 |     private let group: LLBFuturesDispatchGroup
    :
 42 |             self.getChildren(item, ctx)
 43 |         }.flatMap { more in
 44 |             let futures = more.map { self.walk($0, ctx) }
    |                                      `- warning: capture of 'self' with non-sendable type 'ConcurrentHierarchyWalker<Item>' in a '@Sendable' closure
 45 |             return LLBFuture.whenAllSucceed(futures, on: self.group.next()).map { _ in () }
 46 |         }
/host/spi-builder-workspace/Sources/TSFCASFileTree/ConcurrentFileTreeWalker.swift:44:38: warning: capture of 'self' with non-sendable type 'ConcurrentHierarchyWalker<Item>' in an isolated closure; this is an error in the Swift 6 language mode
 22 |
 23 | /// Walk the hierarchy with bounded concurrency.
 24 | final class ConcurrentHierarchyWalker<Item> {
    |             `- note: generic class 'ConcurrentHierarchyWalker' does not conform to the 'Sendable' protocol
 25 |
 26 |     private let group: LLBFuturesDispatchGroup
    :
 42 |             self.getChildren(item, ctx)
 43 |         }.flatMap { more in
 44 |             let futures = more.map { self.walk($0, ctx) }
    |                                      `- warning: capture of 'self' with non-sendable type 'ConcurrentHierarchyWalker<Item>' in an isolated closure; this is an error in the Swift 6 language mode
 45 |             return LLBFuture.whenAllSucceed(futures, on: self.group.next()).map { _ in () }
 46 |         }
/host/spi-builder-workspace/Sources/TSFCASFileTree/ConcurrentFileTreeWalker.swift:101:13: warning: capture of 'root' with non-sendable type 'LLBConcurrentFileTreeWalker.Item' in a '@Sendable' closure
 59 |     }
 60 |
 61 |     public struct Item {
    |                   `- note: consider making struct 'Item' conform to the 'Sendable' protocol
 62 |         /// The description of the current CAS filesystem entry.
 63 |         let arg: FilterArgument
    :
 99 |         let walker = ConcurrentHierarchyWalker(group: db.group, delegate: self)
100 |         return walker.walk(root, ctx).map { () in
101 |             root.scanResult.reapResult()
    |             `- warning: capture of 'root' with non-sendable type 'LLBConcurrentFileTreeWalker.Item' in a '@Sendable' closure
102 |         }
103 |     }
/host/spi-builder-workspace/Sources/TSFCASFileTree/ConcurrentFileTreeWalker.swift:116:33: warning: capture of 'item' with non-sendable type 'LLBConcurrentFileTreeWalker.Item' in a '@Sendable' closure
 59 |     }
 60 |
 61 |     public struct Item {
    |                   `- note: consider making struct 'Item' conform to the 'Sendable' protocol
 62 |         /// The description of the current CAS filesystem entry.
 63 |         let arg: FilterArgument
    :
114 |
115 |         return client.load(item.id, type: typeHint, ctx).map { node in
116 |             if typeHint == nil, item.arg.path == .root, item.arg.size == 0 {
    |                                 `- warning: capture of 'item' with non-sendable type 'LLBConcurrentFileTreeWalker.Item' in a '@Sendable' closure
117 |                 // This is our root. Check if we're allowed to go past it.
118 |                 let dirEntry = node.asDirectoryEntry(filename: "-")
/host/spi-builder-workspace/Sources/TSFCASFileTree/ConcurrentFileTreeWalker.swift:124:23: warning: capture of 'self' with non-sendable type 'LLBConcurrentFileTreeWalker' in a '@Sendable' closure
 48 | }
 49 |
 50 | public class LLBConcurrentFileTreeWalker: RetrieveChildrenProtocol {
    |              `- note: class 'LLBConcurrentFileTreeWalker' does not conform to the 'Sendable' protocol
 51 |     let db: LLBCASDatabase
 52 |     let client: LLBCASFSClient
    :
122 |                         size: Int(clamping: dirEntry.info.size)), id: dirEntry.id,
123 |                     scanResult: item.scanResult)
124 |                 guard self.filter(rootItem) else {
    |                       `- warning: capture of 'self' with non-sendable type 'LLBConcurrentFileTreeWalker' in a '@Sendable' closure
125 |                     return []
126 |                 }
/host/spi-builder-workspace/Sources/TSFCASFileTree/Context.swift:41:24: warning: static property 'fileTreeExportStorageBatcherKey' is not concurrency-safe because non-'Sendable' type 'ContextKey' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | import TSCUtility
10 |
11 | private final class ContextKey {}
   |                     `- note: class 'ContextKey' does not conform to the 'Sendable' protocol
12 |
13 | /// Support storing and retrieving file tree import options from a context
   :
39 | /// Support storing and retrieving file tree export storage batcher from a context
40 | extension Context {
41 |     private static let fileTreeExportStorageBatcherKey = ContextKey()
   |                        |- warning: static property 'fileTreeExportStorageBatcherKey' is not concurrency-safe because non-'Sendable' type 'ContextKey' may have shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: add '@MainActor' to make static property 'fileTreeExportStorageBatcherKey' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 |     public var fileTreeExportStorageBatcher: LLBBatchingFutureOperationQueue? {
/host/spi-builder-workspace/Sources/TSFCASFileTree/Context.swift:17:86: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
15 |     public static func with(_ options: LLBCASFileTree.ImportOptions) -> Context {
16 |         return Context(
17 |             dictionaryLiteral: (ObjectIdentifier(LLBCASFileTree.ImportOptions.self), options as Any)
   |                                                                                      `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
18 |         )
19 |     }
[645/660] Compiling TSFCASFileTree ConcurrentFileTreeWalker.swift
/host/spi-builder-workspace/Sources/TSFCASFileTree/ConcurrentFileTreeWalker.swift:44:38: warning: capture of 'self' with non-sendable type 'ConcurrentHierarchyWalker<Item>' in a '@Sendable' closure
 22 |
 23 | /// Walk the hierarchy with bounded concurrency.
 24 | final class ConcurrentHierarchyWalker<Item> {
    |             `- note: generic class 'ConcurrentHierarchyWalker' does not conform to the 'Sendable' protocol
 25 |
 26 |     private let group: LLBFuturesDispatchGroup
    :
 42 |             self.getChildren(item, ctx)
 43 |         }.flatMap { more in
 44 |             let futures = more.map { self.walk($0, ctx) }
    |                                      `- warning: capture of 'self' with non-sendable type 'ConcurrentHierarchyWalker<Item>' in a '@Sendable' closure
 45 |             return LLBFuture.whenAllSucceed(futures, on: self.group.next()).map { _ in () }
 46 |         }
/host/spi-builder-workspace/Sources/TSFCASFileTree/ConcurrentFileTreeWalker.swift:44:38: warning: capture of 'self' with non-sendable type 'ConcurrentHierarchyWalker<Item>' in an isolated closure; this is an error in the Swift 6 language mode
 22 |
 23 | /// Walk the hierarchy with bounded concurrency.
 24 | final class ConcurrentHierarchyWalker<Item> {
    |             `- note: generic class 'ConcurrentHierarchyWalker' does not conform to the 'Sendable' protocol
 25 |
 26 |     private let group: LLBFuturesDispatchGroup
    :
 42 |             self.getChildren(item, ctx)
 43 |         }.flatMap { more in
 44 |             let futures = more.map { self.walk($0, ctx) }
    |                                      `- warning: capture of 'self' with non-sendable type 'ConcurrentHierarchyWalker<Item>' in an isolated closure; this is an error in the Swift 6 language mode
 45 |             return LLBFuture.whenAllSucceed(futures, on: self.group.next()).map { _ in () }
 46 |         }
/host/spi-builder-workspace/Sources/TSFCASFileTree/ConcurrentFileTreeWalker.swift:101:13: warning: capture of 'root' with non-sendable type 'LLBConcurrentFileTreeWalker.Item' in a '@Sendable' closure
 59 |     }
 60 |
 61 |     public struct Item {
    |                   `- note: consider making struct 'Item' conform to the 'Sendable' protocol
 62 |         /// The description of the current CAS filesystem entry.
 63 |         let arg: FilterArgument
    :
 99 |         let walker = ConcurrentHierarchyWalker(group: db.group, delegate: self)
100 |         return walker.walk(root, ctx).map { () in
101 |             root.scanResult.reapResult()
    |             `- warning: capture of 'root' with non-sendable type 'LLBConcurrentFileTreeWalker.Item' in a '@Sendable' closure
102 |         }
103 |     }
/host/spi-builder-workspace/Sources/TSFCASFileTree/ConcurrentFileTreeWalker.swift:116:33: warning: capture of 'item' with non-sendable type 'LLBConcurrentFileTreeWalker.Item' in a '@Sendable' closure
 59 |     }
 60 |
 61 |     public struct Item {
    |                   `- note: consider making struct 'Item' conform to the 'Sendable' protocol
 62 |         /// The description of the current CAS filesystem entry.
 63 |         let arg: FilterArgument
    :
114 |
115 |         return client.load(item.id, type: typeHint, ctx).map { node in
116 |             if typeHint == nil, item.arg.path == .root, item.arg.size == 0 {
    |                                 `- warning: capture of 'item' with non-sendable type 'LLBConcurrentFileTreeWalker.Item' in a '@Sendable' closure
117 |                 // This is our root. Check if we're allowed to go past it.
118 |                 let dirEntry = node.asDirectoryEntry(filename: "-")
/host/spi-builder-workspace/Sources/TSFCASFileTree/ConcurrentFileTreeWalker.swift:124:23: warning: capture of 'self' with non-sendable type 'LLBConcurrentFileTreeWalker' in a '@Sendable' closure
 48 | }
 49 |
 50 | public class LLBConcurrentFileTreeWalker: RetrieveChildrenProtocol {
    |              `- note: class 'LLBConcurrentFileTreeWalker' does not conform to the 'Sendable' protocol
 51 |     let db: LLBCASDatabase
 52 |     let client: LLBCASFSClient
    :
122 |                         size: Int(clamping: dirEntry.info.size)), id: dirEntry.id,
123 |                     scanResult: item.scanResult)
124 |                 guard self.filter(rootItem) else {
    |                       `- warning: capture of 'self' with non-sendable type 'LLBConcurrentFileTreeWalker' in a '@Sendable' closure
125 |                     return []
126 |                 }
/host/spi-builder-workspace/Sources/TSFCASFileTree/Context.swift:41:24: warning: static property 'fileTreeExportStorageBatcherKey' is not concurrency-safe because non-'Sendable' type 'ContextKey' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | import TSCUtility
10 |
11 | private final class ContextKey {}
   |                     `- note: class 'ContextKey' does not conform to the 'Sendable' protocol
12 |
13 | /// Support storing and retrieving file tree import options from a context
   :
39 | /// Support storing and retrieving file tree export storage batcher from a context
40 | extension Context {
41 |     private static let fileTreeExportStorageBatcherKey = ContextKey()
   |                        |- warning: static property 'fileTreeExportStorageBatcherKey' is not concurrency-safe because non-'Sendable' type 'ContextKey' may have shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: add '@MainActor' to make static property 'fileTreeExportStorageBatcherKey' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 |     public var fileTreeExportStorageBatcher: LLBBatchingFutureOperationQueue? {
/host/spi-builder-workspace/Sources/TSFCASFileTree/Context.swift:17:86: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
15 |     public static func with(_ options: LLBCASFileTree.ImportOptions) -> Context {
16 |         return Context(
17 |             dictionaryLiteral: (ObjectIdentifier(LLBCASFileTree.ImportOptions.self), options as Any)
   |                                                                                      `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
18 |         )
19 |     }
[646/660] Compiling TSFCASFileTree Context.swift
/host/spi-builder-workspace/Sources/TSFCASFileTree/ConcurrentFileTreeWalker.swift:44:38: warning: capture of 'self' with non-sendable type 'ConcurrentHierarchyWalker<Item>' in a '@Sendable' closure
 22 |
 23 | /// Walk the hierarchy with bounded concurrency.
 24 | final class ConcurrentHierarchyWalker<Item> {
    |             `- note: generic class 'ConcurrentHierarchyWalker' does not conform to the 'Sendable' protocol
 25 |
 26 |     private let group: LLBFuturesDispatchGroup
    :
 42 |             self.getChildren(item, ctx)
 43 |         }.flatMap { more in
 44 |             let futures = more.map { self.walk($0, ctx) }
    |                                      `- warning: capture of 'self' with non-sendable type 'ConcurrentHierarchyWalker<Item>' in a '@Sendable' closure
 45 |             return LLBFuture.whenAllSucceed(futures, on: self.group.next()).map { _ in () }
 46 |         }
/host/spi-builder-workspace/Sources/TSFCASFileTree/ConcurrentFileTreeWalker.swift:44:38: warning: capture of 'self' with non-sendable type 'ConcurrentHierarchyWalker<Item>' in an isolated closure; this is an error in the Swift 6 language mode
 22 |
 23 | /// Walk the hierarchy with bounded concurrency.
 24 | final class ConcurrentHierarchyWalker<Item> {
    |             `- note: generic class 'ConcurrentHierarchyWalker' does not conform to the 'Sendable' protocol
 25 |
 26 |     private let group: LLBFuturesDispatchGroup
    :
 42 |             self.getChildren(item, ctx)
 43 |         }.flatMap { more in
 44 |             let futures = more.map { self.walk($0, ctx) }
    |                                      `- warning: capture of 'self' with non-sendable type 'ConcurrentHierarchyWalker<Item>' in an isolated closure; this is an error in the Swift 6 language mode
 45 |             return LLBFuture.whenAllSucceed(futures, on: self.group.next()).map { _ in () }
 46 |         }
/host/spi-builder-workspace/Sources/TSFCASFileTree/ConcurrentFileTreeWalker.swift:101:13: warning: capture of 'root' with non-sendable type 'LLBConcurrentFileTreeWalker.Item' in a '@Sendable' closure
 59 |     }
 60 |
 61 |     public struct Item {
    |                   `- note: consider making struct 'Item' conform to the 'Sendable' protocol
 62 |         /// The description of the current CAS filesystem entry.
 63 |         let arg: FilterArgument
    :
 99 |         let walker = ConcurrentHierarchyWalker(group: db.group, delegate: self)
100 |         return walker.walk(root, ctx).map { () in
101 |             root.scanResult.reapResult()
    |             `- warning: capture of 'root' with non-sendable type 'LLBConcurrentFileTreeWalker.Item' in a '@Sendable' closure
102 |         }
103 |     }
/host/spi-builder-workspace/Sources/TSFCASFileTree/ConcurrentFileTreeWalker.swift:116:33: warning: capture of 'item' with non-sendable type 'LLBConcurrentFileTreeWalker.Item' in a '@Sendable' closure
 59 |     }
 60 |
 61 |     public struct Item {
    |                   `- note: consider making struct 'Item' conform to the 'Sendable' protocol
 62 |         /// The description of the current CAS filesystem entry.
 63 |         let arg: FilterArgument
    :
114 |
115 |         return client.load(item.id, type: typeHint, ctx).map { node in
116 |             if typeHint == nil, item.arg.path == .root, item.arg.size == 0 {
    |                                 `- warning: capture of 'item' with non-sendable type 'LLBConcurrentFileTreeWalker.Item' in a '@Sendable' closure
117 |                 // This is our root. Check if we're allowed to go past it.
118 |                 let dirEntry = node.asDirectoryEntry(filename: "-")
/host/spi-builder-workspace/Sources/TSFCASFileTree/ConcurrentFileTreeWalker.swift:124:23: warning: capture of 'self' with non-sendable type 'LLBConcurrentFileTreeWalker' in a '@Sendable' closure
 48 | }
 49 |
 50 | public class LLBConcurrentFileTreeWalker: RetrieveChildrenProtocol {
    |              `- note: class 'LLBConcurrentFileTreeWalker' does not conform to the 'Sendable' protocol
 51 |     let db: LLBCASDatabase
 52 |     let client: LLBCASFSClient
    :
122 |                         size: Int(clamping: dirEntry.info.size)), id: dirEntry.id,
123 |                     scanResult: item.scanResult)
124 |                 guard self.filter(rootItem) else {
    |                       `- warning: capture of 'self' with non-sendable type 'LLBConcurrentFileTreeWalker' in a '@Sendable' closure
125 |                     return []
126 |                 }
/host/spi-builder-workspace/Sources/TSFCASFileTree/Context.swift:41:24: warning: static property 'fileTreeExportStorageBatcherKey' is not concurrency-safe because non-'Sendable' type 'ContextKey' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | import TSCUtility
10 |
11 | private final class ContextKey {}
   |                     `- note: class 'ContextKey' does not conform to the 'Sendable' protocol
12 |
13 | /// Support storing and retrieving file tree import options from a context
   :
39 | /// Support storing and retrieving file tree export storage batcher from a context
40 | extension Context {
41 |     private static let fileTreeExportStorageBatcherKey = ContextKey()
   |                        |- warning: static property 'fileTreeExportStorageBatcherKey' is not concurrency-safe because non-'Sendable' type 'ContextKey' may have shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: add '@MainActor' to make static property 'fileTreeExportStorageBatcherKey' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 |     public var fileTreeExportStorageBatcher: LLBBatchingFutureOperationQueue? {
/host/spi-builder-workspace/Sources/TSFCASFileTree/Context.swift:17:86: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
15 |     public static func with(_ options: LLBCASFileTree.ImportOptions) -> Context {
16 |         return Context(
17 |             dictionaryLiteral: (ObjectIdentifier(LLBCASFileTree.ImportOptions.self), options as Any)
   |                                                                                      `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
18 |         )
19 |     }
[647/662] Compiling TSFCASFileTree ConcurrentFilesystemScanner.swift
[648/662] Compiling TSFCASFileTree FileSegmenter.swift
[649/662] Compiling TSFCASFileTree DeclFileTree.swift
/host/spi-builder-workspace/Sources/TSFCASFileTree/DeclFileTree.swift:77:26: warning: type 'LLBDirectoryEntryID' does not conform to the 'Sendable' protocol
 75 |             }
 76 |         }
 77 |         return LLBFuture.whenAllSucceed(infosFutures, on: loop).flatMap { infos in
    |                          `- warning: type 'LLBDirectoryEntryID' does not conform to the 'Sendable' protocol
 78 |             return LLBCASFileTree.create(files: infos, in: self.db, ctx)
 79 |         }
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTree.swift:24:15: note: consider making struct 'LLBDirectoryEntryID' conform to the 'Sendable' protocol
 22 | }
 23 |
 24 | public struct LLBDirectoryEntryID {
    |               `- note: consider making struct 'LLBDirectoryEntryID' conform to the 'Sendable' protocol
 25 |     public let info: LLBDirectoryEntry
 26 |     public let id: LLBDataID
[650/662] Compiling TSFCASFileTree DirectoryEntry.swift
/host/spi-builder-workspace/Sources/TSFCASFileTree/DeclFileTree.swift:77:26: warning: type 'LLBDirectoryEntryID' does not conform to the 'Sendable' protocol
 75 |             }
 76 |         }
 77 |         return LLBFuture.whenAllSucceed(infosFutures, on: loop).flatMap { infos in
    |                          `- warning: type 'LLBDirectoryEntryID' does not conform to the 'Sendable' protocol
 78 |             return LLBCASFileTree.create(files: infos, in: self.db, ctx)
 79 |         }
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTree.swift:24:15: note: consider making struct 'LLBDirectoryEntryID' conform to the 'Sendable' protocol
 22 | }
 23 |
 24 | public struct LLBDirectoryEntryID {
    |               `- note: consider making struct 'LLBDirectoryEntryID' conform to the 'Sendable' protocol
 25 |     public let info: LLBDirectoryEntry
 26 |     public let id: LLBDataID
[651/662] Compiling TSFCASFileTree Errors.swift
/host/spi-builder-workspace/Sources/TSFCASFileTree/DeclFileTree.swift:77:26: warning: type 'LLBDirectoryEntryID' does not conform to the 'Sendable' protocol
 75 |             }
 76 |         }
 77 |         return LLBFuture.whenAllSucceed(infosFutures, on: loop).flatMap { infos in
    |                          `- warning: type 'LLBDirectoryEntryID' does not conform to the 'Sendable' protocol
 78 |             return LLBCASFileTree.create(files: infos, in: self.db, ctx)
 79 |         }
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTree.swift:24:15: note: consider making struct 'LLBDirectoryEntryID' conform to the 'Sendable' protocol
 22 | }
 23 |
 24 | public struct LLBDirectoryEntryID {
    |               `- note: consider making struct 'LLBDirectoryEntryID' conform to the 'Sendable' protocol
 25 |     public let info: LLBDirectoryEntry
 26 |     public let id: LLBDataID
[652/662] Compiling TSFCASFileTree FileInfo.swift
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTree.swift:149:73: warning: reference to captured var 'refs' in concurrently-executing code
147 |                 // API should be fixed. One option would be to change this class so
148 |                 // it can directly operate on the encoded representation.
149 |                 return try self.init(id: id, object: LLBCASObject(refs: refs, data: dirBytes))
    |                                                                         `- warning: reference to captured var 'refs' in concurrently-executing code
150 |             }
151 |         } catch {
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTree.swift:149:85: warning: reference to captured var 'dirBytes' in concurrently-executing code
147 |                 // API should be fixed. One option would be to change this class so
148 |                 // it can directly operate on the encoded representation.
149 |                 return try self.init(id: id, object: LLBCASObject(refs: refs, data: dirBytes))
    |                                                                                     `- warning: reference to captured var 'dirBytes' in concurrently-executing code
150 |             }
151 |         } catch {
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTree.swift:286:17: warning: capture of 'files' with non-sendable type '[LLBDirectoryEntryID]' in a '@Sendable' closure
 22 | }
 23 |
 24 | public struct LLBDirectoryEntryID {
    |               `- note: consider making struct 'LLBDirectoryEntryID' conform to the 'Sendable' protocol
 25 |     public let info: LLBDirectoryEntry
 26 |     public let id: LLBDataID
    :
284 |         return LLBFuture.whenAllSucceed(futures, on: db.group.next()).flatMap { mergedEntries in
285 |             for (idx, name, result, posixDetails) in mergedEntries {
286 |                 files[idx] = .init(
    |                 `- warning: capture of 'files' with non-sendable type '[LLBDirectoryEntryID]' in a '@Sendable' closure
287 |                     info: LLBDirectoryEntry(
288 |                         name: name, type: .directory, size: result.aggregateSize,
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTree.swift:286:17: warning: mutation of captured var 'files' in concurrently-executing code
284 |         return LLBFuture.whenAllSucceed(futures, on: db.group.next()).flatMap { mergedEntries in
285 |             for (idx, name, result, posixDetails) in mergedEntries {
286 |                 files[idx] = .init(
    |                 `- warning: mutation of captured var 'files' in concurrently-executing code
287 |                     info: LLBDirectoryEntry(
288 |                         name: name, type: .directory, size: result.aggregateSize,
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTree.swift:291:49: warning: reference to captured var 'files' in concurrently-executing code
289 |                         posixDetails: posixDetails), id: result.id)
290 |             }
291 |             return LLBCASFileTree.create(files: files, in: db, posixDetails: self.posixDetails, ctx)
    |                                                 `- warning: reference to captured var 'files' in concurrently-executing code
292 |         }
293 |     }
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTree.swift:407:17: warning: capture of 'files' with non-sendable type '[LLBDirectoryEntryID]' in a '@Sendable' closure
 22 | }
 23 |
 24 | public struct LLBDirectoryEntryID {
    |               `- note: consider making struct 'LLBDirectoryEntryID' conform to the 'Sendable' protocol
 25 |     public let info: LLBDirectoryEntry
 26 |     public let id: LLBDataID
    :
405 |         return LLBFuture.whenAllSucceed(futures, on: db.group.next()).flatMap { mergedEntries in
406 |             for (idx, name, result, posixDetails) in mergedEntries {
407 |                 files[idx] = .init(
    |                 `- warning: capture of 'files' with non-sendable type '[LLBDirectoryEntryID]' in a '@Sendable' closure
408 |                     info: LLBDirectoryEntry(
409 |                         name: name, type: .directory, size: result.aggregateSize,
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTree.swift:407:17: warning: mutation of captured var 'files' in concurrently-executing code
405 |         return LLBFuture.whenAllSucceed(futures, on: db.group.next()).flatMap { mergedEntries in
406 |             for (idx, name, result, posixDetails) in mergedEntries {
407 |                 files[idx] = .init(
    |                 `- warning: mutation of captured var 'files' in concurrently-executing code
408 |                     info: LLBDirectoryEntry(
409 |                         name: name, type: .directory, size: result.aggregateSize,
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTree.swift:413:24: warning: reference to captured var 'files' in concurrently-executing code
411 |             }
412 |             return LLBCASFileTree.create(
413 |                 files: files, in: db, posixDetails: reversedTrees.first!.posixDetails, ctx)
    |                        `- warning: reference to captured var 'files' in concurrently-executing code
414 |         }
415 |     }
[653/662] Compiling TSFCASFileTree FileTree.swift
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTree.swift:149:73: warning: reference to captured var 'refs' in concurrently-executing code
147 |                 // API should be fixed. One option would be to change this class so
148 |                 // it can directly operate on the encoded representation.
149 |                 return try self.init(id: id, object: LLBCASObject(refs: refs, data: dirBytes))
    |                                                                         `- warning: reference to captured var 'refs' in concurrently-executing code
150 |             }
151 |         } catch {
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTree.swift:149:85: warning: reference to captured var 'dirBytes' in concurrently-executing code
147 |                 // API should be fixed. One option would be to change this class so
148 |                 // it can directly operate on the encoded representation.
149 |                 return try self.init(id: id, object: LLBCASObject(refs: refs, data: dirBytes))
    |                                                                                     `- warning: reference to captured var 'dirBytes' in concurrently-executing code
150 |             }
151 |         } catch {
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTree.swift:286:17: warning: capture of 'files' with non-sendable type '[LLBDirectoryEntryID]' in a '@Sendable' closure
 22 | }
 23 |
 24 | public struct LLBDirectoryEntryID {
    |               `- note: consider making struct 'LLBDirectoryEntryID' conform to the 'Sendable' protocol
 25 |     public let info: LLBDirectoryEntry
 26 |     public let id: LLBDataID
    :
284 |         return LLBFuture.whenAllSucceed(futures, on: db.group.next()).flatMap { mergedEntries in
285 |             for (idx, name, result, posixDetails) in mergedEntries {
286 |                 files[idx] = .init(
    |                 `- warning: capture of 'files' with non-sendable type '[LLBDirectoryEntryID]' in a '@Sendable' closure
287 |                     info: LLBDirectoryEntry(
288 |                         name: name, type: .directory, size: result.aggregateSize,
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTree.swift:286:17: warning: mutation of captured var 'files' in concurrently-executing code
284 |         return LLBFuture.whenAllSucceed(futures, on: db.group.next()).flatMap { mergedEntries in
285 |             for (idx, name, result, posixDetails) in mergedEntries {
286 |                 files[idx] = .init(
    |                 `- warning: mutation of captured var 'files' in concurrently-executing code
287 |                     info: LLBDirectoryEntry(
288 |                         name: name, type: .directory, size: result.aggregateSize,
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTree.swift:291:49: warning: reference to captured var 'files' in concurrently-executing code
289 |                         posixDetails: posixDetails), id: result.id)
290 |             }
291 |             return LLBCASFileTree.create(files: files, in: db, posixDetails: self.posixDetails, ctx)
    |                                                 `- warning: reference to captured var 'files' in concurrently-executing code
292 |         }
293 |     }
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTree.swift:407:17: warning: capture of 'files' with non-sendable type '[LLBDirectoryEntryID]' in a '@Sendable' closure
 22 | }
 23 |
 24 | public struct LLBDirectoryEntryID {
    |               `- note: consider making struct 'LLBDirectoryEntryID' conform to the 'Sendable' protocol
 25 |     public let info: LLBDirectoryEntry
 26 |     public let id: LLBDataID
    :
405 |         return LLBFuture.whenAllSucceed(futures, on: db.group.next()).flatMap { mergedEntries in
406 |             for (idx, name, result, posixDetails) in mergedEntries {
407 |                 files[idx] = .init(
    |                 `- warning: capture of 'files' with non-sendable type '[LLBDirectoryEntryID]' in a '@Sendable' closure
408 |                     info: LLBDirectoryEntry(
409 |                         name: name, type: .directory, size: result.aggregateSize,
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTree.swift:407:17: warning: mutation of captured var 'files' in concurrently-executing code
405 |         return LLBFuture.whenAllSucceed(futures, on: db.group.next()).flatMap { mergedEntries in
406 |             for (idx, name, result, posixDetails) in mergedEntries {
407 |                 files[idx] = .init(
    |                 `- warning: mutation of captured var 'files' in concurrently-executing code
408 |                     info: LLBDirectoryEntry(
409 |                         name: name, type: .directory, size: result.aggregateSize,
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTree.swift:413:24: warning: reference to captured var 'files' in concurrently-executing code
411 |             }
412 |             return LLBCASFileTree.create(
413 |                 files: files, in: db, posixDetails: reversedTrees.first!.posixDetails, ctx)
    |                        `- warning: reference to captured var 'files' in concurrently-executing code
414 |         }
415 |     }
[654/662] Compiling TSFCASFileTree BinarySearch.swift
/host/spi-builder-workspace/Sources/TSFCASFileTree/CASBlob.swift:275:35: warning: reference to captured var 'fileInfo' in concurrently-executing code
273 |                     db: db, receivedId: .inner(id),
274 |                     type: .plainFile,
275 |                     posixDetails: fileInfo.hasPosixDetails ? fileInfo.posixDetails : nil,
    |                                   `- warning: reference to captured var 'fileInfo' in concurrently-executing code
276 |                     size: data.readableBytes,
277 |                     contents: .flat(innerID: id, db.group.next().makeSucceededFuture(data)))
/host/spi-builder-workspace/Sources/TSFCASFileTree/CASBlob.swift:275:62: warning: reference to captured var 'fileInfo' in concurrently-executing code
273 |                     db: db, receivedId: .inner(id),
274 |                     type: .plainFile,
275 |                     posixDetails: fileInfo.hasPosixDetails ? fileInfo.posixDetails : nil,
    |                                                              `- warning: reference to captured var 'fileInfo' in concurrently-executing code
276 |                     size: data.readableBytes,
277 |                     contents: .flat(innerID: id, db.group.next().makeSucceededFuture(data)))
/host/spi-builder-workspace/Sources/TSFCASFileTree/CASBlob.swift:285:57: warning: reference to captured var 'fileInfo' in concurrently-executing code
283 |         }.flatMap { blobId in
284 |             do {
285 |                 return db.put(refs: [blobId], data: try fileInfo.toBytes(), ctx).map { outerId in
    |                                                         `- warning: reference to captured var 'fileInfo' in concurrently-executing code
286 |                     LLBCASBlob(
287 |                         db: db, receivedId: .outer(outerId),
/host/spi-builder-workspace/Sources/TSFCASFileTree/CASBlob.swift:288:31: warning: reference to captured var 'fileInfo' in concurrently-executing code
286 |                     LLBCASBlob(
287 |                         db: db, receivedId: .outer(outerId),
288 |                         type: fileInfo.type,
    |                               `- warning: reference to captured var 'fileInfo' in concurrently-executing code
289 |                         posixDetails: fileInfo.hasPosixDetails ? fileInfo.posixDetails : nil,
290 |                         size: data.readableBytes,
/host/spi-builder-workspace/Sources/TSFCASFileTree/CASBlob.swift:289:39: warning: reference to captured var 'fileInfo' in concurrently-executing code
287 |                         db: db, receivedId: .outer(outerId),
288 |                         type: fileInfo.type,
289 |                         posixDetails: fileInfo.hasPosixDetails ? fileInfo.posixDetails : nil,
    |                                       `- warning: reference to captured var 'fileInfo' in concurrently-executing code
290 |                         size: data.readableBytes,
291 |                         contents: .chunked(
/host/spi-builder-workspace/Sources/TSFCASFileTree/CASBlob.swift:289:66: warning: reference to captured var 'fileInfo' in concurrently-executing code
287 |                         db: db, receivedId: .outer(outerId),
288 |                         type: fileInfo.type,
289 |                         posixDetails: fileInfo.hasPosixDetails ? fileInfo.posixDetails : nil,
    |                                                                  `- warning: reference to captured var 'fileInfo' in concurrently-executing code
290 |                         size: data.readableBytes,
291 |                         contents: .chunked(
/host/spi-builder-workspace/Sources/TSFCASFileTree/CASBlob.swift:292:62: warning: reference to captured var 'fileInfo' in concurrently-executing code
290 |                         size: data.readableBytes,
291 |                         contents: .chunked(
292 |                             chunks: [blobId], chunkSize: Int(fileInfo.fixedChunkSize)))
    |                                                              `- warning: reference to captured var 'fileInfo' in concurrently-executing code
293 |                 }
294 |             } catch {
[655/662] Compiling TSFCASFileTree CASBlob.swift
/host/spi-builder-workspace/Sources/TSFCASFileTree/CASBlob.swift:275:35: warning: reference to captured var 'fileInfo' in concurrently-executing code
273 |                     db: db, receivedId: .inner(id),
274 |                     type: .plainFile,
275 |                     posixDetails: fileInfo.hasPosixDetails ? fileInfo.posixDetails : nil,
    |                                   `- warning: reference to captured var 'fileInfo' in concurrently-executing code
276 |                     size: data.readableBytes,
277 |                     contents: .flat(innerID: id, db.group.next().makeSucceededFuture(data)))
/host/spi-builder-workspace/Sources/TSFCASFileTree/CASBlob.swift:275:62: warning: reference to captured var 'fileInfo' in concurrently-executing code
273 |                     db: db, receivedId: .inner(id),
274 |                     type: .plainFile,
275 |                     posixDetails: fileInfo.hasPosixDetails ? fileInfo.posixDetails : nil,
    |                                                              `- warning: reference to captured var 'fileInfo' in concurrently-executing code
276 |                     size: data.readableBytes,
277 |                     contents: .flat(innerID: id, db.group.next().makeSucceededFuture(data)))
/host/spi-builder-workspace/Sources/TSFCASFileTree/CASBlob.swift:285:57: warning: reference to captured var 'fileInfo' in concurrently-executing code
283 |         }.flatMap { blobId in
284 |             do {
285 |                 return db.put(refs: [blobId], data: try fileInfo.toBytes(), ctx).map { outerId in
    |                                                         `- warning: reference to captured var 'fileInfo' in concurrently-executing code
286 |                     LLBCASBlob(
287 |                         db: db, receivedId: .outer(outerId),
/host/spi-builder-workspace/Sources/TSFCASFileTree/CASBlob.swift:288:31: warning: reference to captured var 'fileInfo' in concurrently-executing code
286 |                     LLBCASBlob(
287 |                         db: db, receivedId: .outer(outerId),
288 |                         type: fileInfo.type,
    |                               `- warning: reference to captured var 'fileInfo' in concurrently-executing code
289 |                         posixDetails: fileInfo.hasPosixDetails ? fileInfo.posixDetails : nil,
290 |                         size: data.readableBytes,
/host/spi-builder-workspace/Sources/TSFCASFileTree/CASBlob.swift:289:39: warning: reference to captured var 'fileInfo' in concurrently-executing code
287 |                         db: db, receivedId: .outer(outerId),
288 |                         type: fileInfo.type,
289 |                         posixDetails: fileInfo.hasPosixDetails ? fileInfo.posixDetails : nil,
    |                                       `- warning: reference to captured var 'fileInfo' in concurrently-executing code
290 |                         size: data.readableBytes,
291 |                         contents: .chunked(
/host/spi-builder-workspace/Sources/TSFCASFileTree/CASBlob.swift:289:66: warning: reference to captured var 'fileInfo' in concurrently-executing code
287 |                         db: db, receivedId: .outer(outerId),
288 |                         type: fileInfo.type,
289 |                         posixDetails: fileInfo.hasPosixDetails ? fileInfo.posixDetails : nil,
    |                                                                  `- warning: reference to captured var 'fileInfo' in concurrently-executing code
290 |                         size: data.readableBytes,
291 |                         contents: .chunked(
/host/spi-builder-workspace/Sources/TSFCASFileTree/CASBlob.swift:292:62: warning: reference to captured var 'fileInfo' in concurrently-executing code
290 |                         size: data.readableBytes,
291 |                         contents: .chunked(
292 |                             chunks: [blobId], chunkSize: Int(fileInfo.fixedChunkSize)))
    |                                                              `- warning: reference to captured var 'fileInfo' in concurrently-executing code
293 |                 }
294 |             } catch {
[656/662] Compiling TSFCASFileTree CASFSClient.swift
/host/spi-builder-workspace/Sources/TSFCASFileTree/CASBlob.swift:275:35: warning: reference to captured var 'fileInfo' in concurrently-executing code
273 |                     db: db, receivedId: .inner(id),
274 |                     type: .plainFile,
275 |                     posixDetails: fileInfo.hasPosixDetails ? fileInfo.posixDetails : nil,
    |                                   `- warning: reference to captured var 'fileInfo' in concurrently-executing code
276 |                     size: data.readableBytes,
277 |                     contents: .flat(innerID: id, db.group.next().makeSucceededFuture(data)))
/host/spi-builder-workspace/Sources/TSFCASFileTree/CASBlob.swift:275:62: warning: reference to captured var 'fileInfo' in concurrently-executing code
273 |                     db: db, receivedId: .inner(id),
274 |                     type: .plainFile,
275 |                     posixDetails: fileInfo.hasPosixDetails ? fileInfo.posixDetails : nil,
    |                                                              `- warning: reference to captured var 'fileInfo' in concurrently-executing code
276 |                     size: data.readableBytes,
277 |                     contents: .flat(innerID: id, db.group.next().makeSucceededFuture(data)))
/host/spi-builder-workspace/Sources/TSFCASFileTree/CASBlob.swift:285:57: warning: reference to captured var 'fileInfo' in concurrently-executing code
283 |         }.flatMap { blobId in
284 |             do {
285 |                 return db.put(refs: [blobId], data: try fileInfo.toBytes(), ctx).map { outerId in
    |                                                         `- warning: reference to captured var 'fileInfo' in concurrently-executing code
286 |                     LLBCASBlob(
287 |                         db: db, receivedId: .outer(outerId),
/host/spi-builder-workspace/Sources/TSFCASFileTree/CASBlob.swift:288:31: warning: reference to captured var 'fileInfo' in concurrently-executing code
286 |                     LLBCASBlob(
287 |                         db: db, receivedId: .outer(outerId),
288 |                         type: fileInfo.type,
    |                               `- warning: reference to captured var 'fileInfo' in concurrently-executing code
289 |                         posixDetails: fileInfo.hasPosixDetails ? fileInfo.posixDetails : nil,
290 |                         size: data.readableBytes,
/host/spi-builder-workspace/Sources/TSFCASFileTree/CASBlob.swift:289:39: warning: reference to captured var 'fileInfo' in concurrently-executing code
287 |                         db: db, receivedId: .outer(outerId),
288 |                         type: fileInfo.type,
289 |                         posixDetails: fileInfo.hasPosixDetails ? fileInfo.posixDetails : nil,
    |                                       `- warning: reference to captured var 'fileInfo' in concurrently-executing code
290 |                         size: data.readableBytes,
291 |                         contents: .chunked(
/host/spi-builder-workspace/Sources/TSFCASFileTree/CASBlob.swift:289:66: warning: reference to captured var 'fileInfo' in concurrently-executing code
287 |                         db: db, receivedId: .outer(outerId),
288 |                         type: fileInfo.type,
289 |                         posixDetails: fileInfo.hasPosixDetails ? fileInfo.posixDetails : nil,
    |                                                                  `- warning: reference to captured var 'fileInfo' in concurrently-executing code
290 |                         size: data.readableBytes,
291 |                         contents: .chunked(
/host/spi-builder-workspace/Sources/TSFCASFileTree/CASBlob.swift:292:62: warning: reference to captured var 'fileInfo' in concurrently-executing code
290 |                         size: data.readableBytes,
291 |                         contents: .chunked(
292 |                             chunks: [blobId], chunkSize: Int(fileInfo.fixedChunkSize)))
    |                                                              `- warning: reference to captured var 'fileInfo' in concurrently-executing code
293 |                 }
294 |             } catch {
[657/662] Compiling TSFCASFileTree FileTreeParser.swift
/host/spi-builder-workspace/Sources/TSFCASFileTree/TSCCASFileSystem.swift:55:48: warning: 'init(_:)' is deprecated: use throwing variant instead
 53 |             let symlinkContents = try readFileContents(path).cString
 54 |             return try getDirectoryContents(
 55 |                 path.parentDirectory.appending(RelativePath(symlinkContents)))
    |                                                `- warning: 'init(_:)' is deprecated: use throwing variant instead
 56 |         }
 57 |
/host/spi-builder-workspace/Sources/TSFCASFileTree/TSCCASFileSystem.swift:75:63: warning: 'init(_:)' is deprecated: use throwing variant instead
 73 |                 return false
 74 |             }
 75 |             return isDirectory(path.parentDirectory.appending(RelativePath(symlinkContents)))
    |                                                               `- warning: 'init(_:)' is deprecated: use throwing variant instead
 76 |         }
 77 |
[658/662] Compiling TSFCASFileTree TSCCASFileSystem.swift
/host/spi-builder-workspace/Sources/TSFCASFileTree/TSCCASFileSystem.swift:55:48: warning: 'init(_:)' is deprecated: use throwing variant instead
 53 |             let symlinkContents = try readFileContents(path).cString
 54 |             return try getDirectoryContents(
 55 |                 path.parentDirectory.appending(RelativePath(symlinkContents)))
    |                                                `- warning: 'init(_:)' is deprecated: use throwing variant instead
 56 |         }
 57 |
/host/spi-builder-workspace/Sources/TSFCASFileTree/TSCCASFileSystem.swift:75:63: warning: 'init(_:)' is deprecated: use throwing variant instead
 73 |                 return false
 74 |             }
 75 |             return isDirectory(path.parentDirectory.appending(RelativePath(symlinkContents)))
    |                                                               `- warning: 'init(_:)' is deprecated: use throwing variant instead
 76 |         }
 77 |
[659/662] Compiling TSFCASFileTree FilesystemObject.swift
/host/spi-builder-workspace/Sources/TSFCASFileTree/Generated/CASFileTreeProtocol/file_tree.pb.swift:77:21: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 75 | extension LLBFileType: CaseIterable {
 76 |   // The compiler won't synthesize support with the UNRECOGNIZED case.
 77 |   public static var allCases: [LLBFileType] = [
    |                     |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: add '@MainActor' to make static property 'allCases' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 78 |     .plainFile,
 79 |     .executable,
/host/spi-builder-workspace/Sources/TSFCASFileTree/Generated/CASFileTreeProtocol/file_tree.pb.swift:118:21: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
116 | extension LLBFileDataCompressionMethod: CaseIterable {
117 |   // The compiler won't synthesize support with the UNRECOGNIZED case.
118 |   public static var allCases: [LLBFileDataCompressionMethod] = [
    |                     |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: add '@MainActor' to make static property 'allCases' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
119 |     .none,
120 |   ]
/host/spi-builder-workspace/Sources/TSFCASFileTree/Generated/CASFileTreeProtocol/file_tree.pb.swift:320:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin.
318 |
319 | extension LLBFileType: SwiftProtobuf._ProtoNameProviding {
320 |   public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
    |                                                                 `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin.
321 |     0: .same(proto: "PLAIN_FILE"),
322 |     1: .same(proto: "EXECUTABLE"),
/host/spi-builder-workspace/Sources/TSFCASFileTree/Generated/CASFileTreeProtocol/file_tree.pb.swift:329:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin.
327 |
328 | extension LLBFileDataCompressionMethod: SwiftProtobuf._ProtoNameProviding {
329 |   public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
    |                                                                 `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin.
330 |     0: .same(proto: "NONE"),
331 |   ]
/host/spi-builder-workspace/Sources/TSFCASFileTree/Generated/CASFileTreeProtocol/file_tree.pb.swift:336:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin.
334 | extension LLBPosixFileDetails: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
335 |   public static let protoMessageName: String = "LLBPosixFileDetails"
336 |   public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
    |                                                                 `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin.
337 |     1: .same(proto: "mode"),
338 |     2: .same(proto: "owner"),
/host/spi-builder-workspace/Sources/TSFCASFileTree/Generated/CASFileTreeProtocol/file_tree.pb.swift:380:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin.
378 | extension LLBDirectoryEntry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
379 |   public static let protoMessageName: String = "LLBDirectoryEntry"
380 |   public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
    |                                                                 `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin.
381 |     1: .same(proto: "name"),
382 |     2: .same(proto: "type"),
/host/spi-builder-workspace/Sources/TSFCASFileTree/Generated/CASFileTreeProtocol/file_tree.pb.swift:434:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin.
432 | extension LLBDirectoryEntries: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
433 |   public static let protoMessageName: String = "LLBDirectoryEntries"
434 |   public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
    |                                                                 `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin.
435 |     1: .same(proto: "entries"),
436 |   ]
/host/spi-builder-workspace/Sources/TSFCASFileTree/Generated/CASFileTreeProtocol/file_tree.pb.swift:466:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin.
464 | extension LLBFileInfo: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
465 |   public static let protoMessageName: String = "LLBFileInfo"
466 |   public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
    |                                                                 `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin.
467 |     1: .same(proto: "type"),
468 |     2: .same(proto: "size"),
[660/662] Compiling TSFCASFileTree file_tree.pb.swift
/host/spi-builder-workspace/Sources/TSFCASFileTree/Generated/CASFileTreeProtocol/file_tree.pb.swift:77:21: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 75 | extension LLBFileType: CaseIterable {
 76 |   // The compiler won't synthesize support with the UNRECOGNIZED case.
 77 |   public static var allCases: [LLBFileType] = [
    |                     |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: add '@MainActor' to make static property 'allCases' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 78 |     .plainFile,
 79 |     .executable,
/host/spi-builder-workspace/Sources/TSFCASFileTree/Generated/CASFileTreeProtocol/file_tree.pb.swift:118:21: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
116 | extension LLBFileDataCompressionMethod: CaseIterable {
117 |   // The compiler won't synthesize support with the UNRECOGNIZED case.
118 |   public static var allCases: [LLBFileDataCompressionMethod] = [
    |                     |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: add '@MainActor' to make static property 'allCases' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
119 |     .none,
120 |   ]
/host/spi-builder-workspace/Sources/TSFCASFileTree/Generated/CASFileTreeProtocol/file_tree.pb.swift:320:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin.
318 |
319 | extension LLBFileType: SwiftProtobuf._ProtoNameProviding {
320 |   public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
    |                                                                 `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin.
321 |     0: .same(proto: "PLAIN_FILE"),
322 |     1: .same(proto: "EXECUTABLE"),
/host/spi-builder-workspace/Sources/TSFCASFileTree/Generated/CASFileTreeProtocol/file_tree.pb.swift:329:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin.
327 |
328 | extension LLBFileDataCompressionMethod: SwiftProtobuf._ProtoNameProviding {
329 |   public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
    |                                                                 `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin.
330 |     0: .same(proto: "NONE"),
331 |   ]
/host/spi-builder-workspace/Sources/TSFCASFileTree/Generated/CASFileTreeProtocol/file_tree.pb.swift:336:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin.
334 | extension LLBPosixFileDetails: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
335 |   public static let protoMessageName: String = "LLBPosixFileDetails"
336 |   public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
    |                                                                 `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin.
337 |     1: .same(proto: "mode"),
338 |     2: .same(proto: "owner"),
/host/spi-builder-workspace/Sources/TSFCASFileTree/Generated/CASFileTreeProtocol/file_tree.pb.swift:380:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin.
378 | extension LLBDirectoryEntry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
379 |   public static let protoMessageName: String = "LLBDirectoryEntry"
380 |   public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
    |                                                                 `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin.
381 |     1: .same(proto: "name"),
382 |     2: .same(proto: "type"),
/host/spi-builder-workspace/Sources/TSFCASFileTree/Generated/CASFileTreeProtocol/file_tree.pb.swift:434:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin.
432 | extension LLBDirectoryEntries: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
433 |   public static let protoMessageName: String = "LLBDirectoryEntries"
434 |   public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
    |                                                                 `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin.
435 |     1: .same(proto: "entries"),
436 |   ]
/host/spi-builder-workspace/Sources/TSFCASFileTree/Generated/CASFileTreeProtocol/file_tree.pb.swift:466:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin.
464 | extension LLBFileInfo: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
465 |   public static let protoMessageName: String = "LLBFileInfo"
466 |   public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
    |                                                                 `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin.
467 |     1: .same(proto: "type"),
468 |     2: .same(proto: "size"),
[661/662] Compiling TSFCASFileTree FileTreeExport.swift
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeExport.swift:233:13: warning: capture of 'self' with non-sendable type 'CASFileTreeWalkerDelegate' in a '@Sendable' closure
196 | }
197 |
198 | private final class CASFileTreeWalkerDelegate: RetrieveChildrenProtocol {
    |                     `- note: class 'CASFileTreeWalkerDelegate' does not conform to the 'Sendable' protocol
199 |     let db: LLBCASDatabase
200 |     let exportPathPrefix: AbsolutePath
    :
231 |         let casObjectFuture: LLBFuture<LLBCASObject> = db.get(item.id, ctx).flatMapThrowing {
232 |             casObject in
233 |             self.stats.downloadsInProgressObjects_.wrappingDecrement(ordering: .relaxed)
    |             `- warning: capture of 'self' with non-sendable type 'CASFileTreeWalkerDelegate' in a '@Sendable' closure
234 |
235 |             guard let casObject = casObject else {
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeExport.swift:249:25: warning: capture of 'self' with non-sendable type 'CASFileTreeWalkerDelegate' in a '@Sendable' closure
196 | }
197 |
198 | private final class CASFileTreeWalkerDelegate: RetrieveChildrenProtocol {
    |                     `- note: class 'CASFileTreeWalkerDelegate' does not conform to the 'Sendable' protocol
199 |     let db: LLBCASDatabase
200 |     let exportPathPrefix: AbsolutePath
    :
247 |                 // Unblock the current NIO thread.
248 |                 batcher.execute {
249 |                     try self.parseAndMaterialize(casObject, item).map {
    |                         `- warning: capture of 'self' with non-sendable type 'CASFileTreeWalkerDelegate' in a '@Sendable' closure
250 |                         Item(id: $0.id, exportPath: $0.path, kindHint: $0.kind)
251 |                     }
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeExport.swift:249:25: warning: capture of 'self' with non-sendable type 'CASFileTreeWalkerDelegate' in an isolated closure; this is an error in the Swift 6 language mode
196 | }
197 |
198 | private final class CASFileTreeWalkerDelegate: RetrieveChildrenProtocol {
    |                     `- note: class 'CASFileTreeWalkerDelegate' does not conform to the 'Sendable' protocol
199 |     let db: LLBCASDatabase
200 |     let exportPathPrefix: AbsolutePath
    :
247 |                 // Unblock the current NIO thread.
248 |                 batcher.execute {
249 |                     try self.parseAndMaterialize(casObject, item).map {
    |                         `- warning: capture of 'self' with non-sendable type 'CASFileTreeWalkerDelegate' in an isolated closure; this is an error in the Swift 6 language mode
250 |                         Item(id: $0.id, exportPath: $0.path, kindHint: $0.kind)
251 |                     }
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeExport.swift:256:21: warning: capture of 'self' with non-sendable type 'CASFileTreeWalkerDelegate' in a '@Sendable' closure
196 | }
197 |
198 | private final class CASFileTreeWalkerDelegate: RetrieveChildrenProtocol {
    |                     `- note: class 'CASFileTreeWalkerDelegate' does not conform to the 'Sendable' protocol
199 |     let db: LLBCASDatabase
200 |     let exportPathPrefix: AbsolutePath
    :
254 |         } else {
255 |             return casObjectFuture.flatMapThrowing { casObject in
256 |                 try self.parseAndMaterialize(casObject, item).map {
    |                     `- warning: capture of 'self' with non-sendable type 'CASFileTreeWalkerDelegate' in a '@Sendable' closure
257 |                     Item(id: $0.id, exportPath: $0.path, kindHint: $0.kind)
258 |                 }
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:318:28: warning: type 'T' does not conform to the 'Sendable' protocol
 313 |
 314 |     // Retry with lesser concurrency if we see unexpected network errors.
 315 |     private static func recursivelyDecreasingLimit<T>(
     |                                                    `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 316 |         on loop: LLBFuturesDispatchLoop, limit: Int, _ body: @escaping (Int) -> LLBFuture<T>
 317 |     ) -> LLBFuture<T> {
 318 |         return body(limit).flatMapError { error -> LLBFuture<T> in
     |                            `- warning: type 'T' does not conform to the 'Sendable' protocol
 319 |             // Check if something retryable happened.
 320 |             guard case LLBCASDatabaseError.retryableNetworkError(_) = error else {
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:333:22: warning: type 'T' does not conform to the 'Sendable' protocol
 313 |
 314 |     // Retry with lesser concurrency if we see unexpected network errors.
 315 |     private static func recursivelyDecreasingLimit<T>(
     |                                                    `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 316 |         on loop: LLBFuturesDispatchLoop, limit: Int, _ body: @escaping (Int) -> LLBFuture<T>
 317 |     ) -> LLBFuture<T> {
     :
 331 |             _ = loop.scheduleTask(in: .seconds(3)) {
 332 |                 recursivelyDecreasingLimit(on: loop, limit: newLimit, body)
 333 |                     .cascade(to: promise)
     |                      `- warning: type 'T' does not conform to the 'Sendable' protocol
 334 |             }
 335 |
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:332:71: warning: capture of 'body' with non-sendable type '(Int) -> LLBFuture<T>' (aka '(Int) -> EventLoopFuture<T>') in a '@Sendable' closure
 330 |             let promise = loop.makePromise(of: T.self)
 331 |             _ = loop.scheduleTask(in: .seconds(3)) {
 332 |                 recursivelyDecreasingLimit(on: loop, limit: newLimit, body)
     |                                                                       |- warning: capture of 'body' with non-sendable type '(Int) -> LLBFuture<T>' (aka '(Int) -> EventLoopFuture<T>') in a '@Sendable' closure
     |                                                                       `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 333 |                     .cascade(to: promise)
 334 |             }
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:332:71: warning: capture of 'body' with non-sendable type '(Int) -> LLBFuture<T>' (aka '(Int) -> EventLoopFuture<T>') in a '@Sendable' closure
 330 |             let promise = loop.makePromise(of: T.self)
 331 |             _ = loop.scheduleTask(in: .seconds(3)) {
 332 |                 recursivelyDecreasingLimit(on: loop, limit: newLimit, body)
     |                                                                       |- warning: capture of 'body' with non-sendable type '(Int) -> LLBFuture<T>' (aka '(Int) -> EventLoopFuture<T>') in a '@Sendable' closure
     |                                                                       `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 333 |                     .cascade(to: promise)
 334 |             }
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:486:30: warning: type 'FilesystemObjectType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 484 |                 // We can import individual files just fine.
 485 |                 stats.toImportObjects_.wrappingIncrement(ordering: .relaxed)
 486 |                 return [loop.makeSucceededFuture([(importPath, .REG)])]
     |                              `- warning: type 'FilesystemObjectType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 487 |             } else {
 488 |                 // Scan the filesystem tree using multiple threads.
/host/spi-builder-workspace/Sources/TSFCASFileTree/Internal/ConcurrentFilesystemScanner.swift:429:13: note: consider making enum 'FilesystemObjectType' conform to the 'Sendable' protocol
427 | /// We don't assign values there because the DT_xxx and S_IFxxx values
428 | /// are different yet we support them all since they still form the same set.
429 | public enum FilesystemObjectType: UInt8 {
    |             `- note: consider making enum 'FilesystemObjectType' conform to the 'Sendable' protocol
430 |     case UNKNOWN
431 |     case FIFO
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:502:11: warning: type 'FilesystemObjectType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 500 |                 }
 501 |             }
 502 |         }.flatMap { pathsFutures -> LLBFuture<[[ConcurrentFilesystemScanner.Element]]> in
     |           `- warning: type 'FilesystemObjectType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 503 |             self.whenAllSucceed(pathsFutures)
 504 |         }.map { (pathInfos: [[ConcurrentFilesystemScanner.Element]]) -> [LLBFuture<NextStep>] in
/host/spi-builder-workspace/Sources/TSFCASFileTree/Internal/ConcurrentFilesystemScanner.swift:429:13: note: consider making enum 'FilesystemObjectType' conform to the 'Sendable' protocol
427 | /// We don't assign values there because the DT_xxx and S_IFxxx values
428 | /// are different yet we support them all since they still form the same set.
429 | public enum FilesystemObjectType: UInt8 {
    |             `- note: consider making enum 'FilesystemObjectType' conform to the 'Sendable' protocol
430 |     case UNKNOWN
431 |     case FIFO
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:524:11: warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 522 |                 }
 523 |             }
 524 |         }.flatMap { nextStepFutures -> LLBFuture<[NextStep]> in
     |           `- warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 525 |             self.whenAllSucceed(nextStepFutures)
 526 |         }.flatMap { nextStepFutures -> LLBFuture<[NextStep]> in
     :
 804 |     }
 805 |
 806 |     indirect enum NextStep {
     |                   `- note: consider making enum 'NextStep' conform to the 'Sendable' protocol
 807 |         // Final step in a sequence: stop stepping through.
 808 |         case skipped
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:526:11: warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 524 |         }.flatMap { nextStepFutures -> LLBFuture<[NextStep]> in
 525 |             self.whenAllSucceed(nextStepFutures)
 526 |         }.flatMap { nextStepFutures -> LLBFuture<[NextStep]> in
     |           `- warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 527 |             self.set(phase: .CheckIfUploaded)
 528 |             return self.recursivelyPerformSteps(
     :
 804 |     }
 805 |
 806 |     indirect enum NextStep {
     |                   `- note: consider making enum 'NextStep' conform to the 'Sendable' protocol
 807 |         // Final step in a sequence: stop stepping through.
 808 |         case skipped
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:711:25: warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 709 |
 710 |         guard finalResultPromise.isCompleted == false else {
 711 |             return loop.makeSucceededFuture([])
     |                         `- warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 712 |         }
 713 |
     :
 804 |     }
 805 |
 806 |     indirect enum NextStep {
     |                   `- note: consider making enum 'NextStep' conform to the 'Sendable' protocol
 807 |         // Final step in a sequence: stop stepping through.
 808 |         case skipped
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:731:56: warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 729 |         // Wait for the steps we need to wait in this phase, and then
 730 |         // advance the phase if there are no more steps to wait.
 731 |         return self.whenAllSucceed(waitInCurrentPhase).flatMap { moreStepsInCurrentPhase in
     |                                                        `- warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 732 |             if moreStepsInCurrentPhase.isEmpty {
 733 |                 precondition(!currentPhase.isFinalPhase)  // Avoid infinite recursion
     :
 804 |     }
 805 |
 806 |     indirect enum NextStep {
     |                   `- note: consider making enum 'NextStep' conform to the 'Sendable' protocol
 807 |         // Final step in a sequence: stop stepping through.
 808 |         case skipped
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:736:33: warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 734 |                 let nextPhase = LLBCASFileTree.ImportPhase(rawValue: currentPhase.rawValue + 1)!
 735 |                 guard nextPhase < .UploadingDirs else {
 736 |                     return loop.makeSucceededFuture(finishedSteps + nextPhaseSteps)
     |                                 `- warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 737 |                 }
 738 |                 self.set(phase: nextPhase)
     :
 804 |     }
 805 |
 806 |     indirect enum NextStep {
     |                   `- note: consider making enum 'NextStep' conform to the 'Sendable' protocol
 807 |         // Final step in a sequence: stop stepping through.
 808 |         case skipped
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:736:53: warning: capture of 'finishedSteps' with non-sendable type '[CASTreeImport.NextStep]' in a '@Sendable' closure
 734 |                 let nextPhase = LLBCASFileTree.ImportPhase(rawValue: currentPhase.rawValue + 1)!
 735 |                 guard nextPhase < .UploadingDirs else {
 736 |                     return loop.makeSucceededFuture(finishedSteps + nextPhaseSteps)
     |                                                     `- warning: capture of 'finishedSteps' with non-sendable type '[CASTreeImport.NextStep]' in a '@Sendable' closure
 737 |                 }
 738 |                 self.set(phase: nextPhase)
     :
 804 |     }
 805 |
 806 |     indirect enum NextStep {
     |                   `- note: consider making enum 'NextStep' conform to the 'Sendable' protocol
 807 |         // Final step in a sequence: stop stepping through.
 808 |         case skipped
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:736:69: warning: capture of 'nextPhaseSteps' with non-sendable type '[CASTreeImport.NextStep]' in a '@Sendable' closure
 734 |                 let nextPhase = LLBCASFileTree.ImportPhase(rawValue: currentPhase.rawValue + 1)!
 735 |                 guard nextPhase < .UploadingDirs else {
 736 |                     return loop.makeSucceededFuture(finishedSteps + nextPhaseSteps)
     |                                                                     `- warning: capture of 'nextPhaseSteps' with non-sendable type '[CASTreeImport.NextStep]' in a '@Sendable' closure
 737 |                 }
 738 |                 self.set(phase: nextPhase)
     :
 804 |     }
 805 |
 806 |     indirect enum NextStep {
     |                   `- note: consider making enum 'NextStep' conform to the 'Sendable' protocol
 807 |         // Final step in a sequence: stop stepping through.
 808 |         case skipped
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:736:53: warning: reference to captured var 'finishedSteps' in concurrently-executing code
 734 |                 let nextPhase = LLBCASFileTree.ImportPhase(rawValue: currentPhase.rawValue + 1)!
 735 |                 guard nextPhase < .UploadingDirs else {
 736 |                     return loop.makeSucceededFuture(finishedSteps + nextPhaseSteps)
     |                                                     `- warning: reference to captured var 'finishedSteps' in concurrently-executing code
 737 |                 }
 738 |                 self.set(phase: nextPhase)
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:736:69: warning: reference to captured var 'nextPhaseSteps' in concurrently-executing code
 734 |                 let nextPhase = LLBCASFileTree.ImportPhase(rawValue: currentPhase.rawValue + 1)!
 735 |                 guard nextPhase < .UploadingDirs else {
 736 |                     return loop.makeSucceededFuture(finishedSteps + nextPhaseSteps)
     |                                                                     `- warning: reference to captured var 'nextPhaseSteps' in concurrently-executing code
 737 |                 }
 738 |                 self.set(phase: nextPhase)
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:740:65: warning: reference to captured var 'nextPhaseSteps' in concurrently-executing code
 738 |                 self.set(phase: nextPhase)
 739 |                 return self.recursivelyPerformSteps(
 740 |                     currentPhase: nextPhase, currentPhaseSteps: nextPhaseSteps
     |                                                                 `- warning: reference to captured var 'nextPhaseSteps' in concurrently-executing code
 741 |                 ).map {
 742 |                     finishedSteps + $0
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:742:21: warning: capture of 'finishedSteps' with non-sendable type '[CASTreeImport.NextStep]' in a '@Sendable' closure
 740 |                     currentPhase: nextPhase, currentPhaseSteps: nextPhaseSteps
 741 |                 ).map {
 742 |                     finishedSteps + $0
     |                     `- warning: capture of 'finishedSteps' with non-sendable type '[CASTreeImport.NextStep]' in a '@Sendable' closure
 743 |                 }
 744 |             } else {
     :
 804 |     }
 805 |
 806 |     indirect enum NextStep {
     |                   `- note: consider making enum 'NextStep' conform to the 'Sendable' protocol
 807 |         // Final step in a sequence: stop stepping through.
 808 |         case skipped
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:742:21: warning: reference to captured var 'finishedSteps' in concurrently-executing code
 740 |                     currentPhase: nextPhase, currentPhaseSteps: nextPhaseSteps
 741 |                 ).map {
 742 |                     finishedSteps + $0
     |                     `- warning: reference to captured var 'finishedSteps' in concurrently-executing code
 743 |                 }
 744 |             } else {
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:747:37: warning: reference to captured var 'nextPhaseSteps' in concurrently-executing code
 745 |                 return self.recursivelyPerformSteps(
 746 |                     currentPhase: currentPhase, currentPhaseSteps: moreStepsInCurrentPhase,
 747 |                     nextPhaseSteps: nextPhaseSteps
     |                                     `- warning: reference to captured var 'nextPhaseSteps' in concurrently-executing code
 748 |                 ).map {
 749 |                     finishedSteps + $0
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:749:21: warning: capture of 'finishedSteps' with non-sendable type '[CASTreeImport.NextStep]' in a '@Sendable' closure
 747 |                     nextPhaseSteps: nextPhaseSteps
 748 |                 ).map {
 749 |                     finishedSteps + $0
     |                     `- warning: capture of 'finishedSteps' with non-sendable type '[CASTreeImport.NextStep]' in a '@Sendable' closure
 750 |                 }
 751 |             }
     :
 804 |     }
 805 |
 806 |     indirect enum NextStep {
     |                   `- note: consider making enum 'NextStep' conform to the 'Sendable' protocol
 807 |         // Final step in a sequence: stop stepping through.
 808 |         case skipped
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:749:21: warning: reference to captured var 'finishedSteps' in concurrently-executing code
 747 |                     nextPhaseSteps: nextPhaseSteps
 748 |                 ).map {
 749 |                     finishedSteps + $0
     |                     `- warning: reference to captured var 'finishedSteps' in concurrently-executing code
 750 |                 }
 751 |             }
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1043:45: warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol
 804 |     }
 805 |
 806 |     indirect enum NextStep {
     |                   `- note: consider making enum 'NextStep' conform to the 'Sendable' protocol
 807 |         // Final step in a sequence: stop stepping through.
 808 |         case skipped
     :
1041 |                         > {
1042 |                             guard finalResultPromise.isCompleted == false else {
1043 |                                 return loop.makeSucceededFuture(NextStep.skipped)
     |                                             `- warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol
1044 |                             }
1045 |
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1055:45: warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol
 804 |     }
 805 |
 806 |     indirect enum NextStep {
     |                   `- note: consider making enum 'NextStep' conform to the 'Sendable' protocol
 807 |         // Final step in a sequence: stop stepping through.
 808 |         case skipped
     :
1053 |                                         by: size, ordering: .relaxed)
1054 |                                 }
1055 |                                 return loop.makeSucceededFuture(encodeNextStep(for: blobId))
     |                                             `- warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol
1056 |                             }
1057 |
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1094:51: warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol
 804 |     }
 805 |
 806 |     indirect enum NextStep {
     |                   `- note: consider making enum 'NextStep' conform to the 'Sendable' protocol
 807 |         // Final step in a sequence: stop stepping through.
 808 |         case skipped
     :
1092 |                             let containsFuture = self.dbContains(segm, ctx)
1093 |                             let containsLoop = containsFuture.eventLoop
1094 |                             return containsFuture.flatMap { exists -> LLBFuture<NextStep> in
     |                                                   `- warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol
1095 |
1096 |                                 guard !exists else {
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1097:89: warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol
 804 |     }
 805 |
 806 |     indirect enum NextStep {
     |                   `- note: consider making enum 'NextStep' conform to the 'Sendable' protocol
 807 |         // Final step in a sequence: stop stepping through.
 808 |         case skipped
     :
1095 |
1096 |                                 guard !exists else {
1097 |                                     let existingIdFuture: LLBFuture<NextStep> = segm.id.flatMap {
     |                                                                                         `- warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol
1098 |                                         id in
1099 |                                         return uploadFileInfo(
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1106:53: warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol
 804 |     }
 805 |
 806 |     indirect enum NextStep {
     |                   `- note: consider making enum 'NextStep' conform to the 'Sendable' protocol
 807 |         // Final step in a sequence: stop stepping through.
 808 |         case skipped
     :
1104 |                                 }
1105 |
1106 |                                 return containsLoop.makeSucceededFuture(
     |                                                     `- warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol
1107 |                                     NextStep.execute(
1108 |                                         in: .UploadingFiles,
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1129:61: warning: 'executeWithBackpressure(on:loop:size:default:_:)' is deprecated: This method blocks indefinitely and returns a future
1127 |                                                 // free to take our load. This ensures that we're not
1128 |                                                 // limited by CPU parallelism for network concurrency.
1129 |                                                 return self.executeWithBackpressure(
     |                                                             `- warning: 'executeWithBackpressure(on:loop:size:default:_:)' is deprecated: This method blocks indefinitely and returns a future
1130 |                                                     on: self.netQueue, loop: containsLoop,
1131 |                                                     size: slice.readableBytes, default: .skipped
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1136:55: warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol
 804 |     }
 805 |
 806 |     indirect enum NextStep {
     |                   `- note: consider making enum 'NextStep' conform to the 'Sendable' protocol
 807 |         // Final step in a sequence: stop stepping through.
 808 |         case skipped
     :
1134 |                                                         refs: [], data: slice,
1135 |                                                         importSize: segm.uncompressedSize, ctx
1136 |                                                     ).flatMap { id -> LLBFuture<NextStep> in
     |                                                       `- warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol
1137 |                                                         withExtendedLifetime(importObject) {  // for mmap
1138 |                                                             uploadFileInfo(blobId: id)
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1142:55: warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol
 804 |     }
 805 |
 806 |     indirect enum NextStep {
     |                   `- note: consider making enum 'NextStep' conform to the 'Sendable' protocol
 807 |         // Final step in a sequence: stop stepping through.
 808 |         case skipped
     :
1140 |                                                     }.map { result in
1141 |                                                         return result
1142 |                                                     }.hop(to: loop)
     |                                                       `- warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol
1143 |                                                 }
1144 |                                             }.flatMap {
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1144:47: warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol
 804 |     }
 805 |
 806 |     indirect enum NextStep {
     |                   `- note: consider making enum 'NextStep' conform to the 'Sendable' protocol
 807 |         // Final step in a sequence: stop stepping through.
 808 |         case skipped
     :
1142 |                                                     }.hop(to: loop)
1143 |                                                 }
1144 |                                             }.flatMap {
     |                                               `- warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol
1145 |                                                 // This type of return ensures that cpuQueue does not
1146 |                                                 // wait for the netQueue operation to complete.
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1147:60: warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol
 804 |     }
 805 |
 806 |     indirect enum NextStep {
     |                   `- note: consider making enum 'NextStep' conform to the 'Sendable' protocol
 807 |         // Final step in a sequence: stop stepping through.
 808 |         case skipped
     :
1145 |                                                 // This type of return ensures that cpuQueue does not
1146 |                                                 // wait for the netQueue operation to complete.
1147 |                                                 $0 ?? loop.makeSucceededFuture(NextStep.skipped)
     |                                                            `- warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol
1148 |                                             }
1149 |                                             nextStepFuture.cascade(to: partialStepPromise)
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1202:23: warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol
 804 |     }
 805 |
 806 |     indirect enum NextStep {
     |                   `- note: consider making enum 'NextStep' conform to the 'Sendable' protocol
 807 |         // Final step in a sequence: stop stepping through.
 808 |         case skipped
     :
1200 |                         throw error
1201 |
1202 |                     }.flatMap { nextSteps in
     |                       `- warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol
1203 |                         // The next steps can only be empty if we've reacting on
1204 |                         // a filesystem-related error with some of our chunks.
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1206:41: warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol
 804 |     }
 805 |
 806 |     indirect enum NextStep {
     |                   `- note: consider making enum 'NextStep' conform to the 'Sendable' protocol
 807 |         // Final step in a sequence: stop stepping through.
 808 |         case skipped
     :
1204 |                         // a filesystem-related error with some of our chunks.
1205 |                         guard nextSteps.isEmpty == false else {
1206 |                             return loop.makeSucceededFuture(.skipped)
     |                                         `- warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol
1207 |                         }
1208 |
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1253:49: warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol
 804 |     }
 805 |
 806 |     indirect enum NextStep {
     |                   `- note: consider making enum 'NextStep' conform to the 'Sendable' protocol
 807 |         // Final step in a sequence: stop stepping through.
 808 |         case skipped
     :
1251 |             // have been uploaded. Therefore we wait for the huge files in
1252 |             // its own state, .UploadingWait.
1253 |             return cheapNextStepFutures + [loop.makeSucceededFuture(combinePartialResultsStep)]
     |                                                 `- warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol
1254 |         }
1255 |
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1260:22: warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol
 804 |     }
 805 |
 806 |     indirect enum NextStep {
     |                   `- note: consider making enum 'NextStep' conform to the 'Sendable' protocol
 807 |         // Final step in a sequence: stop stepping through.
 808 |         case skipped
     :
1258 |             in: .EstimatingSize,
1259 |             run: {
1260 |                 loop.makeSucceededFuture(
     |                      `- warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol
1261 |                     NextStep.wait(
1262 |                         in: .CheckIfUploaded,
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1079:37: warning: capture of 'encodeNextStep(for:)' with non-sendable type '(LLBDataID) -> CASTreeImport.NextStep' in a '@Sendable' closure
1077 |                                     importSize: importSize, ctx
1078 |                                 ).map { id in
1079 |                                     encodeNextStep(for: id)
     |                                     |- warning: capture of 'encodeNextStep(for:)' with non-sendable type '(LLBDataID) -> CASTreeImport.NextStep' in a '@Sendable' closure
     |                                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1080 |                                 }
1081 |                             } catch {
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1025:30: warning: concurrently-executed local function 'encodeNextStep(for:)' must be marked as '@Sendable'
1023 |                             promise: loop.makePromise(of: NextStep.self))
1024 |
1025 |                         func encodeNextStep(for id: LLBDataID) -> NextStep {
     |                              `- warning: concurrently-executed local function 'encodeNextStep(for:)' must be marked as '@Sendable'
1026 |                             if isSingleChunk {
1027 |                                 return .singleFile(
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1099:48: warning: capture of 'uploadFileInfo(blobId:importSize:)' with non-sendable type '(LLBDataID, Int?) -> LLBFuture<CASTreeImport.NextStep>' (aka '(LLBDataID, Optional<Int>) -> EventLoopFuture<CASTreeImport.NextStep>') in a '@Sendable' closure
1097 |                                     let existingIdFuture: LLBFuture<NextStep> = segm.id.flatMap {
1098 |                                         id in
1099 |                                         return uploadFileInfo(
     |                                                |- warning: capture of 'uploadFileInfo(blobId:importSize:)' with non-sendable type '(LLBDataID, Int?) -> LLBFuture<CASTreeImport.NextStep>' (aka '(LLBDataID, Optional<Int>) -> EventLoopFuture<CASTreeImport.NextStep>') in a '@Sendable' closure
     |                                                `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1100 |                                             blobId: id, importSize: segm.uncompressedSize)
1101 |                                     }
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1115:56: warning: capture of 'importObject' with non-sendable type 'ObjectToImport' in a '@Sendable' closure
 911 |         let type: LLBFileType
 912 |         let allSegmentsUncompressedDataSize: Int
 913 |         enum ObjectToImport {
     |              `- note: consider making enum 'ObjectToImport' conform to the 'Sendable' protocol
 914 |             case link(target: LLBFastData)
 915 |             case file(file: FileSegmenter, posixDetails: LLBPosixFileDetails)
     :
1113 |                                                 let data: LLBFastData
1114 |
1115 |                                                 switch importObject {
     |                                                        `- warning: capture of 'importObject' with non-sendable type 'ObjectToImport' in a '@Sendable' closure
1116 |                                                 case .link(let target):
1117 |                                                     data = target
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1099:48: warning: capture of 'uploadFileInfo(blobId:importSize:)' with non-sendable type '(LLBDataID, Int?) -> LLBFuture<CASTreeImport.NextStep>' (aka '(LLBDataID, Optional<Int>) -> EventLoopFuture<CASTreeImport.NextStep>') in a '@Sendable' closure
1097 |                                     let existingIdFuture: LLBFuture<NextStep> = segm.id.flatMap {
1098 |                                         id in
1099 |                                         return uploadFileInfo(
     |                                                |- warning: capture of 'uploadFileInfo(blobId:importSize:)' with non-sendable type '(LLBDataID, Int?) -> LLBFuture<CASTreeImport.NextStep>' (aka '(LLBDataID, Optional<Int>) -> EventLoopFuture<CASTreeImport.NextStep>') in a '@Sendable' closure
     |                                                `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1100 |                                             blobId: id, importSize: segm.uncompressedSize)
1101 |                                     }
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1039:30: warning: concurrently-executed local function 'uploadFileInfo(blobId:importSize:)' must be marked as '@Sendable'
1037 |                         // If the file has non-standard layout, upload it after we upload
1038 |                         // the binary blob.
1039 |                         func uploadFileInfo(blobId: LLBDataID, importSize: Int? = nil) -> LLBFuture<
     |                              `- warning: concurrently-executed local function 'uploadFileInfo(blobId:importSize:)' must be marked as '@Sendable'
1040 |                             NextStep
1041 |                         > {
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1115:56: warning: capture of 'importObject' with non-sendable type 'ObjectToImport' in an isolated closure; this is an error in the Swift 6 language mode
 911 |         let type: LLBFileType
 912 |         let allSegmentsUncompressedDataSize: Int
 913 |         enum ObjectToImport {
     |              `- note: consider making enum 'ObjectToImport' conform to the 'Sendable' protocol
 914 |             case link(target: LLBFastData)
 915 |             case file(file: FileSegmenter, posixDetails: LLBPosixFileDetails)
     :
1113 |                                                 let data: LLBFastData
1114 |
1115 |                                                 switch importObject {
     |                                                        `- warning: capture of 'importObject' with non-sendable type 'ObjectToImport' in an isolated closure; this is an error in the Swift 6 language mode
1116 |                                                 case .link(let target):
1117 |                                                     data = target
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1138:61: warning: capture of 'uploadFileInfo(blobId:importSize:)' with non-sendable type '(LLBDataID, Int?) -> LLBFuture<CASTreeImport.NextStep>' (aka '(LLBDataID, Optional<Int>) -> EventLoopFuture<CASTreeImport.NextStep>') in an isolated closure; this is an error in the Swift 6 language mode
1136 |                                                     ).flatMap { id -> LLBFuture<NextStep> in
1137 |                                                         withExtendedLifetime(importObject) {  // for mmap
1138 |                                                             uploadFileInfo(blobId: id)
     |                                                             |- warning: capture of 'uploadFileInfo(blobId:importSize:)' with non-sendable type '(LLBDataID, Int?) -> LLBFuture<CASTreeImport.NextStep>' (aka '(LLBDataID, Optional<Int>) -> EventLoopFuture<CASTreeImport.NextStep>') in an isolated closure; this is an error in the Swift 6 language mode
     |                                                             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1139 |                                                         }
1140 |                                                     }.map { result in
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1115:56: warning: capture of 'importObject' with non-sendable type 'ObjectToImport' in an isolated closure; this is an error in the Swift 6 language mode
 911 |         let type: LLBFileType
 912 |         let allSegmentsUncompressedDataSize: Int
 913 |         enum ObjectToImport {
     |              `- note: consider making enum 'ObjectToImport' conform to the 'Sendable' protocol
 914 |             case link(target: LLBFastData)
 915 |             case file(file: FileSegmenter, posixDetails: LLBPosixFileDetails)
     :
1113 |                                                 let data: LLBFastData
1114 |
1115 |                                                 switch importObject {
     |                                                        `- warning: capture of 'importObject' with non-sendable type 'ObjectToImport' in an isolated closure; this is an error in the Swift 6 language mode
1116 |                                                 case .link(let target):
1117 |                                                     data = target
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1138:61: warning: capture of 'uploadFileInfo(blobId:importSize:)' with non-sendable type '(LLBDataID, Int?) -> LLBFuture<CASTreeImport.NextStep>' (aka '(LLBDataID, Optional<Int>) -> EventLoopFuture<CASTreeImport.NextStep>') in an isolated closure; this is an error in the Swift 6 language mode
1136 |                                                     ).flatMap { id -> LLBFuture<NextStep> in
1137 |                                                         withExtendedLifetime(importObject) {  // for mmap
1138 |                                                             uploadFileInfo(blobId: id)
     |                                                             |- warning: capture of 'uploadFileInfo(blobId:importSize:)' with non-sendable type '(LLBDataID, Int?) -> LLBFuture<CASTreeImport.NextStep>' (aka '(LLBDataID, Optional<Int>) -> EventLoopFuture<CASTreeImport.NextStep>') in an isolated closure; this is an error in the Swift 6 language mode
     |                                                             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1139 |                                                         }
1140 |                                                     }.map { result in
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1137:78: warning: capture of 'importObject' with non-sendable type 'ObjectToImport' in an isolated closure; this is an error in the Swift 6 language mode
 911 |         let type: LLBFileType
 912 |         let allSegmentsUncompressedDataSize: Int
 913 |         enum ObjectToImport {
     |              `- note: consider making enum 'ObjectToImport' conform to the 'Sendable' protocol
 914 |             case link(target: LLBFastData)
 915 |             case file(file: FileSegmenter, posixDetails: LLBPosixFileDetails)
     :
1135 |                                                         importSize: segm.uncompressedSize, ctx
1136 |                                                     ).flatMap { id -> LLBFuture<NextStep> in
1137 |                                                         withExtendedLifetime(importObject) {  // for mmap
     |                                                                              `- warning: capture of 'importObject' with non-sendable type 'ObjectToImport' in an isolated closure; this is an error in the Swift 6 language mode
1138 |                                                             uploadFileInfo(blobId: id)
1139 |                                                         }
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1138:61: warning: capture of 'uploadFileInfo(blobId:importSize:)' with non-sendable type '(LLBDataID, Int?) -> LLBFuture<CASTreeImport.NextStep>' (aka '(LLBDataID, Optional<Int>) -> EventLoopFuture<CASTreeImport.NextStep>') in an isolated closure; this is an error in the Swift 6 language mode
1136 |                                                     ).flatMap { id -> LLBFuture<NextStep> in
1137 |                                                         withExtendedLifetime(importObject) {  // for mmap
1138 |                                                             uploadFileInfo(blobId: id)
     |                                                             |- warning: capture of 'uploadFileInfo(blobId:importSize:)' with non-sendable type '(LLBDataID, Int?) -> LLBFuture<CASTreeImport.NextStep>' (aka '(LLBDataID, Optional<Int>) -> EventLoopFuture<CASTreeImport.NextStep>') in an isolated closure; this is an error in the Swift 6 language mode
     |                                                             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1139 |                                                         }
1140 |                                                     }.map { result in
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1137:78: warning: capture of 'importObject' with non-sendable type 'ObjectToImport' in a '@Sendable' closure
 911 |         let type: LLBFileType
 912 |         let allSegmentsUncompressedDataSize: Int
 913 |         enum ObjectToImport {
     |              `- note: consider making enum 'ObjectToImport' conform to the 'Sendable' protocol
 914 |             case link(target: LLBFastData)
 915 |             case file(file: FileSegmenter, posixDetails: LLBPosixFileDetails)
     :
1135 |                                                         importSize: segm.uncompressedSize, ctx
1136 |                                                     ).flatMap { id -> LLBFuture<NextStep> in
1137 |                                                         withExtendedLifetime(importObject) {  // for mmap
     |                                                                              `- warning: capture of 'importObject' with non-sendable type 'ObjectToImport' in a '@Sendable' closure
1138 |                                                             uploadFileInfo(blobId: id)
1139 |                                                         }
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1138:61: warning: capture of 'uploadFileInfo(blobId:importSize:)' with non-sendable type '(LLBDataID, Int?) -> LLBFuture<CASTreeImport.NextStep>' (aka '(LLBDataID, Optional<Int>) -> EventLoopFuture<CASTreeImport.NextStep>') in a '@Sendable' closure
1136 |                                                     ).flatMap { id -> LLBFuture<NextStep> in
1137 |                                                         withExtendedLifetime(importObject) {  // for mmap
1138 |                                                             uploadFileInfo(blobId: id)
     |                                                             |- warning: capture of 'uploadFileInfo(blobId:importSize:)' with non-sendable type '(LLBDataID, Int?) -> LLBFuture<CASTreeImport.NextStep>' (aka '(LLBDataID, Optional<Int>) -> EventLoopFuture<CASTreeImport.NextStep>') in a '@Sendable' closure
     |                                                             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1139 |                                                         }
1140 |                                                     }.map { result in
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1138:61: warning: capture of 'uploadFileInfo(blobId:importSize:)' with non-sendable type '(LLBDataID, Int?) -> LLBFuture<CASTreeImport.NextStep>' (aka '(LLBDataID, Optional<Int>) -> EventLoopFuture<CASTreeImport.NextStep>') in an isolated closure; this is an error in the Swift 6 language mode
1136 |                                                     ).flatMap { id -> LLBFuture<NextStep> in
1137 |                                                         withExtendedLifetime(importObject) {  // for mmap
1138 |                                                             uploadFileInfo(blobId: id)
     |                                                             |- warning: capture of 'uploadFileInfo(blobId:importSize:)' with non-sendable type '(LLBDataID, Int?) -> LLBFuture<CASTreeImport.NextStep>' (aka '(LLBDataID, Optional<Int>) -> EventLoopFuture<CASTreeImport.NextStep>') in an isolated closure; this is an error in the Swift 6 language mode
     |                                                             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1139 |                                                         }
1140 |                                                     }.map { result in
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1224:44: warning: capture of 'importObject' with non-sendable type 'ObjectToImport' in a '@Sendable' closure
 911 |         let type: LLBFileType
 912 |         let allSegmentsUncompressedDataSize: Int
 913 |         enum ObjectToImport {
     |              `- note: consider making enum 'ObjectToImport' conform to the 'Sendable' protocol
 914 |             case link(target: LLBFastData)
 915 |             case file(file: FileSegmenter, posixDetails: LLBPosixFileDetails)
     :
1222 |                             chunkIds.count > 1
1223 |                                 ? self.options.fileChunkSize : allSegmentsUncompressedDataSize)
1224 |                         let posixDetails = importObject.posixDetails
     |                                            `- warning: capture of 'importObject' with non-sendable type 'ObjectToImport' in a '@Sendable' closure
1225 |                         fileInfo.update(posixDetails: posixDetails, options: self.options)
1226 |                         do {
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1307:25: warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
1300 |     }
1301 |
1302 |     private func whenAllSucceed<Value>(
     |                                 `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
1303 |         _ futures: [LLBFuture<Value>], on loop: LLBFuturesDispatchLoop? = nil
1304 |     ) -> LLBFuture<[Value]> {
1305 |         let loop = loop ?? self.loop
1306 |         guard finalResultPromise.isCompleted == false else {
1307 |             return loop.makeSucceededFuture([])
     |                         `- warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
1308 |         }
1309 |         return LLBFuture.whenAllSucceed(futures, on: loop).map { result in
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1309:26: warning: type 'Value' does not conform to the 'Sendable' protocol
1300 |     }
1301 |
1302 |     private func whenAllSucceed<Value>(
     |                                 `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
1303 |         _ futures: [LLBFuture<Value>], on loop: LLBFuturesDispatchLoop? = nil
1304 |     ) -> LLBFuture<[Value]> {
     :
1307 |             return loop.makeSucceededFuture([])
1308 |         }
1309 |         return LLBFuture.whenAllSucceed(futures, on: loop).map { result in
     |                          `- warning: type 'Value' does not conform to the 'Sendable' protocol
1310 |             guard self.finalResultPromise.isCompleted == false else {
1311 |                 return []
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1327:39: warning: type 'T' does not conform to the 'Sendable' protocol
1320 |     /// Enqueue the callback unless the stop flag is in action.
1321 |     /// If stop flag is set, return the value specified in `then`.
1322 |     private func execute<T>(
     |                          `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
1323 |         on queue: LLBBatchingFutureOperationQueue, default stopValue: T,
1324 |         _ body: @escaping () throws -> T
1325 |     ) -> LLBFuture<T> {
1326 |         guard finalResultPromise.isCompleted == false else {
1327 |             return queue.group.next().makeSucceededFuture(stopValue)
     |                                       `- warning: type 'T' does not conform to the 'Sendable' protocol
1328 |         }
1329 |         return queue.execute {
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1350:25: warning: type 'T' does not conform to the 'Sendable' protocol
1342 |     /// Enqueue the callback unless the stop flag is in action.
1343 |     /// If stop flag is set, return the value specified in `then`.
1344 |     private func execute<T>(
     |                          `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
1345 |         on queue: LLBFutureOperationQueue, loop: EventLoop? = nil, size: Int = 1,
1346 |         default stopValue: T, _ body: @escaping () -> LLBFuture<T>
     :
1348 |         let loop = loop ?? self.loop
1349 |         guard finalResultPromise.isCompleted == false else {
1350 |             return loop.makeSucceededFuture(stopValue)
     |                         `- warning: type 'T' does not conform to the 'Sendable' protocol
1351 |         }
1352 |         return queue.enqueue(on: loop, share: size) {
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1354:29: warning: type 'T' does not conform to the 'Sendable' protocol
1342 |     /// Enqueue the callback unless the stop flag is in action.
1343 |     /// If stop flag is set, return the value specified in `then`.
1344 |     private func execute<T>(
     |                          `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
1345 |         on queue: LLBFutureOperationQueue, loop: EventLoop? = nil, size: Int = 1,
1346 |         default stopValue: T, _ body: @escaping () -> LLBFuture<T>
     :
1352 |         return queue.enqueue(on: loop, share: size) {
1353 |             guard self.finalResultPromise.isCompleted == false else {
1354 |                 return loop.makeSucceededFuture(stopValue)
     |                             `- warning: type 'T' does not conform to the 'Sendable' protocol
1355 |             }
1356 |             return body().flatMapErrorThrowing { error in
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1374:25: warning: type 'T' does not conform to the 'Sendable' protocol
1367 |     )
1368 |     @available(*, deprecated, message: "This method blocks indefinitely and returns a future")
1369 |     private func executeWithBackpressure<T>(
     |                                          `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
1370 |         on queue: LLBFutureOperationQueue, loop: LLBFuturesDispatchLoop, size: Int = 1,
1371 |         default stopValue: T, _ body: @escaping () -> LLBFuture<T>
1372 |     ) -> LLBFuture<T> {
1373 |         guard finalResultPromise.isCompleted == false else {
1374 |             return loop.makeSucceededFuture(stopValue)
     |                         `- warning: type 'T' does not conform to the 'Sendable' protocol
1375 |         }
1376 |         return queue.enqueueWithBackpressure(on: loop, share: size) {
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1378:29: warning: type 'T' does not conform to the 'Sendable' protocol
1367 |     )
1368 |     @available(*, deprecated, message: "This method blocks indefinitely and returns a future")
1369 |     private func executeWithBackpressure<T>(
     |                                          `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
1370 |         on queue: LLBFutureOperationQueue, loop: LLBFuturesDispatchLoop, size: Int = 1,
1371 |         default stopValue: T, _ body: @escaping () -> LLBFuture<T>
     :
1376 |         return queue.enqueueWithBackpressure(on: loop, share: size) {
1377 |             guard self.finalResultPromise.isCompleted == false else {
1378 |                 return loop.makeSucceededFuture(stopValue)
     |                             `- warning: type 'T' does not conform to the 'Sendable' protocol
1379 |             }
1380 |             return body().flatMapErrorThrowing { error in
[662/662] Compiling TSFCASFileTree FileTreeImport.swift
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeExport.swift:233:13: warning: capture of 'self' with non-sendable type 'CASFileTreeWalkerDelegate' in a '@Sendable' closure
196 | }
197 |
198 | private final class CASFileTreeWalkerDelegate: RetrieveChildrenProtocol {
    |                     `- note: class 'CASFileTreeWalkerDelegate' does not conform to the 'Sendable' protocol
199 |     let db: LLBCASDatabase
200 |     let exportPathPrefix: AbsolutePath
    :
231 |         let casObjectFuture: LLBFuture<LLBCASObject> = db.get(item.id, ctx).flatMapThrowing {
232 |             casObject in
233 |             self.stats.downloadsInProgressObjects_.wrappingDecrement(ordering: .relaxed)
    |             `- warning: capture of 'self' with non-sendable type 'CASFileTreeWalkerDelegate' in a '@Sendable' closure
234 |
235 |             guard let casObject = casObject else {
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeExport.swift:249:25: warning: capture of 'self' with non-sendable type 'CASFileTreeWalkerDelegate' in a '@Sendable' closure
196 | }
197 |
198 | private final class CASFileTreeWalkerDelegate: RetrieveChildrenProtocol {
    |                     `- note: class 'CASFileTreeWalkerDelegate' does not conform to the 'Sendable' protocol
199 |     let db: LLBCASDatabase
200 |     let exportPathPrefix: AbsolutePath
    :
247 |                 // Unblock the current NIO thread.
248 |                 batcher.execute {
249 |                     try self.parseAndMaterialize(casObject, item).map {
    |                         `- warning: capture of 'self' with non-sendable type 'CASFileTreeWalkerDelegate' in a '@Sendable' closure
250 |                         Item(id: $0.id, exportPath: $0.path, kindHint: $0.kind)
251 |                     }
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeExport.swift:249:25: warning: capture of 'self' with non-sendable type 'CASFileTreeWalkerDelegate' in an isolated closure; this is an error in the Swift 6 language mode
196 | }
197 |
198 | private final class CASFileTreeWalkerDelegate: RetrieveChildrenProtocol {
    |                     `- note: class 'CASFileTreeWalkerDelegate' does not conform to the 'Sendable' protocol
199 |     let db: LLBCASDatabase
200 |     let exportPathPrefix: AbsolutePath
    :
247 |                 // Unblock the current NIO thread.
248 |                 batcher.execute {
249 |                     try self.parseAndMaterialize(casObject, item).map {
    |                         `- warning: capture of 'self' with non-sendable type 'CASFileTreeWalkerDelegate' in an isolated closure; this is an error in the Swift 6 language mode
250 |                         Item(id: $0.id, exportPath: $0.path, kindHint: $0.kind)
251 |                     }
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeExport.swift:256:21: warning: capture of 'self' with non-sendable type 'CASFileTreeWalkerDelegate' in a '@Sendable' closure
196 | }
197 |
198 | private final class CASFileTreeWalkerDelegate: RetrieveChildrenProtocol {
    |                     `- note: class 'CASFileTreeWalkerDelegate' does not conform to the 'Sendable' protocol
199 |     let db: LLBCASDatabase
200 |     let exportPathPrefix: AbsolutePath
    :
254 |         } else {
255 |             return casObjectFuture.flatMapThrowing { casObject in
256 |                 try self.parseAndMaterialize(casObject, item).map {
    |                     `- warning: capture of 'self' with non-sendable type 'CASFileTreeWalkerDelegate' in a '@Sendable' closure
257 |                     Item(id: $0.id, exportPath: $0.path, kindHint: $0.kind)
258 |                 }
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:318:28: warning: type 'T' does not conform to the 'Sendable' protocol
 313 |
 314 |     // Retry with lesser concurrency if we see unexpected network errors.
 315 |     private static func recursivelyDecreasingLimit<T>(
     |                                                    `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 316 |         on loop: LLBFuturesDispatchLoop, limit: Int, _ body: @escaping (Int) -> LLBFuture<T>
 317 |     ) -> LLBFuture<T> {
 318 |         return body(limit).flatMapError { error -> LLBFuture<T> in
     |                            `- warning: type 'T' does not conform to the 'Sendable' protocol
 319 |             // Check if something retryable happened.
 320 |             guard case LLBCASDatabaseError.retryableNetworkError(_) = error else {
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:333:22: warning: type 'T' does not conform to the 'Sendable' protocol
 313 |
 314 |     // Retry with lesser concurrency if we see unexpected network errors.
 315 |     private static func recursivelyDecreasingLimit<T>(
     |                                                    `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 316 |         on loop: LLBFuturesDispatchLoop, limit: Int, _ body: @escaping (Int) -> LLBFuture<T>
 317 |     ) -> LLBFuture<T> {
     :
 331 |             _ = loop.scheduleTask(in: .seconds(3)) {
 332 |                 recursivelyDecreasingLimit(on: loop, limit: newLimit, body)
 333 |                     .cascade(to: promise)
     |                      `- warning: type 'T' does not conform to the 'Sendable' protocol
 334 |             }
 335 |
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:332:71: warning: capture of 'body' with non-sendable type '(Int) -> LLBFuture<T>' (aka '(Int) -> EventLoopFuture<T>') in a '@Sendable' closure
 330 |             let promise = loop.makePromise(of: T.self)
 331 |             _ = loop.scheduleTask(in: .seconds(3)) {
 332 |                 recursivelyDecreasingLimit(on: loop, limit: newLimit, body)
     |                                                                       |- warning: capture of 'body' with non-sendable type '(Int) -> LLBFuture<T>' (aka '(Int) -> EventLoopFuture<T>') in a '@Sendable' closure
     |                                                                       `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 333 |                     .cascade(to: promise)
 334 |             }
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:332:71: warning: capture of 'body' with non-sendable type '(Int) -> LLBFuture<T>' (aka '(Int) -> EventLoopFuture<T>') in a '@Sendable' closure
 330 |             let promise = loop.makePromise(of: T.self)
 331 |             _ = loop.scheduleTask(in: .seconds(3)) {
 332 |                 recursivelyDecreasingLimit(on: loop, limit: newLimit, body)
     |                                                                       |- warning: capture of 'body' with non-sendable type '(Int) -> LLBFuture<T>' (aka '(Int) -> EventLoopFuture<T>') in a '@Sendable' closure
     |                                                                       `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 333 |                     .cascade(to: promise)
 334 |             }
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:486:30: warning: type 'FilesystemObjectType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 484 |                 // We can import individual files just fine.
 485 |                 stats.toImportObjects_.wrappingIncrement(ordering: .relaxed)
 486 |                 return [loop.makeSucceededFuture([(importPath, .REG)])]
     |                              `- warning: type 'FilesystemObjectType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 487 |             } else {
 488 |                 // Scan the filesystem tree using multiple threads.
/host/spi-builder-workspace/Sources/TSFCASFileTree/Internal/ConcurrentFilesystemScanner.swift:429:13: note: consider making enum 'FilesystemObjectType' conform to the 'Sendable' protocol
427 | /// We don't assign values there because the DT_xxx and S_IFxxx values
428 | /// are different yet we support them all since they still form the same set.
429 | public enum FilesystemObjectType: UInt8 {
    |             `- note: consider making enum 'FilesystemObjectType' conform to the 'Sendable' protocol
430 |     case UNKNOWN
431 |     case FIFO
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:502:11: warning: type 'FilesystemObjectType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 500 |                 }
 501 |             }
 502 |         }.flatMap { pathsFutures -> LLBFuture<[[ConcurrentFilesystemScanner.Element]]> in
     |           `- warning: type 'FilesystemObjectType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 503 |             self.whenAllSucceed(pathsFutures)
 504 |         }.map { (pathInfos: [[ConcurrentFilesystemScanner.Element]]) -> [LLBFuture<NextStep>] in
/host/spi-builder-workspace/Sources/TSFCASFileTree/Internal/ConcurrentFilesystemScanner.swift:429:13: note: consider making enum 'FilesystemObjectType' conform to the 'Sendable' protocol
427 | /// We don't assign values there because the DT_xxx and S_IFxxx values
428 | /// are different yet we support them all since they still form the same set.
429 | public enum FilesystemObjectType: UInt8 {
    |             `- note: consider making enum 'FilesystemObjectType' conform to the 'Sendable' protocol
430 |     case UNKNOWN
431 |     case FIFO
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:524:11: warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 522 |                 }
 523 |             }
 524 |         }.flatMap { nextStepFutures -> LLBFuture<[NextStep]> in
     |           `- warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 525 |             self.whenAllSucceed(nextStepFutures)
 526 |         }.flatMap { nextStepFutures -> LLBFuture<[NextStep]> in
     :
 804 |     }
 805 |
 806 |     indirect enum NextStep {
     |                   `- note: consider making enum 'NextStep' conform to the 'Sendable' protocol
 807 |         // Final step in a sequence: stop stepping through.
 808 |         case skipped
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:526:11: warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 524 |         }.flatMap { nextStepFutures -> LLBFuture<[NextStep]> in
 525 |             self.whenAllSucceed(nextStepFutures)
 526 |         }.flatMap { nextStepFutures -> LLBFuture<[NextStep]> in
     |           `- warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 527 |             self.set(phase: .CheckIfUploaded)
 528 |             return self.recursivelyPerformSteps(
     :
 804 |     }
 805 |
 806 |     indirect enum NextStep {
     |                   `- note: consider making enum 'NextStep' conform to the 'Sendable' protocol
 807 |         // Final step in a sequence: stop stepping through.
 808 |         case skipped
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:711:25: warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 709 |
 710 |         guard finalResultPromise.isCompleted == false else {
 711 |             return loop.makeSucceededFuture([])
     |                         `- warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 712 |         }
 713 |
     :
 804 |     }
 805 |
 806 |     indirect enum NextStep {
     |                   `- note: consider making enum 'NextStep' conform to the 'Sendable' protocol
 807 |         // Final step in a sequence: stop stepping through.
 808 |         case skipped
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:731:56: warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 729 |         // Wait for the steps we need to wait in this phase, and then
 730 |         // advance the phase if there are no more steps to wait.
 731 |         return self.whenAllSucceed(waitInCurrentPhase).flatMap { moreStepsInCurrentPhase in
     |                                                        `- warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 732 |             if moreStepsInCurrentPhase.isEmpty {
 733 |                 precondition(!currentPhase.isFinalPhase)  // Avoid infinite recursion
     :
 804 |     }
 805 |
 806 |     indirect enum NextStep {
     |                   `- note: consider making enum 'NextStep' conform to the 'Sendable' protocol
 807 |         // Final step in a sequence: stop stepping through.
 808 |         case skipped
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:736:33: warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 734 |                 let nextPhase = LLBCASFileTree.ImportPhase(rawValue: currentPhase.rawValue + 1)!
 735 |                 guard nextPhase < .UploadingDirs else {
 736 |                     return loop.makeSucceededFuture(finishedSteps + nextPhaseSteps)
     |                                 `- warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 737 |                 }
 738 |                 self.set(phase: nextPhase)
     :
 804 |     }
 805 |
 806 |     indirect enum NextStep {
     |                   `- note: consider making enum 'NextStep' conform to the 'Sendable' protocol
 807 |         // Final step in a sequence: stop stepping through.
 808 |         case skipped
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:736:53: warning: capture of 'finishedSteps' with non-sendable type '[CASTreeImport.NextStep]' in a '@Sendable' closure
 734 |                 let nextPhase = LLBCASFileTree.ImportPhase(rawValue: currentPhase.rawValue + 1)!
 735 |                 guard nextPhase < .UploadingDirs else {
 736 |                     return loop.makeSucceededFuture(finishedSteps + nextPhaseSteps)
     |                                                     `- warning: capture of 'finishedSteps' with non-sendable type '[CASTreeImport.NextStep]' in a '@Sendable' closure
 737 |                 }
 738 |                 self.set(phase: nextPhase)
     :
 804 |     }
 805 |
 806 |     indirect enum NextStep {
     |                   `- note: consider making enum 'NextStep' conform to the 'Sendable' protocol
 807 |         // Final step in a sequence: stop stepping through.
 808 |         case skipped
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:736:69: warning: capture of 'nextPhaseSteps' with non-sendable type '[CASTreeImport.NextStep]' in a '@Sendable' closure
 734 |                 let nextPhase = LLBCASFileTree.ImportPhase(rawValue: currentPhase.rawValue + 1)!
 735 |                 guard nextPhase < .UploadingDirs else {
 736 |                     return loop.makeSucceededFuture(finishedSteps + nextPhaseSteps)
     |                                                                     `- warning: capture of 'nextPhaseSteps' with non-sendable type '[CASTreeImport.NextStep]' in a '@Sendable' closure
 737 |                 }
 738 |                 self.set(phase: nextPhase)
     :
 804 |     }
 805 |
 806 |     indirect enum NextStep {
     |                   `- note: consider making enum 'NextStep' conform to the 'Sendable' protocol
 807 |         // Final step in a sequence: stop stepping through.
 808 |         case skipped
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:736:53: warning: reference to captured var 'finishedSteps' in concurrently-executing code
 734 |                 let nextPhase = LLBCASFileTree.ImportPhase(rawValue: currentPhase.rawValue + 1)!
 735 |                 guard nextPhase < .UploadingDirs else {
 736 |                     return loop.makeSucceededFuture(finishedSteps + nextPhaseSteps)
     |                                                     `- warning: reference to captured var 'finishedSteps' in concurrently-executing code
 737 |                 }
 738 |                 self.set(phase: nextPhase)
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:736:69: warning: reference to captured var 'nextPhaseSteps' in concurrently-executing code
 734 |                 let nextPhase = LLBCASFileTree.ImportPhase(rawValue: currentPhase.rawValue + 1)!
 735 |                 guard nextPhase < .UploadingDirs else {
 736 |                     return loop.makeSucceededFuture(finishedSteps + nextPhaseSteps)
     |                                                                     `- warning: reference to captured var 'nextPhaseSteps' in concurrently-executing code
 737 |                 }
 738 |                 self.set(phase: nextPhase)
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:740:65: warning: reference to captured var 'nextPhaseSteps' in concurrently-executing code
 738 |                 self.set(phase: nextPhase)
 739 |                 return self.recursivelyPerformSteps(
 740 |                     currentPhase: nextPhase, currentPhaseSteps: nextPhaseSteps
     |                                                                 `- warning: reference to captured var 'nextPhaseSteps' in concurrently-executing code
 741 |                 ).map {
 742 |                     finishedSteps + $0
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:742:21: warning: capture of 'finishedSteps' with non-sendable type '[CASTreeImport.NextStep]' in a '@Sendable' closure
 740 |                     currentPhase: nextPhase, currentPhaseSteps: nextPhaseSteps
 741 |                 ).map {
 742 |                     finishedSteps + $0
     |                     `- warning: capture of 'finishedSteps' with non-sendable type '[CASTreeImport.NextStep]' in a '@Sendable' closure
 743 |                 }
 744 |             } else {
     :
 804 |     }
 805 |
 806 |     indirect enum NextStep {
     |                   `- note: consider making enum 'NextStep' conform to the 'Sendable' protocol
 807 |         // Final step in a sequence: stop stepping through.
 808 |         case skipped
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:742:21: warning: reference to captured var 'finishedSteps' in concurrently-executing code
 740 |                     currentPhase: nextPhase, currentPhaseSteps: nextPhaseSteps
 741 |                 ).map {
 742 |                     finishedSteps + $0
     |                     `- warning: reference to captured var 'finishedSteps' in concurrently-executing code
 743 |                 }
 744 |             } else {
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:747:37: warning: reference to captured var 'nextPhaseSteps' in concurrently-executing code
 745 |                 return self.recursivelyPerformSteps(
 746 |                     currentPhase: currentPhase, currentPhaseSteps: moreStepsInCurrentPhase,
 747 |                     nextPhaseSteps: nextPhaseSteps
     |                                     `- warning: reference to captured var 'nextPhaseSteps' in concurrently-executing code
 748 |                 ).map {
 749 |                     finishedSteps + $0
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:749:21: warning: capture of 'finishedSteps' with non-sendable type '[CASTreeImport.NextStep]' in a '@Sendable' closure
 747 |                     nextPhaseSteps: nextPhaseSteps
 748 |                 ).map {
 749 |                     finishedSteps + $0
     |                     `- warning: capture of 'finishedSteps' with non-sendable type '[CASTreeImport.NextStep]' in a '@Sendable' closure
 750 |                 }
 751 |             }
     :
 804 |     }
 805 |
 806 |     indirect enum NextStep {
     |                   `- note: consider making enum 'NextStep' conform to the 'Sendable' protocol
 807 |         // Final step in a sequence: stop stepping through.
 808 |         case skipped
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:749:21: warning: reference to captured var 'finishedSteps' in concurrently-executing code
 747 |                     nextPhaseSteps: nextPhaseSteps
 748 |                 ).map {
 749 |                     finishedSteps + $0
     |                     `- warning: reference to captured var 'finishedSteps' in concurrently-executing code
 750 |                 }
 751 |             }
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1043:45: warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol
 804 |     }
 805 |
 806 |     indirect enum NextStep {
     |                   `- note: consider making enum 'NextStep' conform to the 'Sendable' protocol
 807 |         // Final step in a sequence: stop stepping through.
 808 |         case skipped
     :
1041 |                         > {
1042 |                             guard finalResultPromise.isCompleted == false else {
1043 |                                 return loop.makeSucceededFuture(NextStep.skipped)
     |                                             `- warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol
1044 |                             }
1045 |
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1055:45: warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol
 804 |     }
 805 |
 806 |     indirect enum NextStep {
     |                   `- note: consider making enum 'NextStep' conform to the 'Sendable' protocol
 807 |         // Final step in a sequence: stop stepping through.
 808 |         case skipped
     :
1053 |                                         by: size, ordering: .relaxed)
1054 |                                 }
1055 |                                 return loop.makeSucceededFuture(encodeNextStep(for: blobId))
     |                                             `- warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol
1056 |                             }
1057 |
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1094:51: warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol
 804 |     }
 805 |
 806 |     indirect enum NextStep {
     |                   `- note: consider making enum 'NextStep' conform to the 'Sendable' protocol
 807 |         // Final step in a sequence: stop stepping through.
 808 |         case skipped
     :
1092 |                             let containsFuture = self.dbContains(segm, ctx)
1093 |                             let containsLoop = containsFuture.eventLoop
1094 |                             return containsFuture.flatMap { exists -> LLBFuture<NextStep> in
     |                                                   `- warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol
1095 |
1096 |                                 guard !exists else {
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1097:89: warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol
 804 |     }
 805 |
 806 |     indirect enum NextStep {
     |                   `- note: consider making enum 'NextStep' conform to the 'Sendable' protocol
 807 |         // Final step in a sequence: stop stepping through.
 808 |         case skipped
     :
1095 |
1096 |                                 guard !exists else {
1097 |                                     let existingIdFuture: LLBFuture<NextStep> = segm.id.flatMap {
     |                                                                                         `- warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol
1098 |                                         id in
1099 |                                         return uploadFileInfo(
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1106:53: warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol
 804 |     }
 805 |
 806 |     indirect enum NextStep {
     |                   `- note: consider making enum 'NextStep' conform to the 'Sendable' protocol
 807 |         // Final step in a sequence: stop stepping through.
 808 |         case skipped
     :
1104 |                                 }
1105 |
1106 |                                 return containsLoop.makeSucceededFuture(
     |                                                     `- warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol
1107 |                                     NextStep.execute(
1108 |                                         in: .UploadingFiles,
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1129:61: warning: 'executeWithBackpressure(on:loop:size:default:_:)' is deprecated: This method blocks indefinitely and returns a future
1127 |                                                 // free to take our load. This ensures that we're not
1128 |                                                 // limited by CPU parallelism for network concurrency.
1129 |                                                 return self.executeWithBackpressure(
     |                                                             `- warning: 'executeWithBackpressure(on:loop:size:default:_:)' is deprecated: This method blocks indefinitely and returns a future
1130 |                                                     on: self.netQueue, loop: containsLoop,
1131 |                                                     size: slice.readableBytes, default: .skipped
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1136:55: warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol
 804 |     }
 805 |
 806 |     indirect enum NextStep {
     |                   `- note: consider making enum 'NextStep' conform to the 'Sendable' protocol
 807 |         // Final step in a sequence: stop stepping through.
 808 |         case skipped
     :
1134 |                                                         refs: [], data: slice,
1135 |                                                         importSize: segm.uncompressedSize, ctx
1136 |                                                     ).flatMap { id -> LLBFuture<NextStep> in
     |                                                       `- warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol
1137 |                                                         withExtendedLifetime(importObject) {  // for mmap
1138 |                                                             uploadFileInfo(blobId: id)
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1142:55: warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol
 804 |     }
 805 |
 806 |     indirect enum NextStep {
     |                   `- note: consider making enum 'NextStep' conform to the 'Sendable' protocol
 807 |         // Final step in a sequence: stop stepping through.
 808 |         case skipped
     :
1140 |                                                     }.map { result in
1141 |                                                         return result
1142 |                                                     }.hop(to: loop)
     |                                                       `- warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol
1143 |                                                 }
1144 |                                             }.flatMap {
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1144:47: warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol
 804 |     }
 805 |
 806 |     indirect enum NextStep {
     |                   `- note: consider making enum 'NextStep' conform to the 'Sendable' protocol
 807 |         // Final step in a sequence: stop stepping through.
 808 |         case skipped
     :
1142 |                                                     }.hop(to: loop)
1143 |                                                 }
1144 |                                             }.flatMap {
     |                                               `- warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol
1145 |                                                 // This type of return ensures that cpuQueue does not
1146 |                                                 // wait for the netQueue operation to complete.
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1147:60: warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol
 804 |     }
 805 |
 806 |     indirect enum NextStep {
     |                   `- note: consider making enum 'NextStep' conform to the 'Sendable' protocol
 807 |         // Final step in a sequence: stop stepping through.
 808 |         case skipped
     :
1145 |                                                 // This type of return ensures that cpuQueue does not
1146 |                                                 // wait for the netQueue operation to complete.
1147 |                                                 $0 ?? loop.makeSucceededFuture(NextStep.skipped)
     |                                                            `- warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol
1148 |                                             }
1149 |                                             nextStepFuture.cascade(to: partialStepPromise)
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1202:23: warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol
 804 |     }
 805 |
 806 |     indirect enum NextStep {
     |                   `- note: consider making enum 'NextStep' conform to the 'Sendable' protocol
 807 |         // Final step in a sequence: stop stepping through.
 808 |         case skipped
     :
1200 |                         throw error
1201 |
1202 |                     }.flatMap { nextSteps in
     |                       `- warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol
1203 |                         // The next steps can only be empty if we've reacting on
1204 |                         // a filesystem-related error with some of our chunks.
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1206:41: warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol
 804 |     }
 805 |
 806 |     indirect enum NextStep {
     |                   `- note: consider making enum 'NextStep' conform to the 'Sendable' protocol
 807 |         // Final step in a sequence: stop stepping through.
 808 |         case skipped
     :
1204 |                         // a filesystem-related error with some of our chunks.
1205 |                         guard nextSteps.isEmpty == false else {
1206 |                             return loop.makeSucceededFuture(.skipped)
     |                                         `- warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol
1207 |                         }
1208 |
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1253:49: warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol
 804 |     }
 805 |
 806 |     indirect enum NextStep {
     |                   `- note: consider making enum 'NextStep' conform to the 'Sendable' protocol
 807 |         // Final step in a sequence: stop stepping through.
 808 |         case skipped
     :
1251 |             // have been uploaded. Therefore we wait for the huge files in
1252 |             // its own state, .UploadingWait.
1253 |             return cheapNextStepFutures + [loop.makeSucceededFuture(combinePartialResultsStep)]
     |                                                 `- warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol
1254 |         }
1255 |
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1260:22: warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol
 804 |     }
 805 |
 806 |     indirect enum NextStep {
     |                   `- note: consider making enum 'NextStep' conform to the 'Sendable' protocol
 807 |         // Final step in a sequence: stop stepping through.
 808 |         case skipped
     :
1258 |             in: .EstimatingSize,
1259 |             run: {
1260 |                 loop.makeSucceededFuture(
     |                      `- warning: type 'CASTreeImport.NextStep' does not conform to the 'Sendable' protocol
1261 |                     NextStep.wait(
1262 |                         in: .CheckIfUploaded,
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1079:37: warning: capture of 'encodeNextStep(for:)' with non-sendable type '(LLBDataID) -> CASTreeImport.NextStep' in a '@Sendable' closure
1077 |                                     importSize: importSize, ctx
1078 |                                 ).map { id in
1079 |                                     encodeNextStep(for: id)
     |                                     |- warning: capture of 'encodeNextStep(for:)' with non-sendable type '(LLBDataID) -> CASTreeImport.NextStep' in a '@Sendable' closure
     |                                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1080 |                                 }
1081 |                             } catch {
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1025:30: warning: concurrently-executed local function 'encodeNextStep(for:)' must be marked as '@Sendable'
1023 |                             promise: loop.makePromise(of: NextStep.self))
1024 |
1025 |                         func encodeNextStep(for id: LLBDataID) -> NextStep {
     |                              `- warning: concurrently-executed local function 'encodeNextStep(for:)' must be marked as '@Sendable'
1026 |                             if isSingleChunk {
1027 |                                 return .singleFile(
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1099:48: warning: capture of 'uploadFileInfo(blobId:importSize:)' with non-sendable type '(LLBDataID, Int?) -> LLBFuture<CASTreeImport.NextStep>' (aka '(LLBDataID, Optional<Int>) -> EventLoopFuture<CASTreeImport.NextStep>') in a '@Sendable' closure
1097 |                                     let existingIdFuture: LLBFuture<NextStep> = segm.id.flatMap {
1098 |                                         id in
1099 |                                         return uploadFileInfo(
     |                                                |- warning: capture of 'uploadFileInfo(blobId:importSize:)' with non-sendable type '(LLBDataID, Int?) -> LLBFuture<CASTreeImport.NextStep>' (aka '(LLBDataID, Optional<Int>) -> EventLoopFuture<CASTreeImport.NextStep>') in a '@Sendable' closure
     |                                                `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1100 |                                             blobId: id, importSize: segm.uncompressedSize)
1101 |                                     }
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1115:56: warning: capture of 'importObject' with non-sendable type 'ObjectToImport' in a '@Sendable' closure
 911 |         let type: LLBFileType
 912 |         let allSegmentsUncompressedDataSize: Int
 913 |         enum ObjectToImport {
     |              `- note: consider making enum 'ObjectToImport' conform to the 'Sendable' protocol
 914 |             case link(target: LLBFastData)
 915 |             case file(file: FileSegmenter, posixDetails: LLBPosixFileDetails)
     :
1113 |                                                 let data: LLBFastData
1114 |
1115 |                                                 switch importObject {
     |                                                        `- warning: capture of 'importObject' with non-sendable type 'ObjectToImport' in a '@Sendable' closure
1116 |                                                 case .link(let target):
1117 |                                                     data = target
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1099:48: warning: capture of 'uploadFileInfo(blobId:importSize:)' with non-sendable type '(LLBDataID, Int?) -> LLBFuture<CASTreeImport.NextStep>' (aka '(LLBDataID, Optional<Int>) -> EventLoopFuture<CASTreeImport.NextStep>') in a '@Sendable' closure
1097 |                                     let existingIdFuture: LLBFuture<NextStep> = segm.id.flatMap {
1098 |                                         id in
1099 |                                         return uploadFileInfo(
     |                                                |- warning: capture of 'uploadFileInfo(blobId:importSize:)' with non-sendable type '(LLBDataID, Int?) -> LLBFuture<CASTreeImport.NextStep>' (aka '(LLBDataID, Optional<Int>) -> EventLoopFuture<CASTreeImport.NextStep>') in a '@Sendable' closure
     |                                                `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1100 |                                             blobId: id, importSize: segm.uncompressedSize)
1101 |                                     }
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1039:30: warning: concurrently-executed local function 'uploadFileInfo(blobId:importSize:)' must be marked as '@Sendable'
1037 |                         // If the file has non-standard layout, upload it after we upload
1038 |                         // the binary blob.
1039 |                         func uploadFileInfo(blobId: LLBDataID, importSize: Int? = nil) -> LLBFuture<
     |                              `- warning: concurrently-executed local function 'uploadFileInfo(blobId:importSize:)' must be marked as '@Sendable'
1040 |                             NextStep
1041 |                         > {
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1115:56: warning: capture of 'importObject' with non-sendable type 'ObjectToImport' in an isolated closure; this is an error in the Swift 6 language mode
 911 |         let type: LLBFileType
 912 |         let allSegmentsUncompressedDataSize: Int
 913 |         enum ObjectToImport {
     |              `- note: consider making enum 'ObjectToImport' conform to the 'Sendable' protocol
 914 |             case link(target: LLBFastData)
 915 |             case file(file: FileSegmenter, posixDetails: LLBPosixFileDetails)
     :
1113 |                                                 let data: LLBFastData
1114 |
1115 |                                                 switch importObject {
     |                                                        `- warning: capture of 'importObject' with non-sendable type 'ObjectToImport' in an isolated closure; this is an error in the Swift 6 language mode
1116 |                                                 case .link(let target):
1117 |                                                     data = target
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1138:61: warning: capture of 'uploadFileInfo(blobId:importSize:)' with non-sendable type '(LLBDataID, Int?) -> LLBFuture<CASTreeImport.NextStep>' (aka '(LLBDataID, Optional<Int>) -> EventLoopFuture<CASTreeImport.NextStep>') in an isolated closure; this is an error in the Swift 6 language mode
1136 |                                                     ).flatMap { id -> LLBFuture<NextStep> in
1137 |                                                         withExtendedLifetime(importObject) {  // for mmap
1138 |                                                             uploadFileInfo(blobId: id)
     |                                                             |- warning: capture of 'uploadFileInfo(blobId:importSize:)' with non-sendable type '(LLBDataID, Int?) -> LLBFuture<CASTreeImport.NextStep>' (aka '(LLBDataID, Optional<Int>) -> EventLoopFuture<CASTreeImport.NextStep>') in an isolated closure; this is an error in the Swift 6 language mode
     |                                                             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1139 |                                                         }
1140 |                                                     }.map { result in
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1115:56: warning: capture of 'importObject' with non-sendable type 'ObjectToImport' in an isolated closure; this is an error in the Swift 6 language mode
 911 |         let type: LLBFileType
 912 |         let allSegmentsUncompressedDataSize: Int
 913 |         enum ObjectToImport {
     |              `- note: consider making enum 'ObjectToImport' conform to the 'Sendable' protocol
 914 |             case link(target: LLBFastData)
 915 |             case file(file: FileSegmenter, posixDetails: LLBPosixFileDetails)
     :
1113 |                                                 let data: LLBFastData
1114 |
1115 |                                                 switch importObject {
     |                                                        `- warning: capture of 'importObject' with non-sendable type 'ObjectToImport' in an isolated closure; this is an error in the Swift 6 language mode
1116 |                                                 case .link(let target):
1117 |                                                     data = target
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1138:61: warning: capture of 'uploadFileInfo(blobId:importSize:)' with non-sendable type '(LLBDataID, Int?) -> LLBFuture<CASTreeImport.NextStep>' (aka '(LLBDataID, Optional<Int>) -> EventLoopFuture<CASTreeImport.NextStep>') in an isolated closure; this is an error in the Swift 6 language mode
1136 |                                                     ).flatMap { id -> LLBFuture<NextStep> in
1137 |                                                         withExtendedLifetime(importObject) {  // for mmap
1138 |                                                             uploadFileInfo(blobId: id)
     |                                                             |- warning: capture of 'uploadFileInfo(blobId:importSize:)' with non-sendable type '(LLBDataID, Int?) -> LLBFuture<CASTreeImport.NextStep>' (aka '(LLBDataID, Optional<Int>) -> EventLoopFuture<CASTreeImport.NextStep>') in an isolated closure; this is an error in the Swift 6 language mode
     |                                                             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1139 |                                                         }
1140 |                                                     }.map { result in
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1137:78: warning: capture of 'importObject' with non-sendable type 'ObjectToImport' in an isolated closure; this is an error in the Swift 6 language mode
 911 |         let type: LLBFileType
 912 |         let allSegmentsUncompressedDataSize: Int
 913 |         enum ObjectToImport {
     |              `- note: consider making enum 'ObjectToImport' conform to the 'Sendable' protocol
 914 |             case link(target: LLBFastData)
 915 |             case file(file: FileSegmenter, posixDetails: LLBPosixFileDetails)
     :
1135 |                                                         importSize: segm.uncompressedSize, ctx
1136 |                                                     ).flatMap { id -> LLBFuture<NextStep> in
1137 |                                                         withExtendedLifetime(importObject) {  // for mmap
     |                                                                              `- warning: capture of 'importObject' with non-sendable type 'ObjectToImport' in an isolated closure; this is an error in the Swift 6 language mode
1138 |                                                             uploadFileInfo(blobId: id)
1139 |                                                         }
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1138:61: warning: capture of 'uploadFileInfo(blobId:importSize:)' with non-sendable type '(LLBDataID, Int?) -> LLBFuture<CASTreeImport.NextStep>' (aka '(LLBDataID, Optional<Int>) -> EventLoopFuture<CASTreeImport.NextStep>') in an isolated closure; this is an error in the Swift 6 language mode
1136 |                                                     ).flatMap { id -> LLBFuture<NextStep> in
1137 |                                                         withExtendedLifetime(importObject) {  // for mmap
1138 |                                                             uploadFileInfo(blobId: id)
     |                                                             |- warning: capture of 'uploadFileInfo(blobId:importSize:)' with non-sendable type '(LLBDataID, Int?) -> LLBFuture<CASTreeImport.NextStep>' (aka '(LLBDataID, Optional<Int>) -> EventLoopFuture<CASTreeImport.NextStep>') in an isolated closure; this is an error in the Swift 6 language mode
     |                                                             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1139 |                                                         }
1140 |                                                     }.map { result in
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1137:78: warning: capture of 'importObject' with non-sendable type 'ObjectToImport' in a '@Sendable' closure
 911 |         let type: LLBFileType
 912 |         let allSegmentsUncompressedDataSize: Int
 913 |         enum ObjectToImport {
     |              `- note: consider making enum 'ObjectToImport' conform to the 'Sendable' protocol
 914 |             case link(target: LLBFastData)
 915 |             case file(file: FileSegmenter, posixDetails: LLBPosixFileDetails)
     :
1135 |                                                         importSize: segm.uncompressedSize, ctx
1136 |                                                     ).flatMap { id -> LLBFuture<NextStep> in
1137 |                                                         withExtendedLifetime(importObject) {  // for mmap
     |                                                                              `- warning: capture of 'importObject' with non-sendable type 'ObjectToImport' in a '@Sendable' closure
1138 |                                                             uploadFileInfo(blobId: id)
1139 |                                                         }
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1138:61: warning: capture of 'uploadFileInfo(blobId:importSize:)' with non-sendable type '(LLBDataID, Int?) -> LLBFuture<CASTreeImport.NextStep>' (aka '(LLBDataID, Optional<Int>) -> EventLoopFuture<CASTreeImport.NextStep>') in a '@Sendable' closure
1136 |                                                     ).flatMap { id -> LLBFuture<NextStep> in
1137 |                                                         withExtendedLifetime(importObject) {  // for mmap
1138 |                                                             uploadFileInfo(blobId: id)
     |                                                             |- warning: capture of 'uploadFileInfo(blobId:importSize:)' with non-sendable type '(LLBDataID, Int?) -> LLBFuture<CASTreeImport.NextStep>' (aka '(LLBDataID, Optional<Int>) -> EventLoopFuture<CASTreeImport.NextStep>') in a '@Sendable' closure
     |                                                             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1139 |                                                         }
1140 |                                                     }.map { result in
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1138:61: warning: capture of 'uploadFileInfo(blobId:importSize:)' with non-sendable type '(LLBDataID, Int?) -> LLBFuture<CASTreeImport.NextStep>' (aka '(LLBDataID, Optional<Int>) -> EventLoopFuture<CASTreeImport.NextStep>') in an isolated closure; this is an error in the Swift 6 language mode
1136 |                                                     ).flatMap { id -> LLBFuture<NextStep> in
1137 |                                                         withExtendedLifetime(importObject) {  // for mmap
1138 |                                                             uploadFileInfo(blobId: id)
     |                                                             |- warning: capture of 'uploadFileInfo(blobId:importSize:)' with non-sendable type '(LLBDataID, Int?) -> LLBFuture<CASTreeImport.NextStep>' (aka '(LLBDataID, Optional<Int>) -> EventLoopFuture<CASTreeImport.NextStep>') in an isolated closure; this is an error in the Swift 6 language mode
     |                                                             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1139 |                                                         }
1140 |                                                     }.map { result in
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1224:44: warning: capture of 'importObject' with non-sendable type 'ObjectToImport' in a '@Sendable' closure
 911 |         let type: LLBFileType
 912 |         let allSegmentsUncompressedDataSize: Int
 913 |         enum ObjectToImport {
     |              `- note: consider making enum 'ObjectToImport' conform to the 'Sendable' protocol
 914 |             case link(target: LLBFastData)
 915 |             case file(file: FileSegmenter, posixDetails: LLBPosixFileDetails)
     :
1222 |                             chunkIds.count > 1
1223 |                                 ? self.options.fileChunkSize : allSegmentsUncompressedDataSize)
1224 |                         let posixDetails = importObject.posixDetails
     |                                            `- warning: capture of 'importObject' with non-sendable type 'ObjectToImport' in a '@Sendable' closure
1225 |                         fileInfo.update(posixDetails: posixDetails, options: self.options)
1226 |                         do {
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1307:25: warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
1300 |     }
1301 |
1302 |     private func whenAllSucceed<Value>(
     |                                 `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
1303 |         _ futures: [LLBFuture<Value>], on loop: LLBFuturesDispatchLoop? = nil
1304 |     ) -> LLBFuture<[Value]> {
1305 |         let loop = loop ?? self.loop
1306 |         guard finalResultPromise.isCompleted == false else {
1307 |             return loop.makeSucceededFuture([])
     |                         `- warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
1308 |         }
1309 |         return LLBFuture.whenAllSucceed(futures, on: loop).map { result in
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1309:26: warning: type 'Value' does not conform to the 'Sendable' protocol
1300 |     }
1301 |
1302 |     private func whenAllSucceed<Value>(
     |                                 `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
1303 |         _ futures: [LLBFuture<Value>], on loop: LLBFuturesDispatchLoop? = nil
1304 |     ) -> LLBFuture<[Value]> {
     :
1307 |             return loop.makeSucceededFuture([])
1308 |         }
1309 |         return LLBFuture.whenAllSucceed(futures, on: loop).map { result in
     |                          `- warning: type 'Value' does not conform to the 'Sendable' protocol
1310 |             guard self.finalResultPromise.isCompleted == false else {
1311 |                 return []
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1327:39: warning: type 'T' does not conform to the 'Sendable' protocol
1320 |     /// Enqueue the callback unless the stop flag is in action.
1321 |     /// If stop flag is set, return the value specified in `then`.
1322 |     private func execute<T>(
     |                          `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
1323 |         on queue: LLBBatchingFutureOperationQueue, default stopValue: T,
1324 |         _ body: @escaping () throws -> T
1325 |     ) -> LLBFuture<T> {
1326 |         guard finalResultPromise.isCompleted == false else {
1327 |             return queue.group.next().makeSucceededFuture(stopValue)
     |                                       `- warning: type 'T' does not conform to the 'Sendable' protocol
1328 |         }
1329 |         return queue.execute {
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1350:25: warning: type 'T' does not conform to the 'Sendable' protocol
1342 |     /// Enqueue the callback unless the stop flag is in action.
1343 |     /// If stop flag is set, return the value specified in `then`.
1344 |     private func execute<T>(
     |                          `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
1345 |         on queue: LLBFutureOperationQueue, loop: EventLoop? = nil, size: Int = 1,
1346 |         default stopValue: T, _ body: @escaping () -> LLBFuture<T>
     :
1348 |         let loop = loop ?? self.loop
1349 |         guard finalResultPromise.isCompleted == false else {
1350 |             return loop.makeSucceededFuture(stopValue)
     |                         `- warning: type 'T' does not conform to the 'Sendable' protocol
1351 |         }
1352 |         return queue.enqueue(on: loop, share: size) {
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1354:29: warning: type 'T' does not conform to the 'Sendable' protocol
1342 |     /// Enqueue the callback unless the stop flag is in action.
1343 |     /// If stop flag is set, return the value specified in `then`.
1344 |     private func execute<T>(
     |                          `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
1345 |         on queue: LLBFutureOperationQueue, loop: EventLoop? = nil, size: Int = 1,
1346 |         default stopValue: T, _ body: @escaping () -> LLBFuture<T>
     :
1352 |         return queue.enqueue(on: loop, share: size) {
1353 |             guard self.finalResultPromise.isCompleted == false else {
1354 |                 return loop.makeSucceededFuture(stopValue)
     |                             `- warning: type 'T' does not conform to the 'Sendable' protocol
1355 |             }
1356 |             return body().flatMapErrorThrowing { error in
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1374:25: warning: type 'T' does not conform to the 'Sendable' protocol
1367 |     )
1368 |     @available(*, deprecated, message: "This method blocks indefinitely and returns a future")
1369 |     private func executeWithBackpressure<T>(
     |                                          `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
1370 |         on queue: LLBFutureOperationQueue, loop: LLBFuturesDispatchLoop, size: Int = 1,
1371 |         default stopValue: T, _ body: @escaping () -> LLBFuture<T>
1372 |     ) -> LLBFuture<T> {
1373 |         guard finalResultPromise.isCompleted == false else {
1374 |             return loop.makeSucceededFuture(stopValue)
     |                         `- warning: type 'T' does not conform to the 'Sendable' protocol
1375 |         }
1376 |         return queue.enqueueWithBackpressure(on: loop, share: size) {
/host/spi-builder-workspace/Sources/TSFCASFileTree/FileTreeImport.swift:1378:29: warning: type 'T' does not conform to the 'Sendable' protocol
1367 |     )
1368 |     @available(*, deprecated, message: "This method blocks indefinitely and returns a future")
1369 |     private func executeWithBackpressure<T>(
     |                                          `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
1370 |         on queue: LLBFutureOperationQueue, loop: LLBFuturesDispatchLoop, size: Int = 1,
1371 |         default stopValue: T, _ body: @escaping () -> LLBFuture<T>
     :
1376 |         return queue.enqueueWithBackpressure(on: loop, share: size) {
1377 |             guard self.finalResultPromise.isCompleted == false else {
1378 |                 return loop.makeSucceededFuture(stopValue)
     |                             `- warning: type 'T' does not conform to the 'Sendable' protocol
1379 |             }
1380 |             return body().flatMapErrorThrowing { error in
[664/667] Compiling TSFCASUtilities BufferedStreamWriter.swift
[665/667] Compiling TSFCASUtilities LinkedListStream.swift
[666/667] Emitting module TSFCASUtilities
[667/667] Compiling TSFCASUtilities StreamReader.swift
/host/spi-builder-workspace/Sources/TSFCASUtilities/StreamReader.swift:54:24: warning: capture of 'self' with non-sendable type 'LLBCASStreamReader' in a '@Sendable' closure
 16 | /// implemented. This should be the unified API to read streaming content, so that readers do not need to understand
 17 | /// which writer was used to store the data.
 18 | public struct LLBCASStreamReader {
    |               `- note: consider making struct 'LLBCASStreamReader' conform to the 'Sendable' protocol
 19 |     private let db: LLBCASDatabase
 20 |
    :
 52 |         return LLBCASFSClient(db).load(id, ctx).flatMap { node in
 53 |             guard let tree = node.tree else {
 54 |                 return self.db.group.next().makeFailedFuture(LLBCASStreamError.invalid)
    |                        `- warning: capture of 'self' with non-sendable type 'LLBCASStreamReader' in a '@Sendable' closure
 55 |             }
 56 |
/host/spi-builder-workspace/Sources/TSFCASUtilities/StreamReader.swift:67:34: warning: capture of 'readerBlock' with non-sendable type '(UInt8, LLBByteBufferView) throws -> Bool' (aka '(UInt8, ByteBufferView) throws -> Bool') in a '@Sendable' closure
 65 |                     lastReadID: lastReadID,
 66 |                     ctx,
 67 |                     readerBlock: readerBlock
    |                                  |- warning: capture of 'readerBlock' with non-sendable type '(UInt8, LLBByteBufferView) throws -> Bool' (aka '(UInt8, ByteBufferView) throws -> Bool') in a '@Sendable' closure
    |                                  `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 68 |                 )
 69 |             } else {
/host/spi-builder-workspace/Sources/TSFCASUtilities/StreamReader.swift:78:28: warning: capture of 'self' with non-sendable type 'LLBCASStreamReader' in a '@Sendable' closure
 16 | /// implemented. This should be the unified API to read streaming content, so that readers do not need to understand
 17 | /// which writer was used to store the data.
 18 | public struct LLBCASStreamReader {
    |               `- note: consider making struct 'LLBCASStreamReader' conform to the 'Sendable' protocol
 19 |     private let db: LLBCASDatabase
 20 |
    :
 76 |                 // and propagate the desire to keep on reading.
 77 |                 guard shouldContinue else {
 78 |                     return self.db.group.next().makeSucceededFuture(shouldContinue)
    |                            `- warning: capture of 'self' with non-sendable type 'LLBCASStreamReader' in a '@Sendable' closure
 79 |                 }
 80 |
/host/spi-builder-workspace/Sources/TSFCASUtilities/StreamReader.swift:104:36: warning: capture of 'readerBlock' with non-sendable type '(UInt8, LLBByteBufferView) throws -> Bool' (aka '(UInt8, ByteBufferView) throws -> Bool') in a '@Sendable' closure
102 |
103 |                     return blob.read(ctx).flatMapThrowing { byteBufferView in
104 |                         return try readerBlock(channel, byteBufferView)
    |                                    |- warning: capture of 'readerBlock' with non-sendable type '(UInt8, LLBByteBufferView) throws -> Bool' (aka '(UInt8, ByteBufferView) throws -> Bool') in a '@Sendable' closure
    |                                    `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
105 |                     }
106 |                 }
/host/spi-builder-workspace/Sources/TSFCASUtilities/StreamReader.swift:100:32: warning: capture of 'self' with non-sendable type 'LLBCASStreamReader' in a '@Sendable' closure
 16 | /// implemented. This should be the unified API to read streaming content, so that readers do not need to understand
 17 | /// which writer was used to store the data.
 18 | public struct LLBCASStreamReader {
    |               `- note: consider making struct 'LLBCASStreamReader' conform to the 'Sendable' protocol
 19 |     private let db: LLBCASDatabase
 20 |
    :
 98 |                 return LLBCASFSClient(self.db).load(contentID, ctx).flatMap { node in
 99 |                     guard let blob = node.blob else {
100 |                         return self.db.group.next().makeFailedFuture(LLBCASStreamError.missing)
    |                                `- warning: capture of 'self' with non-sendable type 'LLBCASStreamReader' in a '@Sendable' closure
101 |                     }
102 |
/host/spi-builder-workspace/Sources/TSFCASUtilities/StreamReader.swift:104:36: warning: capture of 'readerBlock' with non-sendable type '(UInt8, LLBByteBufferView) throws -> Bool' (aka '(UInt8, ByteBufferView) throws -> Bool') in a '@Sendable' closure
102 |
103 |                     return blob.read(ctx).flatMapThrowing { byteBufferView in
104 |                         return try readerBlock(channel, byteBufferView)
    |                                    |- warning: capture of 'readerBlock' with non-sendable type '(UInt8, LLBByteBufferView) throws -> Bool' (aka '(UInt8, ByteBufferView) throws -> Bool') in a '@Sendable' closure
    |                                    `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
105 |                     }
106 |                 }
/host/spi-builder-workspace/Sources/TSFCASUtilities/StreamReader.swift:104:36: warning: capture of 'readerBlock' with non-sendable type '(UInt8, LLBByteBufferView) throws -> Bool' (aka '(UInt8, ByteBufferView) throws -> Bool') in a '@Sendable' closure
102 |
103 |                     return blob.read(ctx).flatMapThrowing { byteBufferView in
104 |                         return try readerBlock(channel, byteBufferView)
    |                                    |- warning: capture of 'readerBlock' with non-sendable type '(UInt8, LLBByteBufferView) throws -> Bool' (aka '(UInt8, ByteBufferView) throws -> Bool') in a '@Sendable' closure
    |                                    `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
105 |                     }
106 |                 }
Build complete! (123.40s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-async-algorithms",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.4",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-async-algorithms.git"
    },
    {
      "identity" : "swift-atomics",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-atomics.git"
    },
    {
      "identity" : "swift-collections",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-collections.git"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    },
    {
      "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-system",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-system.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",
        "TSFAsyncProcess"
      ],
      "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" : "TSFProcessSpawnSync",
      "module_type" : "SwiftTarget",
      "name" : "TSFProcessSpawnSync",
      "path" : "Sources/ProcessSpawnSync",
      "product_dependencies" : [
        "Atomics",
        "NIOConcurrencyHelpers"
      ],
      "product_memberships" : [
        "SwiftToolsSupportAsync"
      ],
      "sources" : [
        "ProcessSpawner.swift"
      ],
      "target_dependencies" : [
        "TSFCProcessSpawnSync"
      ],
      "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" : "TSFCProcessSpawnSync",
      "module_type" : "ClangTarget",
      "name" : "TSFCProcessSpawnSync",
      "path" : "Sources/CProcessSpawnSync",
      "product_memberships" : [
        "SwiftToolsSupportAsync"
      ],
      "sources" : [
        "spawner.c"
      ],
      "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" : "TSFAsyncProcessTests",
      "module_type" : "SwiftTarget",
      "name" : "TSFAsyncProcessTests",
      "path" : "Tests/AsyncProcessTests",
      "product_dependencies" : [
        "Atomics",
        "AsyncAlgorithms",
        "NIO",
        "NIOConcurrencyHelpers",
        "Logging",
        "_NIOFileSystem"
      ],
      "sources" : [
        "AsyncByteBufferLineSequenceTests.swift",
        "Helpers+LogRecorderHandler.swift",
        "IntegrationTests.swift"
      ],
      "target_dependencies" : [
        "TSFAsyncProcess"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TSFAsyncProcess",
      "module_type" : "SwiftTarget",
      "name" : "TSFAsyncProcess",
      "path" : "Sources/AsyncProcess",
      "product_dependencies" : [
        "Atomics",
        "AsyncAlgorithms",
        "Logging",
        "NIO",
        "DequeModule",
        "SystemPackage"
      ],
      "product_memberships" : [
        "SwiftToolsSupportAsync"
      ],
      "sources" : [
        "ChunkSequence.swift",
        "EOFSequence.swift",
        "FileContentStream.swift",
        "NIOAsyncPipeWriter.swift",
        "ProcessExecutor+Convenience.swift",
        "ProcessExecutor.swift",
        "ProcessExit.swift",
        "StructuredConcurrencyHelpers.swift"
      ],
      "target_dependencies" : [
        "TSFProcessSpawnSync"
      ],
      "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"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:99ea6d26ace67c023f359493a2ac553a612b92a7f2dee009657225f46f43aa0e
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.