Build Information
Successful build of Knit, reference main (d2eeff
), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 06:31:23 UTC.
Swift 6 data race errors: 14
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
270 | MainActor.assumeIsolated {
271 | return mainActorFactory(resolver, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9)
| |- warning: sending 'arg8' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'arg8' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
272 | }
273 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/Container+MainActor.swift:271:99: warning: sending 'arg9' risks causing data races; this is an error in the Swift 6 language mode
269 | return register(serviceType, name: name) { (resolver: Resolver, arg1: Arg1, arg2: Arg2, arg3: Arg3, arg4: Arg4, arg5: Arg5, arg6: Arg6, arg7: Arg7, arg8: Arg8, arg9: Arg9) in
270 | MainActor.assumeIsolated {
271 | return mainActorFactory(resolver, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9)
| |- warning: sending 'arg9' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'arg9' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
272 | }
273 | }
[119/190] Emitting module Knit
[120/190] Compiling Knit FakeAssembly.swift
[121/190] Compiling Knit KnitModule.swift
[122/190] Compiling Knit AbstractAssembly.swift
[123/190] Compiling Knit Container+AbstractRegistration.swift
[124/190] Compiling Knit ModuleAssembler.swift
[125/190] Compiling Knit ModuleAssemblerErrorFormatter.swift
[126/190] Compiling Knit Resolver+Additions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:41:27: warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
31 | /// - Returns: The registered service entry.
32 | @discardableResult
33 | public func registerIntoCollection<Service>(
| `- note: consider making generic parameter 'Service' conform to the 'Sendable' protocol
34 | _ service: Service.Type,
35 | factory: @escaping @MainActor (Resolver) -> Service
:
39 | name: makeUniqueCollectionRegistrationName(),
40 | factory: { resolver in
41 | MainActor.assumeIsolated {
| `- warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
42 | return factory(resolver)
43 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:70:23: warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
63 | /// - Returns: The registered service entry.
64 | @discardableResult
65 | public func autoregisterIntoCollection<Service>(
| `- note: consider making generic parameter 'Service' conform to the 'Sendable' protocol
66 | _ service: Service.Type,
67 | initializer: @escaping @MainActor (()) -> Service
68 | ) -> ServiceEntry<Service> {
69 | let initClosure = {
70 | MainActor.assumeIsolated {
| `- warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
71 | initializer(())
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:103:23: warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
96 | /// - Returns: The registered service entry.
97 | @discardableResult
98 | public func autoregisterIntoCollection<Service, T1>(
| `- note: consider making generic parameter 'Service' conform to the 'Sendable' protocol
99 | _ service: Service.Type,
100 | initializer: @escaping @MainActor ((T1)) -> Service
101 | ) -> ServiceEntry<Service> {
102 | let initClosure = { (arg: (T1)) in
103 | MainActor.assumeIsolated {
| `- warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
104 | initializer((arg))
105 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:136:23: warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
129 | /// - Returns: The registered service entry.
130 | @discardableResult
131 | public func autoregisterIntoCollection<Service, T1, T2>(
| `- note: consider making generic parameter 'Service' conform to the 'Sendable' protocol
132 | _ service: Service.Type,
133 | initializer: @escaping @MainActor ((T1, T2)) -> Service
134 | ) -> ServiceEntry<Service> {
135 | let initClosure = { (args: (T1, T2)) in
136 | MainActor.assumeIsolated {
| `- warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
137 | initializer((args.0, args.1))
138 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:168:23: warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
161 | /// - Returns: The registered service entry.
162 | @discardableResult
163 | public func autoregisterIntoCollection<Service, T1, T2, T3>(
| `- note: consider making generic parameter 'Service' conform to the 'Sendable' protocol
164 | _ service: Service.Type,
165 | initializer: @escaping @MainActor ((T1, T2, T3)) -> Service
166 | ) -> ServiceEntry<Service> {
167 | let initClosure = { (args: (T1, T2, T3)) in
168 | MainActor.assumeIsolated {
| `- warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
169 | initializer((args.0, args.1, args.2))
170 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:200:23: warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
193 | /// - Returns: The registered service entry.
194 | @discardableResult
195 | public func autoregisterIntoCollection<Service, T1, T2, T3, T4>(
| `- note: consider making generic parameter 'Service' conform to the 'Sendable' protocol
196 | _ service: Service.Type,
197 | initializer: @escaping @MainActor ((T1, T2, T3, T4)) -> Service
198 | ) -> ServiceEntry<Service> {
199 | let initClosure = { (args: (T1, T2, T3, T4)) in
200 | MainActor.assumeIsolated {
| `- warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
201 | initializer((args.0, args.1, args.2, args.3))
202 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:232:23: warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
225 | /// - Returns: The registered service entry.
226 | @discardableResult
227 | public func autoregisterIntoCollection<Service, T1, T2, T3, T4, T5>(
| `- note: consider making generic parameter 'Service' conform to the 'Sendable' protocol
228 | _ service: Service.Type,
229 | initializer: @escaping @MainActor ((T1, T2, T3, T4, T5)) -> Service
230 | ) -> ServiceEntry<Service> {
231 | let initClosure = { (args: (T1, T2, T3, T4, T5)) in
232 | MainActor.assumeIsolated {
| `- warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
233 | initializer((args.0, args.1, args.2, args.3, args.4))
234 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:264:23: warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
257 | /// - Returns: The registered service entry.
258 | @discardableResult
259 | public func autoregisterIntoCollection<Service, T1, T2, T3, T4, T5, T6>(
| `- note: consider making generic parameter 'Service' conform to the 'Sendable' protocol
260 | _ service: Service.Type,
261 | initializer: @escaping @MainActor ((T1, T2, T3, T4, T5, T6)) -> Service
262 | ) -> ServiceEntry<Service> {
263 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6)) in
264 | MainActor.assumeIsolated {
| `- warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
265 | initializer((args.0, args.1, args.2, args.3, args.4, args.5))
266 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:296:23: warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
289 | /// - Returns: The registered service entry.
290 | @discardableResult
291 | public func autoregisterIntoCollection<Service, T1, T2, T3, T4, T5, T6, T7>(
| `- note: consider making generic parameter 'Service' conform to the 'Sendable' protocol
292 | _ service: Service.Type,
293 | initializer: @escaping @MainActor ((T1, T2, T3, T4, T5, T6, T7)) -> Service
294 | ) -> ServiceEntry<Service> {
295 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7)) in
296 | MainActor.assumeIsolated {
| `- warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
297 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6))
298 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:328:23: warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
321 | /// - Returns: The registered service entry.
322 | @discardableResult
323 | public func autoregisterIntoCollection<Service, T1, T2, T3, T4, T5, T6, T7, T8>(
| `- note: consider making generic parameter 'Service' conform to the 'Sendable' protocol
324 | _ service: Service.Type,
325 | initializer: @escaping @MainActor ((T1, T2, T3, T4, T5, T6, T7, T8)) -> Service
326 | ) -> ServiceEntry<Service> {
327 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8)) in
328 | MainActor.assumeIsolated {
| `- warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
329 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7))
330 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:360:23: warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
353 | /// - Returns: The registered service entry.
354 | @discardableResult
355 | public func autoregisterIntoCollection<Service, T1, T2, T3, T4, T5, T6, T7, T8, T9>(
| `- note: consider making generic parameter 'Service' conform to the 'Sendable' protocol
356 | _ service: Service.Type,
357 | initializer: @escaping @MainActor ((T1, T2, T3, T4, T5, T6, T7, T8, T9)) -> Service
358 | ) -> ServiceEntry<Service> {
359 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9)) in
360 | MainActor.assumeIsolated {
| `- warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
361 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8))
362 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:392:23: warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
385 | /// - Returns: The registered service entry.
386 | @discardableResult
387 | public func autoregisterIntoCollection<Service, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(
| `- note: consider making generic parameter 'Service' conform to the 'Sendable' protocol
388 | _ service: Service.Type,
389 | initializer: @escaping @MainActor ((T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)) -> Service
390 | ) -> ServiceEntry<Service> {
391 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)) in
392 | MainActor.assumeIsolated {
| `- warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
393 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8, args.9))
394 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:424:23: warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
417 | /// - Returns: The registered service entry.
418 | @discardableResult
419 | public func autoregisterIntoCollection<Service, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(
| `- note: consider making generic parameter 'Service' conform to the 'Sendable' protocol
420 | _ service: Service.Type,
421 | initializer: @escaping @MainActor ((T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)) -> Service
422 | ) -> ServiceEntry<Service> {
423 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)) in
424 | MainActor.assumeIsolated {
| `- warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
425 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8, args.9, args.10))
426 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:456:23: warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
449 | /// - Returns: The registered service entry.
450 | @discardableResult
451 | public func autoregisterIntoCollection<Service, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(
| `- note: consider making generic parameter 'Service' conform to the 'Sendable' protocol
452 | _ service: Service.Type,
453 | initializer: @escaping @MainActor ((T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)) -> Service
454 | ) -> ServiceEntry<Service> {
455 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)) in
456 | MainActor.assumeIsolated {
| `- warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
457 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8, args.9, args.10, args.11))
458 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:488:23: warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
481 | /// - Returns: The registered service entry.
482 | @discardableResult
483 | public func autoregisterIntoCollection<Service, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>(
| `- note: consider making generic parameter 'Service' conform to the 'Sendable' protocol
484 | _ service: Service.Type,
485 | initializer: @escaping @MainActor ((T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)) -> Service
486 | ) -> ServiceEntry<Service> {
487 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)) in
488 | MainActor.assumeIsolated {
| `- warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
489 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8, args.9, args.10, args.11, args.12))
490 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:520:23: warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
513 | /// - Returns: The registered service entry.
514 | @discardableResult
515 | public func autoregisterIntoCollection<Service, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>(
| `- note: consider making generic parameter 'Service' conform to the 'Sendable' protocol
516 | _ service: Service.Type,
517 | initializer: @escaping @MainActor ((T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)) -> Service
518 | ) -> ServiceEntry<Service> {
519 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)) in
520 | MainActor.assumeIsolated {
| `- warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
521 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8, args.9, args.10, args.11, args.12, args.13))
522 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:552:23: warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
545 | /// - Returns: The registered service entry.
546 | @discardableResult
547 | public func autoregisterIntoCollection<Service, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>(
| `- note: consider making generic parameter 'Service' conform to the 'Sendable' protocol
548 | _ service: Service.Type,
549 | initializer: @escaping @MainActor ((T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)) -> Service
550 | ) -> ServiceEntry<Service> {
551 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)) in
552 | MainActor.assumeIsolated {
| `- warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
553 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8, args.9, args.10, args.11, args.12, args.13, args.14))
554 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:584:23: warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
577 | /// - Returns: The registered service entry.
578 | @discardableResult
579 | public func autoregisterIntoCollection<Service, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>(
| `- note: consider making generic parameter 'Service' conform to the 'Sendable' protocol
580 | _ service: Service.Type,
581 | initializer: @escaping @MainActor ((T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16)) -> Service
582 | ) -> ServiceEntry<Service> {
583 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16)) in
584 | MainActor.assumeIsolated {
| `- warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
585 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8, args.9, args.10, args.11, args.12, args.13, args.14, args.15))
586 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:616:23: warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
609 | /// - Returns: The registered service entry.
610 | @discardableResult
611 | public func autoregisterIntoCollection<Service, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17>(
| `- note: consider making generic parameter 'Service' conform to the 'Sendable' protocol
612 | _ service: Service.Type,
613 | initializer: @escaping @MainActor ((T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17)) -> Service
614 | ) -> ServiceEntry<Service> {
615 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17)) in
616 | MainActor.assumeIsolated {
| `- warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
617 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8, args.9, args.10, args.11, args.12, args.13, args.14, args.15, args.16))
618 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:648:23: warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
641 | /// - Returns: The registered service entry.
642 | @discardableResult
643 | public func autoregisterIntoCollection<Service, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18>(
| `- note: consider making generic parameter 'Service' conform to the 'Sendable' protocol
644 | _ service: Service.Type,
645 | initializer: @escaping @MainActor ((T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18)) -> Service
646 | ) -> ServiceEntry<Service> {
647 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18)) in
648 | MainActor.assumeIsolated {
| `- warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
649 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8, args.9, args.10, args.11, args.12, args.13, args.14, args.15, args.16, args.17))
650 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:680:23: warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
673 | /// - Returns: The registered service entry.
674 | @discardableResult
675 | public func autoregisterIntoCollection<Service, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19>(
| `- note: consider making generic parameter 'Service' conform to the 'Sendable' protocol
676 | _ service: Service.Type,
677 | initializer: @escaping @MainActor ((T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19)) -> Service
678 | ) -> ServiceEntry<Service> {
679 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19)) in
680 | MainActor.assumeIsolated {
| `- warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
681 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8, args.9, args.10, args.11, args.12, args.13, args.14, args.15, args.16, args.17, args.18))
682 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:712:23: warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
705 | /// - Returns: The registered service entry.
706 | @discardableResult
707 | public func autoregisterIntoCollection<Service, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20>(
| `- note: consider making generic parameter 'Service' conform to the 'Sendable' protocol
708 | _ service: Service.Type,
709 | initializer: @escaping @MainActor ((T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20)) -> Service
710 | ) -> ServiceEntry<Service> {
711 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20)) in
712 | MainActor.assumeIsolated {
| `- warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
713 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8, args.9, args.10, args.11, args.12, args.13, args.14, args.15, args.16, args.17, args.18, args.19))
714 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:42:28: warning: sending 'factory' risks causing data races; this is an error in the Swift 6 language mode
40 | factory: { resolver in
41 | MainActor.assumeIsolated {
42 | return factory(resolver)
| |- warning: sending 'factory' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'factory' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
43 | }
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:42:36: warning: sending 'resolver' risks causing data races; this is an error in the Swift 6 language mode
40 | factory: { resolver in
41 | MainActor.assumeIsolated {
42 | return factory(resolver)
| |- warning: sending 'resolver' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'resolver' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
43 | }
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:71:17: warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
69 | let initClosure = {
70 | MainActor.assumeIsolated {
71 | initializer(())
| |- warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'initializer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
72 | }
73 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:104:17: warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
102 | let initClosure = { (arg: (T1)) in
103 | MainActor.assumeIsolated {
104 | initializer((arg))
| |- warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'initializer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
105 | }
106 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:104:30: warning: sending 'arg' risks causing data races; this is an error in the Swift 6 language mode
102 | let initClosure = { (arg: (T1)) in
103 | MainActor.assumeIsolated {
104 | initializer((arg))
| |- warning: sending 'arg' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'arg' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
105 | }
106 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:137:17: warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
135 | let initClosure = { (args: (T1, T2)) in
136 | MainActor.assumeIsolated {
137 | initializer((args.0, args.1))
| |- warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'initializer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
138 | }
139 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:137:30: warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
135 | let initClosure = { (args: (T1, T2)) in
136 | MainActor.assumeIsolated {
137 | initializer((args.0, args.1))
| |- warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'args' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
138 | }
139 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:169:17: warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
167 | let initClosure = { (args: (T1, T2, T3)) in
168 | MainActor.assumeIsolated {
169 | initializer((args.0, args.1, args.2))
| |- warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'initializer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
170 | }
171 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:169:30: warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
167 | let initClosure = { (args: (T1, T2, T3)) in
168 | MainActor.assumeIsolated {
169 | initializer((args.0, args.1, args.2))
| |- warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'args' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
170 | }
171 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:201:17: warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
199 | let initClosure = { (args: (T1, T2, T3, T4)) in
200 | MainActor.assumeIsolated {
201 | initializer((args.0, args.1, args.2, args.3))
| |- warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'initializer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
202 | }
203 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:201:30: warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
199 | let initClosure = { (args: (T1, T2, T3, T4)) in
200 | MainActor.assumeIsolated {
201 | initializer((args.0, args.1, args.2, args.3))
| |- warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'args' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
202 | }
203 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:233:17: warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
231 | let initClosure = { (args: (T1, T2, T3, T4, T5)) in
232 | MainActor.assumeIsolated {
233 | initializer((args.0, args.1, args.2, args.3, args.4))
| |- warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'initializer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
234 | }
235 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:233:30: warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
231 | let initClosure = { (args: (T1, T2, T3, T4, T5)) in
232 | MainActor.assumeIsolated {
233 | initializer((args.0, args.1, args.2, args.3, args.4))
| |- warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'args' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
234 | }
235 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:265:17: warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
263 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6)) in
264 | MainActor.assumeIsolated {
265 | initializer((args.0, args.1, args.2, args.3, args.4, args.5))
| |- warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'initializer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
266 | }
267 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:265:30: warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
263 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6)) in
264 | MainActor.assumeIsolated {
265 | initializer((args.0, args.1, args.2, args.3, args.4, args.5))
| |- warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'args' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
266 | }
267 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:297:17: warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
295 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7)) in
296 | MainActor.assumeIsolated {
297 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6))
| |- warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'initializer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
298 | }
299 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:297:30: warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
295 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7)) in
296 | MainActor.assumeIsolated {
297 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6))
| |- warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'args' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
298 | }
299 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:329:17: warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
327 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8)) in
328 | MainActor.assumeIsolated {
329 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7))
| |- warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'initializer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
330 | }
331 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:329:30: warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
327 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8)) in
328 | MainActor.assumeIsolated {
329 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7))
| |- warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'args' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
330 | }
331 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:361:17: warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
359 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9)) in
360 | MainActor.assumeIsolated {
361 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8))
| |- warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'initializer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
362 | }
363 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:361:30: warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
359 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9)) in
360 | MainActor.assumeIsolated {
361 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8))
| |- warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'args' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
362 | }
363 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:393:17: warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
391 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)) in
392 | MainActor.assumeIsolated {
393 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8, args.9))
| |- warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'initializer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
394 | }
395 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:393:30: warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
391 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)) in
392 | MainActor.assumeIsolated {
393 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8, args.9))
| |- warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'args' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
394 | }
395 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:425:17: warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
423 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)) in
424 | MainActor.assumeIsolated {
425 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8, args.9, args.10))
| |- warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'initializer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
426 | }
427 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:425:30: warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
423 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)) in
424 | MainActor.assumeIsolated {
425 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8, args.9, args.10))
| |- warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'args' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
426 | }
427 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:457:17: warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
455 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)) in
456 | MainActor.assumeIsolated {
457 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8, args.9, args.10, args.11))
| |- warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'initializer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
458 | }
459 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:457:30: warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
455 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)) in
456 | MainActor.assumeIsolated {
457 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8, args.9, args.10, args.11))
| |- warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'args' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
458 | }
459 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:489:17: warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
487 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)) in
488 | MainActor.assumeIsolated {
489 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8, args.9, args.10, args.11, args.12))
| |- warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'initializer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
490 | }
491 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:489:30: warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
487 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)) in
488 | MainActor.assumeIsolated {
489 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8, args.9, args.10, args.11, args.12))
| |- warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'args' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
490 | }
491 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:521:17: warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
519 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)) in
520 | MainActor.assumeIsolated {
521 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8, args.9, args.10, args.11, args.12, args.13))
| |- warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'initializer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
522 | }
523 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:521:30: warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
519 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)) in
520 | MainActor.assumeIsolated {
521 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8, args.9, args.10, args.11, args.12, args.13))
| |- warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'args' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
522 | }
523 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:553:17: warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
551 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)) in
552 | MainActor.assumeIsolated {
553 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8, args.9, args.10, args.11, args.12, args.13, args.14))
| |- warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'initializer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
554 | }
555 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:553:30: warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
551 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)) in
552 | MainActor.assumeIsolated {
553 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8, args.9, args.10, args.11, args.12, args.13, args.14))
| |- warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'args' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
554 | }
555 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:585:17: warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
583 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16)) in
584 | MainActor.assumeIsolated {
585 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8, args.9, args.10, args.11, args.12, args.13, args.14, args.15))
| |- warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'initializer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
586 | }
587 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:585:30: warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
583 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16)) in
584 | MainActor.assumeIsolated {
585 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8, args.9, args.10, args.11, args.12, args.13, args.14, args.15))
| |- warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'args' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
586 | }
587 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:617:17: warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
615 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17)) in
616 | MainActor.assumeIsolated {
617 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8, args.9, args.10, args.11, args.12, args.13, args.14, args.15, args.16))
| |- warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'initializer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
618 | }
619 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:617:30: warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
615 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17)) in
616 | MainActor.assumeIsolated {
617 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8, args.9, args.10, args.11, args.12, args.13, args.14, args.15, args.16))
| |- warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'args' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
618 | }
619 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:649:17: warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
647 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18)) in
648 | MainActor.assumeIsolated {
649 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8, args.9, args.10, args.11, args.12, args.13, args.14, args.15, args.16, args.17))
| |- warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'initializer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
650 | }
651 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:649:30: warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
647 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18)) in
648 | MainActor.assumeIsolated {
649 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8, args.9, args.10, args.11, args.12, args.13, args.14, args.15, args.16, args.17))
| |- warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'args' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
650 | }
651 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:681:17: warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
679 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19)) in
680 | MainActor.assumeIsolated {
681 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8, args.9, args.10, args.11, args.12, args.13, args.14, args.15, args.16, args.17, args.18))
| |- warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'initializer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
682 | }
683 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:681:30: warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
679 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19)) in
680 | MainActor.assumeIsolated {
681 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8, args.9, args.10, args.11, args.12, args.13, args.14, args.15, args.16, args.17, args.18))
| |- warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'args' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
682 | }
683 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:713:17: warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
711 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20)) in
712 | MainActor.assumeIsolated {
713 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8, args.9, args.10, args.11, args.12, args.13, args.14, args.15, args.16, args.17, args.18, args.19))
| |- warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'initializer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
714 | }
715 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:713:30: warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
711 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20)) in
712 | MainActor.assumeIsolated {
713 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8, args.9, args.10, args.11, args.12, args.13, args.14, args.15, args.16, args.17, args.18, args.19))
| |- warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'args' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
714 | }
715 | }
[127/190] Compiling Knit Container+ServiceCollection.swift
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:41:27: warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
31 | /// - Returns: The registered service entry.
32 | @discardableResult
33 | public func registerIntoCollection<Service>(
| `- note: consider making generic parameter 'Service' conform to the 'Sendable' protocol
34 | _ service: Service.Type,
35 | factory: @escaping @MainActor (Resolver) -> Service
:
39 | name: makeUniqueCollectionRegistrationName(),
40 | factory: { resolver in
41 | MainActor.assumeIsolated {
| `- warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
42 | return factory(resolver)
43 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:70:23: warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
63 | /// - Returns: The registered service entry.
64 | @discardableResult
65 | public func autoregisterIntoCollection<Service>(
| `- note: consider making generic parameter 'Service' conform to the 'Sendable' protocol
66 | _ service: Service.Type,
67 | initializer: @escaping @MainActor (()) -> Service
68 | ) -> ServiceEntry<Service> {
69 | let initClosure = {
70 | MainActor.assumeIsolated {
| `- warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
71 | initializer(())
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:103:23: warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
96 | /// - Returns: The registered service entry.
97 | @discardableResult
98 | public func autoregisterIntoCollection<Service, T1>(
| `- note: consider making generic parameter 'Service' conform to the 'Sendable' protocol
99 | _ service: Service.Type,
100 | initializer: @escaping @MainActor ((T1)) -> Service
101 | ) -> ServiceEntry<Service> {
102 | let initClosure = { (arg: (T1)) in
103 | MainActor.assumeIsolated {
| `- warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
104 | initializer((arg))
105 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:136:23: warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
129 | /// - Returns: The registered service entry.
130 | @discardableResult
131 | public func autoregisterIntoCollection<Service, T1, T2>(
| `- note: consider making generic parameter 'Service' conform to the 'Sendable' protocol
132 | _ service: Service.Type,
133 | initializer: @escaping @MainActor ((T1, T2)) -> Service
134 | ) -> ServiceEntry<Service> {
135 | let initClosure = { (args: (T1, T2)) in
136 | MainActor.assumeIsolated {
| `- warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
137 | initializer((args.0, args.1))
138 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:168:23: warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
161 | /// - Returns: The registered service entry.
162 | @discardableResult
163 | public func autoregisterIntoCollection<Service, T1, T2, T3>(
| `- note: consider making generic parameter 'Service' conform to the 'Sendable' protocol
164 | _ service: Service.Type,
165 | initializer: @escaping @MainActor ((T1, T2, T3)) -> Service
166 | ) -> ServiceEntry<Service> {
167 | let initClosure = { (args: (T1, T2, T3)) in
168 | MainActor.assumeIsolated {
| `- warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
169 | initializer((args.0, args.1, args.2))
170 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:200:23: warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
193 | /// - Returns: The registered service entry.
194 | @discardableResult
195 | public func autoregisterIntoCollection<Service, T1, T2, T3, T4>(
| `- note: consider making generic parameter 'Service' conform to the 'Sendable' protocol
196 | _ service: Service.Type,
197 | initializer: @escaping @MainActor ((T1, T2, T3, T4)) -> Service
198 | ) -> ServiceEntry<Service> {
199 | let initClosure = { (args: (T1, T2, T3, T4)) in
200 | MainActor.assumeIsolated {
| `- warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
201 | initializer((args.0, args.1, args.2, args.3))
202 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:232:23: warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
225 | /// - Returns: The registered service entry.
226 | @discardableResult
227 | public func autoregisterIntoCollection<Service, T1, T2, T3, T4, T5>(
| `- note: consider making generic parameter 'Service' conform to the 'Sendable' protocol
228 | _ service: Service.Type,
229 | initializer: @escaping @MainActor ((T1, T2, T3, T4, T5)) -> Service
230 | ) -> ServiceEntry<Service> {
231 | let initClosure = { (args: (T1, T2, T3, T4, T5)) in
232 | MainActor.assumeIsolated {
| `- warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
233 | initializer((args.0, args.1, args.2, args.3, args.4))
234 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:264:23: warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
257 | /// - Returns: The registered service entry.
258 | @discardableResult
259 | public func autoregisterIntoCollection<Service, T1, T2, T3, T4, T5, T6>(
| `- note: consider making generic parameter 'Service' conform to the 'Sendable' protocol
260 | _ service: Service.Type,
261 | initializer: @escaping @MainActor ((T1, T2, T3, T4, T5, T6)) -> Service
262 | ) -> ServiceEntry<Service> {
263 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6)) in
264 | MainActor.assumeIsolated {
| `- warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
265 | initializer((args.0, args.1, args.2, args.3, args.4, args.5))
266 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:296:23: warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
289 | /// - Returns: The registered service entry.
290 | @discardableResult
291 | public func autoregisterIntoCollection<Service, T1, T2, T3, T4, T5, T6, T7>(
| `- note: consider making generic parameter 'Service' conform to the 'Sendable' protocol
292 | _ service: Service.Type,
293 | initializer: @escaping @MainActor ((T1, T2, T3, T4, T5, T6, T7)) -> Service
294 | ) -> ServiceEntry<Service> {
295 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7)) in
296 | MainActor.assumeIsolated {
| `- warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
297 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6))
298 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:328:23: warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
321 | /// - Returns: The registered service entry.
322 | @discardableResult
323 | public func autoregisterIntoCollection<Service, T1, T2, T3, T4, T5, T6, T7, T8>(
| `- note: consider making generic parameter 'Service' conform to the 'Sendable' protocol
324 | _ service: Service.Type,
325 | initializer: @escaping @MainActor ((T1, T2, T3, T4, T5, T6, T7, T8)) -> Service
326 | ) -> ServiceEntry<Service> {
327 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8)) in
328 | MainActor.assumeIsolated {
| `- warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
329 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7))
330 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:360:23: warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
353 | /// - Returns: The registered service entry.
354 | @discardableResult
355 | public func autoregisterIntoCollection<Service, T1, T2, T3, T4, T5, T6, T7, T8, T9>(
| `- note: consider making generic parameter 'Service' conform to the 'Sendable' protocol
356 | _ service: Service.Type,
357 | initializer: @escaping @MainActor ((T1, T2, T3, T4, T5, T6, T7, T8, T9)) -> Service
358 | ) -> ServiceEntry<Service> {
359 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9)) in
360 | MainActor.assumeIsolated {
| `- warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
361 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8))
362 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:392:23: warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
385 | /// - Returns: The registered service entry.
386 | @discardableResult
387 | public func autoregisterIntoCollection<Service, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(
| `- note: consider making generic parameter 'Service' conform to the 'Sendable' protocol
388 | _ service: Service.Type,
389 | initializer: @escaping @MainActor ((T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)) -> Service
390 | ) -> ServiceEntry<Service> {
391 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)) in
392 | MainActor.assumeIsolated {
| `- warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
393 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8, args.9))
394 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:424:23: warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
417 | /// - Returns: The registered service entry.
418 | @discardableResult
419 | public func autoregisterIntoCollection<Service, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(
| `- note: consider making generic parameter 'Service' conform to the 'Sendable' protocol
420 | _ service: Service.Type,
421 | initializer: @escaping @MainActor ((T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)) -> Service
422 | ) -> ServiceEntry<Service> {
423 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)) in
424 | MainActor.assumeIsolated {
| `- warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
425 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8, args.9, args.10))
426 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:456:23: warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
449 | /// - Returns: The registered service entry.
450 | @discardableResult
451 | public func autoregisterIntoCollection<Service, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(
| `- note: consider making generic parameter 'Service' conform to the 'Sendable' protocol
452 | _ service: Service.Type,
453 | initializer: @escaping @MainActor ((T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)) -> Service
454 | ) -> ServiceEntry<Service> {
455 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)) in
456 | MainActor.assumeIsolated {
| `- warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
457 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8, args.9, args.10, args.11))
458 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:488:23: warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
481 | /// - Returns: The registered service entry.
482 | @discardableResult
483 | public func autoregisterIntoCollection<Service, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>(
| `- note: consider making generic parameter 'Service' conform to the 'Sendable' protocol
484 | _ service: Service.Type,
485 | initializer: @escaping @MainActor ((T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)) -> Service
486 | ) -> ServiceEntry<Service> {
487 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)) in
488 | MainActor.assumeIsolated {
| `- warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
489 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8, args.9, args.10, args.11, args.12))
490 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:520:23: warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
513 | /// - Returns: The registered service entry.
514 | @discardableResult
515 | public func autoregisterIntoCollection<Service, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>(
| `- note: consider making generic parameter 'Service' conform to the 'Sendable' protocol
516 | _ service: Service.Type,
517 | initializer: @escaping @MainActor ((T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)) -> Service
518 | ) -> ServiceEntry<Service> {
519 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)) in
520 | MainActor.assumeIsolated {
| `- warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
521 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8, args.9, args.10, args.11, args.12, args.13))
522 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:552:23: warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
545 | /// - Returns: The registered service entry.
546 | @discardableResult
547 | public func autoregisterIntoCollection<Service, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>(
| `- note: consider making generic parameter 'Service' conform to the 'Sendable' protocol
548 | _ service: Service.Type,
549 | initializer: @escaping @MainActor ((T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)) -> Service
550 | ) -> ServiceEntry<Service> {
551 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)) in
552 | MainActor.assumeIsolated {
| `- warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
553 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8, args.9, args.10, args.11, args.12, args.13, args.14))
554 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:584:23: warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
577 | /// - Returns: The registered service entry.
578 | @discardableResult
579 | public func autoregisterIntoCollection<Service, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>(
| `- note: consider making generic parameter 'Service' conform to the 'Sendable' protocol
580 | _ service: Service.Type,
581 | initializer: @escaping @MainActor ((T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16)) -> Service
582 | ) -> ServiceEntry<Service> {
583 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16)) in
584 | MainActor.assumeIsolated {
| `- warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
585 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8, args.9, args.10, args.11, args.12, args.13, args.14, args.15))
586 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:616:23: warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
609 | /// - Returns: The registered service entry.
610 | @discardableResult
611 | public func autoregisterIntoCollection<Service, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17>(
| `- note: consider making generic parameter 'Service' conform to the 'Sendable' protocol
612 | _ service: Service.Type,
613 | initializer: @escaping @MainActor ((T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17)) -> Service
614 | ) -> ServiceEntry<Service> {
615 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17)) in
616 | MainActor.assumeIsolated {
| `- warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
617 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8, args.9, args.10, args.11, args.12, args.13, args.14, args.15, args.16))
618 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:648:23: warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
641 | /// - Returns: The registered service entry.
642 | @discardableResult
643 | public func autoregisterIntoCollection<Service, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18>(
| `- note: consider making generic parameter 'Service' conform to the 'Sendable' protocol
644 | _ service: Service.Type,
645 | initializer: @escaping @MainActor ((T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18)) -> Service
646 | ) -> ServiceEntry<Service> {
647 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18)) in
648 | MainActor.assumeIsolated {
| `- warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
649 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8, args.9, args.10, args.11, args.12, args.13, args.14, args.15, args.16, args.17))
650 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:680:23: warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
673 | /// - Returns: The registered service entry.
674 | @discardableResult
675 | public func autoregisterIntoCollection<Service, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19>(
| `- note: consider making generic parameter 'Service' conform to the 'Sendable' protocol
676 | _ service: Service.Type,
677 | initializer: @escaping @MainActor ((T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19)) -> Service
678 | ) -> ServiceEntry<Service> {
679 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19)) in
680 | MainActor.assumeIsolated {
| `- warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
681 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8, args.9, args.10, args.11, args.12, args.13, args.14, args.15, args.16, args.17, args.18))
682 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:712:23: warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
705 | /// - Returns: The registered service entry.
706 | @discardableResult
707 | public func autoregisterIntoCollection<Service, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20>(
| `- note: consider making generic parameter 'Service' conform to the 'Sendable' protocol
708 | _ service: Service.Type,
709 | initializer: @escaping @MainActor ((T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20)) -> Service
710 | ) -> ServiceEntry<Service> {
711 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20)) in
712 | MainActor.assumeIsolated {
| `- warning: type 'Service' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
713 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8, args.9, args.10, args.11, args.12, args.13, args.14, args.15, args.16, args.17, args.18, args.19))
714 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:42:28: warning: sending 'factory' risks causing data races; this is an error in the Swift 6 language mode
40 | factory: { resolver in
41 | MainActor.assumeIsolated {
42 | return factory(resolver)
| |- warning: sending 'factory' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'factory' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
43 | }
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:42:36: warning: sending 'resolver' risks causing data races; this is an error in the Swift 6 language mode
40 | factory: { resolver in
41 | MainActor.assumeIsolated {
42 | return factory(resolver)
| |- warning: sending 'resolver' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'resolver' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
43 | }
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:71:17: warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
69 | let initClosure = {
70 | MainActor.assumeIsolated {
71 | initializer(())
| |- warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'initializer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
72 | }
73 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:104:17: warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
102 | let initClosure = { (arg: (T1)) in
103 | MainActor.assumeIsolated {
104 | initializer((arg))
| |- warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'initializer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
105 | }
106 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:104:30: warning: sending 'arg' risks causing data races; this is an error in the Swift 6 language mode
102 | let initClosure = { (arg: (T1)) in
103 | MainActor.assumeIsolated {
104 | initializer((arg))
| |- warning: sending 'arg' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'arg' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
105 | }
106 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:137:17: warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
135 | let initClosure = { (args: (T1, T2)) in
136 | MainActor.assumeIsolated {
137 | initializer((args.0, args.1))
| |- warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'initializer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
138 | }
139 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:137:30: warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
135 | let initClosure = { (args: (T1, T2)) in
136 | MainActor.assumeIsolated {
137 | initializer((args.0, args.1))
| |- warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'args' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
138 | }
139 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:169:17: warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
167 | let initClosure = { (args: (T1, T2, T3)) in
168 | MainActor.assumeIsolated {
169 | initializer((args.0, args.1, args.2))
| |- warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'initializer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
170 | }
171 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:169:30: warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
167 | let initClosure = { (args: (T1, T2, T3)) in
168 | MainActor.assumeIsolated {
169 | initializer((args.0, args.1, args.2))
| |- warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'args' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
170 | }
171 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:201:17: warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
199 | let initClosure = { (args: (T1, T2, T3, T4)) in
200 | MainActor.assumeIsolated {
201 | initializer((args.0, args.1, args.2, args.3))
| |- warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'initializer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
202 | }
203 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:201:30: warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
199 | let initClosure = { (args: (T1, T2, T3, T4)) in
200 | MainActor.assumeIsolated {
201 | initializer((args.0, args.1, args.2, args.3))
| |- warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'args' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
202 | }
203 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:233:17: warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
231 | let initClosure = { (args: (T1, T2, T3, T4, T5)) in
232 | MainActor.assumeIsolated {
233 | initializer((args.0, args.1, args.2, args.3, args.4))
| |- warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'initializer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
234 | }
235 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:233:30: warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
231 | let initClosure = { (args: (T1, T2, T3, T4, T5)) in
232 | MainActor.assumeIsolated {
233 | initializer((args.0, args.1, args.2, args.3, args.4))
| |- warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'args' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
234 | }
235 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:265:17: warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
263 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6)) in
264 | MainActor.assumeIsolated {
265 | initializer((args.0, args.1, args.2, args.3, args.4, args.5))
| |- warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'initializer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
266 | }
267 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:265:30: warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
263 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6)) in
264 | MainActor.assumeIsolated {
265 | initializer((args.0, args.1, args.2, args.3, args.4, args.5))
| |- warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'args' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
266 | }
267 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:297:17: warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
295 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7)) in
296 | MainActor.assumeIsolated {
297 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6))
| |- warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'initializer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
298 | }
299 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:297:30: warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
295 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7)) in
296 | MainActor.assumeIsolated {
297 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6))
| |- warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'args' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
298 | }
299 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:329:17: warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
327 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8)) in
328 | MainActor.assumeIsolated {
329 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7))
| |- warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'initializer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
330 | }
331 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:329:30: warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
327 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8)) in
328 | MainActor.assumeIsolated {
329 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7))
| |- warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'args' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
330 | }
331 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:361:17: warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
359 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9)) in
360 | MainActor.assumeIsolated {
361 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8))
| |- warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'initializer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
362 | }
363 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:361:30: warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
359 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9)) in
360 | MainActor.assumeIsolated {
361 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8))
| |- warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'args' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
362 | }
363 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:393:17: warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
391 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)) in
392 | MainActor.assumeIsolated {
393 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8, args.9))
| |- warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'initializer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
394 | }
395 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:393:30: warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
391 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)) in
392 | MainActor.assumeIsolated {
393 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8, args.9))
| |- warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'args' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
394 | }
395 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:425:17: warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
423 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)) in
424 | MainActor.assumeIsolated {
425 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8, args.9, args.10))
| |- warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'initializer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
426 | }
427 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:425:30: warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
423 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)) in
424 | MainActor.assumeIsolated {
425 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8, args.9, args.10))
| |- warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'args' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
426 | }
427 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:457:17: warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
455 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)) in
456 | MainActor.assumeIsolated {
457 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8, args.9, args.10, args.11))
| |- warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'initializer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
458 | }
459 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:457:30: warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
455 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)) in
456 | MainActor.assumeIsolated {
457 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8, args.9, args.10, args.11))
| |- warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'args' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
458 | }
459 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:489:17: warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
487 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)) in
488 | MainActor.assumeIsolated {
489 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8, args.9, args.10, args.11, args.12))
| |- warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'initializer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
490 | }
491 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:489:30: warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
487 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)) in
488 | MainActor.assumeIsolated {
489 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8, args.9, args.10, args.11, args.12))
| |- warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'args' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
490 | }
491 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:521:17: warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
519 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)) in
520 | MainActor.assumeIsolated {
521 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8, args.9, args.10, args.11, args.12, args.13))
| |- warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'initializer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
522 | }
523 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:521:30: warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
519 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)) in
520 | MainActor.assumeIsolated {
521 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8, args.9, args.10, args.11, args.12, args.13))
| |- warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'args' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
522 | }
523 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:553:17: warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
551 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)) in
552 | MainActor.assumeIsolated {
553 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8, args.9, args.10, args.11, args.12, args.13, args.14))
| |- warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'initializer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
554 | }
555 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:553:30: warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
551 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)) in
552 | MainActor.assumeIsolated {
553 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8, args.9, args.10, args.11, args.12, args.13, args.14))
| |- warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'args' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
554 | }
555 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:585:17: warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
583 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16)) in
584 | MainActor.assumeIsolated {
585 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8, args.9, args.10, args.11, args.12, args.13, args.14, args.15))
| |- warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'initializer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
586 | }
587 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:585:30: warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
583 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16)) in
584 | MainActor.assumeIsolated {
585 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8, args.9, args.10, args.11, args.12, args.13, args.14, args.15))
| |- warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'args' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
586 | }
587 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:617:17: warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
615 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17)) in
616 | MainActor.assumeIsolated {
617 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8, args.9, args.10, args.11, args.12, args.13, args.14, args.15, args.16))
| |- warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'initializer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
618 | }
619 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:617:30: warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
615 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17)) in
616 | MainActor.assumeIsolated {
617 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8, args.9, args.10, args.11, args.12, args.13, args.14, args.15, args.16))
| |- warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'args' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
618 | }
619 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:649:17: warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
647 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18)) in
648 | MainActor.assumeIsolated {
649 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8, args.9, args.10, args.11, args.12, args.13, args.14, args.15, args.16, args.17))
| |- warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'initializer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
650 | }
651 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:649:30: warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
647 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18)) in
648 | MainActor.assumeIsolated {
649 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8, args.9, args.10, args.11, args.12, args.13, args.14, args.15, args.16, args.17))
| |- warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'args' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
650 | }
651 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:681:17: warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
679 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19)) in
680 | MainActor.assumeIsolated {
681 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8, args.9, args.10, args.11, args.12, args.13, args.14, args.15, args.16, args.17, args.18))
| |- warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'initializer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
682 | }
683 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:681:30: warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
679 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19)) in
680 | MainActor.assumeIsolated {
681 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8, args.9, args.10, args.11, args.12, args.13, args.14, args.15, args.16, args.17, args.18))
| |- warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'args' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
682 | }
683 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:713:17: warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
711 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20)) in
712 | MainActor.assumeIsolated {
713 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8, args.9, args.10, args.11, args.12, args.13, args.14, args.15, args.16, args.17, args.18, args.19))
| |- warning: sending 'initializer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'initializer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
714 | }
715 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knit/ServiceCollection/Container+ServiceCollection.swift:713:30: warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
711 | let initClosure = { (args: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20)) in
712 | MainActor.assumeIsolated {
713 | initializer((args.0, args.1, args.2, args.3, args.4, args.5, args.6, args.7, args.8, args.9, args.10, args.11, args.12, args.13, args.14, args.15, args.16, args.17, args.18, args.19))
| |- warning: sending 'args' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'args' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
714 | }
715 | }
[128/190] Compiling Knit ModuleAssembly.swift
[129/190] Compiling Knit ScopedModuleAssembler.swift
[130/190] Compiling Knit DependencyBuilder.swift
[131/190] Compiling Knit DependencyTree.swift
[132/190] Compiling Knit Resolver+ServiceCollection.swift
[133/190] Compiling Knit ServiceCollection.swift
[134/190] Compiling SwiftSyntax MemoryLayout.swift
[135/190] Compiling SwiftSyntax MissingNodeInitializers.swift
[136/190] Compiling SwiftSyntax RawSyntax.swift
[137/190] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[138/190] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[139/190] Compiling SwiftSyntax RawSyntaxTokenView.swift
[140/190] Compiling SwiftSyntax SourceLength.swift
[141/190] Compiling SwiftSyntax SyntaxTraits.swift
[142/190] Compiling SwiftSyntax SyntaxTransform.swift
[143/190] Compiling SwiftSyntax SyntaxVisitor.swift
[144/190] Compiling SwiftSyntax TokenKind.swift
[145/190] Compiling SwiftSyntax Tokens.swift
[146/190] Compiling SwiftSyntax TriviaPieces.swift
[147/190] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[148/190] Emitting module SwiftSyntax
[170/190] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[171/190] Compiling SwiftSyntax RawSyntaxValidation.swift
[172/190] Compiling SwiftSyntax SyntaxNodesAB.swift
[173/190] Compiling SwiftSyntax SyntaxNodesC.swift
[174/190] Compiling SwiftSyntax SyntaxNodesD.swift
[182/190] Compiling SwiftSyntax SyntaxNodesEF.swift
[183/190] Compiling SwiftSyntax SyntaxNodesGHI.swift
[184/190] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[185/190] Compiling SwiftSyntax SyntaxNodesOP.swift
[186/190] Compiling SwiftSyntax SyntaxNodesQRS.swift
[187/190] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[188/242] Compiling SwiftDiagnostics Note.swift
[189/242] Compiling SwiftDiagnostics Convenience.swift
[190/242] Compiling SwiftDiagnostics Message.swift
[191/242] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[192/242] Compiling SwiftDiagnostics FixIt.swift
[193/242] Compiling SwiftDiagnostics Diagnostic.swift
[194/242] Emitting module SwiftDiagnostics
[195/242] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[196/242] Compiling SwiftBasicFormat Syntax+Extensions.swift
[197/242] Emitting module SwiftBasicFormat
[198/242] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[199/242] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[200/242] Compiling SwiftBasicFormat BasicFormat.swift
[201/242] Compiling SwiftParser UnicodeScalarExtensions.swift
[202/242] Compiling SwiftParser Lookahead.swift
[203/242] Compiling SwiftParser LoopProgressCondition.swift
[204/242] Compiling SwiftParser Modifiers.swift
[205/242] Compiling SwiftParser SyntaxUtils.swift
[206/242] Compiling SwiftParser TokenConsumer.swift
[207/242] Compiling SwiftParser TokenPrecedence.swift
[208/242] Compiling SwiftParser TokenSpec.swift
[209/246] Compiling SwiftParser Statements.swift
[210/246] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[211/246] Compiling SwiftParser StringLiterals.swift
[212/246] Compiling SwiftParser SwiftParserCompatibility.swift
[213/246] Compiling SwiftParser Parser.swift
[214/246] Compiling SwiftParser Patterns.swift
[215/246] Compiling SwiftParser Recovery.swift
[216/246] Compiling SwiftParser Specifiers.swift
[217/246] Compiling SwiftParser TokenSpecSet.swift
[218/246] Compiling SwiftParser TopLevel.swift
[219/246] Compiling SwiftParser TriviaParser.swift
[220/246] Compiling SwiftParser Types.swift
[221/246] Compiling SwiftParser Lexeme.swift
[222/246] Compiling SwiftParser LexemeSequence.swift
[223/246] Compiling SwiftParser Lexer.swift
[224/246] Compiling SwiftParser RegexLiteralLexer.swift
[225/246] Compiling SwiftParser Attributes.swift
[226/246] Compiling SwiftParser Availability.swift
[227/246] Compiling SwiftParser CharacterInfo.swift
[228/246] Compiling SwiftParser CollectionNodes+Parsable.swift
[229/246] Compiling SwiftParser Declarations.swift
[230/246] Compiling SwiftParser Names.swift
[231/246] Compiling SwiftParser Nominals.swift
[232/246] Compiling SwiftParser Parameters.swift
[233/246] Compiling SwiftParser ParseSourceFile.swift
[234/246] Emitting module SwiftParser
[235/246] Compiling SwiftParser IsLexerClassified.swift
[236/246] Compiling SwiftParser LayoutNodes+Parsable.swift
[237/246] Compiling SwiftParser Parser+TokenSpecSet.swift
[238/246] Compiling SwiftParser TokenSpecStaticMembers.swift
[239/246] Compiling SwiftParser Directives.swift
[240/246] Compiling SwiftParser ExperimentalFeatures.swift
[241/246] Compiling SwiftParser Expressions.swift
[242/246] Compiling SwiftParser IncrementalParseTransition.swift
[243/246] Compiling SwiftParser Cursor.swift
[244/259] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[245/259] Compiling SwiftParserDiagnostics PresenceUtils.swift
[246/259] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[247/259] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[248/260] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[249/260] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[250/260] Compiling SwiftParserDiagnostics Utils.swift
[251/260] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[252/260] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[253/260] Compiling SwiftParserDiagnostics MissingNodesError.swift
[254/260] Compiling SwiftParserDiagnostics MissingTokenError.swift
[255/260] Emitting module SwiftParserDiagnostics
[256/260] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[257/260] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[258/274] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[259/274] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[260/275] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[261/275] Emitting module SwiftSyntaxBuilder
[262/275] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[263/275] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[264/275] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[265/275] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[266/275] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[267/275] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[268/275] Compiling SwiftSyntaxBuilder Indenter.swift
[269/275] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[270/275] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[271/275] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[272/275] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[273/294] Compiling KnitCodeGen SwiftSyntax+Helpers.swift
[274/294] Compiling KnitCodeGen SyntaxError.swift
[275/296] Compiling KnitCodeGen ModuleImport.swift
[276/296] Compiling KnitCodeGen ModuleNameExtractor.swift
[277/296] Compiling KnitCodeGen RegistrationIntoCollection.swift
[278/296] Compiling KnitCodeGen SourceFileSyntax+Write.swift
[279/296] Compiling KnitCodeGen NamedRegistrationGroup.swift
/Users/admin/builder/spi-builder-workspace/Sources/KnitCodeGen/KnitDirectives.swift:141:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
139 |
140 | /// Centralized control of the default behavior.
141 | public static var `default`: Set<GetterConfig> = [.identifiedGetter(nil)]
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' 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
142 |
143 | public static var both: Set<GetterConfig> = [.callAsFunction, .identifiedGetter(nil)]
/Users/admin/builder/spi-builder-workspace/Sources/KnitCodeGen/Registration.swift:96:20: warning: static property 'standaloneFunctions' is not concurrency-safe because non-'Sendable' type 'Set<Registration.FunctionName>' may have shared mutable state; this is an error in the Swift 6 language mode
88 | }
89 |
90 | public enum FunctionName: String, Codable {
| `- note: consider making enum 'FunctionName' conform to the 'Sendable' protocol
91 | case register
92 | case autoregister
:
94 | case implements
95 |
96 | static let standaloneFunctions: Set<FunctionName> = [.register, .autoregister, .registerAbstract]
| |- warning: static property 'standaloneFunctions' is not concurrency-safe because non-'Sendable' type 'Set<Registration.FunctionName>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standaloneFunctions' 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
97 | static let standaloneNames: Set<String> = Set(standaloneFunctions.map { $0.rawValue })
98 | }
[280/296] Compiling KnitCodeGen Registration.swift
/Users/admin/builder/spi-builder-workspace/Sources/KnitCodeGen/KnitDirectives.swift:141:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
139 |
140 | /// Centralized control of the default behavior.
141 | public static var `default`: Set<GetterConfig> = [.identifiedGetter(nil)]
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' 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
142 |
143 | public static var both: Set<GetterConfig> = [.callAsFunction, .identifiedGetter(nil)]
/Users/admin/builder/spi-builder-workspace/Sources/KnitCodeGen/Registration.swift:96:20: warning: static property 'standaloneFunctions' is not concurrency-safe because non-'Sendable' type 'Set<Registration.FunctionName>' may have shared mutable state; this is an error in the Swift 6 language mode
88 | }
89 |
90 | public enum FunctionName: String, Codable {
| `- note: consider making enum 'FunctionName' conform to the 'Sendable' protocol
91 | case register
92 | case autoregister
:
94 | case implements
95 |
96 | static let standaloneFunctions: Set<FunctionName> = [.register, .autoregister, .registerAbstract]
| |- warning: static property 'standaloneFunctions' is not concurrency-safe because non-'Sendable' type 'Set<Registration.FunctionName>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standaloneFunctions' 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
97 | static let standaloneNames: Set<String> = Set(standaloneFunctions.map { $0.rawValue })
98 | }
[281/296] Compiling KnitCodeGen Configuration.swift
[282/296] Compiling KnitCodeGen ConfigurationSet.swift
[283/296] Compiling KnitCodeGen FunctionCallRegistrationParsing.swift
/Users/admin/builder/spi-builder-workspace/Sources/KnitCodeGen/FunctionCallRegistrationParsing.swift:318:10: warning: associated value 'missingArgumentType(syntax:name:)' of 'Sendable'-conforming enum 'RegistrationParsingError' has non-sendable type 'any SyntaxProtocol'; this is an error in the Swift 6 language mode
316 | enum RegistrationParsingError: LocalizedError, SyntaxError {
317 |
318 | case missingArgumentType(syntax: SyntaxProtocol, name: String)
| `- warning: associated value 'missingArgumentType(syntax:name:)' of 'Sendable'-conforming enum 'RegistrationParsingError' has non-sendable type 'any SyntaxProtocol'; this is an error in the Swift 6 language mode
319 | case unwrappedClosureParams(syntax: SyntaxProtocol)
320 | case chainedRegistrations(syntax: SyntaxProtocol)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/SyntaxProtocol.swift:17:17: note: protocol 'SyntaxProtocol' does not conform to the 'Sendable' protocol
15 | ///
16 | /// - Important: Do not conform to this protocol yourself.
17 | public protocol SyntaxProtocol: CustomStringConvertible,
| `- note: protocol 'SyntaxProtocol' does not conform to the 'Sendable' protocol
18 | CustomDebugStringConvertible, TextOutputStreamable, CustomReflectable
19 | {
/Users/admin/builder/spi-builder-workspace/Sources/KnitCodeGen/FunctionCallRegistrationParsing.swift:6:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftSyntax'
4 |
5 | import Foundation
6 | import SwiftSyntax
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftSyntax'
7 |
8 | struct CalledMethod {
/Users/admin/builder/spi-builder-workspace/Sources/KnitCodeGen/FunctionCallRegistrationParsing.swift:319:10: warning: associated value 'unwrappedClosureParams(syntax:)' of 'Sendable'-conforming enum 'RegistrationParsingError' has non-sendable type 'any SyntaxProtocol'; this is an error in the Swift 6 language mode
317 |
318 | case missingArgumentType(syntax: SyntaxProtocol, name: String)
319 | case unwrappedClosureParams(syntax: SyntaxProtocol)
| `- warning: associated value 'unwrappedClosureParams(syntax:)' of 'Sendable'-conforming enum 'RegistrationParsingError' has non-sendable type 'any SyntaxProtocol'; this is an error in the Swift 6 language mode
320 | case chainedRegistrations(syntax: SyntaxProtocol)
321 | case nonStaticString(syntax: SyntaxProtocol, name: String)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/SyntaxProtocol.swift:17:17: note: protocol 'SyntaxProtocol' does not conform to the 'Sendable' protocol
15 | ///
16 | /// - Important: Do not conform to this protocol yourself.
17 | public protocol SyntaxProtocol: CustomStringConvertible,
| `- note: protocol 'SyntaxProtocol' does not conform to the 'Sendable' protocol
18 | CustomDebugStringConvertible, TextOutputStreamable, CustomReflectable
19 | {
/Users/admin/builder/spi-builder-workspace/Sources/KnitCodeGen/FunctionCallRegistrationParsing.swift:320:10: warning: associated value 'chainedRegistrations(syntax:)' of 'Sendable'-conforming enum 'RegistrationParsingError' has non-sendable type 'any SyntaxProtocol'; this is an error in the Swift 6 language mode
318 | case missingArgumentType(syntax: SyntaxProtocol, name: String)
319 | case unwrappedClosureParams(syntax: SyntaxProtocol)
320 | case chainedRegistrations(syntax: SyntaxProtocol)
| `- warning: associated value 'chainedRegistrations(syntax:)' of 'Sendable'-conforming enum 'RegistrationParsingError' has non-sendable type 'any SyntaxProtocol'; this is an error in the Swift 6 language mode
321 | case nonStaticString(syntax: SyntaxProtocol, name: String)
322 | case invalidIfConfig(syntax: SyntaxProtocol, text: String)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/SyntaxProtocol.swift:17:17: note: protocol 'SyntaxProtocol' does not conform to the 'Sendable' protocol
15 | ///
16 | /// - Important: Do not conform to this protocol yourself.
17 | public protocol SyntaxProtocol: CustomStringConvertible,
| `- note: protocol 'SyntaxProtocol' does not conform to the 'Sendable' protocol
18 | CustomDebugStringConvertible, TextOutputStreamable, CustomReflectable
19 | {
/Users/admin/builder/spi-builder-workspace/Sources/KnitCodeGen/FunctionCallRegistrationParsing.swift:321:10: warning: associated value 'nonStaticString(syntax:name:)' of 'Sendable'-conforming enum 'RegistrationParsingError' has non-sendable type 'any SyntaxProtocol'; this is an error in the Swift 6 language mode
319 | case unwrappedClosureParams(syntax: SyntaxProtocol)
320 | case chainedRegistrations(syntax: SyntaxProtocol)
321 | case nonStaticString(syntax: SyntaxProtocol, name: String)
| `- warning: associated value 'nonStaticString(syntax:name:)' of 'Sendable'-conforming enum 'RegistrationParsingError' has non-sendable type 'any SyntaxProtocol'; this is an error in the Swift 6 language mode
322 | case invalidIfConfig(syntax: SyntaxProtocol, text: String)
323 | case nestedIfConfig(syntax: SyntaxProtocol)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/SyntaxProtocol.swift:17:17: note: protocol 'SyntaxProtocol' does not conform to the 'Sendable' protocol
15 | ///
16 | /// - Important: Do not conform to this protocol yourself.
17 | public protocol SyntaxProtocol: CustomStringConvertible,
| `- note: protocol 'SyntaxProtocol' does not conform to the 'Sendable' protocol
18 | CustomDebugStringConvertible, TextOutputStreamable, CustomReflectable
19 | {
/Users/admin/builder/spi-builder-workspace/Sources/KnitCodeGen/FunctionCallRegistrationParsing.swift:322:10: warning: associated value 'invalidIfConfig(syntax:text:)' of 'Sendable'-conforming enum 'RegistrationParsingError' has non-sendable type 'any SyntaxProtocol'; this is an error in the Swift 6 language mode
320 | case chainedRegistrations(syntax: SyntaxProtocol)
321 | case nonStaticString(syntax: SyntaxProtocol, name: String)
322 | case invalidIfConfig(syntax: SyntaxProtocol, text: String)
| `- warning: associated value 'invalidIfConfig(syntax:text:)' of 'Sendable'-conforming enum 'RegistrationParsingError' has non-sendable type 'any SyntaxProtocol'; this is an error in the Swift 6 language mode
323 | case nestedIfConfig(syntax: SyntaxProtocol)
324 | case nonAbstract(syntax: SyntaxProtocol)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/SyntaxProtocol.swift:17:17: note: protocol 'SyntaxProtocol' does not conform to the 'Sendable' protocol
15 | ///
16 | /// - Important: Do not conform to this protocol yourself.
17 | public protocol SyntaxProtocol: CustomStringConvertible,
| `- note: protocol 'SyntaxProtocol' does not conform to the 'Sendable' protocol
18 | CustomDebugStringConvertible, TextOutputStreamable, CustomReflectable
19 | {
/Users/admin/builder/spi-builder-workspace/Sources/KnitCodeGen/FunctionCallRegistrationParsing.swift:323:10: warning: associated value 'nestedIfConfig(syntax:)' of 'Sendable'-conforming enum 'RegistrationParsingError' has non-sendable type 'any SyntaxProtocol'; this is an error in the Swift 6 language mode
321 | case nonStaticString(syntax: SyntaxProtocol, name: String)
322 | case invalidIfConfig(syntax: SyntaxProtocol, text: String)
323 | case nestedIfConfig(syntax: SyntaxProtocol)
| `- warning: associated value 'nestedIfConfig(syntax:)' of 'Sendable'-conforming enum 'RegistrationParsingError' has non-sendable type 'any SyntaxProtocol'; this is an error in the Swift 6 language mode
324 | case nonAbstract(syntax: SyntaxProtocol)
325 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/SyntaxProtocol.swift:17:17: note: protocol 'SyntaxProtocol' does not conform to the 'Sendable' protocol
15 | ///
16 | /// - Important: Do not conform to this protocol yourself.
17 | public protocol SyntaxProtocol: CustomStringConvertible,
| `- note: protocol 'SyntaxProtocol' does not conform to the 'Sendable' protocol
18 | CustomDebugStringConvertible, TextOutputStreamable, CustomReflectable
19 | {
/Users/admin/builder/spi-builder-workspace/Sources/KnitCodeGen/FunctionCallRegistrationParsing.swift:324:10: warning: associated value 'nonAbstract(syntax:)' of 'Sendable'-conforming enum 'RegistrationParsingError' has non-sendable type 'any SyntaxProtocol'; this is an error in the Swift 6 language mode
322 | case invalidIfConfig(syntax: SyntaxProtocol, text: String)
323 | case nestedIfConfig(syntax: SyntaxProtocol)
324 | case nonAbstract(syntax: SyntaxProtocol)
| `- warning: associated value 'nonAbstract(syntax:)' of 'Sendable'-conforming enum 'RegistrationParsingError' has non-sendable type 'any SyntaxProtocol'; this is an error in the Swift 6 language mode
325 |
326 | var errorDescription: String? {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/SyntaxProtocol.swift:17:17: note: protocol 'SyntaxProtocol' does not conform to the 'Sendable' protocol
15 | ///
16 | /// - Important: Do not conform to this protocol yourself.
17 | public protocol SyntaxProtocol: CustomStringConvertible,
| `- note: protocol 'SyntaxProtocol' does not conform to the 'Sendable' protocol
18 | CustomDebugStringConvertible, TextOutputStreamable, CustomReflectable
19 | {
/Users/admin/builder/spi-builder-workspace/Sources/KnitCodeGen/KnitDirectives.swift:141:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
139 |
140 | /// Centralized control of the default behavior.
141 | public static var `default`: Set<GetterConfig> = [.identifiedGetter(nil)]
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' 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
142 |
143 | public static var both: Set<GetterConfig> = [.callAsFunction, .identifiedGetter(nil)]
/Users/admin/builder/spi-builder-workspace/Sources/KnitCodeGen/KnitDirectives.swift:160:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
158 |
159 | /// Centralized control of the default behavior.
160 | public static var `default`: AccessLevel = .internal
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' 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
161 | }
162 |
[284/296] Compiling KnitCodeGen HeaderSourceFile.swift
/Users/admin/builder/spi-builder-workspace/Sources/KnitCodeGen/FunctionCallRegistrationParsing.swift:318:10: warning: associated value 'missingArgumentType(syntax:name:)' of 'Sendable'-conforming enum 'RegistrationParsingError' has non-sendable type 'any SyntaxProtocol'; this is an error in the Swift 6 language mode
316 | enum RegistrationParsingError: LocalizedError, SyntaxError {
317 |
318 | case missingArgumentType(syntax: SyntaxProtocol, name: String)
| `- warning: associated value 'missingArgumentType(syntax:name:)' of 'Sendable'-conforming enum 'RegistrationParsingError' has non-sendable type 'any SyntaxProtocol'; this is an error in the Swift 6 language mode
319 | case unwrappedClosureParams(syntax: SyntaxProtocol)
320 | case chainedRegistrations(syntax: SyntaxProtocol)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/SyntaxProtocol.swift:17:17: note: protocol 'SyntaxProtocol' does not conform to the 'Sendable' protocol
15 | ///
16 | /// - Important: Do not conform to this protocol yourself.
17 | public protocol SyntaxProtocol: CustomStringConvertible,
| `- note: protocol 'SyntaxProtocol' does not conform to the 'Sendable' protocol
18 | CustomDebugStringConvertible, TextOutputStreamable, CustomReflectable
19 | {
/Users/admin/builder/spi-builder-workspace/Sources/KnitCodeGen/FunctionCallRegistrationParsing.swift:6:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftSyntax'
4 |
5 | import Foundation
6 | import SwiftSyntax
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftSyntax'
7 |
8 | struct CalledMethod {
/Users/admin/builder/spi-builder-workspace/Sources/KnitCodeGen/FunctionCallRegistrationParsing.swift:319:10: warning: associated value 'unwrappedClosureParams(syntax:)' of 'Sendable'-conforming enum 'RegistrationParsingError' has non-sendable type 'any SyntaxProtocol'; this is an error in the Swift 6 language mode
317 |
318 | case missingArgumentType(syntax: SyntaxProtocol, name: String)
319 | case unwrappedClosureParams(syntax: SyntaxProtocol)
| `- warning: associated value 'unwrappedClosureParams(syntax:)' of 'Sendable'-conforming enum 'RegistrationParsingError' has non-sendable type 'any SyntaxProtocol'; this is an error in the Swift 6 language mode
320 | case chainedRegistrations(syntax: SyntaxProtocol)
321 | case nonStaticString(syntax: SyntaxProtocol, name: String)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/SyntaxProtocol.swift:17:17: note: protocol 'SyntaxProtocol' does not conform to the 'Sendable' protocol
15 | ///
16 | /// - Important: Do not conform to this protocol yourself.
17 | public protocol SyntaxProtocol: CustomStringConvertible,
| `- note: protocol 'SyntaxProtocol' does not conform to the 'Sendable' protocol
18 | CustomDebugStringConvertible, TextOutputStreamable, CustomReflectable
19 | {
/Users/admin/builder/spi-builder-workspace/Sources/KnitCodeGen/FunctionCallRegistrationParsing.swift:320:10: warning: associated value 'chainedRegistrations(syntax:)' of 'Sendable'-conforming enum 'RegistrationParsingError' has non-sendable type 'any SyntaxProtocol'; this is an error in the Swift 6 language mode
318 | case missingArgumentType(syntax: SyntaxProtocol, name: String)
319 | case unwrappedClosureParams(syntax: SyntaxProtocol)
320 | case chainedRegistrations(syntax: SyntaxProtocol)
| `- warning: associated value 'chainedRegistrations(syntax:)' of 'Sendable'-conforming enum 'RegistrationParsingError' has non-sendable type 'any SyntaxProtocol'; this is an error in the Swift 6 language mode
321 | case nonStaticString(syntax: SyntaxProtocol, name: String)
322 | case invalidIfConfig(syntax: SyntaxProtocol, text: String)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/SyntaxProtocol.swift:17:17: note: protocol 'SyntaxProtocol' does not conform to the 'Sendable' protocol
15 | ///
16 | /// - Important: Do not conform to this protocol yourself.
17 | public protocol SyntaxProtocol: CustomStringConvertible,
| `- note: protocol 'SyntaxProtocol' does not conform to the 'Sendable' protocol
18 | CustomDebugStringConvertible, TextOutputStreamable, CustomReflectable
19 | {
/Users/admin/builder/spi-builder-workspace/Sources/KnitCodeGen/FunctionCallRegistrationParsing.swift:321:10: warning: associated value 'nonStaticString(syntax:name:)' of 'Sendable'-conforming enum 'RegistrationParsingError' has non-sendable type 'any SyntaxProtocol'; this is an error in the Swift 6 language mode
319 | case unwrappedClosureParams(syntax: SyntaxProtocol)
320 | case chainedRegistrations(syntax: SyntaxProtocol)
321 | case nonStaticString(syntax: SyntaxProtocol, name: String)
| `- warning: associated value 'nonStaticString(syntax:name:)' of 'Sendable'-conforming enum 'RegistrationParsingError' has non-sendable type 'any SyntaxProtocol'; this is an error in the Swift 6 language mode
322 | case invalidIfConfig(syntax: SyntaxProtocol, text: String)
323 | case nestedIfConfig(syntax: SyntaxProtocol)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/SyntaxProtocol.swift:17:17: note: protocol 'SyntaxProtocol' does not conform to the 'Sendable' protocol
15 | ///
16 | /// - Important: Do not conform to this protocol yourself.
17 | public protocol SyntaxProtocol: CustomStringConvertible,
| `- note: protocol 'SyntaxProtocol' does not conform to the 'Sendable' protocol
18 | CustomDebugStringConvertible, TextOutputStreamable, CustomReflectable
19 | {
/Users/admin/builder/spi-builder-workspace/Sources/KnitCodeGen/FunctionCallRegistrationParsing.swift:322:10: warning: associated value 'invalidIfConfig(syntax:text:)' of 'Sendable'-conforming enum 'RegistrationParsingError' has non-sendable type 'any SyntaxProtocol'; this is an error in the Swift 6 language mode
320 | case chainedRegistrations(syntax: SyntaxProtocol)
321 | case nonStaticString(syntax: SyntaxProtocol, name: String)
322 | case invalidIfConfig(syntax: SyntaxProtocol, text: String)
| `- warning: associated value 'invalidIfConfig(syntax:text:)' of 'Sendable'-conforming enum 'RegistrationParsingError' has non-sendable type 'any SyntaxProtocol'; this is an error in the Swift 6 language mode
323 | case nestedIfConfig(syntax: SyntaxProtocol)
324 | case nonAbstract(syntax: SyntaxProtocol)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/SyntaxProtocol.swift:17:17: note: protocol 'SyntaxProtocol' does not conform to the 'Sendable' protocol
15 | ///
16 | /// - Important: Do not conform to this protocol yourself.
17 | public protocol SyntaxProtocol: CustomStringConvertible,
| `- note: protocol 'SyntaxProtocol' does not conform to the 'Sendable' protocol
18 | CustomDebugStringConvertible, TextOutputStreamable, CustomReflectable
19 | {
/Users/admin/builder/spi-builder-workspace/Sources/KnitCodeGen/FunctionCallRegistrationParsing.swift:323:10: warning: associated value 'nestedIfConfig(syntax:)' of 'Sendable'-conforming enum 'RegistrationParsingError' has non-sendable type 'any SyntaxProtocol'; this is an error in the Swift 6 language mode
321 | case nonStaticString(syntax: SyntaxProtocol, name: String)
322 | case invalidIfConfig(syntax: SyntaxProtocol, text: String)
323 | case nestedIfConfig(syntax: SyntaxProtocol)
| `- warning: associated value 'nestedIfConfig(syntax:)' of 'Sendable'-conforming enum 'RegistrationParsingError' has non-sendable type 'any SyntaxProtocol'; this is an error in the Swift 6 language mode
324 | case nonAbstract(syntax: SyntaxProtocol)
325 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/SyntaxProtocol.swift:17:17: note: protocol 'SyntaxProtocol' does not conform to the 'Sendable' protocol
15 | ///
16 | /// - Important: Do not conform to this protocol yourself.
17 | public protocol SyntaxProtocol: CustomStringConvertible,
| `- note: protocol 'SyntaxProtocol' does not conform to the 'Sendable' protocol
18 | CustomDebugStringConvertible, TextOutputStreamable, CustomReflectable
19 | {
/Users/admin/builder/spi-builder-workspace/Sources/KnitCodeGen/FunctionCallRegistrationParsing.swift:324:10: warning: associated value 'nonAbstract(syntax:)' of 'Sendable'-conforming enum 'RegistrationParsingError' has non-sendable type 'any SyntaxProtocol'; this is an error in the Swift 6 language mode
322 | case invalidIfConfig(syntax: SyntaxProtocol, text: String)
323 | case nestedIfConfig(syntax: SyntaxProtocol)
324 | case nonAbstract(syntax: SyntaxProtocol)
| `- warning: associated value 'nonAbstract(syntax:)' of 'Sendable'-conforming enum 'RegistrationParsingError' has non-sendable type 'any SyntaxProtocol'; this is an error in the Swift 6 language mode
325 |
326 | var errorDescription: String? {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/SyntaxProtocol.swift:17:17: note: protocol 'SyntaxProtocol' does not conform to the 'Sendable' protocol
15 | ///
16 | /// - Important: Do not conform to this protocol yourself.
17 | public protocol SyntaxProtocol: CustomStringConvertible,
| `- note: protocol 'SyntaxProtocol' does not conform to the 'Sendable' protocol
18 | CustomDebugStringConvertible, TextOutputStreamable, CustomReflectable
19 | {
/Users/admin/builder/spi-builder-workspace/Sources/KnitCodeGen/KnitDirectives.swift:141:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
139 |
140 | /// Centralized control of the default behavior.
141 | public static var `default`: Set<GetterConfig> = [.identifiedGetter(nil)]
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' 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
142 |
143 | public static var both: Set<GetterConfig> = [.callAsFunction, .identifiedGetter(nil)]
/Users/admin/builder/spi-builder-workspace/Sources/KnitCodeGen/KnitDirectives.swift:160:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
158 |
159 | /// Centralized control of the default behavior.
160 | public static var `default`: AccessLevel = .internal
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' 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
161 | }
162 |
[285/296] Compiling KnitCodeGen TriviaProvider.swift
[286/296] Compiling KnitCodeGen TypeNamer.swift
[287/296] Compiling KnitCodeGen KnitDirectives.swift
/Users/admin/builder/spi-builder-workspace/Sources/KnitCodeGen/KnitDirectives.swift:141:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
139 |
140 | /// Centralized control of the default behavior.
141 | public static var `default`: Set<GetterConfig> = [.identifiedGetter(nil)]
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' 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
142 |
143 | public static var both: Set<GetterConfig> = [.callAsFunction, .identifiedGetter(nil)]
/Users/admin/builder/spi-builder-workspace/Sources/KnitCodeGen/KnitDirectives.swift:143:23: warning: static property 'both' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
141 | public static var `default`: Set<GetterConfig> = [.identifiedGetter(nil)]
142 |
143 | public static var both: Set<GetterConfig> = [.callAsFunction, .identifiedGetter(nil)]
| |- warning: static property 'both' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'both' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'both' 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
144 |
145 | public var isNamed: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/KnitCodeGen/KnitDirectives.swift:160:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
158 |
159 | /// Centralized control of the default behavior.
160 | public static var `default`: AccessLevel = .internal
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' 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
161 | }
162 |
[288/296] Compiling KnitCodeGen KnitModuleSourceFile.swift
/Users/admin/builder/spi-builder-workspace/Sources/KnitCodeGen/KnitDirectives.swift:141:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
139 |
140 | /// Centralized control of the default behavior.
141 | public static var `default`: Set<GetterConfig> = [.identifiedGetter(nil)]
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' 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
142 |
143 | public static var both: Set<GetterConfig> = [.callAsFunction, .identifiedGetter(nil)]
/Users/admin/builder/spi-builder-workspace/Sources/KnitCodeGen/KnitDirectives.swift:143:23: warning: static property 'both' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
141 | public static var `default`: Set<GetterConfig> = [.identifiedGetter(nil)]
142 |
143 | public static var both: Set<GetterConfig> = [.callAsFunction, .identifiedGetter(nil)]
| |- warning: static property 'both' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'both' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'both' 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
144 |
145 | public var isNamed: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/KnitCodeGen/KnitDirectives.swift:160:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
158 |
159 | /// Centralized control of the default behavior.
160 | public static var `default`: AccessLevel = .internal
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' 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
161 | }
162 |
[289/296] Emitting module KnitCodeGen
/Users/admin/builder/spi-builder-workspace/Sources/KnitCodeGen/AssemblyParsing.swift:320:10: warning: associated value 'unexpectedSyntax(syntax:)' of 'Sendable'-conforming enum 'ReplacesParsingError' has non-sendable type 'any SyntaxProtocol'; this is an error in the Swift 6 language mode
318 |
319 | enum ReplacesParsingError: LocalizedError, SyntaxError {
320 | case unexpectedSyntax(syntax: SyntaxProtocol)
| `- warning: associated value 'unexpectedSyntax(syntax:)' of 'Sendable'-conforming enum 'ReplacesParsingError' has non-sendable type 'any SyntaxProtocol'; this is an error in the Swift 6 language mode
321 | case missingReplacedAssembly(syntax: SyntaxProtocol)
322 | case redundantDeclaration(syntax: SyntaxProtocol)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/SyntaxProtocol.swift:17:17: note: protocol 'SyntaxProtocol' does not conform to the 'Sendable' protocol
15 | ///
16 | /// - Important: Do not conform to this protocol yourself.
17 | public protocol SyntaxProtocol: CustomStringConvertible,
| `- note: protocol 'SyntaxProtocol' does not conform to the 'Sendable' protocol
18 | CustomDebugStringConvertible, TextOutputStreamable, CustomReflectable
19 | {
/Users/admin/builder/spi-builder-workspace/Sources/KnitCodeGen/AssemblyParsing.swift:6:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftSyntax'
4 |
5 | import Foundation
6 | import SwiftSyntax
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftSyntax'
7 | import SwiftParser
8 |
/Users/admin/builder/spi-builder-workspace/Sources/KnitCodeGen/AssemblyParsing.swift:321:10: warning: associated value 'missingReplacedAssembly(syntax:)' of 'Sendable'-conforming enum 'ReplacesParsingError' has non-sendable type 'any SyntaxProtocol'; this is an error in the Swift 6 language mode
319 | enum ReplacesParsingError: LocalizedError, SyntaxError {
320 | case unexpectedSyntax(syntax: SyntaxProtocol)
321 | case missingReplacedAssembly(syntax: SyntaxProtocol)
| `- warning: associated value 'missingReplacedAssembly(syntax:)' of 'Sendable'-conforming enum 'ReplacesParsingError' has non-sendable type 'any SyntaxProtocol'; this is an error in the Swift 6 language mode
322 | case redundantDeclaration(syntax: SyntaxProtocol)
323 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/SyntaxProtocol.swift:17:17: note: protocol 'SyntaxProtocol' does not conform to the 'Sendable' protocol
15 | ///
16 | /// - Important: Do not conform to this protocol yourself.
17 | public protocol SyntaxProtocol: CustomStringConvertible,
| `- note: protocol 'SyntaxProtocol' does not conform to the 'Sendable' protocol
18 | CustomDebugStringConvertible, TextOutputStreamable, CustomReflectable
19 | {
/Users/admin/builder/spi-builder-workspace/Sources/KnitCodeGen/AssemblyParsing.swift:322:10: warning: associated value 'redundantDeclaration(syntax:)' of 'Sendable'-conforming enum 'ReplacesParsingError' has non-sendable type 'any SyntaxProtocol'; this is an error in the Swift 6 language mode
320 | case unexpectedSyntax(syntax: SyntaxProtocol)
321 | case missingReplacedAssembly(syntax: SyntaxProtocol)
322 | case redundantDeclaration(syntax: SyntaxProtocol)
| `- warning: associated value 'redundantDeclaration(syntax:)' of 'Sendable'-conforming enum 'ReplacesParsingError' has non-sendable type 'any SyntaxProtocol'; this is an error in the Swift 6 language mode
323 |
324 | var errorDescription: String? {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/SyntaxProtocol.swift:17:17: note: protocol 'SyntaxProtocol' does not conform to the 'Sendable' protocol
15 | ///
16 | /// - Important: Do not conform to this protocol yourself.
17 | public protocol SyntaxProtocol: CustomStringConvertible,
| `- note: protocol 'SyntaxProtocol' does not conform to the 'Sendable' protocol
18 | CustomDebugStringConvertible, TextOutputStreamable, CustomReflectable
19 | {
/Users/admin/builder/spi-builder-workspace/Sources/KnitCodeGen/FunctionCallRegistrationParsing.swift:318:10: warning: associated value 'missingArgumentType(syntax:name:)' of 'Sendable'-conforming enum 'RegistrationParsingError' has non-sendable type 'any SyntaxProtocol'; this is an error in the Swift 6 language mode
316 | enum RegistrationParsingError: LocalizedError, SyntaxError {
317 |
318 | case missingArgumentType(syntax: SyntaxProtocol, name: String)
| `- warning: associated value 'missingArgumentType(syntax:name:)' of 'Sendable'-conforming enum 'RegistrationParsingError' has non-sendable type 'any SyntaxProtocol'; this is an error in the Swift 6 language mode
319 | case unwrappedClosureParams(syntax: SyntaxProtocol)
320 | case chainedRegistrations(syntax: SyntaxProtocol)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/SyntaxProtocol.swift:17:17: note: protocol 'SyntaxProtocol' does not conform to the 'Sendable' protocol
15 | ///
16 | /// - Important: Do not conform to this protocol yourself.
17 | public protocol SyntaxProtocol: CustomStringConvertible,
| `- note: protocol 'SyntaxProtocol' does not conform to the 'Sendable' protocol
18 | CustomDebugStringConvertible, TextOutputStreamable, CustomReflectable
19 | {
/Users/admin/builder/spi-builder-workspace/Sources/KnitCodeGen/FunctionCallRegistrationParsing.swift:6:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftSyntax'
4 |
5 | import Foundation
6 | import SwiftSyntax
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftSyntax'
7 |
8 | struct CalledMethod {
/Users/admin/builder/spi-builder-workspace/Sources/KnitCodeGen/FunctionCallRegistrationParsing.swift:319:10: warning: associated value 'unwrappedClosureParams(syntax:)' of 'Sendable'-conforming enum 'RegistrationParsingError' has non-sendable type 'any SyntaxProtocol'; this is an error in the Swift 6 language mode
317 |
318 | case missingArgumentType(syntax: SyntaxProtocol, name: String)
319 | case unwrappedClosureParams(syntax: SyntaxProtocol)
| `- warning: associated value 'unwrappedClosureParams(syntax:)' of 'Sendable'-conforming enum 'RegistrationParsingError' has non-sendable type 'any SyntaxProtocol'; this is an error in the Swift 6 language mode
320 | case chainedRegistrations(syntax: SyntaxProtocol)
321 | case nonStaticString(syntax: SyntaxProtocol, name: String)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/SyntaxProtocol.swift:17:17: note: protocol 'SyntaxProtocol' does not conform to the 'Sendable' protocol
15 | ///
16 | /// - Important: Do not conform to this protocol yourself.
17 | public protocol SyntaxProtocol: CustomStringConvertible,
| `- note: protocol 'SyntaxProtocol' does not conform to the 'Sendable' protocol
18 | CustomDebugStringConvertible, TextOutputStreamable, CustomReflectable
19 | {
/Users/admin/builder/spi-builder-workspace/Sources/KnitCodeGen/FunctionCallRegistrationParsing.swift:320:10: warning: associated value 'chainedRegistrations(syntax:)' of 'Sendable'-conforming enum 'RegistrationParsingError' has non-sendable type 'any SyntaxProtocol'; this is an error in the Swift 6 language mode
318 | case missingArgumentType(syntax: SyntaxProtocol, name: String)
319 | case unwrappedClosureParams(syntax: SyntaxProtocol)
320 | case chainedRegistrations(syntax: SyntaxProtocol)
| `- warning: associated value 'chainedRegistrations(syntax:)' of 'Sendable'-conforming enum 'RegistrationParsingError' has non-sendable type 'any SyntaxProtocol'; this is an error in the Swift 6 language mode
321 | case nonStaticString(syntax: SyntaxProtocol, name: String)
322 | case invalidIfConfig(syntax: SyntaxProtocol, text: String)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/SyntaxProtocol.swift:17:17: note: protocol 'SyntaxProtocol' does not conform to the 'Sendable' protocol
15 | ///
16 | /// - Important: Do not conform to this protocol yourself.
17 | public protocol SyntaxProtocol: CustomStringConvertible,
| `- note: protocol 'SyntaxProtocol' does not conform to the 'Sendable' protocol
18 | CustomDebugStringConvertible, TextOutputStreamable, CustomReflectable
19 | {
/Users/admin/builder/spi-builder-workspace/Sources/KnitCodeGen/FunctionCallRegistrationParsing.swift:321:10: warning: associated value 'nonStaticString(syntax:name:)' of 'Sendable'-conforming enum 'RegistrationParsingError' has non-sendable type 'any SyntaxProtocol'; this is an error in the Swift 6 language mode
319 | case unwrappedClosureParams(syntax: SyntaxProtocol)
320 | case chainedRegistrations(syntax: SyntaxProtocol)
321 | case nonStaticString(syntax: SyntaxProtocol, name: String)
| `- warning: associated value 'nonStaticString(syntax:name:)' of 'Sendable'-conforming enum 'RegistrationParsingError' has non-sendable type 'any SyntaxProtocol'; this is an error in the Swift 6 language mode
322 | case invalidIfConfig(syntax: SyntaxProtocol, text: String)
323 | case nestedIfConfig(syntax: SyntaxProtocol)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/SyntaxProtocol.swift:17:17: note: protocol 'SyntaxProtocol' does not conform to the 'Sendable' protocol
15 | ///
16 | /// - Important: Do not conform to this protocol yourself.
17 | public protocol SyntaxProtocol: CustomStringConvertible,
| `- note: protocol 'SyntaxProtocol' does not conform to the 'Sendable' protocol
18 | CustomDebugStringConvertible, TextOutputStreamable, CustomReflectable
19 | {
/Users/admin/builder/spi-builder-workspace/Sources/KnitCodeGen/FunctionCallRegistrationParsing.swift:322:10: warning: associated value 'invalidIfConfig(syntax:text:)' of 'Sendable'-conforming enum 'RegistrationParsingError' has non-sendable type 'any SyntaxProtocol'; this is an error in the Swift 6 language mode
320 | case chainedRegistrations(syntax: SyntaxProtocol)
321 | case nonStaticString(syntax: SyntaxProtocol, name: String)
322 | case invalidIfConfig(syntax: SyntaxProtocol, text: String)
| `- warning: associated value 'invalidIfConfig(syntax:text:)' of 'Sendable'-conforming enum 'RegistrationParsingError' has non-sendable type 'any SyntaxProtocol'; this is an error in the Swift 6 language mode
323 | case nestedIfConfig(syntax: SyntaxProtocol)
324 | case nonAbstract(syntax: SyntaxProtocol)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/SyntaxProtocol.swift:17:17: note: protocol 'SyntaxProtocol' does not conform to the 'Sendable' protocol
15 | ///
16 | /// - Important: Do not conform to this protocol yourself.
17 | public protocol SyntaxProtocol: CustomStringConvertible,
| `- note: protocol 'SyntaxProtocol' does not conform to the 'Sendable' protocol
18 | CustomDebugStringConvertible, TextOutputStreamable, CustomReflectable
19 | {
/Users/admin/builder/spi-builder-workspace/Sources/KnitCodeGen/FunctionCallRegistrationParsing.swift:323:10: warning: associated value 'nestedIfConfig(syntax:)' of 'Sendable'-conforming enum 'RegistrationParsingError' has non-sendable type 'any SyntaxProtocol'; this is an error in the Swift 6 language mode
321 | case nonStaticString(syntax: SyntaxProtocol, name: String)
322 | case invalidIfConfig(syntax: SyntaxProtocol, text: String)
323 | case nestedIfConfig(syntax: SyntaxProtocol)
| `- warning: associated value 'nestedIfConfig(syntax:)' of 'Sendable'-conforming enum 'RegistrationParsingError' has non-sendable type 'any SyntaxProtocol'; this is an error in the Swift 6 language mode
324 | case nonAbstract(syntax: SyntaxProtocol)
325 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/SyntaxProtocol.swift:17:17: note: protocol 'SyntaxProtocol' does not conform to the 'Sendable' protocol
15 | ///
16 | /// - Important: Do not conform to this protocol yourself.
17 | public protocol SyntaxProtocol: CustomStringConvertible,
| `- note: protocol 'SyntaxProtocol' does not conform to the 'Sendable' protocol
18 | CustomDebugStringConvertible, TextOutputStreamable, CustomReflectable
19 | {
/Users/admin/builder/spi-builder-workspace/Sources/KnitCodeGen/FunctionCallRegistrationParsing.swift:324:10: warning: associated value 'nonAbstract(syntax:)' of 'Sendable'-conforming enum 'RegistrationParsingError' has non-sendable type 'any SyntaxProtocol'; this is an error in the Swift 6 language mode
322 | case invalidIfConfig(syntax: SyntaxProtocol, text: String)
323 | case nestedIfConfig(syntax: SyntaxProtocol)
324 | case nonAbstract(syntax: SyntaxProtocol)
| `- warning: associated value 'nonAbstract(syntax:)' of 'Sendable'-conforming enum 'RegistrationParsingError' has non-sendable type 'any SyntaxProtocol'; this is an error in the Swift 6 language mode
325 |
326 | var errorDescription: String? {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/SyntaxProtocol.swift:17:17: note: protocol 'SyntaxProtocol' does not conform to the 'Sendable' protocol
15 | ///
16 | /// - Important: Do not conform to this protocol yourself.
17 | public protocol SyntaxProtocol: CustomStringConvertible,
| `- note: protocol 'SyntaxProtocol' does not conform to the 'Sendable' protocol
18 | CustomDebugStringConvertible, TextOutputStreamable, CustomReflectable
19 | {
/Users/admin/builder/spi-builder-workspace/Sources/KnitCodeGen/KnitDirectives.swift:141:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
139 |
140 | /// Centralized control of the default behavior.
141 | public static var `default`: Set<GetterConfig> = [.identifiedGetter(nil)]
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' 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
142 |
143 | public static var both: Set<GetterConfig> = [.callAsFunction, .identifiedGetter(nil)]
/Users/admin/builder/spi-builder-workspace/Sources/KnitCodeGen/KnitDirectives.swift:143:23: warning: static property 'both' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
141 | public static var `default`: Set<GetterConfig> = [.identifiedGetter(nil)]
142 |
143 | public static var both: Set<GetterConfig> = [.callAsFunction, .identifiedGetter(nil)]
| |- warning: static property 'both' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'both' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'both' 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
144 |
145 | public var isNamed: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/KnitCodeGen/KnitDirectives.swift:160:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
158 |
159 | /// Centralized control of the default behavior.
160 | public static var `default`: AccessLevel = .internal
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' 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
161 | }
162 |
/Users/admin/builder/spi-builder-workspace/Sources/KnitCodeGen/Registration.swift:96:20: warning: static property 'standaloneFunctions' is not concurrency-safe because non-'Sendable' type 'Set<Registration.FunctionName>' may have shared mutable state; this is an error in the Swift 6 language mode
88 | }
89 |
90 | public enum FunctionName: String, Codable {
| `- note: consider making enum 'FunctionName' conform to the 'Sendable' protocol
91 | case register
92 | case autoregister
:
94 | case implements
95 |
96 | static let standaloneFunctions: Set<FunctionName> = [.register, .autoregister, .registerAbstract]
| |- warning: static property 'standaloneFunctions' is not concurrency-safe because non-'Sendable' type 'Set<Registration.FunctionName>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standaloneFunctions' 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
97 | static let standaloneNames: Set<String> = Set(standaloneFunctions.map { $0.rawValue })
98 | }
[290/296] Compiling KnitCodeGen AssemblyParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/KnitCodeGen/AssemblyParsing.swift:320:10: warning: associated value 'unexpectedSyntax(syntax:)' of 'Sendable'-conforming enum 'ReplacesParsingError' has non-sendable type 'any SyntaxProtocol'; this is an error in the Swift 6 language mode
318 |
319 | enum ReplacesParsingError: LocalizedError, SyntaxError {
320 | case unexpectedSyntax(syntax: SyntaxProtocol)
| `- warning: associated value 'unexpectedSyntax(syntax:)' of 'Sendable'-conforming enum 'ReplacesParsingError' has non-sendable type 'any SyntaxProtocol'; this is an error in the Swift 6 language mode
321 | case missingReplacedAssembly(syntax: SyntaxProtocol)
322 | case redundantDeclaration(syntax: SyntaxProtocol)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/SyntaxProtocol.swift:17:17: note: protocol 'SyntaxProtocol' does not conform to the 'Sendable' protocol
15 | ///
16 | /// - Important: Do not conform to this protocol yourself.
17 | public protocol SyntaxProtocol: CustomStringConvertible,
| `- note: protocol 'SyntaxProtocol' does not conform to the 'Sendable' protocol
18 | CustomDebugStringConvertible, TextOutputStreamable, CustomReflectable
19 | {
/Users/admin/builder/spi-builder-workspace/Sources/KnitCodeGen/AssemblyParsing.swift:6:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftSyntax'
4 |
5 | import Foundation
6 | import SwiftSyntax
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftSyntax'
7 | import SwiftParser
8 |
/Users/admin/builder/spi-builder-workspace/Sources/KnitCodeGen/AssemblyParsing.swift:321:10: warning: associated value 'missingReplacedAssembly(syntax:)' of 'Sendable'-conforming enum 'ReplacesParsingError' has non-sendable type 'any SyntaxProtocol'; this is an error in the Swift 6 language mode
319 | enum ReplacesParsingError: LocalizedError, SyntaxError {
320 | case unexpectedSyntax(syntax: SyntaxProtocol)
321 | case missingReplacedAssembly(syntax: SyntaxProtocol)
| `- warning: associated value 'missingReplacedAssembly(syntax:)' of 'Sendable'-conforming enum 'ReplacesParsingError' has non-sendable type 'any SyntaxProtocol'; this is an error in the Swift 6 language mode
322 | case redundantDeclaration(syntax: SyntaxProtocol)
323 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/SyntaxProtocol.swift:17:17: note: protocol 'SyntaxProtocol' does not conform to the 'Sendable' protocol
15 | ///
16 | /// - Important: Do not conform to this protocol yourself.
17 | public protocol SyntaxProtocol: CustomStringConvertible,
| `- note: protocol 'SyntaxProtocol' does not conform to the 'Sendable' protocol
18 | CustomDebugStringConvertible, TextOutputStreamable, CustomReflectable
19 | {
/Users/admin/builder/spi-builder-workspace/Sources/KnitCodeGen/AssemblyParsing.swift:322:10: warning: associated value 'redundantDeclaration(syntax:)' of 'Sendable'-conforming enum 'ReplacesParsingError' has non-sendable type 'any SyntaxProtocol'; this is an error in the Swift 6 language mode
320 | case unexpectedSyntax(syntax: SyntaxProtocol)
321 | case missingReplacedAssembly(syntax: SyntaxProtocol)
322 | case redundantDeclaration(syntax: SyntaxProtocol)
| `- warning: associated value 'redundantDeclaration(syntax:)' of 'Sendable'-conforming enum 'ReplacesParsingError' has non-sendable type 'any SyntaxProtocol'; this is an error in the Swift 6 language mode
323 |
324 | var errorDescription: String? {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/SyntaxProtocol.swift:17:17: note: protocol 'SyntaxProtocol' does not conform to the 'Sendable' protocol
15 | ///
16 | /// - Important: Do not conform to this protocol yourself.
17 | public protocol SyntaxProtocol: CustomStringConvertible,
| `- note: protocol 'SyntaxProtocol' does not conform to the 'Sendable' protocol
18 | CustomDebugStringConvertible, TextOutputStreamable, CustomReflectable
19 | {
[291/296] Compiling KnitCodeGen AssemblyParsing.swift
/Users/admin/builder/spi-builder-workspace/Sources/KnitCodeGen/AssemblyParsing.swift:320:10: warning: associated value 'unexpectedSyntax(syntax:)' of 'Sendable'-conforming enum 'ReplacesParsingError' has non-sendable type 'any SyntaxProtocol'; this is an error in the Swift 6 language mode
318 |
319 | enum ReplacesParsingError: LocalizedError, SyntaxError {
320 | case unexpectedSyntax(syntax: SyntaxProtocol)
| `- warning: associated value 'unexpectedSyntax(syntax:)' of 'Sendable'-conforming enum 'ReplacesParsingError' has non-sendable type 'any SyntaxProtocol'; this is an error in the Swift 6 language mode
321 | case missingReplacedAssembly(syntax: SyntaxProtocol)
322 | case redundantDeclaration(syntax: SyntaxProtocol)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/SyntaxProtocol.swift:17:17: note: protocol 'SyntaxProtocol' does not conform to the 'Sendable' protocol
15 | ///
16 | /// - Important: Do not conform to this protocol yourself.
17 | public protocol SyntaxProtocol: CustomStringConvertible,
| `- note: protocol 'SyntaxProtocol' does not conform to the 'Sendable' protocol
18 | CustomDebugStringConvertible, TextOutputStreamable, CustomReflectable
19 | {
/Users/admin/builder/spi-builder-workspace/Sources/KnitCodeGen/AssemblyParsing.swift:6:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftSyntax'
4 |
5 | import Foundation
6 | import SwiftSyntax
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftSyntax'
7 | import SwiftParser
8 |
/Users/admin/builder/spi-builder-workspace/Sources/KnitCodeGen/AssemblyParsing.swift:321:10: warning: associated value 'missingReplacedAssembly(syntax:)' of 'Sendable'-conforming enum 'ReplacesParsingError' has non-sendable type 'any SyntaxProtocol'; this is an error in the Swift 6 language mode
319 | enum ReplacesParsingError: LocalizedError, SyntaxError {
320 | case unexpectedSyntax(syntax: SyntaxProtocol)
321 | case missingReplacedAssembly(syntax: SyntaxProtocol)
| `- warning: associated value 'missingReplacedAssembly(syntax:)' of 'Sendable'-conforming enum 'ReplacesParsingError' has non-sendable type 'any SyntaxProtocol'; this is an error in the Swift 6 language mode
322 | case redundantDeclaration(syntax: SyntaxProtocol)
323 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/SyntaxProtocol.swift:17:17: note: protocol 'SyntaxProtocol' does not conform to the 'Sendable' protocol
15 | ///
16 | /// - Important: Do not conform to this protocol yourself.
17 | public protocol SyntaxProtocol: CustomStringConvertible,
| `- note: protocol 'SyntaxProtocol' does not conform to the 'Sendable' protocol
18 | CustomDebugStringConvertible, TextOutputStreamable, CustomReflectable
19 | {
/Users/admin/builder/spi-builder-workspace/Sources/KnitCodeGen/AssemblyParsing.swift:322:10: warning: associated value 'redundantDeclaration(syntax:)' of 'Sendable'-conforming enum 'ReplacesParsingError' has non-sendable type 'any SyntaxProtocol'; this is an error in the Swift 6 language mode
320 | case unexpectedSyntax(syntax: SyntaxProtocol)
321 | case missingReplacedAssembly(syntax: SyntaxProtocol)
322 | case redundantDeclaration(syntax: SyntaxProtocol)
| `- warning: associated value 'redundantDeclaration(syntax:)' of 'Sendable'-conforming enum 'ReplacesParsingError' has non-sendable type 'any SyntaxProtocol'; this is an error in the Swift 6 language mode
323 |
324 | var errorDescription: String? {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/SyntaxProtocol.swift:17:17: note: protocol 'SyntaxProtocol' does not conform to the 'Sendable' protocol
15 | ///
16 | /// - Important: Do not conform to this protocol yourself.
17 | public protocol SyntaxProtocol: CustomStringConvertible,
| `- note: protocol 'SyntaxProtocol' does not conform to the 'Sendable' protocol
18 | CustomDebugStringConvertible, TextOutputStreamable, CustomReflectable
19 | {
[292/296] Compiling KnitCodeGen TypeSafetySourceFile.swift
[293/296] Compiling KnitCodeGen UnitTestSourceFile.swift
[294/299] Compiling KnitCommand KnitCommand.swift
[295/299] Emitting module KnitCommand
[296/299] Compiling KnitCommand GenCommand.swift
[296/299] Write Objects.LinkFileList
[297/299] Linking knit-cli
[298/299] Applying knit-cli
Build complete! (56.46s)
warning: 'swinject': found 5 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Swinject/Sources/Container.Arguments.erb
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Swinject/Sources/Info.plist
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Swinject/Sources/PrivacyInfo.xcprivacy
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Swinject/Sources/Resolver.erb
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Swinject/Sources/ServiceEntry.TypeForwarding.erb
Build complete.
{
"dependencies" : [
{
"identity" : "swinject",
"requirement" : {
"range" : [
{
"lower_bound" : "2.9.1",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Swinject/Swinject.git"
},
{
"identity" : "swinjectautoregistration",
"requirement" : {
"range" : [
{
"lower_bound" : "2.9.1",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Swinject/SwinjectAutoregistration.git"
},
{
"identity" : "swift-syntax",
"requirement" : {
"range" : [
{
"lower_bound" : "510.0.2",
"upper_bound" : "511.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-syntax.git"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
}
],
"manifest_display_name" : "Knit",
"name" : "Knit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "14.0"
},
{
"name" : "ios",
"version" : "15.0"
}
],
"products" : [
{
"name" : "Knit",
"targets" : [
"Knit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "KnitBuildPlugin",
"targets" : [
"KnitBuildPlugin"
],
"type" : {
"plugin" : null
}
},
{
"name" : "knit-cli",
"targets" : [
"KnitCommand"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "KnitTests",
"module_type" : "SwiftTarget",
"name" : "KnitTests",
"path" : "Tests/KnitTests",
"sources" : [
"AbstractRegistrationTests.swift",
"ComplexDependencyTests.swift",
"DependencyBuilderTests.swift",
"DependencyTreeTests.swift",
"FakeAssemblyTests.swift",
"GeneratedModuleAssemblyTests.swift",
"ModuleAssemblerErrorFormatterTests.swift",
"ModuleAssemblerTests.swift",
"ModuleAssemblyOverrideTests.swift",
"ModuleAssemblyScopingTests.swift",
"ModuleCycleTests.swift",
"ScopedModuleAssemblerTests.swift",
"ServiceCollectorTests.swift",
"SynchronizationTests.swift",
"TestResolver.swift",
"WeakResolverTests.swift"
],
"target_dependencies" : [
"Knit"
],
"type" : "test"
},
{
"c99name" : "KnitCommand",
"module_type" : "SwiftTarget",
"name" : "KnitCommand",
"path" : "Sources/KnitCommand",
"product_dependencies" : [
"SwiftSyntax",
"ArgumentParser"
],
"product_memberships" : [
"KnitBuildPlugin",
"knit-cli"
],
"sources" : [
"GenCommand.swift",
"KnitCommand.swift"
],
"target_dependencies" : [
"KnitCodeGen"
],
"type" : "executable"
},
{
"c99name" : "KnitCodeGenTests",
"module_type" : "SwiftTarget",
"name" : "KnitCodeGenTests",
"path" : "Tests/KnitCodeGenTests",
"sources" : [
"AssemblyParsingTests.swift",
"ConfigurationSetTests.swift",
"HeaderSourceFileTests.swift",
"KnitDirectivesTests.swift",
"KnitModuleSourceFileTests.swift",
"ModuleImportTests.swift",
"ModuleNameExtractorTests.swift",
"NamedRegistrationGroupTests.swift",
"RegistrationParsingTests.swift",
"TypeNamerTests.swift",
"TypeSafetySourceFileTests.swift",
"UnitTestSourceFileTests.swift"
],
"target_dependencies" : [
"KnitCodeGen"
],
"type" : "test"
},
{
"c99name" : "KnitCodeGen",
"module_type" : "SwiftTarget",
"name" : "KnitCodeGen",
"path" : "Sources/KnitCodeGen",
"product_dependencies" : [
"SwiftSyntax",
"SwiftParser",
"SwiftSyntaxBuilder"
],
"product_memberships" : [
"KnitBuildPlugin",
"knit-cli"
],
"sources" : [
"AssemblyParser.swift",
"AssemblyParsing.swift",
"Configuration.swift",
"ConfigurationSet.swift",
"FunctionCallRegistrationParsing.swift",
"HeaderSourceFile.swift",
"KnitDirectives.swift",
"KnitModuleSourceFile.swift",
"ModuleImport.swift",
"ModuleNameExtractor.swift",
"NamedRegistrationGroup.swift",
"Registration.swift",
"RegistrationIntoCollection.swift",
"SourceFileSyntax+Write.swift",
"SwiftSyntax+Helpers.swift",
"SyntaxError.swift",
"TriviaProvider.swift",
"TypeNamer.swift",
"TypeSafetySourceFile.swift",
"UnitTestSourceFile.swift"
],
"type" : "library"
},
{
"c99name" : "KnitBuildPlugin",
"module_type" : "PluginTarget",
"name" : "KnitBuildPlugin",
"path" : "Plugins/KnitBuildPlugin",
"plugin_capability" : {
"type" : "buildTool"
},
"product_memberships" : [
"KnitBuildPlugin"
],
"sources" : [
"KnitBuildPlugin.swift"
],
"target_dependencies" : [
"KnitCommand"
],
"type" : "plugin"
},
{
"c99name" : "Knit",
"module_type" : "SwiftTarget",
"name" : "Knit",
"path" : "Sources/Knit",
"product_dependencies" : [
"Swinject",
"SwinjectAutoregistration"
],
"product_memberships" : [
"Knit"
],
"sources" : [
"Container+MainActor.swift",
"Exports.swift",
"Module/AbstractAssembly.swift",
"Module/Container+AbstractRegistration.swift",
"Module/DependencyBuilder.swift",
"Module/DependencyTree.swift",
"Module/FakeAssembly.swift",
"Module/KnitModule.swift",
"Module/ModuleAssembler.swift",
"Module/ModuleAssemblerErrorFormatter.swift",
"Module/ModuleAssembly.swift",
"Module/ScopedModuleAssembler.swift",
"Resolver+Additions.swift",
"ServiceCollection/Container+ServiceCollection.swift",
"ServiceCollection/Resolver+ServiceCollection.swift",
"ServiceCollection/ServiceCollection.swift",
"ServiceCollection/ServiceCollector.swift",
"WeakResolver.swift"
],
"type" : "library"
}
],
"tools_version" : "5.10"
}
Done.