Build Information
Successful build of Stitcher, reference v1.1.0 (d13eba
), with Swift 6.1 for macOS (SPM) on 28 Apr 2025 22:25:09 UTC.
Swift 6 data race errors: 38
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
+--- macro expansion @TaskLocal ------------------------------------
|1 | fileprivate static let $instantiationBacktrace: TaskLocal<OrderedSet<DependencyLocator>> = TaskLocal(wrappedValue: [])
| | |- warning: static property '$instantiationBacktrace' is not concurrency-safe because non-'Sendable' type 'TaskLocal<OrderedSet<DependencyLocator>>' may have shared mutable state; this is an error in the Swift 6 language mode
| | |- note: add '@MainActor' to make static property '$instantiationBacktrace' part of global actor 'MainActor'
| | `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
macro expansion @TaskLocal:1:24: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | fileprivate static let $instantiationBacktrace: TaskLocal<OrderedSet<DependencyLocator>> = TaskLocal(wrappedValue: [])
| | `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
macro expansion @TaskLocal:1:92: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | fileprivate static let $instantiationBacktrace: TaskLocal<OrderedSet<DependencyLocator>> = TaskLocal(wrappedValue: [])
| | `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
macro expansion @TaskLocal:1:92: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | fileprivate static let $instantiationBacktrace: TaskLocal<OrderedSet<DependencyLocator>> = TaskLocal(wrappedValue: [])
| | `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:44:28: warning: static property 'instantiationBacktrace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | @ThreadLocal
44 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
| |- warning: static property 'instantiationBacktrace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instantiationBacktrace' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'instantiationBacktrace' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 |
46 | fileprivate static func preventCycle(
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
`- /Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | {
|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(
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift: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 | }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
[494/530] Compiling Stitcher PostInstantiationAware.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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
`- /Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | fileprivate static let $instantiationBacktrace: TaskLocal<OrderedSet<DependencyLocator>> = TaskLocal(wrappedValue: [])
| | |- warning: static property '$instantiationBacktrace' is not concurrency-safe because non-'Sendable' type 'TaskLocal<OrderedSet<DependencyLocator>>' may have shared mutable state; this is an error in the Swift 6 language mode
| | |- note: add '@MainActor' to make static property '$instantiationBacktrace' part of global actor 'MainActor'
| | `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
macro expansion @TaskLocal:1:24: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | fileprivate static let $instantiationBacktrace: TaskLocal<OrderedSet<DependencyLocator>> = TaskLocal(wrappedValue: [])
| | `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
macro expansion @TaskLocal:1:92: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | fileprivate static let $instantiationBacktrace: TaskLocal<OrderedSet<DependencyLocator>> = TaskLocal(wrappedValue: [])
| | `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
macro expansion @TaskLocal:1:92: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | fileprivate static let $instantiationBacktrace: TaskLocal<OrderedSet<DependencyLocator>> = TaskLocal(wrappedValue: [])
| | `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:44:28: warning: static property 'instantiationBacktrace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | @ThreadLocal
44 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
| |- warning: static property 'instantiationBacktrace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instantiationBacktrace' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'instantiationBacktrace' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 |
46 | fileprivate static func preventCycle(
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
`- /Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | {
|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(
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift: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 | }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
[495/530] Compiling Stitcher DependencyCycleDetector.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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
`- /Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | fileprivate static let $instantiationBacktrace: TaskLocal<OrderedSet<DependencyLocator>> = TaskLocal(wrappedValue: [])
| | |- warning: static property '$instantiationBacktrace' is not concurrency-safe because non-'Sendable' type 'TaskLocal<OrderedSet<DependencyLocator>>' may have shared mutable state; this is an error in the Swift 6 language mode
| | |- note: add '@MainActor' to make static property '$instantiationBacktrace' part of global actor 'MainActor'
| | `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
macro expansion @TaskLocal:1:24: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | fileprivate static let $instantiationBacktrace: TaskLocal<OrderedSet<DependencyLocator>> = TaskLocal(wrappedValue: [])
| | `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
macro expansion @TaskLocal:1:92: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | fileprivate static let $instantiationBacktrace: TaskLocal<OrderedSet<DependencyLocator>> = TaskLocal(wrappedValue: [])
| | `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
macro expansion @TaskLocal:1:92: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | fileprivate static let $instantiationBacktrace: TaskLocal<OrderedSet<DependencyLocator>> = TaskLocal(wrappedValue: [])
| | `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:44:28: warning: static property 'instantiationBacktrace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | @ThreadLocal
44 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
| |- warning: static property 'instantiationBacktrace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instantiationBacktrace' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'instantiationBacktrace' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 |
46 | fileprivate static func preventCycle(
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
`- /Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | {
|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(
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift: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 | }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
[496/530] Compiling Stitcher DependencyCycleInstantationBacktrace.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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
`- /Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | fileprivate static let $instantiationBacktrace: TaskLocal<OrderedSet<DependencyLocator>> = TaskLocal(wrappedValue: [])
| | |- warning: static property '$instantiationBacktrace' is not concurrency-safe because non-'Sendable' type 'TaskLocal<OrderedSet<DependencyLocator>>' may have shared mutable state; this is an error in the Swift 6 language mode
| | |- note: add '@MainActor' to make static property '$instantiationBacktrace' part of global actor 'MainActor'
| | `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
macro expansion @TaskLocal:1:24: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | fileprivate static let $instantiationBacktrace: TaskLocal<OrderedSet<DependencyLocator>> = TaskLocal(wrappedValue: [])
| | `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
macro expansion @TaskLocal:1:92: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | fileprivate static let $instantiationBacktrace: TaskLocal<OrderedSet<DependencyLocator>> = TaskLocal(wrappedValue: [])
| | `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
macro expansion @TaskLocal:1:92: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | fileprivate static let $instantiationBacktrace: TaskLocal<OrderedSet<DependencyLocator>> = TaskLocal(wrappedValue: [])
| | `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:44:28: warning: static property 'instantiationBacktrace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | @ThreadLocal
44 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
| |- warning: static property 'instantiationBacktrace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instantiationBacktrace' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'instantiationBacktrace' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 |
46 | fileprivate static func preventCycle(
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
`- /Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | {
|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(
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift: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 | }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
[497/530] Compiling Stitcher DependencyGraph+Assertions.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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
`- /Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | fileprivate static let $instantiationBacktrace: TaskLocal<OrderedSet<DependencyLocator>> = TaskLocal(wrappedValue: [])
| | |- warning: static property '$instantiationBacktrace' is not concurrency-safe because non-'Sendable' type 'TaskLocal<OrderedSet<DependencyLocator>>' may have shared mutable state; this is an error in the Swift 6 language mode
| | |- note: add '@MainActor' to make static property '$instantiationBacktrace' part of global actor 'MainActor'
| | `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
macro expansion @TaskLocal:1:24: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | fileprivate static let $instantiationBacktrace: TaskLocal<OrderedSet<DependencyLocator>> = TaskLocal(wrappedValue: [])
| | `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
macro expansion @TaskLocal:1:92: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | fileprivate static let $instantiationBacktrace: TaskLocal<OrderedSet<DependencyLocator>> = TaskLocal(wrappedValue: [])
| | `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
macro expansion @TaskLocal:1:92: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | fileprivate static let $instantiationBacktrace: TaskLocal<OrderedSet<DependencyLocator>> = TaskLocal(wrappedValue: [])
| | `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:44:28: warning: static property 'instantiationBacktrace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | @ThreadLocal
44 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
| |- warning: static property 'instantiationBacktrace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instantiationBacktrace' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'instantiationBacktrace' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 |
46 | fileprivate static func preventCycle(
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
`- /Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | {
|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(
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift: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 | }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
[498/530] Compiling Stitcher DependencyGraph+NameInjection.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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
`- /Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | fileprivate static let $instantiationBacktrace: TaskLocal<OrderedSet<DependencyLocator>> = TaskLocal(wrappedValue: [])
| | |- warning: static property '$instantiationBacktrace' is not concurrency-safe because non-'Sendable' type 'TaskLocal<OrderedSet<DependencyLocator>>' may have shared mutable state; this is an error in the Swift 6 language mode
| | |- note: add '@MainActor' to make static property '$instantiationBacktrace' part of global actor 'MainActor'
| | `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
macro expansion @TaskLocal:1:24: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | fileprivate static let $instantiationBacktrace: TaskLocal<OrderedSet<DependencyLocator>> = TaskLocal(wrappedValue: [])
| | `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
macro expansion @TaskLocal:1:92: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | fileprivate static let $instantiationBacktrace: TaskLocal<OrderedSet<DependencyLocator>> = TaskLocal(wrappedValue: [])
| | `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
macro expansion @TaskLocal:1:92: warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | fileprivate static let $instantiationBacktrace: TaskLocal<OrderedSet<DependencyLocator>> = TaskLocal(wrappedValue: [])
| | `- warning: type 'DependencyLocator' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
+-------------------------------------------------------------------
16 |
17 | fileprivate static func preventCycle(
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:44:28: warning: static property 'instantiationBacktrace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | @ThreadLocal
44 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
| |- warning: static property 'instantiationBacktrace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instantiationBacktrace' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'instantiationBacktrace' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 |
46 | fileprivate static func preventCycle(
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
`- /Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift:15:86: note: expanded code originates here
13 |
14 | @TaskLocal
15 | fileprivate static var instantiationBacktrace: OrderedSet<DependencyLocator> = []
+--- macro expansion @TaskLocal ------------------------------------
|1 | {
|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(
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift: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 | }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyLocator.swift:11:15: note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
9 |
10 | /// A type that can be used as a query to locate a dependency.
11 | public struct DependencyLocator: Hashable {
| `- note: consider making struct 'DependencyLocator' conform to the 'Sendable' protocol
12 | typealias Predicate = (MatchProposal) -> Bool
13 |
[499/530] Compiling Stitcher TypeName.swift
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:27:41: warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
25 | try DependencyGraph.inject(
26 | byName: name,
27 | parameters: repeat each parameters
| `- warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
28 | )
29 | } unexpectedFailure: {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:50:41: warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
48 | try DependencyGraph.inject(
49 | byName: name,
50 | parameters: repeat each parameters
| `- warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
51 | )
52 | } unexpectedFailure: {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:72:41: warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
70 | try DependencyGraph.inject(
71 | byName: name,
72 | parameters: repeat each parameters
| `- warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
73 | )
74 | } unexpectedFailure: {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:100:41: warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
98 | self.init(locatorMatch: .init(byType: type)) {
99 | try DependencyGraph.inject(
100 | parameters: repeat each parameters
| `- warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
101 | )
102 | } unexpectedFailure: {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:125:41: warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
123 | self.init(locatorMatch: .init(byType: SomeDependency.self)) {
124 | try DependencyGraph.inject(
125 | parameters: repeat each parameters
| `- warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
126 | )
127 | } unexpectedFailure: {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:152:41: warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
150 | self.init(locatorMatch: .init(byType: SomeDependency.self)) {
151 | try DependencyGraph.inject(
152 | parameters: repeat each parameters
| `- warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
153 | )
154 | } unexpectedFailure: {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:174:41: warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
172 | try DependencyGraph.inject(
173 | byType: Optional<SomeCollection>.self,
174 | parameters: repeat each parameters
| `- warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
175 | )
176 | } unexpectedFailure: {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:200:26: warning: capture of 'value' with non-sendable type 'V' in a '@Sendable' closure; this is an error in the Swift 6 language mode
189 | /// - parameters: The parameters used to instantiate the dependency.
190 | @_disfavoredOverload
191 | init<V: Hashable, each Parameter: Hashable>(
| `- note: consider making generic parameter 'V' conform to the 'Sendable' protocol
192 | value: V,
193 | _ parameters: repeat each Parameter,
:
198 | self.init(locatorMatch: .init(byValue: value)) {
199 | try DependencyGraph.inject(
200 | byValue: value,
| `- warning: capture of 'value' with non-sendable type 'V' in a '@Sendable' closure; this is an error in the Swift 6 language mode
201 | parameters: repeat each parameters
202 | )
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:201:41: warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
199 | try DependencyGraph.inject(
200 | byValue: value,
201 | parameters: repeat each parameters
| `- warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
202 | )
203 | } unexpectedFailure: {
[500/530] Compiling Stitcher Atomic.swift
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:27:41: warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
25 | try DependencyGraph.inject(
26 | byName: name,
27 | parameters: repeat each parameters
| `- warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
28 | )
29 | } unexpectedFailure: {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:50:41: warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
48 | try DependencyGraph.inject(
49 | byName: name,
50 | parameters: repeat each parameters
| `- warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
51 | )
52 | } unexpectedFailure: {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:72:41: warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
70 | try DependencyGraph.inject(
71 | byName: name,
72 | parameters: repeat each parameters
| `- warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
73 | )
74 | } unexpectedFailure: {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:100:41: warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
98 | self.init(locatorMatch: .init(byType: type)) {
99 | try DependencyGraph.inject(
100 | parameters: repeat each parameters
| `- warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
101 | )
102 | } unexpectedFailure: {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:125:41: warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
123 | self.init(locatorMatch: .init(byType: SomeDependency.self)) {
124 | try DependencyGraph.inject(
125 | parameters: repeat each parameters
| `- warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
126 | )
127 | } unexpectedFailure: {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:152:41: warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
150 | self.init(locatorMatch: .init(byType: SomeDependency.self)) {
151 | try DependencyGraph.inject(
152 | parameters: repeat each parameters
| `- warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
153 | )
154 | } unexpectedFailure: {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:174:41: warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
172 | try DependencyGraph.inject(
173 | byType: Optional<SomeCollection>.self,
174 | parameters: repeat each parameters
| `- warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
175 | )
176 | } unexpectedFailure: {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:200:26: warning: capture of 'value' with non-sendable type 'V' in a '@Sendable' closure; this is an error in the Swift 6 language mode
189 | /// - parameters: The parameters used to instantiate the dependency.
190 | @_disfavoredOverload
191 | init<V: Hashable, each Parameter: Hashable>(
| `- note: consider making generic parameter 'V' conform to the 'Sendable' protocol
192 | value: V,
193 | _ parameters: repeat each Parameter,
:
198 | self.init(locatorMatch: .init(byValue: value)) {
199 | try DependencyGraph.inject(
200 | byValue: value,
| `- warning: capture of 'value' with non-sendable type 'V' in a '@Sendable' closure; this is an error in the Swift 6 language mode
201 | parameters: repeat each parameters
202 | )
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:201:41: warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
199 | try DependencyGraph.inject(
200 | byValue: value,
201 | parameters: repeat each parameters
| `- warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
202 | )
203 | } unexpectedFailure: {
[501/530] Compiling Stitcher Dependencies.swift
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:27:41: warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
25 | try DependencyGraph.inject(
26 | byName: name,
27 | parameters: repeat each parameters
| `- warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
28 | )
29 | } unexpectedFailure: {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:50:41: warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
48 | try DependencyGraph.inject(
49 | byName: name,
50 | parameters: repeat each parameters
| `- warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
51 | )
52 | } unexpectedFailure: {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:72:41: warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
70 | try DependencyGraph.inject(
71 | byName: name,
72 | parameters: repeat each parameters
| `- warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
73 | )
74 | } unexpectedFailure: {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:100:41: warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
98 | self.init(locatorMatch: .init(byType: type)) {
99 | try DependencyGraph.inject(
100 | parameters: repeat each parameters
| `- warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
101 | )
102 | } unexpectedFailure: {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:125:41: warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
123 | self.init(locatorMatch: .init(byType: SomeDependency.self)) {
124 | try DependencyGraph.inject(
125 | parameters: repeat each parameters
| `- warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
126 | )
127 | } unexpectedFailure: {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:152:41: warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
150 | self.init(locatorMatch: .init(byType: SomeDependency.self)) {
151 | try DependencyGraph.inject(
152 | parameters: repeat each parameters
| `- warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
153 | )
154 | } unexpectedFailure: {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:174:41: warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
172 | try DependencyGraph.inject(
173 | byType: Optional<SomeCollection>.self,
174 | parameters: repeat each parameters
| `- warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
175 | )
176 | } unexpectedFailure: {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:200:26: warning: capture of 'value' with non-sendable type 'V' in a '@Sendable' closure; this is an error in the Swift 6 language mode
189 | /// - parameters: The parameters used to instantiate the dependency.
190 | @_disfavoredOverload
191 | init<V: Hashable, each Parameter: Hashable>(
| `- note: consider making generic parameter 'V' conform to the 'Sendable' protocol
192 | value: V,
193 | _ parameters: repeat each Parameter,
:
198 | self.init(locatorMatch: .init(byValue: value)) {
199 | try DependencyGraph.inject(
200 | byValue: value,
| `- warning: capture of 'value' with non-sendable type 'V' in a '@Sendable' closure; this is an error in the Swift 6 language mode
201 | parameters: repeat each parameters
202 | )
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:201:41: warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
199 | try DependencyGraph.inject(
200 | byValue: value,
201 | parameters: repeat each parameters
| `- warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
202 | )
203 | } unexpectedFailure: {
[502/530] Compiling Stitcher Injected+Init.swift
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:27:41: warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
25 | try DependencyGraph.inject(
26 | byName: name,
27 | parameters: repeat each parameters
| `- warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
28 | )
29 | } unexpectedFailure: {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:50:41: warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
48 | try DependencyGraph.inject(
49 | byName: name,
50 | parameters: repeat each parameters
| `- warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
51 | )
52 | } unexpectedFailure: {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:72:41: warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
70 | try DependencyGraph.inject(
71 | byName: name,
72 | parameters: repeat each parameters
| `- warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
73 | )
74 | } unexpectedFailure: {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:100:41: warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
98 | self.init(locatorMatch: .init(byType: type)) {
99 | try DependencyGraph.inject(
100 | parameters: repeat each parameters
| `- warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
101 | )
102 | } unexpectedFailure: {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:125:41: warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
123 | self.init(locatorMatch: .init(byType: SomeDependency.self)) {
124 | try DependencyGraph.inject(
125 | parameters: repeat each parameters
| `- warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
126 | )
127 | } unexpectedFailure: {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:152:41: warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
150 | self.init(locatorMatch: .init(byType: SomeDependency.self)) {
151 | try DependencyGraph.inject(
152 | parameters: repeat each parameters
| `- warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
153 | )
154 | } unexpectedFailure: {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:174:41: warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
172 | try DependencyGraph.inject(
173 | byType: Optional<SomeCollection>.self,
174 | parameters: repeat each parameters
| `- warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
175 | )
176 | } unexpectedFailure: {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:200:26: warning: capture of 'value' with non-sendable type 'V' in a '@Sendable' closure; this is an error in the Swift 6 language mode
189 | /// - parameters: The parameters used to instantiate the dependency.
190 | @_disfavoredOverload
191 | init<V: Hashable, each Parameter: Hashable>(
| `- note: consider making generic parameter 'V' conform to the 'Sendable' protocol
192 | value: V,
193 | _ parameters: repeat each Parameter,
:
198 | self.init(locatorMatch: .init(byValue: value)) {
199 | try DependencyGraph.inject(
200 | byValue: value,
| `- warning: capture of 'value' with non-sendable type 'V' in a '@Sendable' closure; this is an error in the Swift 6 language mode
201 | parameters: repeat each parameters
202 | )
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:201:41: warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
199 | try DependencyGraph.inject(
200 | byValue: value,
201 | parameters: repeat each parameters
| `- warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
202 | )
203 | } unexpectedFailure: {
[503/530] Compiling Stitcher Injected.swift
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:27:41: warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
25 | try DependencyGraph.inject(
26 | byName: name,
27 | parameters: repeat each parameters
| `- warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
28 | )
29 | } unexpectedFailure: {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:50:41: warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
48 | try DependencyGraph.inject(
49 | byName: name,
50 | parameters: repeat each parameters
| `- warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
51 | )
52 | } unexpectedFailure: {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:72:41: warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
70 | try DependencyGraph.inject(
71 | byName: name,
72 | parameters: repeat each parameters
| `- warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
73 | )
74 | } unexpectedFailure: {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:100:41: warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
98 | self.init(locatorMatch: .init(byType: type)) {
99 | try DependencyGraph.inject(
100 | parameters: repeat each parameters
| `- warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
101 | )
102 | } unexpectedFailure: {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:125:41: warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
123 | self.init(locatorMatch: .init(byType: SomeDependency.self)) {
124 | try DependencyGraph.inject(
125 | parameters: repeat each parameters
| `- warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
126 | )
127 | } unexpectedFailure: {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:152:41: warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
150 | self.init(locatorMatch: .init(byType: SomeDependency.self)) {
151 | try DependencyGraph.inject(
152 | parameters: repeat each parameters
| `- warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
153 | )
154 | } unexpectedFailure: {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:174:41: warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
172 | try DependencyGraph.inject(
173 | byType: Optional<SomeCollection>.self,
174 | parameters: repeat each parameters
| `- warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
175 | )
176 | } unexpectedFailure: {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:200:26: warning: capture of 'value' with non-sendable type 'V' in a '@Sendable' closure; this is an error in the Swift 6 language mode
189 | /// - parameters: The parameters used to instantiate the dependency.
190 | @_disfavoredOverload
191 | init<V: Hashable, each Parameter: Hashable>(
| `- note: consider making generic parameter 'V' conform to the 'Sendable' protocol
192 | value: V,
193 | _ parameters: repeat each Parameter,
:
198 | self.init(locatorMatch: .init(byValue: value)) {
199 | try DependencyGraph.inject(
200 | byValue: value,
| `- warning: capture of 'value' with non-sendable type 'V' in a '@Sendable' closure; this is an error in the Swift 6 language mode
201 | parameters: repeat each parameters
202 | )
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:201:41: warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
199 | try DependencyGraph.inject(
200 | byValue: value,
201 | parameters: repeat each parameters
| `- warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
202 | )
203 | } unexpectedFailure: {
[504/530] Compiling Stitcher AutoregisterableDependency.swift
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:27:41: warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
25 | try DependencyGraph.inject(
26 | byName: name,
27 | parameters: repeat each parameters
| `- warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
28 | )
29 | } unexpectedFailure: {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:50:41: warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
48 | try DependencyGraph.inject(
49 | byName: name,
50 | parameters: repeat each parameters
| `- warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
51 | )
52 | } unexpectedFailure: {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:72:41: warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
70 | try DependencyGraph.inject(
71 | byName: name,
72 | parameters: repeat each parameters
| `- warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
73 | )
74 | } unexpectedFailure: {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:100:41: warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
98 | self.init(locatorMatch: .init(byType: type)) {
99 | try DependencyGraph.inject(
100 | parameters: repeat each parameters
| `- warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
101 | )
102 | } unexpectedFailure: {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:125:41: warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
123 | self.init(locatorMatch: .init(byType: SomeDependency.self)) {
124 | try DependencyGraph.inject(
125 | parameters: repeat each parameters
| `- warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
126 | )
127 | } unexpectedFailure: {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:152:41: warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
150 | self.init(locatorMatch: .init(byType: SomeDependency.self)) {
151 | try DependencyGraph.inject(
152 | parameters: repeat each parameters
| `- warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
153 | )
154 | } unexpectedFailure: {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:174:41: warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
172 | try DependencyGraph.inject(
173 | byType: Optional<SomeCollection>.self,
174 | parameters: repeat each parameters
| `- warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
175 | )
176 | } unexpectedFailure: {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:200:26: warning: capture of 'value' with non-sendable type 'V' in a '@Sendable' closure; this is an error in the Swift 6 language mode
189 | /// - parameters: The parameters used to instantiate the dependency.
190 | @_disfavoredOverload
191 | init<V: Hashable, each Parameter: Hashable>(
| `- note: consider making generic parameter 'V' conform to the 'Sendable' protocol
192 | value: V,
193 | _ parameters: repeat each Parameter,
:
198 | self.init(locatorMatch: .init(byValue: value)) {
199 | try DependencyGraph.inject(
200 | byValue: value,
| `- warning: capture of 'value' with non-sendable type 'V' in a '@Sendable' closure; this is an error in the Swift 6 language mode
201 | parameters: repeat each parameters
202 | )
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:201:41: warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
199 | try DependencyGraph.inject(
200 | byValue: value,
201 | parameters: repeat each parameters
| `- warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
202 | )
203 | } unexpectedFailure: {
[505/530] Compiling Stitcher GeneratedDependencyRegistration.swift
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:27:41: warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
25 | try DependencyGraph.inject(
26 | byName: name,
27 | parameters: repeat each parameters
| `- warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
28 | )
29 | } unexpectedFailure: {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:50:41: warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
48 | try DependencyGraph.inject(
49 | byName: name,
50 | parameters: repeat each parameters
| `- warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
51 | )
52 | } unexpectedFailure: {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:72:41: warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
70 | try DependencyGraph.inject(
71 | byName: name,
72 | parameters: repeat each parameters
| `- warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
73 | )
74 | } unexpectedFailure: {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:100:41: warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
98 | self.init(locatorMatch: .init(byType: type)) {
99 | try DependencyGraph.inject(
100 | parameters: repeat each parameters
| `- warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
101 | )
102 | } unexpectedFailure: {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:125:41: warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
123 | self.init(locatorMatch: .init(byType: SomeDependency.self)) {
124 | try DependencyGraph.inject(
125 | parameters: repeat each parameters
| `- warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
126 | )
127 | } unexpectedFailure: {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:152:41: warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
150 | self.init(locatorMatch: .init(byType: SomeDependency.self)) {
151 | try DependencyGraph.inject(
152 | parameters: repeat each parameters
| `- warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
153 | )
154 | } unexpectedFailure: {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:174:41: warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
172 | try DependencyGraph.inject(
173 | byType: Optional<SomeCollection>.self,
174 | parameters: repeat each parameters
| `- warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
175 | )
176 | } unexpectedFailure: {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:200:26: warning: capture of 'value' with non-sendable type 'V' in a '@Sendable' closure; this is an error in the Swift 6 language mode
189 | /// - parameters: The parameters used to instantiate the dependency.
190 | @_disfavoredOverload
191 | init<V: Hashable, each Parameter: Hashable>(
| `- note: consider making generic parameter 'V' conform to the 'Sendable' protocol
192 | value: V,
193 | _ parameters: repeat each Parameter,
:
198 | self.init(locatorMatch: .init(byValue: value)) {
199 | try DependencyGraph.inject(
200 | byValue: value,
| `- warning: capture of 'value' with non-sendable type 'V' in a '@Sendable' closure; this is an error in the Swift 6 language mode
201 | parameters: repeat each parameters
202 | )
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:201:41: warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
199 | try DependencyGraph.inject(
200 | byValue: value,
201 | parameters: repeat each parameters
| `- warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
202 | )
203 | } unexpectedFailure: {
[506/530] Compiling Stitcher RegisterableDependency.swift
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:27:41: warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
25 | try DependencyGraph.inject(
26 | byName: name,
27 | parameters: repeat each parameters
| `- warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
28 | )
29 | } unexpectedFailure: {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:50:41: warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
48 | try DependencyGraph.inject(
49 | byName: name,
50 | parameters: repeat each parameters
| `- warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
51 | )
52 | } unexpectedFailure: {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:72:41: warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
70 | try DependencyGraph.inject(
71 | byName: name,
72 | parameters: repeat each parameters
| `- warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
73 | )
74 | } unexpectedFailure: {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:100:41: warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
98 | self.init(locatorMatch: .init(byType: type)) {
99 | try DependencyGraph.inject(
100 | parameters: repeat each parameters
| `- warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
101 | )
102 | } unexpectedFailure: {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:125:41: warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
123 | self.init(locatorMatch: .init(byType: SomeDependency.self)) {
124 | try DependencyGraph.inject(
125 | parameters: repeat each parameters
| `- warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
126 | )
127 | } unexpectedFailure: {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:152:41: warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
150 | self.init(locatorMatch: .init(byType: SomeDependency.self)) {
151 | try DependencyGraph.inject(
152 | parameters: repeat each parameters
| `- warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
153 | )
154 | } unexpectedFailure: {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:174:41: warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
172 | try DependencyGraph.inject(
173 | byType: Optional<SomeCollection>.self,
174 | parameters: repeat each parameters
| `- warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
175 | )
176 | } unexpectedFailure: {
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:200:26: warning: capture of 'value' with non-sendable type 'V' in a '@Sendable' closure; this is an error in the Swift 6 language mode
189 | /// - parameters: The parameters used to instantiate the dependency.
190 | @_disfavoredOverload
191 | init<V: Hashable, each Parameter: Hashable>(
| `- note: consider making generic parameter 'V' conform to the 'Sendable' protocol
192 | value: V,
193 | _ parameters: repeat each Parameter,
:
198 | self.init(locatorMatch: .init(byValue: value)) {
199 | try DependencyGraph.inject(
200 | byValue: value,
| `- warning: capture of 'value' with non-sendable type 'V' in a '@Sendable' closure; this is an error in the Swift 6 language mode
201 | parameters: repeat each parameters
202 | )
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/PropertyWrappers/Injected+Init.swift:201:41: warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
199 | try DependencyGraph.inject(
200 | byValue: value,
201 | parameters: repeat each parameters
| `- warning: capture of 'parameters' with non-sendable type 'repeat each Parameter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
202 | )
203 | } unexpectedFailure: {
[507/530] Compiling Stitcher DependenciesRegistrar.swift
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/Common/ManagedSingletonInstanceStorage.swift:30:13: warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Value>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class ManagedSingletonInstanceStorage<Value: AnyObject>: InstanceStorage {
| `- note: generic class 'ManagedSingletonInstanceStorage' does not conform to the 'Sendable' protocol
11 |
12 | let key: Key
:
28 |
29 | self.subscription = scope.onScopeInvalidated { [weak self] in
30 | self?.clear()
| `- warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Value>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
31 | }
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/Common/ManagedSingletonInstanceStorage.swift:41:13: warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Reference<V>>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class ManagedSingletonInstanceStorage<Value: AnyObject>: InstanceStorage {
| `- note: generic class 'ManagedSingletonInstanceStorage' does not conform to the 'Sendable' protocol
11 |
12 | let key: Key
:
39 |
40 | self.subscription = scope.onScopeInvalidated { [weak self] in
41 | self?.clear()
| `- warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Reference<V>>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
42 | }
43 | }
[508/530] Compiling Stitcher Dependency.swift
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/Common/ManagedSingletonInstanceStorage.swift:30:13: warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Value>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class ManagedSingletonInstanceStorage<Value: AnyObject>: InstanceStorage {
| `- note: generic class 'ManagedSingletonInstanceStorage' does not conform to the 'Sendable' protocol
11 |
12 | let key: Key
:
28 |
29 | self.subscription = scope.onScopeInvalidated { [weak self] in
30 | self?.clear()
| `- warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Value>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
31 | }
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/Common/ManagedSingletonInstanceStorage.swift:41:13: warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Reference<V>>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class ManagedSingletonInstanceStorage<Value: AnyObject>: InstanceStorage {
| `- note: generic class 'ManagedSingletonInstanceStorage' does not conform to the 'Sendable' protocol
11 |
12 | let key: Key
:
39 |
40 | self.subscription = scope.onScopeInvalidated { [weak self] in
41 | self?.clear()
| `- warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Reference<V>>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
42 | }
43 | }
[509/530] Compiling Stitcher DependencyGroup.swift
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/Common/ManagedSingletonInstanceStorage.swift:30:13: warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Value>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class ManagedSingletonInstanceStorage<Value: AnyObject>: InstanceStorage {
| `- note: generic class 'ManagedSingletonInstanceStorage' does not conform to the 'Sendable' protocol
11 |
12 | let key: Key
:
28 |
29 | self.subscription = scope.onScopeInvalidated { [weak self] in
30 | self?.clear()
| `- warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Value>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
31 | }
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/Common/ManagedSingletonInstanceStorage.swift:41:13: warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Reference<V>>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class ManagedSingletonInstanceStorage<Value: AnyObject>: InstanceStorage {
| `- note: generic class 'ManagedSingletonInstanceStorage' does not conform to the 'Sendable' protocol
11 |
12 | let key: Key
:
39 |
40 | self.subscription = scope.onScopeInvalidated { [weak self] in
41 | self?.clear()
| `- warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Reference<V>>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
42 | }
43 | }
[510/530] Compiling Stitcher DependencyRegistrarBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/Common/ManagedSingletonInstanceStorage.swift:30:13: warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Value>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class ManagedSingletonInstanceStorage<Value: AnyObject>: InstanceStorage {
| `- note: generic class 'ManagedSingletonInstanceStorage' does not conform to the 'Sendable' protocol
11 |
12 | let key: Key
:
28 |
29 | self.subscription = scope.onScopeInvalidated { [weak self] in
30 | self?.clear()
| `- warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Value>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
31 | }
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/Common/ManagedSingletonInstanceStorage.swift:41:13: warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Reference<V>>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class ManagedSingletonInstanceStorage<Value: AnyObject>: InstanceStorage {
| `- note: generic class 'ManagedSingletonInstanceStorage' does not conform to the 'Sendable' protocol
11 |
12 | let key: Key
:
39 |
40 | self.subscription = scope.onScopeInvalidated { [weak self] in
41 | self?.clear()
| `- warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Reference<V>>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
42 | }
43 | }
[511/530] Compiling Stitcher RawDependencyRegistration.swift
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/Common/ManagedSingletonInstanceStorage.swift:30:13: warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Value>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class ManagedSingletonInstanceStorage<Value: AnyObject>: InstanceStorage {
| `- note: generic class 'ManagedSingletonInstanceStorage' does not conform to the 'Sendable' protocol
11 |
12 | let key: Key
:
28 |
29 | self.subscription = scope.onScopeInvalidated { [weak self] in
30 | self?.clear()
| `- warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Value>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
31 | }
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/Common/ManagedSingletonInstanceStorage.swift:41:13: warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Reference<V>>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class ManagedSingletonInstanceStorage<Value: AnyObject>: InstanceStorage {
| `- note: generic class 'ManagedSingletonInstanceStorage' does not conform to the 'Sendable' protocol
11 |
12 | let key: Key
:
39 |
40 | self.subscription = scope.onScopeInvalidated { [weak self] in
41 | self?.clear()
| `- warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Reference<V>>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
42 | }
43 | }
[512/530] Compiling Stitcher DependencyGroupRepresenting.swift
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/Common/ManagedSingletonInstanceStorage.swift:30:13: warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Value>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class ManagedSingletonInstanceStorage<Value: AnyObject>: InstanceStorage {
| `- note: generic class 'ManagedSingletonInstanceStorage' does not conform to the 'Sendable' protocol
11 |
12 | let key: Key
:
28 |
29 | self.subscription = scope.onScopeInvalidated { [weak self] in
30 | self?.clear()
| `- warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Value>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
31 | }
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/Common/ManagedSingletonInstanceStorage.swift:41:13: warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Reference<V>>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class ManagedSingletonInstanceStorage<Value: AnyObject>: InstanceStorage {
| `- note: generic class 'ManagedSingletonInstanceStorage' does not conform to the 'Sendable' protocol
11 |
12 | let key: Key
:
39 |
40 | self.subscription = scope.onScopeInvalidated { [weak self] in
41 | self?.clear()
| `- warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Reference<V>>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
42 | }
43 | }
[513/530] Compiling Stitcher DependencyRepresenting.swift
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/Common/ManagedSingletonInstanceStorage.swift:30:13: warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Value>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class ManagedSingletonInstanceStorage<Value: AnyObject>: InstanceStorage {
| `- note: generic class 'ManagedSingletonInstanceStorage' does not conform to the 'Sendable' protocol
11 |
12 | let key: Key
:
28 |
29 | self.subscription = scope.onScopeInvalidated { [weak self] in
30 | self?.clear()
| `- warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Value>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
31 | }
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/Common/ManagedSingletonInstanceStorage.swift:41:13: warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Reference<V>>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class ManagedSingletonInstanceStorage<Value: AnyObject>: InstanceStorage {
| `- note: generic class 'ManagedSingletonInstanceStorage' does not conform to the 'Sendable' protocol
11 |
12 | let key: Key
:
39 |
40 | self.subscription = scope.onScopeInvalidated { [weak self] in
41 | self?.clear()
| `- warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Reference<V>>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
42 | }
43 | }
[514/530] Compiling Stitcher ManagedSingletonInstanceStorage.swift
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/Common/ManagedSingletonInstanceStorage.swift:30:13: warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Value>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class ManagedSingletonInstanceStorage<Value: AnyObject>: InstanceStorage {
| `- note: generic class 'ManagedSingletonInstanceStorage' does not conform to the 'Sendable' protocol
11 |
12 | let key: Key
:
28 |
29 | self.subscription = scope.onScopeInvalidated { [weak self] in
30 | self?.clear()
| `- warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Value>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
31 | }
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/Common/ManagedSingletonInstanceStorage.swift:41:13: warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Reference<V>>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class ManagedSingletonInstanceStorage<Value: AnyObject>: InstanceStorage {
| `- note: generic class 'ManagedSingletonInstanceStorage' does not conform to the 'Sendable' protocol
11 |
12 | let key: Key
:
39 |
40 | self.subscription = scope.onScopeInvalidated { [weak self] in
41 | self?.clear()
| `- warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Reference<V>>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
42 | }
43 | }
[515/530] Compiling Stitcher NeverInstanceStorage.swift
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/InstanceStorage.swift:40:31: warning: capture of 'storage' with non-sendable type 'Storage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
37 | let key: Key
38 |
39 | init<Storage: InstanceStorage>(erasing storage: Storage) {
| `- note: consider making generic parameter 'Storage' conform to the 'Sendable' protocol
40 | self._storedValue = { storage.value }
| `- warning: capture of 'storage' with non-sendable type 'Storage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | self._hash = { storage.hash(into: &$0) }
42 | self.key = storage.key
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/InstanceStorage.swift:41:24: warning: capture of 'storage' with non-sendable type 'Storage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
37 | let key: Key
38 |
39 | init<Storage: InstanceStorage>(erasing storage: Storage) {
| `- note: consider making generic parameter 'Storage' conform to the 'Sendable' protocol
40 | self._storedValue = { storage.value }
41 | self._hash = { storage.hash(into: &$0) }
| `- warning: capture of 'storage' with non-sendable type 'Storage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
42 | self.key = storage.key
43 | }
[516/530] Compiling Stitcher SharedInstanceStorage.swift
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/InstanceStorage.swift:40:31: warning: capture of 'storage' with non-sendable type 'Storage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
37 | let key: Key
38 |
39 | init<Storage: InstanceStorage>(erasing storage: Storage) {
| `- note: consider making generic parameter 'Storage' conform to the 'Sendable' protocol
40 | self._storedValue = { storage.value }
| `- warning: capture of 'storage' with non-sendable type 'Storage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | self._hash = { storage.hash(into: &$0) }
42 | self.key = storage.key
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/InstanceStorage.swift:41:24: warning: capture of 'storage' with non-sendable type 'Storage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
37 | let key: Key
38 |
39 | init<Storage: InstanceStorage>(erasing storage: Storage) {
| `- note: consider making generic parameter 'Storage' conform to the 'Sendable' protocol
40 | self._storedValue = { storage.value }
41 | self._hash = { storage.hash(into: &$0) }
| `- warning: capture of 'storage' with non-sendable type 'Storage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
42 | self.key = storage.key
43 | }
[517/530] Compiling Stitcher SingletonInstanceStorage.swift
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/InstanceStorage.swift:40:31: warning: capture of 'storage' with non-sendable type 'Storage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
37 | let key: Key
38 |
39 | init<Storage: InstanceStorage>(erasing storage: Storage) {
| `- note: consider making generic parameter 'Storage' conform to the 'Sendable' protocol
40 | self._storedValue = { storage.value }
| `- warning: capture of 'storage' with non-sendable type 'Storage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | self._hash = { storage.hash(into: &$0) }
42 | self.key = storage.key
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/InstanceStorage.swift:41:24: warning: capture of 'storage' with non-sendable type 'Storage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
37 | let key: Key
38 |
39 | init<Storage: InstanceStorage>(erasing storage: Storage) {
| `- note: consider making generic parameter 'Storage' conform to the 'Sendable' protocol
40 | self._storedValue = { storage.value }
41 | self._hash = { storage.hash(into: &$0) }
| `- warning: capture of 'storage' with non-sendable type 'Storage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
42 | self.key = storage.key
43 | }
[518/530] Compiling Stitcher InstanceStorage.swift
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/InstanceStorage.swift:40:31: warning: capture of 'storage' with non-sendable type 'Storage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
37 | let key: Key
38 |
39 | init<Storage: InstanceStorage>(erasing storage: Storage) {
| `- note: consider making generic parameter 'Storage' conform to the 'Sendable' protocol
40 | self._storedValue = { storage.value }
| `- warning: capture of 'storage' with non-sendable type 'Storage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | self._hash = { storage.hash(into: &$0) }
42 | self.key = storage.key
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/InstanceStorage.swift:41:24: warning: capture of 'storage' with non-sendable type 'Storage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
37 | let key: Key
38 |
39 | init<Storage: InstanceStorage>(erasing storage: Storage) {
| `- note: consider making generic parameter 'Storage' conform to the 'Sendable' protocol
40 | self._storedValue = { storage.value }
41 | self._hash = { storage.hash(into: &$0) }
| `- warning: capture of 'storage' with non-sendable type 'Storage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
42 | self.key = storage.key
43 | }
[519/530] Compiling Stitcher InstanceStorageFactory.swift
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/InstanceStorage.swift:40:31: warning: capture of 'storage' with non-sendable type 'Storage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
37 | let key: Key
38 |
39 | init<Storage: InstanceStorage>(erasing storage: Storage) {
| `- note: consider making generic parameter 'Storage' conform to the 'Sendable' protocol
40 | self._storedValue = { storage.value }
| `- warning: capture of 'storage' with non-sendable type 'Storage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | self._hash = { storage.hash(into: &$0) }
42 | self.key = storage.key
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/InstanceStorage.swift:41:24: warning: capture of 'storage' with non-sendable type 'Storage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
37 | let key: Key
38 |
39 | init<Storage: InstanceStorage>(erasing storage: Storage) {
| `- note: consider making generic parameter 'Storage' conform to the 'Sendable' protocol
40 | self._storedValue = { storage.value }
41 | self._hash = { storage.hash(into: &$0) }
| `- warning: capture of 'storage' with non-sendable type 'Storage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
42 | self.key = storage.key
43 | }
[520/530] Compiling Stitcher InstanceStorageKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/InstanceStorage.swift:40:31: warning: capture of 'storage' with non-sendable type 'Storage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
37 | let key: Key
38 |
39 | init<Storage: InstanceStorage>(erasing storage: Storage) {
| `- note: consider making generic parameter 'Storage' conform to the 'Sendable' protocol
40 | self._storedValue = { storage.value }
| `- warning: capture of 'storage' with non-sendable type 'Storage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | self._hash = { storage.hash(into: &$0) }
42 | self.key = storage.key
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/InstanceStorage.swift:41:24: warning: capture of 'storage' with non-sendable type 'Storage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
37 | let key: Key
38 |
39 | init<Storage: InstanceStorage>(erasing storage: Storage) {
| `- note: consider making generic parameter 'Storage' conform to the 'Sendable' protocol
40 | self._storedValue = { storage.value }
41 | self._hash = { storage.hash(into: &$0) }
| `- warning: capture of 'storage' with non-sendable type 'Storage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
42 | self.key = storage.key
43 | }
[521/530] Compiling Stitcher AnyPipeline.swift
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/InstanceStorage.swift:40:31: warning: capture of 'storage' with non-sendable type 'Storage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
37 | let key: Key
38 |
39 | init<Storage: InstanceStorage>(erasing storage: Storage) {
| `- note: consider making generic parameter 'Storage' conform to the 'Sendable' protocol
40 | self._storedValue = { storage.value }
| `- warning: capture of 'storage' with non-sendable type 'Storage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | self._hash = { storage.hash(into: &$0) }
42 | self.key = storage.key
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/InstanceStorage.swift:41:24: warning: capture of 'storage' with non-sendable type 'Storage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
37 | let key: Key
38 |
39 | init<Storage: InstanceStorage>(erasing storage: Storage) {
| `- note: consider making generic parameter 'Storage' conform to the 'Sendable' protocol
40 | self._storedValue = { storage.value }
41 | self._hash = { storage.hash(into: &$0) }
| `- warning: capture of 'storage' with non-sendable type 'Storage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
42 | self.key = storage.key
43 | }
[522/530] Compiling Stitcher AnyPipelineCancellable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/InstanceStorage.swift:40:31: warning: capture of 'storage' with non-sendable type 'Storage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
37 | let key: Key
38 |
39 | init<Storage: InstanceStorage>(erasing storage: Storage) {
| `- note: consider making generic parameter 'Storage' conform to the 'Sendable' protocol
40 | self._storedValue = { storage.value }
| `- warning: capture of 'storage' with non-sendable type 'Storage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | self._hash = { storage.hash(into: &$0) }
42 | self.key = storage.key
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/InstanceStorage.swift:41:24: warning: capture of 'storage' with non-sendable type 'Storage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
37 | let key: Key
38 |
39 | init<Storage: InstanceStorage>(erasing storage: Storage) {
| `- note: consider making generic parameter 'Storage' conform to the 'Sendable' protocol
40 | self._storedValue = { storage.value }
41 | self._hash = { storage.hash(into: &$0) }
| `- warning: capture of 'storage' with non-sendable type 'Storage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
42 | self.key = storage.key
43 | }
[523/530] Compiling Stitcher IndexedDependencyContainer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:68:33: warning: capture of 'registrar' with non-sendable type 'DependenciesRegistrar' (aka 'Set<RawDependencyRegistration>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
66 |
67 | indexingTask = AsyncTask(priority: .high) {
68 | for registration in registrar {
| `- warning: capture of 'registrar' with non-sendable type 'DependenciesRegistrar' (aka 'Set<RawDependencyRegistration>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
69 | guard registration.canInstantiateEagerly else {
70 | continue
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Registration/RawDependencyRegistration.swift:10:15: note: consider making struct 'RawDependencyRegistration' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct RawDependencyRegistration: Hashable {
| `- note: consider making struct 'RawDependencyRegistration' conform to the 'Sendable' protocol
11 |
12 | /// An optimized storage box to avoid COW operations for immutable instances of `RawDependencyRegistration`
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:73:17: warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
10 |
11 | /// A wrapper that holds a `DependencyContainer` and indexes it's registrar asynchronously
12 | final class IndexedDependencyContainer {
| `- note: class 'IndexedDependencyContainer' does not conform to the 'Sendable' protocol
13 |
14 | @Atomic
:
71 | }
72 |
73 | self.lazyInitializationHandler(registration)
| `- warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
74 | }
75 |
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:76:13: warning: capture of 'completion' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
74 | }
75 |
76 | completion()
| |- warning: capture of 'completion' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
77 | }
78 | }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:128:30: warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
10 |
11 | /// A wrapper that holds a `DependencyContainer` and indexes it's registrar asynchronously
12 | final class IndexedDependencyContainer {
| `- note: class 'IndexedDependencyContainer' does not conform to the 'Sendable' protocol
13 |
14 | @Atomic
:
126 |
127 | indexingTask = AsyncTask(priority: .high) { [weak self] in
128 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
129 | self.indexIncrementally(changes: changes)
130 | }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:129:46: warning: capture of 'changes' with non-sendable type 'DependencyContainer.ChangeSet' in a '@Sendable' closure; this is an error in the Swift 6 language mode
127 | indexingTask = AsyncTask(priority: .high) { [weak self] in
128 | guard let self = self else { return }
129 | self.indexIncrementally(changes: changes)
| `- warning: capture of 'changes' with non-sendable type 'DependencyContainer.ChangeSet' in a '@Sendable' closure; this is an error in the Swift 6 language mode
130 | }
131 | }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/DependencyContainer.swift:59:12: note: consider making struct 'ChangeSet' conform to the 'Sendable' protocol
57 | }
58 |
59 | struct ChangeSet {
| `- note: consider making struct 'ChangeSet' conform to the 'Sendable' protocol
60 | let containerId: DependencyContainer.ID
61 | let oldValue: DependenciesRegistrar
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/StorageCleaner/StorageCleaner.swift:74:13: warning: capture of 'self' with non-sendable type 'StorageCleaner' in a '@Sendable' closure; this is an error in the Swift 6 language mode
18 | #endif
19 |
20 | class StorageCleaner {
| `- note: class 'StorageCleaner' does not conform to the 'Sendable' protocol
21 |
22 | private var cleanupHandler: @Sendable () -> Void
:
72 |
73 | AsyncTask(priority: priority) {
74 | self.cleanupHandler()
| `- warning: capture of 'self' with non-sendable type 'StorageCleaner' in a '@Sendable' closure; this is an error in the Swift 6 language mode
75 | }
76 | }
[524/530] Compiling Stitcher Indexing.swift
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:68:33: warning: capture of 'registrar' with non-sendable type 'DependenciesRegistrar' (aka 'Set<RawDependencyRegistration>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
66 |
67 | indexingTask = AsyncTask(priority: .high) {
68 | for registration in registrar {
| `- warning: capture of 'registrar' with non-sendable type 'DependenciesRegistrar' (aka 'Set<RawDependencyRegistration>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
69 | guard registration.canInstantiateEagerly else {
70 | continue
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Registration/RawDependencyRegistration.swift:10:15: note: consider making struct 'RawDependencyRegistration' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct RawDependencyRegistration: Hashable {
| `- note: consider making struct 'RawDependencyRegistration' conform to the 'Sendable' protocol
11 |
12 | /// An optimized storage box to avoid COW operations for immutable instances of `RawDependencyRegistration`
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:73:17: warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
10 |
11 | /// A wrapper that holds a `DependencyContainer` and indexes it's registrar asynchronously
12 | final class IndexedDependencyContainer {
| `- note: class 'IndexedDependencyContainer' does not conform to the 'Sendable' protocol
13 |
14 | @Atomic
:
71 | }
72 |
73 | self.lazyInitializationHandler(registration)
| `- warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
74 | }
75 |
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:76:13: warning: capture of 'completion' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
74 | }
75 |
76 | completion()
| |- warning: capture of 'completion' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
77 | }
78 | }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:128:30: warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
10 |
11 | /// A wrapper that holds a `DependencyContainer` and indexes it's registrar asynchronously
12 | final class IndexedDependencyContainer {
| `- note: class 'IndexedDependencyContainer' does not conform to the 'Sendable' protocol
13 |
14 | @Atomic
:
126 |
127 | indexingTask = AsyncTask(priority: .high) { [weak self] in
128 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
129 | self.indexIncrementally(changes: changes)
130 | }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:129:46: warning: capture of 'changes' with non-sendable type 'DependencyContainer.ChangeSet' in a '@Sendable' closure; this is an error in the Swift 6 language mode
127 | indexingTask = AsyncTask(priority: .high) { [weak self] in
128 | guard let self = self else { return }
129 | self.indexIncrementally(changes: changes)
| `- warning: capture of 'changes' with non-sendable type 'DependencyContainer.ChangeSet' in a '@Sendable' closure; this is an error in the Swift 6 language mode
130 | }
131 | }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/DependencyContainer.swift:59:12: note: consider making struct 'ChangeSet' conform to the 'Sendable' protocol
57 | }
58 |
59 | struct ChangeSet {
| `- note: consider making struct 'ChangeSet' conform to the 'Sendable' protocol
60 | let containerId: DependencyContainer.ID
61 | let oldValue: DependenciesRegistrar
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/StorageCleaner/StorageCleaner.swift:74:13: warning: capture of 'self' with non-sendable type 'StorageCleaner' in a '@Sendable' closure; this is an error in the Swift 6 language mode
18 | #endif
19 |
20 | class StorageCleaner {
| `- note: class 'StorageCleaner' does not conform to the 'Sendable' protocol
21 |
22 | private var cleanupHandler: @Sendable () -> Void
:
72 |
73 | AsyncTask(priority: priority) {
74 | self.cleanupHandler()
| `- warning: capture of 'self' with non-sendable type 'StorageCleaner' in a '@Sendable' closure; this is an error in the Swift 6 language mode
75 | }
76 | }
[525/530] Compiling Stitcher IndexingCoordinator.swift
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:68:33: warning: capture of 'registrar' with non-sendable type 'DependenciesRegistrar' (aka 'Set<RawDependencyRegistration>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
66 |
67 | indexingTask = AsyncTask(priority: .high) {
68 | for registration in registrar {
| `- warning: capture of 'registrar' with non-sendable type 'DependenciesRegistrar' (aka 'Set<RawDependencyRegistration>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
69 | guard registration.canInstantiateEagerly else {
70 | continue
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Registration/RawDependencyRegistration.swift:10:15: note: consider making struct 'RawDependencyRegistration' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct RawDependencyRegistration: Hashable {
| `- note: consider making struct 'RawDependencyRegistration' conform to the 'Sendable' protocol
11 |
12 | /// An optimized storage box to avoid COW operations for immutable instances of `RawDependencyRegistration`
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:73:17: warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
10 |
11 | /// A wrapper that holds a `DependencyContainer` and indexes it's registrar asynchronously
12 | final class IndexedDependencyContainer {
| `- note: class 'IndexedDependencyContainer' does not conform to the 'Sendable' protocol
13 |
14 | @Atomic
:
71 | }
72 |
73 | self.lazyInitializationHandler(registration)
| `- warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
74 | }
75 |
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:76:13: warning: capture of 'completion' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
74 | }
75 |
76 | completion()
| |- warning: capture of 'completion' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
77 | }
78 | }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:128:30: warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
10 |
11 | /// A wrapper that holds a `DependencyContainer` and indexes it's registrar asynchronously
12 | final class IndexedDependencyContainer {
| `- note: class 'IndexedDependencyContainer' does not conform to the 'Sendable' protocol
13 |
14 | @Atomic
:
126 |
127 | indexingTask = AsyncTask(priority: .high) { [weak self] in
128 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
129 | self.indexIncrementally(changes: changes)
130 | }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:129:46: warning: capture of 'changes' with non-sendable type 'DependencyContainer.ChangeSet' in a '@Sendable' closure; this is an error in the Swift 6 language mode
127 | indexingTask = AsyncTask(priority: .high) { [weak self] in
128 | guard let self = self else { return }
129 | self.indexIncrementally(changes: changes)
| `- warning: capture of 'changes' with non-sendable type 'DependencyContainer.ChangeSet' in a '@Sendable' closure; this is an error in the Swift 6 language mode
130 | }
131 | }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/DependencyContainer.swift:59:12: note: consider making struct 'ChangeSet' conform to the 'Sendable' protocol
57 | }
58 |
59 | struct ChangeSet {
| `- note: consider making struct 'ChangeSet' conform to the 'Sendable' protocol
60 | let containerId: DependencyContainer.ID
61 | let oldValue: DependenciesRegistrar
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/StorageCleaner/StorageCleaner.swift:74:13: warning: capture of 'self' with non-sendable type 'StorageCleaner' in a '@Sendable' closure; this is an error in the Swift 6 language mode
18 | #endif
19 |
20 | class StorageCleaner {
| `- note: class 'StorageCleaner' does not conform to the 'Sendable' protocol
21 |
22 | private var cleanupHandler: @Sendable () -> Void
:
72 |
73 | AsyncTask(priority: priority) {
74 | self.cleanupHandler()
| `- warning: capture of 'self' with non-sendable type 'StorageCleaner' in a '@Sendable' closure; this is an error in the Swift 6 language mode
75 | }
76 | }
[526/530] Compiling Stitcher IndexingKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:68:33: warning: capture of 'registrar' with non-sendable type 'DependenciesRegistrar' (aka 'Set<RawDependencyRegistration>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
66 |
67 | indexingTask = AsyncTask(priority: .high) {
68 | for registration in registrar {
| `- warning: capture of 'registrar' with non-sendable type 'DependenciesRegistrar' (aka 'Set<RawDependencyRegistration>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
69 | guard registration.canInstantiateEagerly else {
70 | continue
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Registration/RawDependencyRegistration.swift:10:15: note: consider making struct 'RawDependencyRegistration' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct RawDependencyRegistration: Hashable {
| `- note: consider making struct 'RawDependencyRegistration' conform to the 'Sendable' protocol
11 |
12 | /// An optimized storage box to avoid COW operations for immutable instances of `RawDependencyRegistration`
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:73:17: warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
10 |
11 | /// A wrapper that holds a `DependencyContainer` and indexes it's registrar asynchronously
12 | final class IndexedDependencyContainer {
| `- note: class 'IndexedDependencyContainer' does not conform to the 'Sendable' protocol
13 |
14 | @Atomic
:
71 | }
72 |
73 | self.lazyInitializationHandler(registration)
| `- warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
74 | }
75 |
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:76:13: warning: capture of 'completion' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
74 | }
75 |
76 | completion()
| |- warning: capture of 'completion' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
77 | }
78 | }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:128:30: warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
10 |
11 | /// A wrapper that holds a `DependencyContainer` and indexes it's registrar asynchronously
12 | final class IndexedDependencyContainer {
| `- note: class 'IndexedDependencyContainer' does not conform to the 'Sendable' protocol
13 |
14 | @Atomic
:
126 |
127 | indexingTask = AsyncTask(priority: .high) { [weak self] in
128 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
129 | self.indexIncrementally(changes: changes)
130 | }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:129:46: warning: capture of 'changes' with non-sendable type 'DependencyContainer.ChangeSet' in a '@Sendable' closure; this is an error in the Swift 6 language mode
127 | indexingTask = AsyncTask(priority: .high) { [weak self] in
128 | guard let self = self else { return }
129 | self.indexIncrementally(changes: changes)
| `- warning: capture of 'changes' with non-sendable type 'DependencyContainer.ChangeSet' in a '@Sendable' closure; this is an error in the Swift 6 language mode
130 | }
131 | }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/DependencyContainer.swift:59:12: note: consider making struct 'ChangeSet' conform to the 'Sendable' protocol
57 | }
58 |
59 | struct ChangeSet {
| `- note: consider making struct 'ChangeSet' conform to the 'Sendable' protocol
60 | let containerId: DependencyContainer.ID
61 | let oldValue: DependenciesRegistrar
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/StorageCleaner/StorageCleaner.swift:74:13: warning: capture of 'self' with non-sendable type 'StorageCleaner' in a '@Sendable' closure; this is an error in the Swift 6 language mode
18 | #endif
19 |
20 | class StorageCleaner {
| `- note: class 'StorageCleaner' does not conform to the 'Sendable' protocol
21 |
22 | private var cleanupHandler: @Sendable () -> Void
:
72 |
73 | AsyncTask(priority: priority) {
74 | self.cleanupHandler()
| `- warning: capture of 'self' with non-sendable type 'StorageCleaner' in a '@Sendable' closure; this is an error in the Swift 6 language mode
75 | }
76 | }
[527/530] Compiling Stitcher IndexingTask.swift
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:68:33: warning: capture of 'registrar' with non-sendable type 'DependenciesRegistrar' (aka 'Set<RawDependencyRegistration>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
66 |
67 | indexingTask = AsyncTask(priority: .high) {
68 | for registration in registrar {
| `- warning: capture of 'registrar' with non-sendable type 'DependenciesRegistrar' (aka 'Set<RawDependencyRegistration>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
69 | guard registration.canInstantiateEagerly else {
70 | continue
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Registration/RawDependencyRegistration.swift:10:15: note: consider making struct 'RawDependencyRegistration' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct RawDependencyRegistration: Hashable {
| `- note: consider making struct 'RawDependencyRegistration' conform to the 'Sendable' protocol
11 |
12 | /// An optimized storage box to avoid COW operations for immutable instances of `RawDependencyRegistration`
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:73:17: warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
10 |
11 | /// A wrapper that holds a `DependencyContainer` and indexes it's registrar asynchronously
12 | final class IndexedDependencyContainer {
| `- note: class 'IndexedDependencyContainer' does not conform to the 'Sendable' protocol
13 |
14 | @Atomic
:
71 | }
72 |
73 | self.lazyInitializationHandler(registration)
| `- warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
74 | }
75 |
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:76:13: warning: capture of 'completion' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
74 | }
75 |
76 | completion()
| |- warning: capture of 'completion' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
77 | }
78 | }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:128:30: warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
10 |
11 | /// A wrapper that holds a `DependencyContainer` and indexes it's registrar asynchronously
12 | final class IndexedDependencyContainer {
| `- note: class 'IndexedDependencyContainer' does not conform to the 'Sendable' protocol
13 |
14 | @Atomic
:
126 |
127 | indexingTask = AsyncTask(priority: .high) { [weak self] in
128 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
129 | self.indexIncrementally(changes: changes)
130 | }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:129:46: warning: capture of 'changes' with non-sendable type 'DependencyContainer.ChangeSet' in a '@Sendable' closure; this is an error in the Swift 6 language mode
127 | indexingTask = AsyncTask(priority: .high) { [weak self] in
128 | guard let self = self else { return }
129 | self.indexIncrementally(changes: changes)
| `- warning: capture of 'changes' with non-sendable type 'DependencyContainer.ChangeSet' in a '@Sendable' closure; this is an error in the Swift 6 language mode
130 | }
131 | }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/DependencyContainer.swift:59:12: note: consider making struct 'ChangeSet' conform to the 'Sendable' protocol
57 | }
58 |
59 | struct ChangeSet {
| `- note: consider making struct 'ChangeSet' conform to the 'Sendable' protocol
60 | let containerId: DependencyContainer.ID
61 | let oldValue: DependenciesRegistrar
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/StorageCleaner/StorageCleaner.swift:74:13: warning: capture of 'self' with non-sendable type 'StorageCleaner' in a '@Sendable' closure; this is an error in the Swift 6 language mode
18 | #endif
19 |
20 | class StorageCleaner {
| `- note: class 'StorageCleaner' does not conform to the 'Sendable' protocol
21 |
22 | private var cleanupHandler: @Sendable () -> Void
:
72 |
73 | AsyncTask(priority: priority) {
74 | self.cleanupHandler()
| `- warning: capture of 'self' with non-sendable type 'StorageCleaner' in a '@Sendable' closure; this is an error in the Swift 6 language mode
75 | }
76 | }
[528/530] Compiling Stitcher StorageCleaner.swift
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:68:33: warning: capture of 'registrar' with non-sendable type 'DependenciesRegistrar' (aka 'Set<RawDependencyRegistration>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
66 |
67 | indexingTask = AsyncTask(priority: .high) {
68 | for registration in registrar {
| `- warning: capture of 'registrar' with non-sendable type 'DependenciesRegistrar' (aka 'Set<RawDependencyRegistration>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
69 | guard registration.canInstantiateEagerly else {
70 | continue
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Registration/RawDependencyRegistration.swift:10:15: note: consider making struct 'RawDependencyRegistration' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct RawDependencyRegistration: Hashable {
| `- note: consider making struct 'RawDependencyRegistration' conform to the 'Sendable' protocol
11 |
12 | /// An optimized storage box to avoid COW operations for immutable instances of `RawDependencyRegistration`
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:73:17: warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
10 |
11 | /// A wrapper that holds a `DependencyContainer` and indexes it's registrar asynchronously
12 | final class IndexedDependencyContainer {
| `- note: class 'IndexedDependencyContainer' does not conform to the 'Sendable' protocol
13 |
14 | @Atomic
:
71 | }
72 |
73 | self.lazyInitializationHandler(registration)
| `- warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
74 | }
75 |
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:76:13: warning: capture of 'completion' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
74 | }
75 |
76 | completion()
| |- warning: capture of 'completion' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
77 | }
78 | }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:128:30: warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
10 |
11 | /// A wrapper that holds a `DependencyContainer` and indexes it's registrar asynchronously
12 | final class IndexedDependencyContainer {
| `- note: class 'IndexedDependencyContainer' does not conform to the 'Sendable' protocol
13 |
14 | @Atomic
:
126 |
127 | indexingTask = AsyncTask(priority: .high) { [weak self] in
128 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
129 | self.indexIncrementally(changes: changes)
130 | }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:129:46: warning: capture of 'changes' with non-sendable type 'DependencyContainer.ChangeSet' in a '@Sendable' closure; this is an error in the Swift 6 language mode
127 | indexingTask = AsyncTask(priority: .high) { [weak self] in
128 | guard let self = self else { return }
129 | self.indexIncrementally(changes: changes)
| `- warning: capture of 'changes' with non-sendable type 'DependencyContainer.ChangeSet' in a '@Sendable' closure; this is an error in the Swift 6 language mode
130 | }
131 | }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/DependencyContainer.swift:59:12: note: consider making struct 'ChangeSet' conform to the 'Sendable' protocol
57 | }
58 |
59 | struct ChangeSet {
| `- note: consider making struct 'ChangeSet' conform to the 'Sendable' protocol
60 | let containerId: DependencyContainer.ID
61 | let oldValue: DependenciesRegistrar
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/StorageCleaner/StorageCleaner.swift:74:13: warning: capture of 'self' with non-sendable type 'StorageCleaner' in a '@Sendable' closure; this is an error in the Swift 6 language mode
18 | #endif
19 |
20 | class StorageCleaner {
| `- note: class 'StorageCleaner' does not conform to the 'Sendable' protocol
21 |
22 | private var cleanupHandler: @Sendable () -> Void
:
72 |
73 | AsyncTask(priority: priority) {
74 | self.cleanupHandler()
| `- warning: capture of 'self' with non-sendable type 'StorageCleaner' in a '@Sendable' closure; this is an error in the Swift 6 language mode
75 | }
76 | }
[529/530] Compiling Stitcher DependencyContainingCollection.swift
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:68:33: warning: capture of 'registrar' with non-sendable type 'DependenciesRegistrar' (aka 'Set<RawDependencyRegistration>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
66 |
67 | indexingTask = AsyncTask(priority: .high) {
68 | for registration in registrar {
| `- warning: capture of 'registrar' with non-sendable type 'DependenciesRegistrar' (aka 'Set<RawDependencyRegistration>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
69 | guard registration.canInstantiateEagerly else {
70 | continue
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Registration/RawDependencyRegistration.swift:10:15: note: consider making struct 'RawDependencyRegistration' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct RawDependencyRegistration: Hashable {
| `- note: consider making struct 'RawDependencyRegistration' conform to the 'Sendable' protocol
11 |
12 | /// An optimized storage box to avoid COW operations for immutable instances of `RawDependencyRegistration`
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:73:17: warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
10 |
11 | /// A wrapper that holds a `DependencyContainer` and indexes it's registrar asynchronously
12 | final class IndexedDependencyContainer {
| `- note: class 'IndexedDependencyContainer' does not conform to the 'Sendable' protocol
13 |
14 | @Atomic
:
71 | }
72 |
73 | self.lazyInitializationHandler(registration)
| `- warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
74 | }
75 |
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:76:13: warning: capture of 'completion' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
74 | }
75 |
76 | completion()
| |- warning: capture of 'completion' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
77 | }
78 | }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:128:30: warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
10 |
11 | /// A wrapper that holds a `DependencyContainer` and indexes it's registrar asynchronously
12 | final class IndexedDependencyContainer {
| `- note: class 'IndexedDependencyContainer' does not conform to the 'Sendable' protocol
13 |
14 | @Atomic
:
126 |
127 | indexingTask = AsyncTask(priority: .high) { [weak self] in
128 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
129 | self.indexIncrementally(changes: changes)
130 | }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:129:46: warning: capture of 'changes' with non-sendable type 'DependencyContainer.ChangeSet' in a '@Sendable' closure; this is an error in the Swift 6 language mode
127 | indexingTask = AsyncTask(priority: .high) { [weak self] in
128 | guard let self = self else { return }
129 | self.indexIncrementally(changes: changes)
| `- warning: capture of 'changes' with non-sendable type 'DependencyContainer.ChangeSet' in a '@Sendable' closure; this is an error in the Swift 6 language mode
130 | }
131 | }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/DependencyContainer.swift:59:12: note: consider making struct 'ChangeSet' conform to the 'Sendable' protocol
57 | }
58 |
59 | struct ChangeSet {
| `- note: consider making struct 'ChangeSet' conform to the 'Sendable' protocol
60 | let containerId: DependencyContainer.ID
61 | let oldValue: DependenciesRegistrar
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/StorageCleaner/StorageCleaner.swift:74:13: warning: capture of 'self' with non-sendable type 'StorageCleaner' in a '@Sendable' closure; this is an error in the Swift 6 language mode
18 | #endif
19 |
20 | class StorageCleaner {
| `- note: class 'StorageCleaner' does not conform to the 'Sendable' protocol
21 |
22 | private var cleanupHandler: @Sendable () -> Void
:
72 |
73 | AsyncTask(priority: priority) {
74 | self.cleanupHandler()
| `- warning: capture of 'self' with non-sendable type 'StorageCleaner' in a '@Sendable' closure; this is an error in the Swift 6 language mode
75 | }
76 | }
[530/530] Compiling Stitcher DependencyEagerness.swift
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:68:33: warning: capture of 'registrar' with non-sendable type 'DependenciesRegistrar' (aka 'Set<RawDependencyRegistration>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
66 |
67 | indexingTask = AsyncTask(priority: .high) {
68 | for registration in registrar {
| `- warning: capture of 'registrar' with non-sendable type 'DependenciesRegistrar' (aka 'Set<RawDependencyRegistration>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
69 | guard registration.canInstantiateEagerly else {
70 | continue
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Registration/RawDependencyRegistration.swift:10:15: note: consider making struct 'RawDependencyRegistration' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct RawDependencyRegistration: Hashable {
| `- note: consider making struct 'RawDependencyRegistration' conform to the 'Sendable' protocol
11 |
12 | /// An optimized storage box to avoid COW operations for immutable instances of `RawDependencyRegistration`
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:73:17: warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
10 |
11 | /// A wrapper that holds a `DependencyContainer` and indexes it's registrar asynchronously
12 | final class IndexedDependencyContainer {
| `- note: class 'IndexedDependencyContainer' does not conform to the 'Sendable' protocol
13 |
14 | @Atomic
:
71 | }
72 |
73 | self.lazyInitializationHandler(registration)
| `- warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
74 | }
75 |
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:76:13: warning: capture of 'completion' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
74 | }
75 |
76 | completion()
| |- warning: capture of 'completion' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
77 | }
78 | }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:128:30: warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
10 |
11 | /// A wrapper that holds a `DependencyContainer` and indexes it's registrar asynchronously
12 | final class IndexedDependencyContainer {
| `- note: class 'IndexedDependencyContainer' does not conform to the 'Sendable' protocol
13 |
14 | @Atomic
:
126 |
127 | indexingTask = AsyncTask(priority: .high) { [weak self] in
128 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
129 | self.indexIncrementally(changes: changes)
130 | }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:129:46: warning: capture of 'changes' with non-sendable type 'DependencyContainer.ChangeSet' in a '@Sendable' closure; this is an error in the Swift 6 language mode
127 | indexingTask = AsyncTask(priority: .high) { [weak self] in
128 | guard let self = self else { return }
129 | self.indexIncrementally(changes: changes)
| `- warning: capture of 'changes' with non-sendable type 'DependencyContainer.ChangeSet' in a '@Sendable' closure; this is an error in the Swift 6 language mode
130 | }
131 | }
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/DependencyContainer.swift:59:12: note: consider making struct 'ChangeSet' conform to the 'Sendable' protocol
57 | }
58 |
59 | struct ChangeSet {
| `- note: consider making struct 'ChangeSet' conform to the 'Sendable' protocol
60 | let containerId: DependencyContainer.ID
61 | let oldValue: DependenciesRegistrar
/Users/admin/builder/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/StorageCleaner/StorageCleaner.swift:74:13: warning: capture of 'self' with non-sendable type 'StorageCleaner' in a '@Sendable' closure; this is an error in the Swift 6 language mode
18 | #endif
19 |
20 | class StorageCleaner {
| `- note: class 'StorageCleaner' does not conform to the 'Sendable' protocol
21 |
22 | private var cleanupHandler: @Sendable () -> Void
:
72 |
73 | AsyncTask(priority: priority) {
74 | self.cleanupHandler()
| `- warning: capture of 'self' with non-sendable type 'StorageCleaner' in a '@Sendable' closure; this is an error in the Swift 6 language mode
75 | }
76 | }
Build complete! (13.02s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-collections",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "1.2.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-collections.git"
},
{
"identity" : "opencombine",
"requirement" : {
"exact" : [
"0.14.0"
]
},
"type" : "sourceControl",
"url" : "https://github.com/OpenCombine/OpenCombine.git"
}
],
"manifest_display_name" : "Stitcher",
"name" : "Stitcher",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Stitcher",
"targets" : [
"Stitcher"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "StitcherTests",
"module_type" : "SwiftTarget",
"name" : "StitcherTests",
"path" : "Tests/StitcherTests",
"sources" : [
"DependencyGraphTests/DependencyScopeAndEagernessTests.swift",
"DependencyGraphTests/InjectionParameterTests.swift",
"DependencyGraphTests/NameInjectionTests.swift",
"DependencyGraphTests/TypeInjectionTests.swift",
"DependencyGraphTests/ValueInjectionTests.swift",
"GenericTests/ArraySlicingTests.swift",
"GenericTests/AsyncTaskTests.swift",
"GenericTests/DependenciesWrapperTests.swift",
"GenericTests/DependencyContainerTests.swift",
"GenericTests/DependencyCycleDetectorTests.swift",
"GenericTests/DependencyValidationTests.swift",
"GenericTests/GenericTests.swift",
"GenericTests/IndexingKeyTests.swift",
"GenericTests/InjectPropertWrapperTests.swift",
"PerformanceTests/DependencyGraphPerformanceTests.swift",
"PipelineTests/PipelineTests.swift",
"StitcherTests.swift",
"TestTypes/RepeatDependency.swift",
"TestTypes/TestTypes.swift"
],
"target_dependencies" : [
"Stitcher"
],
"type" : "test"
},
{
"c99name" : "Stitcher",
"module_type" : "SwiftTarget",
"name" : "Stitcher",
"path" : "Sources/Stitcher",
"product_dependencies" : [
"Collections",
"OpenCombine",
"OpenCombineDispatch"
],
"product_memberships" : [
"Stitcher"
],
"sources" : [
"CodeGeneration/AutoregisterableDependencyCodeGeneratio/AutoregisterableDependencyCodeGenerator.swift",
"CodeGeneration/InjectionCodeGeneration/Common/NameInjectionCodeGenerator.swift",
"CodeGeneration/InjectionCodeGeneration/Common/TestInjectionCodeGenerator.swift",
"CodeGeneration/InjectionCodeGeneration/Common/TypeInjectionCodeGenerator.swift",
"CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerator.swift",
"CodeGeneration/InjectionCodeGeneration/InjectionCodeGenerators.swift",
"Configuration/StitcherConfiguration.swift",
"DependencyInjection/DependencyContainer.swift",
"DependencyInjection/Factory/DependencyFactory+Function.swift",
"DependencyInjection/Factory/DependencyFactory.swift",
"DependencyInjection/Factory/InstantionNotificationCenter.swift",
"DependencyInjection/Factory/PostInstantiationAware.swift",
"DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleDetector.swift",
"DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleInstantationBacktrace.swift",
"DependencyInjection/Graph/DependencyGraph+Assertions.swift",
"DependencyInjection/Graph/DependencyGraph+NameInjection.swift",
"DependencyInjection/Graph/DependencyGraph+TypeInjection.swift",
"DependencyInjection/Graph/DependencyGraph+ValueInjection.swift",
"DependencyInjection/Graph/DependencyGraph.swift",
"DependencyInjection/Graph/Indexing/DependencyRegistrarIndex.swift",
"DependencyInjection/Graph/Indexing/Implementations/Common.swift",
"DependencyInjection/Graph/Indexing/Implementations/DefaultIndexer.swift",
"DependencyInjection/Graph/Indexing/Implementations/ParallelIndexer.swift",
"DependencyInjection/Graph/Indexing/Implementations/PlainIndexer.swift",
"DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift",
"DependencyInjection/Graph/Indexing/Indexing.swift",
"DependencyInjection/Graph/Indexing/IndexingCoordinator.swift",
"DependencyInjection/Graph/Indexing/IndexingKey.swift",
"DependencyInjection/Graph/Indexing/IndexingTask.swift",
"DependencyInjection/Graph/StorageCleaner/StorageCleaner.swift",
"DependencyInjection/Models/DependencyContainingCollection.swift",
"DependencyInjection/Models/DependencyEagerness.swift",
"DependencyInjection/Models/DependencyLocator.swift",
"DependencyInjection/Models/DependencyLocatorTraits.swift",
"DependencyInjection/Models/DependencyParameters.swift",
"DependencyInjection/Models/DependencyScope.swift",
"DependencyInjection/Models/InjectionError.swift",
"DependencyInjection/Models/ManagedScope/ManagedDependencyScopeProviding.swift",
"DependencyInjection/Models/ManagedScope/ManagedDependencyScopeReceipt.swift",
"DependencyInjection/Models/ManagedScope/PipelineManagedDependencyScope.swift",
"DependencyInjection/Models/TypeName.swift",
"DependencyInjection/PropertyWrappers/Atomic.swift",
"DependencyInjection/PropertyWrappers/Dependencies.swift",
"DependencyInjection/PropertyWrappers/Injected+Init.swift",
"DependencyInjection/PropertyWrappers/Injected.swift",
"DependencyInjection/Registration/Autoregistration/AutoregisterableDependency.swift",
"DependencyInjection/Registration/Autoregistration/GeneratedDependencyRegistration.swift",
"DependencyInjection/Registration/Autoregistration/RegisterableDependency.swift",
"DependencyInjection/Registration/DependenciesRegistrar.swift",
"DependencyInjection/Registration/Dependency.swift",
"DependencyInjection/Registration/DependencyGroup.swift",
"DependencyInjection/Registration/DependencyRegistrarBuilder.swift",
"DependencyInjection/Registration/RawDependencyRegistration.swift",
"DependencyInjection/Registration/Representation/DependencyGroupRepresenting.swift",
"DependencyInjection/Registration/Representation/DependencyRepresenting.swift",
"DependencyInjection/Storage/Common/ManagedSingletonInstanceStorage.swift",
"DependencyInjection/Storage/Common/NeverInstanceStorage.swift",
"DependencyInjection/Storage/Common/SharedInstanceStorage.swift",
"DependencyInjection/Storage/Common/SingletonInstanceStorage.swift",
"DependencyInjection/Storage/InstanceStorage.swift",
"DependencyInjection/Storage/InstanceStorageFactory.swift",
"DependencyInjection/Storage/InstanceStorageKey.swift",
"ReactivePipeline/AnyPipeline.swift",
"ReactivePipeline/AnyPipelineCancellable.swift",
"ReactivePipeline/Pipeline.swift",
"ReactivePipeline/PipelineSubject.swift",
"Stitcher.swift",
"Task/AsyncTask.swift",
"Task/CancellableTask.swift",
"Threads/RawThreadKey.swift",
"Threads/RawThreadKeyError.swift",
"Threads/ThreadIdentifierThreadValuesKey.swift",
"Threads/ThreadLocal.swift",
"Threads/ThreadValues.swift",
"Threads/ThreadValuesKey.swift",
"Utils/DefaultValueProviding.swift",
"Utils/Extensions.swift",
"Utils/Functions.swift",
"Utils/Reference.swift",
"Utils/WeakReference.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.