The Swift Package Index logo.Swift Package Index

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

Build Information

Failed to build Stitcher, reference v1.1.0 (d13eba), with Swift 6.1 for Android on 29 May 2025 11:18:48 UTC.

Build Command

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

Build Log

 8 | import Foundation
 9 |
10 | class ManagedSingletonInstanceStorage<Value: AnyObject>: InstanceStorage {
   |       `- note: generic class 'ManagedSingletonInstanceStorage' does not conform to the 'Sendable' protocol
11 |
12 |     let key: Key
   :
39 |
40 |         self.subscription = scope.onScopeInvalidated { [weak self] in
41 |             self?.clear()
   |             `- warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Reference<V>>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
42 |         }
43 |     }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/InstanceStorage.swift:40:31: warning: capture of 'storage' with non-sendable type 'Storage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
37 |     let key: Key
38 |
39 |     init<Storage: InstanceStorage>(erasing storage: Storage) {
   |          `- note: consider making generic parameter 'Storage' conform to the 'Sendable' protocol
40 |         self._storedValue = { storage.value }
   |                               `- warning: capture of 'storage' with non-sendable type 'Storage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 |         self._hash = { storage.hash(into: &$0) }
42 |         self.key = storage.key
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/InstanceStorage.swift:41:24: warning: capture of 'storage' with non-sendable type 'Storage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
37 |     let key: Key
38 |
39 |     init<Storage: InstanceStorage>(erasing storage: Storage) {
   |          `- note: consider making generic parameter 'Storage' conform to the 'Sendable' protocol
40 |         self._storedValue = { storage.value }
41 |         self._hash = { storage.hash(into: &$0) }
   |                        `- warning: capture of 'storage' with non-sendable type 'Storage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
42 |         self.key = storage.key
43 |     }
[528/540] Compiling Stitcher SharedInstanceStorage.swift
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/Common/ManagedSingletonInstanceStorage.swift:30:13: warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Value>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | class ManagedSingletonInstanceStorage<Value: AnyObject>: InstanceStorage {
   |       `- note: generic class 'ManagedSingletonInstanceStorage' does not conform to the 'Sendable' protocol
11 |
12 |     let key: Key
   :
28 |
29 |         self.subscription = scope.onScopeInvalidated { [weak self] in
30 |             self?.clear()
   |             `- warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Value>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
31 |         }
32 |     }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/Common/ManagedSingletonInstanceStorage.swift:41:13: warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Reference<V>>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | class ManagedSingletonInstanceStorage<Value: AnyObject>: InstanceStorage {
   |       `- note: generic class 'ManagedSingletonInstanceStorage' does not conform to the 'Sendable' protocol
11 |
12 |     let key: Key
   :
39 |
40 |         self.subscription = scope.onScopeInvalidated { [weak self] in
41 |             self?.clear()
   |             `- warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Reference<V>>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
42 |         }
43 |     }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/InstanceStorage.swift:40:31: warning: capture of 'storage' with non-sendable type 'Storage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
37 |     let key: Key
38 |
39 |     init<Storage: InstanceStorage>(erasing storage: Storage) {
   |          `- note: consider making generic parameter 'Storage' conform to the 'Sendable' protocol
40 |         self._storedValue = { storage.value }
   |                               `- warning: capture of 'storage' with non-sendable type 'Storage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 |         self._hash = { storage.hash(into: &$0) }
42 |         self.key = storage.key
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/InstanceStorage.swift:41:24: warning: capture of 'storage' with non-sendable type 'Storage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
37 |     let key: Key
38 |
39 |     init<Storage: InstanceStorage>(erasing storage: Storage) {
   |          `- note: consider making generic parameter 'Storage' conform to the 'Sendable' protocol
40 |         self._storedValue = { storage.value }
41 |         self._hash = { storage.hash(into: &$0) }
   |                        `- warning: capture of 'storage' with non-sendable type 'Storage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
42 |         self.key = storage.key
43 |     }
[529/540] Compiling Stitcher SingletonInstanceStorage.swift
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/Common/ManagedSingletonInstanceStorage.swift:30:13: warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Value>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | class ManagedSingletonInstanceStorage<Value: AnyObject>: InstanceStorage {
   |       `- note: generic class 'ManagedSingletonInstanceStorage' does not conform to the 'Sendable' protocol
11 |
12 |     let key: Key
   :
28 |
29 |         self.subscription = scope.onScopeInvalidated { [weak self] in
30 |             self?.clear()
   |             `- warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Value>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
31 |         }
32 |     }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/Common/ManagedSingletonInstanceStorage.swift:41:13: warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Reference<V>>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | class ManagedSingletonInstanceStorage<Value: AnyObject>: InstanceStorage {
   |       `- note: generic class 'ManagedSingletonInstanceStorage' does not conform to the 'Sendable' protocol
11 |
12 |     let key: Key
   :
39 |
40 |         self.subscription = scope.onScopeInvalidated { [weak self] in
41 |             self?.clear()
   |             `- warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Reference<V>>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
42 |         }
43 |     }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/InstanceStorage.swift:40:31: warning: capture of 'storage' with non-sendable type 'Storage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
37 |     let key: Key
38 |
39 |     init<Storage: InstanceStorage>(erasing storage: Storage) {
   |          `- note: consider making generic parameter 'Storage' conform to the 'Sendable' protocol
40 |         self._storedValue = { storage.value }
   |                               `- warning: capture of 'storage' with non-sendable type 'Storage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 |         self._hash = { storage.hash(into: &$0) }
42 |         self.key = storage.key
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/InstanceStorage.swift:41:24: warning: capture of 'storage' with non-sendable type 'Storage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
37 |     let key: Key
38 |
39 |     init<Storage: InstanceStorage>(erasing storage: Storage) {
   |          `- note: consider making generic parameter 'Storage' conform to the 'Sendable' protocol
40 |         self._storedValue = { storage.value }
41 |         self._hash = { storage.hash(into: &$0) }
   |                        `- warning: capture of 'storage' with non-sendable type 'Storage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
42 |         self.key = storage.key
43 |     }
[530/540] Compiling Stitcher InstanceStorage.swift
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/Common/ManagedSingletonInstanceStorage.swift:30:13: warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Value>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | class ManagedSingletonInstanceStorage<Value: AnyObject>: InstanceStorage {
   |       `- note: generic class 'ManagedSingletonInstanceStorage' does not conform to the 'Sendable' protocol
11 |
12 |     let key: Key
   :
28 |
29 |         self.subscription = scope.onScopeInvalidated { [weak self] in
30 |             self?.clear()
   |             `- warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Value>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
31 |         }
32 |     }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/Common/ManagedSingletonInstanceStorage.swift:41:13: warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Reference<V>>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | class ManagedSingletonInstanceStorage<Value: AnyObject>: InstanceStorage {
   |       `- note: generic class 'ManagedSingletonInstanceStorage' does not conform to the 'Sendable' protocol
11 |
12 |     let key: Key
   :
39 |
40 |         self.subscription = scope.onScopeInvalidated { [weak self] in
41 |             self?.clear()
   |             `- warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Reference<V>>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
42 |         }
43 |     }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/InstanceStorage.swift:40:31: warning: capture of 'storage' with non-sendable type 'Storage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
37 |     let key: Key
38 |
39 |     init<Storage: InstanceStorage>(erasing storage: Storage) {
   |          `- note: consider making generic parameter 'Storage' conform to the 'Sendable' protocol
40 |         self._storedValue = { storage.value }
   |                               `- warning: capture of 'storage' with non-sendable type 'Storage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 |         self._hash = { storage.hash(into: &$0) }
42 |         self.key = storage.key
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/InstanceStorage.swift:41:24: warning: capture of 'storage' with non-sendable type 'Storage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
37 |     let key: Key
38 |
39 |     init<Storage: InstanceStorage>(erasing storage: Storage) {
   |          `- note: consider making generic parameter 'Storage' conform to the 'Sendable' protocol
40 |         self._storedValue = { storage.value }
41 |         self._hash = { storage.hash(into: &$0) }
   |                        `- warning: capture of 'storage' with non-sendable type 'Storage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
42 |         self.key = storage.key
43 |     }
[531/540] Compiling Stitcher AutoregisterableDependencyCodeGenerator.swift
/host/spi-builder-workspace/Sources/Stitcher/CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerators.swift:19:20: warning: static property 'stitcherTest' is not concurrency-safe because non-'Sendable' type 'InjectionCodeGenerators.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public enum InjectionCodeGenerators {
11 |
12 |     public struct Name: Hashable, CaseIterable {
   |                   `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 |         public let rawValue: String
14 |
   :
17 |         }
18 |
19 |         static let stitcherTest = Name(rawValue: "stitcherTest")
   |                    |- warning: static property 'stitcherTest' is not concurrency-safe because non-'Sendable' type 'InjectionCodeGenerators.Name' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: add '@MainActor' to make static property 'stitcherTest' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |         public static let stitcherByType = Name(rawValue: "stitcherByType")
21 |         public static let stitcherByName = Name(rawValue: "stitcherByName")
/host/spi-builder-workspace/Sources/Stitcher/CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerators.swift:20:27: warning: static property 'stitcherByType' is not concurrency-safe because non-'Sendable' type 'InjectionCodeGenerators.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public enum InjectionCodeGenerators {
11 |
12 |     public struct Name: Hashable, CaseIterable {
   |                   `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 |         public let rawValue: String
14 |
   :
18 |
19 |         static let stitcherTest = Name(rawValue: "stitcherTest")
20 |         public static let stitcherByType = Name(rawValue: "stitcherByType")
   |                           |- warning: static property 'stitcherByType' is not concurrency-safe because non-'Sendable' type 'InjectionCodeGenerators.Name' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: add '@MainActor' to make static property 'stitcherByType' part of global actor 'MainActor'
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |         public static let stitcherByName = Name(rawValue: "stitcherByName")
22 |
/host/spi-builder-workspace/Sources/Stitcher/CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerators.swift:21:27: warning: static property 'stitcherByName' is not concurrency-safe because non-'Sendable' type 'InjectionCodeGenerators.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public enum InjectionCodeGenerators {
11 |
12 |     public struct Name: Hashable, CaseIterable {
   |                   `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 |         public let rawValue: String
14 |
   :
19 |         static let stitcherTest = Name(rawValue: "stitcherTest")
20 |         public static let stitcherByType = Name(rawValue: "stitcherByType")
21 |         public static let stitcherByName = Name(rawValue: "stitcherByName")
   |                           |- warning: static property 'stitcherByName' is not concurrency-safe because non-'Sendable' type 'InjectionCodeGenerators.Name' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: add '@MainActor' to make static property 'stitcherByName' part of global actor 'MainActor'
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 |         public static var allCases: [InjectionCodeGenerators.Name] = [
/host/spi-builder-workspace/Sources/Stitcher/CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerators.swift:23:27: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |         public static let stitcherByName = Name(rawValue: "stitcherByName")
22 |
23 |         public static var allCases: [InjectionCodeGenerators.Name] = [
   |                           |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
   |                           |- note: add '@MainActor' to make static property 'allCases' part of global actor 'MainActor'
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |             .stitcherTest,
25 |             .stitcherByType,
/host/spi-builder-workspace/Sources/Stitcher/CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerators.swift:30:24: warning: static property 'generators' is not concurrency-safe because non-'Sendable' type '[InjectionCodeGenerators.Name : any InjectionCodeGenerator]' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public enum InjectionCodeGenerators {
11 |
12 |     public struct Name: Hashable, CaseIterable {
   |                   `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 |         public let rawValue: String
14 |
   :
28 |     }
29 |
30 |     private static let generators: [Name : any InjectionCodeGenerator] = [
   |                        |- warning: static property 'generators' is not concurrency-safe because non-'Sendable' type '[InjectionCodeGenerators.Name : any InjectionCodeGenerator]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: add '@MainActor' to make static property 'generators' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |         .stitcherTest : TestInjectionCodeGenerator(),
32 |         .stitcherByType : TypeInjectionCodeGenerator(),
/host/spi-builder-workspace/Sources/Stitcher/CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerator.swift:10:17: note: protocol 'InjectionCodeGenerator' does not conform to the 'Sendable' protocol
 8 | import Foundation
 9 |
10 | public protocol InjectionCodeGenerator {
   |                 `- note: protocol 'InjectionCodeGenerator' does not conform to the 'Sendable' protocol
11 |
12 |     func generateInjectionExpression(
/host/spi-builder-workspace/Sources/Stitcher/Configuration/StitcherConfiguration.swift:50:31: warning: static property 'indexerFactory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 48 |
 49 |     /// A factory function used to create the indexing provider.
 50 |     @Atomic public static var indexerFactory: () -> Indexing = { DefaultIndexer() }
    |                               |- warning: static property 'indexerFactory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'indexerFactory' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: add '@MainActor' to make static property 'indexerFactory' part of global actor 'MainActor'
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 51 |
 52 |     /// Controls whether indexing dependencies is enabled.
/host/spi-builder-workspace/Sources/Stitcher/Configuration/StitcherConfiguration.swift:68:31: warning: static property 'isIndexingEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 66 |     /// However, as it is highly unlikely that a dependency will be registered with more than 2 type aliases,
 67 |     /// we can average the lookup time to O(1).
 68 |     @Atomic public static var isIndexingEnabled = true
    |                               |- warning: static property 'isIndexingEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'isIndexingEnabled' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: add '@MainActor' to make static property 'isIndexingEnabled' part of global actor 'MainActor'
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 69 |
 70 |     /// An approximate count of the dependencies defined in the app.
/host/spi-builder-workspace/Sources/Stitcher/Configuration/StitcherConfiguration.swift:112:31: warning: static property 'approximateDependencyCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
110 |     /// - Warning: Avoid changing this value unecessarily as it can negatively impact runtime memory footprint and performance.
111 |     ///   Setting an arbitrarily high value may allocate a large portion of memory, while a low value can increase indexing time.
112 |     @Atomic public static var approximateDependencyCount = 30_000
    |                               |- warning: static property 'approximateDependencyCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'approximateDependencyCount' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: add '@MainActor' to make static property 'approximateDependencyCount' part of global actor 'MainActor'
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 |
114 |     /// Controls the frequency at which the dependency graph instance storage will be automatically cleaned up.
/host/spi-builder-workspace/Sources/Stitcher/Configuration/StitcherConfiguration.swift:116:31: warning: static property 'autoCleanupFrequency' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
114 |     /// Controls the frequency at which the dependency graph instance storage will be automatically cleaned up.
115 |     @available(*, unavailable, renamed: "autoCleanupEnabled", message: "")
116 |     @Atomic public static var autoCleanupFrequency = 0
    |                               |- warning: static property 'autoCleanupFrequency' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'autoCleanupFrequency' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: add '@MainActor' to make static property 'autoCleanupFrequency' part of global actor 'MainActor'
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 |
118 |     /// Controls whether automatic cleanup of the `DependencyGraph` instance storage is enabled.
/host/spi-builder-workspace/Sources/Stitcher/Configuration/StitcherConfiguration.swift:119:31: warning: static property 'autoCleanupEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
117 |
118 |     /// Controls whether automatic cleanup of the `DependencyGraph` instance storage is enabled.
119 |     @Atomic public static var autoCleanupEnabled = true
    |                               |- warning: static property 'autoCleanupEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'autoCleanupEnabled' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: add '@MainActor' to make static property 'autoCleanupEnabled' part of global actor 'MainActor'
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 |
121 |     /// Controls the availability of the runtime depedency cycle detection feature.
/host/spi-builder-workspace/Sources/Stitcher/Configuration/StitcherConfiguration.swift:124:31: warning: static property 'runtimeCycleDetectionAvailability' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
122 |     ///
123 |     /// - Note: By default, the feature is enabled on debug builds in order to increase the performance of injecting dependencies.
124 |     @Atomic public static var runtimeCycleDetectionAvailability = RuntimeCycleDetectionAvailability.debugOnly
    |                               |- warning: static property 'runtimeCycleDetectionAvailability' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'runtimeCycleDetectionAvailability' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: add '@MainActor' to make static property 'runtimeCycleDetectionAvailability' part of global actor 'MainActor'
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
125 | }
126 |
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/DependencyContainer.swift:160:21: warning: capture of 'self' with non-sendable type 'DependencyContainer?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 47 | /// ```
 48 | ///
 49 | public final class DependencyContainer: Identifiable, Equatable {
    |                    `- note: class 'DependencyContainer' does not conform to the 'Sendable' protocol
 50 |
 51 |     public struct ID: Hashable {
    :
158 |                     undecoratedDependenciesRegistrarProvider()
159 |                 } onChange: { [weak self] in
160 |                     self?.invalidateDependenciesSubject.send()
    |                     `- warning: capture of 'self' with non-sendable type 'DependencyContainer?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
161 |                 }
162 |             }
[532/540] Compiling Stitcher NameInjectionCodeGenerator.swift
/host/spi-builder-workspace/Sources/Stitcher/CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerators.swift:19:20: warning: static property 'stitcherTest' is not concurrency-safe because non-'Sendable' type 'InjectionCodeGenerators.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public enum InjectionCodeGenerators {
11 |
12 |     public struct Name: Hashable, CaseIterable {
   |                   `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 |         public let rawValue: String
14 |
   :
17 |         }
18 |
19 |         static let stitcherTest = Name(rawValue: "stitcherTest")
   |                    |- warning: static property 'stitcherTest' is not concurrency-safe because non-'Sendable' type 'InjectionCodeGenerators.Name' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: add '@MainActor' to make static property 'stitcherTest' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |         public static let stitcherByType = Name(rawValue: "stitcherByType")
21 |         public static let stitcherByName = Name(rawValue: "stitcherByName")
/host/spi-builder-workspace/Sources/Stitcher/CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerators.swift:20:27: warning: static property 'stitcherByType' is not concurrency-safe because non-'Sendable' type 'InjectionCodeGenerators.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public enum InjectionCodeGenerators {
11 |
12 |     public struct Name: Hashable, CaseIterable {
   |                   `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 |         public let rawValue: String
14 |
   :
18 |
19 |         static let stitcherTest = Name(rawValue: "stitcherTest")
20 |         public static let stitcherByType = Name(rawValue: "stitcherByType")
   |                           |- warning: static property 'stitcherByType' is not concurrency-safe because non-'Sendable' type 'InjectionCodeGenerators.Name' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: add '@MainActor' to make static property 'stitcherByType' part of global actor 'MainActor'
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |         public static let stitcherByName = Name(rawValue: "stitcherByName")
22 |
/host/spi-builder-workspace/Sources/Stitcher/CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerators.swift:21:27: warning: static property 'stitcherByName' is not concurrency-safe because non-'Sendable' type 'InjectionCodeGenerators.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public enum InjectionCodeGenerators {
11 |
12 |     public struct Name: Hashable, CaseIterable {
   |                   `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 |         public let rawValue: String
14 |
   :
19 |         static let stitcherTest = Name(rawValue: "stitcherTest")
20 |         public static let stitcherByType = Name(rawValue: "stitcherByType")
21 |         public static let stitcherByName = Name(rawValue: "stitcherByName")
   |                           |- warning: static property 'stitcherByName' is not concurrency-safe because non-'Sendable' type 'InjectionCodeGenerators.Name' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: add '@MainActor' to make static property 'stitcherByName' part of global actor 'MainActor'
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 |         public static var allCases: [InjectionCodeGenerators.Name] = [
/host/spi-builder-workspace/Sources/Stitcher/CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerators.swift:23:27: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |         public static let stitcherByName = Name(rawValue: "stitcherByName")
22 |
23 |         public static var allCases: [InjectionCodeGenerators.Name] = [
   |                           |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
   |                           |- note: add '@MainActor' to make static property 'allCases' part of global actor 'MainActor'
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |             .stitcherTest,
25 |             .stitcherByType,
/host/spi-builder-workspace/Sources/Stitcher/CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerators.swift:30:24: warning: static property 'generators' is not concurrency-safe because non-'Sendable' type '[InjectionCodeGenerators.Name : any InjectionCodeGenerator]' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public enum InjectionCodeGenerators {
11 |
12 |     public struct Name: Hashable, CaseIterable {
   |                   `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 |         public let rawValue: String
14 |
   :
28 |     }
29 |
30 |     private static let generators: [Name : any InjectionCodeGenerator] = [
   |                        |- warning: static property 'generators' is not concurrency-safe because non-'Sendable' type '[InjectionCodeGenerators.Name : any InjectionCodeGenerator]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: add '@MainActor' to make static property 'generators' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |         .stitcherTest : TestInjectionCodeGenerator(),
32 |         .stitcherByType : TypeInjectionCodeGenerator(),
/host/spi-builder-workspace/Sources/Stitcher/CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerator.swift:10:17: note: protocol 'InjectionCodeGenerator' does not conform to the 'Sendable' protocol
 8 | import Foundation
 9 |
10 | public protocol InjectionCodeGenerator {
   |                 `- note: protocol 'InjectionCodeGenerator' does not conform to the 'Sendable' protocol
11 |
12 |     func generateInjectionExpression(
/host/spi-builder-workspace/Sources/Stitcher/Configuration/StitcherConfiguration.swift:50:31: warning: static property 'indexerFactory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 48 |
 49 |     /// A factory function used to create the indexing provider.
 50 |     @Atomic public static var indexerFactory: () -> Indexing = { DefaultIndexer() }
    |                               |- warning: static property 'indexerFactory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'indexerFactory' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: add '@MainActor' to make static property 'indexerFactory' part of global actor 'MainActor'
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 51 |
 52 |     /// Controls whether indexing dependencies is enabled.
/host/spi-builder-workspace/Sources/Stitcher/Configuration/StitcherConfiguration.swift:68:31: warning: static property 'isIndexingEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 66 |     /// However, as it is highly unlikely that a dependency will be registered with more than 2 type aliases,
 67 |     /// we can average the lookup time to O(1).
 68 |     @Atomic public static var isIndexingEnabled = true
    |                               |- warning: static property 'isIndexingEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'isIndexingEnabled' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: add '@MainActor' to make static property 'isIndexingEnabled' part of global actor 'MainActor'
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 69 |
 70 |     /// An approximate count of the dependencies defined in the app.
/host/spi-builder-workspace/Sources/Stitcher/Configuration/StitcherConfiguration.swift:112:31: warning: static property 'approximateDependencyCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
110 |     /// - Warning: Avoid changing this value unecessarily as it can negatively impact runtime memory footprint and performance.
111 |     ///   Setting an arbitrarily high value may allocate a large portion of memory, while a low value can increase indexing time.
112 |     @Atomic public static var approximateDependencyCount = 30_000
    |                               |- warning: static property 'approximateDependencyCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'approximateDependencyCount' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: add '@MainActor' to make static property 'approximateDependencyCount' part of global actor 'MainActor'
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 |
114 |     /// Controls the frequency at which the dependency graph instance storage will be automatically cleaned up.
/host/spi-builder-workspace/Sources/Stitcher/Configuration/StitcherConfiguration.swift:116:31: warning: static property 'autoCleanupFrequency' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
114 |     /// Controls the frequency at which the dependency graph instance storage will be automatically cleaned up.
115 |     @available(*, unavailable, renamed: "autoCleanupEnabled", message: "")
116 |     @Atomic public static var autoCleanupFrequency = 0
    |                               |- warning: static property 'autoCleanupFrequency' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'autoCleanupFrequency' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: add '@MainActor' to make static property 'autoCleanupFrequency' part of global actor 'MainActor'
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 |
118 |     /// Controls whether automatic cleanup of the `DependencyGraph` instance storage is enabled.
/host/spi-builder-workspace/Sources/Stitcher/Configuration/StitcherConfiguration.swift:119:31: warning: static property 'autoCleanupEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
117 |
118 |     /// Controls whether automatic cleanup of the `DependencyGraph` instance storage is enabled.
119 |     @Atomic public static var autoCleanupEnabled = true
    |                               |- warning: static property 'autoCleanupEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'autoCleanupEnabled' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: add '@MainActor' to make static property 'autoCleanupEnabled' part of global actor 'MainActor'
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 |
121 |     /// Controls the availability of the runtime depedency cycle detection feature.
/host/spi-builder-workspace/Sources/Stitcher/Configuration/StitcherConfiguration.swift:124:31: warning: static property 'runtimeCycleDetectionAvailability' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
122 |     ///
123 |     /// - Note: By default, the feature is enabled on debug builds in order to increase the performance of injecting dependencies.
124 |     @Atomic public static var runtimeCycleDetectionAvailability = RuntimeCycleDetectionAvailability.debugOnly
    |                               |- warning: static property 'runtimeCycleDetectionAvailability' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'runtimeCycleDetectionAvailability' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: add '@MainActor' to make static property 'runtimeCycleDetectionAvailability' part of global actor 'MainActor'
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
125 | }
126 |
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/DependencyContainer.swift:160:21: warning: capture of 'self' with non-sendable type 'DependencyContainer?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 47 | /// ```
 48 | ///
 49 | public final class DependencyContainer: Identifiable, Equatable {
    |                    `- note: class 'DependencyContainer' does not conform to the 'Sendable' protocol
 50 |
 51 |     public struct ID: Hashable {
    :
158 |                     undecoratedDependenciesRegistrarProvider()
159 |                 } onChange: { [weak self] in
160 |                     self?.invalidateDependenciesSubject.send()
    |                     `- warning: capture of 'self' with non-sendable type 'DependencyContainer?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
161 |                 }
162 |             }
[533/540] Compiling Stitcher TestInjectionCodeGenerator.swift
/host/spi-builder-workspace/Sources/Stitcher/CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerators.swift:19:20: warning: static property 'stitcherTest' is not concurrency-safe because non-'Sendable' type 'InjectionCodeGenerators.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public enum InjectionCodeGenerators {
11 |
12 |     public struct Name: Hashable, CaseIterable {
   |                   `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 |         public let rawValue: String
14 |
   :
17 |         }
18 |
19 |         static let stitcherTest = Name(rawValue: "stitcherTest")
   |                    |- warning: static property 'stitcherTest' is not concurrency-safe because non-'Sendable' type 'InjectionCodeGenerators.Name' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: add '@MainActor' to make static property 'stitcherTest' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |         public static let stitcherByType = Name(rawValue: "stitcherByType")
21 |         public static let stitcherByName = Name(rawValue: "stitcherByName")
/host/spi-builder-workspace/Sources/Stitcher/CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerators.swift:20:27: warning: static property 'stitcherByType' is not concurrency-safe because non-'Sendable' type 'InjectionCodeGenerators.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public enum InjectionCodeGenerators {
11 |
12 |     public struct Name: Hashable, CaseIterable {
   |                   `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 |         public let rawValue: String
14 |
   :
18 |
19 |         static let stitcherTest = Name(rawValue: "stitcherTest")
20 |         public static let stitcherByType = Name(rawValue: "stitcherByType")
   |                           |- warning: static property 'stitcherByType' is not concurrency-safe because non-'Sendable' type 'InjectionCodeGenerators.Name' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: add '@MainActor' to make static property 'stitcherByType' part of global actor 'MainActor'
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |         public static let stitcherByName = Name(rawValue: "stitcherByName")
22 |
/host/spi-builder-workspace/Sources/Stitcher/CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerators.swift:21:27: warning: static property 'stitcherByName' is not concurrency-safe because non-'Sendable' type 'InjectionCodeGenerators.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public enum InjectionCodeGenerators {
11 |
12 |     public struct Name: Hashable, CaseIterable {
   |                   `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 |         public let rawValue: String
14 |
   :
19 |         static let stitcherTest = Name(rawValue: "stitcherTest")
20 |         public static let stitcherByType = Name(rawValue: "stitcherByType")
21 |         public static let stitcherByName = Name(rawValue: "stitcherByName")
   |                           |- warning: static property 'stitcherByName' is not concurrency-safe because non-'Sendable' type 'InjectionCodeGenerators.Name' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: add '@MainActor' to make static property 'stitcherByName' part of global actor 'MainActor'
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 |         public static var allCases: [InjectionCodeGenerators.Name] = [
/host/spi-builder-workspace/Sources/Stitcher/CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerators.swift:23:27: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |         public static let stitcherByName = Name(rawValue: "stitcherByName")
22 |
23 |         public static var allCases: [InjectionCodeGenerators.Name] = [
   |                           |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
   |                           |- note: add '@MainActor' to make static property 'allCases' part of global actor 'MainActor'
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |             .stitcherTest,
25 |             .stitcherByType,
/host/spi-builder-workspace/Sources/Stitcher/CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerators.swift:30:24: warning: static property 'generators' is not concurrency-safe because non-'Sendable' type '[InjectionCodeGenerators.Name : any InjectionCodeGenerator]' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public enum InjectionCodeGenerators {
11 |
12 |     public struct Name: Hashable, CaseIterable {
   |                   `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 |         public let rawValue: String
14 |
   :
28 |     }
29 |
30 |     private static let generators: [Name : any InjectionCodeGenerator] = [
   |                        |- warning: static property 'generators' is not concurrency-safe because non-'Sendable' type '[InjectionCodeGenerators.Name : any InjectionCodeGenerator]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: add '@MainActor' to make static property 'generators' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |         .stitcherTest : TestInjectionCodeGenerator(),
32 |         .stitcherByType : TypeInjectionCodeGenerator(),
/host/spi-builder-workspace/Sources/Stitcher/CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerator.swift:10:17: note: protocol 'InjectionCodeGenerator' does not conform to the 'Sendable' protocol
 8 | import Foundation
 9 |
10 | public protocol InjectionCodeGenerator {
   |                 `- note: protocol 'InjectionCodeGenerator' does not conform to the 'Sendable' protocol
11 |
12 |     func generateInjectionExpression(
/host/spi-builder-workspace/Sources/Stitcher/Configuration/StitcherConfiguration.swift:50:31: warning: static property 'indexerFactory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 48 |
 49 |     /// A factory function used to create the indexing provider.
 50 |     @Atomic public static var indexerFactory: () -> Indexing = { DefaultIndexer() }
    |                               |- warning: static property 'indexerFactory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'indexerFactory' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: add '@MainActor' to make static property 'indexerFactory' part of global actor 'MainActor'
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 51 |
 52 |     /// Controls whether indexing dependencies is enabled.
/host/spi-builder-workspace/Sources/Stitcher/Configuration/StitcherConfiguration.swift:68:31: warning: static property 'isIndexingEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 66 |     /// However, as it is highly unlikely that a dependency will be registered with more than 2 type aliases,
 67 |     /// we can average the lookup time to O(1).
 68 |     @Atomic public static var isIndexingEnabled = true
    |                               |- warning: static property 'isIndexingEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'isIndexingEnabled' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: add '@MainActor' to make static property 'isIndexingEnabled' part of global actor 'MainActor'
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 69 |
 70 |     /// An approximate count of the dependencies defined in the app.
/host/spi-builder-workspace/Sources/Stitcher/Configuration/StitcherConfiguration.swift:112:31: warning: static property 'approximateDependencyCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
110 |     /// - Warning: Avoid changing this value unecessarily as it can negatively impact runtime memory footprint and performance.
111 |     ///   Setting an arbitrarily high value may allocate a large portion of memory, while a low value can increase indexing time.
112 |     @Atomic public static var approximateDependencyCount = 30_000
    |                               |- warning: static property 'approximateDependencyCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'approximateDependencyCount' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: add '@MainActor' to make static property 'approximateDependencyCount' part of global actor 'MainActor'
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 |
114 |     /// Controls the frequency at which the dependency graph instance storage will be automatically cleaned up.
/host/spi-builder-workspace/Sources/Stitcher/Configuration/StitcherConfiguration.swift:116:31: warning: static property 'autoCleanupFrequency' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
114 |     /// Controls the frequency at which the dependency graph instance storage will be automatically cleaned up.
115 |     @available(*, unavailable, renamed: "autoCleanupEnabled", message: "")
116 |     @Atomic public static var autoCleanupFrequency = 0
    |                               |- warning: static property 'autoCleanupFrequency' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'autoCleanupFrequency' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: add '@MainActor' to make static property 'autoCleanupFrequency' part of global actor 'MainActor'
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 |
118 |     /// Controls whether automatic cleanup of the `DependencyGraph` instance storage is enabled.
/host/spi-builder-workspace/Sources/Stitcher/Configuration/StitcherConfiguration.swift:119:31: warning: static property 'autoCleanupEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
117 |
118 |     /// Controls whether automatic cleanup of the `DependencyGraph` instance storage is enabled.
119 |     @Atomic public static var autoCleanupEnabled = true
    |                               |- warning: static property 'autoCleanupEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'autoCleanupEnabled' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: add '@MainActor' to make static property 'autoCleanupEnabled' part of global actor 'MainActor'
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 |
121 |     /// Controls the availability of the runtime depedency cycle detection feature.
/host/spi-builder-workspace/Sources/Stitcher/Configuration/StitcherConfiguration.swift:124:31: warning: static property 'runtimeCycleDetectionAvailability' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
122 |     ///
123 |     /// - Note: By default, the feature is enabled on debug builds in order to increase the performance of injecting dependencies.
124 |     @Atomic public static var runtimeCycleDetectionAvailability = RuntimeCycleDetectionAvailability.debugOnly
    |                               |- warning: static property 'runtimeCycleDetectionAvailability' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'runtimeCycleDetectionAvailability' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: add '@MainActor' to make static property 'runtimeCycleDetectionAvailability' part of global actor 'MainActor'
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
125 | }
126 |
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/DependencyContainer.swift:160:21: warning: capture of 'self' with non-sendable type 'DependencyContainer?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 47 | /// ```
 48 | ///
 49 | public final class DependencyContainer: Identifiable, Equatable {
    |                    `- note: class 'DependencyContainer' does not conform to the 'Sendable' protocol
 50 |
 51 |     public struct ID: Hashable {
    :
158 |                     undecoratedDependenciesRegistrarProvider()
159 |                 } onChange: { [weak self] in
160 |                     self?.invalidateDependenciesSubject.send()
    |                     `- warning: capture of 'self' with non-sendable type 'DependencyContainer?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
161 |                 }
162 |             }
[534/540] Compiling Stitcher TypeInjectionCodeGenerator.swift
/host/spi-builder-workspace/Sources/Stitcher/CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerators.swift:19:20: warning: static property 'stitcherTest' is not concurrency-safe because non-'Sendable' type 'InjectionCodeGenerators.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public enum InjectionCodeGenerators {
11 |
12 |     public struct Name: Hashable, CaseIterable {
   |                   `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 |         public let rawValue: String
14 |
   :
17 |         }
18 |
19 |         static let stitcherTest = Name(rawValue: "stitcherTest")
   |                    |- warning: static property 'stitcherTest' is not concurrency-safe because non-'Sendable' type 'InjectionCodeGenerators.Name' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: add '@MainActor' to make static property 'stitcherTest' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |         public static let stitcherByType = Name(rawValue: "stitcherByType")
21 |         public static let stitcherByName = Name(rawValue: "stitcherByName")
/host/spi-builder-workspace/Sources/Stitcher/CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerators.swift:20:27: warning: static property 'stitcherByType' is not concurrency-safe because non-'Sendable' type 'InjectionCodeGenerators.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public enum InjectionCodeGenerators {
11 |
12 |     public struct Name: Hashable, CaseIterable {
   |                   `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 |         public let rawValue: String
14 |
   :
18 |
19 |         static let stitcherTest = Name(rawValue: "stitcherTest")
20 |         public static let stitcherByType = Name(rawValue: "stitcherByType")
   |                           |- warning: static property 'stitcherByType' is not concurrency-safe because non-'Sendable' type 'InjectionCodeGenerators.Name' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: add '@MainActor' to make static property 'stitcherByType' part of global actor 'MainActor'
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |         public static let stitcherByName = Name(rawValue: "stitcherByName")
22 |
/host/spi-builder-workspace/Sources/Stitcher/CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerators.swift:21:27: warning: static property 'stitcherByName' is not concurrency-safe because non-'Sendable' type 'InjectionCodeGenerators.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public enum InjectionCodeGenerators {
11 |
12 |     public struct Name: Hashable, CaseIterable {
   |                   `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 |         public let rawValue: String
14 |
   :
19 |         static let stitcherTest = Name(rawValue: "stitcherTest")
20 |         public static let stitcherByType = Name(rawValue: "stitcherByType")
21 |         public static let stitcherByName = Name(rawValue: "stitcherByName")
   |                           |- warning: static property 'stitcherByName' is not concurrency-safe because non-'Sendable' type 'InjectionCodeGenerators.Name' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: add '@MainActor' to make static property 'stitcherByName' part of global actor 'MainActor'
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 |         public static var allCases: [InjectionCodeGenerators.Name] = [
/host/spi-builder-workspace/Sources/Stitcher/CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerators.swift:23:27: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |         public static let stitcherByName = Name(rawValue: "stitcherByName")
22 |
23 |         public static var allCases: [InjectionCodeGenerators.Name] = [
   |                           |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
   |                           |- note: add '@MainActor' to make static property 'allCases' part of global actor 'MainActor'
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |             .stitcherTest,
25 |             .stitcherByType,
/host/spi-builder-workspace/Sources/Stitcher/CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerators.swift:30:24: warning: static property 'generators' is not concurrency-safe because non-'Sendable' type '[InjectionCodeGenerators.Name : any InjectionCodeGenerator]' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public enum InjectionCodeGenerators {
11 |
12 |     public struct Name: Hashable, CaseIterable {
   |                   `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 |         public let rawValue: String
14 |
   :
28 |     }
29 |
30 |     private static let generators: [Name : any InjectionCodeGenerator] = [
   |                        |- warning: static property 'generators' is not concurrency-safe because non-'Sendable' type '[InjectionCodeGenerators.Name : any InjectionCodeGenerator]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: add '@MainActor' to make static property 'generators' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |         .stitcherTest : TestInjectionCodeGenerator(),
32 |         .stitcherByType : TypeInjectionCodeGenerator(),
/host/spi-builder-workspace/Sources/Stitcher/CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerator.swift:10:17: note: protocol 'InjectionCodeGenerator' does not conform to the 'Sendable' protocol
 8 | import Foundation
 9 |
10 | public protocol InjectionCodeGenerator {
   |                 `- note: protocol 'InjectionCodeGenerator' does not conform to the 'Sendable' protocol
11 |
12 |     func generateInjectionExpression(
/host/spi-builder-workspace/Sources/Stitcher/Configuration/StitcherConfiguration.swift:50:31: warning: static property 'indexerFactory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 48 |
 49 |     /// A factory function used to create the indexing provider.
 50 |     @Atomic public static var indexerFactory: () -> Indexing = { DefaultIndexer() }
    |                               |- warning: static property 'indexerFactory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'indexerFactory' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: add '@MainActor' to make static property 'indexerFactory' part of global actor 'MainActor'
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 51 |
 52 |     /// Controls whether indexing dependencies is enabled.
/host/spi-builder-workspace/Sources/Stitcher/Configuration/StitcherConfiguration.swift:68:31: warning: static property 'isIndexingEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 66 |     /// However, as it is highly unlikely that a dependency will be registered with more than 2 type aliases,
 67 |     /// we can average the lookup time to O(1).
 68 |     @Atomic public static var isIndexingEnabled = true
    |                               |- warning: static property 'isIndexingEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'isIndexingEnabled' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: add '@MainActor' to make static property 'isIndexingEnabled' part of global actor 'MainActor'
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 69 |
 70 |     /// An approximate count of the dependencies defined in the app.
/host/spi-builder-workspace/Sources/Stitcher/Configuration/StitcherConfiguration.swift:112:31: warning: static property 'approximateDependencyCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
110 |     /// - Warning: Avoid changing this value unecessarily as it can negatively impact runtime memory footprint and performance.
111 |     ///   Setting an arbitrarily high value may allocate a large portion of memory, while a low value can increase indexing time.
112 |     @Atomic public static var approximateDependencyCount = 30_000
    |                               |- warning: static property 'approximateDependencyCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'approximateDependencyCount' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: add '@MainActor' to make static property 'approximateDependencyCount' part of global actor 'MainActor'
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 |
114 |     /// Controls the frequency at which the dependency graph instance storage will be automatically cleaned up.
/host/spi-builder-workspace/Sources/Stitcher/Configuration/StitcherConfiguration.swift:116:31: warning: static property 'autoCleanupFrequency' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
114 |     /// Controls the frequency at which the dependency graph instance storage will be automatically cleaned up.
115 |     @available(*, unavailable, renamed: "autoCleanupEnabled", message: "")
116 |     @Atomic public static var autoCleanupFrequency = 0
    |                               |- warning: static property 'autoCleanupFrequency' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'autoCleanupFrequency' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: add '@MainActor' to make static property 'autoCleanupFrequency' part of global actor 'MainActor'
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 |
118 |     /// Controls whether automatic cleanup of the `DependencyGraph` instance storage is enabled.
/host/spi-builder-workspace/Sources/Stitcher/Configuration/StitcherConfiguration.swift:119:31: warning: static property 'autoCleanupEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
117 |
118 |     /// Controls whether automatic cleanup of the `DependencyGraph` instance storage is enabled.
119 |     @Atomic public static var autoCleanupEnabled = true
    |                               |- warning: static property 'autoCleanupEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'autoCleanupEnabled' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: add '@MainActor' to make static property 'autoCleanupEnabled' part of global actor 'MainActor'
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 |
121 |     /// Controls the availability of the runtime depedency cycle detection feature.
/host/spi-builder-workspace/Sources/Stitcher/Configuration/StitcherConfiguration.swift:124:31: warning: static property 'runtimeCycleDetectionAvailability' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
122 |     ///
123 |     /// - Note: By default, the feature is enabled on debug builds in order to increase the performance of injecting dependencies.
124 |     @Atomic public static var runtimeCycleDetectionAvailability = RuntimeCycleDetectionAvailability.debugOnly
    |                               |- warning: static property 'runtimeCycleDetectionAvailability' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'runtimeCycleDetectionAvailability' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: add '@MainActor' to make static property 'runtimeCycleDetectionAvailability' part of global actor 'MainActor'
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
125 | }
126 |
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/DependencyContainer.swift:160:21: warning: capture of 'self' with non-sendable type 'DependencyContainer?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 47 | /// ```
 48 | ///
 49 | public final class DependencyContainer: Identifiable, Equatable {
    |                    `- note: class 'DependencyContainer' does not conform to the 'Sendable' protocol
 50 |
 51 |     public struct ID: Hashable {
    :
158 |                     undecoratedDependenciesRegistrarProvider()
159 |                 } onChange: { [weak self] in
160 |                     self?.invalidateDependenciesSubject.send()
    |                     `- warning: capture of 'self' with non-sendable type 'DependencyContainer?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
161 |                 }
162 |             }
[535/540] Compiling Stitcher InjectionCodeGenerator.swift
/host/spi-builder-workspace/Sources/Stitcher/CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerators.swift:19:20: warning: static property 'stitcherTest' is not concurrency-safe because non-'Sendable' type 'InjectionCodeGenerators.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public enum InjectionCodeGenerators {
11 |
12 |     public struct Name: Hashable, CaseIterable {
   |                   `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 |         public let rawValue: String
14 |
   :
17 |         }
18 |
19 |         static let stitcherTest = Name(rawValue: "stitcherTest")
   |                    |- warning: static property 'stitcherTest' is not concurrency-safe because non-'Sendable' type 'InjectionCodeGenerators.Name' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: add '@MainActor' to make static property 'stitcherTest' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |         public static let stitcherByType = Name(rawValue: "stitcherByType")
21 |         public static let stitcherByName = Name(rawValue: "stitcherByName")
/host/spi-builder-workspace/Sources/Stitcher/CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerators.swift:20:27: warning: static property 'stitcherByType' is not concurrency-safe because non-'Sendable' type 'InjectionCodeGenerators.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public enum InjectionCodeGenerators {
11 |
12 |     public struct Name: Hashable, CaseIterable {
   |                   `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 |         public let rawValue: String
14 |
   :
18 |
19 |         static let stitcherTest = Name(rawValue: "stitcherTest")
20 |         public static let stitcherByType = Name(rawValue: "stitcherByType")
   |                           |- warning: static property 'stitcherByType' is not concurrency-safe because non-'Sendable' type 'InjectionCodeGenerators.Name' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: add '@MainActor' to make static property 'stitcherByType' part of global actor 'MainActor'
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |         public static let stitcherByName = Name(rawValue: "stitcherByName")
22 |
/host/spi-builder-workspace/Sources/Stitcher/CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerators.swift:21:27: warning: static property 'stitcherByName' is not concurrency-safe because non-'Sendable' type 'InjectionCodeGenerators.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public enum InjectionCodeGenerators {
11 |
12 |     public struct Name: Hashable, CaseIterable {
   |                   `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 |         public let rawValue: String
14 |
   :
19 |         static let stitcherTest = Name(rawValue: "stitcherTest")
20 |         public static let stitcherByType = Name(rawValue: "stitcherByType")
21 |         public static let stitcherByName = Name(rawValue: "stitcherByName")
   |                           |- warning: static property 'stitcherByName' is not concurrency-safe because non-'Sendable' type 'InjectionCodeGenerators.Name' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: add '@MainActor' to make static property 'stitcherByName' part of global actor 'MainActor'
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 |         public static var allCases: [InjectionCodeGenerators.Name] = [
/host/spi-builder-workspace/Sources/Stitcher/CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerators.swift:23:27: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |         public static let stitcherByName = Name(rawValue: "stitcherByName")
22 |
23 |         public static var allCases: [InjectionCodeGenerators.Name] = [
   |                           |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
   |                           |- note: add '@MainActor' to make static property 'allCases' part of global actor 'MainActor'
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |             .stitcherTest,
25 |             .stitcherByType,
/host/spi-builder-workspace/Sources/Stitcher/CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerators.swift:30:24: warning: static property 'generators' is not concurrency-safe because non-'Sendable' type '[InjectionCodeGenerators.Name : any InjectionCodeGenerator]' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public enum InjectionCodeGenerators {
11 |
12 |     public struct Name: Hashable, CaseIterable {
   |                   `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 |         public let rawValue: String
14 |
   :
28 |     }
29 |
30 |     private static let generators: [Name : any InjectionCodeGenerator] = [
   |                        |- warning: static property 'generators' is not concurrency-safe because non-'Sendable' type '[InjectionCodeGenerators.Name : any InjectionCodeGenerator]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: add '@MainActor' to make static property 'generators' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |         .stitcherTest : TestInjectionCodeGenerator(),
32 |         .stitcherByType : TypeInjectionCodeGenerator(),
/host/spi-builder-workspace/Sources/Stitcher/CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerator.swift:10:17: note: protocol 'InjectionCodeGenerator' does not conform to the 'Sendable' protocol
 8 | import Foundation
 9 |
10 | public protocol InjectionCodeGenerator {
   |                 `- note: protocol 'InjectionCodeGenerator' does not conform to the 'Sendable' protocol
11 |
12 |     func generateInjectionExpression(
/host/spi-builder-workspace/Sources/Stitcher/Configuration/StitcherConfiguration.swift:50:31: warning: static property 'indexerFactory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 48 |
 49 |     /// A factory function used to create the indexing provider.
 50 |     @Atomic public static var indexerFactory: () -> Indexing = { DefaultIndexer() }
    |                               |- warning: static property 'indexerFactory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'indexerFactory' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: add '@MainActor' to make static property 'indexerFactory' part of global actor 'MainActor'
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 51 |
 52 |     /// Controls whether indexing dependencies is enabled.
/host/spi-builder-workspace/Sources/Stitcher/Configuration/StitcherConfiguration.swift:68:31: warning: static property 'isIndexingEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 66 |     /// However, as it is highly unlikely that a dependency will be registered with more than 2 type aliases,
 67 |     /// we can average the lookup time to O(1).
 68 |     @Atomic public static var isIndexingEnabled = true
    |                               |- warning: static property 'isIndexingEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'isIndexingEnabled' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: add '@MainActor' to make static property 'isIndexingEnabled' part of global actor 'MainActor'
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 69 |
 70 |     /// An approximate count of the dependencies defined in the app.
/host/spi-builder-workspace/Sources/Stitcher/Configuration/StitcherConfiguration.swift:112:31: warning: static property 'approximateDependencyCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
110 |     /// - Warning: Avoid changing this value unecessarily as it can negatively impact runtime memory footprint and performance.
111 |     ///   Setting an arbitrarily high value may allocate a large portion of memory, while a low value can increase indexing time.
112 |     @Atomic public static var approximateDependencyCount = 30_000
    |                               |- warning: static property 'approximateDependencyCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'approximateDependencyCount' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: add '@MainActor' to make static property 'approximateDependencyCount' part of global actor 'MainActor'
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 |
114 |     /// Controls the frequency at which the dependency graph instance storage will be automatically cleaned up.
/host/spi-builder-workspace/Sources/Stitcher/Configuration/StitcherConfiguration.swift:116:31: warning: static property 'autoCleanupFrequency' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
114 |     /// Controls the frequency at which the dependency graph instance storage will be automatically cleaned up.
115 |     @available(*, unavailable, renamed: "autoCleanupEnabled", message: "")
116 |     @Atomic public static var autoCleanupFrequency = 0
    |                               |- warning: static property 'autoCleanupFrequency' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'autoCleanupFrequency' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: add '@MainActor' to make static property 'autoCleanupFrequency' part of global actor 'MainActor'
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 |
118 |     /// Controls whether automatic cleanup of the `DependencyGraph` instance storage is enabled.
/host/spi-builder-workspace/Sources/Stitcher/Configuration/StitcherConfiguration.swift:119:31: warning: static property 'autoCleanupEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
117 |
118 |     /// Controls whether automatic cleanup of the `DependencyGraph` instance storage is enabled.
119 |     @Atomic public static var autoCleanupEnabled = true
    |                               |- warning: static property 'autoCleanupEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'autoCleanupEnabled' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: add '@MainActor' to make static property 'autoCleanupEnabled' part of global actor 'MainActor'
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 |
121 |     /// Controls the availability of the runtime depedency cycle detection feature.
/host/spi-builder-workspace/Sources/Stitcher/Configuration/StitcherConfiguration.swift:124:31: warning: static property 'runtimeCycleDetectionAvailability' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
122 |     ///
123 |     /// - Note: By default, the feature is enabled on debug builds in order to increase the performance of injecting dependencies.
124 |     @Atomic public static var runtimeCycleDetectionAvailability = RuntimeCycleDetectionAvailability.debugOnly
    |                               |- warning: static property 'runtimeCycleDetectionAvailability' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'runtimeCycleDetectionAvailability' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: add '@MainActor' to make static property 'runtimeCycleDetectionAvailability' part of global actor 'MainActor'
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
125 | }
126 |
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/DependencyContainer.swift:160:21: warning: capture of 'self' with non-sendable type 'DependencyContainer?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 47 | /// ```
 48 | ///
 49 | public final class DependencyContainer: Identifiable, Equatable {
    |                    `- note: class 'DependencyContainer' does not conform to the 'Sendable' protocol
 50 |
 51 |     public struct ID: Hashable {
    :
158 |                     undecoratedDependenciesRegistrarProvider()
159 |                 } onChange: { [weak self] in
160 |                     self?.invalidateDependenciesSubject.send()
    |                     `- warning: capture of 'self' with non-sendable type 'DependencyContainer?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
161 |                 }
162 |             }
[536/540] Compiling Stitcher InjectionCodeGenerators.swift
/host/spi-builder-workspace/Sources/Stitcher/CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerators.swift:19:20: warning: static property 'stitcherTest' is not concurrency-safe because non-'Sendable' type 'InjectionCodeGenerators.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public enum InjectionCodeGenerators {
11 |
12 |     public struct Name: Hashable, CaseIterable {
   |                   `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 |         public let rawValue: String
14 |
   :
17 |         }
18 |
19 |         static let stitcherTest = Name(rawValue: "stitcherTest")
   |                    |- warning: static property 'stitcherTest' is not concurrency-safe because non-'Sendable' type 'InjectionCodeGenerators.Name' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: add '@MainActor' to make static property 'stitcherTest' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |         public static let stitcherByType = Name(rawValue: "stitcherByType")
21 |         public static let stitcherByName = Name(rawValue: "stitcherByName")
/host/spi-builder-workspace/Sources/Stitcher/CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerators.swift:20:27: warning: static property 'stitcherByType' is not concurrency-safe because non-'Sendable' type 'InjectionCodeGenerators.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public enum InjectionCodeGenerators {
11 |
12 |     public struct Name: Hashable, CaseIterable {
   |                   `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 |         public let rawValue: String
14 |
   :
18 |
19 |         static let stitcherTest = Name(rawValue: "stitcherTest")
20 |         public static let stitcherByType = Name(rawValue: "stitcherByType")
   |                           |- warning: static property 'stitcherByType' is not concurrency-safe because non-'Sendable' type 'InjectionCodeGenerators.Name' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: add '@MainActor' to make static property 'stitcherByType' part of global actor 'MainActor'
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |         public static let stitcherByName = Name(rawValue: "stitcherByName")
22 |
/host/spi-builder-workspace/Sources/Stitcher/CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerators.swift:21:27: warning: static property 'stitcherByName' is not concurrency-safe because non-'Sendable' type 'InjectionCodeGenerators.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public enum InjectionCodeGenerators {
11 |
12 |     public struct Name: Hashable, CaseIterable {
   |                   `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 |         public let rawValue: String
14 |
   :
19 |         static let stitcherTest = Name(rawValue: "stitcherTest")
20 |         public static let stitcherByType = Name(rawValue: "stitcherByType")
21 |         public static let stitcherByName = Name(rawValue: "stitcherByName")
   |                           |- warning: static property 'stitcherByName' is not concurrency-safe because non-'Sendable' type 'InjectionCodeGenerators.Name' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: add '@MainActor' to make static property 'stitcherByName' part of global actor 'MainActor'
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 |         public static var allCases: [InjectionCodeGenerators.Name] = [
/host/spi-builder-workspace/Sources/Stitcher/CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerators.swift:23:27: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |         public static let stitcherByName = Name(rawValue: "stitcherByName")
22 |
23 |         public static var allCases: [InjectionCodeGenerators.Name] = [
   |                           |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
   |                           |- note: add '@MainActor' to make static property 'allCases' part of global actor 'MainActor'
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |             .stitcherTest,
25 |             .stitcherByType,
/host/spi-builder-workspace/Sources/Stitcher/CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerators.swift:30:24: warning: static property 'generators' is not concurrency-safe because non-'Sendable' type '[InjectionCodeGenerators.Name : any InjectionCodeGenerator]' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public enum InjectionCodeGenerators {
11 |
12 |     public struct Name: Hashable, CaseIterable {
   |                   `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 |         public let rawValue: String
14 |
   :
28 |     }
29 |
30 |     private static let generators: [Name : any InjectionCodeGenerator] = [
   |                        |- warning: static property 'generators' is not concurrency-safe because non-'Sendable' type '[InjectionCodeGenerators.Name : any InjectionCodeGenerator]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: add '@MainActor' to make static property 'generators' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |         .stitcherTest : TestInjectionCodeGenerator(),
32 |         .stitcherByType : TypeInjectionCodeGenerator(),
/host/spi-builder-workspace/Sources/Stitcher/CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerator.swift:10:17: note: protocol 'InjectionCodeGenerator' does not conform to the 'Sendable' protocol
 8 | import Foundation
 9 |
10 | public protocol InjectionCodeGenerator {
   |                 `- note: protocol 'InjectionCodeGenerator' does not conform to the 'Sendable' protocol
11 |
12 |     func generateInjectionExpression(
/host/spi-builder-workspace/Sources/Stitcher/Configuration/StitcherConfiguration.swift:50:31: warning: static property 'indexerFactory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 48 |
 49 |     /// A factory function used to create the indexing provider.
 50 |     @Atomic public static var indexerFactory: () -> Indexing = { DefaultIndexer() }
    |                               |- warning: static property 'indexerFactory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'indexerFactory' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: add '@MainActor' to make static property 'indexerFactory' part of global actor 'MainActor'
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 51 |
 52 |     /// Controls whether indexing dependencies is enabled.
/host/spi-builder-workspace/Sources/Stitcher/Configuration/StitcherConfiguration.swift:68:31: warning: static property 'isIndexingEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 66 |     /// However, as it is highly unlikely that a dependency will be registered with more than 2 type aliases,
 67 |     /// we can average the lookup time to O(1).
 68 |     @Atomic public static var isIndexingEnabled = true
    |                               |- warning: static property 'isIndexingEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'isIndexingEnabled' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: add '@MainActor' to make static property 'isIndexingEnabled' part of global actor 'MainActor'
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 69 |
 70 |     /// An approximate count of the dependencies defined in the app.
/host/spi-builder-workspace/Sources/Stitcher/Configuration/StitcherConfiguration.swift:112:31: warning: static property 'approximateDependencyCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
110 |     /// - Warning: Avoid changing this value unecessarily as it can negatively impact runtime memory footprint and performance.
111 |     ///   Setting an arbitrarily high value may allocate a large portion of memory, while a low value can increase indexing time.
112 |     @Atomic public static var approximateDependencyCount = 30_000
    |                               |- warning: static property 'approximateDependencyCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'approximateDependencyCount' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: add '@MainActor' to make static property 'approximateDependencyCount' part of global actor 'MainActor'
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 |
114 |     /// Controls the frequency at which the dependency graph instance storage will be automatically cleaned up.
/host/spi-builder-workspace/Sources/Stitcher/Configuration/StitcherConfiguration.swift:116:31: warning: static property 'autoCleanupFrequency' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
114 |     /// Controls the frequency at which the dependency graph instance storage will be automatically cleaned up.
115 |     @available(*, unavailable, renamed: "autoCleanupEnabled", message: "")
116 |     @Atomic public static var autoCleanupFrequency = 0
    |                               |- warning: static property 'autoCleanupFrequency' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'autoCleanupFrequency' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: add '@MainActor' to make static property 'autoCleanupFrequency' part of global actor 'MainActor'
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 |
118 |     /// Controls whether automatic cleanup of the `DependencyGraph` instance storage is enabled.
/host/spi-builder-workspace/Sources/Stitcher/Configuration/StitcherConfiguration.swift:119:31: warning: static property 'autoCleanupEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
117 |
118 |     /// Controls whether automatic cleanup of the `DependencyGraph` instance storage is enabled.
119 |     @Atomic public static var autoCleanupEnabled = true
    |                               |- warning: static property 'autoCleanupEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'autoCleanupEnabled' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: add '@MainActor' to make static property 'autoCleanupEnabled' part of global actor 'MainActor'
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 |
121 |     /// Controls the availability of the runtime depedency cycle detection feature.
/host/spi-builder-workspace/Sources/Stitcher/Configuration/StitcherConfiguration.swift:124:31: warning: static property 'runtimeCycleDetectionAvailability' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
122 |     ///
123 |     /// - Note: By default, the feature is enabled on debug builds in order to increase the performance of injecting dependencies.
124 |     @Atomic public static var runtimeCycleDetectionAvailability = RuntimeCycleDetectionAvailability.debugOnly
    |                               |- warning: static property 'runtimeCycleDetectionAvailability' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'runtimeCycleDetectionAvailability' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: add '@MainActor' to make static property 'runtimeCycleDetectionAvailability' part of global actor 'MainActor'
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
125 | }
126 |
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/DependencyContainer.swift:160:21: warning: capture of 'self' with non-sendable type 'DependencyContainer?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 47 | /// ```
 48 | ///
 49 | public final class DependencyContainer: Identifiable, Equatable {
    |                    `- note: class 'DependencyContainer' does not conform to the 'Sendable' protocol
 50 |
 51 |     public struct ID: Hashable {
    :
158 |                     undecoratedDependenciesRegistrarProvider()
159 |                 } onChange: { [weak self] in
160 |                     self?.invalidateDependenciesSubject.send()
    |                     `- warning: capture of 'self' with non-sendable type 'DependencyContainer?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
161 |                 }
162 |             }
[537/540] Compiling Stitcher StitcherConfiguration.swift
/host/spi-builder-workspace/Sources/Stitcher/CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerators.swift:19:20: warning: static property 'stitcherTest' is not concurrency-safe because non-'Sendable' type 'InjectionCodeGenerators.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public enum InjectionCodeGenerators {
11 |
12 |     public struct Name: Hashable, CaseIterable {
   |                   `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 |         public let rawValue: String
14 |
   :
17 |         }
18 |
19 |         static let stitcherTest = Name(rawValue: "stitcherTest")
   |                    |- warning: static property 'stitcherTest' is not concurrency-safe because non-'Sendable' type 'InjectionCodeGenerators.Name' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: add '@MainActor' to make static property 'stitcherTest' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |         public static let stitcherByType = Name(rawValue: "stitcherByType")
21 |         public static let stitcherByName = Name(rawValue: "stitcherByName")
/host/spi-builder-workspace/Sources/Stitcher/CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerators.swift:20:27: warning: static property 'stitcherByType' is not concurrency-safe because non-'Sendable' type 'InjectionCodeGenerators.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public enum InjectionCodeGenerators {
11 |
12 |     public struct Name: Hashable, CaseIterable {
   |                   `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 |         public let rawValue: String
14 |
   :
18 |
19 |         static let stitcherTest = Name(rawValue: "stitcherTest")
20 |         public static let stitcherByType = Name(rawValue: "stitcherByType")
   |                           |- warning: static property 'stitcherByType' is not concurrency-safe because non-'Sendable' type 'InjectionCodeGenerators.Name' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: add '@MainActor' to make static property 'stitcherByType' part of global actor 'MainActor'
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |         public static let stitcherByName = Name(rawValue: "stitcherByName")
22 |
/host/spi-builder-workspace/Sources/Stitcher/CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerators.swift:21:27: warning: static property 'stitcherByName' is not concurrency-safe because non-'Sendable' type 'InjectionCodeGenerators.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public enum InjectionCodeGenerators {
11 |
12 |     public struct Name: Hashable, CaseIterable {
   |                   `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 |         public let rawValue: String
14 |
   :
19 |         static let stitcherTest = Name(rawValue: "stitcherTest")
20 |         public static let stitcherByType = Name(rawValue: "stitcherByType")
21 |         public static let stitcherByName = Name(rawValue: "stitcherByName")
   |                           |- warning: static property 'stitcherByName' is not concurrency-safe because non-'Sendable' type 'InjectionCodeGenerators.Name' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: add '@MainActor' to make static property 'stitcherByName' part of global actor 'MainActor'
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 |         public static var allCases: [InjectionCodeGenerators.Name] = [
/host/spi-builder-workspace/Sources/Stitcher/CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerators.swift:23:27: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |         public static let stitcherByName = Name(rawValue: "stitcherByName")
22 |
23 |         public static var allCases: [InjectionCodeGenerators.Name] = [
   |                           |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
   |                           |- note: add '@MainActor' to make static property 'allCases' part of global actor 'MainActor'
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |             .stitcherTest,
25 |             .stitcherByType,
/host/spi-builder-workspace/Sources/Stitcher/CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerators.swift:30:24: warning: static property 'generators' is not concurrency-safe because non-'Sendable' type '[InjectionCodeGenerators.Name : any InjectionCodeGenerator]' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public enum InjectionCodeGenerators {
11 |
12 |     public struct Name: Hashable, CaseIterable {
   |                   `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 |         public let rawValue: String
14 |
   :
28 |     }
29 |
30 |     private static let generators: [Name : any InjectionCodeGenerator] = [
   |                        |- warning: static property 'generators' is not concurrency-safe because non-'Sendable' type '[InjectionCodeGenerators.Name : any InjectionCodeGenerator]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: add '@MainActor' to make static property 'generators' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |         .stitcherTest : TestInjectionCodeGenerator(),
32 |         .stitcherByType : TypeInjectionCodeGenerator(),
/host/spi-builder-workspace/Sources/Stitcher/CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerator.swift:10:17: note: protocol 'InjectionCodeGenerator' does not conform to the 'Sendable' protocol
 8 | import Foundation
 9 |
10 | public protocol InjectionCodeGenerator {
   |                 `- note: protocol 'InjectionCodeGenerator' does not conform to the 'Sendable' protocol
11 |
12 |     func generateInjectionExpression(
/host/spi-builder-workspace/Sources/Stitcher/Configuration/StitcherConfiguration.swift:50:31: warning: static property 'indexerFactory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 48 |
 49 |     /// A factory function used to create the indexing provider.
 50 |     @Atomic public static var indexerFactory: () -> Indexing = { DefaultIndexer() }
    |                               |- warning: static property 'indexerFactory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'indexerFactory' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: add '@MainActor' to make static property 'indexerFactory' part of global actor 'MainActor'
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 51 |
 52 |     /// Controls whether indexing dependencies is enabled.
/host/spi-builder-workspace/Sources/Stitcher/Configuration/StitcherConfiguration.swift:68:31: warning: static property 'isIndexingEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 66 |     /// However, as it is highly unlikely that a dependency will be registered with more than 2 type aliases,
 67 |     /// we can average the lookup time to O(1).
 68 |     @Atomic public static var isIndexingEnabled = true
    |                               |- warning: static property 'isIndexingEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'isIndexingEnabled' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: add '@MainActor' to make static property 'isIndexingEnabled' part of global actor 'MainActor'
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 69 |
 70 |     /// An approximate count of the dependencies defined in the app.
/host/spi-builder-workspace/Sources/Stitcher/Configuration/StitcherConfiguration.swift:112:31: warning: static property 'approximateDependencyCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
110 |     /// - Warning: Avoid changing this value unecessarily as it can negatively impact runtime memory footprint and performance.
111 |     ///   Setting an arbitrarily high value may allocate a large portion of memory, while a low value can increase indexing time.
112 |     @Atomic public static var approximateDependencyCount = 30_000
    |                               |- warning: static property 'approximateDependencyCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'approximateDependencyCount' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: add '@MainActor' to make static property 'approximateDependencyCount' part of global actor 'MainActor'
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 |
114 |     /// Controls the frequency at which the dependency graph instance storage will be automatically cleaned up.
/host/spi-builder-workspace/Sources/Stitcher/Configuration/StitcherConfiguration.swift:116:31: warning: static property 'autoCleanupFrequency' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
114 |     /// Controls the frequency at which the dependency graph instance storage will be automatically cleaned up.
115 |     @available(*, unavailable, renamed: "autoCleanupEnabled", message: "")
116 |     @Atomic public static var autoCleanupFrequency = 0
    |                               |- warning: static property 'autoCleanupFrequency' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'autoCleanupFrequency' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: add '@MainActor' to make static property 'autoCleanupFrequency' part of global actor 'MainActor'
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 |
118 |     /// Controls whether automatic cleanup of the `DependencyGraph` instance storage is enabled.
/host/spi-builder-workspace/Sources/Stitcher/Configuration/StitcherConfiguration.swift:119:31: warning: static property 'autoCleanupEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
117 |
118 |     /// Controls whether automatic cleanup of the `DependencyGraph` instance storage is enabled.
119 |     @Atomic public static var autoCleanupEnabled = true
    |                               |- warning: static property 'autoCleanupEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'autoCleanupEnabled' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: add '@MainActor' to make static property 'autoCleanupEnabled' part of global actor 'MainActor'
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 |
121 |     /// Controls the availability of the runtime depedency cycle detection feature.
/host/spi-builder-workspace/Sources/Stitcher/Configuration/StitcherConfiguration.swift:124:31: warning: static property 'runtimeCycleDetectionAvailability' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
122 |     ///
123 |     /// - Note: By default, the feature is enabled on debug builds in order to increase the performance of injecting dependencies.
124 |     @Atomic public static var runtimeCycleDetectionAvailability = RuntimeCycleDetectionAvailability.debugOnly
    |                               |- warning: static property 'runtimeCycleDetectionAvailability' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'runtimeCycleDetectionAvailability' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: add '@MainActor' to make static property 'runtimeCycleDetectionAvailability' part of global actor 'MainActor'
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
125 | }
126 |
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/DependencyContainer.swift:160:21: warning: capture of 'self' with non-sendable type 'DependencyContainer?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 47 | /// ```
 48 | ///
 49 | public final class DependencyContainer: Identifiable, Equatable {
    |                    `- note: class 'DependencyContainer' does not conform to the 'Sendable' protocol
 50 |
 51 |     public struct ID: Hashable {
    :
158 |                     undecoratedDependenciesRegistrarProvider()
159 |                 } onChange: { [weak self] in
160 |                     self?.invalidateDependenciesSubject.send()
    |                     `- warning: capture of 'self' with non-sendable type 'DependencyContainer?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
161 |                 }
162 |             }
[538/540] Compiling Stitcher DependencyContainer.swift
/host/spi-builder-workspace/Sources/Stitcher/CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerators.swift:19:20: warning: static property 'stitcherTest' is not concurrency-safe because non-'Sendable' type 'InjectionCodeGenerators.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public enum InjectionCodeGenerators {
11 |
12 |     public struct Name: Hashable, CaseIterable {
   |                   `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 |         public let rawValue: String
14 |
   :
17 |         }
18 |
19 |         static let stitcherTest = Name(rawValue: "stitcherTest")
   |                    |- warning: static property 'stitcherTest' is not concurrency-safe because non-'Sendable' type 'InjectionCodeGenerators.Name' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: add '@MainActor' to make static property 'stitcherTest' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |         public static let stitcherByType = Name(rawValue: "stitcherByType")
21 |         public static let stitcherByName = Name(rawValue: "stitcherByName")
/host/spi-builder-workspace/Sources/Stitcher/CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerators.swift:20:27: warning: static property 'stitcherByType' is not concurrency-safe because non-'Sendable' type 'InjectionCodeGenerators.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public enum InjectionCodeGenerators {
11 |
12 |     public struct Name: Hashable, CaseIterable {
   |                   `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 |         public let rawValue: String
14 |
   :
18 |
19 |         static let stitcherTest = Name(rawValue: "stitcherTest")
20 |         public static let stitcherByType = Name(rawValue: "stitcherByType")
   |                           |- warning: static property 'stitcherByType' is not concurrency-safe because non-'Sendable' type 'InjectionCodeGenerators.Name' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: add '@MainActor' to make static property 'stitcherByType' part of global actor 'MainActor'
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |         public static let stitcherByName = Name(rawValue: "stitcherByName")
22 |
/host/spi-builder-workspace/Sources/Stitcher/CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerators.swift:21:27: warning: static property 'stitcherByName' is not concurrency-safe because non-'Sendable' type 'InjectionCodeGenerators.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public enum InjectionCodeGenerators {
11 |
12 |     public struct Name: Hashable, CaseIterable {
   |                   `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 |         public let rawValue: String
14 |
   :
19 |         static let stitcherTest = Name(rawValue: "stitcherTest")
20 |         public static let stitcherByType = Name(rawValue: "stitcherByType")
21 |         public static let stitcherByName = Name(rawValue: "stitcherByName")
   |                           |- warning: static property 'stitcherByName' is not concurrency-safe because non-'Sendable' type 'InjectionCodeGenerators.Name' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: add '@MainActor' to make static property 'stitcherByName' part of global actor 'MainActor'
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 |         public static var allCases: [InjectionCodeGenerators.Name] = [
/host/spi-builder-workspace/Sources/Stitcher/CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerators.swift:23:27: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |         public static let stitcherByName = Name(rawValue: "stitcherByName")
22 |
23 |         public static var allCases: [InjectionCodeGenerators.Name] = [
   |                           |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
   |                           |- note: add '@MainActor' to make static property 'allCases' part of global actor 'MainActor'
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |             .stitcherTest,
25 |             .stitcherByType,
/host/spi-builder-workspace/Sources/Stitcher/CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerators.swift:30:24: warning: static property 'generators' is not concurrency-safe because non-'Sendable' type '[InjectionCodeGenerators.Name : any InjectionCodeGenerator]' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public enum InjectionCodeGenerators {
11 |
12 |     public struct Name: Hashable, CaseIterable {
   |                   `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 |         public let rawValue: String
14 |
   :
28 |     }
29 |
30 |     private static let generators: [Name : any InjectionCodeGenerator] = [
   |                        |- warning: static property 'generators' is not concurrency-safe because non-'Sendable' type '[InjectionCodeGenerators.Name : any InjectionCodeGenerator]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: add '@MainActor' to make static property 'generators' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |         .stitcherTest : TestInjectionCodeGenerator(),
32 |         .stitcherByType : TypeInjectionCodeGenerator(),
/host/spi-builder-workspace/Sources/Stitcher/CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerator.swift:10:17: note: protocol 'InjectionCodeGenerator' does not conform to the 'Sendable' protocol
 8 | import Foundation
 9 |
10 | public protocol InjectionCodeGenerator {
   |                 `- note: protocol 'InjectionCodeGenerator' does not conform to the 'Sendable' protocol
11 |
12 |     func generateInjectionExpression(
/host/spi-builder-workspace/Sources/Stitcher/Configuration/StitcherConfiguration.swift:50:31: warning: static property 'indexerFactory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 48 |
 49 |     /// A factory function used to create the indexing provider.
 50 |     @Atomic public static var indexerFactory: () -> Indexing = { DefaultIndexer() }
    |                               |- warning: static property 'indexerFactory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'indexerFactory' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: add '@MainActor' to make static property 'indexerFactory' part of global actor 'MainActor'
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 51 |
 52 |     /// Controls whether indexing dependencies is enabled.
/host/spi-builder-workspace/Sources/Stitcher/Configuration/StitcherConfiguration.swift:68:31: warning: static property 'isIndexingEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 66 |     /// However, as it is highly unlikely that a dependency will be registered with more than 2 type aliases,
 67 |     /// we can average the lookup time to O(1).
 68 |     @Atomic public static var isIndexingEnabled = true
    |                               |- warning: static property 'isIndexingEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'isIndexingEnabled' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: add '@MainActor' to make static property 'isIndexingEnabled' part of global actor 'MainActor'
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 69 |
 70 |     /// An approximate count of the dependencies defined in the app.
/host/spi-builder-workspace/Sources/Stitcher/Configuration/StitcherConfiguration.swift:112:31: warning: static property 'approximateDependencyCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
110 |     /// - Warning: Avoid changing this value unecessarily as it can negatively impact runtime memory footprint and performance.
111 |     ///   Setting an arbitrarily high value may allocate a large portion of memory, while a low value can increase indexing time.
112 |     @Atomic public static var approximateDependencyCount = 30_000
    |                               |- warning: static property 'approximateDependencyCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'approximateDependencyCount' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: add '@MainActor' to make static property 'approximateDependencyCount' part of global actor 'MainActor'
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 |
114 |     /// Controls the frequency at which the dependency graph instance storage will be automatically cleaned up.
/host/spi-builder-workspace/Sources/Stitcher/Configuration/StitcherConfiguration.swift:116:31: warning: static property 'autoCleanupFrequency' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
114 |     /// Controls the frequency at which the dependency graph instance storage will be automatically cleaned up.
115 |     @available(*, unavailable, renamed: "autoCleanupEnabled", message: "")
116 |     @Atomic public static var autoCleanupFrequency = 0
    |                               |- warning: static property 'autoCleanupFrequency' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'autoCleanupFrequency' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: add '@MainActor' to make static property 'autoCleanupFrequency' part of global actor 'MainActor'
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 |
118 |     /// Controls whether automatic cleanup of the `DependencyGraph` instance storage is enabled.
/host/spi-builder-workspace/Sources/Stitcher/Configuration/StitcherConfiguration.swift:119:31: warning: static property 'autoCleanupEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
117 |
118 |     /// Controls whether automatic cleanup of the `DependencyGraph` instance storage is enabled.
119 |     @Atomic public static var autoCleanupEnabled = true
    |                               |- warning: static property 'autoCleanupEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'autoCleanupEnabled' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: add '@MainActor' to make static property 'autoCleanupEnabled' part of global actor 'MainActor'
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 |
121 |     /// Controls the availability of the runtime depedency cycle detection feature.
/host/spi-builder-workspace/Sources/Stitcher/Configuration/StitcherConfiguration.swift:124:31: warning: static property 'runtimeCycleDetectionAvailability' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
122 |     ///
123 |     /// - Note: By default, the feature is enabled on debug builds in order to increase the performance of injecting dependencies.
124 |     @Atomic public static var runtimeCycleDetectionAvailability = RuntimeCycleDetectionAvailability.debugOnly
    |                               |- warning: static property 'runtimeCycleDetectionAvailability' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'runtimeCycleDetectionAvailability' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: add '@MainActor' to make static property 'runtimeCycleDetectionAvailability' part of global actor 'MainActor'
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
125 | }
126 |
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/DependencyContainer.swift:160:21: warning: capture of 'self' with non-sendable type 'DependencyContainer?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 47 | /// ```
 48 | ///
 49 | public final class DependencyContainer: Identifiable, Equatable {
    |                    `- note: class 'DependencyContainer' does not conform to the 'Sendable' protocol
 50 |
 51 |     public struct ID: Hashable {
    :
158 |                     undecoratedDependenciesRegistrarProvider()
159 |                 } onChange: { [weak self] in
160 |                     self?.invalidateDependenciesSubject.send()
    |                     `- warning: capture of 'self' with non-sendable type 'DependencyContainer?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
161 |                 }
162 |             }
[539/540] Compiling Stitcher DependencyFactory+Function.swift
/host/spi-builder-workspace/Sources/Stitcher/CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerators.swift:19:20: warning: static property 'stitcherTest' is not concurrency-safe because non-'Sendable' type 'InjectionCodeGenerators.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public enum InjectionCodeGenerators {
11 |
12 |     public struct Name: Hashable, CaseIterable {
   |                   `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 |         public let rawValue: String
14 |
   :
17 |         }
18 |
19 |         static let stitcherTest = Name(rawValue: "stitcherTest")
   |                    |- warning: static property 'stitcherTest' is not concurrency-safe because non-'Sendable' type 'InjectionCodeGenerators.Name' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: add '@MainActor' to make static property 'stitcherTest' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |         public static let stitcherByType = Name(rawValue: "stitcherByType")
21 |         public static let stitcherByName = Name(rawValue: "stitcherByName")
/host/spi-builder-workspace/Sources/Stitcher/CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerators.swift:20:27: warning: static property 'stitcherByType' is not concurrency-safe because non-'Sendable' type 'InjectionCodeGenerators.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public enum InjectionCodeGenerators {
11 |
12 |     public struct Name: Hashable, CaseIterable {
   |                   `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 |         public let rawValue: String
14 |
   :
18 |
19 |         static let stitcherTest = Name(rawValue: "stitcherTest")
20 |         public static let stitcherByType = Name(rawValue: "stitcherByType")
   |                           |- warning: static property 'stitcherByType' is not concurrency-safe because non-'Sendable' type 'InjectionCodeGenerators.Name' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: add '@MainActor' to make static property 'stitcherByType' part of global actor 'MainActor'
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |         public static let stitcherByName = Name(rawValue: "stitcherByName")
22 |
/host/spi-builder-workspace/Sources/Stitcher/CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerators.swift:21:27: warning: static property 'stitcherByName' is not concurrency-safe because non-'Sendable' type 'InjectionCodeGenerators.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public enum InjectionCodeGenerators {
11 |
12 |     public struct Name: Hashable, CaseIterable {
   |                   `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 |         public let rawValue: String
14 |
   :
19 |         static let stitcherTest = Name(rawValue: "stitcherTest")
20 |         public static let stitcherByType = Name(rawValue: "stitcherByType")
21 |         public static let stitcherByName = Name(rawValue: "stitcherByName")
   |                           |- warning: static property 'stitcherByName' is not concurrency-safe because non-'Sendable' type 'InjectionCodeGenerators.Name' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: add '@MainActor' to make static property 'stitcherByName' part of global actor 'MainActor'
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 |         public static var allCases: [InjectionCodeGenerators.Name] = [
/host/spi-builder-workspace/Sources/Stitcher/CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerators.swift:23:27: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |         public static let stitcherByName = Name(rawValue: "stitcherByName")
22 |
23 |         public static var allCases: [InjectionCodeGenerators.Name] = [
   |                           |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
   |                           |- note: add '@MainActor' to make static property 'allCases' part of global actor 'MainActor'
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |             .stitcherTest,
25 |             .stitcherByType,
/host/spi-builder-workspace/Sources/Stitcher/CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerators.swift:30:24: warning: static property 'generators' is not concurrency-safe because non-'Sendable' type '[InjectionCodeGenerators.Name : any InjectionCodeGenerator]' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public enum InjectionCodeGenerators {
11 |
12 |     public struct Name: Hashable, CaseIterable {
   |                   `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 |         public let rawValue: String
14 |
   :
28 |     }
29 |
30 |     private static let generators: [Name : any InjectionCodeGenerator] = [
   |                        |- warning: static property 'generators' is not concurrency-safe because non-'Sendable' type '[InjectionCodeGenerators.Name : any InjectionCodeGenerator]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: add '@MainActor' to make static property 'generators' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |         .stitcherTest : TestInjectionCodeGenerator(),
32 |         .stitcherByType : TypeInjectionCodeGenerator(),
/host/spi-builder-workspace/Sources/Stitcher/CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerator.swift:10:17: note: protocol 'InjectionCodeGenerator' does not conform to the 'Sendable' protocol
 8 | import Foundation
 9 |
10 | public protocol InjectionCodeGenerator {
   |                 `- note: protocol 'InjectionCodeGenerator' does not conform to the 'Sendable' protocol
11 |
12 |     func generateInjectionExpression(
/host/spi-builder-workspace/Sources/Stitcher/Configuration/StitcherConfiguration.swift:50:31: warning: static property 'indexerFactory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 48 |
 49 |     /// A factory function used to create the indexing provider.
 50 |     @Atomic public static var indexerFactory: () -> Indexing = { DefaultIndexer() }
    |                               |- warning: static property 'indexerFactory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'indexerFactory' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: add '@MainActor' to make static property 'indexerFactory' part of global actor 'MainActor'
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 51 |
 52 |     /// Controls whether indexing dependencies is enabled.
/host/spi-builder-workspace/Sources/Stitcher/Configuration/StitcherConfiguration.swift:68:31: warning: static property 'isIndexingEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 66 |     /// However, as it is highly unlikely that a dependency will be registered with more than 2 type aliases,
 67 |     /// we can average the lookup time to O(1).
 68 |     @Atomic public static var isIndexingEnabled = true
    |                               |- warning: static property 'isIndexingEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'isIndexingEnabled' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: add '@MainActor' to make static property 'isIndexingEnabled' part of global actor 'MainActor'
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 69 |
 70 |     /// An approximate count of the dependencies defined in the app.
/host/spi-builder-workspace/Sources/Stitcher/Configuration/StitcherConfiguration.swift:112:31: warning: static property 'approximateDependencyCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
110 |     /// - Warning: Avoid changing this value unecessarily as it can negatively impact runtime memory footprint and performance.
111 |     ///   Setting an arbitrarily high value may allocate a large portion of memory, while a low value can increase indexing time.
112 |     @Atomic public static var approximateDependencyCount = 30_000
    |                               |- warning: static property 'approximateDependencyCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'approximateDependencyCount' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: add '@MainActor' to make static property 'approximateDependencyCount' part of global actor 'MainActor'
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 |
114 |     /// Controls the frequency at which the dependency graph instance storage will be automatically cleaned up.
/host/spi-builder-workspace/Sources/Stitcher/Configuration/StitcherConfiguration.swift:116:31: warning: static property 'autoCleanupFrequency' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
114 |     /// Controls the frequency at which the dependency graph instance storage will be automatically cleaned up.
115 |     @available(*, unavailable, renamed: "autoCleanupEnabled", message: "")
116 |     @Atomic public static var autoCleanupFrequency = 0
    |                               |- warning: static property 'autoCleanupFrequency' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'autoCleanupFrequency' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: add '@MainActor' to make static property 'autoCleanupFrequency' part of global actor 'MainActor'
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 |
118 |     /// Controls whether automatic cleanup of the `DependencyGraph` instance storage is enabled.
/host/spi-builder-workspace/Sources/Stitcher/Configuration/StitcherConfiguration.swift:119:31: warning: static property 'autoCleanupEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
117 |
118 |     /// Controls whether automatic cleanup of the `DependencyGraph` instance storage is enabled.
119 |     @Atomic public static var autoCleanupEnabled = true
    |                               |- warning: static property 'autoCleanupEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'autoCleanupEnabled' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: add '@MainActor' to make static property 'autoCleanupEnabled' part of global actor 'MainActor'
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 |
121 |     /// Controls the availability of the runtime depedency cycle detection feature.
/host/spi-builder-workspace/Sources/Stitcher/Configuration/StitcherConfiguration.swift:124:31: warning: static property 'runtimeCycleDetectionAvailability' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
122 |     ///
123 |     /// - Note: By default, the feature is enabled on debug builds in order to increase the performance of injecting dependencies.
124 |     @Atomic public static var runtimeCycleDetectionAvailability = RuntimeCycleDetectionAvailability.debugOnly
    |                               |- warning: static property 'runtimeCycleDetectionAvailability' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'runtimeCycleDetectionAvailability' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: add '@MainActor' to make static property 'runtimeCycleDetectionAvailability' part of global actor 'MainActor'
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
125 | }
126 |
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/DependencyContainer.swift:160:21: warning: capture of 'self' with non-sendable type 'DependencyContainer?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 47 | /// ```
 48 | ///
 49 | public final class DependencyContainer: Identifiable, Equatable {
    |                    `- note: class 'DependencyContainer' does not conform to the 'Sendable' protocol
 50 |
 51 |     public struct ID: Hashable {
    :
158 |                     undecoratedDependenciesRegistrarProvider()
159 |                 } onChange: { [weak self] in
160 |                     self?.invalidateDependenciesSubject.send()
    |                     `- warning: capture of 'self' with non-sendable type 'DependencyContainer?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
161 |                 }
162 |             }
[540/540] Compiling Stitcher DependencyFactory.swift
/host/spi-builder-workspace/Sources/Stitcher/CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerators.swift:19:20: warning: static property 'stitcherTest' is not concurrency-safe because non-'Sendable' type 'InjectionCodeGenerators.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public enum InjectionCodeGenerators {
11 |
12 |     public struct Name: Hashable, CaseIterable {
   |                   `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 |         public let rawValue: String
14 |
   :
17 |         }
18 |
19 |         static let stitcherTest = Name(rawValue: "stitcherTest")
   |                    |- warning: static property 'stitcherTest' is not concurrency-safe because non-'Sendable' type 'InjectionCodeGenerators.Name' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: add '@MainActor' to make static property 'stitcherTest' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |         public static let stitcherByType = Name(rawValue: "stitcherByType")
21 |         public static let stitcherByName = Name(rawValue: "stitcherByName")
/host/spi-builder-workspace/Sources/Stitcher/CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerators.swift:20:27: warning: static property 'stitcherByType' is not concurrency-safe because non-'Sendable' type 'InjectionCodeGenerators.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public enum InjectionCodeGenerators {
11 |
12 |     public struct Name: Hashable, CaseIterable {
   |                   `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 |         public let rawValue: String
14 |
   :
18 |
19 |         static let stitcherTest = Name(rawValue: "stitcherTest")
20 |         public static let stitcherByType = Name(rawValue: "stitcherByType")
   |                           |- warning: static property 'stitcherByType' is not concurrency-safe because non-'Sendable' type 'InjectionCodeGenerators.Name' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: add '@MainActor' to make static property 'stitcherByType' part of global actor 'MainActor'
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |         public static let stitcherByName = Name(rawValue: "stitcherByName")
22 |
/host/spi-builder-workspace/Sources/Stitcher/CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerators.swift:21:27: warning: static property 'stitcherByName' is not concurrency-safe because non-'Sendable' type 'InjectionCodeGenerators.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public enum InjectionCodeGenerators {
11 |
12 |     public struct Name: Hashable, CaseIterable {
   |                   `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 |         public let rawValue: String
14 |
   :
19 |         static let stitcherTest = Name(rawValue: "stitcherTest")
20 |         public static let stitcherByType = Name(rawValue: "stitcherByType")
21 |         public static let stitcherByName = Name(rawValue: "stitcherByName")
   |                           |- warning: static property 'stitcherByName' is not concurrency-safe because non-'Sendable' type 'InjectionCodeGenerators.Name' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: add '@MainActor' to make static property 'stitcherByName' part of global actor 'MainActor'
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 |         public static var allCases: [InjectionCodeGenerators.Name] = [
/host/spi-builder-workspace/Sources/Stitcher/CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerators.swift:23:27: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |         public static let stitcherByName = Name(rawValue: "stitcherByName")
22 |
23 |         public static var allCases: [InjectionCodeGenerators.Name] = [
   |                           |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
   |                           |- note: add '@MainActor' to make static property 'allCases' part of global actor 'MainActor'
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |             .stitcherTest,
25 |             .stitcherByType,
/host/spi-builder-workspace/Sources/Stitcher/CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerators.swift:30:24: warning: static property 'generators' is not concurrency-safe because non-'Sendable' type '[InjectionCodeGenerators.Name : any InjectionCodeGenerator]' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public enum InjectionCodeGenerators {
11 |
12 |     public struct Name: Hashable, CaseIterable {
   |                   `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 |         public let rawValue: String
14 |
   :
28 |     }
29 |
30 |     private static let generators: [Name : any InjectionCodeGenerator] = [
   |                        |- warning: static property 'generators' is not concurrency-safe because non-'Sendable' type '[InjectionCodeGenerators.Name : any InjectionCodeGenerator]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: add '@MainActor' to make static property 'generators' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |         .stitcherTest : TestInjectionCodeGenerator(),
32 |         .stitcherByType : TypeInjectionCodeGenerator(),
/host/spi-builder-workspace/Sources/Stitcher/CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerator.swift:10:17: note: protocol 'InjectionCodeGenerator' does not conform to the 'Sendable' protocol
 8 | import Foundation
 9 |
10 | public protocol InjectionCodeGenerator {
   |                 `- note: protocol 'InjectionCodeGenerator' does not conform to the 'Sendable' protocol
11 |
12 |     func generateInjectionExpression(
/host/spi-builder-workspace/Sources/Stitcher/Configuration/StitcherConfiguration.swift:50:31: warning: static property 'indexerFactory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 48 |
 49 |     /// A factory function used to create the indexing provider.
 50 |     @Atomic public static var indexerFactory: () -> Indexing = { DefaultIndexer() }
    |                               |- warning: static property 'indexerFactory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'indexerFactory' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: add '@MainActor' to make static property 'indexerFactory' part of global actor 'MainActor'
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 51 |
 52 |     /// Controls whether indexing dependencies is enabled.
/host/spi-builder-workspace/Sources/Stitcher/Configuration/StitcherConfiguration.swift:68:31: warning: static property 'isIndexingEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 66 |     /// However, as it is highly unlikely that a dependency will be registered with more than 2 type aliases,
 67 |     /// we can average the lookup time to O(1).
 68 |     @Atomic public static var isIndexingEnabled = true
    |                               |- warning: static property 'isIndexingEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'isIndexingEnabled' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: add '@MainActor' to make static property 'isIndexingEnabled' part of global actor 'MainActor'
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 69 |
 70 |     /// An approximate count of the dependencies defined in the app.
/host/spi-builder-workspace/Sources/Stitcher/Configuration/StitcherConfiguration.swift:112:31: warning: static property 'approximateDependencyCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
110 |     /// - Warning: Avoid changing this value unecessarily as it can negatively impact runtime memory footprint and performance.
111 |     ///   Setting an arbitrarily high value may allocate a large portion of memory, while a low value can increase indexing time.
112 |     @Atomic public static var approximateDependencyCount = 30_000
    |                               |- warning: static property 'approximateDependencyCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'approximateDependencyCount' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: add '@MainActor' to make static property 'approximateDependencyCount' part of global actor 'MainActor'
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 |
114 |     /// Controls the frequency at which the dependency graph instance storage will be automatically cleaned up.
/host/spi-builder-workspace/Sources/Stitcher/Configuration/StitcherConfiguration.swift:116:31: warning: static property 'autoCleanupFrequency' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
114 |     /// Controls the frequency at which the dependency graph instance storage will be automatically cleaned up.
115 |     @available(*, unavailable, renamed: "autoCleanupEnabled", message: "")
116 |     @Atomic public static var autoCleanupFrequency = 0
    |                               |- warning: static property 'autoCleanupFrequency' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'autoCleanupFrequency' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: add '@MainActor' to make static property 'autoCleanupFrequency' part of global actor 'MainActor'
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 |
118 |     /// Controls whether automatic cleanup of the `DependencyGraph` instance storage is enabled.
/host/spi-builder-workspace/Sources/Stitcher/Configuration/StitcherConfiguration.swift:119:31: warning: static property 'autoCleanupEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
117 |
118 |     /// Controls whether automatic cleanup of the `DependencyGraph` instance storage is enabled.
119 |     @Atomic public static var autoCleanupEnabled = true
    |                               |- warning: static property 'autoCleanupEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'autoCleanupEnabled' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: add '@MainActor' to make static property 'autoCleanupEnabled' part of global actor 'MainActor'
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 |
121 |     /// Controls the availability of the runtime depedency cycle detection feature.
/host/spi-builder-workspace/Sources/Stitcher/Configuration/StitcherConfiguration.swift:124:31: warning: static property 'runtimeCycleDetectionAvailability' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
122 |     ///
123 |     /// - Note: By default, the feature is enabled on debug builds in order to increase the performance of injecting dependencies.
124 |     @Atomic public static var runtimeCycleDetectionAvailability = RuntimeCycleDetectionAvailability.debugOnly
    |                               |- warning: static property 'runtimeCycleDetectionAvailability' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'runtimeCycleDetectionAvailability' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: add '@MainActor' to make static property 'runtimeCycleDetectionAvailability' part of global actor 'MainActor'
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
125 | }
126 |
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/DependencyContainer.swift:160:21: warning: capture of 'self' with non-sendable type 'DependencyContainer?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 47 | /// ```
 48 | ///
 49 | public final class DependencyContainer: Identifiable, Equatable {
    |                    `- note: class 'DependencyContainer' does not conform to the 'Sendable' protocol
 50 |
 51 |     public struct ID: Hashable {
    :
158 |                     undecoratedDependenciesRegistrarProvider()
159 |                 } onChange: { [weak self] in
160 |                     self?.invalidateDependenciesSubject.send()
    |                     `- warning: capture of 'self' with non-sendable type 'DependencyContainer?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
161 |                 }
162 |             }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/110] Compiling OpenCombine Future.swift
[3/110] Compiling OpenCombine GENERATED-RootProtocols.swift
[4/110] Compiling OpenCombine Future+Concurrency.swift
[5/110] Compiling OpenCombine GENERATED-Publisher+Concurrency.swift
[6/112] Compiling OpenCombine CurrentValueSubject.swift
[7/112] Compiling OpenCombine CustomCombineIdentifierConvertible.swift
[8/112] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[9/112] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[10/112] Compiling OpenCombine Cancellable.swift
[11/112] Compiling OpenCombine Codable.swift
[12/112] Compiling OpenCombine AnyCancellable.swift
[13/112] Compiling OpenCombine AnyPublisher.swift
[14/112] Compiling OpenCombine AnySubscriber.swift
[15/112] Emitting module InternalCollectionsUtilities
[16/112] Compiling OpenCombine ConduitBase.swift
[17/112] Compiling OpenCombine ConduitList.swift
[18/112] Compiling OpenCombine DebugHook.swift
[19/112] Compiling OpenCombine CombineIdentifier.swift
[20/112] Compiling OpenCombine ConcurrencyHelpers.swift
[22/260] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[23/277] Compiling _RopeModule BigString+Insert.swift
[24/277] Compiling _RopeModule BigString+Managing Breaks.swift
[25/389] Compiling HeapModule Heap+Descriptions.swift
[26/389] Compiling HashTreeCollections _HashNode+Structural merge.swift
[27/389] Compiling HashTreeCollections _AncestorHashSlots.swift
[28/389] Compiling HeapModule _HeapNode.swift
[29/389] Compiling HeapModule Heap.swift
[30/389] Compiling HashTreeCollections _HashNode+Structural isDisjoint.swift
[31/389] Compiling HashTreeCollections _HashNode+Structural isEqualSet.swift
[32/389] Compiling HashTreeCollections _HashNode+Structural filter.swift
[33/389] Compiling HashTreeCollections _HashNode+Structural intersection.swift
[34/389] Compiling HeapModule Heap+Invariants.swift
[35/389] Compiling HeapModule Heap+UnsafeHandle.swift
[36/389] Compiling HashTreeCollections _Hash.swift
[37/389] Compiling HashTreeCollections _HashLevel.swift
[38/389] Emitting module HeapModule
[39/390] Compiling HashTreeCollections TreeSet+Hashable.swift
[40/390] Compiling HashTreeCollections TreeSet+Sendable.swift
[41/390] Compiling HashTreeCollections TreeSet+Sequence.swift
[42/390] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[43/390] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[44/390] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[45/390] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[46/390] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[47/390] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[48/390] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[49/393] Compiling HashTreeCollections TreeSet+CustomReflectable.swift
[50/393] Compiling HashTreeCollections TreeSet+Debugging.swift
[51/393] Compiling HashTreeCollections TreeSet+Descriptions.swift
[52/393] Compiling HashTreeCollections TreeSet+Equatable.swift
[53/393] Compiling HashTreeCollections TreeSet+ExpressibleByArrayLiteral.swift
[54/393] Compiling HashTreeCollections TreeSet+Extras.swift
[55/393] Compiling HashTreeCollections TreeSet+Filter.swift
[56/396] Compiling HashTreeCollections TreeDictionary+Collection.swift
[57/396] Compiling HashTreeCollections TreeDictionary+CustomReflectable.swift
[58/396] Compiling HashTreeCollections TreeDictionary+Debugging.swift
[59/396] Compiling HashTreeCollections TreeDictionary+Descriptions.swift
[60/396] Compiling HashTreeCollections TreeDictionary.swift
[61/396] Compiling HashTreeCollections TreeSet+Codable.swift
[62/396] Compiling HashTreeCollections TreeSet+Collection.swift
[63/407] Compiling HashTreeCollections _HashNode+Structural isSubset.swift
[64/407] Compiling HashTreeCollections _HashNode+Structural mapValues.swift
[67/407] Compiling HashTreeCollections _Bitmap.swift
[68/407] Compiling HashTreeCollections _Bucket.swift
[71/407] Compiling HashTreeCollections _HashNode+Primitive Removals.swift
[72/407] Compiling HashTreeCollections _HashNode+Primitive Replacement.swift
[73/407] Compiling HashTreeCollections _HashNode+Storage.swift
[74/407] Compiling HashTreeCollections _HashNode+Structural compactMapValues.swift
[79/407] Compiling HashTreeCollections _HashStack.swift
[80/407] Compiling HashTreeCollections _HashTreeIterator.swift
[81/407] Compiling HashTreeCollections _HashTreeStatistics.swift
[82/407] Compiling HashTreeCollections _RawHashNode+UnsafeHandle.swift
[83/407] Compiling HashTreeCollections _RawHashNode.swift
[84/407] Compiling HashTreeCollections _UnmanagedHashNode.swift
[85/407] Compiling HashTreeCollections _UnsafePath.swift
[86/407] Compiling HashTreeCollections TreeDictionary+Codable.swift
[87/407] Compiling HashTreeCollections _HashNode+Structural union.swift
[88/407] Compiling HashTreeCollections _HashNode+Subtree Insertions.swift
[89/407] Compiling HashTreeCollections _HashNode+Subtree Modify.swift
[90/407] Compiling HashTreeCollections _HashNode+Subtree Removals.swift
[91/407] Compiling HashTreeCollections _HashNode+UnsafeHandle.swift
[92/407] Compiling HashTreeCollections _HashNode.swift
[93/407] Compiling HashTreeCollections _HashNodeHeader.swift
[101/414] Compiling HashTreeCollections _HashSlot.swift
[103/414] Compiling HashTreeCollections TreeDictionary+Equatable.swift
[104/414] Compiling HashTreeCollections TreeDictionary+ExpressibleByDictionaryLiteral.swift
[105/414] Compiling HashTreeCollections TreeDictionary+Filter.swift
[106/414] Compiling HashTreeCollections TreeDictionary+Hashable.swift
[107/414] Compiling HashTreeCollections TreeDictionary+Initializers.swift
[108/414] Compiling HashTreeCollections TreeDictionary+Keys.swift
[109/414] Compiling HashTreeCollections TreeDictionary+MapValues.swift
[110/414] Compiling HashTreeCollections TreeDictionary+Merge.swift
[111/414] Compiling HashTreeCollections TreeDictionary+Sendable.swift
[112/414] Compiling HashTreeCollections TreeDictionary+Sequence.swift
[113/414] Compiling HashTreeCollections TreeDictionary+Values.swift
[122/414] Compiling BitCollections BitSet.Index.swift
[123/414] Compiling BitCollections BitSet._UnsafeHandle.swift
[124/414] Emitting module BitCollections
[125/414] Emitting module OpenCombine
[153/426] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[154/426] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[155/426] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[156/426] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[157/426] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[158/426] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[159/426] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[160/426] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[161/426] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[162/426] Compiling HashTreeCollections TreeSet.swift
[163/426] Emitting module DequeModule
[165/427] Compiling HashTreeCollections _HashNode+Builder.swift
[166/427] Compiling HashTreeCollections _HashNode+Debugging.swift
[167/427] Compiling HashTreeCollections _HashNode+Initializers.swift
[168/427] Compiling HashTreeCollections _HashNode+Invariants.swift
[169/427] Compiling HashTreeCollections _HashNode+Lookups.swift
[170/427] Compiling HashTreeCollections _HashNode+Primitive Insertions.swift
[171/427] Compiling HashTreeCollections _HashNode+Structural subtracting.swift
[172/427] Compiling HashTreeCollections _HashNode+Structural symmetricDifference.swift
[223/427] Compiling BitCollections BitSet.swift
[224/427] Compiling BitCollections Range+Utilities.swift
[225/427] Compiling BitCollections Slice+Utilities.swift
[226/427] Compiling BitCollections UInt+Tricks.swift
[227/427] Compiling BitCollections _Word.swift
[228/427] Compiling OrderedCollections OrderedSet.swift
[229/427] Compiling OrderedCollections _UnsafeBitset.swift
[277/437] Compiling OpenCombine Result.swift
[278/437] Compiling OpenCombine Scheduler.swift
[279/437] Compiling OpenCombine Subject+Void.swift
[280/437] Compiling OpenCombine Subscriber+Void.swift
[281/437] Compiling OpenCombine Subscribers.Assign.swift
[282/437] Compiling OpenCombine Subscribers.Completion.swift
[283/437] Compiling OpenCombine Subscribers.Demand.swift
[284/437] Compiling OpenCombine Subscribers.Sink.swift
[285/437] Compiling OpenCombine Subscribers.swift
[286/437] Compiling OpenCombine Subscription.swift
[287/437] Compiling OpenCombine Subscriptions.swift
[288/437] Compiling OpenCombine _Introspection.swift
[361/437] Emitting module OrderedCollections
[370/438] Compiling OpenCombine Publishers.Throttle.swift
[371/438] Compiling OpenCombine Publishers.Timeout.swift
[372/438] Compiling OpenCombine Publishers.Zip.swift
[373/438] Compiling OpenCombine Publishers.swift
[374/438] Compiling OpenCombine Record.swift
[375/438] Compiling OpenCombine Result.Publisher.swift
[378/438] Compiling _RopeModule Rope+Join.swift
[379/438] Compiling _RopeModule Rope+MutatingForEach.swift
[380/438] Compiling _RopeModule Rope+Remove.swift
[381/438] Compiling _RopeModule Rope+RemoveSubrange.swift
[382/438] Compiling _RopeModule Rope+Split.swift
[383/438] Compiling _RopeModule Optional Utilities.swift
[384/438] Compiling _RopeModule String Utilities.swift
[385/438] Compiling _RopeModule String.Index+ABI.swift
[386/438] Compiling _RopeModule _CharacterRecognizer.swift
[390/439] Emitting module _RopeModule
[391/441] Emitting module HashTreeCollections
[392/441] 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/528] 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/528] 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/528] 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/528] 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/528] 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/528] 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/528] 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/528] 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/528] 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/528] 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 DependencyGroup.swift
[470/528] Compiling Stitcher DependencyRegistrarBuilder.swift
[471/528] Compiling Stitcher RawDependencyRegistration.swift
[472/528] Compiling Stitcher DependencyGroupRepresenting.swift
[473/528] Compiling Stitcher DependencyRepresenting.swift
[474/528] Compiling Stitcher ManagedSingletonInstanceStorage.swift
[475/528] Compiling Stitcher NeverInstanceStorage.swift
[476/528] Compiling Stitcher SharedInstanceStorage.swift
[477/528] Compiling Stitcher SingletonInstanceStorage.swift
[478/528] Compiling Stitcher InstanceStorage.swift
[479/528] Compiling Stitcher TypeName.swift
[480/528] Compiling Stitcher Atomic.swift
[481/528] Compiling Stitcher Dependencies.swift
[482/528] Compiling Stitcher Injected+Init.swift
[483/528] Compiling Stitcher Injected.swift
[484/528] Compiling Stitcher AutoregisterableDependency.swift
[485/528] Compiling Stitcher GeneratedDependencyRegistration.swift
[486/528] Compiling Stitcher RegisterableDependency.swift
[487/528] Compiling Stitcher DependenciesRegistrar.swift
[488/528] Compiling Stitcher Dependency.swift
[489/528] Compiling Stitcher RawThreadKeyError.swift
[490/528] Compiling Stitcher ThreadIdentifierThreadValuesKey.swift
[491/528] Compiling Stitcher ThreadLocal.swift
[492/528] Compiling Stitcher ThreadValues.swift
[493/528] Compiling Stitcher ThreadValuesKey.swift
[494/528] Compiling Stitcher DefaultValueProviding.swift
[495/528] Compiling Stitcher Extensions.swift
[496/528] Compiling Stitcher Functions.swift
[497/528] Compiling Stitcher Reference.swift
[498/528] Compiling Stitcher WeakReference.swift
[499/528] Compiling Stitcher AutoregisterableDependencyCodeGenerator.swift
[500/528] Compiling Stitcher NameInjectionCodeGenerator.swift
[501/528] Compiling Stitcher TestInjectionCodeGenerator.swift
[502/528] Compiling Stitcher TypeInjectionCodeGenerator.swift
[503/528] Compiling Stitcher InjectionCodeGenerator.swift
[504/528] Compiling Stitcher InjectionCodeGenerators.swift
[505/528] Compiling Stitcher StitcherConfiguration.swift
[506/528] Compiling Stitcher DependencyContainer.swift
[507/528] Compiling Stitcher DependencyFactory+Function.swift
[508/528] Compiling Stitcher DependencyFactory.swift
[509/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 |         }
[510/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 |         }
[511/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 |         }
[512/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 |         }
[513/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 |         }
[514/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 |         }
[515/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 |         }
[516/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 |         }
[517/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 |         }
[518/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 |         }
[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 android