The Swift Package Index logo.Swift Package Index

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

Build Information

Failed to build Stitcher, reference main (ad1e84), with Swift 6.1 for Linux on 28 Apr 2025 22:18:35 UTC.

Build Command

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

Build Log

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 |             }
[522/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 |             }
[523/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 |             }
[524/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 |             }
[525/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 |             }
[526/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 |             }
[527/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 |             }
[528/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 |             }
[529/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 |             }
[530/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 |             }
[531/540] Compiling Stitcher RawThreadKeyError.swift
/host/spi-builder-workspace/Sources/Stitcher/Threads/ThreadIdentifierThreadValuesKey.swift:11:16: warning: static property 'rawThreadKey' is not concurrency-safe because non-'Sendable' type 'RawThreadKey<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | struct ThreadIdentifierThreadValuesKey: ThreadValuesKey {
11 |     static let rawThreadKey = RawThreadKey<Int>()
   |                |- warning: static property 'rawThreadKey' is not concurrency-safe because non-'Sendable' type 'RawThreadKey<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'rawThreadKey' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 |     static var defaultValue: Int {
/host/spi-builder-workspace/Sources/Stitcher/Threads/RawThreadKey.swift:10:7: note: generic class 'RawThreadKey' does not conform to the 'Sendable' protocol
 8 | import Foundation
 9 |
