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

Failed to build Stitcher, reference v1.1.0 (d13eba), with Swift 6.1 for Linux on 28 Apr 2025 22:17:56 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

/host/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
`- /host/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(
/host/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
`- /host/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(
/host/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 |
/host/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(
macro expansion @TaskLocal:3:33: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /host/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 | {
    |2 |     get {
    |3 |         $instantiationBacktrace.get()
    |  |                                 `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
    |4 |     }
    |5 | }
    +-------------------------------------------------------------------
 16 |
 17 |     fileprivate static func preventCycle(
/host/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 |
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:35:37: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 33 |         instantiation: () throws -> Result
 34 |     ) throws -> Result {
 35 |         try $instantiationBacktrace.withValue(instantiationBacktrace.inserting(locator)) {
    |                                     `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 36 |             try instantiation()
 37 |         }
/host/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 |
/host/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
/host/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
/host/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
/host/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>()
/host/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> {
/host/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
/host/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 {
/host/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
/host/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 |     }
/host/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
[528/540] Compiling Stitcher DependencyGraph+ValueInjection.swift
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Factory/InstantionNotificationCenter.swift:45:33: warning: capture of 'pendingNotifications' with non-sendable type '[AnyPostInstantiationAware]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
43 |
44 |         AsyncTask(priority: .medium) {
45 |             for notification in pendingNotifications {
   |                                 `- warning: capture of 'pendingNotifications' with non-sendable type '[AnyPostInstantiationAware]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
46 |                 notification.didInstantiate()
47 |             }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Factory/PostInstantiationAware.swift:16:8: note: consider making struct 'AnyPostInstantiationAware' conform to the 'Sendable' protocol
14 | }
15 |
16 | struct AnyPostInstantiationAware: PostInstantiationAware {
   |        `- note: consider making struct 'AnyPostInstantiationAware' conform to the 'Sendable' protocol
17 |
18 |     private let _didInstantiate: () -> Void
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
`- /host/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(
/host/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
`- /host/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(
/host/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
`- /host/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(
/host/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
`- /host/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(
/host/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 |
/host/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(
macro expansion @TaskLocal:3:33: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /host/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 | {
    |2 |     get {
    |3 |         $instantiationBacktrace.get()
    |  |                                 `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
    |4 |     }
    |5 | }
    +-------------------------------------------------------------------
 16 |
 17 |     fileprivate static func preventCycle(
/host/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 |
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:35:37: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 33 |         instantiation: () throws -> Result
 34 |     ) throws -> Result {
 35 |         try $instantiationBacktrace.withValue(instantiationBacktrace.inserting(locator)) {
    |                                     `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 36 |             try instantiation()
 37 |         }
/host/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 |
/host/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
/host/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
/host/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
/host/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>()
/host/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> {
/host/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
/host/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 {
/host/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
/host/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 |     }
/host/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
[529/540] Compiling Stitcher DependencyGraph.swift
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Factory/InstantionNotificationCenter.swift:45:33: warning: capture of 'pendingNotifications' with non-sendable type '[AnyPostInstantiationAware]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
43 |
44 |         AsyncTask(priority: .medium) {
45 |             for notification in pendingNotifications {
   |                                 `- warning: capture of 'pendingNotifications' with non-sendable type '[AnyPostInstantiationAware]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
46 |                 notification.didInstantiate()
47 |             }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Factory/PostInstantiationAware.swift:16:8: note: consider making struct 'AnyPostInstantiationAware' conform to the 'Sendable' protocol
14 | }
15 |
16 | struct AnyPostInstantiationAware: PostInstantiationAware {
   |        `- note: consider making struct 'AnyPostInstantiationAware' conform to the 'Sendable' protocol
17 |
18 |     private let _didInstantiate: () -> Void
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
`- /host/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(
/host/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
`- /host/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(
/host/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
`- /host/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(
/host/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
`- /host/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(
/host/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 |
/host/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(
macro expansion @TaskLocal:3:33: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /host/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 | {
    |2 |     get {
    |3 |         $instantiationBacktrace.get()
    |  |                                 `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
    |4 |     }
    |5 | }
    +-------------------------------------------------------------------
 16 |
 17 |     fileprivate static func preventCycle(
/host/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 |
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:35:37: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 33 |         instantiation: () throws -> Result
 34 |     ) throws -> Result {
 35 |         try $instantiationBacktrace.withValue(instantiationBacktrace.inserting(locator)) {
    |                                     `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 36 |             try instantiation()
 37 |         }
/host/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 |
/host/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
/host/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
/host/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
/host/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>()
/host/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> {
/host/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
/host/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 {
/host/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
/host/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 |     }
/host/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
[530/540] Compiling Stitcher DependencyRegistrarIndex.swift
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Factory/InstantionNotificationCenter.swift:45:33: warning: capture of 'pendingNotifications' with non-sendable type '[AnyPostInstantiationAware]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
43 |
44 |         AsyncTask(priority: .medium) {
45 |             for notification in pendingNotifications {
   |                                 `- warning: capture of 'pendingNotifications' with non-sendable type '[AnyPostInstantiationAware]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
46 |                 notification.didInstantiate()
47 |             }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Factory/PostInstantiationAware.swift:16:8: note: consider making struct 'AnyPostInstantiationAware' conform to the 'Sendable' protocol
14 | }
15 |
16 | struct AnyPostInstantiationAware: PostInstantiationAware {
   |        `- note: consider making struct 'AnyPostInstantiationAware' conform to the 'Sendable' protocol
17 |
18 |     private let _didInstantiate: () -> Void
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
`- /host/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(
/host/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
`- /host/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(
/host/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
`- /host/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(
/host/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
`- /host/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(
/host/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 |
/host/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(
macro expansion @TaskLocal:3:33: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /host/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 | {
    |2 |     get {
    |3 |         $instantiationBacktrace.get()
    |  |                                 `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
    |4 |     }
    |5 | }
    +-------------------------------------------------------------------
 16 |
 17 |     fileprivate static func preventCycle(
/host/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 |
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:35:37: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 33 |         instantiation: () throws -> Result
 34 |     ) throws -> Result {
 35 |         try $instantiationBacktrace.withValue(instantiationBacktrace.inserting(locator)) {
    |                                     `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 36 |             try instantiation()
 37 |         }
/host/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 |
/host/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
/host/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
/host/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
/host/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>()
/host/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> {
/host/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
/host/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 {
/host/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
/host/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 |     }
/host/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
[531/540] Compiling Stitcher Common.swift
/host/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 {
/host/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)
/host/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 {
/host/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 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/Implementations/ParallelIndexer.swift:14:32: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
12 |
13 |     static var parallelTaskCount: Int {
14 |         let coreCount = Double(ProcessInfo().processorCount)
   |                                `- error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
15 |         let maximumSystemLoadFactor = 0.75
16 |         return Int(floor(coreCount * maximumSystemLoadFactor))
FoundationEssentials.ProcessInfo.init:2:10: note: 'init()' declared here
1 | class ProcessInfo {
2 | internal init()}
  |          `- note: 'init()' declared here
3 |
/host/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
/host/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`
/host/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 |
/host/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 |     }
/host/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 |         }
/host/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 |     }
/host/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
/host/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 |     }
[532/540] Compiling Stitcher DefaultIndexer.swift
/host/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 {
/host/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)
/host/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 {
/host/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 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/Implementations/ParallelIndexer.swift:14:32: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
12 |
13 |     static var parallelTaskCount: Int {
14 |         let coreCount = Double(ProcessInfo().processorCount)
   |                                `- error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
15 |         let maximumSystemLoadFactor = 0.75
16 |         return Int(floor(coreCount * maximumSystemLoadFactor))
FoundationEssentials.ProcessInfo.init:2:10: note: 'init()' declared here
1 | class ProcessInfo {
2 | internal init()}
  |          `- note: 'init()' declared here
3 |
/host/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
/host/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`
/host/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 |
/host/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 |     }
/host/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 |         }
/host/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 |     }
/host/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
/host/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 |     }
[533/540] Compiling Stitcher ParallelIndexer.swift
/host/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 {
/host/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)
/host/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 {
/host/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 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/Implementations/ParallelIndexer.swift:14:32: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
12 |
13 |     static var parallelTaskCount: Int {
14 |         let coreCount = Double(ProcessInfo().processorCount)
   |                                `- error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
15 |         let maximumSystemLoadFactor = 0.75
16 |         return Int(floor(coreCount * maximumSystemLoadFactor))
FoundationEssentials.ProcessInfo.init:2:10: note: 'init()' declared here
1 | class ProcessInfo {
2 | internal init()}
  |          `- note: 'init()' declared here
3 |
/host/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
/host/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`
/host/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 |
/host/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 |     }
/host/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 |         }
/host/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 |     }
/host/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
/host/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 |     }
[534/540] Compiling Stitcher PlainIndexer.swift
/host/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 {
/host/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)
/host/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 {
/host/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 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/Implementations/ParallelIndexer.swift:14:32: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
12 |
13 |     static var parallelTaskCount: Int {
14 |         let coreCount = Double(ProcessInfo().processorCount)
   |                                `- error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
15 |         let maximumSystemLoadFactor = 0.75
16 |         return Int(floor(coreCount * maximumSystemLoadFactor))
FoundationEssentials.ProcessInfo.init:2:10: note: 'init()' declared here
1 | class ProcessInfo {
2 | internal init()}
  |          `- note: 'init()' declared here
3 |
/host/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
/host/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`
/host/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 |
/host/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 |     }
/host/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 |         }
/host/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 |     }
/host/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
/host/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 |     }
[535/540] Compiling Stitcher IndexedDependencyContainer.swift
/host/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 {
/host/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)
/host/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 {
/host/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 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/Implementations/ParallelIndexer.swift:14:32: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
12 |
13 |     static var parallelTaskCount: Int {
14 |         let coreCount = Double(ProcessInfo().processorCount)
   |                                `- error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
15 |         let maximumSystemLoadFactor = 0.75
16 |         return Int(floor(coreCount * maximumSystemLoadFactor))
FoundationEssentials.ProcessInfo.init:2:10: note: 'init()' declared here
1 | class ProcessInfo {
2 | internal init()}
  |          `- note: 'init()' declared here
3 |
/host/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
/host/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`
/host/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 |
/host/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 |     }
/host/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 |         }
/host/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 |     }
/host/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
/host/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 |     }
[536/540] Compiling Stitcher Indexing.swift
/host/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 {
/host/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)
/host/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 {
/host/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 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/Implementations/ParallelIndexer.swift:14:32: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
12 |
13 |     static var parallelTaskCount: Int {
14 |         let coreCount = Double(ProcessInfo().processorCount)
   |                                `- error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
15 |         let maximumSystemLoadFactor = 0.75
16 |         return Int(floor(coreCount * maximumSystemLoadFactor))
FoundationEssentials.ProcessInfo.init:2:10: note: 'init()' declared here
1 | class ProcessInfo {
2 | internal init()}
  |          `- note: 'init()' declared here
3 |
/host/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
/host/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`
/host/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 |
/host/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 |     }
/host/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 |         }
/host/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 |     }
/host/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
/host/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 |     }
[537/540] Compiling Stitcher IndexingCoordinator.swift
/host/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 {
/host/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)
/host/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 {
/host/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 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/Implementations/ParallelIndexer.swift:14:32: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
12 |
13 |     static var parallelTaskCount: Int {
14 |         let coreCount = Double(ProcessInfo().processorCount)
   |                                `- error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
15 |         let maximumSystemLoadFactor = 0.75
16 |         return Int(floor(coreCount * maximumSystemLoadFactor))
FoundationEssentials.ProcessInfo.init:2:10: note: 'init()' declared here
1 | class ProcessInfo {
2 | internal init()}
  |          `- note: 'init()' declared here
3 |
/host/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
/host/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`
/host/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 |
/host/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 |     }
/host/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 |         }
/host/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 |     }
/host/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
/host/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 |     }
[538/540] Compiling Stitcher IndexingKey.swift
/host/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 {
/host/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)
/host/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 {
/host/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 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/Implementations/ParallelIndexer.swift:14:32: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
12 |
13 |     static var parallelTaskCount: Int {
14 |         let coreCount = Double(ProcessInfo().processorCount)
   |                                `- error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
15 |         let maximumSystemLoadFactor = 0.75
16 |         return Int(floor(coreCount * maximumSystemLoadFactor))
FoundationEssentials.ProcessInfo.init:2:10: note: 'init()' declared here
1 | class ProcessInfo {
2 | internal init()}
  |          `- note: 'init()' declared here
3 |
/host/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
/host/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`
/host/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 |
/host/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 |     }
/host/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 |         }
/host/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 |     }
/host/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
/host/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 |     }
[539/540] Compiling Stitcher IndexingTask.swift
/host/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 {
/host/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)
/host/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 {
/host/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 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/Implementations/ParallelIndexer.swift:14:32: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
12 |
13 |     static var parallelTaskCount: Int {
14 |         let coreCount = Double(ProcessInfo().processorCount)
   |                                `- error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
15 |         let maximumSystemLoadFactor = 0.75
16 |         return Int(floor(coreCount * maximumSystemLoadFactor))
FoundationEssentials.ProcessInfo.init:2:10: note: 'init()' declared here
1 | class ProcessInfo {
2 | internal init()}
  |          `- note: 'init()' declared here
3 |
/host/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
/host/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`
/host/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 |
/host/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 |     }
/host/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 |         }
/host/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 |     }
/host/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
/host/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 |     }
[540/540] Compiling Stitcher StorageCleaner.swift
/host/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 {
/host/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)
/host/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 {
/host/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 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/Implementations/ParallelIndexer.swift:14:32: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
12 |
13 |     static var parallelTaskCount: Int {
14 |         let coreCount = Double(ProcessInfo().processorCount)
   |                                `- error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
15 |         let maximumSystemLoadFactor = 0.75
16 |         return Int(floor(coreCount * maximumSystemLoadFactor))
FoundationEssentials.ProcessInfo.init:2:10: note: 'init()' declared here
1 | class ProcessInfo {
2 | internal init()}
  |          `- note: 'init()' declared here
3 |
/host/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
/host/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`
/host/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 |
/host/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 |     }
/host/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 |         }
/host/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 |     }
/host/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
/host/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 |     }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/110] Compiling OpenCombine AnyPublisher.swift
[3/110] Compiling OpenCombine AnySubscriber.swift
[4/110] Compiling OpenCombine GENERATED-Publishers.MapKeyPath.swift
[5/110] Compiling OpenCombine AnyCancellable.swift
[6/110] Compiling OpenCombine GENERATED-Publishers.Catch.swift
[7/110] Compiling OpenCombine GENERATED-Publishers.Encode.swift
[8/112] Compiling OpenCombine Utils.swift
[9/112] Compiling OpenCombine Violations.swift
[10/112] Compiling OpenCombine ImmediateScheduler.swift
[11/112] Compiling OpenCombine ObservableObject.swift
[12/112] Compiling OpenCombine PassthroughSubject.swift
[13/112] Compiling OpenCombine Published.swift
[14/112] Emitting module InternalCollectionsUtilities
[15/112] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[16/112] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[17/112] Compiling OpenCombine Publisher+Subscribe.swift
[18/112] Compiling OpenCombine Deferred.swift
[19/112] Compiling OpenCombine Empty.swift
[20/112] Compiling OpenCombine Fail.swift
[22/299] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[23/299] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[24/299] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[25/299] Compiling OrderedCollections OrderedDictionary+Values.swift
[26/389] Compiling BitCollections BitArray+Codable.swift
[27/389] Compiling BitCollections BitArray+Collection.swift
[28/389] Compiling BitCollections BitArray+Copy.swift
[29/389] Compiling BitCollections BitArray+CustomReflectable.swift
[30/389] Compiling HeapModule Heap+Invariants.swift
[31/389] Compiling HeapModule Heap+Descriptions.swift
[32/389] Compiling HeapModule Heap.swift
[33/389] Compiling HeapModule _HeapNode.swift
[34/389] Compiling BitCollections BitArray+ExpressibleByArrayLiteral.swift
[35/389] Compiling BitCollections BitArray+ExpressibleByStringLiteral.swift
[36/389] Compiling BitCollections BitArray+Initializers.swift
[37/389] Compiling BitCollections BitArray+Invariants.swift
[38/389] Compiling BitCollections BitArray+LosslessStringConvertible.swift
[39/389] Compiling BitCollections BitArray+RandomBits.swift
[40/389] Compiling BitCollections BitArray+RangeReplaceableCollection.swift
[41/389] Compiling BitCollections BitArray+Shifts.swift
[42/389] Compiling BitCollections BitArray+Testing.swift
[43/389] Compiling BitCollections BitArray._UnsafeHandle.swift
[44/389] Compiling BitCollections BitArray.swift
[45/389] Compiling BitCollections BitSet+BidirectionalCollection.swift
[46/389] Compiling BitCollections BitSet+Codable.swift
[47/389] Compiling BitCollections BitSet+Initializers.swift
[48/389] Compiling BitCollections BitSet+Invariants.swift
[49/401] Compiling HashTreeCollections TreeSet+Hashable.swift
[50/401] Compiling HashTreeCollections TreeSet+Sendable.swift
[51/401] Compiling HashTreeCollections TreeSet+Sequence.swift
[52/401] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[53/401] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[54/401] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[55/401] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[56/401] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[57/401] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[58/401] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[61/411] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[62/411] Compiling HeapModule Heap+UnsafeHandle.swift
[63/411] Emitting module HeapModule
[64/412] Compiling BitCollections BitSet+SetAlgebra isDisjoint.swift
[65/412] Compiling BitCollections BitSet+SetAlgebra isEqualSet.swift
[66/412] Compiling BitCollections BitSet+SetAlgebra isStrictSubset.swift
[67/412] Compiling BitCollections BitSet+SetAlgebra isStrictSuperset.swift
[68/412] Compiling BitCollections BitSet+SetAlgebra isSubset.swift
[69/412] Compiling BitCollections BitSet+SetAlgebra isSuperset.swift
[70/412] Compiling BitCollections BitSet+SetAlgebra subtract.swift
[71/412] Compiling BitCollections BitSet+SetAlgebra subtracting.swift
[72/412] Compiling BitCollections BitSet+SetAlgebra symmetricDifference.swift
[73/412] Compiling BitCollections BitSet+SetAlgebra union.swift
[74/412] Compiling BitCollections BitSet+Sorted Collection APIs.swift
[75/412] Compiling BitCollections BitSet.Counted.swift
[76/412] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[77/412] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[79/419] Compiling OrderedCollections OrderedSet+SubSequence.swift
[80/419] Compiling OrderedCollections OrderedSet+Testing.swift
[81/419] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[82/419] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[83/419] Compiling OrderedCollections OrderedSet.swift
[84/419] Compiling OrderedCollections _UnsafeBitset.swift
[85/419] Compiling HashTreeCollections TreeSet+Equatable.swift
[86/419] Compiling HashTreeCollections TreeSet+ExpressibleByArrayLiteral.swift
[87/419] Compiling HashTreeCollections TreeSet+Extras.swift
[88/419] Compiling HashTreeCollections TreeSet+Filter.swift
[89/419] Compiling BitCollections BitSet+CustomStringConvertible.swift
[90/419] Compiling BitCollections BitSet+Equatable.swift
[91/419] Compiling BitCollections BitSet+ExpressibleByArrayLiteral.swift
[92/419] Compiling BitCollections BitSet+Extras.swift
[93/419] Compiling BitCollections BitSet+Hashable.swift
[94/419] Compiling BitCollections BitSet+SetAlgebra formUnion.swift
[95/419] Compiling BitCollections BitSet+SetAlgebra intersection.swift
[100/419] Compiling BitCollections BitArray+Hashable.swift
[109/426] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[110/426] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[111/426] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[112/426] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[113/426] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[114/426] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[115/426] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[116/426] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[117/426] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[118/426] Compiling HashTreeCollections TreeSet.swift
[119/426] Emitting module DequeModule
[120/426] Compiling BitCollections BitArray+BitwiseOperations.swift
[121/426] Compiling BitCollections BitArray+ChunkedBitsIterators.swift
[136/426] Compiling BitCollections BitArray+Descriptions.swift
[137/426] Compiling BitCollections BitArray+Equatable.swift
[140/426] Compiling BitCollections BitArray+Extras.swift
[141/426] Compiling BitCollections BitArray+Fill.swift
[146/426] Compiling BitCollections BitSet+CustomReflectable.swift
[156/427] Compiling BitCollections BitSet+Random.swift
[157/427] Compiling BitCollections BitSet+SetAlgebra basics.swift
[158/427] Compiling BitCollections BitSet+SetAlgebra conformance.swift
[159/427] Compiling BitCollections BitSet+SetAlgebra formIntersection.swift
[160/427] Compiling BitCollections BitSet+SetAlgebra formSymmetricDifference.swift
[168/427] Compiling BitCollections BitSet+CustomDebugStringConvertible.swift
[182/427] Compiling OpenCombine Publishers.Print.swift
[183/427] Compiling OpenCombine Publishers.ReceiveOn.swift
[184/427] Compiling OpenCombine Publishers.Reduce.swift
[185/427] Compiling OpenCombine Publishers.RemoveDuplicates.swift
[186/427] Compiling OpenCombine Publishers.ReplaceEmpty.swift
[187/427] Compiling OpenCombine Publishers.ReplaceError.swift
[214/427] Emitting module OpenCombine
[216/427] Compiling OpenCombine Result.swift
[217/427] Compiling OpenCombine Scheduler.swift
[218/427] Compiling OpenCombine Subject+Void.swift
[219/427] Compiling OpenCombine Subscriber+Void.swift
[220/427] Compiling OpenCombine Subscribers.Assign.swift
[221/427] Compiling OpenCombine Subscribers.Completion.swift
[222/427] Compiling OpenCombine Subscribers.Demand.swift
[223/427] Compiling OpenCombine Subscribers.Sink.swift
[224/427] Compiling OpenCombine Subscribers.swift
[225/427] Compiling OpenCombine Subscription.swift
[226/427] Compiling OpenCombine Subscriptions.swift
[227/427] Compiling OpenCombine _Introspection.swift
[236/427] Compiling BitCollections BitSet.Index.swift
[237/427] Compiling BitCollections BitSet._UnsafeHandle.swift
[238/427] Compiling BitCollections BitSet.swift
[263/427] Emitting module BitCollections
[275/427] Compiling BitCollections Range+Utilities.swift
[276/427] Compiling BitCollections Slice+Utilities.swift
[277/427] Compiling BitCollections UInt+Tricks.swift
[278/427] Compiling BitCollections _Word.swift
[286/428] Emitting module OrderedCollections
[322/438] Compiling _RopeModule Rope+Join.swift
[323/438] Compiling _RopeModule Rope+MutatingForEach.swift
[324/438] Compiling _RopeModule Rope+Remove.swift
[325/438] Compiling _RopeModule Rope+RemoveSubrange.swift
[326/438] Compiling _RopeModule Rope+Split.swift
[327/438] Compiling _RopeModule Optional Utilities.swift
[328/438] Compiling _RopeModule String Utilities.swift
[329/438] Compiling _RopeModule String.Index+ABI.swift
[330/438] Compiling _RopeModule _CharacterRecognizer.swift
[389/439] Emitting module _RopeModule
[430/439] Emitting module HashTreeCollections
[442/443] Emitting module OpenCombineDispatch
[443/443] Compiling OpenCombineDispatch DispatchQueue+Scheduler.swift
[445/446] Emitting module Collections
[446/446] Compiling Collections Collections.swift
[448/518] Compiling Stitcher Common.swift
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/Implementations/ParallelIndexer.swift:14:32: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
12 |
13 |     static var parallelTaskCount: Int {
14 |         let coreCount = Double(ProcessInfo().processorCount)
   |                                `- error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
15 |         let maximumSystemLoadFactor = 0.75
16 |         return Int(floor(coreCount * maximumSystemLoadFactor))
FoundationEssentials.ProcessInfo.init:2:10: note: 'init()' declared here
1 | class ProcessInfo {
2 | internal init()}
  |          `- note: 'init()' declared here
3 |
[449/518] Compiling Stitcher DefaultIndexer.swift
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/Implementations/ParallelIndexer.swift:14:32: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
12 |
13 |     static var parallelTaskCount: Int {
14 |         let coreCount = Double(ProcessInfo().processorCount)
   |                                `- error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
15 |         let maximumSystemLoadFactor = 0.75
16 |         return Int(floor(coreCount * maximumSystemLoadFactor))
FoundationEssentials.ProcessInfo.init:2:10: note: 'init()' declared here
1 | class ProcessInfo {
2 | internal init()}
  |          `- note: 'init()' declared here
3 |
[450/518] Compiling Stitcher ParallelIndexer.swift
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/Implementations/ParallelIndexer.swift:14:32: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
12 |
13 |     static var parallelTaskCount: Int {
14 |         let coreCount = Double(ProcessInfo().processorCount)
   |                                `- error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
15 |         let maximumSystemLoadFactor = 0.75
16 |         return Int(floor(coreCount * maximumSystemLoadFactor))
FoundationEssentials.ProcessInfo.init:2:10: note: 'init()' declared here
1 | class ProcessInfo {
2 | internal init()}
  |          `- note: 'init()' declared here
3 |
[451/518] Compiling Stitcher PlainIndexer.swift
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/Implementations/ParallelIndexer.swift:14:32: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
12 |
13 |     static var parallelTaskCount: Int {
14 |         let coreCount = Double(ProcessInfo().processorCount)
   |                                `- error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
15 |         let maximumSystemLoadFactor = 0.75
16 |         return Int(floor(coreCount * maximumSystemLoadFactor))
FoundationEssentials.ProcessInfo.init:2:10: note: 'init()' declared here
1 | class ProcessInfo {
2 | internal init()}
  |          `- note: 'init()' declared here
3 |
[452/518] Compiling Stitcher IndexedDependencyContainer.swift
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/Implementations/ParallelIndexer.swift:14:32: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
12 |
13 |     static var parallelTaskCount: Int {
14 |         let coreCount = Double(ProcessInfo().processorCount)
   |                                `- error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
15 |         let maximumSystemLoadFactor = 0.75
16 |         return Int(floor(coreCount * maximumSystemLoadFactor))
FoundationEssentials.ProcessInfo.init:2:10: note: 'init()' declared here
1 | class ProcessInfo {
2 | internal init()}
  |          `- note: 'init()' declared here
3 |
[453/518] Compiling Stitcher Indexing.swift
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/Implementations/ParallelIndexer.swift:14:32: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
12 |
13 |     static var parallelTaskCount: Int {
14 |         let coreCount = Double(ProcessInfo().processorCount)
   |                                `- error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
15 |         let maximumSystemLoadFactor = 0.75
16 |         return Int(floor(coreCount * maximumSystemLoadFactor))
FoundationEssentials.ProcessInfo.init:2:10: note: 'init()' declared here
1 | class ProcessInfo {
2 | internal init()}
  |          `- note: 'init()' declared here
3 |
[454/518] Compiling Stitcher IndexingCoordinator.swift
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/Implementations/ParallelIndexer.swift:14:32: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
12 |
13 |     static var parallelTaskCount: Int {
14 |         let coreCount = Double(ProcessInfo().processorCount)
   |                                `- error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
15 |         let maximumSystemLoadFactor = 0.75
16 |         return Int(floor(coreCount * maximumSystemLoadFactor))
FoundationEssentials.ProcessInfo.init:2:10: note: 'init()' declared here
1 | class ProcessInfo {
2 | internal init()}
  |          `- note: 'init()' declared here
3 |
[455/518] Compiling Stitcher IndexingKey.swift
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/Implementations/ParallelIndexer.swift:14:32: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
12 |
13 |     static var parallelTaskCount: Int {
14 |         let coreCount = Double(ProcessInfo().processorCount)
   |                                `- error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
15 |         let maximumSystemLoadFactor = 0.75
16 |         return Int(floor(coreCount * maximumSystemLoadFactor))
FoundationEssentials.ProcessInfo.init:2:10: note: 'init()' declared here
1 | class ProcessInfo {
2 | internal init()}
  |          `- note: 'init()' declared here
3 |
[456/518] Compiling Stitcher IndexingTask.swift
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/Implementations/ParallelIndexer.swift:14:32: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
12 |
13 |     static var parallelTaskCount: Int {
14 |         let coreCount = Double(ProcessInfo().processorCount)
   |                                `- error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
15 |         let maximumSystemLoadFactor = 0.75
16 |         return Int(floor(coreCount * maximumSystemLoadFactor))
FoundationEssentials.ProcessInfo.init:2:10: note: 'init()' declared here
1 | class ProcessInfo {
2 | internal init()}
  |          `- note: 'init()' declared here
3 |
[457/518] Compiling Stitcher StorageCleaner.swift
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/Implementations/ParallelIndexer.swift:14:32: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
12 |
13 |     static var parallelTaskCount: Int {
14 |         let coreCount = Double(ProcessInfo().processorCount)
   |                                `- error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
15 |         let maximumSystemLoadFactor = 0.75
16 |         return Int(floor(coreCount * maximumSystemLoadFactor))
FoundationEssentials.ProcessInfo.init:2:10: note: 'init()' declared here
1 | class ProcessInfo {
2 | internal init()}
  |          `- note: 'init()' declared here
3 |
[458/518] Compiling Stitcher InstanceStorageFactory.swift
/host/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:37:31: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
 35 |
 36 |         private static var defaultQueueCount: Int {
 37 |             let processInfo = ProcessInfo()
    |                               `- error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
 38 |             return processInfo.processorCount - 1
 39 |         }
FoundationEssentials.ProcessInfo.init:2:10: note: 'init()' declared here
1 | class ProcessInfo {
2 | internal init()}
  |          `- note: 'init()' declared here
3 |
[459/518] Compiling Stitcher InstanceStorageKey.swift
/host/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:37:31: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
 35 |
 36 |         private static var defaultQueueCount: Int {
 37 |             let processInfo = ProcessInfo()
    |                               `- error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
 38 |             return processInfo.processorCount - 1
 39 |         }
FoundationEssentials.ProcessInfo.init:2:10: note: 'init()' declared here
1 | class ProcessInfo {
2 | internal init()}
  |          `- note: 'init()' declared here
3 |
[460/518] Compiling Stitcher AnyPipeline.swift
/host/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:37:31: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
 35 |
 36 |         private static var defaultQueueCount: Int {
 37 |             let processInfo = ProcessInfo()
    |                               `- error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
 38 |             return processInfo.processorCount - 1
 39 |         }
FoundationEssentials.ProcessInfo.init:2:10: note: 'init()' declared here
1 | class ProcessInfo {
2 | internal init()}
  |          `- note: 'init()' declared here
3 |
[461/518] Compiling Stitcher AnyPipelineCancellable.swift
/host/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:37:31: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
 35 |
 36 |         private static var defaultQueueCount: Int {
 37 |             let processInfo = ProcessInfo()
    |                               `- error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
 38 |             return processInfo.processorCount - 1
 39 |         }
FoundationEssentials.ProcessInfo.init:2:10: note: 'init()' declared here
1 | class ProcessInfo {
2 | internal init()}
  |          `- note: 'init()' declared here
3 |
[462/518] Compiling Stitcher Pipeline.swift
/host/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:37:31: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
 35 |
 36 |         private static var defaultQueueCount: Int {
 37 |             let processInfo = ProcessInfo()
    |                               `- error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
 38 |             return processInfo.processorCount - 1
 39 |         }
FoundationEssentials.ProcessInfo.init:2:10: note: 'init()' declared here
1 | class ProcessInfo {
2 | internal init()}
  |          `- note: 'init()' declared here
3 |
[463/518] Compiling Stitcher PipelineSubject.swift
/host/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:37:31: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
 35 |
 36 |         private static var defaultQueueCount: Int {
 37 |             let processInfo = ProcessInfo()
    |                               `- error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
 38 |             return processInfo.processorCount - 1
 39 |         }
FoundationEssentials.ProcessInfo.init:2:10: note: 'init()' declared here
1 | class ProcessInfo {
2 | internal init()}
  |          `- note: 'init()' declared here
3 |
[464/518] Compiling Stitcher Stitcher.swift
/host/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:37:31: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
 35 |
 36 |         private static var defaultQueueCount: Int {
 37 |             let processInfo = ProcessInfo()
    |                               `- error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
 38 |             return processInfo.processorCount - 1
 39 |         }
FoundationEssentials.ProcessInfo.init:2:10: note: 'init()' declared here
1 | class ProcessInfo {
2 | internal init()}
  |          `- note: 'init()' declared here
3 |
[465/518] Compiling Stitcher AsyncTask.swift
/host/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:37:31: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
 35 |
 36 |         private static var defaultQueueCount: Int {
 37 |             let processInfo = ProcessInfo()
    |                               `- error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
 38 |             return processInfo.processorCount - 1
 39 |         }
FoundationEssentials.ProcessInfo.init:2:10: note: 'init()' declared here
1 | class ProcessInfo {
2 | internal init()}
  |          `- note: 'init()' declared here
3 |
[466/518] Compiling Stitcher CancellableTask.swift
/host/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:37:31: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
 35 |
 36 |         private static var defaultQueueCount: Int {
 37 |             let processInfo = ProcessInfo()
    |                               `- error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
 38 |             return processInfo.processorCount - 1
 39 |         }
FoundationEssentials.ProcessInfo.init:2:10: note: 'init()' declared here
1 | class ProcessInfo {
2 | internal init()}
  |          `- note: 'init()' declared here
3 |
[467/518] Compiling Stitcher RawThreadKey.swift
/host/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:37:31: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
 35 |
 36 |         private static var defaultQueueCount: Int {
 37 |             let processInfo = ProcessInfo()
    |                               `- error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
 38 |             return processInfo.processorCount - 1
 39 |         }
FoundationEssentials.ProcessInfo.init:2:10: note: 'init()' declared here
1 | class ProcessInfo {
2 | internal init()}
  |          `- note: 'init()' declared here
3 |
[468/528] Emitting module Stitcher
[469/528] Compiling Stitcher AutoregisterableDependencyCodeGenerator.swift
[470/528] Compiling Stitcher NameInjectionCodeGenerator.swift
[471/528] Compiling Stitcher TestInjectionCodeGenerator.swift
[472/528] Compiling Stitcher TypeInjectionCodeGenerator.swift
[473/528] Compiling Stitcher InjectionCodeGenerator.swift
[474/528] Compiling Stitcher InjectionCodeGenerators.swift
[475/528] Compiling Stitcher StitcherConfiguration.swift
[476/528] Compiling Stitcher DependencyContainer.swift
[477/528] Compiling Stitcher DependencyFactory+Function.swift
[478/528] Compiling Stitcher DependencyFactory.swift
[479/528] Compiling Stitcher DependencyGroup.swift
[480/528] Compiling Stitcher DependencyRegistrarBuilder.swift
[481/528] Compiling Stitcher RawDependencyRegistration.swift
[482/528] Compiling Stitcher DependencyGroupRepresenting.swift
[483/528] Compiling Stitcher DependencyRepresenting.swift
[484/528] Compiling Stitcher ManagedSingletonInstanceStorage.swift
[485/528] Compiling Stitcher NeverInstanceStorage.swift
[486/528] Compiling Stitcher SharedInstanceStorage.swift
[487/528] Compiling Stitcher SingletonInstanceStorage.swift
[488/528] Compiling Stitcher InstanceStorage.swift
[489/528] Compiling Stitcher TypeName.swift
[490/528] Compiling Stitcher Atomic.swift
[491/528] Compiling Stitcher Dependencies.swift
[492/528] Compiling Stitcher Injected+Init.swift
[493/528] Compiling Stitcher Injected.swift
[494/528] Compiling Stitcher AutoregisterableDependency.swift
[495/528] Compiling Stitcher GeneratedDependencyRegistration.swift
[496/528] Compiling Stitcher RegisterableDependency.swift
[497/528] Compiling Stitcher DependenciesRegistrar.swift
[498/528] Compiling Stitcher Dependency.swift
[499/528] Compiling Stitcher DependencyContainingCollection.swift
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyParameters.swift:120:41: warning: cast from '(/* shape: each Element */ repeat DependencyParameters.AnyParameter)' to unrelated type 'DependencyParameters.AnyParameter' always fails
118 |
119 |         if tupleValues.isEmpty && mirror.displayStyle != .tuple {
120 |             let singleParameter = tuple as! AnyParameter
    |                                         `- warning: cast from '(/* shape: each Element */ repeat DependencyParameters.AnyParameter)' to unrelated type 'DependencyParameters.AnyParameter' always fails
121 |             tupleValues = [singleParameter]
122 |         }
[500/528] Compiling Stitcher DependencyEagerness.swift
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyParameters.swift:120:41: warning: cast from '(/* shape: each Element */ repeat DependencyParameters.AnyParameter)' to unrelated type 'DependencyParameters.AnyParameter' always fails
118 |
119 |         if tupleValues.isEmpty && mirror.displayStyle != .tuple {
120 |             let singleParameter = tuple as! AnyParameter
    |                                         `- warning: cast from '(/* shape: each Element */ repeat DependencyParameters.AnyParameter)' to unrelated type 'DependencyParameters.AnyParameter' always fails
121 |             tupleValues = [singleParameter]
122 |         }
[501/528] Compiling Stitcher DependencyLocator.swift
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyParameters.swift:120:41: warning: cast from '(/* shape: each Element */ repeat DependencyParameters.AnyParameter)' to unrelated type 'DependencyParameters.AnyParameter' always fails
118 |
119 |         if tupleValues.isEmpty && mirror.displayStyle != .tuple {
120 |             let singleParameter = tuple as! AnyParameter
    |                                         `- warning: cast from '(/* shape: each Element */ repeat DependencyParameters.AnyParameter)' to unrelated type 'DependencyParameters.AnyParameter' always fails
121 |             tupleValues = [singleParameter]
122 |         }
[502/528] Compiling Stitcher DependencyLocatorTraits.swift
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyParameters.swift:120:41: warning: cast from '(/* shape: each Element */ repeat DependencyParameters.AnyParameter)' to unrelated type 'DependencyParameters.AnyParameter' always fails
118 |
119 |         if tupleValues.isEmpty && mirror.displayStyle != .tuple {
120 |             let singleParameter = tuple as! AnyParameter
    |                                         `- warning: cast from '(/* shape: each Element */ repeat DependencyParameters.AnyParameter)' to unrelated type 'DependencyParameters.AnyParameter' always fails
121 |             tupleValues = [singleParameter]
122 |         }
[503/528] Compiling Stitcher DependencyParameters.swift
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyParameters.swift:120:41: warning: cast from '(/* shape: each Element */ repeat DependencyParameters.AnyParameter)' to unrelated type 'DependencyParameters.AnyParameter' always fails
118 |
119 |         if tupleValues.isEmpty && mirror.displayStyle != .tuple {
120 |             let singleParameter = tuple as! AnyParameter
    |                                         `- warning: cast from '(/* shape: each Element */ repeat DependencyParameters.AnyParameter)' to unrelated type 'DependencyParameters.AnyParameter' always fails
121 |             tupleValues = [singleParameter]
122 |         }
[504/528] Compiling Stitcher DependencyScope.swift
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyParameters.swift:120:41: warning: cast from '(/* shape: each Element */ repeat DependencyParameters.AnyParameter)' to unrelated type 'DependencyParameters.AnyParameter' always fails
118 |
119 |         if tupleValues.isEmpty && mirror.displayStyle != .tuple {
120 |             let singleParameter = tuple as! AnyParameter
    |                                         `- warning: cast from '(/* shape: each Element */ repeat DependencyParameters.AnyParameter)' to unrelated type 'DependencyParameters.AnyParameter' always fails
121 |             tupleValues = [singleParameter]
122 |         }
[505/528] Compiling Stitcher InjectionError.swift
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyParameters.swift:120:41: warning: cast from '(/* shape: each Element */ repeat DependencyParameters.AnyParameter)' to unrelated type 'DependencyParameters.AnyParameter' always fails
118 |
119 |         if tupleValues.isEmpty && mirror.displayStyle != .tuple {
120 |             let singleParameter = tuple as! AnyParameter
    |                                         `- warning: cast from '(/* shape: each Element */ repeat DependencyParameters.AnyParameter)' to unrelated type 'DependencyParameters.AnyParameter' always fails
121 |             tupleValues = [singleParameter]
122 |         }
[506/528] Compiling Stitcher ManagedDependencyScopeProviding.swift
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyParameters.swift:120:41: warning: cast from '(/* shape: each Element */ repeat DependencyParameters.AnyParameter)' to unrelated type 'DependencyParameters.AnyParameter' always fails
118 |
119 |         if tupleValues.isEmpty && mirror.displayStyle != .tuple {
120 |             let singleParameter = tuple as! AnyParameter
    |                                         `- warning: cast from '(/* shape: each Element */ repeat DependencyParameters.AnyParameter)' to unrelated type 'DependencyParameters.AnyParameter' always fails
121 |             tupleValues = [singleParameter]
122 |         }
[507/528] Compiling Stitcher ManagedDependencyScopeReceipt.swift
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyParameters.swift:120:41: warning: cast from '(/* shape: each Element */ repeat DependencyParameters.AnyParameter)' to unrelated type 'DependencyParameters.AnyParameter' always fails
118 |
119 |         if tupleValues.isEmpty && mirror.displayStyle != .tuple {
120 |             let singleParameter = tuple as! AnyParameter
    |                                         `- warning: cast from '(/* shape: each Element */ repeat DependencyParameters.AnyParameter)' to unrelated type 'DependencyParameters.AnyParameter' always fails
121 |             tupleValues = [singleParameter]
122 |         }
[508/528] Compiling Stitcher PipelineManagedDependencyScope.swift
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyParameters.swift:120:41: warning: cast from '(/* shape: each Element */ repeat DependencyParameters.AnyParameter)' to unrelated type 'DependencyParameters.AnyParameter' always fails
118 |
119 |         if tupleValues.isEmpty && mirror.displayStyle != .tuple {
120 |             let singleParameter = tuple as! AnyParameter
    |                                         `- warning: cast from '(/* shape: each Element */ repeat DependencyParameters.AnyParameter)' to unrelated type 'DependencyParameters.AnyParameter' always fails
121 |             tupleValues = [singleParameter]
122 |         }
[509/528] Compiling Stitcher RawThreadKeyError.swift
[510/528] Compiling Stitcher ThreadIdentifierThreadValuesKey.swift
[511/528] Compiling Stitcher ThreadLocal.swift
[512/528] Compiling Stitcher ThreadValues.swift
[513/528] Compiling Stitcher ThreadValuesKey.swift
[514/528] Compiling Stitcher DefaultValueProviding.swift
[515/528] Compiling Stitcher Extensions.swift
[516/528] Compiling Stitcher Functions.swift
[517/528] Compiling Stitcher Reference.swift
[518/528] Compiling Stitcher WeakReference.swift
[519/528] Compiling Stitcher InstantionNotificationCenter.swift
[520/528] Compiling Stitcher PostInstantiationAware.swift
[521/528] Compiling Stitcher DependencyCycleDetector.swift
[522/528] Compiling Stitcher DependencyCycleInstantationBacktrace.swift
[523/528] Compiling Stitcher DependencyGraph+Assertions.swift
[524/528] Compiling Stitcher DependencyGraph+NameInjection.swift
[525/528] Compiling Stitcher DependencyGraph+TypeInjection.swift
[526/528] Compiling Stitcher DependencyGraph+ValueInjection.swift
[527/528] Compiling Stitcher DependencyGraph.swift
[528/528] Compiling Stitcher DependencyRegistrarIndex.swift
BUILD FAILURE 6.1 linux