Build Information
Failed to build Stitcher, reference v1.1.0 (d13eba
), with Swift 6.0 for Linux on 5 Nov 2024 05:05:15 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
|1 | fileprivate static let $instantiationBacktrace: TaskLocal<OrderedSet<DependencyLocator>> = TaskLocal(wrappedValue: [])
| | `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
macro expansion @TaskLocal:1:92: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | fileprivate static let $instantiationBacktrace: TaskLocal<OrderedSet<DependencyLocator>> = TaskLocal(wrappedValue: [])
| | `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:44:28: warning: static property 'instantiationBacktrace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | @ThreadLocal
44 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
| |- warning: static property 'instantiationBacktrace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instantiationBacktrace' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'instantiationBacktrace' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 |
46 | fileprivate static func preventCycle(
macro expansion @TaskLocal:3:33: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | {
|2 | get {
|3 | $instantiationBacktrace.get()
| | `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
|4 | }
|5 | }
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:35:37: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
33 | instantiation: () throws -> Result
34 | ) throws -> Result {
35 | try $instantiationBacktrace.withValue(instantiationBacktrace.inserting(locator)) {
| `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
36 | try instantiation()
37 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:20:24: warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | @Atomic
20 | private static var initialized = false
| |- warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'initialized' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'initialized' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | @Atomic
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:23:24: warning: static property 'activeContainers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | @Atomic
23 | private static var activeContainers: OrderedDictionary<DependencyContainer.ID, IndexedDependencyContainer> = [:]
| |- warning: static property 'activeContainers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'activeContainers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'activeContainers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | @Atomic
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:26:24: warning: static property 'instanceStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | @Atomic
26 | private static var instanceStorage: [InstanceStorageKey : AnyInstanceStorage] = [:]
| |- warning: static property 'instanceStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instanceStorage' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'instanceStorage' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | @Atomic
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:29:24: warning: static property 'subscriptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | @Atomic
29 | private static var subscriptions: [DependencyContainer.ID : AnyPipelineCancellable] = [:]
| |- warning: static property 'subscriptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'subscriptions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'subscriptions' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | private static let graphChangedSubject = PipelineSubject<Void>()
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:31:24: warning: static property 'graphChangedSubject' is not concurrency-safe because non-'Sendable' type 'PipelineSubject<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
29 | private static var subscriptions: [DependencyContainer.ID : AnyPipelineCancellable] = [:]
30 |
31 | private static let graphChangedSubject = PipelineSubject<Void>()
| |- warning: static property 'graphChangedSubject' is not concurrency-safe because non-'Sendable' type 'PipelineSubject<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'graphChangedSubject' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | static var graphChangedPipeline: AnyPipeline<Void> {
/host/spi-builder-workspace/Sources/Stitcher/ReactivePipeline/PipelineSubject.swift:15:7: note: generic class 'PipelineSubject' does not conform to the 'Sendable' protocol
13 | #endif
14 |
15 | class PipelineSubject<Output>: Pipeline {
| `- note: generic class 'PipelineSubject' does not conform to the 'Sendable' protocol
16 |
17 | private let provider: AnyObject
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:37:16: warning: static property 'instantionNotificationCenter' is not concurrency-safe because non-'Sendable' type 'InstantionNotificationCenter' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | static let instantionNotificationCenter = InstantionNotificationCenter()
| |- warning: static property 'instantionNotificationCenter' is not concurrency-safe because non-'Sendable' type 'InstantionNotificationCenter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instantionNotificationCenter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | private static let storageCleaner = StorageCleaner {
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Factory/InstantionNotificationCenter.swift:10:13: note: class 'InstantionNotificationCenter' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | final class InstantionNotificationCenter {
| `- note: class 'InstantionNotificationCenter' does not conform to the 'Sendable' protocol
11 |
12 | @Atomic
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:39:24: warning: static property 'storageCleaner' is not concurrency-safe because non-'Sendable' type 'StorageCleaner' may have shared mutable state; this is an error in the Swift 6 language mode
37 | static let instantionNotificationCenter = InstantionNotificationCenter()
38 |
39 | private static let storageCleaner = StorageCleaner {
| |- warning: static property 'storageCleaner' is not concurrency-safe because non-'Sendable' type 'StorageCleaner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'storageCleaner' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | releaseUnusedStorage()
41 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/StorageCleaner/StorageCleaner.swift:20:7: note: class 'StorageCleaner' does not conform to the 'Sendable' protocol
18 | #endif
19 |
20 | class StorageCleaner {
| `- note: class 'StorageCleaner' does not conform to the 'Sendable' protocol
21 |
22 | private var cleanupHandler: @Sendable () -> Void
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyParameters.swift:149:16: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'DependencyParameters' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | struct DependencyParameters: Hashable {
| `- note: consider making struct 'DependencyParameters' conform to the 'Sendable' protocol
11 |
12 | struct Requirement: Hashable {
:
147 | }
148 |
149 | static let none = DependencyParameters()
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'DependencyParameters' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 | }
151 |
[532/540] Compiling Stitcher PostInstantiationAware.swift
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Factory/InstantionNotificationCenter.swift:45:33: warning: capture of 'pendingNotifications' with non-sendable type '[AnyPostInstantiationAware]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
43 |
44 | AsyncTask(priority: .medium) {
45 | for notification in pendingNotifications {
| `- warning: capture of 'pendingNotifications' with non-sendable type '[AnyPostInstantiationAware]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
46 | notification.didInstantiate()
47 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Factory/PostInstantiationAware.swift:16:8: note: consider making struct 'AnyPostInstantiationAware' conform to the 'Sendable' protocol
14 | }
15 |
16 | struct AnyPostInstantiationAware: PostInstantiationAware {
| `- note: consider making struct 'AnyPostInstantiationAware' conform to the 'Sendable' protocol
17 |
18 | private let _didInstantiate: () -> Void
macro expansion @TaskLocal:1:24: warning: static property '$instantiationBacktrace' is not concurrency-safe because non-'Sendable' type 'TaskLocal<OrderedSet<DependencyLocator>>' may have shared mutable state; this is an error in the Swift 6 language mode
`- /host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | fileprivate static let $instantiationBacktrace: TaskLocal<OrderedSet<DependencyLocator>> = TaskLocal(wrappedValue: [])
| | |- warning: static property '$instantiationBacktrace' is not concurrency-safe because non-'Sendable' type 'TaskLocal<OrderedSet<DependencyLocator>>' may have shared mutable state; this is an error in the Swift 6 language mode
| | |- note: annotate '$instantiationBacktrace' with '@MainActor' if property should only be accessed from the main actor
| | `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
macro expansion @TaskLocal:1:24: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | fileprivate static let $instantiationBacktrace: TaskLocal<OrderedSet<DependencyLocator>> = TaskLocal(wrappedValue: [])
| | `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
macro expansion @TaskLocal:1:92: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | fileprivate static let $instantiationBacktrace: TaskLocal<OrderedSet<DependencyLocator>> = TaskLocal(wrappedValue: [])
| | `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
macro expansion @TaskLocal:1:92: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | fileprivate static let $instantiationBacktrace: TaskLocal<OrderedSet<DependencyLocator>> = TaskLocal(wrappedValue: [])
| | `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:44:28: warning: static property 'instantiationBacktrace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | @ThreadLocal
44 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
| |- warning: static property 'instantiationBacktrace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instantiationBacktrace' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'instantiationBacktrace' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 |
46 | fileprivate static func preventCycle(
macro expansion @TaskLocal:3:33: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | {
|2 | get {
|3 | $instantiationBacktrace.get()
| | `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
|4 | }
|5 | }
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:35:37: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
33 | instantiation: () throws -> Result
34 | ) throws -> Result {
35 | try $instantiationBacktrace.withValue(instantiationBacktrace.inserting(locator)) {
| `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
36 | try instantiation()
37 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:20:24: warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | @Atomic
20 | private static var initialized = false
| |- warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'initialized' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'initialized' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | @Atomic
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:23:24: warning: static property 'activeContainers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | @Atomic
23 | private static var activeContainers: OrderedDictionary<DependencyContainer.ID, IndexedDependencyContainer> = [:]
| |- warning: static property 'activeContainers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'activeContainers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'activeContainers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | @Atomic
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:26:24: warning: static property 'instanceStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | @Atomic
26 | private static var instanceStorage: [InstanceStorageKey : AnyInstanceStorage] = [:]
| |- warning: static property 'instanceStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instanceStorage' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'instanceStorage' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | @Atomic
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:29:24: warning: static property 'subscriptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | @Atomic
29 | private static var subscriptions: [DependencyContainer.ID : AnyPipelineCancellable] = [:]
| |- warning: static property 'subscriptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'subscriptions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'subscriptions' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | private static let graphChangedSubject = PipelineSubject<Void>()
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:31:24: warning: static property 'graphChangedSubject' is not concurrency-safe because non-'Sendable' type 'PipelineSubject<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
29 | private static var subscriptions: [DependencyContainer.ID : AnyPipelineCancellable] = [:]
30 |
31 | private static let graphChangedSubject = PipelineSubject<Void>()
| |- warning: static property 'graphChangedSubject' is not concurrency-safe because non-'Sendable' type 'PipelineSubject<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'graphChangedSubject' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | static var graphChangedPipeline: AnyPipeline<Void> {
/host/spi-builder-workspace/Sources/Stitcher/ReactivePipeline/PipelineSubject.swift:15:7: note: generic class 'PipelineSubject' does not conform to the 'Sendable' protocol
13 | #endif
14 |
15 | class PipelineSubject<Output>: Pipeline {
| `- note: generic class 'PipelineSubject' does not conform to the 'Sendable' protocol
16 |
17 | private let provider: AnyObject
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:37:16: warning: static property 'instantionNotificationCenter' is not concurrency-safe because non-'Sendable' type 'InstantionNotificationCenter' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | static let instantionNotificationCenter = InstantionNotificationCenter()
| |- warning: static property 'instantionNotificationCenter' is not concurrency-safe because non-'Sendable' type 'InstantionNotificationCenter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instantionNotificationCenter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | private static let storageCleaner = StorageCleaner {
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Factory/InstantionNotificationCenter.swift:10:13: note: class 'InstantionNotificationCenter' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | final class InstantionNotificationCenter {
| `- note: class 'InstantionNotificationCenter' does not conform to the 'Sendable' protocol
11 |
12 | @Atomic
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:39:24: warning: static property 'storageCleaner' is not concurrency-safe because non-'Sendable' type 'StorageCleaner' may have shared mutable state; this is an error in the Swift 6 language mode
37 | static let instantionNotificationCenter = InstantionNotificationCenter()
38 |
39 | private static let storageCleaner = StorageCleaner {
| |- warning: static property 'storageCleaner' is not concurrency-safe because non-'Sendable' type 'StorageCleaner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'storageCleaner' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | releaseUnusedStorage()
41 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/StorageCleaner/StorageCleaner.swift:20:7: note: class 'StorageCleaner' does not conform to the 'Sendable' protocol
18 | #endif
19 |
20 | class StorageCleaner {
| `- note: class 'StorageCleaner' does not conform to the 'Sendable' protocol
21 |
22 | private var cleanupHandler: @Sendable () -> Void
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyParameters.swift:149:16: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'DependencyParameters' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | struct DependencyParameters: Hashable {
| `- note: consider making struct 'DependencyParameters' conform to the 'Sendable' protocol
11 |
12 | struct Requirement: Hashable {
:
147 | }
148 |
149 | static let none = DependencyParameters()
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'DependencyParameters' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 | }
151 |
[533/540] Compiling Stitcher DependencyCycleDetector.swift
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Factory/InstantionNotificationCenter.swift:45:33: warning: capture of 'pendingNotifications' with non-sendable type '[AnyPostInstantiationAware]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
43 |
44 | AsyncTask(priority: .medium) {
45 | for notification in pendingNotifications {
| `- warning: capture of 'pendingNotifications' with non-sendable type '[AnyPostInstantiationAware]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
46 | notification.didInstantiate()
47 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Factory/PostInstantiationAware.swift:16:8: note: consider making struct 'AnyPostInstantiationAware' conform to the 'Sendable' protocol
14 | }
15 |
16 | struct AnyPostInstantiationAware: PostInstantiationAware {
| `- note: consider making struct 'AnyPostInstantiationAware' conform to the 'Sendable' protocol
17 |
18 | private let _didInstantiate: () -> Void
macro expansion @TaskLocal:1:24: warning: static property '$instantiationBacktrace' is not concurrency-safe because non-'Sendable' type 'TaskLocal<OrderedSet<DependencyLocator>>' may have shared mutable state; this is an error in the Swift 6 language mode
`- /host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | fileprivate static let $instantiationBacktrace: TaskLocal<OrderedSet<DependencyLocator>> = TaskLocal(wrappedValue: [])
| | |- warning: static property '$instantiationBacktrace' is not concurrency-safe because non-'Sendable' type 'TaskLocal<OrderedSet<DependencyLocator>>' may have shared mutable state; this is an error in the Swift 6 language mode
| | |- note: annotate '$instantiationBacktrace' with '@MainActor' if property should only be accessed from the main actor
| | `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
macro expansion @TaskLocal:1:24: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | fileprivate static let $instantiationBacktrace: TaskLocal<OrderedSet<DependencyLocator>> = TaskLocal(wrappedValue: [])
| | `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
macro expansion @TaskLocal:1:92: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | fileprivate static let $instantiationBacktrace: TaskLocal<OrderedSet<DependencyLocator>> = TaskLocal(wrappedValue: [])
| | `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
macro expansion @TaskLocal:1:92: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | fileprivate static let $instantiationBacktrace: TaskLocal<OrderedSet<DependencyLocator>> = TaskLocal(wrappedValue: [])
| | `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:44:28: warning: static property 'instantiationBacktrace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | @ThreadLocal
44 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
| |- warning: static property 'instantiationBacktrace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instantiationBacktrace' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'instantiationBacktrace' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 |
46 | fileprivate static func preventCycle(
macro expansion @TaskLocal:3:33: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | {
|2 | get {
|3 | $instantiationBacktrace.get()
| | `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
|4 | }
|5 | }
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:35:37: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
33 | instantiation: () throws -> Result
34 | ) throws -> Result {
35 | try $instantiationBacktrace.withValue(instantiationBacktrace.inserting(locator)) {
| `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
36 | try instantiation()
37 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:20:24: warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | @Atomic
20 | private static var initialized = false
| |- warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'initialized' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'initialized' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | @Atomic
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:23:24: warning: static property 'activeContainers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | @Atomic
23 | private static var activeContainers: OrderedDictionary<DependencyContainer.ID, IndexedDependencyContainer> = [:]
| |- warning: static property 'activeContainers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'activeContainers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'activeContainers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | @Atomic
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:26:24: warning: static property 'instanceStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | @Atomic
26 | private static var instanceStorage: [InstanceStorageKey : AnyInstanceStorage] = [:]
| |- warning: static property 'instanceStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instanceStorage' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'instanceStorage' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | @Atomic
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:29:24: warning: static property 'subscriptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | @Atomic
29 | private static var subscriptions: [DependencyContainer.ID : AnyPipelineCancellable] = [:]
| |- warning: static property 'subscriptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'subscriptions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'subscriptions' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | private static let graphChangedSubject = PipelineSubject<Void>()
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:31:24: warning: static property 'graphChangedSubject' is not concurrency-safe because non-'Sendable' type 'PipelineSubject<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
29 | private static var subscriptions: [DependencyContainer.ID : AnyPipelineCancellable] = [:]
30 |
31 | private static let graphChangedSubject = PipelineSubject<Void>()
| |- warning: static property 'graphChangedSubject' is not concurrency-safe because non-'Sendable' type 'PipelineSubject<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'graphChangedSubject' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | static var graphChangedPipeline: AnyPipeline<Void> {
/host/spi-builder-workspace/Sources/Stitcher/ReactivePipeline/PipelineSubject.swift:15:7: note: generic class 'PipelineSubject' does not conform to the 'Sendable' protocol
13 | #endif
14 |
15 | class PipelineSubject<Output>: Pipeline {
| `- note: generic class 'PipelineSubject' does not conform to the 'Sendable' protocol
16 |
17 | private let provider: AnyObject
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:37:16: warning: static property 'instantionNotificationCenter' is not concurrency-safe because non-'Sendable' type 'InstantionNotificationCenter' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | static let instantionNotificationCenter = InstantionNotificationCenter()
| |- warning: static property 'instantionNotificationCenter' is not concurrency-safe because non-'Sendable' type 'InstantionNotificationCenter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instantionNotificationCenter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | private static let storageCleaner = StorageCleaner {
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Factory/InstantionNotificationCenter.swift:10:13: note: class 'InstantionNotificationCenter' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | final class InstantionNotificationCenter {
| `- note: class 'InstantionNotificationCenter' does not conform to the 'Sendable' protocol
11 |
12 | @Atomic
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:39:24: warning: static property 'storageCleaner' is not concurrency-safe because non-'Sendable' type 'StorageCleaner' may have shared mutable state; this is an error in the Swift 6 language mode
37 | static let instantionNotificationCenter = InstantionNotificationCenter()
38 |
39 | private static let storageCleaner = StorageCleaner {
| |- warning: static property 'storageCleaner' is not concurrency-safe because non-'Sendable' type 'StorageCleaner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'storageCleaner' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | releaseUnusedStorage()
41 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/StorageCleaner/StorageCleaner.swift:20:7: note: class 'StorageCleaner' does not conform to the 'Sendable' protocol
18 | #endif
19 |
20 | class StorageCleaner {
| `- note: class 'StorageCleaner' does not conform to the 'Sendable' protocol
21 |
22 | private var cleanupHandler: @Sendable () -> Void
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyParameters.swift:149:16: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'DependencyParameters' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | struct DependencyParameters: Hashable {
| `- note: consider making struct 'DependencyParameters' conform to the 'Sendable' protocol
11 |
12 | struct Requirement: Hashable {
:
147 | }
148 |
149 | static let none = DependencyParameters()
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'DependencyParameters' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 | }
151 |
[534/540] Compiling Stitcher DependencyCycleInstantationBacktrace.swift
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Factory/InstantionNotificationCenter.swift:45:33: warning: capture of 'pendingNotifications' with non-sendable type '[AnyPostInstantiationAware]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
43 |
44 | AsyncTask(priority: .medium) {
45 | for notification in pendingNotifications {
| `- warning: capture of 'pendingNotifications' with non-sendable type '[AnyPostInstantiationAware]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
46 | notification.didInstantiate()
47 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Factory/PostInstantiationAware.swift:16:8: note: consider making struct 'AnyPostInstantiationAware' conform to the 'Sendable' protocol
14 | }
15 |
16 | struct AnyPostInstantiationAware: PostInstantiationAware {
| `- note: consider making struct 'AnyPostInstantiationAware' conform to the 'Sendable' protocol
17 |
18 | private let _didInstantiate: () -> Void
macro expansion @TaskLocal:1:24: warning: static property '$instantiationBacktrace' is not concurrency-safe because non-'Sendable' type 'TaskLocal<OrderedSet<DependencyLocator>>' may have shared mutable state; this is an error in the Swift 6 language mode
`- /host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | fileprivate static let $instantiationBacktrace: TaskLocal<OrderedSet<DependencyLocator>> = TaskLocal(wrappedValue: [])
| | |- warning: static property '$instantiationBacktrace' is not concurrency-safe because non-'Sendable' type 'TaskLocal<OrderedSet<DependencyLocator>>' may have shared mutable state; this is an error in the Swift 6 language mode
| | |- note: annotate '$instantiationBacktrace' with '@MainActor' if property should only be accessed from the main actor
| | `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
macro expansion @TaskLocal:1:24: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | fileprivate static let $instantiationBacktrace: TaskLocal<OrderedSet<DependencyLocator>> = TaskLocal(wrappedValue: [])
| | `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
macro expansion @TaskLocal:1:92: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | fileprivate static let $instantiationBacktrace: TaskLocal<OrderedSet<DependencyLocator>> = TaskLocal(wrappedValue: [])
| | `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
macro expansion @TaskLocal:1:92: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | fileprivate static let $instantiationBacktrace: TaskLocal<OrderedSet<DependencyLocator>> = TaskLocal(wrappedValue: [])
| | `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:44:28: warning: static property 'instantiationBacktrace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | @ThreadLocal
44 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
| |- warning: static property 'instantiationBacktrace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instantiationBacktrace' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'instantiationBacktrace' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 |
46 | fileprivate static func preventCycle(
macro expansion @TaskLocal:3:33: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | {
|2 | get {
|3 | $instantiationBacktrace.get()
| | `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
|4 | }
|5 | }
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:35:37: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
33 | instantiation: () throws -> Result
34 | ) throws -> Result {
35 | try $instantiationBacktrace.withValue(instantiationBacktrace.inserting(locator)) {
| `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
36 | try instantiation()
37 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:20:24: warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | @Atomic
20 | private static var initialized = false
| |- warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'initialized' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'initialized' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | @Atomic
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:23:24: warning: static property 'activeContainers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | @Atomic
23 | private static var activeContainers: OrderedDictionary<DependencyContainer.ID, IndexedDependencyContainer> = [:]
| |- warning: static property 'activeContainers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'activeContainers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'activeContainers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | @Atomic
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:26:24: warning: static property 'instanceStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | @Atomic
26 | private static var instanceStorage: [InstanceStorageKey : AnyInstanceStorage] = [:]
| |- warning: static property 'instanceStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instanceStorage' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'instanceStorage' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | @Atomic
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:29:24: warning: static property 'subscriptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | @Atomic
29 | private static var subscriptions: [DependencyContainer.ID : AnyPipelineCancellable] = [:]
| |- warning: static property 'subscriptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'subscriptions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'subscriptions' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | private static let graphChangedSubject = PipelineSubject<Void>()
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:31:24: warning: static property 'graphChangedSubject' is not concurrency-safe because non-'Sendable' type 'PipelineSubject<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
29 | private static var subscriptions: [DependencyContainer.ID : AnyPipelineCancellable] = [:]
30 |
31 | private static let graphChangedSubject = PipelineSubject<Void>()
| |- warning: static property 'graphChangedSubject' is not concurrency-safe because non-'Sendable' type 'PipelineSubject<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'graphChangedSubject' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | static var graphChangedPipeline: AnyPipeline<Void> {
/host/spi-builder-workspace/Sources/Stitcher/ReactivePipeline/PipelineSubject.swift:15:7: note: generic class 'PipelineSubject' does not conform to the 'Sendable' protocol
13 | #endif
14 |
15 | class PipelineSubject<Output>: Pipeline {
| `- note: generic class 'PipelineSubject' does not conform to the 'Sendable' protocol
16 |
17 | private let provider: AnyObject
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:37:16: warning: static property 'instantionNotificationCenter' is not concurrency-safe because non-'Sendable' type 'InstantionNotificationCenter' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | static let instantionNotificationCenter = InstantionNotificationCenter()
| |- warning: static property 'instantionNotificationCenter' is not concurrency-safe because non-'Sendable' type 'InstantionNotificationCenter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instantionNotificationCenter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | private static let storageCleaner = StorageCleaner {
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Factory/InstantionNotificationCenter.swift:10:13: note: class 'InstantionNotificationCenter' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | final class InstantionNotificationCenter {
| `- note: class 'InstantionNotificationCenter' does not conform to the 'Sendable' protocol
11 |
12 | @Atomic
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:39:24: warning: static property 'storageCleaner' is not concurrency-safe because non-'Sendable' type 'StorageCleaner' may have shared mutable state; this is an error in the Swift 6 language mode
37 | static let instantionNotificationCenter = InstantionNotificationCenter()
38 |
39 | private static let storageCleaner = StorageCleaner {
| |- warning: static property 'storageCleaner' is not concurrency-safe because non-'Sendable' type 'StorageCleaner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'storageCleaner' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | releaseUnusedStorage()
41 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/StorageCleaner/StorageCleaner.swift:20:7: note: class 'StorageCleaner' does not conform to the 'Sendable' protocol
18 | #endif
19 |
20 | class StorageCleaner {
| `- note: class 'StorageCleaner' does not conform to the 'Sendable' protocol
21 |
22 | private var cleanupHandler: @Sendable () -> Void
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyParameters.swift:149:16: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'DependencyParameters' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | struct DependencyParameters: Hashable {
| `- note: consider making struct 'DependencyParameters' conform to the 'Sendable' protocol
11 |
12 | struct Requirement: Hashable {
:
147 | }
148 |
149 | static let none = DependencyParameters()
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'DependencyParameters' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 | }
151 |
[535/540] Compiling Stitcher DependencyGraph+Assertions.swift
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Factory/InstantionNotificationCenter.swift:45:33: warning: capture of 'pendingNotifications' with non-sendable type '[AnyPostInstantiationAware]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
43 |
44 | AsyncTask(priority: .medium) {
45 | for notification in pendingNotifications {
| `- warning: capture of 'pendingNotifications' with non-sendable type '[AnyPostInstantiationAware]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
46 | notification.didInstantiate()
47 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Factory/PostInstantiationAware.swift:16:8: note: consider making struct 'AnyPostInstantiationAware' conform to the 'Sendable' protocol
14 | }
15 |
16 | struct AnyPostInstantiationAware: PostInstantiationAware {
| `- note: consider making struct 'AnyPostInstantiationAware' conform to the 'Sendable' protocol
17 |
18 | private let _didInstantiate: () -> Void
macro expansion @TaskLocal:1:24: warning: static property '$instantiationBacktrace' is not concurrency-safe because non-'Sendable' type 'TaskLocal<OrderedSet<DependencyLocator>>' may have shared mutable state; this is an error in the Swift 6 language mode
`- /host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | fileprivate static let $instantiationBacktrace: TaskLocal<OrderedSet<DependencyLocator>> = TaskLocal(wrappedValue: [])
| | |- warning: static property '$instantiationBacktrace' is not concurrency-safe because non-'Sendable' type 'TaskLocal<OrderedSet<DependencyLocator>>' may have shared mutable state; this is an error in the Swift 6 language mode
| | |- note: annotate '$instantiationBacktrace' with '@MainActor' if property should only be accessed from the main actor
| | `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
macro expansion @TaskLocal:1:24: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | fileprivate static let $instantiationBacktrace: TaskLocal<OrderedSet<DependencyLocator>> = TaskLocal(wrappedValue: [])
| | `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
macro expansion @TaskLocal:1:92: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | fileprivate static let $instantiationBacktrace: TaskLocal<OrderedSet<DependencyLocator>> = TaskLocal(wrappedValue: [])
| | `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
macro expansion @TaskLocal:1:92: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | fileprivate static let $instantiationBacktrace: TaskLocal<OrderedSet<DependencyLocator>> = TaskLocal(wrappedValue: [])
| | `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:44:28: warning: static property 'instantiationBacktrace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | @ThreadLocal
44 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
| |- warning: static property 'instantiationBacktrace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instantiationBacktrace' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'instantiationBacktrace' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 |
46 | fileprivate static func preventCycle(
macro expansion @TaskLocal:3:33: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | {
|2 | get {
|3 | $instantiationBacktrace.get()
| | `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
|4 | }
|5 | }
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:35:37: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
33 | instantiation: () throws -> Result
34 | ) throws -> Result {
35 | try $instantiationBacktrace.withValue(instantiationBacktrace.inserting(locator)) {
| `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
36 | try instantiation()
37 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:20:24: warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | @Atomic
20 | private static var initialized = false
| |- warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'initialized' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'initialized' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | @Atomic
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:23:24: warning: static property 'activeContainers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | @Atomic
23 | private static var activeContainers: OrderedDictionary<DependencyContainer.ID, IndexedDependencyContainer> = [:]
| |- warning: static property 'activeContainers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'activeContainers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'activeContainers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | @Atomic
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:26:24: warning: static property 'instanceStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | @Atomic
26 | private static var instanceStorage: [InstanceStorageKey : AnyInstanceStorage] = [:]
| |- warning: static property 'instanceStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instanceStorage' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'instanceStorage' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | @Atomic
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:29:24: warning: static property 'subscriptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | @Atomic
29 | private static var subscriptions: [DependencyContainer.ID : AnyPipelineCancellable] = [:]
| |- warning: static property 'subscriptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'subscriptions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'subscriptions' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | private static let graphChangedSubject = PipelineSubject<Void>()
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:31:24: warning: static property 'graphChangedSubject' is not concurrency-safe because non-'Sendable' type 'PipelineSubject<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
29 | private static var subscriptions: [DependencyContainer.ID : AnyPipelineCancellable] = [:]
30 |
31 | private static let graphChangedSubject = PipelineSubject<Void>()
| |- warning: static property 'graphChangedSubject' is not concurrency-safe because non-'Sendable' type 'PipelineSubject<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'graphChangedSubject' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | static var graphChangedPipeline: AnyPipeline<Void> {
/host/spi-builder-workspace/Sources/Stitcher/ReactivePipeline/PipelineSubject.swift:15:7: note: generic class 'PipelineSubject' does not conform to the 'Sendable' protocol
13 | #endif
14 |
15 | class PipelineSubject<Output>: Pipeline {
| `- note: generic class 'PipelineSubject' does not conform to the 'Sendable' protocol
16 |
17 | private let provider: AnyObject
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:37:16: warning: static property 'instantionNotificationCenter' is not concurrency-safe because non-'Sendable' type 'InstantionNotificationCenter' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | static let instantionNotificationCenter = InstantionNotificationCenter()
| |- warning: static property 'instantionNotificationCenter' is not concurrency-safe because non-'Sendable' type 'InstantionNotificationCenter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instantionNotificationCenter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | private static let storageCleaner = StorageCleaner {
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Factory/InstantionNotificationCenter.swift:10:13: note: class 'InstantionNotificationCenter' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | final class InstantionNotificationCenter {
| `- note: class 'InstantionNotificationCenter' does not conform to the 'Sendable' protocol
11 |
12 | @Atomic
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:39:24: warning: static property 'storageCleaner' is not concurrency-safe because non-'Sendable' type 'StorageCleaner' may have shared mutable state; this is an error in the Swift 6 language mode
37 | static let instantionNotificationCenter = InstantionNotificationCenter()
38 |
39 | private static let storageCleaner = StorageCleaner {
| |- warning: static property 'storageCleaner' is not concurrency-safe because non-'Sendable' type 'StorageCleaner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'storageCleaner' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | releaseUnusedStorage()
41 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/StorageCleaner/StorageCleaner.swift:20:7: note: class 'StorageCleaner' does not conform to the 'Sendable' protocol
18 | #endif
19 |
20 | class StorageCleaner {
| `- note: class 'StorageCleaner' does not conform to the 'Sendable' protocol
21 |
22 | private var cleanupHandler: @Sendable () -> Void
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyParameters.swift:149:16: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'DependencyParameters' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | struct DependencyParameters: Hashable {
| `- note: consider making struct 'DependencyParameters' conform to the 'Sendable' protocol
11 |
12 | struct Requirement: Hashable {
:
147 | }
148 |
149 | static let none = DependencyParameters()
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'DependencyParameters' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 | }
151 |
[536/540] Compiling Stitcher DependencyGraph+NameInjection.swift
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Factory/InstantionNotificationCenter.swift:45:33: warning: capture of 'pendingNotifications' with non-sendable type '[AnyPostInstantiationAware]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
43 |
44 | AsyncTask(priority: .medium) {
45 | for notification in pendingNotifications {
| `- warning: capture of 'pendingNotifications' with non-sendable type '[AnyPostInstantiationAware]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
46 | notification.didInstantiate()
47 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Factory/PostInstantiationAware.swift:16:8: note: consider making struct 'AnyPostInstantiationAware' conform to the 'Sendable' protocol
14 | }
15 |
16 | struct AnyPostInstantiationAware: PostInstantiationAware {
| `- note: consider making struct 'AnyPostInstantiationAware' conform to the 'Sendable' protocol
17 |
18 | private let _didInstantiate: () -> Void
macro expansion @TaskLocal:1:24: warning: static property '$instantiationBacktrace' is not concurrency-safe because non-'Sendable' type 'TaskLocal<OrderedSet<DependencyLocator>>' may have shared mutable state; this is an error in the Swift 6 language mode
`- /host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | fileprivate static let $instantiationBacktrace: TaskLocal<OrderedSet<DependencyLocator>> = TaskLocal(wrappedValue: [])
| | |- warning: static property '$instantiationBacktrace' is not concurrency-safe because non-'Sendable' type 'TaskLocal<OrderedSet<DependencyLocator>>' may have shared mutable state; this is an error in the Swift 6 language mode
| | |- note: annotate '$instantiationBacktrace' with '@MainActor' if property should only be accessed from the main actor
| | `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
macro expansion @TaskLocal:1:24: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | fileprivate static let $instantiationBacktrace: TaskLocal<OrderedSet<DependencyLocator>> = TaskLocal(wrappedValue: [])
| | `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
macro expansion @TaskLocal:1:92: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | fileprivate static let $instantiationBacktrace: TaskLocal<OrderedSet<DependencyLocator>> = TaskLocal(wrappedValue: [])
| | `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
macro expansion @TaskLocal:1:92: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | fileprivate static let $instantiationBacktrace: TaskLocal<OrderedSet<DependencyLocator>> = TaskLocal(wrappedValue: [])
| | `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:44:28: warning: static property 'instantiationBacktrace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | @ThreadLocal
44 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
| |- warning: static property 'instantiationBacktrace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instantiationBacktrace' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'instantiationBacktrace' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 |
46 | fileprivate static func preventCycle(
macro expansion @TaskLocal:3:33: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | {
|2 | get {
|3 | $instantiationBacktrace.get()
| | `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
|4 | }
|5 | }
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:35:37: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
33 | instantiation: () throws -> Result
34 | ) throws -> Result {
35 | try $instantiationBacktrace.withValue(instantiationBacktrace.inserting(locator)) {
| `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
36 | try instantiation()
37 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:20:24: warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | @Atomic
20 | private static var initialized = false
| |- warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'initialized' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'initialized' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | @Atomic
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:23:24: warning: static property 'activeContainers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | @Atomic
23 | private static var activeContainers: OrderedDictionary<DependencyContainer.ID, IndexedDependencyContainer> = [:]
| |- warning: static property 'activeContainers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'activeContainers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'activeContainers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | @Atomic
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:26:24: warning: static property 'instanceStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | @Atomic
26 | private static var instanceStorage: [InstanceStorageKey : AnyInstanceStorage] = [:]
| |- warning: static property 'instanceStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instanceStorage' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'instanceStorage' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | @Atomic
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:29:24: warning: static property 'subscriptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | @Atomic
29 | private static var subscriptions: [DependencyContainer.ID : AnyPipelineCancellable] = [:]
| |- warning: static property 'subscriptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'subscriptions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'subscriptions' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | private static let graphChangedSubject = PipelineSubject<Void>()
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:31:24: warning: static property 'graphChangedSubject' is not concurrency-safe because non-'Sendable' type 'PipelineSubject<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
29 | private static var subscriptions: [DependencyContainer.ID : AnyPipelineCancellable] = [:]
30 |
31 | private static let graphChangedSubject = PipelineSubject<Void>()
| |- warning: static property 'graphChangedSubject' is not concurrency-safe because non-'Sendable' type 'PipelineSubject<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'graphChangedSubject' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | static var graphChangedPipeline: AnyPipeline<Void> {
/host/spi-builder-workspace/Sources/Stitcher/ReactivePipeline/PipelineSubject.swift:15:7: note: generic class 'PipelineSubject' does not conform to the 'Sendable' protocol
13 | #endif
14 |
15 | class PipelineSubject<Output>: Pipeline {
| `- note: generic class 'PipelineSubject' does not conform to the 'Sendable' protocol
16 |
17 | private let provider: AnyObject
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:37:16: warning: static property 'instantionNotificationCenter' is not concurrency-safe because non-'Sendable' type 'InstantionNotificationCenter' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | static let instantionNotificationCenter = InstantionNotificationCenter()
| |- warning: static property 'instantionNotificationCenter' is not concurrency-safe because non-'Sendable' type 'InstantionNotificationCenter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instantionNotificationCenter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | private static let storageCleaner = StorageCleaner {
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Factory/InstantionNotificationCenter.swift:10:13: note: class 'InstantionNotificationCenter' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | final class InstantionNotificationCenter {
| `- note: class 'InstantionNotificationCenter' does not conform to the 'Sendable' protocol
11 |
12 | @Atomic
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:39:24: warning: static property 'storageCleaner' is not concurrency-safe because non-'Sendable' type 'StorageCleaner' may have shared mutable state; this is an error in the Swift 6 language mode
37 | static let instantionNotificationCenter = InstantionNotificationCenter()
38 |
39 | private static let storageCleaner = StorageCleaner {
| |- warning: static property 'storageCleaner' is not concurrency-safe because non-'Sendable' type 'StorageCleaner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'storageCleaner' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | releaseUnusedStorage()
41 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/StorageCleaner/StorageCleaner.swift:20:7: note: class 'StorageCleaner' does not conform to the 'Sendable' protocol
18 | #endif
19 |
20 | class StorageCleaner {
| `- note: class 'StorageCleaner' does not conform to the 'Sendable' protocol
21 |
22 | private var cleanupHandler: @Sendable () -> Void
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyParameters.swift:149:16: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'DependencyParameters' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | struct DependencyParameters: Hashable {
| `- note: consider making struct 'DependencyParameters' conform to the 'Sendable' protocol
11 |
12 | struct Requirement: Hashable {
:
147 | }
148 |
149 | static let none = DependencyParameters()
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'DependencyParameters' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 | }
151 |
[537/540] Compiling Stitcher DependencyGraph+TypeInjection.swift
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Factory/InstantionNotificationCenter.swift:45:33: warning: capture of 'pendingNotifications' with non-sendable type '[AnyPostInstantiationAware]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
43 |
44 | AsyncTask(priority: .medium) {
45 | for notification in pendingNotifications {
| `- warning: capture of 'pendingNotifications' with non-sendable type '[AnyPostInstantiationAware]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
46 | notification.didInstantiate()
47 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Factory/PostInstantiationAware.swift:16:8: note: consider making struct 'AnyPostInstantiationAware' conform to the 'Sendable' protocol
14 | }
15 |
16 | struct AnyPostInstantiationAware: PostInstantiationAware {
| `- note: consider making struct 'AnyPostInstantiationAware' conform to the 'Sendable' protocol
17 |
18 | private let _didInstantiate: () -> Void
macro expansion @TaskLocal:1:24: warning: static property '$instantiationBacktrace' is not concurrency-safe because non-'Sendable' type 'TaskLocal<OrderedSet<DependencyLocator>>' may have shared mutable state; this is an error in the Swift 6 language mode
`- /host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | fileprivate static let $instantiationBacktrace: TaskLocal<OrderedSet<DependencyLocator>> = TaskLocal(wrappedValue: [])
| | |- warning: static property '$instantiationBacktrace' is not concurrency-safe because non-'Sendable' type 'TaskLocal<OrderedSet<DependencyLocator>>' may have shared mutable state; this is an error in the Swift 6 language mode
| | |- note: annotate '$instantiationBacktrace' with '@MainActor' if property should only be accessed from the main actor
| | `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
macro expansion @TaskLocal:1:24: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | fileprivate static let $instantiationBacktrace: TaskLocal<OrderedSet<DependencyLocator>> = TaskLocal(wrappedValue: [])
| | `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
macro expansion @TaskLocal:1:92: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | fileprivate static let $instantiationBacktrace: TaskLocal<OrderedSet<DependencyLocator>> = TaskLocal(wrappedValue: [])
| | `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
macro expansion @TaskLocal:1:92: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | fileprivate static let $instantiationBacktrace: TaskLocal<OrderedSet<DependencyLocator>> = TaskLocal(wrappedValue: [])
| | `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:44:28: warning: static property 'instantiationBacktrace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | @ThreadLocal
44 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
| |- warning: static property 'instantiationBacktrace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instantiationBacktrace' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'instantiationBacktrace' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 |
46 | fileprivate static func preventCycle(
macro expansion @TaskLocal:3:33: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | {
|2 | get {
|3 | $instantiationBacktrace.get()
| | `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
|4 | }
|5 | }
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:35:37: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
33 | instantiation: () throws -> Result
34 | ) throws -> Result {
35 | try $instantiationBacktrace.withValue(instantiationBacktrace.inserting(locator)) {
| `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
36 | try instantiation()
37 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:20:24: warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | @Atomic
20 | private static var initialized = false
| |- warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'initialized' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'initialized' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | @Atomic
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:23:24: warning: static property 'activeContainers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | @Atomic
23 | private static var activeContainers: OrderedDictionary<DependencyContainer.ID, IndexedDependencyContainer> = [:]
| |- warning: static property 'activeContainers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'activeContainers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'activeContainers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | @Atomic
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:26:24: warning: static property 'instanceStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | @Atomic
26 | private static var instanceStorage: [InstanceStorageKey : AnyInstanceStorage] = [:]
| |- warning: static property 'instanceStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instanceStorage' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'instanceStorage' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | @Atomic
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:29:24: warning: static property 'subscriptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | @Atomic
29 | private static var subscriptions: [DependencyContainer.ID : AnyPipelineCancellable] = [:]
| |- warning: static property 'subscriptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'subscriptions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'subscriptions' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | private static let graphChangedSubject = PipelineSubject<Void>()
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:31:24: warning: static property 'graphChangedSubject' is not concurrency-safe because non-'Sendable' type 'PipelineSubject<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
29 | private static var subscriptions: [DependencyContainer.ID : AnyPipelineCancellable] = [:]
30 |
31 | private static let graphChangedSubject = PipelineSubject<Void>()
| |- warning: static property 'graphChangedSubject' is not concurrency-safe because non-'Sendable' type 'PipelineSubject<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'graphChangedSubject' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | static var graphChangedPipeline: AnyPipeline<Void> {
/host/spi-builder-workspace/Sources/Stitcher/ReactivePipeline/PipelineSubject.swift:15:7: note: generic class 'PipelineSubject' does not conform to the 'Sendable' protocol
13 | #endif
14 |
15 | class PipelineSubject<Output>: Pipeline {
| `- note: generic class 'PipelineSubject' does not conform to the 'Sendable' protocol
16 |
17 | private let provider: AnyObject
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:37:16: warning: static property 'instantionNotificationCenter' is not concurrency-safe because non-'Sendable' type 'InstantionNotificationCenter' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | static let instantionNotificationCenter = InstantionNotificationCenter()
| |- warning: static property 'instantionNotificationCenter' is not concurrency-safe because non-'Sendable' type 'InstantionNotificationCenter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instantionNotificationCenter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | private static let storageCleaner = StorageCleaner {
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Factory/InstantionNotificationCenter.swift:10:13: note: class 'InstantionNotificationCenter' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | final class InstantionNotificationCenter {
| `- note: class 'InstantionNotificationCenter' does not conform to the 'Sendable' protocol
11 |
12 | @Atomic
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:39:24: warning: static property 'storageCleaner' is not concurrency-safe because non-'Sendable' type 'StorageCleaner' may have shared mutable state; this is an error in the Swift 6 language mode
37 | static let instantionNotificationCenter = InstantionNotificationCenter()
38 |
39 | private static let storageCleaner = StorageCleaner {
| |- warning: static property 'storageCleaner' is not concurrency-safe because non-'Sendable' type 'StorageCleaner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'storageCleaner' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | releaseUnusedStorage()
41 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/StorageCleaner/StorageCleaner.swift:20:7: note: class 'StorageCleaner' does not conform to the 'Sendable' protocol
18 | #endif
19 |
20 | class StorageCleaner {
| `- note: class 'StorageCleaner' does not conform to the 'Sendable' protocol
21 |
22 | private var cleanupHandler: @Sendable () -> Void
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyParameters.swift:149:16: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'DependencyParameters' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | struct DependencyParameters: Hashable {
| `- note: consider making struct 'DependencyParameters' conform to the 'Sendable' protocol
11 |
12 | struct Requirement: Hashable {
:
147 | }
148 |
149 | static let none = DependencyParameters()
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'DependencyParameters' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 | }
151 |
[538/540] Compiling Stitcher DependencyGraph+ValueInjection.swift
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Factory/InstantionNotificationCenter.swift:45:33: warning: capture of 'pendingNotifications' with non-sendable type '[AnyPostInstantiationAware]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
43 |
44 | AsyncTask(priority: .medium) {
45 | for notification in pendingNotifications {
| `- warning: capture of 'pendingNotifications' with non-sendable type '[AnyPostInstantiationAware]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
46 | notification.didInstantiate()
47 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Factory/PostInstantiationAware.swift:16:8: note: consider making struct 'AnyPostInstantiationAware' conform to the 'Sendable' protocol
14 | }
15 |
16 | struct AnyPostInstantiationAware: PostInstantiationAware {
| `- note: consider making struct 'AnyPostInstantiationAware' conform to the 'Sendable' protocol
17 |
18 | private let _didInstantiate: () -> Void
macro expansion @TaskLocal:1:24: warning: static property '$instantiationBacktrace' is not concurrency-safe because non-'Sendable' type 'TaskLocal<OrderedSet<DependencyLocator>>' may have shared mutable state; this is an error in the Swift 6 language mode
`- /host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | fileprivate static let $instantiationBacktrace: TaskLocal<OrderedSet<DependencyLocator>> = TaskLocal(wrappedValue: [])
| | |- warning: static property '$instantiationBacktrace' is not concurrency-safe because non-'Sendable' type 'TaskLocal<OrderedSet<DependencyLocator>>' may have shared mutable state; this is an error in the Swift 6 language mode
| | |- note: annotate '$instantiationBacktrace' with '@MainActor' if property should only be accessed from the main actor
| | `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
macro expansion @TaskLocal:1:24: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | fileprivate static let $instantiationBacktrace: TaskLocal<OrderedSet<DependencyLocator>> = TaskLocal(wrappedValue: [])
| | `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
macro expansion @TaskLocal:1:92: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | fileprivate static let $instantiationBacktrace: TaskLocal<OrderedSet<DependencyLocator>> = TaskLocal(wrappedValue: [])
| | `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
macro expansion @TaskLocal:1:92: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | fileprivate static let $instantiationBacktrace: TaskLocal<OrderedSet<DependencyLocator>> = TaskLocal(wrappedValue: [])
| | `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:44:28: warning: static property 'instantiationBacktrace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | @ThreadLocal
44 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
| |- warning: static property 'instantiationBacktrace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instantiationBacktrace' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'instantiationBacktrace' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 |
46 | fileprivate static func preventCycle(
macro expansion @TaskLocal:3:33: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | {
|2 | get {
|3 | $instantiationBacktrace.get()
| | `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
|4 | }
|5 | }
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:35:37: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
33 | instantiation: () throws -> Result
34 | ) throws -> Result {
35 | try $instantiationBacktrace.withValue(instantiationBacktrace.inserting(locator)) {
| `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
36 | try instantiation()
37 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:20:24: warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | @Atomic
20 | private static var initialized = false
| |- warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'initialized' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'initialized' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | @Atomic
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:23:24: warning: static property 'activeContainers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | @Atomic
23 | private static var activeContainers: OrderedDictionary<DependencyContainer.ID, IndexedDependencyContainer> = [:]
| |- warning: static property 'activeContainers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'activeContainers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'activeContainers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | @Atomic
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:26:24: warning: static property 'instanceStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | @Atomic
26 | private static var instanceStorage: [InstanceStorageKey : AnyInstanceStorage] = [:]
| |- warning: static property 'instanceStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instanceStorage' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'instanceStorage' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | @Atomic
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:29:24: warning: static property 'subscriptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | @Atomic
29 | private static var subscriptions: [DependencyContainer.ID : AnyPipelineCancellable] = [:]
| |- warning: static property 'subscriptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'subscriptions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'subscriptions' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | private static let graphChangedSubject = PipelineSubject<Void>()
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:31:24: warning: static property 'graphChangedSubject' is not concurrency-safe because non-'Sendable' type 'PipelineSubject<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
29 | private static var subscriptions: [DependencyContainer.ID : AnyPipelineCancellable] = [:]
30 |
31 | private static let graphChangedSubject = PipelineSubject<Void>()
| |- warning: static property 'graphChangedSubject' is not concurrency-safe because non-'Sendable' type 'PipelineSubject<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'graphChangedSubject' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | static var graphChangedPipeline: AnyPipeline<Void> {
/host/spi-builder-workspace/Sources/Stitcher/ReactivePipeline/PipelineSubject.swift:15:7: note: generic class 'PipelineSubject' does not conform to the 'Sendable' protocol
13 | #endif
14 |
15 | class PipelineSubject<Output>: Pipeline {
| `- note: generic class 'PipelineSubject' does not conform to the 'Sendable' protocol
16 |
17 | private let provider: AnyObject
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:37:16: warning: static property 'instantionNotificationCenter' is not concurrency-safe because non-'Sendable' type 'InstantionNotificationCenter' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | static let instantionNotificationCenter = InstantionNotificationCenter()
| |- warning: static property 'instantionNotificationCenter' is not concurrency-safe because non-'Sendable' type 'InstantionNotificationCenter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instantionNotificationCenter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | private static let storageCleaner = StorageCleaner {
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Factory/InstantionNotificationCenter.swift:10:13: note: class 'InstantionNotificationCenter' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | final class InstantionNotificationCenter {
| `- note: class 'InstantionNotificationCenter' does not conform to the 'Sendable' protocol
11 |
12 | @Atomic
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:39:24: warning: static property 'storageCleaner' is not concurrency-safe because non-'Sendable' type 'StorageCleaner' may have shared mutable state; this is an error in the Swift 6 language mode
37 | static let instantionNotificationCenter = InstantionNotificationCenter()
38 |
39 | private static let storageCleaner = StorageCleaner {
| |- warning: static property 'storageCleaner' is not concurrency-safe because non-'Sendable' type 'StorageCleaner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'storageCleaner' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | releaseUnusedStorage()
41 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/StorageCleaner/StorageCleaner.swift:20:7: note: class 'StorageCleaner' does not conform to the 'Sendable' protocol
18 | #endif
19 |
20 | class StorageCleaner {
| `- note: class 'StorageCleaner' does not conform to the 'Sendable' protocol
21 |
22 | private var cleanupHandler: @Sendable () -> Void
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyParameters.swift:149:16: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'DependencyParameters' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | struct DependencyParameters: Hashable {
| `- note: consider making struct 'DependencyParameters' conform to the 'Sendable' protocol
11 |
12 | struct Requirement: Hashable {
:
147 | }
148 |
149 | static let none = DependencyParameters()
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'DependencyParameters' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 | }
151 |
[539/540] Compiling Stitcher DependencyGraph.swift
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Factory/InstantionNotificationCenter.swift:45:33: warning: capture of 'pendingNotifications' with non-sendable type '[AnyPostInstantiationAware]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
43 |
44 | AsyncTask(priority: .medium) {
45 | for notification in pendingNotifications {
| `- warning: capture of 'pendingNotifications' with non-sendable type '[AnyPostInstantiationAware]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
46 | notification.didInstantiate()
47 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Factory/PostInstantiationAware.swift:16:8: note: consider making struct 'AnyPostInstantiationAware' conform to the 'Sendable' protocol
14 | }
15 |
16 | struct AnyPostInstantiationAware: PostInstantiationAware {
| `- note: consider making struct 'AnyPostInstantiationAware' conform to the 'Sendable' protocol
17 |
18 | private let _didInstantiate: () -> Void
macro expansion @TaskLocal:1:24: warning: static property '$instantiationBacktrace' is not concurrency-safe because non-'Sendable' type 'TaskLocal<OrderedSet<DependencyLocator>>' may have shared mutable state; this is an error in the Swift 6 language mode
`- /host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | fileprivate static let $instantiationBacktrace: TaskLocal<OrderedSet<DependencyLocator>> = TaskLocal(wrappedValue: [])
| | |- warning: static property '$instantiationBacktrace' is not concurrency-safe because non-'Sendable' type 'TaskLocal<OrderedSet<DependencyLocator>>' may have shared mutable state; this is an error in the Swift 6 language mode
| | |- note: annotate '$instantiationBacktrace' with '@MainActor' if property should only be accessed from the main actor
| | `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
macro expansion @TaskLocal:1:24: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | fileprivate static let $instantiationBacktrace: TaskLocal<OrderedSet<DependencyLocator>> = TaskLocal(wrappedValue: [])
| | `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
macro expansion @TaskLocal:1:92: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | fileprivate static let $instantiationBacktrace: TaskLocal<OrderedSet<DependencyLocator>> = TaskLocal(wrappedValue: [])
| | `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
macro expansion @TaskLocal:1:92: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | fileprivate static let $instantiationBacktrace: TaskLocal<OrderedSet<DependencyLocator>> = TaskLocal(wrappedValue: [])
| | `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:44:28: warning: static property 'instantiationBacktrace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | @ThreadLocal
44 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
| |- warning: static property 'instantiationBacktrace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instantiationBacktrace' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'instantiationBacktrace' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 |
46 | fileprivate static func preventCycle(
macro expansion @TaskLocal:3:33: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | {
|2 | get {
|3 | $instantiationBacktrace.get()
| | `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
|4 | }
|5 | }
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:35:37: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
33 | instantiation: () throws -> Result
34 | ) throws -> Result {
35 | try $instantiationBacktrace.withValue(instantiationBacktrace.inserting(locator)) {
| `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
36 | try instantiation()
37 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:20:24: warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | @Atomic
20 | private static var initialized = false
| |- warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'initialized' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'initialized' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | @Atomic
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:23:24: warning: static property 'activeContainers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | @Atomic
23 | private static var activeContainers: OrderedDictionary<DependencyContainer.ID, IndexedDependencyContainer> = [:]
| |- warning: static property 'activeContainers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'activeContainers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'activeContainers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | @Atomic
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:26:24: warning: static property 'instanceStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | @Atomic
26 | private static var instanceStorage: [InstanceStorageKey : AnyInstanceStorage] = [:]
| |- warning: static property 'instanceStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instanceStorage' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'instanceStorage' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | @Atomic
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:29:24: warning: static property 'subscriptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | @Atomic
29 | private static var subscriptions: [DependencyContainer.ID : AnyPipelineCancellable] = [:]
| |- warning: static property 'subscriptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'subscriptions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'subscriptions' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | private static let graphChangedSubject = PipelineSubject<Void>()
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:31:24: warning: static property 'graphChangedSubject' is not concurrency-safe because non-'Sendable' type 'PipelineSubject<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
29 | private static var subscriptions: [DependencyContainer.ID : AnyPipelineCancellable] = [:]
30 |
31 | private static let graphChangedSubject = PipelineSubject<Void>()
| |- warning: static property 'graphChangedSubject' is not concurrency-safe because non-'Sendable' type 'PipelineSubject<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'graphChangedSubject' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | static var graphChangedPipeline: AnyPipeline<Void> {
/host/spi-builder-workspace/Sources/Stitcher/ReactivePipeline/PipelineSubject.swift:15:7: note: generic class 'PipelineSubject' does not conform to the 'Sendable' protocol
13 | #endif
14 |
15 | class PipelineSubject<Output>: Pipeline {
| `- note: generic class 'PipelineSubject' does not conform to the 'Sendable' protocol
16 |
17 | private let provider: AnyObject
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:37:16: warning: static property 'instantionNotificationCenter' is not concurrency-safe because non-'Sendable' type 'InstantionNotificationCenter' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | static let instantionNotificationCenter = InstantionNotificationCenter()
| |- warning: static property 'instantionNotificationCenter' is not concurrency-safe because non-'Sendable' type 'InstantionNotificationCenter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instantionNotificationCenter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | private static let storageCleaner = StorageCleaner {
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Factory/InstantionNotificationCenter.swift:10:13: note: class 'InstantionNotificationCenter' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | final class InstantionNotificationCenter {
| `- note: class 'InstantionNotificationCenter' does not conform to the 'Sendable' protocol
11 |
12 | @Atomic
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:39:24: warning: static property 'storageCleaner' is not concurrency-safe because non-'Sendable' type 'StorageCleaner' may have shared mutable state; this is an error in the Swift 6 language mode
37 | static let instantionNotificationCenter = InstantionNotificationCenter()
38 |
39 | private static let storageCleaner = StorageCleaner {
| |- warning: static property 'storageCleaner' is not concurrency-safe because non-'Sendable' type 'StorageCleaner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'storageCleaner' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | releaseUnusedStorage()
41 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/StorageCleaner/StorageCleaner.swift:20:7: note: class 'StorageCleaner' does not conform to the 'Sendable' protocol
18 | #endif
19 |
20 | class StorageCleaner {
| `- note: class 'StorageCleaner' does not conform to the 'Sendable' protocol
21 |
22 | private var cleanupHandler: @Sendable () -> Void
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyParameters.swift:149:16: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'DependencyParameters' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | struct DependencyParameters: Hashable {
| `- note: consider making struct 'DependencyParameters' conform to the 'Sendable' protocol
11 |
12 | struct Requirement: Hashable {
:
147 | }
148 |
149 | static let none = DependencyParameters()
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'DependencyParameters' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 | }
151 |
[540/540] Compiling Stitcher DependencyRegistrarIndex.swift
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Factory/InstantionNotificationCenter.swift:45:33: warning: capture of 'pendingNotifications' with non-sendable type '[AnyPostInstantiationAware]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
43 |
44 | AsyncTask(priority: .medium) {
45 | for notification in pendingNotifications {
| `- warning: capture of 'pendingNotifications' with non-sendable type '[AnyPostInstantiationAware]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
46 | notification.didInstantiate()
47 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Factory/PostInstantiationAware.swift:16:8: note: consider making struct 'AnyPostInstantiationAware' conform to the 'Sendable' protocol
14 | }
15 |
16 | struct AnyPostInstantiationAware: PostInstantiationAware {
| `- note: consider making struct 'AnyPostInstantiationAware' conform to the 'Sendable' protocol
17 |
18 | private let _didInstantiate: () -> Void
macro expansion @TaskLocal:1:24: warning: static property '$instantiationBacktrace' is not concurrency-safe because non-'Sendable' type 'TaskLocal<OrderedSet<DependencyLocator>>' may have shared mutable state; this is an error in the Swift 6 language mode
`- /host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | fileprivate static let $instantiationBacktrace: TaskLocal<OrderedSet<DependencyLocator>> = TaskLocal(wrappedValue: [])
| | |- warning: static property '$instantiationBacktrace' is not concurrency-safe because non-'Sendable' type 'TaskLocal<OrderedSet<DependencyLocator>>' may have shared mutable state; this is an error in the Swift 6 language mode
| | |- note: annotate '$instantiationBacktrace' with '@MainActor' if property should only be accessed from the main actor
| | `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
macro expansion @TaskLocal:1:24: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | fileprivate static let $instantiationBacktrace: TaskLocal<OrderedSet<DependencyLocator>> = TaskLocal(wrappedValue: [])
| | `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
macro expansion @TaskLocal:1:92: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | fileprivate static let $instantiationBacktrace: TaskLocal<OrderedSet<DependencyLocator>> = TaskLocal(wrappedValue: [])
| | `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
macro expansion @TaskLocal:1:92: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | fileprivate static let $instantiationBacktrace: TaskLocal<OrderedSet<DependencyLocator>> = TaskLocal(wrappedValue: [])
| | `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:44:28: warning: static property 'instantiationBacktrace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | @ThreadLocal
44 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
| |- warning: static property 'instantiationBacktrace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instantiationBacktrace' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'instantiationBacktrace' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 |
46 | fileprivate static func preventCycle(
macro expansion @TaskLocal:3:33: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | {
|2 | get {
|3 | $instantiationBacktrace.get()
| | `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
|4 | }
|5 | }
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:35:37: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
33 | instantiation: () throws -> Result
34 | ) throws -> Result {
35 | try $instantiationBacktrace.withValue(instantiationBacktrace.inserting(locator)) {
| `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
36 | try instantiation()
37 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:20:24: warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | @Atomic
20 | private static var initialized = false
| |- warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'initialized' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'initialized' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | @Atomic
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:23:24: warning: static property 'activeContainers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | @Atomic
23 | private static var activeContainers: OrderedDictionary<DependencyContainer.ID, IndexedDependencyContainer> = [:]
| |- warning: static property 'activeContainers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'activeContainers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'activeContainers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | @Atomic
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:26:24: warning: static property 'instanceStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | @Atomic
26 | private static var instanceStorage: [InstanceStorageKey : AnyInstanceStorage] = [:]
| |- warning: static property 'instanceStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instanceStorage' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'instanceStorage' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | @Atomic
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:29:24: warning: static property 'subscriptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | @Atomic
29 | private static var subscriptions: [DependencyContainer.ID : AnyPipelineCancellable] = [:]
| |- warning: static property 'subscriptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'subscriptions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'subscriptions' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | private static let graphChangedSubject = PipelineSubject<Void>()
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:31:24: warning: static property 'graphChangedSubject' is not concurrency-safe because non-'Sendable' type 'PipelineSubject<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
29 | private static var subscriptions: [DependencyContainer.ID : AnyPipelineCancellable] = [:]
30 |
31 | private static let graphChangedSubject = PipelineSubject<Void>()
| |- warning: static property 'graphChangedSubject' is not concurrency-safe because non-'Sendable' type 'PipelineSubject<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'graphChangedSubject' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | static var graphChangedPipeline: AnyPipeline<Void> {
/host/spi-builder-workspace/Sources/Stitcher/ReactivePipeline/PipelineSubject.swift:15:7: note: generic class 'PipelineSubject' does not conform to the 'Sendable' protocol
13 | #endif
14 |
15 | class PipelineSubject<Output>: Pipeline {
| `- note: generic class 'PipelineSubject' does not conform to the 'Sendable' protocol
16 |
17 | private let provider: AnyObject
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:37:16: warning: static property 'instantionNotificationCenter' is not concurrency-safe because non-'Sendable' type 'InstantionNotificationCenter' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | static let instantionNotificationCenter = InstantionNotificationCenter()
| |- warning: static property 'instantionNotificationCenter' is not concurrency-safe because non-'Sendable' type 'InstantionNotificationCenter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instantionNotificationCenter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | private static let storageCleaner = StorageCleaner {
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Factory/InstantionNotificationCenter.swift:10:13: note: class 'InstantionNotificationCenter' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | final class InstantionNotificationCenter {
| `- note: class 'InstantionNotificationCenter' does not conform to the 'Sendable' protocol
11 |
12 | @Atomic
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyGraph.swift:39:24: warning: static property 'storageCleaner' is not concurrency-safe because non-'Sendable' type 'StorageCleaner' may have shared mutable state; this is an error in the Swift 6 language mode
37 | static let instantionNotificationCenter = InstantionNotificationCenter()
38 |
39 | private static let storageCleaner = StorageCleaner {
| |- warning: static property 'storageCleaner' is not concurrency-safe because non-'Sendable' type 'StorageCleaner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'storageCleaner' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | releaseUnusedStorage()
41 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/StorageCleaner/StorageCleaner.swift:20:7: note: class 'StorageCleaner' does not conform to the 'Sendable' protocol
18 | #endif
19 |
20 | class StorageCleaner {
| `- note: class 'StorageCleaner' does not conform to the 'Sendable' protocol
21 |
22 | private var cleanupHandler: @Sendable () -> Void
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyParameters.swift:149:16: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'DependencyParameters' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | struct DependencyParameters: Hashable {
| `- note: consider making struct 'DependencyParameters' conform to the 'Sendable' protocol
11 |
12 | struct Requirement: Hashable {
:
147 | }
148 |
149 | static let none = DependencyParameters()
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'DependencyParameters' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 | }
151 |
BUILD FAILURE 6.0 linux