Build Information
Failed to build Stitcher, reference main (ad1e84
), with Swift 6.0 for Linux on 5 Nov 2024 05:05:13 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
49 | case missingDependency(DependencyContext)
| `- warning: associated value 'missingDependency' of 'Sendable'-conforming enum 'InjectionError' has non-sendable type 'InjectionError.DependencyContext'; this is an error in the Swift 6 language mode
50 | case multipleDependencies(DependencyContext)
51 | case cyclicDependencyReference(DependencyCycleInstantationBacktrace)
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/InjectionError.swift:50:10: warning: associated value 'multipleDependencies' of 'Sendable'-conforming enum 'InjectionError' has non-sendable type 'InjectionError.DependencyContext'; this is an error in the Swift 6 language mode
12 |
13 | /// The context used to locate the dependency.
14 | public enum DependencyContext: Equatable, CustomStringConvertible {
| `- note: consider making enum 'DependencyContext' conform to the 'Sendable' protocol
15 | case name(String)
16 | case type(String)
:
48 | case mismatchedDependencyType(String, expected: String)
49 | case missingDependency(DependencyContext)
50 | case multipleDependencies(DependencyContext)
| `- warning: associated value 'multipleDependencies' of 'Sendable'-conforming enum 'InjectionError' has non-sendable type 'InjectionError.DependencyContext'; this is an error in the Swift 6 language mode
51 | case cyclicDependencyReference(DependencyCycleInstantationBacktrace)
52 | case invalidDependencyParameters(DependencyContext, DependencyParameterContext, parameters: [AnyHashable])
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/InjectionError.swift:51:10: warning: associated value 'cyclicDependencyReference' of 'Sendable'-conforming enum 'InjectionError' has non-sendable type 'DependencyCycleInstantationBacktrace'; this is an error in the Swift 6 language mode
49 | case missingDependency(DependencyContext)
50 | case multipleDependencies(DependencyContext)
51 | case cyclicDependencyReference(DependencyCycleInstantationBacktrace)
| `- warning: associated value 'cyclicDependencyReference' of 'Sendable'-conforming enum 'InjectionError' has non-sendable type 'DependencyCycleInstantationBacktrace'; this is an error in the Swift 6 language mode
52 | case invalidDependencyParameters(DependencyContext, DependencyParameterContext, parameters: [AnyHashable])
53 |
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleInstantationBacktrace.swift:11:15: note: consider making struct 'DependencyCycleInstantationBacktrace' conform to the 'Sendable' protocol
9 |
10 | /// A backtrace collected during instantiation of a dependency that had a cyclic relationship with another dependency.
11 | public struct DependencyCycleInstantationBacktrace: CustomStringConvertible {
| `- note: consider making struct 'DependencyCycleInstantationBacktrace' conform to the 'Sendable' protocol
12 |
13 | /// The depth of the cycle.
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/InjectionError.swift:52:10: warning: associated value 'invalidDependencyParameters(_:_:parameters:)' of 'Sendable'-conforming enum 'InjectionError' has non-sendable type '(InjectionError.DependencyContext, InjectionError.DependencyParameterContext, parameters: [AnyHashable])'; this is an error in the Swift 6 language mode
50 | case multipleDependencies(DependencyContext)
51 | case cyclicDependencyReference(DependencyCycleInstantationBacktrace)
52 | case invalidDependencyParameters(DependencyContext, DependencyParameterContext, parameters: [AnyHashable])
| `- warning: associated value 'invalidDependencyParameters(_:_:parameters:)' of 'Sendable'-conforming enum 'InjectionError' has non-sendable type '(InjectionError.DependencyContext, InjectionError.DependencyParameterContext, parameters: [AnyHashable])'; this is an error in the Swift 6 language mode
53 |
54 | public var description: String {
[510/540] Compiling Stitcher PipelineManagedDependencyScope.swift
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyParameters.swift:149:16: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'DependencyParameters' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | struct DependencyParameters: Hashable {
| `- note: consider making struct 'DependencyParameters' conform to the 'Sendable' protocol
11 |
12 | struct Requirement: Hashable {
:
147 | }
148 |
149 | static let none = DependencyParameters()
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'DependencyParameters' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 | }
151 |
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/DependencyParameters.swift:120:41: warning: cast from '(/* shape: each Element */ repeat DependencyParameters.AnyParameter)' to unrelated type 'DependencyParameters.AnyParameter' always fails
118 |
119 | if tupleValues.isEmpty && mirror.displayStyle != .tuple {
120 | let singleParameter = tuple as! AnyParameter
| `- warning: cast from '(/* shape: each Element */ repeat DependencyParameters.AnyParameter)' to unrelated type 'DependencyParameters.AnyParameter' always fails
121 | tupleValues = [singleParameter]
122 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/InjectionError.swift:49:10: warning: associated value 'missingDependency' of 'Sendable'-conforming enum 'InjectionError' has non-sendable type 'InjectionError.DependencyContext'; this is an error in the Swift 6 language mode
12 |
13 | /// The context used to locate the dependency.
14 | public enum DependencyContext: Equatable, CustomStringConvertible {
| `- note: consider making enum 'DependencyContext' conform to the 'Sendable' protocol
15 | case name(String)
16 | case type(String)
:
47 | case unsupportedOperation
48 | case mismatchedDependencyType(String, expected: String)
49 | case missingDependency(DependencyContext)
| `- warning: associated value 'missingDependency' of 'Sendable'-conforming enum 'InjectionError' has non-sendable type 'InjectionError.DependencyContext'; this is an error in the Swift 6 language mode
50 | case multipleDependencies(DependencyContext)
51 | case cyclicDependencyReference(DependencyCycleInstantationBacktrace)
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/InjectionError.swift:50:10: warning: associated value 'multipleDependencies' of 'Sendable'-conforming enum 'InjectionError' has non-sendable type 'InjectionError.DependencyContext'; this is an error in the Swift 6 language mode
12 |
13 | /// The context used to locate the dependency.
14 | public enum DependencyContext: Equatable, CustomStringConvertible {
| `- note: consider making enum 'DependencyContext' conform to the 'Sendable' protocol
15 | case name(String)
16 | case type(String)
:
48 | case mismatchedDependencyType(String, expected: String)
49 | case missingDependency(DependencyContext)
50 | case multipleDependencies(DependencyContext)
| `- warning: associated value 'multipleDependencies' of 'Sendable'-conforming enum 'InjectionError' has non-sendable type 'InjectionError.DependencyContext'; this is an error in the Swift 6 language mode
51 | case cyclicDependencyReference(DependencyCycleInstantationBacktrace)
52 | case invalidDependencyParameters(DependencyContext, DependencyParameterContext, parameters: [AnyHashable])
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/InjectionError.swift:51:10: warning: associated value 'cyclicDependencyReference' of 'Sendable'-conforming enum 'InjectionError' has non-sendable type 'DependencyCycleInstantationBacktrace'; this is an error in the Swift 6 language mode
49 | case missingDependency(DependencyContext)
50 | case multipleDependencies(DependencyContext)
51 | case cyclicDependencyReference(DependencyCycleInstantationBacktrace)
| `- warning: associated value 'cyclicDependencyReference' of 'Sendable'-conforming enum 'InjectionError' has non-sendable type 'DependencyCycleInstantationBacktrace'; this is an error in the Swift 6 language mode
52 | case invalidDependencyParameters(DependencyContext, DependencyParameterContext, parameters: [AnyHashable])
53 |
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/DependencyCycleDetection/DependencyCycleInstantationBacktrace.swift:11:15: note: consider making struct 'DependencyCycleInstantationBacktrace' conform to the 'Sendable' protocol
9 |
10 | /// A backtrace collected during instantiation of a dependency that had a cyclic relationship with another dependency.
11 | public struct DependencyCycleInstantationBacktrace: CustomStringConvertible {
| `- note: consider making struct 'DependencyCycleInstantationBacktrace' conform to the 'Sendable' protocol
12 |
13 | /// The depth of the cycle.
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Models/InjectionError.swift:52:10: warning: associated value 'invalidDependencyParameters(_:_:parameters:)' of 'Sendable'-conforming enum 'InjectionError' has non-sendable type '(InjectionError.DependencyContext, InjectionError.DependencyParameterContext, parameters: [AnyHashable])'; this is an error in the Swift 6 language mode
50 | case multipleDependencies(DependencyContext)
51 | case cyclicDependencyReference(DependencyCycleInstantationBacktrace)
52 | case invalidDependencyParameters(DependencyContext, DependencyParameterContext, parameters: [AnyHashable])
| `- warning: associated value 'invalidDependencyParameters(_:_:parameters:)' of 'Sendable'-conforming enum 'InjectionError' has non-sendable type '(InjectionError.DependencyContext, InjectionError.DependencyParameterContext, parameters: [AnyHashable])'; this is an error in the Swift 6 language mode
53 |
54 | public var description: String {
[511/540] Compiling Stitcher Common.swift
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/Implementations/Common.swift:20:40: warning: capture of 'coordinator' with non-sendable type 'IndexingCoordinator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
18 |
19 | AsyncTask(priority: .high) {
20 | var dependencyRegistrarIndex = coordinator.emptyIndex()
| `- warning: capture of 'coordinator' with non-sendable type 'IndexingCoordinator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 |
22 | for registration in dependencies {
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexingCoordinator.swift:11:15: note: consider making struct 'IndexingCoordinator' conform to the 'Sendable' protocol
9 |
10 | /// A type that acts as a coordinator between a dependency indexing implementation and the dependency container.
11 | public struct IndexingCoordinator {
| `- note: consider making struct 'IndexingCoordinator' conform to the 'Sendable' protocol
12 |
13 | private let semaphore = DispatchSemaphore(value: 1)
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/Implementations/Common.swift:22:29: warning: capture of 'dependencies' with non-sendable type 'S' in a `@Sendable` closure; this is an error in the Swift 6 language mode
10 |
11 | @inlinable
12 | func taskIndexing<S: Sequence>(
| `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
13 | dependencies: S,
14 | coordinator: IndexingCoordinator,
:
20 | var dependencyRegistrarIndex = coordinator.emptyIndex()
21 |
22 | for registration in dependencies {
| `- warning: capture of 'dependencies' with non-sendable type 'S' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 |
24 | guard !AsyncTask.isCancelled else {
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/Implementations/Common.swift:38:9: warning: capture of 'completion' with non-sendable type '(DependencyRegistrarIndex) -> Void' (aka '(Dictionary<IndexingKey, OrderedSet<RawDependencyRegistration>>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
36 | }
37 |
38 | completion(dependencyRegistrarIndex)
| |- warning: capture of 'completion' with non-sendable type '(DependencyRegistrarIndex) -> Void' (aka '(Dictionary<IndexingKey, OrderedSet<RawDependencyRegistration>>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
39 | }
40 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/Implementations/ParallelIndexer.swift:14:32: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
12 |
13 | static var parallelTaskCount: Int {
14 | let coreCount = Double(ProcessInfo().processorCount)
| `- error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
15 | let maximumSystemLoadFactor = 0.75
16 | return Int(floor(coreCount * maximumSystemLoadFactor))
FoundationEssentials.ProcessInfo (internal):4:14: note: 'init()' declared here
2 | public static let processInfo: ProcessInfo
3 | deinit
4 | internal init()
| `- note: 'init()' declared here
5 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:68:33: warning: capture of 'registrar' with non-sendable type 'DependenciesRegistrar' (aka 'Set<RawDependencyRegistration>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
66 |
67 | indexingTask = AsyncTask(priority: .high) {
68 | for registration in registrar {
| `- warning: capture of 'registrar' with non-sendable type 'DependenciesRegistrar' (aka 'Set<RawDependencyRegistration>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
69 | guard registration.canInstantiateEagerly else {
70 | continue
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Registration/RawDependencyRegistration.swift:10:15: note: consider making struct 'RawDependencyRegistration' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct RawDependencyRegistration: Hashable {
| `- note: consider making struct 'RawDependencyRegistration' conform to the 'Sendable' protocol
11 |
12 | /// An optimized storage box to avoid COW operations for immutable instances of `RawDependencyRegistration`
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:73:17: warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
10 |
11 | /// A wrapper that holds a `DependencyContainer` and indexes it's registrar asynchronously
12 | final class IndexedDependencyContainer {
| `- note: class 'IndexedDependencyContainer' does not conform to the 'Sendable' protocol
13 |
14 | @Atomic
:
71 | }
72 |
73 | self.lazyInitializationHandler(registration)
| `- warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
74 | }
75 |
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:76:13: warning: capture of 'completion' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
74 | }
75 |
76 | completion()
| |- warning: capture of 'completion' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
77 | }
78 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:128:30: warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
10 |
11 | /// A wrapper that holds a `DependencyContainer` and indexes it's registrar asynchronously
12 | final class IndexedDependencyContainer {
| `- note: class 'IndexedDependencyContainer' does not conform to the 'Sendable' protocol
13 |
14 | @Atomic
:
126 |
127 | indexingTask = AsyncTask(priority: .high) { [weak self] in
128 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
129 | self.indexIncrementally(changes: changes)
130 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:129:46: warning: capture of 'changes' with non-sendable type 'DependencyContainer.ChangeSet' in a `@Sendable` closure; this is an error in the Swift 6 language mode
127 | indexingTask = AsyncTask(priority: .high) { [weak self] in
128 | guard let self = self else { return }
129 | self.indexIncrementally(changes: changes)
| `- warning: capture of 'changes' with non-sendable type 'DependencyContainer.ChangeSet' in a `@Sendable` closure; this is an error in the Swift 6 language mode
130 | }
131 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/DependencyContainer.swift:59:12: note: consider making struct 'ChangeSet' conform to the 'Sendable' protocol
57 | }
58 |
59 | struct ChangeSet {
| `- note: consider making struct 'ChangeSet' conform to the 'Sendable' protocol
60 | let containerId: DependencyContainer.ID
61 | let oldValue: DependenciesRegistrar
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/StorageCleaner/StorageCleaner.swift:74:13: warning: capture of 'self' with non-sendable type 'StorageCleaner' in a `@Sendable` closure; this is an error in the Swift 6 language mode
18 | #endif
19 |
20 | class StorageCleaner {
| `- note: class 'StorageCleaner' does not conform to the 'Sendable' protocol
21 |
22 | private var cleanupHandler: @Sendable () -> Void
:
72 |
73 | AsyncTask(priority: priority) {
74 | self.cleanupHandler()
| `- warning: capture of 'self' with non-sendable type 'StorageCleaner' in a `@Sendable` closure; this is an error in the Swift 6 language mode
75 | }
76 | }
[512/540] Compiling Stitcher DefaultIndexer.swift
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/Implementations/Common.swift:20:40: warning: capture of 'coordinator' with non-sendable type 'IndexingCoordinator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
18 |
19 | AsyncTask(priority: .high) {
20 | var dependencyRegistrarIndex = coordinator.emptyIndex()
| `- warning: capture of 'coordinator' with non-sendable type 'IndexingCoordinator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 |
22 | for registration in dependencies {
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexingCoordinator.swift:11:15: note: consider making struct 'IndexingCoordinator' conform to the 'Sendable' protocol
9 |
10 | /// A type that acts as a coordinator between a dependency indexing implementation and the dependency container.
11 | public struct IndexingCoordinator {
| `- note: consider making struct 'IndexingCoordinator' conform to the 'Sendable' protocol
12 |
13 | private let semaphore = DispatchSemaphore(value: 1)
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/Implementations/Common.swift:22:29: warning: capture of 'dependencies' with non-sendable type 'S' in a `@Sendable` closure; this is an error in the Swift 6 language mode
10 |
11 | @inlinable
12 | func taskIndexing<S: Sequence>(
| `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
13 | dependencies: S,
14 | coordinator: IndexingCoordinator,
:
20 | var dependencyRegistrarIndex = coordinator.emptyIndex()
21 |
22 | for registration in dependencies {
| `- warning: capture of 'dependencies' with non-sendable type 'S' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 |
24 | guard !AsyncTask.isCancelled else {
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/Implementations/Common.swift:38:9: warning: capture of 'completion' with non-sendable type '(DependencyRegistrarIndex) -> Void' (aka '(Dictionary<IndexingKey, OrderedSet<RawDependencyRegistration>>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
36 | }
37 |
38 | completion(dependencyRegistrarIndex)
| |- warning: capture of 'completion' with non-sendable type '(DependencyRegistrarIndex) -> Void' (aka '(Dictionary<IndexingKey, OrderedSet<RawDependencyRegistration>>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
39 | }
40 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/Implementations/ParallelIndexer.swift:14:32: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
12 |
13 | static var parallelTaskCount: Int {
14 | let coreCount = Double(ProcessInfo().processorCount)
| `- error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
15 | let maximumSystemLoadFactor = 0.75
16 | return Int(floor(coreCount * maximumSystemLoadFactor))
FoundationEssentials.ProcessInfo (internal):4:14: note: 'init()' declared here
2 | public static let processInfo: ProcessInfo
3 | deinit
4 | internal init()
| `- note: 'init()' declared here
5 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:68:33: warning: capture of 'registrar' with non-sendable type 'DependenciesRegistrar' (aka 'Set<RawDependencyRegistration>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
66 |
67 | indexingTask = AsyncTask(priority: .high) {
68 | for registration in registrar {
| `- warning: capture of 'registrar' with non-sendable type 'DependenciesRegistrar' (aka 'Set<RawDependencyRegistration>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
69 | guard registration.canInstantiateEagerly else {
70 | continue
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Registration/RawDependencyRegistration.swift:10:15: note: consider making struct 'RawDependencyRegistration' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct RawDependencyRegistration: Hashable {
| `- note: consider making struct 'RawDependencyRegistration' conform to the 'Sendable' protocol
11 |
12 | /// An optimized storage box to avoid COW operations for immutable instances of `RawDependencyRegistration`
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:73:17: warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
10 |
11 | /// A wrapper that holds a `DependencyContainer` and indexes it's registrar asynchronously
12 | final class IndexedDependencyContainer {
| `- note: class 'IndexedDependencyContainer' does not conform to the 'Sendable' protocol
13 |
14 | @Atomic
:
71 | }
72 |
73 | self.lazyInitializationHandler(registration)
| `- warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
74 | }
75 |
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:76:13: warning: capture of 'completion' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
74 | }
75 |
76 | completion()
| |- warning: capture of 'completion' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
77 | }
78 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:128:30: warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
10 |
11 | /// A wrapper that holds a `DependencyContainer` and indexes it's registrar asynchronously
12 | final class IndexedDependencyContainer {
| `- note: class 'IndexedDependencyContainer' does not conform to the 'Sendable' protocol
13 |
14 | @Atomic
:
126 |
127 | indexingTask = AsyncTask(priority: .high) { [weak self] in
128 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
129 | self.indexIncrementally(changes: changes)
130 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:129:46: warning: capture of 'changes' with non-sendable type 'DependencyContainer.ChangeSet' in a `@Sendable` closure; this is an error in the Swift 6 language mode
127 | indexingTask = AsyncTask(priority: .high) { [weak self] in
128 | guard let self = self else { return }
129 | self.indexIncrementally(changes: changes)
| `- warning: capture of 'changes' with non-sendable type 'DependencyContainer.ChangeSet' in a `@Sendable` closure; this is an error in the Swift 6 language mode
130 | }
131 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/DependencyContainer.swift:59:12: note: consider making struct 'ChangeSet' conform to the 'Sendable' protocol
57 | }
58 |
59 | struct ChangeSet {
| `- note: consider making struct 'ChangeSet' conform to the 'Sendable' protocol
60 | let containerId: DependencyContainer.ID
61 | let oldValue: DependenciesRegistrar
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/StorageCleaner/StorageCleaner.swift:74:13: warning: capture of 'self' with non-sendable type 'StorageCleaner' in a `@Sendable` closure; this is an error in the Swift 6 language mode
18 | #endif
19 |
20 | class StorageCleaner {
| `- note: class 'StorageCleaner' does not conform to the 'Sendable' protocol
21 |
22 | private var cleanupHandler: @Sendable () -> Void
:
72 |
73 | AsyncTask(priority: priority) {
74 | self.cleanupHandler()
| `- warning: capture of 'self' with non-sendable type 'StorageCleaner' in a `@Sendable` closure; this is an error in the Swift 6 language mode
75 | }
76 | }
[513/540] Compiling Stitcher ParallelIndexer.swift
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/Implementations/Common.swift:20:40: warning: capture of 'coordinator' with non-sendable type 'IndexingCoordinator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
18 |
19 | AsyncTask(priority: .high) {
20 | var dependencyRegistrarIndex = coordinator.emptyIndex()
| `- warning: capture of 'coordinator' with non-sendable type 'IndexingCoordinator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 |
22 | for registration in dependencies {
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexingCoordinator.swift:11:15: note: consider making struct 'IndexingCoordinator' conform to the 'Sendable' protocol
9 |
10 | /// A type that acts as a coordinator between a dependency indexing implementation and the dependency container.
11 | public struct IndexingCoordinator {
| `- note: consider making struct 'IndexingCoordinator' conform to the 'Sendable' protocol
12 |
13 | private let semaphore = DispatchSemaphore(value: 1)
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/Implementations/Common.swift:22:29: warning: capture of 'dependencies' with non-sendable type 'S' in a `@Sendable` closure; this is an error in the Swift 6 language mode
10 |
11 | @inlinable
12 | func taskIndexing<S: Sequence>(
| `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
13 | dependencies: S,
14 | coordinator: IndexingCoordinator,
:
20 | var dependencyRegistrarIndex = coordinator.emptyIndex()
21 |
22 | for registration in dependencies {
| `- warning: capture of 'dependencies' with non-sendable type 'S' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 |
24 | guard !AsyncTask.isCancelled else {
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/Implementations/Common.swift:38:9: warning: capture of 'completion' with non-sendable type '(DependencyRegistrarIndex) -> Void' (aka '(Dictionary<IndexingKey, OrderedSet<RawDependencyRegistration>>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
36 | }
37 |
38 | completion(dependencyRegistrarIndex)
| |- warning: capture of 'completion' with non-sendable type '(DependencyRegistrarIndex) -> Void' (aka '(Dictionary<IndexingKey, OrderedSet<RawDependencyRegistration>>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
39 | }
40 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/Implementations/ParallelIndexer.swift:14:32: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
12 |
13 | static var parallelTaskCount: Int {
14 | let coreCount = Double(ProcessInfo().processorCount)
| `- error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
15 | let maximumSystemLoadFactor = 0.75
16 | return Int(floor(coreCount * maximumSystemLoadFactor))
FoundationEssentials.ProcessInfo (internal):4:14: note: 'init()' declared here
2 | public static let processInfo: ProcessInfo
3 | deinit
4 | internal init()
| `- note: 'init()' declared here
5 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:68:33: warning: capture of 'registrar' with non-sendable type 'DependenciesRegistrar' (aka 'Set<RawDependencyRegistration>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
66 |
67 | indexingTask = AsyncTask(priority: .high) {
68 | for registration in registrar {
| `- warning: capture of 'registrar' with non-sendable type 'DependenciesRegistrar' (aka 'Set<RawDependencyRegistration>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
69 | guard registration.canInstantiateEagerly else {
70 | continue
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Registration/RawDependencyRegistration.swift:10:15: note: consider making struct 'RawDependencyRegistration' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct RawDependencyRegistration: Hashable {
| `- note: consider making struct 'RawDependencyRegistration' conform to the 'Sendable' protocol
11 |
12 | /// An optimized storage box to avoid COW operations for immutable instances of `RawDependencyRegistration`
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:73:17: warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
10 |
11 | /// A wrapper that holds a `DependencyContainer` and indexes it's registrar asynchronously
12 | final class IndexedDependencyContainer {
| `- note: class 'IndexedDependencyContainer' does not conform to the 'Sendable' protocol
13 |
14 | @Atomic
:
71 | }
72 |
73 | self.lazyInitializationHandler(registration)
| `- warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
74 | }
75 |
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:76:13: warning: capture of 'completion' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
74 | }
75 |
76 | completion()
| |- warning: capture of 'completion' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
77 | }
78 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:128:30: warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
10 |
11 | /// A wrapper that holds a `DependencyContainer` and indexes it's registrar asynchronously
12 | final class IndexedDependencyContainer {
| `- note: class 'IndexedDependencyContainer' does not conform to the 'Sendable' protocol
13 |
14 | @Atomic
:
126 |
127 | indexingTask = AsyncTask(priority: .high) { [weak self] in
128 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
129 | self.indexIncrementally(changes: changes)
130 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:129:46: warning: capture of 'changes' with non-sendable type 'DependencyContainer.ChangeSet' in a `@Sendable` closure; this is an error in the Swift 6 language mode
127 | indexingTask = AsyncTask(priority: .high) { [weak self] in
128 | guard let self = self else { return }
129 | self.indexIncrementally(changes: changes)
| `- warning: capture of 'changes' with non-sendable type 'DependencyContainer.ChangeSet' in a `@Sendable` closure; this is an error in the Swift 6 language mode
130 | }
131 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/DependencyContainer.swift:59:12: note: consider making struct 'ChangeSet' conform to the 'Sendable' protocol
57 | }
58 |
59 | struct ChangeSet {
| `- note: consider making struct 'ChangeSet' conform to the 'Sendable' protocol
60 | let containerId: DependencyContainer.ID
61 | let oldValue: DependenciesRegistrar
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/StorageCleaner/StorageCleaner.swift:74:13: warning: capture of 'self' with non-sendable type 'StorageCleaner' in a `@Sendable` closure; this is an error in the Swift 6 language mode
18 | #endif
19 |
20 | class StorageCleaner {
| `- note: class 'StorageCleaner' does not conform to the 'Sendable' protocol
21 |
22 | private var cleanupHandler: @Sendable () -> Void
:
72 |
73 | AsyncTask(priority: priority) {
74 | self.cleanupHandler()
| `- warning: capture of 'self' with non-sendable type 'StorageCleaner' in a `@Sendable` closure; this is an error in the Swift 6 language mode
75 | }
76 | }
[514/540] Compiling Stitcher PlainIndexer.swift
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/Implementations/Common.swift:20:40: warning: capture of 'coordinator' with non-sendable type 'IndexingCoordinator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
18 |
19 | AsyncTask(priority: .high) {
20 | var dependencyRegistrarIndex = coordinator.emptyIndex()
| `- warning: capture of 'coordinator' with non-sendable type 'IndexingCoordinator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 |
22 | for registration in dependencies {
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexingCoordinator.swift:11:15: note: consider making struct 'IndexingCoordinator' conform to the 'Sendable' protocol
9 |
10 | /// A type that acts as a coordinator between a dependency indexing implementation and the dependency container.
11 | public struct IndexingCoordinator {
| `- note: consider making struct 'IndexingCoordinator' conform to the 'Sendable' protocol
12 |
13 | private let semaphore = DispatchSemaphore(value: 1)
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/Implementations/Common.swift:22:29: warning: capture of 'dependencies' with non-sendable type 'S' in a `@Sendable` closure; this is an error in the Swift 6 language mode
10 |
11 | @inlinable
12 | func taskIndexing<S: Sequence>(
| `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
13 | dependencies: S,
14 | coordinator: IndexingCoordinator,
:
20 | var dependencyRegistrarIndex = coordinator.emptyIndex()
21 |
22 | for registration in dependencies {
| `- warning: capture of 'dependencies' with non-sendable type 'S' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 |
24 | guard !AsyncTask.isCancelled else {
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/Implementations/Common.swift:38:9: warning: capture of 'completion' with non-sendable type '(DependencyRegistrarIndex) -> Void' (aka '(Dictionary<IndexingKey, OrderedSet<RawDependencyRegistration>>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
36 | }
37 |
38 | completion(dependencyRegistrarIndex)
| |- warning: capture of 'completion' with non-sendable type '(DependencyRegistrarIndex) -> Void' (aka '(Dictionary<IndexingKey, OrderedSet<RawDependencyRegistration>>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
39 | }
40 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/Implementations/ParallelIndexer.swift:14:32: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
12 |
13 | static var parallelTaskCount: Int {
14 | let coreCount = Double(ProcessInfo().processorCount)
| `- error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
15 | let maximumSystemLoadFactor = 0.75
16 | return Int(floor(coreCount * maximumSystemLoadFactor))
FoundationEssentials.ProcessInfo (internal):4:14: note: 'init()' declared here
2 | public static let processInfo: ProcessInfo
3 | deinit
4 | internal init()
| `- note: 'init()' declared here
5 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:68:33: warning: capture of 'registrar' with non-sendable type 'DependenciesRegistrar' (aka 'Set<RawDependencyRegistration>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
66 |
67 | indexingTask = AsyncTask(priority: .high) {
68 | for registration in registrar {
| `- warning: capture of 'registrar' with non-sendable type 'DependenciesRegistrar' (aka 'Set<RawDependencyRegistration>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
69 | guard registration.canInstantiateEagerly else {
70 | continue
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Registration/RawDependencyRegistration.swift:10:15: note: consider making struct 'RawDependencyRegistration' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct RawDependencyRegistration: Hashable {
| `- note: consider making struct 'RawDependencyRegistration' conform to the 'Sendable' protocol
11 |
12 | /// An optimized storage box to avoid COW operations for immutable instances of `RawDependencyRegistration`
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:73:17: warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
10 |
11 | /// A wrapper that holds a `DependencyContainer` and indexes it's registrar asynchronously
12 | final class IndexedDependencyContainer {
| `- note: class 'IndexedDependencyContainer' does not conform to the 'Sendable' protocol
13 |
14 | @Atomic
:
71 | }
72 |
73 | self.lazyInitializationHandler(registration)
| `- warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
74 | }
75 |
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:76:13: warning: capture of 'completion' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
74 | }
75 |
76 | completion()
| |- warning: capture of 'completion' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
77 | }
78 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:128:30: warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
10 |
11 | /// A wrapper that holds a `DependencyContainer` and indexes it's registrar asynchronously
12 | final class IndexedDependencyContainer {
| `- note: class 'IndexedDependencyContainer' does not conform to the 'Sendable' protocol
13 |
14 | @Atomic
:
126 |
127 | indexingTask = AsyncTask(priority: .high) { [weak self] in
128 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
129 | self.indexIncrementally(changes: changes)
130 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:129:46: warning: capture of 'changes' with non-sendable type 'DependencyContainer.ChangeSet' in a `@Sendable` closure; this is an error in the Swift 6 language mode
127 | indexingTask = AsyncTask(priority: .high) { [weak self] in
128 | guard let self = self else { return }
129 | self.indexIncrementally(changes: changes)
| `- warning: capture of 'changes' with non-sendable type 'DependencyContainer.ChangeSet' in a `@Sendable` closure; this is an error in the Swift 6 language mode
130 | }
131 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/DependencyContainer.swift:59:12: note: consider making struct 'ChangeSet' conform to the 'Sendable' protocol
57 | }
58 |
59 | struct ChangeSet {
| `- note: consider making struct 'ChangeSet' conform to the 'Sendable' protocol
60 | let containerId: DependencyContainer.ID
61 | let oldValue: DependenciesRegistrar
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/StorageCleaner/StorageCleaner.swift:74:13: warning: capture of 'self' with non-sendable type 'StorageCleaner' in a `@Sendable` closure; this is an error in the Swift 6 language mode
18 | #endif
19 |
20 | class StorageCleaner {
| `- note: class 'StorageCleaner' does not conform to the 'Sendable' protocol
21 |
22 | private var cleanupHandler: @Sendable () -> Void
:
72 |
73 | AsyncTask(priority: priority) {
74 | self.cleanupHandler()
| `- warning: capture of 'self' with non-sendable type 'StorageCleaner' in a `@Sendable` closure; this is an error in the Swift 6 language mode
75 | }
76 | }
[515/540] Compiling Stitcher IndexedDependencyContainer.swift
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/Implementations/Common.swift:20:40: warning: capture of 'coordinator' with non-sendable type 'IndexingCoordinator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
18 |
19 | AsyncTask(priority: .high) {
20 | var dependencyRegistrarIndex = coordinator.emptyIndex()
| `- warning: capture of 'coordinator' with non-sendable type 'IndexingCoordinator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 |
22 | for registration in dependencies {
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexingCoordinator.swift:11:15: note: consider making struct 'IndexingCoordinator' conform to the 'Sendable' protocol
9 |
10 | /// A type that acts as a coordinator between a dependency indexing implementation and the dependency container.
11 | public struct IndexingCoordinator {
| `- note: consider making struct 'IndexingCoordinator' conform to the 'Sendable' protocol
12 |
13 | private let semaphore = DispatchSemaphore(value: 1)
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/Implementations/Common.swift:22:29: warning: capture of 'dependencies' with non-sendable type 'S' in a `@Sendable` closure; this is an error in the Swift 6 language mode
10 |
11 | @inlinable
12 | func taskIndexing<S: Sequence>(
| `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
13 | dependencies: S,
14 | coordinator: IndexingCoordinator,
:
20 | var dependencyRegistrarIndex = coordinator.emptyIndex()
21 |
22 | for registration in dependencies {
| `- warning: capture of 'dependencies' with non-sendable type 'S' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 |
24 | guard !AsyncTask.isCancelled else {
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/Implementations/Common.swift:38:9: warning: capture of 'completion' with non-sendable type '(DependencyRegistrarIndex) -> Void' (aka '(Dictionary<IndexingKey, OrderedSet<RawDependencyRegistration>>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
36 | }
37 |
38 | completion(dependencyRegistrarIndex)
| |- warning: capture of 'completion' with non-sendable type '(DependencyRegistrarIndex) -> Void' (aka '(Dictionary<IndexingKey, OrderedSet<RawDependencyRegistration>>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
39 | }
40 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/Implementations/ParallelIndexer.swift:14:32: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
12 |
13 | static var parallelTaskCount: Int {
14 | let coreCount = Double(ProcessInfo().processorCount)
| `- error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
15 | let maximumSystemLoadFactor = 0.75
16 | return Int(floor(coreCount * maximumSystemLoadFactor))
FoundationEssentials.ProcessInfo (internal):4:14: note: 'init()' declared here
2 | public static let processInfo: ProcessInfo
3 | deinit
4 | internal init()
| `- note: 'init()' declared here
5 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:68:33: warning: capture of 'registrar' with non-sendable type 'DependenciesRegistrar' (aka 'Set<RawDependencyRegistration>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
66 |
67 | indexingTask = AsyncTask(priority: .high) {
68 | for registration in registrar {
| `- warning: capture of 'registrar' with non-sendable type 'DependenciesRegistrar' (aka 'Set<RawDependencyRegistration>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
69 | guard registration.canInstantiateEagerly else {
70 | continue
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Registration/RawDependencyRegistration.swift:10:15: note: consider making struct 'RawDependencyRegistration' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct RawDependencyRegistration: Hashable {
| `- note: consider making struct 'RawDependencyRegistration' conform to the 'Sendable' protocol
11 |
12 | /// An optimized storage box to avoid COW operations for immutable instances of `RawDependencyRegistration`
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:73:17: warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
10 |
11 | /// A wrapper that holds a `DependencyContainer` and indexes it's registrar asynchronously
12 | final class IndexedDependencyContainer {
| `- note: class 'IndexedDependencyContainer' does not conform to the 'Sendable' protocol
13 |
14 | @Atomic
:
71 | }
72 |
73 | self.lazyInitializationHandler(registration)
| `- warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
74 | }
75 |
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:76:13: warning: capture of 'completion' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
74 | }
75 |
76 | completion()
| |- warning: capture of 'completion' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
77 | }
78 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:128:30: warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
10 |
11 | /// A wrapper that holds a `DependencyContainer` and indexes it's registrar asynchronously
12 | final class IndexedDependencyContainer {
| `- note: class 'IndexedDependencyContainer' does not conform to the 'Sendable' protocol
13 |
14 | @Atomic
:
126 |
127 | indexingTask = AsyncTask(priority: .high) { [weak self] in
128 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
129 | self.indexIncrementally(changes: changes)
130 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:129:46: warning: capture of 'changes' with non-sendable type 'DependencyContainer.ChangeSet' in a `@Sendable` closure; this is an error in the Swift 6 language mode
127 | indexingTask = AsyncTask(priority: .high) { [weak self] in
128 | guard let self = self else { return }
129 | self.indexIncrementally(changes: changes)
| `- warning: capture of 'changes' with non-sendable type 'DependencyContainer.ChangeSet' in a `@Sendable` closure; this is an error in the Swift 6 language mode
130 | }
131 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/DependencyContainer.swift:59:12: note: consider making struct 'ChangeSet' conform to the 'Sendable' protocol
57 | }
58 |
59 | struct ChangeSet {
| `- note: consider making struct 'ChangeSet' conform to the 'Sendable' protocol
60 | let containerId: DependencyContainer.ID
61 | let oldValue: DependenciesRegistrar
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/StorageCleaner/StorageCleaner.swift:74:13: warning: capture of 'self' with non-sendable type 'StorageCleaner' in a `@Sendable` closure; this is an error in the Swift 6 language mode
18 | #endif
19 |
20 | class StorageCleaner {
| `- note: class 'StorageCleaner' does not conform to the 'Sendable' protocol
21 |
22 | private var cleanupHandler: @Sendable () -> Void
:
72 |
73 | AsyncTask(priority: priority) {
74 | self.cleanupHandler()
| `- warning: capture of 'self' with non-sendable type 'StorageCleaner' in a `@Sendable` closure; this is an error in the Swift 6 language mode
75 | }
76 | }
[516/540] Compiling Stitcher Indexing.swift
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/Implementations/Common.swift:20:40: warning: capture of 'coordinator' with non-sendable type 'IndexingCoordinator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
18 |
19 | AsyncTask(priority: .high) {
20 | var dependencyRegistrarIndex = coordinator.emptyIndex()
| `- warning: capture of 'coordinator' with non-sendable type 'IndexingCoordinator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 |
22 | for registration in dependencies {
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexingCoordinator.swift:11:15: note: consider making struct 'IndexingCoordinator' conform to the 'Sendable' protocol
9 |
10 | /// A type that acts as a coordinator between a dependency indexing implementation and the dependency container.
11 | public struct IndexingCoordinator {
| `- note: consider making struct 'IndexingCoordinator' conform to the 'Sendable' protocol
12 |
13 | private let semaphore = DispatchSemaphore(value: 1)
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/Implementations/Common.swift:22:29: warning: capture of 'dependencies' with non-sendable type 'S' in a `@Sendable` closure; this is an error in the Swift 6 language mode
10 |
11 | @inlinable
12 | func taskIndexing<S: Sequence>(
| `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
13 | dependencies: S,
14 | coordinator: IndexingCoordinator,
:
20 | var dependencyRegistrarIndex = coordinator.emptyIndex()
21 |
22 | for registration in dependencies {
| `- warning: capture of 'dependencies' with non-sendable type 'S' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 |
24 | guard !AsyncTask.isCancelled else {
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/Implementations/Common.swift:38:9: warning: capture of 'completion' with non-sendable type '(DependencyRegistrarIndex) -> Void' (aka '(Dictionary<IndexingKey, OrderedSet<RawDependencyRegistration>>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
36 | }
37 |
38 | completion(dependencyRegistrarIndex)
| |- warning: capture of 'completion' with non-sendable type '(DependencyRegistrarIndex) -> Void' (aka '(Dictionary<IndexingKey, OrderedSet<RawDependencyRegistration>>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
39 | }
40 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/Implementations/ParallelIndexer.swift:14:32: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
12 |
13 | static var parallelTaskCount: Int {
14 | let coreCount = Double(ProcessInfo().processorCount)
| `- error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
15 | let maximumSystemLoadFactor = 0.75
16 | return Int(floor(coreCount * maximumSystemLoadFactor))
FoundationEssentials.ProcessInfo (internal):4:14: note: 'init()' declared here
2 | public static let processInfo: ProcessInfo
3 | deinit
4 | internal init()
| `- note: 'init()' declared here
5 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:68:33: warning: capture of 'registrar' with non-sendable type 'DependenciesRegistrar' (aka 'Set<RawDependencyRegistration>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
66 |
67 | indexingTask = AsyncTask(priority: .high) {
68 | for registration in registrar {
| `- warning: capture of 'registrar' with non-sendable type 'DependenciesRegistrar' (aka 'Set<RawDependencyRegistration>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
69 | guard registration.canInstantiateEagerly else {
70 | continue
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Registration/RawDependencyRegistration.swift:10:15: note: consider making struct 'RawDependencyRegistration' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct RawDependencyRegistration: Hashable {
| `- note: consider making struct 'RawDependencyRegistration' conform to the 'Sendable' protocol
11 |
12 | /// An optimized storage box to avoid COW operations for immutable instances of `RawDependencyRegistration`
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:73:17: warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
10 |
11 | /// A wrapper that holds a `DependencyContainer` and indexes it's registrar asynchronously
12 | final class IndexedDependencyContainer {
| `- note: class 'IndexedDependencyContainer' does not conform to the 'Sendable' protocol
13 |
14 | @Atomic
:
71 | }
72 |
73 | self.lazyInitializationHandler(registration)
| `- warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
74 | }
75 |
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:76:13: warning: capture of 'completion' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
74 | }
75 |
76 | completion()
| |- warning: capture of 'completion' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
77 | }
78 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:128:30: warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
10 |
11 | /// A wrapper that holds a `DependencyContainer` and indexes it's registrar asynchronously
12 | final class IndexedDependencyContainer {
| `- note: class 'IndexedDependencyContainer' does not conform to the 'Sendable' protocol
13 |
14 | @Atomic
:
126 |
127 | indexingTask = AsyncTask(priority: .high) { [weak self] in
128 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
129 | self.indexIncrementally(changes: changes)
130 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:129:46: warning: capture of 'changes' with non-sendable type 'DependencyContainer.ChangeSet' in a `@Sendable` closure; this is an error in the Swift 6 language mode
127 | indexingTask = AsyncTask(priority: .high) { [weak self] in
128 | guard let self = self else { return }
129 | self.indexIncrementally(changes: changes)
| `- warning: capture of 'changes' with non-sendable type 'DependencyContainer.ChangeSet' in a `@Sendable` closure; this is an error in the Swift 6 language mode
130 | }
131 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/DependencyContainer.swift:59:12: note: consider making struct 'ChangeSet' conform to the 'Sendable' protocol
57 | }
58 |
59 | struct ChangeSet {
| `- note: consider making struct 'ChangeSet' conform to the 'Sendable' protocol
60 | let containerId: DependencyContainer.ID
61 | let oldValue: DependenciesRegistrar
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/StorageCleaner/StorageCleaner.swift:74:13: warning: capture of 'self' with non-sendable type 'StorageCleaner' in a `@Sendable` closure; this is an error in the Swift 6 language mode
18 | #endif
19 |
20 | class StorageCleaner {
| `- note: class 'StorageCleaner' does not conform to the 'Sendable' protocol
21 |
22 | private var cleanupHandler: @Sendable () -> Void
:
72 |
73 | AsyncTask(priority: priority) {
74 | self.cleanupHandler()
| `- warning: capture of 'self' with non-sendable type 'StorageCleaner' in a `@Sendable` closure; this is an error in the Swift 6 language mode
75 | }
76 | }
[517/540] Compiling Stitcher IndexingCoordinator.swift
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/Implementations/Common.swift:20:40: warning: capture of 'coordinator' with non-sendable type 'IndexingCoordinator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
18 |
19 | AsyncTask(priority: .high) {
20 | var dependencyRegistrarIndex = coordinator.emptyIndex()
| `- warning: capture of 'coordinator' with non-sendable type 'IndexingCoordinator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 |
22 | for registration in dependencies {
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexingCoordinator.swift:11:15: note: consider making struct 'IndexingCoordinator' conform to the 'Sendable' protocol
9 |
10 | /// A type that acts as a coordinator between a dependency indexing implementation and the dependency container.
11 | public struct IndexingCoordinator {
| `- note: consider making struct 'IndexingCoordinator' conform to the 'Sendable' protocol
12 |
13 | private let semaphore = DispatchSemaphore(value: 1)
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/Implementations/Common.swift:22:29: warning: capture of 'dependencies' with non-sendable type 'S' in a `@Sendable` closure; this is an error in the Swift 6 language mode
10 |
11 | @inlinable
12 | func taskIndexing<S: Sequence>(
| `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
13 | dependencies: S,
14 | coordinator: IndexingCoordinator,
:
20 | var dependencyRegistrarIndex = coordinator.emptyIndex()
21 |
22 | for registration in dependencies {
| `- warning: capture of 'dependencies' with non-sendable type 'S' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 |
24 | guard !AsyncTask.isCancelled else {
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/Implementations/Common.swift:38:9: warning: capture of 'completion' with non-sendable type '(DependencyRegistrarIndex) -> Void' (aka '(Dictionary<IndexingKey, OrderedSet<RawDependencyRegistration>>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
36 | }
37 |
38 | completion(dependencyRegistrarIndex)
| |- warning: capture of 'completion' with non-sendable type '(DependencyRegistrarIndex) -> Void' (aka '(Dictionary<IndexingKey, OrderedSet<RawDependencyRegistration>>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
39 | }
40 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/Implementations/ParallelIndexer.swift:14:32: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
12 |
13 | static var parallelTaskCount: Int {
14 | let coreCount = Double(ProcessInfo().processorCount)
| `- error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
15 | let maximumSystemLoadFactor = 0.75
16 | return Int(floor(coreCount * maximumSystemLoadFactor))
FoundationEssentials.ProcessInfo (internal):4:14: note: 'init()' declared here
2 | public static let processInfo: ProcessInfo
3 | deinit
4 | internal init()
| `- note: 'init()' declared here
5 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:68:33: warning: capture of 'registrar' with non-sendable type 'DependenciesRegistrar' (aka 'Set<RawDependencyRegistration>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
66 |
67 | indexingTask = AsyncTask(priority: .high) {
68 | for registration in registrar {
| `- warning: capture of 'registrar' with non-sendable type 'DependenciesRegistrar' (aka 'Set<RawDependencyRegistration>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
69 | guard registration.canInstantiateEagerly else {
70 | continue
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Registration/RawDependencyRegistration.swift:10:15: note: consider making struct 'RawDependencyRegistration' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct RawDependencyRegistration: Hashable {
| `- note: consider making struct 'RawDependencyRegistration' conform to the 'Sendable' protocol
11 |
12 | /// An optimized storage box to avoid COW operations for immutable instances of `RawDependencyRegistration`
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:73:17: warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
10 |
11 | /// A wrapper that holds a `DependencyContainer` and indexes it's registrar asynchronously
12 | final class IndexedDependencyContainer {
| `- note: class 'IndexedDependencyContainer' does not conform to the 'Sendable' protocol
13 |
14 | @Atomic
:
71 | }
72 |
73 | self.lazyInitializationHandler(registration)
| `- warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
74 | }
75 |
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:76:13: warning: capture of 'completion' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
74 | }
75 |
76 | completion()
| |- warning: capture of 'completion' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
77 | }
78 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:128:30: warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
10 |
11 | /// A wrapper that holds a `DependencyContainer` and indexes it's registrar asynchronously
12 | final class IndexedDependencyContainer {
| `- note: class 'IndexedDependencyContainer' does not conform to the 'Sendable' protocol
13 |
14 | @Atomic
:
126 |
127 | indexingTask = AsyncTask(priority: .high) { [weak self] in
128 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
129 | self.indexIncrementally(changes: changes)
130 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:129:46: warning: capture of 'changes' with non-sendable type 'DependencyContainer.ChangeSet' in a `@Sendable` closure; this is an error in the Swift 6 language mode
127 | indexingTask = AsyncTask(priority: .high) { [weak self] in
128 | guard let self = self else { return }
129 | self.indexIncrementally(changes: changes)
| `- warning: capture of 'changes' with non-sendable type 'DependencyContainer.ChangeSet' in a `@Sendable` closure; this is an error in the Swift 6 language mode
130 | }
131 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/DependencyContainer.swift:59:12: note: consider making struct 'ChangeSet' conform to the 'Sendable' protocol
57 | }
58 |
59 | struct ChangeSet {
| `- note: consider making struct 'ChangeSet' conform to the 'Sendable' protocol
60 | let containerId: DependencyContainer.ID
61 | let oldValue: DependenciesRegistrar
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/StorageCleaner/StorageCleaner.swift:74:13: warning: capture of 'self' with non-sendable type 'StorageCleaner' in a `@Sendable` closure; this is an error in the Swift 6 language mode
18 | #endif
19 |
20 | class StorageCleaner {
| `- note: class 'StorageCleaner' does not conform to the 'Sendable' protocol
21 |
22 | private var cleanupHandler: @Sendable () -> Void
:
72 |
73 | AsyncTask(priority: priority) {
74 | self.cleanupHandler()
| `- warning: capture of 'self' with non-sendable type 'StorageCleaner' in a `@Sendable` closure; this is an error in the Swift 6 language mode
75 | }
76 | }
[518/540] Compiling Stitcher IndexingKey.swift
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/Implementations/Common.swift:20:40: warning: capture of 'coordinator' with non-sendable type 'IndexingCoordinator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
18 |
19 | AsyncTask(priority: .high) {
20 | var dependencyRegistrarIndex = coordinator.emptyIndex()
| `- warning: capture of 'coordinator' with non-sendable type 'IndexingCoordinator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 |
22 | for registration in dependencies {
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexingCoordinator.swift:11:15: note: consider making struct 'IndexingCoordinator' conform to the 'Sendable' protocol
9 |
10 | /// A type that acts as a coordinator between a dependency indexing implementation and the dependency container.
11 | public struct IndexingCoordinator {
| `- note: consider making struct 'IndexingCoordinator' conform to the 'Sendable' protocol
12 |
13 | private let semaphore = DispatchSemaphore(value: 1)
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/Implementations/Common.swift:22:29: warning: capture of 'dependencies' with non-sendable type 'S' in a `@Sendable` closure; this is an error in the Swift 6 language mode
10 |
11 | @inlinable
12 | func taskIndexing<S: Sequence>(
| `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
13 | dependencies: S,
14 | coordinator: IndexingCoordinator,
:
20 | var dependencyRegistrarIndex = coordinator.emptyIndex()
21 |
22 | for registration in dependencies {
| `- warning: capture of 'dependencies' with non-sendable type 'S' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 |
24 | guard !AsyncTask.isCancelled else {
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/Implementations/Common.swift:38:9: warning: capture of 'completion' with non-sendable type '(DependencyRegistrarIndex) -> Void' (aka '(Dictionary<IndexingKey, OrderedSet<RawDependencyRegistration>>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
36 | }
37 |
38 | completion(dependencyRegistrarIndex)
| |- warning: capture of 'completion' with non-sendable type '(DependencyRegistrarIndex) -> Void' (aka '(Dictionary<IndexingKey, OrderedSet<RawDependencyRegistration>>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
39 | }
40 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/Implementations/ParallelIndexer.swift:14:32: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
12 |
13 | static var parallelTaskCount: Int {
14 | let coreCount = Double(ProcessInfo().processorCount)
| `- error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
15 | let maximumSystemLoadFactor = 0.75
16 | return Int(floor(coreCount * maximumSystemLoadFactor))
FoundationEssentials.ProcessInfo (internal):4:14: note: 'init()' declared here
2 | public static let processInfo: ProcessInfo
3 | deinit
4 | internal init()
| `- note: 'init()' declared here
5 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:68:33: warning: capture of 'registrar' with non-sendable type 'DependenciesRegistrar' (aka 'Set<RawDependencyRegistration>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
66 |
67 | indexingTask = AsyncTask(priority: .high) {
68 | for registration in registrar {
| `- warning: capture of 'registrar' with non-sendable type 'DependenciesRegistrar' (aka 'Set<RawDependencyRegistration>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
69 | guard registration.canInstantiateEagerly else {
70 | continue
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Registration/RawDependencyRegistration.swift:10:15: note: consider making struct 'RawDependencyRegistration' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct RawDependencyRegistration: Hashable {
| `- note: consider making struct 'RawDependencyRegistration' conform to the 'Sendable' protocol
11 |
12 | /// An optimized storage box to avoid COW operations for immutable instances of `RawDependencyRegistration`
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:73:17: warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
10 |
11 | /// A wrapper that holds a `DependencyContainer` and indexes it's registrar asynchronously
12 | final class IndexedDependencyContainer {
| `- note: class 'IndexedDependencyContainer' does not conform to the 'Sendable' protocol
13 |
14 | @Atomic
:
71 | }
72 |
73 | self.lazyInitializationHandler(registration)
| `- warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
74 | }
75 |
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:76:13: warning: capture of 'completion' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
74 | }
75 |
76 | completion()
| |- warning: capture of 'completion' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
77 | }
78 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:128:30: warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
10 |
11 | /// A wrapper that holds a `DependencyContainer` and indexes it's registrar asynchronously
12 | final class IndexedDependencyContainer {
| `- note: class 'IndexedDependencyContainer' does not conform to the 'Sendable' protocol
13 |
14 | @Atomic
:
126 |
127 | indexingTask = AsyncTask(priority: .high) { [weak self] in
128 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
129 | self.indexIncrementally(changes: changes)
130 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:129:46: warning: capture of 'changes' with non-sendable type 'DependencyContainer.ChangeSet' in a `@Sendable` closure; this is an error in the Swift 6 language mode
127 | indexingTask = AsyncTask(priority: .high) { [weak self] in
128 | guard let self = self else { return }
129 | self.indexIncrementally(changes: changes)
| `- warning: capture of 'changes' with non-sendable type 'DependencyContainer.ChangeSet' in a `@Sendable` closure; this is an error in the Swift 6 language mode
130 | }
131 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/DependencyContainer.swift:59:12: note: consider making struct 'ChangeSet' conform to the 'Sendable' protocol
57 | }
58 |
59 | struct ChangeSet {
| `- note: consider making struct 'ChangeSet' conform to the 'Sendable' protocol
60 | let containerId: DependencyContainer.ID
61 | let oldValue: DependenciesRegistrar
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/StorageCleaner/StorageCleaner.swift:74:13: warning: capture of 'self' with non-sendable type 'StorageCleaner' in a `@Sendable` closure; this is an error in the Swift 6 language mode
18 | #endif
19 |
20 | class StorageCleaner {
| `- note: class 'StorageCleaner' does not conform to the 'Sendable' protocol
21 |
22 | private var cleanupHandler: @Sendable () -> Void
:
72 |
73 | AsyncTask(priority: priority) {
74 | self.cleanupHandler()
| `- warning: capture of 'self' with non-sendable type 'StorageCleaner' in a `@Sendable` closure; this is an error in the Swift 6 language mode
75 | }
76 | }
[519/540] Compiling Stitcher IndexingTask.swift
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/Implementations/Common.swift:20:40: warning: capture of 'coordinator' with non-sendable type 'IndexingCoordinator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
18 |
19 | AsyncTask(priority: .high) {
20 | var dependencyRegistrarIndex = coordinator.emptyIndex()
| `- warning: capture of 'coordinator' with non-sendable type 'IndexingCoordinator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 |
22 | for registration in dependencies {
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexingCoordinator.swift:11:15: note: consider making struct 'IndexingCoordinator' conform to the 'Sendable' protocol
9 |
10 | /// A type that acts as a coordinator between a dependency indexing implementation and the dependency container.
11 | public struct IndexingCoordinator {
| `- note: consider making struct 'IndexingCoordinator' conform to the 'Sendable' protocol
12 |
13 | private let semaphore = DispatchSemaphore(value: 1)
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/Implementations/Common.swift:22:29: warning: capture of 'dependencies' with non-sendable type 'S' in a `@Sendable` closure; this is an error in the Swift 6 language mode
10 |
11 | @inlinable
12 | func taskIndexing<S: Sequence>(
| `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
13 | dependencies: S,
14 | coordinator: IndexingCoordinator,
:
20 | var dependencyRegistrarIndex = coordinator.emptyIndex()
21 |
22 | for registration in dependencies {
| `- warning: capture of 'dependencies' with non-sendable type 'S' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 |
24 | guard !AsyncTask.isCancelled else {
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/Implementations/Common.swift:38:9: warning: capture of 'completion' with non-sendable type '(DependencyRegistrarIndex) -> Void' (aka '(Dictionary<IndexingKey, OrderedSet<RawDependencyRegistration>>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
36 | }
37 |
38 | completion(dependencyRegistrarIndex)
| |- warning: capture of 'completion' with non-sendable type '(DependencyRegistrarIndex) -> Void' (aka '(Dictionary<IndexingKey, OrderedSet<RawDependencyRegistration>>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
39 | }
40 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/Implementations/ParallelIndexer.swift:14:32: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
12 |
13 | static var parallelTaskCount: Int {
14 | let coreCount = Double(ProcessInfo().processorCount)
| `- error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
15 | let maximumSystemLoadFactor = 0.75
16 | return Int(floor(coreCount * maximumSystemLoadFactor))
FoundationEssentials.ProcessInfo (internal):4:14: note: 'init()' declared here
2 | public static let processInfo: ProcessInfo
3 | deinit
4 | internal init()
| `- note: 'init()' declared here
5 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:68:33: warning: capture of 'registrar' with non-sendable type 'DependenciesRegistrar' (aka 'Set<RawDependencyRegistration>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
66 |
67 | indexingTask = AsyncTask(priority: .high) {
68 | for registration in registrar {
| `- warning: capture of 'registrar' with non-sendable type 'DependenciesRegistrar' (aka 'Set<RawDependencyRegistration>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
69 | guard registration.canInstantiateEagerly else {
70 | continue
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Registration/RawDependencyRegistration.swift:10:15: note: consider making struct 'RawDependencyRegistration' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct RawDependencyRegistration: Hashable {
| `- note: consider making struct 'RawDependencyRegistration' conform to the 'Sendable' protocol
11 |
12 | /// An optimized storage box to avoid COW operations for immutable instances of `RawDependencyRegistration`
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:73:17: warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
10 |
11 | /// A wrapper that holds a `DependencyContainer` and indexes it's registrar asynchronously
12 | final class IndexedDependencyContainer {
| `- note: class 'IndexedDependencyContainer' does not conform to the 'Sendable' protocol
13 |
14 | @Atomic
:
71 | }
72 |
73 | self.lazyInitializationHandler(registration)
| `- warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
74 | }
75 |
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:76:13: warning: capture of 'completion' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
74 | }
75 |
76 | completion()
| |- warning: capture of 'completion' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
77 | }
78 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:128:30: warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
10 |
11 | /// A wrapper that holds a `DependencyContainer` and indexes it's registrar asynchronously
12 | final class IndexedDependencyContainer {
| `- note: class 'IndexedDependencyContainer' does not conform to the 'Sendable' protocol
13 |
14 | @Atomic
:
126 |
127 | indexingTask = AsyncTask(priority: .high) { [weak self] in
128 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
129 | self.indexIncrementally(changes: changes)
130 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:129:46: warning: capture of 'changes' with non-sendable type 'DependencyContainer.ChangeSet' in a `@Sendable` closure; this is an error in the Swift 6 language mode
127 | indexingTask = AsyncTask(priority: .high) { [weak self] in
128 | guard let self = self else { return }
129 | self.indexIncrementally(changes: changes)
| `- warning: capture of 'changes' with non-sendable type 'DependencyContainer.ChangeSet' in a `@Sendable` closure; this is an error in the Swift 6 language mode
130 | }
131 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/DependencyContainer.swift:59:12: note: consider making struct 'ChangeSet' conform to the 'Sendable' protocol
57 | }
58 |
59 | struct ChangeSet {
| `- note: consider making struct 'ChangeSet' conform to the 'Sendable' protocol
60 | let containerId: DependencyContainer.ID
61 | let oldValue: DependenciesRegistrar
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/StorageCleaner/StorageCleaner.swift:74:13: warning: capture of 'self' with non-sendable type 'StorageCleaner' in a `@Sendable` closure; this is an error in the Swift 6 language mode
18 | #endif
19 |
20 | class StorageCleaner {
| `- note: class 'StorageCleaner' does not conform to the 'Sendable' protocol
21 |
22 | private var cleanupHandler: @Sendable () -> Void
:
72 |
73 | AsyncTask(priority: priority) {
74 | self.cleanupHandler()
| `- warning: capture of 'self' with non-sendable type 'StorageCleaner' in a `@Sendable` closure; this is an error in the Swift 6 language mode
75 | }
76 | }
[520/540] Compiling Stitcher StorageCleaner.swift
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/Implementations/Common.swift:20:40: warning: capture of 'coordinator' with non-sendable type 'IndexingCoordinator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
18 |
19 | AsyncTask(priority: .high) {
20 | var dependencyRegistrarIndex = coordinator.emptyIndex()
| `- warning: capture of 'coordinator' with non-sendable type 'IndexingCoordinator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 |
22 | for registration in dependencies {
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexingCoordinator.swift:11:15: note: consider making struct 'IndexingCoordinator' conform to the 'Sendable' protocol
9 |
10 | /// A type that acts as a coordinator between a dependency indexing implementation and the dependency container.
11 | public struct IndexingCoordinator {
| `- note: consider making struct 'IndexingCoordinator' conform to the 'Sendable' protocol
12 |
13 | private let semaphore = DispatchSemaphore(value: 1)
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/Implementations/Common.swift:22:29: warning: capture of 'dependencies' with non-sendable type 'S' in a `@Sendable` closure; this is an error in the Swift 6 language mode
10 |
11 | @inlinable
12 | func taskIndexing<S: Sequence>(
| `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
13 | dependencies: S,
14 | coordinator: IndexingCoordinator,
:
20 | var dependencyRegistrarIndex = coordinator.emptyIndex()
21 |
22 | for registration in dependencies {
| `- warning: capture of 'dependencies' with non-sendable type 'S' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 |
24 | guard !AsyncTask.isCancelled else {
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/Implementations/Common.swift:38:9: warning: capture of 'completion' with non-sendable type '(DependencyRegistrarIndex) -> Void' (aka '(Dictionary<IndexingKey, OrderedSet<RawDependencyRegistration>>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
36 | }
37 |
38 | completion(dependencyRegistrarIndex)
| |- warning: capture of 'completion' with non-sendable type '(DependencyRegistrarIndex) -> Void' (aka '(Dictionary<IndexingKey, OrderedSet<RawDependencyRegistration>>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
39 | }
40 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/Implementations/ParallelIndexer.swift:14:32: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
12 |
13 | static var parallelTaskCount: Int {
14 | let coreCount = Double(ProcessInfo().processorCount)
| `- error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
15 | let maximumSystemLoadFactor = 0.75
16 | return Int(floor(coreCount * maximumSystemLoadFactor))
FoundationEssentials.ProcessInfo (internal):4:14: note: 'init()' declared here
2 | public static let processInfo: ProcessInfo
3 | deinit
4 | internal init()
| `- note: 'init()' declared here
5 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:68:33: warning: capture of 'registrar' with non-sendable type 'DependenciesRegistrar' (aka 'Set<RawDependencyRegistration>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
66 |
67 | indexingTask = AsyncTask(priority: .high) {
68 | for registration in registrar {
| `- warning: capture of 'registrar' with non-sendable type 'DependenciesRegistrar' (aka 'Set<RawDependencyRegistration>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
69 | guard registration.canInstantiateEagerly else {
70 | continue
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Registration/RawDependencyRegistration.swift:10:15: note: consider making struct 'RawDependencyRegistration' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct RawDependencyRegistration: Hashable {
| `- note: consider making struct 'RawDependencyRegistration' conform to the 'Sendable' protocol
11 |
12 | /// An optimized storage box to avoid COW operations for immutable instances of `RawDependencyRegistration`
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:73:17: warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
10 |
11 | /// A wrapper that holds a `DependencyContainer` and indexes it's registrar asynchronously
12 | final class IndexedDependencyContainer {
| `- note: class 'IndexedDependencyContainer' does not conform to the 'Sendable' protocol
13 |
14 | @Atomic
:
71 | }
72 |
73 | self.lazyInitializationHandler(registration)
| `- warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
74 | }
75 |
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:76:13: warning: capture of 'completion' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
74 | }
75 |
76 | completion()
| |- warning: capture of 'completion' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
77 | }
78 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:128:30: warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
10 |
11 | /// A wrapper that holds a `DependencyContainer` and indexes it's registrar asynchronously
12 | final class IndexedDependencyContainer {
| `- note: class 'IndexedDependencyContainer' does not conform to the 'Sendable' protocol
13 |
14 | @Atomic
:
126 |
127 | indexingTask = AsyncTask(priority: .high) { [weak self] in
128 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'IndexedDependencyContainer?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
129 | self.indexIncrementally(changes: changes)
130 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/Indexing/IndexedDependencyContainer.swift:129:46: warning: capture of 'changes' with non-sendable type 'DependencyContainer.ChangeSet' in a `@Sendable` closure; this is an error in the Swift 6 language mode
127 | indexingTask = AsyncTask(priority: .high) { [weak self] in
128 | guard let self = self else { return }
129 | self.indexIncrementally(changes: changes)
| `- warning: capture of 'changes' with non-sendable type 'DependencyContainer.ChangeSet' in a `@Sendable` closure; this is an error in the Swift 6 language mode
130 | }
131 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/DependencyContainer.swift:59:12: note: consider making struct 'ChangeSet' conform to the 'Sendable' protocol
57 | }
58 |
59 | struct ChangeSet {
| `- note: consider making struct 'ChangeSet' conform to the 'Sendable' protocol
60 | let containerId: DependencyContainer.ID
61 | let oldValue: DependenciesRegistrar
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Graph/StorageCleaner/StorageCleaner.swift:74:13: warning: capture of 'self' with non-sendable type 'StorageCleaner' in a `@Sendable` closure; this is an error in the Swift 6 language mode
18 | #endif
19 |
20 | class StorageCleaner {
| `- note: class 'StorageCleaner' does not conform to the 'Sendable' protocol
21 |
22 | private var cleanupHandler: @Sendable () -> Void
:
72 |
73 | AsyncTask(priority: priority) {
74 | self.cleanupHandler()
| `- warning: capture of 'self' with non-sendable type 'StorageCleaner' in a `@Sendable` closure; this is an error in the Swift 6 language mode
75 | }
76 | }
[521/540] Compiling Stitcher TypeName.swift
/host/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: {
/host/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: {
/host/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: {
/host/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: {
/host/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: {
/host/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: {
/host/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: {
/host/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 | )
/host/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: {
[522/540] Compiling Stitcher Atomic.swift
/host/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: {
/host/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: {
/host/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: {
/host/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: {
/host/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: {
/host/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: {
/host/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: {
/host/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 | )
/host/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: {
[523/540] Compiling Stitcher Dependencies.swift
/host/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: {
/host/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: {
/host/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: {
/host/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: {
/host/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: {
/host/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: {
/host/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: {
/host/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 | )
/host/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: {
[524/540] Compiling Stitcher Injected+Init.swift
/host/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: {
/host/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: {
/host/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: {
/host/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: {
/host/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: {
/host/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: {
/host/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: {
/host/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 | )
/host/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: {
[525/540] Compiling Stitcher Injected.swift
/host/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: {
/host/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: {
/host/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: {
/host/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: {
/host/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: {
/host/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: {
/host/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: {
/host/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 | )
/host/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: {
[526/540] Compiling Stitcher AutoregisterableDependency.swift
/host/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: {
/host/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: {
/host/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: {
/host/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: {
/host/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: {
/host/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: {
/host/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: {
/host/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 | )
/host/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: {
[527/540] Compiling Stitcher GeneratedDependencyRegistration.swift
/host/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: {
/host/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: {
/host/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: {
/host/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: {
/host/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: {
/host/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: {
/host/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: {
/host/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 | )
/host/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: {
[528/540] Compiling Stitcher RegisterableDependency.swift
/host/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: {
/host/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: {
/host/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: {
/host/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: {
/host/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: {
/host/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: {
/host/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: {
/host/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 | )
/host/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: {
[529/540] Compiling Stitcher DependenciesRegistrar.swift
/host/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: {
/host/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: {
/host/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: {
/host/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: {
/host/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: {
/host/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: {
/host/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: {
/host/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 | )
/host/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: {
[530/540] Compiling Stitcher Dependency.swift
/host/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: {
/host/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: {
/host/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: {
/host/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: {
/host/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: {
/host/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: {
/host/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: {
/host/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 | )
/host/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: {
[531/540] Compiling Stitcher DependencyGroup.swift
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/Common/ManagedSingletonInstanceStorage.swift:30:13: warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Value>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class ManagedSingletonInstanceStorage<Value: AnyObject>: InstanceStorage {
| `- note: generic class 'ManagedSingletonInstanceStorage' does not conform to the 'Sendable' protocol
11 |
12 | let key: Key
:
28 |
29 | self.subscription = scope.onScopeInvalidated { [weak self] in
30 | self?.clear()
| `- warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Value>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
31 | }
32 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/Common/ManagedSingletonInstanceStorage.swift:41:13: warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Reference<V>>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class ManagedSingletonInstanceStorage<Value: AnyObject>: InstanceStorage {
| `- note: generic class 'ManagedSingletonInstanceStorage' does not conform to the 'Sendable' protocol
11 |
12 | let key: Key
:
39 |
40 | self.subscription = scope.onScopeInvalidated { [weak self] in
41 | self?.clear()
| `- warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Reference<V>>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
42 | }
43 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/InstanceStorage.swift:40:31: warning: capture of 'storage' with non-sendable type 'Storage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
37 | let key: Key
38 |
39 | init<Storage: InstanceStorage>(erasing storage: Storage) {
| `- note: consider making generic parameter 'Storage' conform to the 'Sendable' protocol
40 | self._storedValue = { storage.value }
| `- warning: capture of 'storage' with non-sendable type 'Storage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
41 | self._hash = { storage.hash(into: &$0) }
42 | self.key = storage.key
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/InstanceStorage.swift:41:24: warning: capture of 'storage' with non-sendable type 'Storage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
37 | let key: Key
38 |
39 | init<Storage: InstanceStorage>(erasing storage: Storage) {
| `- note: consider making generic parameter 'Storage' conform to the 'Sendable' protocol
40 | self._storedValue = { storage.value }
41 | self._hash = { storage.hash(into: &$0) }
| `- warning: capture of 'storage' with non-sendable type 'Storage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
42 | self.key = storage.key
43 | }
[532/540] Compiling Stitcher DependencyRegistrarBuilder.swift
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/Common/ManagedSingletonInstanceStorage.swift:30:13: warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Value>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class ManagedSingletonInstanceStorage<Value: AnyObject>: InstanceStorage {
| `- note: generic class 'ManagedSingletonInstanceStorage' does not conform to the 'Sendable' protocol
11 |
12 | let key: Key
:
28 |
29 | self.subscription = scope.onScopeInvalidated { [weak self] in
30 | self?.clear()
| `- warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Value>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
31 | }
32 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/Common/ManagedSingletonInstanceStorage.swift:41:13: warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Reference<V>>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class ManagedSingletonInstanceStorage<Value: AnyObject>: InstanceStorage {
| `- note: generic class 'ManagedSingletonInstanceStorage' does not conform to the 'Sendable' protocol
11 |
12 | let key: Key
:
39 |
40 | self.subscription = scope.onScopeInvalidated { [weak self] in
41 | self?.clear()
| `- warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Reference<V>>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
42 | }
43 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/InstanceStorage.swift:40:31: warning: capture of 'storage' with non-sendable type 'Storage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
37 | let key: Key
38 |
39 | init<Storage: InstanceStorage>(erasing storage: Storage) {
| `- note: consider making generic parameter 'Storage' conform to the 'Sendable' protocol
40 | self._storedValue = { storage.value }
| `- warning: capture of 'storage' with non-sendable type 'Storage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
41 | self._hash = { storage.hash(into: &$0) }
42 | self.key = storage.key
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/InstanceStorage.swift:41:24: warning: capture of 'storage' with non-sendable type 'Storage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
37 | let key: Key
38 |
39 | init<Storage: InstanceStorage>(erasing storage: Storage) {
| `- note: consider making generic parameter 'Storage' conform to the 'Sendable' protocol
40 | self._storedValue = { storage.value }
41 | self._hash = { storage.hash(into: &$0) }
| `- warning: capture of 'storage' with non-sendable type 'Storage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
42 | self.key = storage.key
43 | }
[533/540] Compiling Stitcher RawDependencyRegistration.swift
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/Common/ManagedSingletonInstanceStorage.swift:30:13: warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Value>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class ManagedSingletonInstanceStorage<Value: AnyObject>: InstanceStorage {
| `- note: generic class 'ManagedSingletonInstanceStorage' does not conform to the 'Sendable' protocol
11 |
12 | let key: Key
:
28 |
29 | self.subscription = scope.onScopeInvalidated { [weak self] in
30 | self?.clear()
| `- warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Value>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
31 | }
32 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/Common/ManagedSingletonInstanceStorage.swift:41:13: warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Reference<V>>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class ManagedSingletonInstanceStorage<Value: AnyObject>: InstanceStorage {
| `- note: generic class 'ManagedSingletonInstanceStorage' does not conform to the 'Sendable' protocol
11 |
12 | let key: Key
:
39 |
40 | self.subscription = scope.onScopeInvalidated { [weak self] in
41 | self?.clear()
| `- warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Reference<V>>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
42 | }
43 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/InstanceStorage.swift:40:31: warning: capture of 'storage' with non-sendable type 'Storage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
37 | let key: Key
38 |
39 | init<Storage: InstanceStorage>(erasing storage: Storage) {
| `- note: consider making generic parameter 'Storage' conform to the 'Sendable' protocol
40 | self._storedValue = { storage.value }
| `- warning: capture of 'storage' with non-sendable type 'Storage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
41 | self._hash = { storage.hash(into: &$0) }
42 | self.key = storage.key
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/InstanceStorage.swift:41:24: warning: capture of 'storage' with non-sendable type 'Storage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
37 | let key: Key
38 |
39 | init<Storage: InstanceStorage>(erasing storage: Storage) {
| `- note: consider making generic parameter 'Storage' conform to the 'Sendable' protocol
40 | self._storedValue = { storage.value }
41 | self._hash = { storage.hash(into: &$0) }
| `- warning: capture of 'storage' with non-sendable type 'Storage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
42 | self.key = storage.key
43 | }
[534/540] Compiling Stitcher DependencyGroupRepresenting.swift
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/Common/ManagedSingletonInstanceStorage.swift:30:13: warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Value>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class ManagedSingletonInstanceStorage<Value: AnyObject>: InstanceStorage {
| `- note: generic class 'ManagedSingletonInstanceStorage' does not conform to the 'Sendable' protocol
11 |
12 | let key: Key
:
28 |
29 | self.subscription = scope.onScopeInvalidated { [weak self] in
30 | self?.clear()
| `- warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Value>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
31 | }
32 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/Common/ManagedSingletonInstanceStorage.swift:41:13: warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Reference<V>>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class ManagedSingletonInstanceStorage<Value: AnyObject>: InstanceStorage {
| `- note: generic class 'ManagedSingletonInstanceStorage' does not conform to the 'Sendable' protocol
11 |
12 | let key: Key
:
39 |
40 | self.subscription = scope.onScopeInvalidated { [weak self] in
41 | self?.clear()
| `- warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Reference<V>>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
42 | }
43 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/InstanceStorage.swift:40:31: warning: capture of 'storage' with non-sendable type 'Storage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
37 | let key: Key
38 |
39 | init<Storage: InstanceStorage>(erasing storage: Storage) {
| `- note: consider making generic parameter 'Storage' conform to the 'Sendable' protocol
40 | self._storedValue = { storage.value }
| `- warning: capture of 'storage' with non-sendable type 'Storage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
41 | self._hash = { storage.hash(into: &$0) }
42 | self.key = storage.key
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/InstanceStorage.swift:41:24: warning: capture of 'storage' with non-sendable type 'Storage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
37 | let key: Key
38 |
39 | init<Storage: InstanceStorage>(erasing storage: Storage) {
| `- note: consider making generic parameter 'Storage' conform to the 'Sendable' protocol
40 | self._storedValue = { storage.value }
41 | self._hash = { storage.hash(into: &$0) }
| `- warning: capture of 'storage' with non-sendable type 'Storage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
42 | self.key = storage.key
43 | }
[535/540] Compiling Stitcher DependencyRepresenting.swift
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/Common/ManagedSingletonInstanceStorage.swift:30:13: warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Value>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class ManagedSingletonInstanceStorage<Value: AnyObject>: InstanceStorage {
| `- note: generic class 'ManagedSingletonInstanceStorage' does not conform to the 'Sendable' protocol
11 |
12 | let key: Key
:
28 |
29 | self.subscription = scope.onScopeInvalidated { [weak self] in
30 | self?.clear()
| `- warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Value>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
31 | }
32 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/Common/ManagedSingletonInstanceStorage.swift:41:13: warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Reference<V>>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class ManagedSingletonInstanceStorage<Value: AnyObject>: InstanceStorage {
| `- note: generic class 'ManagedSingletonInstanceStorage' does not conform to the 'Sendable' protocol
11 |
12 | let key: Key
:
39 |
40 | self.subscription = scope.onScopeInvalidated { [weak self] in
41 | self?.clear()
| `- warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Reference<V>>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
42 | }
43 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/InstanceStorage.swift:40:31: warning: capture of 'storage' with non-sendable type 'Storage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
37 | let key: Key
38 |
39 | init<Storage: InstanceStorage>(erasing storage: Storage) {
| `- note: consider making generic parameter 'Storage' conform to the 'Sendable' protocol
40 | self._storedValue = { storage.value }
| `- warning: capture of 'storage' with non-sendable type 'Storage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
41 | self._hash = { storage.hash(into: &$0) }
42 | self.key = storage.key
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/InstanceStorage.swift:41:24: warning: capture of 'storage' with non-sendable type 'Storage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
37 | let key: Key
38 |
39 | init<Storage: InstanceStorage>(erasing storage: Storage) {
| `- note: consider making generic parameter 'Storage' conform to the 'Sendable' protocol
40 | self._storedValue = { storage.value }
41 | self._hash = { storage.hash(into: &$0) }
| `- warning: capture of 'storage' with non-sendable type 'Storage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
42 | self.key = storage.key
43 | }
[536/540] Compiling Stitcher ManagedSingletonInstanceStorage.swift
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/Common/ManagedSingletonInstanceStorage.swift:30:13: warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Value>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class ManagedSingletonInstanceStorage<Value: AnyObject>: InstanceStorage {
| `- note: generic class 'ManagedSingletonInstanceStorage' does not conform to the 'Sendable' protocol
11 |
12 | let key: Key
:
28 |
29 | self.subscription = scope.onScopeInvalidated { [weak self] in
30 | self?.clear()
| `- warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Value>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
31 | }
32 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/Common/ManagedSingletonInstanceStorage.swift:41:13: warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Reference<V>>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class ManagedSingletonInstanceStorage<Value: AnyObject>: InstanceStorage {
| `- note: generic class 'ManagedSingletonInstanceStorage' does not conform to the 'Sendable' protocol
11 |
12 | let key: Key
:
39 |
40 | self.subscription = scope.onScopeInvalidated { [weak self] in
41 | self?.clear()
| `- warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Reference<V>>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
42 | }
43 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/InstanceStorage.swift:40:31: warning: capture of 'storage' with non-sendable type 'Storage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
37 | let key: Key
38 |
39 | init<Storage: InstanceStorage>(erasing storage: Storage) {
| `- note: consider making generic parameter 'Storage' conform to the 'Sendable' protocol
40 | self._storedValue = { storage.value }
| `- warning: capture of 'storage' with non-sendable type 'Storage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
41 | self._hash = { storage.hash(into: &$0) }
42 | self.key = storage.key
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/InstanceStorage.swift:41:24: warning: capture of 'storage' with non-sendable type 'Storage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
37 | let key: Key
38 |
39 | init<Storage: InstanceStorage>(erasing storage: Storage) {
| `- note: consider making generic parameter 'Storage' conform to the 'Sendable' protocol
40 | self._storedValue = { storage.value }
41 | self._hash = { storage.hash(into: &$0) }
| `- warning: capture of 'storage' with non-sendable type 'Storage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
42 | self.key = storage.key
43 | }
[537/540] Compiling Stitcher NeverInstanceStorage.swift
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/Common/ManagedSingletonInstanceStorage.swift:30:13: warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Value>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class ManagedSingletonInstanceStorage<Value: AnyObject>: InstanceStorage {
| `- note: generic class 'ManagedSingletonInstanceStorage' does not conform to the 'Sendable' protocol
11 |
12 | let key: Key
:
28 |
29 | self.subscription = scope.onScopeInvalidated { [weak self] in
30 | self?.clear()
| `- warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Value>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
31 | }
32 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/Common/ManagedSingletonInstanceStorage.swift:41:13: warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Reference<V>>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class ManagedSingletonInstanceStorage<Value: AnyObject>: InstanceStorage {
| `- note: generic class 'ManagedSingletonInstanceStorage' does not conform to the 'Sendable' protocol
11 |
12 | let key: Key
:
39 |
40 | self.subscription = scope.onScopeInvalidated { [weak self] in
41 | self?.clear()
| `- warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Reference<V>>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
42 | }
43 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/InstanceStorage.swift:40:31: warning: capture of 'storage' with non-sendable type 'Storage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
37 | let key: Key
38 |
39 | init<Storage: InstanceStorage>(erasing storage: Storage) {
| `- note: consider making generic parameter 'Storage' conform to the 'Sendable' protocol
40 | self._storedValue = { storage.value }
| `- warning: capture of 'storage' with non-sendable type 'Storage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
41 | self._hash = { storage.hash(into: &$0) }
42 | self.key = storage.key
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/InstanceStorage.swift:41:24: warning: capture of 'storage' with non-sendable type 'Storage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
37 | let key: Key
38 |
39 | init<Storage: InstanceStorage>(erasing storage: Storage) {
| `- note: consider making generic parameter 'Storage' conform to the 'Sendable' protocol
40 | self._storedValue = { storage.value }
41 | self._hash = { storage.hash(into: &$0) }
| `- warning: capture of 'storage' with non-sendable type 'Storage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
42 | self.key = storage.key
43 | }
[538/540] Compiling Stitcher SharedInstanceStorage.swift
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/Common/ManagedSingletonInstanceStorage.swift:30:13: warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Value>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class ManagedSingletonInstanceStorage<Value: AnyObject>: InstanceStorage {
| `- note: generic class 'ManagedSingletonInstanceStorage' does not conform to the 'Sendable' protocol
11 |
12 | let key: Key
:
28 |
29 | self.subscription = scope.onScopeInvalidated { [weak self] in
30 | self?.clear()
| `- warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Value>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
31 | }
32 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/Common/ManagedSingletonInstanceStorage.swift:41:13: warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Reference<V>>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class ManagedSingletonInstanceStorage<Value: AnyObject>: InstanceStorage {
| `- note: generic class 'ManagedSingletonInstanceStorage' does not conform to the 'Sendable' protocol
11 |
12 | let key: Key
:
39 |
40 | self.subscription = scope.onScopeInvalidated { [weak self] in
41 | self?.clear()
| `- warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Reference<V>>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
42 | }
43 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/InstanceStorage.swift:40:31: warning: capture of 'storage' with non-sendable type 'Storage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
37 | let key: Key
38 |
39 | init<Storage: InstanceStorage>(erasing storage: Storage) {
| `- note: consider making generic parameter 'Storage' conform to the 'Sendable' protocol
40 | self._storedValue = { storage.value }
| `- warning: capture of 'storage' with non-sendable type 'Storage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
41 | self._hash = { storage.hash(into: &$0) }
42 | self.key = storage.key
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/InstanceStorage.swift:41:24: warning: capture of 'storage' with non-sendable type 'Storage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
37 | let key: Key
38 |
39 | init<Storage: InstanceStorage>(erasing storage: Storage) {
| `- note: consider making generic parameter 'Storage' conform to the 'Sendable' protocol
40 | self._storedValue = { storage.value }
41 | self._hash = { storage.hash(into: &$0) }
| `- warning: capture of 'storage' with non-sendable type 'Storage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
42 | self.key = storage.key
43 | }
[539/540] Compiling Stitcher SingletonInstanceStorage.swift
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/Common/ManagedSingletonInstanceStorage.swift:30:13: warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Value>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class ManagedSingletonInstanceStorage<Value: AnyObject>: InstanceStorage {
| `- note: generic class 'ManagedSingletonInstanceStorage' does not conform to the 'Sendable' protocol
11 |
12 | let key: Key
:
28 |
29 | self.subscription = scope.onScopeInvalidated { [weak self] in
30 | self?.clear()
| `- warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Value>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
31 | }
32 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/Common/ManagedSingletonInstanceStorage.swift:41:13: warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Reference<V>>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class ManagedSingletonInstanceStorage<Value: AnyObject>: InstanceStorage {
| `- note: generic class 'ManagedSingletonInstanceStorage' does not conform to the 'Sendable' protocol
11 |
12 | let key: Key
:
39 |
40 | self.subscription = scope.onScopeInvalidated { [weak self] in
41 | self?.clear()
| `- warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Reference<V>>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
42 | }
43 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/InstanceStorage.swift:40:31: warning: capture of 'storage' with non-sendable type 'Storage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
37 | let key: Key
38 |
39 | init<Storage: InstanceStorage>(erasing storage: Storage) {
| `- note: consider making generic parameter 'Storage' conform to the 'Sendable' protocol
40 | self._storedValue = { storage.value }
| `- warning: capture of 'storage' with non-sendable type 'Storage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
41 | self._hash = { storage.hash(into: &$0) }
42 | self.key = storage.key
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/InstanceStorage.swift:41:24: warning: capture of 'storage' with non-sendable type 'Storage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
37 | let key: Key
38 |
39 | init<Storage: InstanceStorage>(erasing storage: Storage) {
| `- note: consider making generic parameter 'Storage' conform to the 'Sendable' protocol
40 | self._storedValue = { storage.value }
41 | self._hash = { storage.hash(into: &$0) }
| `- warning: capture of 'storage' with non-sendable type 'Storage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
42 | self.key = storage.key
43 | }
[540/540] Compiling Stitcher InstanceStorage.swift
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/Common/ManagedSingletonInstanceStorage.swift:30:13: warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Value>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class ManagedSingletonInstanceStorage<Value: AnyObject>: InstanceStorage {
| `- note: generic class 'ManagedSingletonInstanceStorage' does not conform to the 'Sendable' protocol
11 |
12 | let key: Key
:
28 |
29 | self.subscription = scope.onScopeInvalidated { [weak self] in
30 | self?.clear()
| `- warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Value>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
31 | }
32 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/Common/ManagedSingletonInstanceStorage.swift:41:13: warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Reference<V>>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class ManagedSingletonInstanceStorage<Value: AnyObject>: InstanceStorage {
| `- note: generic class 'ManagedSingletonInstanceStorage' does not conform to the 'Sendable' protocol
11 |
12 | let key: Key
:
39 |
40 | self.subscription = scope.onScopeInvalidated { [weak self] in
41 | self?.clear()
| `- warning: capture of 'self' with non-sendable type 'ManagedSingletonInstanceStorage<Reference<V>>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
42 | }
43 | }
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/InstanceStorage.swift:40:31: warning: capture of 'storage' with non-sendable type 'Storage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
37 | let key: Key
38 |
39 | init<Storage: InstanceStorage>(erasing storage: Storage) {
| `- note: consider making generic parameter 'Storage' conform to the 'Sendable' protocol
40 | self._storedValue = { storage.value }
| `- warning: capture of 'storage' with non-sendable type 'Storage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
41 | self._hash = { storage.hash(into: &$0) }
42 | self.key = storage.key
/host/spi-builder-workspace/Sources/Stitcher/DependencyInjection/Storage/InstanceStorage.swift:41:24: warning: capture of 'storage' with non-sendable type 'Storage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
37 | let key: Key
38 |
39 | init<Storage: InstanceStorage>(erasing storage: Storage) {
| `- note: consider making generic parameter 'Storage' conform to the 'Sendable' protocol
40 | self._storedValue = { storage.value }
41 | self._hash = { storage.hash(into: &$0) }
| `- warning: capture of 'storage' with non-sendable type 'Storage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
42 | self.key = storage.key
43 | }
BUILD FAILURE 6.0 linux