The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of Stitcher, reference main (ad1e84), with Swift 6.1 for macOS (SPM) on 28 Apr 2025 22:28:32 UTC.

Swift 6 data race errors: 38

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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

Build Log

/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/ReactivePipeline/PipelineSubject.swift:15:7: note: generic class 'PipelineSubject' does not conform to the 'Sendable' protocol
13 | #endif
14 |
15 | class PipelineSubject<Output>: Pipeline {
   |       `- note: generic class 'PipelineSubject' does not conform to the 'Sendable' protocol
16 |
17 |     private let provider: AnyObject
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:37:16: warning: static property 'instantionNotificationCenter' is not concurrency-safe because non-'Sendable' type 'InstantionNotificationCenter' may have shared mutable state; this is an error in the Swift 6 language mode
 35 |     }
 36 |
 37 |     static let instantionNotificationCenter = InstantionNotificationCenter()
    |                |- warning: static property 'instantionNotificationCenter' is not concurrency-safe because non-'Sendable' type 'InstantionNotificationCenter' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'instantionNotificationCenter' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 38 |
 39 |     private static let storageCleaner = StorageCleaner {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Factory/InstantionNotificationCenter.swift:10:13: note: class 'InstantionNotificationCenter' does not conform to the 'Sendable' protocol
 8 | import Foundation
 9 |
10 | final class InstantionNotificationCenter {
   |             `- note: class 'InstantionNotificationCenter' does not conform to the 'Sendable' protocol
11 |
12 |     @Atomic
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:39:24: warning: static property 'storageCleaner' is not concurrency-safe because non-'Sendable' type 'StorageCleaner' may have shared mutable state; this is an error in the Swift 6 language mode
 37 |     static let instantionNotificationCenter = InstantionNotificationCenter()
 38 |
 39 |     private static let storageCleaner = StorageCleaner {
    |                        |- warning: static property 'storageCleaner' is not concurrency-safe because non-'Sendable' type 'StorageCleaner' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'storageCleaner' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 40 |         releaseUnusedStorage()
 41 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/StorageCleaner/StorageCleaner.swift:20:7: note: class 'StorageCleaner' does not conform to the 'Sendable' protocol
18 | #endif
19 |
20 | class StorageCleaner {
   |       `- note: class 'StorageCleaner' does not conform to the 'Sendable' protocol
21 |
22 |     private var cleanupHandler: @Sendable () -> Void
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/Implementations/Common.swift:20:40: warning: capture of 'coordinator' with non-sendable type 'IndexingCoordinator' in a '@Sendable' closure; this is an error in the Swift 6 language mode
18 |
19 |     AsyncTask(priority: .high) {
20 |         var dependencyRegistrarIndex = coordinator.emptyIndex()
   |                                        `- warning: capture of 'coordinator' with non-sendable type 'IndexingCoordinator' in a '@Sendable' closure; this is an error in the Swift 6 language mode
21 |
22 |         for registration in dependencies {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexingCoordinator.swift:11:15: note: consider making struct 'IndexingCoordinator' conform to the 'Sendable' protocol
 9 |
10 | /// A type that acts as a coordinator between a dependency indexing implementation and the dependency container.
11 | public struct IndexingCoordinator {
   |               `- note: consider making struct 'IndexingCoordinator' conform to the 'Sendable' protocol
12 |
13 |     private let semaphore = DispatchSemaphore(value: 1)
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/Implementations/Common.swift:22:29: warning: capture of 'dependencies' with non-sendable type 'S' in a '@Sendable' closure; this is an error in the Swift 6 language mode
10 |
11 | @inlinable
12 | func taskIndexing<S: Sequence>(
   |                   `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
13 |     dependencies: S,
14 |     coordinator: IndexingCoordinator,
   :
20 |         var dependencyRegistrarIndex = coordinator.emptyIndex()
21 |
22 |         for registration in dependencies {
   |                             `- warning: capture of 'dependencies' with non-sendable type 'S' in a '@Sendable' closure; this is an error in the Swift 6 language mode
23 |
24 |             guard !AsyncTask.isCancelled else {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/Implementations/Common.swift:38:9: warning: capture of 'completion' with non-sendable type '(DependencyRegistrarIndex) -> Void' (aka '(Dictionary<IndexingKey, OrderedSet<RawDependencyRegistration>>) -> ()') in a '@Sendable' closure; this is an error in the Swift 6 language mode
36 |         }
37 |
38 |         completion(dependencyRegistrarIndex)
   |         |- warning: capture of 'completion' with non-sendable type '(DependencyRegistrarIndex) -> Void' (aka '(Dictionary<IndexingKey, OrderedSet<RawDependencyRegistration>>) -> ()') in a '@Sendable' closure; this is an error in the Swift 6 language mode
   |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
39 |     }
40 | }
[506/530] Compiling Stitcher ThreadLocal.swift
[507/530] Compiling Stitcher ThreadValues.swift
[508/530] Compiling Stitcher ThreadValuesKey.swift
[509/530] Compiling Stitcher DefaultValueProviding.swift
[510/530] Compiling Stitcher Extensions.swift
[511/530] Compiling Stitcher Functions.swift
[512/530] Compiling Stitcher Reference.swift
[513/530] Compiling Stitcher WeakReference.swift
[514/530] Compiling Stitcher Pipeline.swift
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:13:16: warning: static property '_prefersSwiftConcurrency' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 11 | final class AsyncTask: CancellableTask {
 12 |
 13 |     static var _prefersSwiftConcurrency = true
    |                |- warning: static property '_prefersSwiftConcurrency' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert '_prefersSwiftConcurrency' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property '_prefersSwiftConcurrency' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 14 |
 15 |     @usableFromInline
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:76:24: warning: static property 'currentTask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 74 |
 75 |     @ThreadLocal
 76 |     private static var currentTask: AsyncTask? = nil
    |                        |- warning: static property 'currentTask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'currentTask' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'currentTask' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 77 |
 78 |     @ThreadLocal
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:79:24: warning: static property 'currentPriority' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 77 |
 78 |     @ThreadLocal
 79 |     private static var currentPriority: Priority = .high
    |                        |- warning: static property 'currentPriority' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'currentPriority' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'currentPriority' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 80 |
 81 |     private static let lowPriorityQueues = QueueSet(priority: .background)
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:81:24: warning: static property 'lowPriorityQueues' is not concurrency-safe because non-'Sendable' type 'AsyncTask.QueueSet' may have shared mutable state; this is an error in the Swift 6 language mode
 32 |     }
 33 |
 34 |     private class QueueSet {
    |                   `- note: class 'QueueSet' does not conform to the 'Sendable' protocol
 35 |
 36 |         private static var defaultQueueCount: Int {
    :
 79 |     private static var currentPriority: Priority = .high
 80 |
 81 |     private static let lowPriorityQueues = QueueSet(priority: .background)
    |                        |- warning: static property 'lowPriorityQueues' is not concurrency-safe because non-'Sendable' type 'AsyncTask.QueueSet' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'lowPriorityQueues' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 82 |     private static let mediumPriorityQueues = QueueSet(priority: .default)
 83 |     private static let highPriorityQueues = QueueSet(priority: .userInitiated)
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:82:24: warning: static property 'mediumPriorityQueues' is not concurrency-safe because non-'Sendable' type 'AsyncTask.QueueSet' may have shared mutable state; this is an error in the Swift 6 language mode
 32 |     }
 33 |
 34 |     private class QueueSet {
    |                   `- note: class 'QueueSet' does not conform to the 'Sendable' protocol
 35 |
 36 |         private static var defaultQueueCount: Int {
    :
 80 |
 81 |     private static let lowPriorityQueues = QueueSet(priority: .background)
 82 |     private static let mediumPriorityQueues = QueueSet(priority: .default)
    |                        |- warning: static property 'mediumPriorityQueues' is not concurrency-safe because non-'Sendable' type 'AsyncTask.QueueSet' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'mediumPriorityQueues' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 83 |     private static let highPriorityQueues = QueueSet(priority: .userInitiated)
 84 |
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:83:24: warning: static property 'highPriorityQueues' is not concurrency-safe because non-'Sendable' type 'AsyncTask.QueueSet' may have shared mutable state; this is an error in the Swift 6 language mode
 32 |     }
 33 |
 34 |     private class QueueSet {
    |                   `- note: class 'QueueSet' does not conform to the 'Sendable' protocol
 35 |
 36 |         private static var defaultQueueCount: Int {
    :
 81 |     private static let lowPriorityQueues = QueueSet(priority: .background)
 82 |     private static let mediumPriorityQueues = QueueSet(priority: .default)
 83 |     private static let highPriorityQueues = QueueSet(priority: .userInitiated)
    |                        |- warning: static property 'highPriorityQueues' is not concurrency-safe because non-'Sendable' type 'AsyncTask.QueueSet' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'highPriorityQueues' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 84 |
 85 |     private static func queue(for priority: Priority) -> DispatchQueue {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:147:24: warning: capture of 'canceller' with non-sendable type 'Atomic<Bool>' in a '@Sendable' closure
145 |
146 |             queue.async {
147 |                 guard !canceller.wrappedValue else {
    |                        `- warning: capture of 'canceller' with non-sendable type 'Atomic<Bool>' in a '@Sendable' closure
148 |                     return
149 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Atomic.swift:11:20: note: generic class 'Atomic' does not conform to the 'Sendable' protocol
 9 |
10 | @propertyWrapper
11 | public final class Atomic<Value> {
   |                    `- note: generic class 'Atomic' does not conform to the 'Sendable' protocol
12 |
13 |     private var value: Value
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:151:58: warning: capture of 'self' with non-sendable type 'AsyncTask' in a '@Sendable' closure
  9 |
 10 | @usableFromInline
 11 | final class AsyncTask: CancellableTask {
    |             `- note: class 'AsyncTask' does not conform to the 'Sendable' protocol
 12 |
 13 |     static var _prefersSwiftConcurrency = true
    :
149 |                 }
150 |
151 |                 let result = Self.$currentTask.withValue(self) {
    |                                                          `- warning: capture of 'self' with non-sendable type 'AsyncTask' in a '@Sendable' closure
152 |                     Self.$currentPriority.withValue(priority) {
153 |                         operation()
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:152:53: warning: capture of 'priority' with non-sendable type 'AsyncTask.Priority' in a '@Sendable' closure
 14 |
 15 |     @usableFromInline
 16 |     enum Priority {
    |          `- note: consider making enum 'Priority' conform to the 'Sendable' protocol
 17 |         case low
 18 |         case medium
    :
150 |
151 |                 let result = Self.$currentTask.withValue(self) {
152 |                     Self.$currentPriority.withValue(priority) {
    |                                                     `- warning: capture of 'priority' with non-sendable type 'AsyncTask.Priority' in a '@Sendable' closure
153 |                         operation()
154 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:152:53: warning: capture of 'priority' with non-sendable type 'AsyncTask.Priority' in an isolated closure; this is an error in the Swift 6 language mode
 14 |
 15 |     @usableFromInline
 16 |     enum Priority {
    |          `- note: consider making enum 'Priority' conform to the 'Sendable' protocol
 17 |         case low
 18 |         case medium
    :
150 |
151 |                 let result = Self.$currentTask.withValue(self) {
152 |                     Self.$currentPriority.withValue(priority) {
    |                                                     `- warning: capture of 'priority' with non-sendable type 'AsyncTask.Priority' in an isolated closure; this is an error in the Swift 6 language mode
153 |                         operation()
154 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Threads/ThreadIdentifierThreadValuesKey.swift:11:16: warning: static property 'rawThreadKey' is not concurrency-safe because non-'Sendable' type 'RawThreadKey<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | struct ThreadIdentifierThreadValuesKey: ThreadValuesKey {
11 |     static let rawThreadKey = RawThreadKey<Int>()
   |                |- warning: static property 'rawThreadKey' is not concurrency-safe because non-'Sendable' type 'RawThreadKey<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'rawThreadKey' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 |     static var defaultValue: Int {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Threads/RawThreadKey.swift:10:7: note: generic class 'RawThreadKey' does not conform to the 'Sendable' protocol
 8 | import Foundation
 9 |
10 | class RawThreadKey<Value> {
   |       `- note: generic class 'RawThreadKey' does not conform to the 'Sendable' protocol
11 |
12 |     private var pthreadKey: pthread_key_t
[515/530] Compiling Stitcher PipelineSubject.swift
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:13:16: warning: static property '_prefersSwiftConcurrency' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 11 | final class AsyncTask: CancellableTask {
 12 |
 13 |     static var _prefersSwiftConcurrency = true
    |                |- warning: static property '_prefersSwiftConcurrency' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert '_prefersSwiftConcurrency' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property '_prefersSwiftConcurrency' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 14 |
 15 |     @usableFromInline
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:76:24: warning: static property 'currentTask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 74 |
 75 |     @ThreadLocal
 76 |     private static var currentTask: AsyncTask? = nil
    |                        |- warning: static property 'currentTask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'currentTask' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'currentTask' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 77 |
 78 |     @ThreadLocal
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:79:24: warning: static property 'currentPriority' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 77 |
 78 |     @ThreadLocal
 79 |     private static var currentPriority: Priority = .high
    |                        |- warning: static property 'currentPriority' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'currentPriority' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'currentPriority' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 80 |
 81 |     private static let lowPriorityQueues = QueueSet(priority: .background)
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:81:24: warning: static property 'lowPriorityQueues' is not concurrency-safe because non-'Sendable' type 'AsyncTask.QueueSet' may have shared mutable state; this is an error in the Swift 6 language mode
 32 |     }
 33 |
 34 |     private class QueueSet {
    |                   `- note: class 'QueueSet' does not conform to the 'Sendable' protocol
 35 |
 36 |         private static var defaultQueueCount: Int {
    :
 79 |     private static var currentPriority: Priority = .high
 80 |
 81 |     private static let lowPriorityQueues = QueueSet(priority: .background)
    |                        |- warning: static property 'lowPriorityQueues' is not concurrency-safe because non-'Sendable' type 'AsyncTask.QueueSet' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'lowPriorityQueues' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 82 |     private static let mediumPriorityQueues = QueueSet(priority: .default)
 83 |     private static let highPriorityQueues = QueueSet(priority: .userInitiated)
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:82:24: warning: static property 'mediumPriorityQueues' is not concurrency-safe because non-'Sendable' type 'AsyncTask.QueueSet' may have shared mutable state; this is an error in the Swift 6 language mode
 32 |     }
 33 |
 34 |     private class QueueSet {
    |                   `- note: class 'QueueSet' does not conform to the 'Sendable' protocol
 35 |
 36 |         private static var defaultQueueCount: Int {
    :
 80 |
 81 |     private static let lowPriorityQueues = QueueSet(priority: .background)
 82 |     private static let mediumPriorityQueues = QueueSet(priority: .default)
    |                        |- warning: static property 'mediumPriorityQueues' is not concurrency-safe because non-'Sendable' type 'AsyncTask.QueueSet' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'mediumPriorityQueues' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 83 |     private static let highPriorityQueues = QueueSet(priority: .userInitiated)
 84 |
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:83:24: warning: static property 'highPriorityQueues' is not concurrency-safe because non-'Sendable' type 'AsyncTask.QueueSet' may have shared mutable state; this is an error in the Swift 6 language mode
 32 |     }
 33 |
 34 |     private class QueueSet {
    |                   `- note: class 'QueueSet' does not conform to the 'Sendable' protocol
 35 |
 36 |         private static var defaultQueueCount: Int {
    :
 81 |     private static let lowPriorityQueues = QueueSet(priority: .background)
 82 |     private static let mediumPriorityQueues = QueueSet(priority: .default)
 83 |     private static let highPriorityQueues = QueueSet(priority: .userInitiated)
    |                        |- warning: static property 'highPriorityQueues' is not concurrency-safe because non-'Sendable' type 'AsyncTask.QueueSet' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'highPriorityQueues' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 84 |
 85 |     private static func queue(for priority: Priority) -> DispatchQueue {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:147:24: warning: capture of 'canceller' with non-sendable type 'Atomic<Bool>' in a '@Sendable' closure
145 |
146 |             queue.async {
147 |                 guard !canceller.wrappedValue else {
    |                        `- warning: capture of 'canceller' with non-sendable type 'Atomic<Bool>' in a '@Sendable' closure
148 |                     return
149 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Atomic.swift:11:20: note: generic class 'Atomic' does not conform to the 'Sendable' protocol
 9 |
10 | @propertyWrapper
11 | public final class Atomic<Value> {
   |                    `- note: generic class 'Atomic' does not conform to the 'Sendable' protocol
12 |
13 |     private var value: Value
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:151:58: warning: capture of 'self' with non-sendable type 'AsyncTask' in a '@Sendable' closure
  9 |
 10 | @usableFromInline
 11 | final class AsyncTask: CancellableTask {
    |             `- note: class 'AsyncTask' does not conform to the 'Sendable' protocol
 12 |
 13 |     static var _prefersSwiftConcurrency = true
    :
149 |                 }
150 |
151 |                 let result = Self.$currentTask.withValue(self) {
    |                                                          `- warning: capture of 'self' with non-sendable type 'AsyncTask' in a '@Sendable' closure
152 |                     Self.$currentPriority.withValue(priority) {
153 |                         operation()
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:152:53: warning: capture of 'priority' with non-sendable type 'AsyncTask.Priority' in a '@Sendable' closure
 14 |
 15 |     @usableFromInline
 16 |     enum Priority {
    |          `- note: consider making enum 'Priority' conform to the 'Sendable' protocol
 17 |         case low
 18 |         case medium
    :
150 |
151 |                 let result = Self.$currentTask.withValue(self) {
152 |                     Self.$currentPriority.withValue(priority) {
    |                                                     `- warning: capture of 'priority' with non-sendable type 'AsyncTask.Priority' in a '@Sendable' closure
153 |                         operation()
154 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:152:53: warning: capture of 'priority' with non-sendable type 'AsyncTask.Priority' in an isolated closure; this is an error in the Swift 6 language mode
 14 |
 15 |     @usableFromInline
 16 |     enum Priority {
    |          `- note: consider making enum 'Priority' conform to the 'Sendable' protocol
 17 |         case low
 18 |         case medium
    :
150 |
151 |                 let result = Self.$currentTask.withValue(self) {
152 |                     Self.$currentPriority.withValue(priority) {
    |                                                     `- warning: capture of 'priority' with non-sendable type 'AsyncTask.Priority' in an isolated closure; this is an error in the Swift 6 language mode
153 |                         operation()
154 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Threads/ThreadIdentifierThreadValuesKey.swift:11:16: warning: static property 'rawThreadKey' is not concurrency-safe because non-'Sendable' type 'RawThreadKey<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | struct ThreadIdentifierThreadValuesKey: ThreadValuesKey {
11 |     static let rawThreadKey = RawThreadKey<Int>()
   |                |- warning: static property 'rawThreadKey' is not concurrency-safe because non-'Sendable' type 'RawThreadKey<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'rawThreadKey' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 |     static var defaultValue: Int {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Threads/RawThreadKey.swift:10:7: note: generic class 'RawThreadKey' does not conform to the 'Sendable' protocol
 8 | import Foundation
 9 |
10 | class RawThreadKey<Value> {
   |       `- note: generic class 'RawThreadKey' does not conform to the 'Sendable' protocol
11 |
12 |     private var pthreadKey: pthread_key_t
[516/530] Compiling Stitcher Stitcher.swift
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:13:16: warning: static property '_prefersSwiftConcurrency' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 11 | final class AsyncTask: CancellableTask {
 12 |
 13 |     static var _prefersSwiftConcurrency = true
    |                |- warning: static property '_prefersSwiftConcurrency' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert '_prefersSwiftConcurrency' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property '_prefersSwiftConcurrency' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 14 |
 15 |     @usableFromInline
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:76:24: warning: static property 'currentTask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 74 |
 75 |     @ThreadLocal
 76 |     private static var currentTask: AsyncTask? = nil
    |                        |- warning: static property 'currentTask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'currentTask' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'currentTask' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 77 |
 78 |     @ThreadLocal
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:79:24: warning: static property 'currentPriority' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 77 |
 78 |     @ThreadLocal
 79 |     private static var currentPriority: Priority = .high
    |                        |- warning: static property 'currentPriority' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'currentPriority' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'currentPriority' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 80 |
 81 |     private static let lowPriorityQueues = QueueSet(priority: .background)
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:81:24: warning: static property 'lowPriorityQueues' is not concurrency-safe because non-'Sendable' type 'AsyncTask.QueueSet' may have shared mutable state; this is an error in the Swift 6 language mode
 32 |     }
 33 |
 34 |     private class QueueSet {
    |                   `- note: class 'QueueSet' does not conform to the 'Sendable' protocol
 35 |
 36 |         private static var defaultQueueCount: Int {
    :
 79 |     private static var currentPriority: Priority = .high
 80 |
 81 |     private static let lowPriorityQueues = QueueSet(priority: .background)
    |                        |- warning: static property 'lowPriorityQueues' is not concurrency-safe because non-'Sendable' type 'AsyncTask.QueueSet' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'lowPriorityQueues' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 82 |     private static let mediumPriorityQueues = QueueSet(priority: .default)
 83 |     private static let highPriorityQueues = QueueSet(priority: .userInitiated)
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:82:24: warning: static property 'mediumPriorityQueues' is not concurrency-safe because non-'Sendable' type 'AsyncTask.QueueSet' may have shared mutable state; this is an error in the Swift 6 language mode
 32 |     }
 33 |
 34 |     private class QueueSet {
    |                   `- note: class 'QueueSet' does not conform to the 'Sendable' protocol
 35 |
 36 |         private static var defaultQueueCount: Int {
    :
 80 |
 81 |     private static let lowPriorityQueues = QueueSet(priority: .background)
 82 |     private static let mediumPriorityQueues = QueueSet(priority: .default)
    |                        |- warning: static property 'mediumPriorityQueues' is not concurrency-safe because non-'Sendable' type 'AsyncTask.QueueSet' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'mediumPriorityQueues' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 83 |     private static let highPriorityQueues = QueueSet(priority: .userInitiated)
 84 |
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:83:24: warning: static property 'highPriorityQueues' is not concurrency-safe because non-'Sendable' type 'AsyncTask.QueueSet' may have shared mutable state; this is an error in the Swift 6 language mode
 32 |     }
 33 |
 34 |     private class QueueSet {
    |                   `- note: class 'QueueSet' does not conform to the 'Sendable' protocol
 35 |
 36 |         private static var defaultQueueCount: Int {
    :
 81 |     private static let lowPriorityQueues = QueueSet(priority: .background)
 82 |     private static let mediumPriorityQueues = QueueSet(priority: .default)
 83 |     private static let highPriorityQueues = QueueSet(priority: .userInitiated)
    |                        |- warning: static property 'highPriorityQueues' is not concurrency-safe because non-'Sendable' type 'AsyncTask.QueueSet' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'highPriorityQueues' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 84 |
 85 |     private static func queue(for priority: Priority) -> DispatchQueue {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:147:24: warning: capture of 'canceller' with non-sendable type 'Atomic<Bool>' in a '@Sendable' closure
145 |
146 |             queue.async {
147 |                 guard !canceller.wrappedValue else {
    |                        `- warning: capture of 'canceller' with non-sendable type 'Atomic<Bool>' in a '@Sendable' closure
148 |                     return
149 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Atomic.swift:11:20: note: generic class 'Atomic' does not conform to the 'Sendable' protocol
 9 |
10 | @propertyWrapper
11 | public final class Atomic<Value> {
   |                    `- note: generic class 'Atomic' does not conform to the 'Sendable' protocol
12 |
13 |     private var value: Value
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:151:58: warning: capture of 'self' with non-sendable type 'AsyncTask' in a '@Sendable' closure
  9 |
 10 | @usableFromInline
 11 | final class AsyncTask: CancellableTask {
    |             `- note: class 'AsyncTask' does not conform to the 'Sendable' protocol
 12 |
 13 |     static var _prefersSwiftConcurrency = true
    :
149 |                 }
150 |
151 |                 let result = Self.$currentTask.withValue(self) {
    |                                                          `- warning: capture of 'self' with non-sendable type 'AsyncTask' in a '@Sendable' closure
152 |                     Self.$currentPriority.withValue(priority) {
153 |                         operation()
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:152:53: warning: capture of 'priority' with non-sendable type 'AsyncTask.Priority' in a '@Sendable' closure
 14 |
 15 |     @usableFromInline
 16 |     enum Priority {
    |          `- note: consider making enum 'Priority' conform to the 'Sendable' protocol
 17 |         case low
 18 |         case medium
    :
150 |
151 |                 let result = Self.$currentTask.withValue(self) {
152 |                     Self.$currentPriority.withValue(priority) {
    |                                                     `- warning: capture of 'priority' with non-sendable type 'AsyncTask.Priority' in a '@Sendable' closure
153 |                         operation()
154 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:152:53: warning: capture of 'priority' with non-sendable type 'AsyncTask.Priority' in an isolated closure; this is an error in the Swift 6 language mode
 14 |
 15 |     @usableFromInline
 16 |     enum Priority {
    |          `- note: consider making enum 'Priority' conform to the 'Sendable' protocol
 17 |         case low
 18 |         case medium
    :
150 |
151 |                 let result = Self.$currentTask.withValue(self) {
152 |                     Self.$currentPriority.withValue(priority) {
    |                                                     `- warning: capture of 'priority' with non-sendable type 'AsyncTask.Priority' in an isolated closure; this is an error in the Swift 6 language mode
153 |                         operation()
154 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Threads/ThreadIdentifierThreadValuesKey.swift:11:16: warning: static property 'rawThreadKey' is not concurrency-safe because non-'Sendable' type 'RawThreadKey<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | struct ThreadIdentifierThreadValuesKey: ThreadValuesKey {
11 |     static let rawThreadKey = RawThreadKey<Int>()
   |                |- warning: static property 'rawThreadKey' is not concurrency-safe because non-'Sendable' type 'RawThreadKey<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'rawThreadKey' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 |     static var defaultValue: Int {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Threads/RawThreadKey.swift:10:7: note: generic class 'RawThreadKey' does not conform to the 'Sendable' protocol
 8 | import Foundation
 9 |
10 | class RawThreadKey<Value> {
   |       `- note: generic class 'RawThreadKey' does not conform to the 'Sendable' protocol
11 |
12 |     private var pthreadKey: pthread_key_t
[517/530] Compiling Stitcher AsyncTask.swift
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:13:16: warning: static property '_prefersSwiftConcurrency' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 11 | final class AsyncTask: CancellableTask {
 12 |
 13 |     static var _prefersSwiftConcurrency = true
    |                |- warning: static property '_prefersSwiftConcurrency' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert '_prefersSwiftConcurrency' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property '_prefersSwiftConcurrency' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 14 |
 15 |     @usableFromInline
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:76:24: warning: static property 'currentTask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 74 |
 75 |     @ThreadLocal
 76 |     private static var currentTask: AsyncTask? = nil
    |                        |- warning: static property 'currentTask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'currentTask' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'currentTask' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 77 |
 78 |     @ThreadLocal
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:79:24: warning: static property 'currentPriority' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 77 |
 78 |     @ThreadLocal
 79 |     private static var currentPriority: Priority = .high
    |                        |- warning: static property 'currentPriority' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'currentPriority' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'currentPriority' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 80 |
 81 |     private static let lowPriorityQueues = QueueSet(priority: .background)
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:81:24: warning: static property 'lowPriorityQueues' is not concurrency-safe because non-'Sendable' type 'AsyncTask.QueueSet' may have shared mutable state; this is an error in the Swift 6 language mode
 32 |     }
 33 |
 34 |     private class QueueSet {
    |                   `- note: class 'QueueSet' does not conform to the 'Sendable' protocol
 35 |
 36 |         private static var defaultQueueCount: Int {
    :
 79 |     private static var currentPriority: Priority = .high
 80 |
 81 |     private static let lowPriorityQueues = QueueSet(priority: .background)
    |                        |- warning: static property 'lowPriorityQueues' is not concurrency-safe because non-'Sendable' type 'AsyncTask.QueueSet' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'lowPriorityQueues' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 82 |     private static let mediumPriorityQueues = QueueSet(priority: .default)
 83 |     private static let highPriorityQueues = QueueSet(priority: .userInitiated)
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:82:24: warning: static property 'mediumPriorityQueues' is not concurrency-safe because non-'Sendable' type 'AsyncTask.QueueSet' may have shared mutable state; this is an error in the Swift 6 language mode
 32 |     }
 33 |
 34 |     private class QueueSet {
    |                   `- note: class 'QueueSet' does not conform to the 'Sendable' protocol
 35 |
 36 |         private static var defaultQueueCount: Int {
    :
 80 |
 81 |     private static let lowPriorityQueues = QueueSet(priority: .background)
 82 |     private static let mediumPriorityQueues = QueueSet(priority: .default)
    |                        |- warning: static property 'mediumPriorityQueues' is not concurrency-safe because non-'Sendable' type 'AsyncTask.QueueSet' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'mediumPriorityQueues' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 83 |     private static let highPriorityQueues = QueueSet(priority: .userInitiated)
 84 |
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:83:24: warning: static property 'highPriorityQueues' is not concurrency-safe because non-'Sendable' type 'AsyncTask.QueueSet' may have shared mutable state; this is an error in the Swift 6 language mode
 32 |     }
 33 |
 34 |     private class QueueSet {
    |                   `- note: class 'QueueSet' does not conform to the 'Sendable' protocol
 35 |
 36 |         private static var defaultQueueCount: Int {
    :
 81 |     private static let lowPriorityQueues = QueueSet(priority: .background)
 82 |     private static let mediumPriorityQueues = QueueSet(priority: .default)
 83 |     private static let highPriorityQueues = QueueSet(priority: .userInitiated)
    |                        |- warning: static property 'highPriorityQueues' is not concurrency-safe because non-'Sendable' type 'AsyncTask.QueueSet' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'highPriorityQueues' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 84 |
 85 |     private static func queue(for priority: Priority) -> DispatchQueue {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:147:24: warning: capture of 'canceller' with non-sendable type 'Atomic<Bool>' in a '@Sendable' closure
145 |
146 |             queue.async {
147 |                 guard !canceller.wrappedValue else {
    |                        `- warning: capture of 'canceller' with non-sendable type 'Atomic<Bool>' in a '@Sendable' closure
148 |                     return
149 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Atomic.swift:11:20: note: generic class 'Atomic' does not conform to the 'Sendable' protocol
 9 |
10 | @propertyWrapper
11 | public final class Atomic<Value> {
   |                    `- note: generic class 'Atomic' does not conform to the 'Sendable' protocol
12 |
13 |     private var value: Value
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:151:58: warning: capture of 'self' with non-sendable type 'AsyncTask' in a '@Sendable' closure
  9 |
 10 | @usableFromInline
 11 | final class AsyncTask: CancellableTask {
    |             `- note: class 'AsyncTask' does not conform to the 'Sendable' protocol
 12 |
 13 |     static var _prefersSwiftConcurrency = true
    :
149 |                 }
150 |
151 |                 let result = Self.$currentTask.withValue(self) {
    |                                                          `- warning: capture of 'self' with non-sendable type 'AsyncTask' in a '@Sendable' closure
152 |                     Self.$currentPriority.withValue(priority) {
153 |                         operation()
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:152:53: warning: capture of 'priority' with non-sendable type 'AsyncTask.Priority' in a '@Sendable' closure
 14 |
 15 |     @usableFromInline
 16 |     enum Priority {
    |          `- note: consider making enum 'Priority' conform to the 'Sendable' protocol
 17 |         case low
 18 |         case medium
    :
150 |
151 |                 let result = Self.$currentTask.withValue(self) {
152 |                     Self.$currentPriority.withValue(priority) {
    |                                                     `- warning: capture of 'priority' with non-sendable type 'AsyncTask.Priority' in a '@Sendable' closure
153 |                         operation()
154 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:152:53: warning: capture of 'priority' with non-sendable type 'AsyncTask.Priority' in an isolated closure; this is an error in the Swift 6 language mode
 14 |
 15 |     @usableFromInline
 16 |     enum Priority {
    |          `- note: consider making enum 'Priority' conform to the 'Sendable' protocol
 17 |         case low
 18 |         case medium
    :
150 |
151 |                 let result = Self.$currentTask.withValue(self) {
152 |                     Self.$currentPriority.withValue(priority) {
    |                                                     `- warning: capture of 'priority' with non-sendable type 'AsyncTask.Priority' in an isolated closure; this is an error in the Swift 6 language mode
153 |                         operation()
154 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Threads/ThreadIdentifierThreadValuesKey.swift:11:16: warning: static property 'rawThreadKey' is not concurrency-safe because non-'Sendable' type 'RawThreadKey<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | struct ThreadIdentifierThreadValuesKey: ThreadValuesKey {
11 |     static let rawThreadKey = RawThreadKey<Int>()
   |                |- warning: static property 'rawThreadKey' is not concurrency-safe because non-'Sendable' type 'RawThreadKey<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'rawThreadKey' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 |     static var defaultValue: Int {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Threads/RawThreadKey.swift:10:7: note: generic class 'RawThreadKey' does not conform to the 'Sendable' protocol
 8 | import Foundation
 9 |
10 | class RawThreadKey<Value> {
   |       `- note: generic class 'RawThreadKey' does not conform to the 'Sendable' protocol
11 |
12 |     private var pthreadKey: pthread_key_t
[518/530] Compiling Stitcher CancellableTask.swift
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:13:16: warning: static property '_prefersSwiftConcurrency' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 11 | final class AsyncTask: CancellableTask {
 12 |
 13 |     static var _prefersSwiftConcurrency = true
    |                |- warning: static property '_prefersSwiftConcurrency' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert '_prefersSwiftConcurrency' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property '_prefersSwiftConcurrency' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 14 |
 15 |     @usableFromInline
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:76:24: warning: static property 'currentTask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 74 |
 75 |     @ThreadLocal
 76 |     private static var currentTask: AsyncTask? = nil
    |                        |- warning: static property 'currentTask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'currentTask' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'currentTask' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 77 |
 78 |     @ThreadLocal
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:79:24: warning: static property 'currentPriority' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 77 |
 78 |     @ThreadLocal
 79 |     private static var currentPriority: Priority = .high
    |                        |- warning: static property 'currentPriority' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'currentPriority' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'currentPriority' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 80 |
 81 |     private static let lowPriorityQueues = QueueSet(priority: .background)
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:81:24: warning: static property 'lowPriorityQueues' is not concurrency-safe because non-'Sendable' type 'AsyncTask.QueueSet' may have shared mutable state; this is an error in the Swift 6 language mode
 32 |     }
 33 |
 34 |     private class QueueSet {
    |                   `- note: class 'QueueSet' does not conform to the 'Sendable' protocol
 35 |
 36 |         private static var defaultQueueCount: Int {
    :
 79 |     private static var currentPriority: Priority = .high
 80 |
 81 |     private static let lowPriorityQueues = QueueSet(priority: .background)
    |                        |- warning: static property 'lowPriorityQueues' is not concurrency-safe because non-'Sendable' type 'AsyncTask.QueueSet' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'lowPriorityQueues' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 82 |     private static let mediumPriorityQueues = QueueSet(priority: .default)
 83 |     private static let highPriorityQueues = QueueSet(priority: .userInitiated)
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:82:24: warning: static property 'mediumPriorityQueues' is not concurrency-safe because non-'Sendable' type 'AsyncTask.QueueSet' may have shared mutable state; this is an error in the Swift 6 language mode
 32 |     }
 33 |
 34 |     private class QueueSet {
    |                   `- note: class 'QueueSet' does not conform to the 'Sendable' protocol
 35 |
 36 |         private static var defaultQueueCount: Int {
    :
 80 |
 81 |     private static let lowPriorityQueues = QueueSet(priority: .background)
 82 |     private static let mediumPriorityQueues = QueueSet(priority: .default)
    |                        |- warning: static property 'mediumPriorityQueues' is not concurrency-safe because non-'Sendable' type 'AsyncTask.QueueSet' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'mediumPriorityQueues' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 83 |     private static let highPriorityQueues = QueueSet(priority: .userInitiated)
 84 |
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:83:24: warning: static property 'highPriorityQueues' is not concurrency-safe because non-'Sendable' type 'AsyncTask.QueueSet' may have shared mutable state; this is an error in the Swift 6 language mode
 32 |     }
 33 |
 34 |     private class QueueSet {
    |                   `- note: class 'QueueSet' does not conform to the 'Sendable' protocol
 35 |
 36 |         private static var defaultQueueCount: Int {
    :
 81 |     private static let lowPriorityQueues = QueueSet(priority: .background)
 82 |     private static let mediumPriorityQueues = QueueSet(priority: .default)
 83 |     private static let highPriorityQueues = QueueSet(priority: .userInitiated)
    |                        |- warning: static property 'highPriorityQueues' is not concurrency-safe because non-'Sendable' type 'AsyncTask.QueueSet' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'highPriorityQueues' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 84 |
 85 |     private static func queue(for priority: Priority) -> DispatchQueue {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:147:24: warning: capture of 'canceller' with non-sendable type 'Atomic<Bool>' in a '@Sendable' closure
145 |
146 |             queue.async {
147 |                 guard !canceller.wrappedValue else {
    |                        `- warning: capture of 'canceller' with non-sendable type 'Atomic<Bool>' in a '@Sendable' closure
148 |                     return
149 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Atomic.swift:11:20: note: generic class 'Atomic' does not conform to the 'Sendable' protocol
 9 |
10 | @propertyWrapper
11 | public final class Atomic<Value> {
   |                    `- note: generic class 'Atomic' does not conform to the 'Sendable' protocol
12 |
13 |     private var value: Value
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:151:58: warning: capture of 'self' with non-sendable type 'AsyncTask' in a '@Sendable' closure
  9 |
 10 | @usableFromInline
 11 | final class AsyncTask: CancellableTask {
    |             `- note: class 'AsyncTask' does not conform to the 'Sendable' protocol
 12 |
 13 |     static var _prefersSwiftConcurrency = true
    :
149 |                 }
150 |
151 |                 let result = Self.$currentTask.withValue(self) {
    |                                                          `- warning: capture of 'self' with non-sendable type 'AsyncTask' in a '@Sendable' closure
152 |                     Self.$currentPriority.withValue(priority) {
153 |                         operation()
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:152:53: warning: capture of 'priority' with non-sendable type 'AsyncTask.Priority' in a '@Sendable' closure
 14 |
 15 |     @usableFromInline
 16 |     enum Priority {
    |          `- note: consider making enum 'Priority' conform to the 'Sendable' protocol
 17 |         case low
 18 |         case medium
    :
150 |
151 |                 let result = Self.$currentTask.withValue(self) {
152 |                     Self.$currentPriority.withValue(priority) {
    |                                                     `- warning: capture of 'priority' with non-sendable type 'AsyncTask.Priority' in a '@Sendable' closure
153 |                         operation()
154 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:152:53: warning: capture of 'priority' with non-sendable type 'AsyncTask.Priority' in an isolated closure; this is an error in the Swift 6 language mode
 14 |
 15 |     @usableFromInline
 16 |     enum Priority {
    |          `- note: consider making enum 'Priority' conform to the 'Sendable' protocol
 17 |         case low
 18 |         case medium
    :
150 |
151 |                 let result = Self.$currentTask.withValue(self) {
152 |                     Self.$currentPriority.withValue(priority) {
    |                                                     `- warning: capture of 'priority' with non-sendable type 'AsyncTask.Priority' in an isolated closure; this is an error in the Swift 6 language mode
153 |                         operation()
154 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Threads/ThreadIdentifierThreadValuesKey.swift:11:16: warning: static property 'rawThreadKey' is not concurrency-safe because non-'Sendable' type 'RawThreadKey<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | struct ThreadIdentifierThreadValuesKey: ThreadValuesKey {
11 |     static let rawThreadKey = RawThreadKey<Int>()
   |                |- warning: static property 'rawThreadKey' is not concurrency-safe because non-'Sendable' type 'RawThreadKey<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'rawThreadKey' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 |     static var defaultValue: Int {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Threads/RawThreadKey.swift:10:7: note: generic class 'RawThreadKey' does not conform to the 'Sendable' protocol
 8 | import Foundation
 9 |
10 | class RawThreadKey<Value> {
   |       `- note: generic class 'RawThreadKey' does not conform to the 'Sendable' protocol
11 |
12 |     private var pthreadKey: pthread_key_t
[519/530] Compiling Stitcher RawThreadKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:13:16: warning: static property '_prefersSwiftConcurrency' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 11 | final class AsyncTask: CancellableTask {
 12 |
 13 |     static var _prefersSwiftConcurrency = true
    |                |- warning: static property '_prefersSwiftConcurrency' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert '_prefersSwiftConcurrency' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property '_prefersSwiftConcurrency' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 14 |
 15 |     @usableFromInline
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:76:24: warning: static property 'currentTask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 74 |
 75 |     @ThreadLocal
 76 |     private static var currentTask: AsyncTask? = nil
    |                        |- warning: static property 'currentTask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'currentTask' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'currentTask' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 77 |
 78 |     @ThreadLocal
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:79:24: warning: static property 'currentPriority' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 77 |
 78 |     @ThreadLocal
 79 |     private static var currentPriority: Priority = .high
    |                        |- warning: static property 'currentPriority' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'currentPriority' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'currentPriority' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 80 |
 81 |     private static let lowPriorityQueues = QueueSet(priority: .background)
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:81:24: warning: static property 'lowPriorityQueues' is not concurrency-safe because non-'Sendable' type 'AsyncTask.QueueSet' may have shared mutable state; this is an error in the Swift 6 language mode
 32 |     }
 33 |
 34 |     private class QueueSet {
    |                   `- note: class 'QueueSet' does not conform to the 'Sendable' protocol
 35 |
 36 |         private static var defaultQueueCount: Int {
    :
 79 |     private static var currentPriority: Priority = .high
 80 |
 81 |     private static let lowPriorityQueues = QueueSet(priority: .background)
    |                        |- warning: static property 'lowPriorityQueues' is not concurrency-safe because non-'Sendable' type 'AsyncTask.QueueSet' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'lowPriorityQueues' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 82 |     private static let mediumPriorityQueues = QueueSet(priority: .default)
 83 |     private static let highPriorityQueues = QueueSet(priority: .userInitiated)
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:82:24: warning: static property 'mediumPriorityQueues' is not concurrency-safe because non-'Sendable' type 'AsyncTask.QueueSet' may have shared mutable state; this is an error in the Swift 6 language mode
 32 |     }
 33 |
 34 |     private class QueueSet {
    |                   `- note: class 'QueueSet' does not conform to the 'Sendable' protocol
 35 |
 36 |         private static var defaultQueueCount: Int {
    :
 80 |
 81 |     private static let lowPriorityQueues = QueueSet(priority: .background)
 82 |     private static let mediumPriorityQueues = QueueSet(priority: .default)
    |                        |- warning: static property 'mediumPriorityQueues' is not concurrency-safe because non-'Sendable' type 'AsyncTask.QueueSet' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'mediumPriorityQueues' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 83 |     private static let highPriorityQueues = QueueSet(priority: .userInitiated)
 84 |
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:83:24: warning: static property 'highPriorityQueues' is not concurrency-safe because non-'Sendable' type 'AsyncTask.QueueSet' may have shared mutable state; this is an error in the Swift 6 language mode
 32 |     }
 33 |
 34 |     private class QueueSet {
    |                   `- note: class 'QueueSet' does not conform to the 'Sendable' protocol
 35 |
 36 |         private static var defaultQueueCount: Int {
    :
 81 |     private static let lowPriorityQueues = QueueSet(priority: .background)
 82 |     private static let mediumPriorityQueues = QueueSet(priority: .default)
 83 |     private static let highPriorityQueues = QueueSet(priority: .userInitiated)
    |                        |- warning: static property 'highPriorityQueues' is not concurrency-safe because non-'Sendable' type 'AsyncTask.QueueSet' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'highPriorityQueues' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 84 |
 85 |     private static func queue(for priority: Priority) -> DispatchQueue {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:147:24: warning: capture of 'canceller' with non-sendable type 'Atomic<Bool>' in a '@Sendable' closure
145 |
146 |             queue.async {
147 |                 guard !canceller.wrappedValue else {
    |                        `- warning: capture of 'canceller' with non-sendable type 'Atomic<Bool>' in a '@Sendable' closure
148 |                     return
149 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Atomic.swift:11:20: note: generic class 'Atomic' does not conform to the 'Sendable' protocol
 9 |
10 | @propertyWrapper
11 | public final class Atomic<Value> {
   |                    `- note: generic class 'Atomic' does not conform to the 'Sendable' protocol
12 |
13 |     private var value: Value
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:151:58: warning: capture of 'self' with non-sendable type 'AsyncTask' in a '@Sendable' closure
  9 |
 10 | @usableFromInline
 11 | final class AsyncTask: CancellableTask {
    |             `- note: class 'AsyncTask' does not conform to the 'Sendable' protocol
 12 |
 13 |     static var _prefersSwiftConcurrency = true
    :
149 |                 }
150 |
151 |                 let result = Self.$currentTask.withValue(self) {
    |                                                          `- warning: capture of 'self' with non-sendable type 'AsyncTask' in a '@Sendable' closure
152 |                     Self.$currentPriority.withValue(priority) {
153 |                         operation()
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:152:53: warning: capture of 'priority' with non-sendable type 'AsyncTask.Priority' in a '@Sendable' closure
 14 |
 15 |     @usableFromInline
 16 |     enum Priority {
    |          `- note: consider making enum 'Priority' conform to the 'Sendable' protocol
 17 |         case low
 18 |         case medium
    :
150 |
151 |                 let result = Self.$currentTask.withValue(self) {
152 |                     Self.$currentPriority.withValue(priority) {
    |                                                     `- warning: capture of 'priority' with non-sendable type 'AsyncTask.Priority' in a '@Sendable' closure
153 |                         operation()
154 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:152:53: warning: capture of 'priority' with non-sendable type 'AsyncTask.Priority' in an isolated closure; this is an error in the Swift 6 language mode
 14 |
 15 |     @usableFromInline
 16 |     enum Priority {
    |          `- note: consider making enum 'Priority' conform to the 'Sendable' protocol
 17 |         case low
 18 |         case medium
    :
150 |
151 |                 let result = Self.$currentTask.withValue(self) {
152 |                     Self.$currentPriority.withValue(priority) {
    |                                                     `- warning: capture of 'priority' with non-sendable type 'AsyncTask.Priority' in an isolated closure; this is an error in the Swift 6 language mode
153 |                         operation()
154 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Threads/ThreadIdentifierThreadValuesKey.swift:11:16: warning: static property 'rawThreadKey' is not concurrency-safe because non-'Sendable' type 'RawThreadKey<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | struct ThreadIdentifierThreadValuesKey: ThreadValuesKey {
11 |     static let rawThreadKey = RawThreadKey<Int>()
   |                |- warning: static property 'rawThreadKey' is not concurrency-safe because non-'Sendable' type 'RawThreadKey<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'rawThreadKey' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 |     static var defaultValue: Int {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Threads/RawThreadKey.swift:10:7: note: generic class 'RawThreadKey' does not conform to the 'Sendable' protocol
 8 | import Foundation
 9 |
10 | class RawThreadKey<Value> {
   |       `- note: generic class 'RawThreadKey' does not conform to the 'Sendable' protocol
11 |
12 |     private var pthreadKey: pthread_key_t
[520/530] Compiling Stitcher RawThreadKeyError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:13:16: warning: static property '_prefersSwiftConcurrency' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 11 | final class AsyncTask: CancellableTask {
 12 |
 13 |     static var _prefersSwiftConcurrency = true
    |                |- warning: static property '_prefersSwiftConcurrency' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert '_prefersSwiftConcurrency' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property '_prefersSwiftConcurrency' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 14 |
 15 |     @usableFromInline
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:76:24: warning: static property 'currentTask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 74 |
 75 |     @ThreadLocal
 76 |     private static var currentTask: AsyncTask? = nil
    |                        |- warning: static property 'currentTask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'currentTask' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'currentTask' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 77 |
 78 |     @ThreadLocal
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:79:24: warning: static property 'currentPriority' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 77 |
 78 |     @ThreadLocal
 79 |     private static var currentPriority: Priority = .high
    |                        |- warning: static property 'currentPriority' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'currentPriority' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'currentPriority' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 80 |
 81 |     private static let lowPriorityQueues = QueueSet(priority: .background)
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:81:24: warning: static property 'lowPriorityQueues' is not concurrency-safe because non-'Sendable' type 'AsyncTask.QueueSet' may have shared mutable state; this is an error in the Swift 6 language mode
 32 |     }
 33 |
 34 |     private class QueueSet {
    |                   `- note: class 'QueueSet' does not conform to the 'Sendable' protocol
 35 |
 36 |         private static var defaultQueueCount: Int {
    :
 79 |     private static var currentPriority: Priority = .high
 80 |
 81 |     private static let lowPriorityQueues = QueueSet(priority: .background)
    |                        |- warning: static property 'lowPriorityQueues' is not concurrency-safe because non-'Sendable' type 'AsyncTask.QueueSet' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'lowPriorityQueues' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 82 |     private static let mediumPriorityQueues = QueueSet(priority: .default)
 83 |     private static let highPriorityQueues = QueueSet(priority: .userInitiated)
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:82:24: warning: static property 'mediumPriorityQueues' is not concurrency-safe because non-'Sendable' type 'AsyncTask.QueueSet' may have shared mutable state; this is an error in the Swift 6 language mode
 32 |     }
 33 |
 34 |     private class QueueSet {
    |                   `- note: class 'QueueSet' does not conform to the 'Sendable' protocol
 35 |
 36 |         private static var defaultQueueCount: Int {
    :
 80 |
 81 |     private static let lowPriorityQueues = QueueSet(priority: .background)
 82 |     private static let mediumPriorityQueues = QueueSet(priority: .default)
    |                        |- warning: static property 'mediumPriorityQueues' is not concurrency-safe because non-'Sendable' type 'AsyncTask.QueueSet' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'mediumPriorityQueues' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 83 |     private static let highPriorityQueues = QueueSet(priority: .userInitiated)
 84 |
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:83:24: warning: static property 'highPriorityQueues' is not concurrency-safe because non-'Sendable' type 'AsyncTask.QueueSet' may have shared mutable state; this is an error in the Swift 6 language mode
 32 |     }
 33 |
 34 |     private class QueueSet {
    |                   `- note: class 'QueueSet' does not conform to the 'Sendable' protocol
 35 |
 36 |         private static var defaultQueueCount: Int {
    :
 81 |     private static let lowPriorityQueues = QueueSet(priority: .background)
 82 |     private static let mediumPriorityQueues = QueueSet(priority: .default)
 83 |     private static let highPriorityQueues = QueueSet(priority: .userInitiated)
    |                        |- warning: static property 'highPriorityQueues' is not concurrency-safe because non-'Sendable' type 'AsyncTask.QueueSet' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'highPriorityQueues' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 84 |
 85 |     private static func queue(for priority: Priority) -> DispatchQueue {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:147:24: warning: capture of 'canceller' with non-sendable type 'Atomic<Bool>' in a '@Sendable' closure
145 |
146 |             queue.async {
147 |                 guard !canceller.wrappedValue else {
    |                        `- warning: capture of 'canceller' with non-sendable type 'Atomic<Bool>' in a '@Sendable' closure
148 |                     return
149 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Atomic.swift:11:20: note: generic class 'Atomic' does not conform to the 'Sendable' protocol
 9 |
10 | @propertyWrapper
11 | public final class Atomic<Value> {
   |                    `- note: generic class 'Atomic' does not conform to the 'Sendable' protocol
12 |
13 |     private var value: Value
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:151:58: warning: capture of 'self' with non-sendable type 'AsyncTask' in a '@Sendable' closure
  9 |
 10 | @usableFromInline
 11 | final class AsyncTask: CancellableTask {
    |             `- note: class 'AsyncTask' does not conform to the 'Sendable' protocol
 12 |
 13 |     static var _prefersSwiftConcurrency = true
    :
149 |                 }
150 |
151 |                 let result = Self.$currentTask.withValue(self) {
    |                                                          `- warning: capture of 'self' with non-sendable type 'AsyncTask' in a '@Sendable' closure
152 |                     Self.$currentPriority.withValue(priority) {
153 |                         operation()
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:152:53: warning: capture of 'priority' with non-sendable type 'AsyncTask.Priority' in a '@Sendable' closure
 14 |
 15 |     @usableFromInline
 16 |     enum Priority {
    |          `- note: consider making enum 'Priority' conform to the 'Sendable' protocol
 17 |         case low
 18 |         case medium
    :
150 |
151 |                 let result = Self.$currentTask.withValue(self) {
152 |                     Self.$currentPriority.withValue(priority) {
    |                                                     `- warning: capture of 'priority' with non-sendable type 'AsyncTask.Priority' in a '@Sendable' closure
153 |                         operation()
154 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:152:53: warning: capture of 'priority' with non-sendable type 'AsyncTask.Priority' in an isolated closure; this is an error in the Swift 6 language mode
 14 |
 15 |     @usableFromInline
 16 |     enum Priority {
    |          `- note: consider making enum 'Priority' conform to the 'Sendable' protocol
 17 |         case low
 18 |         case medium
    :
150 |
151 |                 let result = Self.$currentTask.withValue(self) {
152 |                     Self.$currentPriority.withValue(priority) {
    |                                                     `- warning: capture of 'priority' with non-sendable type 'AsyncTask.Priority' in an isolated closure; this is an error in the Swift 6 language mode
153 |                         operation()
154 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Threads/ThreadIdentifierThreadValuesKey.swift:11:16: warning: static property 'rawThreadKey' is not concurrency-safe because non-'Sendable' type 'RawThreadKey<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | struct ThreadIdentifierThreadValuesKey: ThreadValuesKey {
11 |     static let rawThreadKey = RawThreadKey<Int>()
   |                |- warning: static property 'rawThreadKey' is not concurrency-safe because non-'Sendable' type 'RawThreadKey<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'rawThreadKey' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 |     static var defaultValue: Int {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Threads/RawThreadKey.swift:10:7: note: generic class 'RawThreadKey' does not conform to the 'Sendable' protocol
 8 | import Foundation
 9 |
10 | class RawThreadKey<Value> {
   |       `- note: generic class 'RawThreadKey' does not conform to the 'Sendable' protocol
11 |
12 |     private var pthreadKey: pthread_key_t
[521/530] Compiling Stitcher ThreadIdentifierThreadValuesKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:13:16: warning: static property '_prefersSwiftConcurrency' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 11 | final class AsyncTask: CancellableTask {
 12 |
 13 |     static var _prefersSwiftConcurrency = true
    |                |- warning: static property '_prefersSwiftConcurrency' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert '_prefersSwiftConcurrency' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property '_prefersSwiftConcurrency' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 14 |
 15 |     @usableFromInline
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:76:24: warning: static property 'currentTask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 74 |
 75 |     @ThreadLocal
 76 |     private static var currentTask: AsyncTask? = nil
    |                        |- warning: static property 'currentTask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'currentTask' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'currentTask' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 77 |
 78 |     @ThreadLocal
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:79:24: warning: static property 'currentPriority' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 77 |
 78 |     @ThreadLocal
 79 |     private static var currentPriority: Priority = .high
    |                        |- warning: static property 'currentPriority' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'currentPriority' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'currentPriority' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 80 |
 81 |     private static let lowPriorityQueues = QueueSet(priority: .background)
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:81:24: warning: static property 'lowPriorityQueues' is not concurrency-safe because non-'Sendable' type 'AsyncTask.QueueSet' may have shared mutable state; this is an error in the Swift 6 language mode
 32 |     }
 33 |
 34 |     private class QueueSet {
    |                   `- note: class 'QueueSet' does not conform to the 'Sendable' protocol
 35 |
 36 |         private static var defaultQueueCount: Int {
    :
 79 |     private static var currentPriority: Priority = .high
 80 |
 81 |     private static let lowPriorityQueues = QueueSet(priority: .background)
    |                        |- warning: static property 'lowPriorityQueues' is not concurrency-safe because non-'Sendable' type 'AsyncTask.QueueSet' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'lowPriorityQueues' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 82 |     private static let mediumPriorityQueues = QueueSet(priority: .default)
 83 |     private static let highPriorityQueues = QueueSet(priority: .userInitiated)
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:82:24: warning: static property 'mediumPriorityQueues' is not concurrency-safe because non-'Sendable' type 'AsyncTask.QueueSet' may have shared mutable state; this is an error in the Swift 6 language mode
 32 |     }
 33 |
 34 |     private class QueueSet {
    |                   `- note: class 'QueueSet' does not conform to the 'Sendable' protocol
 35 |
 36 |         private static var defaultQueueCount: Int {
    :
 80 |
 81 |     private static let lowPriorityQueues = QueueSet(priority: .background)
 82 |     private static let mediumPriorityQueues = QueueSet(priority: .default)
    |                        |- warning: static property 'mediumPriorityQueues' is not concurrency-safe because non-'Sendable' type 'AsyncTask.QueueSet' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'mediumPriorityQueues' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 83 |     private static let highPriorityQueues = QueueSet(priority: .userInitiated)
 84 |
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:83:24: warning: static property 'highPriorityQueues' is not concurrency-safe because non-'Sendable' type 'AsyncTask.QueueSet' may have shared mutable state; this is an error in the Swift 6 language mode
 32 |     }
 33 |
 34 |     private class QueueSet {
    |                   `- note: class 'QueueSet' does not conform to the 'Sendable' protocol
 35 |
 36 |         private static var defaultQueueCount: Int {
    :
 81 |     private static let lowPriorityQueues = QueueSet(priority: .background)
 82 |     private static let mediumPriorityQueues = QueueSet(priority: .default)
 83 |     private static let highPriorityQueues = QueueSet(priority: .userInitiated)
    |                        |- warning: static property 'highPriorityQueues' is not concurrency-safe because non-'Sendable' type 'AsyncTask.QueueSet' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'highPriorityQueues' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 84 |
 85 |     private static func queue(for priority: Priority) -> DispatchQueue {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:147:24: warning: capture of 'canceller' with non-sendable type 'Atomic<Bool>' in a '@Sendable' closure
145 |
146 |             queue.async {
147 |                 guard !canceller.wrappedValue else {
    |                        `- warning: capture of 'canceller' with non-sendable type 'Atomic<Bool>' in a '@Sendable' closure
148 |                     return
149 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Atomic.swift:11:20: note: generic class 'Atomic' does not conform to the 'Sendable' protocol
 9 |
10 | @propertyWrapper
11 | public final class Atomic<Value> {
   |                    `- note: generic class 'Atomic' does not conform to the 'Sendable' protocol
12 |
13 |     private var value: Value
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:151:58: warning: capture of 'self' with non-sendable type 'AsyncTask' in a '@Sendable' closure
  9 |
 10 | @usableFromInline
 11 | final class AsyncTask: CancellableTask {
    |             `- note: class 'AsyncTask' does not conform to the 'Sendable' protocol
 12 |
 13 |     static var _prefersSwiftConcurrency = true
    :
149 |                 }
150 |
151 |                 let result = Self.$currentTask.withValue(self) {
    |                                                          `- warning: capture of 'self' with non-sendable type 'AsyncTask' in a '@Sendable' closure
152 |                     Self.$currentPriority.withValue(priority) {
153 |                         operation()
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:152:53: warning: capture of 'priority' with non-sendable type 'AsyncTask.Priority' in a '@Sendable' closure
 14 |
 15 |     @usableFromInline
 16 |     enum Priority {
    |          `- note: consider making enum 'Priority' conform to the 'Sendable' protocol
 17 |         case low
 18 |         case medium
    :
150 |
151 |                 let result = Self.$currentTask.withValue(self) {
152 |                     Self.$currentPriority.withValue(priority) {
    |                                                     `- warning: capture of 'priority' with non-sendable type 'AsyncTask.Priority' in a '@Sendable' closure
153 |                         operation()
154 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:152:53: warning: capture of 'priority' with non-sendable type 'AsyncTask.Priority' in an isolated closure; this is an error in the Swift 6 language mode
 14 |
 15 |     @usableFromInline
 16 |     enum Priority {
    |          `- note: consider making enum 'Priority' conform to the 'Sendable' protocol
 17 |         case low
 18 |         case medium
    :
150 |
151 |                 let result = Self.$currentTask.withValue(self) {
152 |                     Self.$currentPriority.withValue(priority) {
    |                                                     `- warning: capture of 'priority' with non-sendable type 'AsyncTask.Priority' in an isolated closure; this is an error in the Swift 6 language mode
153 |                         operation()
154 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Threads/ThreadIdentifierThreadValuesKey.swift:11:16: warning: static property 'rawThreadKey' is not concurrency-safe because non-'Sendable' type 'RawThreadKey<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | struct ThreadIdentifierThreadValuesKey: ThreadValuesKey {
11 |     static let rawThreadKey = RawThreadKey<Int>()
   |                |- warning: static property 'rawThreadKey' is not concurrency-safe because non-'Sendable' type 'RawThreadKey<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'rawThreadKey' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 |     static var defaultValue: Int {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Threads/RawThreadKey.swift:10:7: note: generic class 'RawThreadKey' does not conform to the 'Sendable' protocol
 8 | import Foundation
 9 |
10 | class RawThreadKey<Value> {
   |       `- note: generic class 'RawThreadKey' does not conform to the 'Sendable' protocol
11 |
12 |     private var pthreadKey: pthread_key_t
[522/530] Emitting module Stitcher
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerators.swift:19:20: warning: static property 'stitcherTest' is not concurrency-safe because non-'Sendable' type 'InjectionCodeGenerators.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public enum InjectionCodeGenerators {
11 |
12 |     public struct Name: Hashable, CaseIterable {
   |                   `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 |         public let rawValue: String
14 |
   :
17 |         }
18 |
19 |         static let stitcherTest = Name(rawValue: "stitcherTest")
   |                    |- warning: static property 'stitcherTest' is not concurrency-safe because non-'Sendable' type 'InjectionCodeGenerators.Name' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: add '@MainActor' to make static property 'stitcherTest' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |         public static let stitcherByType = Name(rawValue: "stitcherByType")
21 |         public static let stitcherByName = Name(rawValue: "stitcherByName")
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerators.swift:20:27: warning: static property 'stitcherByType' is not concurrency-safe because non-'Sendable' type 'InjectionCodeGenerators.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public enum InjectionCodeGenerators {
11 |
12 |     public struct Name: Hashable, CaseIterable {
   |                   `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 |         public let rawValue: String
14 |
   :
18 |
19 |         static let stitcherTest = Name(rawValue: "stitcherTest")
20 |         public static let stitcherByType = Name(rawValue: "stitcherByType")
   |                           |- warning: static property 'stitcherByType' is not concurrency-safe because non-'Sendable' type 'InjectionCodeGenerators.Name' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: add '@MainActor' to make static property 'stitcherByType' part of global actor 'MainActor'
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |         public static let stitcherByName = Name(rawValue: "stitcherByName")
22 |
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerators.swift:21:27: warning: static property 'stitcherByName' is not concurrency-safe because non-'Sendable' type 'InjectionCodeGenerators.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public enum InjectionCodeGenerators {
11 |
12 |     public struct Name: Hashable, CaseIterable {
   |                   `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 |         public let rawValue: String
14 |
   :
19 |         static let stitcherTest = Name(rawValue: "stitcherTest")
20 |         public static let stitcherByType = Name(rawValue: "stitcherByType")
21 |         public static let stitcherByName = Name(rawValue: "stitcherByName")
   |                           |- warning: static property 'stitcherByName' is not concurrency-safe because non-'Sendable' type 'InjectionCodeGenerators.Name' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: add '@MainActor' to make static property 'stitcherByName' part of global actor 'MainActor'
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 |         public static var allCases: [InjectionCodeGenerators.Name] = [
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerators.swift:23:27: 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
21 |         public static let stitcherByName = Name(rawValue: "stitcherByName")
22 |
23 |         public static var allCases: [InjectionCodeGenerators.Name] = [
   |                           |- 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
24 |             .stitcherTest,
25 |             .stitcherByType,
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerators.swift:30:24: warning: static property 'generators' is not concurrency-safe because non-'Sendable' type '[InjectionCodeGenerators.Name : any InjectionCodeGenerator]' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public enum InjectionCodeGenerators {
11 |
12 |     public struct Name: Hashable, CaseIterable {
   |                   `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 |         public let rawValue: String
14 |
   :
28 |     }
29 |
30 |     private static let generators: [Name : any InjectionCodeGenerator] = [
   |                        |- warning: static property 'generators' is not concurrency-safe because non-'Sendable' type '[InjectionCodeGenerators.Name : any InjectionCodeGenerator]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: add '@MainActor' to make static property 'generators' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |         .stitcherTest : TestInjectionCodeGenerator(),
32 |         .stitcherByType : TypeInjectionCodeGenerator(),
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerator.swift:10:17: note: protocol 'InjectionCodeGenerator' does not conform to the 'Sendable' protocol
 8 | import Foundation
 9 |
10 | public protocol InjectionCodeGenerator {
   |                 `- note: protocol 'InjectionCodeGenerator' does not conform to the 'Sendable' protocol
11 |
12 |     func generateInjectionExpression(
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Configuration/StitcherConfiguration.swift:50:31: warning: static property 'indexerFactory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 48 |
 49 |     /// A factory function used to create the indexing provider.
 50 |     @Atomic public static var indexerFactory: () -> Indexing = { DefaultIndexer() }
    |                               |- warning: static property 'indexerFactory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'indexerFactory' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: add '@MainActor' to make static property 'indexerFactory' part of global actor 'MainActor'
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 51 |
 52 |     /// Controls whether indexing dependencies is enabled.
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Configuration/StitcherConfiguration.swift:68:31: warning: static property 'isIndexingEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 66 |     /// However, as it is highly unlikely that a dependency will be registered with more than 2 type aliases,
 67 |     /// we can average the lookup time to O(1).
 68 |     @Atomic public static var isIndexingEnabled = true
    |                               |- warning: static property 'isIndexingEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'isIndexingEnabled' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: add '@MainActor' to make static property 'isIndexingEnabled' part of global actor 'MainActor'
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 69 |
 70 |     /// An approximate count of the dependencies defined in the app.
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Configuration/StitcherConfiguration.swift:112:31: warning: static property 'approximateDependencyCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
110 |     /// - Warning: Avoid changing this value unecessarily as it can negatively impact runtime memory footprint and performance.
111 |     ///   Setting an arbitrarily high value may allocate a large portion of memory, while a low value can increase indexing time.
112 |     @Atomic public static var approximateDependencyCount = 30_000
    |                               |- warning: static property 'approximateDependencyCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'approximateDependencyCount' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: add '@MainActor' to make static property 'approximateDependencyCount' part of global actor 'MainActor'
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 |
114 |     /// Controls the frequency at which the dependency graph instance storage will be automatically cleaned up.
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Configuration/StitcherConfiguration.swift:116:31: warning: static property 'autoCleanupFrequency' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
114 |     /// Controls the frequency at which the dependency graph instance storage will be automatically cleaned up.
115 |     @available(*, unavailable, renamed: "autoCleanupEnabled", message: "")
116 |     @Atomic public static var autoCleanupFrequency = 0
    |                               |- warning: static property 'autoCleanupFrequency' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'autoCleanupFrequency' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: add '@MainActor' to make static property 'autoCleanupFrequency' part of global actor 'MainActor'
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 |
118 |     /// Controls whether automatic cleanup of the `DependencyGraph` instance storage is enabled.
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Configuration/StitcherConfiguration.swift:119:31: warning: static property 'autoCleanupEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
117 |
118 |     /// Controls whether automatic cleanup of the `DependencyGraph` instance storage is enabled.
119 |     @Atomic public static var autoCleanupEnabled = true
    |                               |- warning: static property 'autoCleanupEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'autoCleanupEnabled' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: add '@MainActor' to make static property 'autoCleanupEnabled' part of global actor 'MainActor'
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 |
121 |     /// Controls the availability of the runtime depedency cycle detection feature.
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Configuration/StitcherConfiguration.swift:124:31: warning: static property 'runtimeCycleDetectionAvailability' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
122 |     ///
123 |     /// - Note: By default, the feature is enabled on debug builds in order to increase the performance of injecting dependencies.
124 |     @Atomic public static var runtimeCycleDetectionAvailability = RuntimeCycleDetectionAvailability.debugOnly
    |                               |- warning: static property 'runtimeCycleDetectionAvailability' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'runtimeCycleDetectionAvailability' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: add '@MainActor' to make static property 'runtimeCycleDetectionAvailability' part of global actor 'MainActor'
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
125 | }
126 |
macro expansion @TaskLocal:1:24: warning: static property '$instantiationBacktrace' is not concurrency-safe because non-'Sendable' type 'TaskLocal<OrderedSet<DependencyLocator>>' may have shared mutable state; this is an error in the Swift 6 language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
 13 |
 14 |     @TaskLocal
 15 |     fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
    +--- macro expansion @TaskLocal ------------------------------------
    |1 | fileprivate static let $instantiationBacktrace: TaskLocal<OrderedSet<DependencyLocator>> = TaskLocal(wrappedValue: [])
    |  |                        |- warning: static property '$instantiationBacktrace' is not concurrency-safe because non-'Sendable' type 'TaskLocal<OrderedSet<DependencyLocator>>' may have shared mutable state; this is an error in the Swift 6 language mode
    |  |                        |- note: add '@MainActor' to make static property '$instantiationBacktrace' part of global actor 'MainActor'
    |  |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    +-------------------------------------------------------------------
 16 |
 17 |     fileprivate static func preventCycle(
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
  9 |
 10 | /// A type that can be used as a query to locate a dependency.
 11 | public struct DependencyLocator: Hashable {
    |               `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
 12 |     typealias Predicate = (MatchProposal) -> Bool
 13 |
macro expansion @TaskLocal:1:24: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
 13 |
 14 |     @TaskLocal
 15 |     fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
    +--- macro expansion @TaskLocal ------------------------------------
    |1 | fileprivate static let $instantiationBacktrace: TaskLocal<OrderedSet<DependencyLocator>> = TaskLocal(wrappedValue: [])
    |  |                        `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
    +-------------------------------------------------------------------
 16 |
 17 |     fileprivate static func preventCycle(
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
  9 |
 10 | /// A type that can be used as a query to locate a dependency.
 11 | public struct DependencyLocator: Hashable {
    |               `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
 12 |     typealias Predicate = (MatchProposal) -> Bool
 13 |
macro expansion @TaskLocal:1:92: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
 13 |
 14 |     @TaskLocal
 15 |     fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
    +--- macro expansion @TaskLocal ------------------------------------
    |1 | fileprivate static let $instantiationBacktrace: TaskLocal<OrderedSet<DependencyLocator>> = TaskLocal(wrappedValue: [])
    |  |                                                                                            `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
    +-------------------------------------------------------------------
 16 |
 17 |     fileprivate static func preventCycle(
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
  9 |
 10 | /// A type that can be used as a query to locate a dependency.
 11 | public struct DependencyLocator: Hashable {
    |               `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
 12 |     typealias Predicate = (MatchProposal) -> Bool
 13 |
macro expansion @TaskLocal:1:92: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
 13 |
 14 |     @TaskLocal
 15 |     fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
    +--- macro expansion @TaskLocal ------------------------------------
    |1 | fileprivate static let $instantiationBacktrace: TaskLocal<OrderedSet<DependencyLocator>> = TaskLocal(wrappedValue: [])
    |  |                                                                                            `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
    +-------------------------------------------------------------------
 16 |
 17 |     fileprivate static func preventCycle(
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
  9 |
 10 | /// A type that can be used as a query to locate a dependency.
 11 | public struct DependencyLocator: Hashable {
    |               `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
 12 |     typealias Predicate = (MatchProposal) -> Bool
 13 |
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:44:28: warning: static property 'instantiationBacktrace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 42 |
 43 |     @ThreadLocal
 44 |     fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
    |                            |- warning: static property 'instantiationBacktrace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                            |- note: convert 'instantiationBacktrace' to a 'let' constant to make 'Sendable' shared state immutable
    |                            |- note: add '@MainActor' to make static property 'instantiationBacktrace' part of global actor 'MainActor'
    |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 45 |
 46 |     fileprivate static func preventCycle(
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:20:24: warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 18 |
 19 |     @Atomic
 20 |     private static var initialized = false
    |                        |- warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'initialized' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'initialized' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 |
 22 |     @Atomic
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:23:24: warning: static property 'activeContainers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 21 |
 22 |     @Atomic
 23 |     private static var activeContainers: OrderedDictionary<DependencyContainer.ID, IndexedDependencyContainer> = [:]
    |                        |- warning: static property 'activeContainers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'activeContainers' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'activeContainers' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 24 |
 25 |     @Atomic
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:26:24: warning: static property 'instanceStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 |     @Atomic
 26 |     private static var instanceStorage: [InstanceStorageKey : AnyInstanceStorage] = [:]
    |                        |- warning: static property 'instanceStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'instanceStorage' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'instanceStorage' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 27 |
 28 |     @Atomic
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:29:24: warning: static property 'subscriptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 27 |
 28 |     @Atomic
 29 |     private static var subscriptions: [DependencyContainer.ID : AnyPipelineCancellable] = [:]
    |                        |- warning: static property 'subscriptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'subscriptions' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'subscriptions' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 30 |
 31 |     private static let graphChangedSubject = PipelineSubject<Void>()
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:31:24: warning: static property 'graphChangedSubject' is not concurrency-safe because non-'Sendable' type 'PipelineSubject<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
 29 |     private static var subscriptions: [DependencyContainer.ID : AnyPipelineCancellable] = [:]
 30 |
 31 |     private static let graphChangedSubject = PipelineSubject<Void>()
    |                        |- warning: static property 'graphChangedSubject' is not concurrency-safe because non-'Sendable' type 'PipelineSubject<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'graphChangedSubject' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 32 |
 33 |     static var graphChangedPipeline: AnyPipeline<Void> {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/ReactivePipeline/PipelineSubject.swift:15:7: note: generic class 'PipelineSubject' does not conform to the 'Sendable' protocol
13 | #endif
14 |
15 | class PipelineSubject<Output>: Pipeline {
   |       `- note: generic class 'PipelineSubject' does not conform to the 'Sendable' protocol
16 |
17 |     private let provider: AnyObject
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:37:16: warning: static property 'instantionNotificationCenter' is not concurrency-safe because non-'Sendable' type 'InstantionNotificationCenter' may have shared mutable state; this is an error in the Swift 6 language mode
 35 |     }
 36 |
 37 |     static let instantionNotificationCenter = InstantionNotificationCenter()
    |                |- warning: static property 'instantionNotificationCenter' is not concurrency-safe because non-'Sendable' type 'InstantionNotificationCenter' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'instantionNotificationCenter' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 38 |
 39 |     private static let storageCleaner = StorageCleaner {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Factory/InstantionNotificationCenter.swift:10:13: note: class 'InstantionNotificationCenter' does not conform to the 'Sendable' protocol
 8 | import Foundation
 9 |
10 | final class InstantionNotificationCenter {
   |             `- note: class 'InstantionNotificationCenter' does not conform to the 'Sendable' protocol
11 |
12 |     @Atomic
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:39:24: warning: static property 'storageCleaner' is not concurrency-safe because non-'Sendable' type 'StorageCleaner' may have shared mutable state; this is an error in the Swift 6 language mode
 37 |     static let instantionNotificationCenter = InstantionNotificationCenter()
 38 |
 39 |     private static let storageCleaner = StorageCleaner {
    |                        |- warning: static property 'storageCleaner' is not concurrency-safe because non-'Sendable' type 'StorageCleaner' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'storageCleaner' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 40 |         releaseUnusedStorage()
 41 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/StorageCleaner/StorageCleaner.swift:20:7: note: class 'StorageCleaner' does not conform to the 'Sendable' protocol
18 | #endif
19 |
20 | class StorageCleaner {
   |       `- note: class 'StorageCleaner' does not conform to the 'Sendable' protocol
21 |
22 |     private var cleanupHandler: @Sendable () -> Void
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/Implementations/Common.swift:20:40: warning: capture of 'coordinator' with non-sendable type 'IndexingCoordinator' in a '@Sendable' closure; this is an error in the Swift 6 language mode
18 |
19 |     AsyncTask(priority: .high) {
20 |         var dependencyRegistrarIndex = coordinator.emptyIndex()
   |                                        `- warning: capture of 'coordinator' with non-sendable type 'IndexingCoordinator' in a '@Sendable' closure; this is an error in the Swift 6 language mode
21 |
22 |         for registration in dependencies {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexingCoordinator.swift:11:15: note: consider making struct 'IndexingCoordinator' conform to the 'Sendable' protocol
 9 |
10 | /// A type that acts as a coordinator between a dependency indexing implementation and the dependency container.
11 | public struct IndexingCoordinator {
   |               `- note: consider making struct 'IndexingCoordinator' conform to the 'Sendable' protocol
12 |
13 |     private let semaphore = DispatchSemaphore(value: 1)
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/Implementations/Common.swift:22:29: warning: capture of 'dependencies' with non-sendable type 'S' in a '@Sendable' closure; this is an error in the Swift 6 language mode
10 |
11 | @inlinable
12 | func taskIndexing<S: Sequence>(
   |                   `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
13 |     dependencies: S,
14 |     coordinator: IndexingCoordinator,
   :
20 |         var dependencyRegistrarIndex = coordinator.emptyIndex()
21 |
22 |         for registration in dependencies {
   |                             `- warning: capture of 'dependencies' with non-sendable type 'S' in a '@Sendable' closure; this is an error in the Swift 6 language mode
23 |
24 |             guard !AsyncTask.isCancelled else {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/Implementations/Common.swift:38:9: warning: capture of 'completion' with non-sendable type '(DependencyRegistrarIndex) -> Void' (aka '(Dictionary<IndexingKey, OrderedSet<RawDependencyRegistration>>) -> ()') in a '@Sendable' closure; this is an error in the Swift 6 language mode
36 |         }
37 |
38 |         completion(dependencyRegistrarIndex)
   |         |- warning: capture of 'completion' with non-sendable type '(DependencyRegistrarIndex) -> Void' (aka '(Dictionary<IndexingKey, OrderedSet<RawDependencyRegistration>>) -> ()') in a '@Sendable' closure; this is an error in the Swift 6 language mode
   |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
39 |     }
40 | }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyParameters.swift:149:16: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'DependencyParameters' may have shared mutable state; this is an error in the Swift 6 language mode
  8 | import Foundation
  9 |
 10 | struct DependencyParameters: Hashable {
    |        `- note: consider making struct 'DependencyParameters' conform to the 'Sendable' protocol
 11 |
 12 |     struct Requirement: Hashable {
    :
147 |     }
148 |
149 |     static let none = DependencyParameters()
    |                |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'DependencyParameters' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 | }
151 |
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/InjectionError.swift:49:10: warning: associated value 'missingDependency' of 'Sendable'-conforming enum 'InjectionError' has non-sendable type 'InjectionError.DependencyContext'; this is an error in the Swift 6 language mode
 12 |
 13 |     /// The context used to locate the dependency.
 14 |     public enum DependencyContext: Equatable, CustomStringConvertible {
    |                 `- note: consider making enum 'DependencyContext' conform to the 'Sendable' protocol
 15 |         case name(String)
 16 |         case type(String)
    :
 47 |     case unsupportedOperation
 48 |     case mismatchedDependencyType(String, expected: String)
 49 |     case missingDependency(DependencyContext)
    |          `- warning: associated value 'missingDependency' of 'Sendable'-conforming enum 'InjectionError' has non-sendable type 'InjectionError.DependencyContext'; this is an error in the Swift 6 language mode
 50 |     case multipleDependencies(DependencyContext)
 51 |     case cyclicDependencyReference(DependencyCycleInstantationBacktrace)
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/InjectionError.swift:50:10: warning: associated value 'multipleDependencies' of 'Sendable'-conforming enum 'InjectionError' has non-sendable type 'InjectionError.DependencyContext'; this is an error in the Swift 6 language mode
 12 |
 13 |     /// The context used to locate the dependency.
 14 |     public enum DependencyContext: Equatable, CustomStringConvertible {
    |                 `- note: consider making enum 'DependencyContext' conform to the 'Sendable' protocol
 15 |         case name(String)
 16 |         case type(String)
    :
 48 |     case mismatchedDependencyType(String, expected: String)
 49 |     case missingDependency(DependencyContext)
 50 |     case multipleDependencies(DependencyContext)
    |          `- warning: associated value 'multipleDependencies' of 'Sendable'-conforming enum 'InjectionError' has non-sendable type 'InjectionError.DependencyContext'; this is an error in the Swift 6 language mode
 51 |     case cyclicDependencyReference(DependencyCycleInstantationBacktrace)
 52 |     case invalidDependencyParameters(DependencyContext, DependencyParameterContext, parameters: [AnyHashable])
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/InjectionError.swift:51:10: warning: associated value 'cyclicDependencyReference' of 'Sendable'-conforming enum 'InjectionError' has non-sendable type 'DependencyCycleInstantationBacktrace'; this is an error in the Swift 6 language mode
 49 |     case missingDependency(DependencyContext)
 50 |     case multipleDependencies(DependencyContext)
 51 |     case cyclicDependencyReference(DependencyCycleInstantationBacktrace)
    |          `- warning: associated value 'cyclicDependencyReference' of 'Sendable'-conforming enum 'InjectionError' has non-sendable type 'DependencyCycleInstantationBacktrace'; this is an error in the Swift 6 language mode
 52 |     case invalidDependencyParameters(DependencyContext, DependencyParameterContext, parameters: [AnyHashable])
 53 |
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleInstantationBacktrace.swift:11:15: note: consider making struct 'DependencyCycleInstantationBacktrace' conform to the 'Sendable' protocol
 9 |
10 | /// A backtrace collected during instantiation of a dependency that had a cyclic relationship with another dependency.
11 | public struct DependencyCycleInstantationBacktrace: CustomStringConvertible {
   |               `- note: consider making struct 'DependencyCycleInstantationBacktrace' conform to the 'Sendable' protocol
12 |
13 |     /// The depth of the cycle.
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/InjectionError.swift:52:10: warning: associated value 'invalidDependencyParameters(_:_:parameters:)' of 'Sendable'-conforming enum 'InjectionError' has non-sendable type '(InjectionError.DependencyContext, InjectionError.DependencyParameterContext, parameters: [AnyHashable])'; this is an error in the Swift 6 language mode
 50 |     case multipleDependencies(DependencyContext)
 51 |     case cyclicDependencyReference(DependencyCycleInstantationBacktrace)
 52 |     case invalidDependencyParameters(DependencyContext, DependencyParameterContext, parameters: [AnyHashable])
    |          `- warning: associated value 'invalidDependencyParameters(_:_:parameters:)' of 'Sendable'-conforming enum 'InjectionError' has non-sendable type '(InjectionError.DependencyContext, InjectionError.DependencyParameterContext, parameters: [AnyHashable])'; this is an error in the Swift 6 language mode
 53 |
 54 |     public var description: String {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:13:16: warning: static property '_prefersSwiftConcurrency' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 11 | final class AsyncTask: CancellableTask {
 12 |
 13 |     static var _prefersSwiftConcurrency = true
    |                |- warning: static property '_prefersSwiftConcurrency' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert '_prefersSwiftConcurrency' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property '_prefersSwiftConcurrency' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 14 |
 15 |     @usableFromInline
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:76:24: warning: static property 'currentTask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 74 |
 75 |     @ThreadLocal
 76 |     private static var currentTask: AsyncTask? = nil
    |                        |- warning: static property 'currentTask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'currentTask' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'currentTask' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 77 |
 78 |     @ThreadLocal
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:79:24: warning: static property 'currentPriority' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 77 |
 78 |     @ThreadLocal
 79 |     private static var currentPriority: Priority = .high
    |                        |- warning: static property 'currentPriority' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'currentPriority' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'currentPriority' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 80 |
 81 |     private static let lowPriorityQueues = QueueSet(priority: .background)
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:81:24: warning: static property 'lowPriorityQueues' is not concurrency-safe because non-'Sendable' type 'AsyncTask.QueueSet' may have shared mutable state; this is an error in the Swift 6 language mode
 32 |     }
 33 |
 34 |     private class QueueSet {
    |                   `- note: class 'QueueSet' does not conform to the 'Sendable' protocol
 35 |
 36 |         private static var defaultQueueCount: Int {
    :
 79 |     private static var currentPriority: Priority = .high
 80 |
 81 |     private static let lowPriorityQueues = QueueSet(priority: .background)
    |                        |- warning: static property 'lowPriorityQueues' is not concurrency-safe because non-'Sendable' type 'AsyncTask.QueueSet' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'lowPriorityQueues' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 82 |     private static let mediumPriorityQueues = QueueSet(priority: .default)
 83 |     private static let highPriorityQueues = QueueSet(priority: .userInitiated)
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:82:24: warning: static property 'mediumPriorityQueues' is not concurrency-safe because non-'Sendable' type 'AsyncTask.QueueSet' may have shared mutable state; this is an error in the Swift 6 language mode
 32 |     }
 33 |
 34 |     private class QueueSet {
    |                   `- note: class 'QueueSet' does not conform to the 'Sendable' protocol
 35 |
 36 |         private static var defaultQueueCount: Int {
    :
 80 |
 81 |     private static let lowPriorityQueues = QueueSet(priority: .background)
 82 |     private static let mediumPriorityQueues = QueueSet(priority: .default)
    |                        |- warning: static property 'mediumPriorityQueues' is not concurrency-safe because non-'Sendable' type 'AsyncTask.QueueSet' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'mediumPriorityQueues' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 83 |     private static let highPriorityQueues = QueueSet(priority: .userInitiated)
 84 |
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:83:24: warning: static property 'highPriorityQueues' is not concurrency-safe because non-'Sendable' type 'AsyncTask.QueueSet' may have shared mutable state; this is an error in the Swift 6 language mode
 32 |     }
 33 |
 34 |     private class QueueSet {
    |                   `- note: class 'QueueSet' does not conform to the 'Sendable' protocol
 35 |
 36 |         private static var defaultQueueCount: Int {
    :
 81 |     private static let lowPriorityQueues = QueueSet(priority: .background)
 82 |     private static let mediumPriorityQueues = QueueSet(priority: .default)
 83 |     private static let highPriorityQueues = QueueSet(priority: .userInitiated)
    |                        |- warning: static property 'highPriorityQueues' is not concurrency-safe because non-'Sendable' type 'AsyncTask.QueueSet' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'highPriorityQueues' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 84 |
 85 |     private static func queue(for priority: Priority) -> DispatchQueue {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Threads/ThreadIdentifierThreadValuesKey.swift:11:16: warning: static property 'rawThreadKey' is not concurrency-safe because non-'Sendable' type 'RawThreadKey<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | struct ThreadIdentifierThreadValuesKey: ThreadValuesKey {
11 |     static let rawThreadKey = RawThreadKey<Int>()
   |                |- warning: static property 'rawThreadKey' is not concurrency-safe because non-'Sendable' type 'RawThreadKey<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'rawThreadKey' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 |     static var defaultValue: Int {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/Threads/RawThreadKey.swift:10:7: note: generic class 'RawThreadKey' does not conform to the 'Sendable' protocol
 8 | import Foundation
 9 |
10 | class RawThreadKey<Value> {
   |       `- note: generic class 'RawThreadKey' does not conform to the 'Sendable' protocol
11 |
12 |     private var pthreadKey: pthread_key_t
[523/530] Compiling Stitcher IndexedDependencyContainer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:68:33: warning: capture of 'registrar' with non-sendable type 'DependenciesRegistrar' (aka 'Set<RawDependencyRegistration>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
 66 |
 67 |         indexingTask = AsyncTask(priority: .high) {
 68 |             for registration in registrar {
    |                                 `- warning: capture of 'registrar' with non-sendable type 'DependenciesRegistrar' (aka 'Set<RawDependencyRegistration>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
 69 |                 guard registration.canInstantiateEagerly else {
 70 |                     continue
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Registration/RawDependencyRegistration.swift:10:15: note: consider making struct 'RawDependencyRegistration' conform to the 'Sendable' protocol
  8 | import Foundation
  9 |
 10 | public struct RawDependencyRegistration: Hashable {
    |               `- note: consider making struct 'RawDependencyRegistration' conform to the 'Sendable' protocol
 11 |
 12 |     /// An optimized storage box to avoid COW operations for immutable instances of `RawDependencyRegistration`
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:73:17: warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 10 |
 11 | /// A wrapper that holds a `DependencyContainer` and indexes it's registrar asynchronously
 12 | final class IndexedDependencyContainer {
    |             `- note: class 'IndexedDependencyContainer' does not conform to the 'Sendable' protocol
 13 |
 14 |     @Atomic
    :
 71 |                 }
 72 |
 73 |                 self.lazyInitializationHandler(registration)
    |                 `- warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 74 |             }
 75 |
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:76:13: warning: capture of 'completion' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 74 |             }
 75 |
 76 |             completion()
    |             |- warning: capture of 'completion' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 77 |         }
 78 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:128:30: warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 10 |
 11 | /// A wrapper that holds a `DependencyContainer` and indexes it's registrar asynchronously
 12 | final class IndexedDependencyContainer {
    |             `- note: class 'IndexedDependencyContainer' does not conform to the 'Sendable' protocol
 13 |
 14 |     @Atomic
    :
126 |
127 |         indexingTask = AsyncTask(priority: .high) { [weak self] in
128 |             guard let self = self else { return }
    |                              `- warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
129 |             self.indexIncrementally(changes: changes)
130 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:129:46: warning: capture of 'changes' with non-sendable type 'DependencyContainer.ChangeSet' in a '@Sendable' closure; this is an error in the Swift 6 language mode
127 |         indexingTask = AsyncTask(priority: .high) { [weak self] in
128 |             guard let self = self else { return }
129 |             self.indexIncrementally(changes: changes)
    |                                              `- warning: capture of 'changes' with non-sendable type 'DependencyContainer.ChangeSet' in a '@Sendable' closure; this is an error in the Swift 6 language mode
130 |         }
131 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/DependencyContainer.swift:59:12: note: consider making struct 'ChangeSet' conform to the 'Sendable' protocol
 57 |     }
 58 |
 59 |     struct ChangeSet {
    |            `- note: consider making struct 'ChangeSet' conform to the 'Sendable' protocol
 60 |         let containerId: DependencyContainer.ID
 61 |         let oldValue: DependenciesRegistrar
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/StorageCleaner/StorageCleaner.swift:74:13: warning: capture of 'self' with non-sendable type 'StorageCleaner' in a '@Sendable' closure; this is an error in the Swift 6 language mode
18 | #endif
19 |
20 | class StorageCleaner {
   |       `- note: class 'StorageCleaner' does not conform to the 'Sendable' protocol
21 |
22 |     private var cleanupHandler: @Sendable () -> Void
   :
72 |
73 |         AsyncTask(priority: priority) {
74 |             self.cleanupHandler()
   |             `- warning: capture of 'self' with non-sendable type 'StorageCleaner' in a '@Sendable' closure; this is an error in the Swift 6 language mode
75 |         }
76 |     }
[524/530] Compiling Stitcher Indexing.swift
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:68:33: warning: capture of 'registrar' with non-sendable type 'DependenciesRegistrar' (aka 'Set<RawDependencyRegistration>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
 66 |
 67 |         indexingTask = AsyncTask(priority: .high) {
 68 |             for registration in registrar {
    |                                 `- warning: capture of 'registrar' with non-sendable type 'DependenciesRegistrar' (aka 'Set<RawDependencyRegistration>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
 69 |                 guard registration.canInstantiateEagerly else {
 70 |                     continue
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Registration/RawDependencyRegistration.swift:10:15: note: consider making struct 'RawDependencyRegistration' conform to the 'Sendable' protocol
  8 | import Foundation
  9 |
 10 | public struct RawDependencyRegistration: Hashable {
    |               `- note: consider making struct 'RawDependencyRegistration' conform to the 'Sendable' protocol
 11 |
 12 |     /// An optimized storage box to avoid COW operations for immutable instances of `RawDependencyRegistration`
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:73:17: warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 10 |
 11 | /// A wrapper that holds a `DependencyContainer` and indexes it's registrar asynchronously
 12 | final class IndexedDependencyContainer {
    |             `- note: class 'IndexedDependencyContainer' does not conform to the 'Sendable' protocol
 13 |
 14 |     @Atomic
    :
 71 |                 }
 72 |
 73 |                 self.lazyInitializationHandler(registration)
    |                 `- warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 74 |             }
 75 |
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:76:13: warning: capture of 'completion' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 74 |             }
 75 |
 76 |             completion()
    |             |- warning: capture of 'completion' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 77 |         }
 78 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:128:30: warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 10 |
 11 | /// A wrapper that holds a `DependencyContainer` and indexes it's registrar asynchronously
 12 | final class IndexedDependencyContainer {
    |             `- note: class 'IndexedDependencyContainer' does not conform to the 'Sendable' protocol
 13 |
 14 |     @Atomic
    :
126 |
127 |         indexingTask = AsyncTask(priority: .high) { [weak self] in
128 |             guard let self = self else { return }
    |                              `- warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
129 |             self.indexIncrementally(changes: changes)
130 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:129:46: warning: capture of 'changes' with non-sendable type 'DependencyContainer.ChangeSet' in a '@Sendable' closure; this is an error in the Swift 6 language mode
127 |         indexingTask = AsyncTask(priority: .high) { [weak self] in
128 |             guard let self = self else { return }
129 |             self.indexIncrementally(changes: changes)
    |                                              `- warning: capture of 'changes' with non-sendable type 'DependencyContainer.ChangeSet' in a '@Sendable' closure; this is an error in the Swift 6 language mode
130 |         }
131 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/DependencyContainer.swift:59:12: note: consider making struct 'ChangeSet' conform to the 'Sendable' protocol
 57 |     }
 58 |
 59 |     struct ChangeSet {
    |            `- note: consider making struct 'ChangeSet' conform to the 'Sendable' protocol
 60 |         let containerId: DependencyContainer.ID
 61 |         let oldValue: DependenciesRegistrar
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/StorageCleaner/StorageCleaner.swift:74:13: warning: capture of 'self' with non-sendable type 'StorageCleaner' in a '@Sendable' closure; this is an error in the Swift 6 language mode
18 | #endif
19 |
20 | class StorageCleaner {
   |       `- note: class 'StorageCleaner' does not conform to the 'Sendable' protocol
21 |
22 |     private var cleanupHandler: @Sendable () -> Void
   :
72 |
73 |         AsyncTask(priority: priority) {
74 |             self.cleanupHandler()
   |             `- warning: capture of 'self' with non-sendable type 'StorageCleaner' in a '@Sendable' closure; this is an error in the Swift 6 language mode
75 |         }
76 |     }
[525/530] Compiling Stitcher IndexingCoordinator.swift
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:68:33: warning: capture of 'registrar' with non-sendable type 'DependenciesRegistrar' (aka 'Set<RawDependencyRegistration>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
 66 |
 67 |         indexingTask = AsyncTask(priority: .high) {
 68 |             for registration in registrar {
    |                                 `- warning: capture of 'registrar' with non-sendable type 'DependenciesRegistrar' (aka 'Set<RawDependencyRegistration>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
 69 |                 guard registration.canInstantiateEagerly else {
 70 |                     continue
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Registration/RawDependencyRegistration.swift:10:15: note: consider making struct 'RawDependencyRegistration' conform to the 'Sendable' protocol
  8 | import Foundation
  9 |
 10 | public struct RawDependencyRegistration: Hashable {
    |               `- note: consider making struct 'RawDependencyRegistration' conform to the 'Sendable' protocol
 11 |
 12 |     /// An optimized storage box to avoid COW operations for immutable instances of `RawDependencyRegistration`
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:73:17: warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 10 |
 11 | /// A wrapper that holds a `DependencyContainer` and indexes it's registrar asynchronously
 12 | final class IndexedDependencyContainer {
    |             `- note: class 'IndexedDependencyContainer' does not conform to the 'Sendable' protocol
 13 |
 14 |     @Atomic
    :
 71 |                 }
 72 |
 73 |                 self.lazyInitializationHandler(registration)
    |                 `- warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 74 |             }
 75 |
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:76:13: warning: capture of 'completion' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 74 |             }
 75 |
 76 |             completion()
    |             |- warning: capture of 'completion' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 77 |         }
 78 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:128:30: warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 10 |
 11 | /// A wrapper that holds a `DependencyContainer` and indexes it's registrar asynchronously
 12 | final class IndexedDependencyContainer {
    |             `- note: class 'IndexedDependencyContainer' does not conform to the 'Sendable' protocol
 13 |
 14 |     @Atomic
    :
126 |
127 |         indexingTask = AsyncTask(priority: .high) { [weak self] in
128 |             guard let self = self else { return }
    |                              `- warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
129 |             self.indexIncrementally(changes: changes)
130 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:129:46: warning: capture of 'changes' with non-sendable type 'DependencyContainer.ChangeSet' in a '@Sendable' closure; this is an error in the Swift 6 language mode
127 |         indexingTask = AsyncTask(priority: .high) { [weak self] in
128 |             guard let self = self else { return }
129 |             self.indexIncrementally(changes: changes)
    |                                              `- warning: capture of 'changes' with non-sendable type 'DependencyContainer.ChangeSet' in a '@Sendable' closure; this is an error in the Swift 6 language mode
130 |         }
131 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/DependencyContainer.swift:59:12: note: consider making struct 'ChangeSet' conform to the 'Sendable' protocol
 57 |     }
 58 |
 59 |     struct ChangeSet {
    |            `- note: consider making struct 'ChangeSet' conform to the 'Sendable' protocol
 60 |         let containerId: DependencyContainer.ID
 61 |         let oldValue: DependenciesRegistrar
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/StorageCleaner/StorageCleaner.swift:74:13: warning: capture of 'self' with non-sendable type 'StorageCleaner' in a '@Sendable' closure; this is an error in the Swift 6 language mode
18 | #endif
19 |
20 | class StorageCleaner {
   |       `- note: class 'StorageCleaner' does not conform to the 'Sendable' protocol
21 |
22 |     private var cleanupHandler: @Sendable () -> Void
   :
72 |
73 |         AsyncTask(priority: priority) {
74 |             self.cleanupHandler()
   |             `- warning: capture of 'self' with non-sendable type 'StorageCleaner' in a '@Sendable' closure; this is an error in the Swift 6 language mode
75 |         }
76 |     }
[526/530] Compiling Stitcher IndexingKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:68:33: warning: capture of 'registrar' with non-sendable type 'DependenciesRegistrar' (aka 'Set<RawDependencyRegistration>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
 66 |
 67 |         indexingTask = AsyncTask(priority: .high) {
 68 |             for registration in registrar {
    |                                 `- warning: capture of 'registrar' with non-sendable type 'DependenciesRegistrar' (aka 'Set<RawDependencyRegistration>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
 69 |                 guard registration.canInstantiateEagerly else {
 70 |                     continue
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Registration/RawDependencyRegistration.swift:10:15: note: consider making struct 'RawDependencyRegistration' conform to the 'Sendable' protocol
  8 | import Foundation
  9 |
 10 | public struct RawDependencyRegistration: Hashable {
    |               `- note: consider making struct 'RawDependencyRegistration' conform to the 'Sendable' protocol
 11 |
 12 |     /// An optimized storage box to avoid COW operations for immutable instances of `RawDependencyRegistration`
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:73:17: warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 10 |
 11 | /// A wrapper that holds a `DependencyContainer` and indexes it's registrar asynchronously
 12 | final class IndexedDependencyContainer {
    |             `- note: class 'IndexedDependencyContainer' does not conform to the 'Sendable' protocol
 13 |
 14 |     @Atomic
    :
 71 |                 }
 72 |
 73 |                 self.lazyInitializationHandler(registration)
    |                 `- warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 74 |             }
 75 |
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:76:13: warning: capture of 'completion' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 74 |             }
 75 |
 76 |             completion()
    |             |- warning: capture of 'completion' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 77 |         }
 78 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:128:30: warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 10 |
 11 | /// A wrapper that holds a `DependencyContainer` and indexes it's registrar asynchronously
 12 | final class IndexedDependencyContainer {
    |             `- note: class 'IndexedDependencyContainer' does not conform to the 'Sendable' protocol
 13 |
 14 |     @Atomic
    :
126 |
127 |         indexingTask = AsyncTask(priority: .high) { [weak self] in
128 |             guard let self = self else { return }
    |                              `- warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
129 |             self.indexIncrementally(changes: changes)
130 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:129:46: warning: capture of 'changes' with non-sendable type 'DependencyContainer.ChangeSet' in a '@Sendable' closure; this is an error in the Swift 6 language mode
127 |         indexingTask = AsyncTask(priority: .high) { [weak self] in
128 |             guard let self = self else { return }
129 |             self.indexIncrementally(changes: changes)
    |                                              `- warning: capture of 'changes' with non-sendable type 'DependencyContainer.ChangeSet' in a '@Sendable' closure; this is an error in the Swift 6 language mode
130 |         }
131 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/DependencyContainer.swift:59:12: note: consider making struct 'ChangeSet' conform to the 'Sendable' protocol
 57 |     }
 58 |
 59 |     struct ChangeSet {
    |            `- note: consider making struct 'ChangeSet' conform to the 'Sendable' protocol
 60 |         let containerId: DependencyContainer.ID
 61 |         let oldValue: DependenciesRegistrar
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/StorageCleaner/StorageCleaner.swift:74:13: warning: capture of 'self' with non-sendable type 'StorageCleaner' in a '@Sendable' closure; this is an error in the Swift 6 language mode
18 | #endif
19 |
20 | class StorageCleaner {
   |       `- note: class 'StorageCleaner' does not conform to the 'Sendable' protocol
21 |
22 |     private var cleanupHandler: @Sendable () -> Void
   :
72 |
73 |         AsyncTask(priority: priority) {
74 |             self.cleanupHandler()
   |             `- warning: capture of 'self' with non-sendable type 'StorageCleaner' in a '@Sendable' closure; this is an error in the Swift 6 language mode
75 |         }
76 |     }
[527/530] Compiling Stitcher IndexingTask.swift
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:68:33: warning: capture of 'registrar' with non-sendable type 'DependenciesRegistrar' (aka 'Set<RawDependencyRegistration>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
 66 |
 67 |         indexingTask = AsyncTask(priority: .high) {
 68 |             for registration in registrar {
    |                                 `- warning: capture of 'registrar' with non-sendable type 'DependenciesRegistrar' (aka 'Set<RawDependencyRegistration>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
 69 |                 guard registration.canInstantiateEagerly else {
 70 |                     continue
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Registration/RawDependencyRegistration.swift:10:15: note: consider making struct 'RawDependencyRegistration' conform to the 'Sendable' protocol
  8 | import Foundation
  9 |
 10 | public struct RawDependencyRegistration: Hashable {
    |               `- note: consider making struct 'RawDependencyRegistration' conform to the 'Sendable' protocol
 11 |
 12 |     /// An optimized storage box to avoid COW operations for immutable instances of `RawDependencyRegistration`
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:73:17: warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 10 |
 11 | /// A wrapper that holds a `DependencyContainer` and indexes it's registrar asynchronously
 12 | final class IndexedDependencyContainer {
    |             `- note: class 'IndexedDependencyContainer' does not conform to the 'Sendable' protocol
 13 |
 14 |     @Atomic
    :
 71 |                 }
 72 |
 73 |                 self.lazyInitializationHandler(registration)
    |                 `- warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 74 |             }
 75 |
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:76:13: warning: capture of 'completion' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 74 |             }
 75 |
 76 |             completion()
    |             |- warning: capture of 'completion' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 77 |         }
 78 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:128:30: warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 10 |
 11 | /// A wrapper that holds a `DependencyContainer` and indexes it's registrar asynchronously
 12 | final class IndexedDependencyContainer {
    |             `- note: class 'IndexedDependencyContainer' does not conform to the 'Sendable' protocol
 13 |
 14 |     @Atomic
    :
126 |
127 |         indexingTask = AsyncTask(priority: .high) { [weak self] in
128 |             guard let self = self else { return }
    |                              `- warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
129 |             self.indexIncrementally(changes: changes)
130 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:129:46: warning: capture of 'changes' with non-sendable type 'DependencyContainer.ChangeSet' in a '@Sendable' closure; this is an error in the Swift 6 language mode
127 |         indexingTask = AsyncTask(priority: .high) { [weak self] in
128 |             guard let self = self else { return }
129 |             self.indexIncrementally(changes: changes)
    |                                              `- warning: capture of 'changes' with non-sendable type 'DependencyContainer.ChangeSet' in a '@Sendable' closure; this is an error in the Swift 6 language mode
130 |         }
131 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/DependencyContainer.swift:59:12: note: consider making struct 'ChangeSet' conform to the 'Sendable' protocol
 57 |     }
 58 |
 59 |     struct ChangeSet {
    |            `- note: consider making struct 'ChangeSet' conform to the 'Sendable' protocol
 60 |         let containerId: DependencyContainer.ID
 61 |         let oldValue: DependenciesRegistrar
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/StorageCleaner/StorageCleaner.swift:74:13: warning: capture of 'self' with non-sendable type 'StorageCleaner' in a '@Sendable' closure; this is an error in the Swift 6 language mode
18 | #endif
19 |
20 | class StorageCleaner {
   |       `- note: class 'StorageCleaner' does not conform to the 'Sendable' protocol
21 |
22 |     private var cleanupHandler: @Sendable () -> Void
   :
72 |
73 |         AsyncTask(priority: priority) {
74 |             self.cleanupHandler()
   |             `- warning: capture of 'self' with non-sendable type 'StorageCleaner' in a '@Sendable' closure; this is an error in the Swift 6 language mode
75 |         }
76 |     }
[528/530] Compiling Stitcher StorageCleaner.swift
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:68:33: warning: capture of 'registrar' with non-sendable type 'DependenciesRegistrar' (aka 'Set<RawDependencyRegistration>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
 66 |
 67 |         indexingTask = AsyncTask(priority: .high) {
 68 |             for registration in registrar {
    |                                 `- warning: capture of 'registrar' with non-sendable type 'DependenciesRegistrar' (aka 'Set<RawDependencyRegistration>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
 69 |                 guard registration.canInstantiateEagerly else {
 70 |                     continue
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Registration/RawDependencyRegistration.swift:10:15: note: consider making struct 'RawDependencyRegistration' conform to the 'Sendable' protocol
  8 | import Foundation
  9 |
 10 | public struct RawDependencyRegistration: Hashable {
    |               `- note: consider making struct 'RawDependencyRegistration' conform to the 'Sendable' protocol
 11 |
 12 |     /// An optimized storage box to avoid COW operations for immutable instances of `RawDependencyRegistration`
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:73:17: warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 10 |
 11 | /// A wrapper that holds a `DependencyContainer` and indexes it's registrar asynchronously
 12 | final class IndexedDependencyContainer {
    |             `- note: class 'IndexedDependencyContainer' does not conform to the 'Sendable' protocol
 13 |
 14 |     @Atomic
    :
 71 |                 }
 72 |
 73 |                 self.lazyInitializationHandler(registration)
    |                 `- warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 74 |             }
 75 |
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:76:13: warning: capture of 'completion' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 74 |             }
 75 |
 76 |             completion()
    |             |- warning: capture of 'completion' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 77 |         }
 78 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:128:30: warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 10 |
 11 | /// A wrapper that holds a `DependencyContainer` and indexes it's registrar asynchronously
 12 | final class IndexedDependencyContainer {
    |             `- note: class 'IndexedDependencyContainer' does not conform to the 'Sendable' protocol
 13 |
 14 |     @Atomic
    :
126 |
127 |         indexingTask = AsyncTask(priority: .high) { [weak self] in
128 |             guard let self = self else { return }
    |                              `- warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
129 |             self.indexIncrementally(changes: changes)
130 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:129:46: warning: capture of 'changes' with non-sendable type 'DependencyContainer.ChangeSet' in a '@Sendable' closure; this is an error in the Swift 6 language mode
127 |         indexingTask = AsyncTask(priority: .high) { [weak self] in
128 |             guard let self = self else { return }
129 |             self.indexIncrementally(changes: changes)
    |                                              `- warning: capture of 'changes' with non-sendable type 'DependencyContainer.ChangeSet' in a '@Sendable' closure; this is an error in the Swift 6 language mode
130 |         }
131 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/DependencyContainer.swift:59:12: note: consider making struct 'ChangeSet' conform to the 'Sendable' protocol
 57 |     }
 58 |
 59 |     struct ChangeSet {
    |            `- note: consider making struct 'ChangeSet' conform to the 'Sendable' protocol
 60 |         let containerId: DependencyContainer.ID
 61 |         let oldValue: DependenciesRegistrar
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/StorageCleaner/StorageCleaner.swift:74:13: warning: capture of 'self' with non-sendable type 'StorageCleaner' in a '@Sendable' closure; this is an error in the Swift 6 language mode
18 | #endif
19 |
20 | class StorageCleaner {
   |       `- note: class 'StorageCleaner' does not conform to the 'Sendable' protocol
21 |
22 |     private var cleanupHandler: @Sendable () -> Void
   :
72 |
73 |         AsyncTask(priority: priority) {
74 |             self.cleanupHandler()
   |             `- warning: capture of 'self' with non-sendable type 'StorageCleaner' in a '@Sendable' closure; this is an error in the Swift 6 language mode
75 |         }
76 |     }
[529/530] Compiling Stitcher DependencyContainingCollection.swift
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:68:33: warning: capture of 'registrar' with non-sendable type 'DependenciesRegistrar' (aka 'Set<RawDependencyRegistration>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
 66 |
 67 |         indexingTask = AsyncTask(priority: .high) {
 68 |             for registration in registrar {
    |                                 `- warning: capture of 'registrar' with non-sendable type 'DependenciesRegistrar' (aka 'Set<RawDependencyRegistration>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
 69 |                 guard registration.canInstantiateEagerly else {
 70 |                     continue
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Registration/RawDependencyRegistration.swift:10:15: note: consider making struct 'RawDependencyRegistration' conform to the 'Sendable' protocol
  8 | import Foundation
  9 |
 10 | public struct RawDependencyRegistration: Hashable {
    |               `- note: consider making struct 'RawDependencyRegistration' conform to the 'Sendable' protocol
 11 |
 12 |     /// An optimized storage box to avoid COW operations for immutable instances of `RawDependencyRegistration`
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:73:17: warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 10 |
 11 | /// A wrapper that holds a `DependencyContainer` and indexes it's registrar asynchronously
 12 | final class IndexedDependencyContainer {
    |             `- note: class 'IndexedDependencyContainer' does not conform to the 'Sendable' protocol
 13 |
 14 |     @Atomic
    :
 71 |                 }
 72 |
 73 |                 self.lazyInitializationHandler(registration)
    |                 `- warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 74 |             }
 75 |
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:76:13: warning: capture of 'completion' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 74 |             }
 75 |
 76 |             completion()
    |             |- warning: capture of 'completion' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 77 |         }
 78 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:128:30: warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 10 |
 11 | /// A wrapper that holds a `DependencyContainer` and indexes it's registrar asynchronously
 12 | final class IndexedDependencyContainer {
    |             `- note: class 'IndexedDependencyContainer' does not conform to the 'Sendable' protocol
 13 |
 14 |     @Atomic
    :
126 |
127 |         indexingTask = AsyncTask(priority: .high) { [weak self] in
128 |             guard let self = self else { return }
    |                              `- warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
129 |             self.indexIncrementally(changes: changes)
130 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:129:46: warning: capture of 'changes' with non-sendable type 'DependencyContainer.ChangeSet' in a '@Sendable' closure; this is an error in the Swift 6 language mode
127 |         indexingTask = AsyncTask(priority: .high) { [weak self] in
128 |             guard let self = self else { return }
129 |             self.indexIncrementally(changes: changes)
    |                                              `- warning: capture of 'changes' with non-sendable type 'DependencyContainer.ChangeSet' in a '@Sendable' closure; this is an error in the Swift 6 language mode
130 |         }
131 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/DependencyContainer.swift:59:12: note: consider making struct 'ChangeSet' conform to the 'Sendable' protocol
 57 |     }
 58 |
 59 |     struct ChangeSet {
    |            `- note: consider making struct 'ChangeSet' conform to the 'Sendable' protocol
 60 |         let containerId: DependencyContainer.ID
 61 |         let oldValue: DependenciesRegistrar
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/StorageCleaner/StorageCleaner.swift:74:13: warning: capture of 'self' with non-sendable type 'StorageCleaner' in a '@Sendable' closure; this is an error in the Swift 6 language mode
18 | #endif
19 |
20 | class StorageCleaner {
   |       `- note: class 'StorageCleaner' does not conform to the 'Sendable' protocol
21 |
22 |     private var cleanupHandler: @Sendable () -> Void
   :
72 |
73 |         AsyncTask(priority: priority) {
74 |             self.cleanupHandler()
   |             `- warning: capture of 'self' with non-sendable type 'StorageCleaner' in a '@Sendable' closure; this is an error in the Swift 6 language mode
75 |         }
76 |     }
[530/530] Compiling Stitcher DependencyEagerness.swift
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:68:33: warning: capture of 'registrar' with non-sendable type 'DependenciesRegistrar' (aka 'Set<RawDependencyRegistration>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
 66 |
 67 |         indexingTask = AsyncTask(priority: .high) {
 68 |             for registration in registrar {
    |                                 `- warning: capture of 'registrar' with non-sendable type 'DependenciesRegistrar' (aka 'Set<RawDependencyRegistration>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
 69 |                 guard registration.canInstantiateEagerly else {
 70 |                     continue
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Registration/RawDependencyRegistration.swift:10:15: note: consider making struct 'RawDependencyRegistration' conform to the 'Sendable' protocol
  8 | import Foundation
  9 |
 10 | public struct RawDependencyRegistration: Hashable {
    |               `- note: consider making struct 'RawDependencyRegistration' conform to the 'Sendable' protocol
 11 |
 12 |     /// An optimized storage box to avoid COW operations for immutable instances of `RawDependencyRegistration`
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:73:17: warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 10 |
 11 | /// A wrapper that holds a `DependencyContainer` and indexes it's registrar asynchronously
 12 | final class IndexedDependencyContainer {
    |             `- note: class 'IndexedDependencyContainer' does not conform to the 'Sendable' protocol
 13 |
 14 |     @Atomic
    :
 71 |                 }
 72 |
 73 |                 self.lazyInitializationHandler(registration)
    |                 `- warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 74 |             }
 75 |
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:76:13: warning: capture of 'completion' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 74 |             }
 75 |
 76 |             completion()
    |             |- warning: capture of 'completion' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 77 |         }
 78 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:128:30: warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 10 |
 11 | /// A wrapper that holds a `DependencyContainer` and indexes it's registrar asynchronously
 12 | final class IndexedDependencyContainer {
    |             `- note: class 'IndexedDependencyContainer' does not conform to the 'Sendable' protocol
 13 |
 14 |     @Atomic
    :
126 |
127 |         indexingTask = AsyncTask(priority: .high) { [weak self] in
128 |             guard let self = self else { return }
    |                              `- warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
129 |             self.indexIncrementally(changes: changes)
130 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:129:46: warning: capture of 'changes' with non-sendable type 'DependencyContainer.ChangeSet' in a '@Sendable' closure; this is an error in the Swift 6 language mode
127 |         indexingTask = AsyncTask(priority: .high) { [weak self] in
128 |             guard let self = self else { return }
129 |             self.indexIncrementally(changes: changes)
    |                                              `- warning: capture of 'changes' with non-sendable type 'DependencyContainer.ChangeSet' in a '@Sendable' closure; this is an error in the Swift 6 language mode
130 |         }
131 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/DependencyContainer.swift:59:12: note: consider making struct 'ChangeSet' conform to the 'Sendable' protocol
 57 |     }
 58 |
 59 |     struct ChangeSet {
    |            `- note: consider making struct 'ChangeSet' conform to the 'Sendable' protocol
 60 |         let containerId: DependencyContainer.ID
 61 |         let oldValue: DependenciesRegistrar
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/StorageCleaner/StorageCleaner.swift:74:13: warning: capture of 'self' with non-sendable type 'StorageCleaner' in a '@Sendable' closure; this is an error in the Swift 6 language mode
18 | #endif
19 |
20 | class StorageCleaner {
   |       `- note: class 'StorageCleaner' does not conform to the 'Sendable' protocol
21 |
22 |     private var cleanupHandler: @Sendable () -> Void
   :
72 |
73 |         AsyncTask(priority: priority) {
74 |             self.cleanupHandler()
   |             `- warning: capture of 'self' with non-sendable type 'StorageCleaner' in a '@Sendable' closure; this is an error in the Swift 6 language mode
75 |         }
76 |     }
Build complete! (13.05s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-collections",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "1.2.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-collections.git"
    },
    {
      "identity" : "opencombine",
      "requirement" : {
        "exact" : [
          "0.14.0"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/OpenCombine/OpenCombine.git"
    }
  ],
  "manifest_display_name" : "Stitcher",
  "name" : "Stitcher",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Stitcher",
      "targets" : [
        "Stitcher"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "StitcherTests",
      "module_type" : "SwiftTarget",
      "name" : "StitcherTests",
      "path" : "Tests/StitcherTests",
      "sources" : [
        "DependencyGraphTests/DependencyScopeAndEagernessTests.swift",
        "DependencyGraphTests/InjectionParameterTests.swift",
        "DependencyGraphTests/NameInjectionTests.swift",
        "DependencyGraphTests/TypeInjectionTests.swift",
        "DependencyGraphTests/ValueInjectionTests.swift",
        "GenericTests/ArraySlicingTests.swift",
        "GenericTests/AsyncTaskTests.swift",
        "GenericTests/DependenciesWrapperTests.swift",
        "GenericTests/DependencyContainerTests.swift",
        "GenericTests/DependencyCycleDetectorTests.swift",
        "GenericTests/DependencyValidationTests.swift",
        "GenericTests/GenericTests.swift",
        "GenericTests/IndexingKeyTests.swift",
        "GenericTests/InjectPropertWrapperTests.swift",
        "PerformanceTests/DependencyGraphPerformanceTests.swift",
        "PipelineTests/PipelineTests.swift",
        "StitcherTests.swift",
        "TestTypes/RepeatDependency.swift",
        "TestTypes/TestTypes.swift"
      ],
      "target_dependencies" : [
        "Stitcher"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Stitcher",
      "module_type" : "SwiftTarget",
      "name" : "Stitcher",
      "path" : "Sources/Stitcher",
      "product_dependencies" : [
        "Collections",
        "OpenCombine",
        "OpenCombineDispatch"
      ],
      "product_memberships" : [
        "Stitcher"
      ],
      "sources" : [
        "CodeGeneration/AutoregisterableDependencyCodeGeneratio/AutoregisterableDependencyCodeGenerator.swift",
        "CodeGeneration/InjectionCodeGeneration/Common/NameInjectionCodeGenerator.swift",
        "CodeGeneration/InjectionCodeGeneration/Common/TestInjectionCodeGenerator.swift",
        "CodeGeneration/InjectionCodeGeneration/Common/TypeInjectionCodeGenerator.swift",
        "CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerator.swift",
        "CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerators.swift",
        "Configuration/StitcherConfiguration.swift",
        "DependencyInjection/DependencyContainer.swift",
        "DependencyInjection/Factory/DependencyFactory+Function.swift",
        "DependencyInjection/Factory/DependencyFactory.swift",
        "DependencyInjection/Factory/InstantionNotificationCenter.swift",
        "DependencyInjection/Factory/PostInstantiationAware.swift",
        "DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift",
        "DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleInstantationBacktrace.swift",
        "DependencyInjection/Graph/DependencyGraph+Assertions.swift",
        "DependencyInjection/Graph/DependencyGraph+NameInjection.swift",
        "DependencyInjection/Graph/DependencyGraph+TypeInjection.swift",
        "DependencyInjection/Graph/DependencyGraph+ValueInjection.swift",
        "DependencyInjection/Graph/DependencyGraph.swift",
        "DependencyInjection/Graph/Indexing/DependencyRegistrarIndex.swift",
        "DependencyInjection/Graph/Indexing/Implementations/Common.swift",
        "DependencyInjection/Graph/Indexing/Implementations/DefaultIndexer.swift",
        "DependencyInjection/Graph/Indexing/Implementations/ParallelIndexer.swift",
        "DependencyInjection/Graph/Indexing/Implementations/PlainIndexer.swift",
        "DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift",
        "DependencyInjection/Graph/Indexing/Indexing.swift",
        "DependencyInjection/Graph/Indexing/IndexingCoordinator.swift",
        "DependencyInjection/Graph/Indexing/IndexingKey.swift",
        "DependencyInjection/Graph/Indexing/IndexingTask.swift",
        "DependencyInjection/Graph/StorageCleaner/StorageCleaner.swift",
        "DependencyInjection/Models/DependencyContainingCollection.swift",
        "DependencyInjection/Models/DependencyEagerness.swift",
        "DependencyInjection/Models/DependencyLocator.swift",
        "DependencyInjection/Models/DependencyLocatorTraits.swift",
        "DependencyInjection/Models/DependencyParameters.swift",
        "DependencyInjection/Models/DependencyScope.swift",
        "DependencyInjection/Models/InjectionError.swift",
        "DependencyInjection/Models/ManagedScope/ManagedDependencyScopeProviding.swift",
        "DependencyInjection/Models/ManagedScope/ManagedDependencyScopeReceipt.swift",
        "DependencyInjection/Models/ManagedScope/PipelineManagedDependencyScope.swift",
        "DependencyInjection/Models/TypeName.swift",
        "DependencyInjection/PropertyWrappers/Atomic.swift",
        "DependencyInjection/PropertyWrappers/Dependencies.swift",
        "DependencyInjection/PropertyWrappers/Injected+Init.swift",
        "DependencyInjection/PropertyWrappers/Injected.swift",
        "DependencyInjection/Registration/Autoregistration/AutoregisterableDependency.swift",
        "DependencyInjection/Registration/Autoregistration/GeneratedDependencyRegistration.swift",
        "DependencyInjection/Registration/Autoregistration/RegisterableDependency.swift",
        "DependencyInjection/Registration/DependenciesRegistrar.swift",
        "DependencyInjection/Registration/Dependency.swift",
        "DependencyInjection/Registration/DependencyGroup.swift",
        "DependencyInjection/Registration/DependencyRegistrarBuilder.swift",
        "DependencyInjection/Registration/RawDependencyRegistration.swift",
        "DependencyInjection/Registration/Representation/DependencyGroupRepresenting.swift",
        "DependencyInjection/Registration/Representation/DependencyRepresenting.swift",
        "DependencyInjection/Storage/Common/ManagedSingletonInstanceStorage.swift",
        "DependencyInjection/Storage/Common/NeverInstanceStorage.swift",
        "DependencyInjection/Storage/Common/SharedInstanceStorage.swift",
        "DependencyInjection/Storage/Common/SingletonInstanceStorage.swift",
        "DependencyInjection/Storage/InstanceStorage.swift",
        "DependencyInjection/Storage/InstanceStorageFactory.swift",
        "DependencyInjection/Storage/InstanceStorageKey.swift",
        "ReactivePipeline/AnyPipeline.swift",
        "ReactivePipeline/AnyPipelineCancellable.swift",
        "ReactivePipeline/Pipeline.swift",
        "ReactivePipeline/PipelineSubject.swift",
        "Stitcher.swift",
        "Task/AsyncTask.swift",
        "Task/CancellableTask.swift",
        "Threads/RawThreadKey.swift",
        "Threads/RawThreadKeyError.swift",
        "Threads/ThreadIdentifierThreadValuesKey.swift",
        "Threads/ThreadLocal.swift",
        "Threads/ThreadValues.swift",
        "Threads/ThreadValuesKey.swift",
        "Utils/DefaultValueProviding.swift",
        "Utils/Extensions.swift",
        "Utils/Functions.swift",
        "Utils/Reference.swift",
        "Utils/WeakReference.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.