10 | class RawThreadKey<Value> {
   |       `- note: generic class 'RawThreadKey' does not conform to the 'Sendable' protocol
11 |
12 |     private var pthreadKey: pthread_key_t
[532/540] Compiling Stitcher ThreadIdentifierThreadValuesKey.swift
/host/spi-builder-workspace/Sources/Stitcher/Threads/ThreadIdentifierThreadValuesKey.swift:11:16: warning: static property 'rawThreadKey' is not concurrency-safe because non-'Sendable' type 'RawThreadKey<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | struct ThreadIdentifierThreadValuesKey: ThreadValuesKey {
11 |     static let rawThreadKey = RawThreadKey<Int>()
   |                |- warning: static property 'rawThreadKey' is not concurrency-safe because non-'Sendable' type 'RawThreadKey<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'rawThreadKey' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 |     static var defaultValue: Int {
/host/spi-builder-workspace/Sources/Stitcher/Threads/RawThreadKey.swift:10:7: note: generic class 'RawThreadKey' does not conform to the 'Sendable' protocol
 8 | import Foundation
 9 |
10 | class RawThreadKey<Value> {
   |       `- note: generic class 'RawThreadKey' does not conform to the 'Sendable' protocol
11 |
12 |     private var pthreadKey: pthread_key_t
[533/540] Compiling Stitcher ThreadLocal.swift
/host/spi-builder-workspace/Sources/Stitcher/Threads/ThreadIdentifierThreadValuesKey.swift:11:16: warning: static property 'rawThreadKey' is not concurrency-safe because non-'Sendable' type 'RawThreadKey<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | struct ThreadIdentifierThreadValuesKey: ThreadValuesKey {
11 |     static let rawThreadKey = RawThreadKey<Int>()
   |                |- warning: static property 'rawThreadKey' is not concurrency-safe because non-'Sendable' type 'RawThreadKey<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'rawThreadKey' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 |     static var defaultValue: Int {
/host/spi-builder-workspace/Sources/Stitcher/Threads/RawThreadKey.swift:10:7: note: generic class 'RawThreadKey' does not conform to the 'Sendable' protocol
 8 | import Foundation
 9 |
10 | class RawThreadKey<Value> {
   |       `- note: generic class 'RawThreadKey' does not conform to the 'Sendable' protocol
11 |
12 |     private var pthreadKey: pthread_key_t
[534/540] Compiling Stitcher ThreadValues.swift
/host/spi-builder-workspace/Sources/Stitcher/Threads/ThreadIdentifierThreadValuesKey.swift:11:16: warning: static property 'rawThreadKey' is not concurrency-safe because non-'Sendable' type 'RawThreadKey<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | struct ThreadIdentifierThreadValuesKey: ThreadValuesKey {
11 |     static let rawThreadKey = RawThreadKey<Int>()
   |                |- warning: static property 'rawThreadKey' is not concurrency-safe because non-'Sendable' type 'RawThreadKey<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'rawThreadKey' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 |     static var defaultValue: Int {
/host/spi-builder-workspace/Sources/Stitcher/Threads/RawThreadKey.swift:10:7: note: generic class 'RawThreadKey' does not conform to the 'Sendable' protocol
 8 | import Foundation
 9 |
10 | class RawThreadKey<Value> {
   |       `- note: generic class 'RawThreadKey' does not conform to the 'Sendable' protocol
11 |
12 |     private var pthreadKey: pthread_key_t
[535/540] Compiling Stitcher ThreadValuesKey.swift
/host/spi-builder-workspace/Sources/Stitcher/Threads/ThreadIdentifierThreadValuesKey.swift:11:16: warning: static property 'rawThreadKey' is not concurrency-safe because non-'Sendable' type 'RawThreadKey<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | struct ThreadIdentifierThreadValuesKey: ThreadValuesKey {
11 |     static let rawThreadKey = RawThreadKey<Int>()
   |                |- warning: static property 'rawThreadKey' is not concurrency-safe because non-'Sendable' type 'RawThreadKey<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'rawThreadKey' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 |     static var defaultValue: Int {
/host/spi-builder-workspace/Sources/Stitcher/Threads/RawThreadKey.swift:10:7: note: generic class 'RawThreadKey' does not conform to the 'Sendable' protocol
 8 | import Foundation
 9 |
10 | class RawThreadKey<Value> {
   |       `- note: generic class 'RawThreadKey' does not conform to the 'Sendable' protocol
11 |
12 |     private var pthreadKey: pthread_key_t
[536/540] Compiling Stitcher DefaultValueProviding.swift
/host/spi-builder-workspace/Sources/Stitcher/Threads/ThreadIdentifierThreadValuesKey.swift:11:16: warning: static property 'rawThreadKey' is not concurrency-safe because non-'Sendable' type 'RawThreadKey<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | struct ThreadIdentifierThreadValuesKey: ThreadValuesKey {
11 |     static let rawThreadKey = RawThreadKey<Int>()
   |                |- warning: static property 'rawThreadKey' is not concurrency-safe because non-'Sendable' type 'RawThreadKey<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'rawThreadKey' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 |     static var defaultValue: Int {
/host/spi-builder-workspace/Sources/Stitcher/Threads/RawThreadKey.swift:10:7: note: generic class 'RawThreadKey' does not conform to the 'Sendable' protocol
 8 | import Foundation
 9 |
10 | class RawThreadKey<Value> {
   |       `- note: generic class 'RawThreadKey' does not conform to the 'Sendable' protocol
11 |
12 |     private var pthreadKey: pthread_key_t
[537/540] Compiling Stitcher Extensions.swift
/host/spi-builder-workspace/Sources/Stitcher/Threads/ThreadIdentifierThreadValuesKey.swift:11:16: warning: static property 'rawThreadKey' is not concurrency-safe because non-'Sendable' type 'RawThreadKey<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | struct ThreadIdentifierThreadValuesKey: ThreadValuesKey {
11 |     static let rawThreadKey = RawThreadKey<Int>()
   |                |- warning: static property 'rawThreadKey' is not concurrency-safe because non-'Sendable' type 'RawThreadKey<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'rawThreadKey' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 |     static var defaultValue: Int {
/host/spi-builder-workspace/Sources/Stitcher/Threads/RawThreadKey.swift:10:7: note: generic class 'RawThreadKey' does not conform to the 'Sendable' protocol
 8 | import Foundation
 9 |
10 | class RawThreadKey<Value> {
   |       `- note: generic class 'RawThreadKey' does not conform to the 'Sendable' protocol
11 |
12 |     private var pthreadKey: pthread_key_t
[538/540] Compiling Stitcher Functions.swift
/host/spi-builder-workspace/Sources/Stitcher/Threads/ThreadIdentifierThreadValuesKey.swift:11:16: warning: static property 'rawThreadKey' is not concurrency-safe because non-'Sendable' type 'RawThreadKey<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | struct ThreadIdentifierThreadValuesKey: ThreadValuesKey {
11 |     static let rawThreadKey = RawThreadKey<Int>()
   |                |- warning: static property 'rawThreadKey' is not concurrency-safe because non-'Sendable' type 'RawThreadKey<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'rawThreadKey' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 |     static var defaultValue: Int {
/host/spi-builder-workspace/Sources/Stitcher/Threads/RawThreadKey.swift:10:7: note: generic class 'RawThreadKey' does not conform to the 'Sendable' protocol
 8 | import Foundation
 9 |
10 | class RawThreadKey<Value> {
   |       `- note: generic class 'RawThreadKey' does not conform to the 'Sendable' protocol
11 |
12 |     private var pthreadKey: pthread_key_t
[539/540] Compiling Stitcher Reference.swift
/host/spi-builder-workspace/Sources/Stitcher/Threads/ThreadIdentifierThreadValuesKey.swift:11:16: warning: static property 'rawThreadKey' is not concurrency-safe because non-'Sendable' type 'RawThreadKey<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | struct ThreadIdentifierThreadValuesKey: ThreadValuesKey {
11 |     static let rawThreadKey = RawThreadKey<Int>()
   |                |- warning: static property 'rawThreadKey' is not concurrency-safe because non-'Sendable' type 'RawThreadKey<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'rawThreadKey' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 |     static var defaultValue: Int {
/host/spi-builder-workspace/Sources/Stitcher/Threads/RawThreadKey.swift:10:7: note: generic class 'RawThreadKey' does not conform to the 'Sendable' protocol
 8 | import Foundation
 9 |
10 | class RawThreadKey<Value> {
   |       `- note: generic class 'RawThreadKey' does not conform to the 'Sendable' protocol
11 |
12 |     private var pthreadKey: pthread_key_t
[540/540] Compiling Stitcher WeakReference.swift
/host/spi-builder-workspace/Sources/Stitcher/Threads/ThreadIdentifierThreadValuesKey.swift:11:16: warning: static property 'rawThreadKey' is not concurrency-safe because non-'Sendable' type 'RawThreadKey<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | struct ThreadIdentifierThreadValuesKey: ThreadValuesKey {
11 |     static let rawThreadKey = RawThreadKey<Int>()
   |                |- warning: static property 'rawThreadKey' is not concurrency-safe because non-'Sendable' type 'RawThreadKey<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'rawThreadKey' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 |     static var defaultValue: Int {
/host/spi-builder-workspace/Sources/Stitcher/Threads/RawThreadKey.swift:10:7: note: generic class 'RawThreadKey' does not conform to the 'Sendable' protocol
 8 | import Foundation
 9 |
10 | class RawThreadKey<Value> {
   |       `- note: generic class 'RawThreadKey' does not conform to the 'Sendable' protocol
11 |
12 |     private var pthreadKey: pthread_key_t
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/110] Compiling OpenCombine ConcurrencyHelpers.swift
[3/110] Compiling OpenCombine Future+Concurrency.swift
[4/112] Emitting module InternalCollectionsUtilities
[5/112] Compiling OpenCombine GENERATED-Publisher+Concurrency.swift
[6/112] Compiling OpenCombine CurrentValueSubject.swift
[7/112] Compiling OpenCombine Cancellable.swift
[8/112] Compiling OpenCombine Codable.swift
[9/112] Compiling OpenCombine CombineIdentifier.swift
[10/112] Compiling OpenCombine AnyCancellable.swift
[11/112] Compiling OpenCombine AnyPublisher.swift
[12/112] Compiling OpenCombine AnySubscriber.swift
[13/112] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[14/112] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[15/112] Compiling OpenCombine ConduitList.swift
[16/112] Compiling OpenCombine DebugHook.swift
[17/112] Compiling OpenCombine GENERATED-RootProtocols.swift
[18/112] Compiling OpenCombine ConduitBase.swift
[19/112] Compiling OpenCombine CustomCombineIdentifierConvertible.swift
[20/112] Compiling OpenCombine Future.swift
[22/144] Compiling HeapModule Heap+Descriptions.swift
[23/266] Compiling HeapModule _HeapNode.swift
[24/319] Compiling HeapModule Heap.swift
[25/319] Compiling BitCollections BitArray+Shifts.swift
[26/319] Compiling BitCollections BitArray+Testing.swift
[27/321] Compiling BitCollections BitArray._UnsafeHandle.swift
[28/321] Compiling BitCollections BitArray.swift
[29/389] Compiling _RopeModule BigString+Chunk.swift
[30/389] Compiling _RopeModule BigString+BidirectionalCollection.swift
[31/389] Compiling _RopeModule BigString+Debugging.swift
[32/389] Compiling _RopeModule BigString+Index.swift
[33/389] Compiling HeapModule Heap+Invariants.swift
[34/389] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[35/389] Compiling HeapModule Heap+UnsafeHandle.swift
[36/389] Compiling _RopeModule Rope+ForEachWhile.swift
[37/389] Compiling _RopeModule Rope+Insert.swift
[38/389] Compiling HashTreeCollections TreeSet+Sequence.swift
[39/389] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[40/389] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[41/389] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[42/389] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[43/389] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[44/389] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[45/389] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[46/399] Emitting module OpenCombine
[47/411] Compiling _RopeModule BigString+Chunk+RopeElement.swift
[48/411] Compiling _RopeModule BigString+Chunk+Splitting.swift
[49/411] Compiling _RopeModule BigString+Ingester.swift
[50/411] Compiling _RopeModule BigString+Invariants.swift
[51/411] Emitting module HeapModule
[52/412] Compiling _RopeModule BigString+CustomStringConvertible.swift
[53/412] Compiling _RopeModule BigString+Equatable.swift
[54/412] Compiling _RopeModule BigString+ExpressibleByStringLiteral.swift
[55/412] Compiling _RopeModule BigString+Hashing.swift
[56/412] Compiling _RopeModule BigString+LosslessStringConvertible.swift
[57/412] Compiling _RopeModule BigString+RangeReplaceableCollection.swift
[58/412] Compiling _RopeModule BigString+Sequence.swift
[59/412] Compiling _RopeModule BigString+TextOutputStream.swift
[60/412] Compiling _RopeModule BigString+Append.swift
[61/412] Compiling _RopeModule BigString+Initializers.swift
[62/412] Compiling _RopeModule BigString+Insert.swift
[64/412] Compiling _RopeModule BigString+Iterators.swift
[65/412] Compiling _RopeModule BigString+Metrics.swift
[66/412] Compiling _RopeModule BigString+Summary.swift
[67/412] Compiling _RopeModule BigString.swift
[68/412] Compiling _RopeModule BigString+Comparable.swift
[69/412] Compiling _RopeModule BigString+CustomDebugStringConvertible.swift
[74/419] Compiling _RopeModule BigString+Builder.swift
[75/419] Compiling _RopeModule BigString+Contents.swift
[80/419] Compiling _RopeModule BigString+Chunk+Append and Insert.swift
[81/419] Compiling _RopeModule BigString+Chunk+Breaks.swift
[82/419] Compiling _RopeModule BigString+Chunk+Counts.swift
[83/419] Compiling _RopeModule BigString+Chunk+Description.swift
[84/419] Compiling _RopeModule BigString+Chunk+Indexing by Characters.swift
[85/419] Compiling _RopeModule BigString+Chunk+Indexing by UTF16.swift
[97/419] Compiling _RopeModule BigString+Managing Breaks.swift
[98/419] Compiling _RopeModule BigString+RemoveSubrange.swift
[99/419] Compiling _RopeModule BigString+ReplaceSubrange.swift
[100/419] Compiling _RopeModule BigString+Split.swift
[101/419] Compiling _RopeModule Range+BigString.swift
[102/426] Compiling _RopeModule BigString+UnicodeScalarView.swift
[103/426] Compiling _RopeModule BigSubstring+UTF16View.swift
[104/426] Compiling _RopeModule BigSubstring+UTF8View.swift
[105/426] Compiling _RopeModule BigSubstring+UnicodeScalarView.swift
[106/426] Compiling _RopeModule BigSubstring.swift
[107/426] Compiling _RopeModule Rope+Builder.swift
[108/426] Compiling _RopeModule Rope+Debugging.swift
[109/426] Compiling _RopeModule Rope+Invariants.swift
[110/426] Compiling _RopeModule Rope+_Node.swift
[111/426] Compiling _RopeModule Rope+_Storage.swift
[112/426] Compiling _RopeModule Rope+_UnmanagedLeaf.swift
[113/426] Compiling _RopeModule Rope+_UnsafeHandle.swift
[114/426] Compiling BitCollections BitSet.Index.swift
[115/426] Compiling BitCollections BitSet._UnsafeHandle.swift
[122/426] Compiling _RopeModule BigString+UTF16View.swift
[123/426] Compiling _RopeModule BigString+UTF8View.swift
[124/426] Compiling BitCollections Range+Utilities.swift
[125/426] Compiling BitCollections Slice+Utilities.swift
[126/426] Compiling BitCollections UInt+Tricks.swift
[127/426] Compiling BitCollections _Word.swift
[128/426] Compiling OrderedCollections OrderedSet.swift
[129/426] Compiling OrderedCollections _UnsafeBitset.swift
[130/426] Compiling _RopeModule Rope+Sequence.swift
[131/426] Compiling _RopeModule Rope+Append.swift
[132/426] Compiling _RopeModule Rope+Extract.swift
[133/426] Compiling _RopeModule Rope+Find.swift
[152/426] Compiling BitCollections BitSet.swift
[157/426] Emitting module DequeModule
[167/427] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[168/427] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[169/427] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[170/427] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[171/427] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[172/427] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[173/427] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[174/427] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[175/427] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[176/427] Compiling HashTreeCollections TreeSet.swift
[212/427] Compiling OpenCombine Result.swift
[213/427] Compiling OpenCombine Scheduler.swift
[214/427] Compiling OpenCombine Subject+Void.swift
[215/427] Compiling OpenCombine Subscriber+Void.swift
[216/427] Compiling OpenCombine Subscribers.Assign.swift
[217/427] Compiling OpenCombine Subscribers.Completion.swift
[218/427] Compiling OpenCombine Subscribers.Demand.swift
[219/427] Compiling OpenCombine Subscribers.Sink.swift
[220/427] Compiling OpenCombine Subscribers.swift
[221/427] Compiling OpenCombine Subscription.swift
[222/427] Compiling OpenCombine Subscriptions.swift
[223/427] Compiling OpenCombine _Introspection.swift
[224/427] Emitting module OrderedCollections
[301/428] Emitting module BitCollections
[373/438] Emitting module _RopeModule
[374/438] Emitting module HashTreeCollections
[383/439] Compiling OpenCombine Publishers.Print.swift
[384/439] Compiling OpenCombine Publishers.ReceiveOn.swift
[385/439] Compiling OpenCombine Publishers.Reduce.swift
[386/439] Compiling OpenCombine Publishers.RemoveDuplicates.swift
[387/439] Compiling OpenCombine Publishers.ReplaceEmpty.swift
[388/439] Compiling OpenCombine Publishers.ReplaceError.swift
[391/439] Compiling _RopeModule Rope+Join.swift
[392/439] Compiling _RopeModule Rope+MutatingForEach.swift
[393/439] Compiling _RopeModule Rope+Remove.swift
[394/439] Compiling _RopeModule Rope+RemoveSubrange.swift
[395/439] Compiling _RopeModule Rope+Split.swift
[396/439] Compiling _RopeModule Optional Utilities.swift
[397/439] Compiling _RopeModule String Utilities.swift
[398/439] Compiling _RopeModule String.Index+ABI.swift
[399/439] Compiling _RopeModule _CharacterRecognizer.swift
[442/445] Compiling Collections Collections.swift
[443/445] Emitting module Collections
[445/446] Compiling OpenCombineDispatch DispatchQueue+Scheduler.swift
[446/446] Emitting module OpenCombineDispatch
[448/518] Emitting module Stitcher
[449/518] Compiling Stitcher InstanceStorageFactory.swift
/host/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:37:31: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
 35 |
 36 |         private static var defaultQueueCount: Int {
 37 |             let processInfo = ProcessInfo()
    |                               `- error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
 38 |             return processInfo.processorCount - 1
 39 |         }
FoundationEssentials.ProcessInfo.init:2:10: note: 'init()' declared here
1 | class ProcessInfo {
2 | internal init()}
  |          `- note: 'init()' declared here
3 |
[450/518] Compiling Stitcher InstanceStorageKey.swift
/host/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:37:31: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
 35 |
 36 |         private static var defaultQueueCount: Int {
 37 |             let processInfo = ProcessInfo()
    |                               `- error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
 38 |             return processInfo.processorCount - 1
 39 |         }
FoundationEssentials.ProcessInfo.init:2:10: note: 'init()' declared here
1 | class ProcessInfo {
2 | internal init()}
  |          `- note: 'init()' declared here
3 |
[451/518] Compiling Stitcher AnyPipeline.swift
/host/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:37:31: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
 35 |
 36 |         private static var defaultQueueCount: Int {
 37 |             let processInfo = ProcessInfo()
    |                               `- error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
 38 |             return processInfo.processorCount - 1
 39 |         }
FoundationEssentials.ProcessInfo.init:2:10: note: 'init()' declared here
1 | class ProcessInfo {
2 | internal init()}
  |          `- note: 'init()' declared here
3 |
[452/518] Compiling Stitcher AnyPipelineCancellable.swift
/host/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:37:31: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
 35 |
 36 |         private static var defaultQueueCount: Int {
 37 |             let processInfo = ProcessInfo()
    |                               `- error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
 38 |             return processInfo.processorCount - 1
 39 |         }
FoundationEssentials.ProcessInfo.init:2:10: note: 'init()' declared here
1 | class ProcessInfo {
2 | internal init()}
  |          `- note: 'init()' declared here
3 |
[453/518] Compiling Stitcher Pipeline.swift
/host/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:37:31: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
 35 |
 36 |         private static var defaultQueueCount: Int {
 37 |             let processInfo = ProcessInfo()
    |                               `- error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
 38 |             return processInfo.processorCount - 1
 39 |         }
FoundationEssentials.ProcessInfo.init:2:10: note: 'init()' declared here
1 | class ProcessInfo {
2 | internal init()}
  |          `- note: 'init()' declared here
3 |
[454/518] Compiling Stitcher PipelineSubject.swift
/host/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:37:31: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
 35 |
 36 |         private static var defaultQueueCount: Int {
 37 |             let processInfo = ProcessInfo()
    |                               `- error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
 38 |             return processInfo.processorCount - 1
 39 |         }
FoundationEssentials.ProcessInfo.init:2:10: note: 'init()' declared here
1 | class ProcessInfo {
2 | internal init()}
  |          `- note: 'init()' declared here
3 |
[455/518] Compiling Stitcher Stitcher.swift
/host/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:37:31: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
 35 |
 36 |         private static var defaultQueueCount: Int {
 37 |             let processInfo = ProcessInfo()
    |                               `- error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
 38 |             return processInfo.processorCount - 1
 39 |         }
FoundationEssentials.ProcessInfo.init:2:10: note: 'init()' declared here
1 | class ProcessInfo {
2 | internal init()}
  |          `- note: 'init()' declared here
3 |
[456/518] Compiling Stitcher AsyncTask.swift
/host/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:37:31: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
 35 |
 36 |         private static var defaultQueueCount: Int {
 37 |             let processInfo = ProcessInfo()
    |                               `- error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
 38 |             return processInfo.processorCount - 1
 39 |         }
FoundationEssentials.ProcessInfo.init:2:10: note: 'init()' declared here
1 | class ProcessInfo {
2 | internal init()}
  |          `- note: 'init()' declared here
3 |
[457/518] Compiling Stitcher CancellableTask.swift
/host/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:37:31: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
 35 |
 36 |         private static var defaultQueueCount: Int {
 37 |             let processInfo = ProcessInfo()
    |                               `- error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
 38 |             return processInfo.processorCount - 1
 39 |         }
FoundationEssentials.ProcessInfo.init:2:10: note: 'init()' declared here
1 | class ProcessInfo {
2 | internal init()}
  |          `- note: 'init()' declared here
3 |
[458/518] Compiling Stitcher RawThreadKey.swift
/host/spi-builder-workspace/Sources/Stitcher/Task/AsyncTask.swift:37:31: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
 35 |
 36 |         private static var defaultQueueCount: Int {
 37 |             let processInfo = ProcessInfo()
    |                               `- error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
 38 |             return processInfo.processorCount - 1
 39 |         }
FoundationEssentials.ProcessInfo.init:2:10: note: 'init()' declared here
1 | class ProcessInfo {
2 | internal init()}
  |          `- note: 'init()' declared here
3 |
[459/528] Compiling Stitcher AutoregisterableDependencyCodeGenerator.swift
[460/528] Compiling Stitcher NameInjectionCodeGenerator.swift
[461/528] Compiling Stitcher TestInjectionCodeGenerator.swift
[462/528] Compiling Stitcher TypeInjectionCodeGenerator.swift
[463/528] Compiling Stitcher InjectionCodeGenerator.swift
[464/528] Compiling Stitcher InjectionCodeGenerators.swift
[465/528] Compiling Stitcher StitcherConfiguration.swift
[466/528] Compiling Stitcher DependencyContainer.swift
[467/528] Compiling Stitcher DependencyFactory+Function.swift
[468/528] Compiling Stitcher DependencyFactory.swift
[469/528] Compiling Stitcher RawThreadKeyError.swift
[470/528] Compiling Stitcher ThreadIdentifierThreadValuesKey.swift
[471/528] Compiling Stitcher ThreadLocal.swift
[472/528] Compiling Stitcher ThreadValues.swift
[473/528] Compiling Stitcher ThreadValuesKey.swift
[474/528] Compiling Stitcher DefaultValueProviding.swift
[475/528] Compiling Stitcher Extensions.swift
[476/528] Compiling Stitcher Functions.swift
[477/528] Compiling Stitcher Reference.swift
[478/528] Compiling Stitcher WeakReference.swift
[479/528] Compiling Stitcher DependencyGroup.swift
[480/528] Compiling Stitcher DependencyRegistrarBuilder.swift
[481/528] Compiling Stitcher RawDependencyRegistration.swift
[482/528] Compiling Stitcher DependencyGroupRepresenting.swift
[483/528] Compiling Stitcher DependencyRepresenting.swift
[484/528] Compiling Stitcher ManagedSingletonInstanceStorage.swift
[485/528] Compiling Stitcher NeverInstanceStorage.swift
[486/528] Compiling Stitcher SharedInstanceStorage.swift
[487/528] Compiling Stitcher SingletonInstanceStorage.swift
[488/528] Compiling Stitcher InstanceStorage.swift
[489/528] Compiling Stitcher 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 |         }
[490/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 |         }
[491/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 |         }
[492/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 |         }
[493/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 |         }
[494/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 |         }
[495/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 |         }
[496/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 |         }
[497/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 |         }
[498/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 |         }
[499/528] Compiling Stitcher TypeName.swift
[500/528] Compiling Stitcher Atomic.swift
[501/528] Compiling Stitcher Dependencies.swift
[502/528] Compiling Stitcher Injected+Init.swift
[503/528] Compiling Stitcher Injected.swift
[504/528] Compiling Stitcher AutoregisterableDependency.swift
[505/528] Compiling Stitcher GeneratedDependencyRegistration.swift
[506/528] Compiling Stitcher RegisterableDependency.swift
[507/528] Compiling Stitcher DependenciesRegistrar.swift
[508/528] Compiling Stitcher Dependency.swift
[509/528] 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 |
[510/528] 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 |
[511/528] 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 |
[512/528] 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 |
[513/528] 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 |
[514/528] 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 |
[515/528] 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 |
[516/528] 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 |
[517/528] 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 |
[518/528] 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 |
[519/528] Compiling Stitcher InstantionNotificationCenter.swift
[520/528] Compiling Stitcher PostInstantiationAware.swift
[521/528] Compiling Stitcher DependencyCycleDetector.swift
[522/528] Compiling Stitcher DependencyCycleInstantationBacktrace.swift
[523/528] Compiling Stitcher DependencyGraph+Assertions.swift
[524/528] Compiling Stitcher DependencyGraph+NameInjection.swift
[525/528] Compiling Stitcher DependencyGraph+TypeInjection.swift
[526/528] Compiling Stitcher DependencyGraph+ValueInjection.swift
[527/528] Compiling Stitcher DependencyGraph.swift
[528/528] Compiling Stitcher DependencyRegistrarIndex.swift
BUILD FAILURE 6.1 linux