Build Information
Successful build of AsyncNinja with Swift 6.0 for Linux.
Swift 6 data race errors: 10
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
127 | static let userInitiated = Executor.queue(.userInitiated)
| |- warning: static property 'userInitiated' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'userInitiated' 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
128 |
129 | // Test: ExecutorTests.testDefault
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:131:14: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
129 | // Test: ExecutorTests.testDefault
130 | /// shortcut to the global concurrent default queue executor
131 | static let `default` = Executor.queue(.default)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
132 |
133 | // Test: ExecutorTests.testUtility
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:135:14: warning: static property 'utility' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
133 | // Test: ExecutorTests.testUtility
134 | /// shortcut to the global concurrent utility queue executor
135 | static let utility = Executor.queue(.utility)
| |- warning: static property 'utility' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'utility' 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
136 |
137 | // Test: ExecutorTests.testBackground
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:139:14: warning: static property 'background' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
137 | // Test: ExecutorTests.testBackground
138 | /// shortcut to the global concurrent background queue executor
139 | static let background = Executor.queue(.background)
| |- warning: static property 'background' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'background' 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
140 |
141 | // Test: ExecutorTests.testImmediate
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:197:26: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
194 | var asyncNinja_canImmediatelyExecuteOnPrimaryExecutor: Bool { return true }
195 |
196 | func asyncNinja_execute(_ block: @escaping () -> Void) {
| `- note: parameter 'block' is implicitly non-sendable
197 | queue.async(execute: block)
| `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
198 | }
199 |
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:202:59: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
198 | }
199 |
200 | func asyncNinja_execute(after timeout: Double, _ block: @escaping () -> Void) {
| `- note: parameter 'block' is implicitly non-sendable
201 | let wallDeadline = DispatchWallTime.now().adding(seconds: timeout)
202 | queue.asyncAfter(wallDeadline: wallDeadline, execute: block)
| `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
203 | }
204 |
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:217:26: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
214 | var asyncNinja_canImmediatelyExecuteOnPrimaryExecutor: Bool { return true }
215 |
216 | func asyncNinja_execute(_ block: @escaping () -> Void) {
| `- note: parameter 'block' is implicitly non-sendable
217 | queue.async(execute: block)
| `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
218 | }
219 |
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:222:59: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
218 | }
219 |
220 | func asyncNinja_execute(after timeout: Double, _ block: @escaping () -> Void) {
| `- note: parameter 'block' is implicitly non-sendable
221 | let wallDeadline = DispatchWallTime.now().adding(seconds: timeout)
222 | queue.asyncAfter(wallDeadline: wallDeadline, execute: block)
| `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
223 | }
224 |
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:241:52: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
236 | }
237 |
238 | func asyncNinja_execute(after timeout: Double, _ block: @escaping () -> Void) {
| `- note: parameter 'block' is implicitly non-sendable
239 | let deadline = DispatchWallTime.now().adding(seconds: timeout)
240 | DispatchQueue.global(qos: .default)
241 | .asyncAfter(wallDeadline: deadline, execute: block)
| `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
242 | }
243 |
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:271:9: warning: capture of 'handler' with non-sendable type 'HandlerBasedExecutorImpl.Handler' (aka '(@escaping () -> ()) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
269 | DispatchQueue.global(qos: .default)
270 | .asyncAfter(wallDeadline: deadline) {
271 | handler(block)
| |- warning: capture of 'handler' with non-sendable type 'HandlerBasedExecutorImpl.Handler' (aka '(@escaping () -> ()) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
272 | }
273 | }
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:271:17: warning: capture of 'block' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
269 | DispatchQueue.global(qos: .default)
270 | .asyncAfter(wallDeadline: deadline) {
271 | handler(block)
| |- warning: capture of 'block' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
272 | }
273 | }
/host/spi-builder-workspace/Sources/AsyncNinja/Fallible.swift:59:1: warning: extension declares a conformance of imported type 'Result' to imported protocols 'CustomStringConvertible', 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
57 |
58 | // MARK: - Description
59 | extension Fallible: CustomStringConvertible, CustomDebugStringConvertible {
| |- warning: extension declares a conformance of imported type 'Result' to imported protocols 'CustomStringConvertible', 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
60 | /// A textual representation of this instance.
61 | public var description: String {
[52/80] Compiling AsyncNinja EventSource_Transform.swift
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:143:14: warning: static property 'immediate' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
141 | // Test: ExecutorTests.testImmediate
142 | /// executes block immediately. Not suitable for long running calculations
143 | static let immediate = Executor(impl: ImmediateExecutorImpl(), nesting: 0)
| |- warning: static property 'immediate' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'immediate' 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 | /// initializes executor based on specified queue
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:116:14: warning: static property 'primary' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
114 | /// primary executor is primary because it will be used
115 | /// as default value when executor argument is ommited
116 | static let primary = Executor(impl: PrimaryExecutorImpl(), nesting: 0)
| |- warning: static property 'primary' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'primary' 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
117 |
118 | /// shortcut to the main queue executor
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:119:14: warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
117 |
118 | /// shortcut to the main queue executor
119 | static let main = Executor(impl: MainExecutorImpl(), nesting: 0)
| |- warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'main' 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
120 |
121 | // Test: ExecutorTests.testUserInteractive
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:123:14: warning: static property 'userInteractive' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
121 | // Test: ExecutorTests.testUserInteractive
122 | /// shortcut to the global concurrent user interactive queue executor
123 | static let userInteractive = Executor.queue(.userInteractive)
| |- warning: static property 'userInteractive' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'userInteractive' 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
124 |
125 | // Test: ExecutorTests.testUserInitiated
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:127:14: warning: static property 'userInitiated' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
125 | // Test: ExecutorTests.testUserInitiated
126 | /// shortcut to the global concurrent user initiated queue executor
127 | static let userInitiated = Executor.queue(.userInitiated)
| |- warning: static property 'userInitiated' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'userInitiated' 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
128 |
129 | // Test: ExecutorTests.testDefault
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:131:14: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
129 | // Test: ExecutorTests.testDefault
130 | /// shortcut to the global concurrent default queue executor
131 | static let `default` = Executor.queue(.default)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
132 |
133 | // Test: ExecutorTests.testUtility
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:135:14: warning: static property 'utility' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
133 | // Test: ExecutorTests.testUtility
134 | /// shortcut to the global concurrent utility queue executor
135 | static let utility = Executor.queue(.utility)
| |- warning: static property 'utility' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'utility' 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
136 |
137 | // Test: ExecutorTests.testBackground
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:139:14: warning: static property 'background' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
137 | // Test: ExecutorTests.testBackground
138 | /// shortcut to the global concurrent background queue executor
139 | static let background = Executor.queue(.background)
| |- warning: static property 'background' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'background' 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
140 |
141 | // Test: ExecutorTests.testImmediate
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:197:26: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
194 | var asyncNinja_canImmediatelyExecuteOnPrimaryExecutor: Bool { return true }
195 |
196 | func asyncNinja_execute(_ block: @escaping () -> Void) {
| `- note: parameter 'block' is implicitly non-sendable
197 | queue.async(execute: block)
| `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
198 | }
199 |
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:202:59: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
198 | }
199 |
200 | func asyncNinja_execute(after timeout: Double, _ block: @escaping () -> Void) {
| `- note: parameter 'block' is implicitly non-sendable
201 | let wallDeadline = DispatchWallTime.now().adding(seconds: timeout)
202 | queue.asyncAfter(wallDeadline: wallDeadline, execute: block)
| `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
203 | }
204 |
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:217:26: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
214 | var asyncNinja_canImmediatelyExecuteOnPrimaryExecutor: Bool { return true }
215 |
216 | func asyncNinja_execute(_ block: @escaping () -> Void) {
| `- note: parameter 'block' is implicitly non-sendable
217 | queue.async(execute: block)
| `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
218 | }
219 |
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:222:59: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
218 | }
219 |
220 | func asyncNinja_execute(after timeout: Double, _ block: @escaping () -> Void) {
| `- note: parameter 'block' is implicitly non-sendable
221 | let wallDeadline = DispatchWallTime.now().adding(seconds: timeout)
222 | queue.asyncAfter(wallDeadline: wallDeadline, execute: block)
| `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
223 | }
224 |
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:241:52: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
236 | }
237 |
238 | func asyncNinja_execute(after timeout: Double, _ block: @escaping () -> Void) {
| `- note: parameter 'block' is implicitly non-sendable
239 | let deadline = DispatchWallTime.now().adding(seconds: timeout)
240 | DispatchQueue.global(qos: .default)
241 | .asyncAfter(wallDeadline: deadline, execute: block)
| `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
242 | }
243 |
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:271:9: warning: capture of 'handler' with non-sendable type 'HandlerBasedExecutorImpl.Handler' (aka '(@escaping () -> ()) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
269 | DispatchQueue.global(qos: .default)
270 | .asyncAfter(wallDeadline: deadline) {
271 | handler(block)
| |- warning: capture of 'handler' with non-sendable type 'HandlerBasedExecutorImpl.Handler' (aka '(@escaping () -> ()) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
272 | }
273 | }
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:271:17: warning: capture of 'block' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
269 | DispatchQueue.global(qos: .default)
270 | .asyncAfter(wallDeadline: deadline) {
271 | handler(block)
| |- warning: capture of 'block' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
272 | }
273 | }
/host/spi-builder-workspace/Sources/AsyncNinja/Fallible.swift:59:1: warning: extension declares a conformance of imported type 'Result' to imported protocols 'CustomStringConvertible', 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
57 |
58 | // MARK: - Description
59 | extension Fallible: CustomStringConvertible, CustomDebugStringConvertible {
| |- warning: extension declares a conformance of imported type 'Result' to imported protocols 'CustomStringConvertible', 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
60 | /// A textual representation of this instance.
61 | public var description: String {
[53/80] Compiling AsyncNinja EventSource_Zip2.swift
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:143:14: warning: static property 'immediate' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
141 | // Test: ExecutorTests.testImmediate
142 | /// executes block immediately. Not suitable for long running calculations
143 | static let immediate = Executor(impl: ImmediateExecutorImpl(), nesting: 0)
| |- warning: static property 'immediate' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'immediate' 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 | /// initializes executor based on specified queue
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:116:14: warning: static property 'primary' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
114 | /// primary executor is primary because it will be used
115 | /// as default value when executor argument is ommited
116 | static let primary = Executor(impl: PrimaryExecutorImpl(), nesting: 0)
| |- warning: static property 'primary' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'primary' 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
117 |
118 | /// shortcut to the main queue executor
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:119:14: warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
117 |
118 | /// shortcut to the main queue executor
119 | static let main = Executor(impl: MainExecutorImpl(), nesting: 0)
| |- warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'main' 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
120 |
121 | // Test: ExecutorTests.testUserInteractive
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:123:14: warning: static property 'userInteractive' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
121 | // Test: ExecutorTests.testUserInteractive
122 | /// shortcut to the global concurrent user interactive queue executor
123 | static let userInteractive = Executor.queue(.userInteractive)
| |- warning: static property 'userInteractive' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'userInteractive' 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
124 |
125 | // Test: ExecutorTests.testUserInitiated
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:127:14: warning: static property 'userInitiated' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
125 | // Test: ExecutorTests.testUserInitiated
126 | /// shortcut to the global concurrent user initiated queue executor
127 | static let userInitiated = Executor.queue(.userInitiated)
| |- warning: static property 'userInitiated' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'userInitiated' 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
128 |
129 | // Test: ExecutorTests.testDefault
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:131:14: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
129 | // Test: ExecutorTests.testDefault
130 | /// shortcut to the global concurrent default queue executor
131 | static let `default` = Executor.queue(.default)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
132 |
133 | // Test: ExecutorTests.testUtility
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:135:14: warning: static property 'utility' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
133 | // Test: ExecutorTests.testUtility
134 | /// shortcut to the global concurrent utility queue executor
135 | static let utility = Executor.queue(.utility)
| |- warning: static property 'utility' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'utility' 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
136 |
137 | // Test: ExecutorTests.testBackground
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:139:14: warning: static property 'background' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
137 | // Test: ExecutorTests.testBackground
138 | /// shortcut to the global concurrent background queue executor
139 | static let background = Executor.queue(.background)
| |- warning: static property 'background' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'background' 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
140 |
141 | // Test: ExecutorTests.testImmediate
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:197:26: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
194 | var asyncNinja_canImmediatelyExecuteOnPrimaryExecutor: Bool { return true }
195 |
196 | func asyncNinja_execute(_ block: @escaping () -> Void) {
| `- note: parameter 'block' is implicitly non-sendable
197 | queue.async(execute: block)
| `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
198 | }
199 |
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:202:59: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
198 | }
199 |
200 | func asyncNinja_execute(after timeout: Double, _ block: @escaping () -> Void) {
| `- note: parameter 'block' is implicitly non-sendable
201 | let wallDeadline = DispatchWallTime.now().adding(seconds: timeout)
202 | queue.asyncAfter(wallDeadline: wallDeadline, execute: block)
| `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
203 | }
204 |
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:217:26: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
214 | var asyncNinja_canImmediatelyExecuteOnPrimaryExecutor: Bool { return true }
215 |
216 | func asyncNinja_execute(_ block: @escaping () -> Void) {
| `- note: parameter 'block' is implicitly non-sendable
217 | queue.async(execute: block)
| `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
218 | }
219 |
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:222:59: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
218 | }
219 |
220 | func asyncNinja_execute(after timeout: Double, _ block: @escaping () -> Void) {
| `- note: parameter 'block' is implicitly non-sendable
221 | let wallDeadline = DispatchWallTime.now().adding(seconds: timeout)
222 | queue.asyncAfter(wallDeadline: wallDeadline, execute: block)
| `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
223 | }
224 |
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:241:52: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
236 | }
237 |
238 | func asyncNinja_execute(after timeout: Double, _ block: @escaping () -> Void) {
| `- note: parameter 'block' is implicitly non-sendable
239 | let deadline = DispatchWallTime.now().adding(seconds: timeout)
240 | DispatchQueue.global(qos: .default)
241 | .asyncAfter(wallDeadline: deadline, execute: block)
| `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
242 | }
243 |
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:271:9: warning: capture of 'handler' with non-sendable type 'HandlerBasedExecutorImpl.Handler' (aka '(@escaping () -> ()) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
269 | DispatchQueue.global(qos: .default)
270 | .asyncAfter(wallDeadline: deadline) {
271 | handler(block)
| |- warning: capture of 'handler' with non-sendable type 'HandlerBasedExecutorImpl.Handler' (aka '(@escaping () -> ()) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
272 | }
273 | }
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:271:17: warning: capture of 'block' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
269 | DispatchQueue.global(qos: .default)
270 | .asyncAfter(wallDeadline: deadline) {
271 | handler(block)
| |- warning: capture of 'block' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
272 | }
273 | }
/host/spi-builder-workspace/Sources/AsyncNinja/Fallible.swift:59:1: warning: extension declares a conformance of imported type 'Result' to imported protocols 'CustomStringConvertible', 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
57 |
58 | // MARK: - Description
59 | extension Fallible: CustomStringConvertible, CustomDebugStringConvertible {
| |- warning: extension declares a conformance of imported type 'Result' to imported protocols 'CustomStringConvertible', 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
60 | /// A textual representation of this instance.
61 | public var description: String {
[54/80] Compiling AsyncNinja EventSource_ifEmpty.swift
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:143:14: warning: static property 'immediate' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
141 | // Test: ExecutorTests.testImmediate
142 | /// executes block immediately. Not suitable for long running calculations
143 | static let immediate = Executor(impl: ImmediateExecutorImpl(), nesting: 0)
| |- warning: static property 'immediate' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'immediate' 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 | /// initializes executor based on specified queue
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:116:14: warning: static property 'primary' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
114 | /// primary executor is primary because it will be used
115 | /// as default value when executor argument is ommited
116 | static let primary = Executor(impl: PrimaryExecutorImpl(), nesting: 0)
| |- warning: static property 'primary' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'primary' 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
117 |
118 | /// shortcut to the main queue executor
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:119:14: warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
117 |
118 | /// shortcut to the main queue executor
119 | static let main = Executor(impl: MainExecutorImpl(), nesting: 0)
| |- warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'main' 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
120 |
121 | // Test: ExecutorTests.testUserInteractive
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:123:14: warning: static property 'userInteractive' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
121 | // Test: ExecutorTests.testUserInteractive
122 | /// shortcut to the global concurrent user interactive queue executor
123 | static let userInteractive = Executor.queue(.userInteractive)
| |- warning: static property 'userInteractive' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'userInteractive' 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
124 |
125 | // Test: ExecutorTests.testUserInitiated
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:127:14: warning: static property 'userInitiated' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
125 | // Test: ExecutorTests.testUserInitiated
126 | /// shortcut to the global concurrent user initiated queue executor
127 | static let userInitiated = Executor.queue(.userInitiated)
| |- warning: static property 'userInitiated' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'userInitiated' 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
128 |
129 | // Test: ExecutorTests.testDefault
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:131:14: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
129 | // Test: ExecutorTests.testDefault
130 | /// shortcut to the global concurrent default queue executor
131 | static let `default` = Executor.queue(.default)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
132 |
133 | // Test: ExecutorTests.testUtility
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:135:14: warning: static property 'utility' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
133 | // Test: ExecutorTests.testUtility
134 | /// shortcut to the global concurrent utility queue executor
135 | static let utility = Executor.queue(.utility)
| |- warning: static property 'utility' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'utility' 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
136 |
137 | // Test: ExecutorTests.testBackground
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:139:14: warning: static property 'background' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
137 | // Test: ExecutorTests.testBackground
138 | /// shortcut to the global concurrent background queue executor
139 | static let background = Executor.queue(.background)
| |- warning: static property 'background' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'background' 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
140 |
141 | // Test: ExecutorTests.testImmediate
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:197:26: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
194 | var asyncNinja_canImmediatelyExecuteOnPrimaryExecutor: Bool { return true }
195 |
196 | func asyncNinja_execute(_ block: @escaping () -> Void) {
| `- note: parameter 'block' is implicitly non-sendable
197 | queue.async(execute: block)
| `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
198 | }
199 |
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:202:59: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
198 | }
199 |
200 | func asyncNinja_execute(after timeout: Double, _ block: @escaping () -> Void) {
| `- note: parameter 'block' is implicitly non-sendable
201 | let wallDeadline = DispatchWallTime.now().adding(seconds: timeout)
202 | queue.asyncAfter(wallDeadline: wallDeadline, execute: block)
| `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
203 | }
204 |
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:217:26: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
214 | var asyncNinja_canImmediatelyExecuteOnPrimaryExecutor: Bool { return true }
215 |
216 | func asyncNinja_execute(_ block: @escaping () -> Void) {
| `- note: parameter 'block' is implicitly non-sendable
217 | queue.async(execute: block)
| `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
218 | }
219 |
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:222:59: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
218 | }
219 |
220 | func asyncNinja_execute(after timeout: Double, _ block: @escaping () -> Void) {
| `- note: parameter 'block' is implicitly non-sendable
221 | let wallDeadline = DispatchWallTime.now().adding(seconds: timeout)
222 | queue.asyncAfter(wallDeadline: wallDeadline, execute: block)
| `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
223 | }
224 |
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:241:52: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
236 | }
237 |
238 | func asyncNinja_execute(after timeout: Double, _ block: @escaping () -> Void) {
| `- note: parameter 'block' is implicitly non-sendable
239 | let deadline = DispatchWallTime.now().adding(seconds: timeout)
240 | DispatchQueue.global(qos: .default)
241 | .asyncAfter(wallDeadline: deadline, execute: block)
| `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
242 | }
243 |
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:271:9: warning: capture of 'handler' with non-sendable type 'HandlerBasedExecutorImpl.Handler' (aka '(@escaping () -> ()) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
269 | DispatchQueue.global(qos: .default)
270 | .asyncAfter(wallDeadline: deadline) {
271 | handler(block)
| |- warning: capture of 'handler' with non-sendable type 'HandlerBasedExecutorImpl.Handler' (aka '(@escaping () -> ()) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
272 | }
273 | }
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:271:17: warning: capture of 'block' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
269 | DispatchQueue.global(qos: .default)
270 | .asyncAfter(wallDeadline: deadline) {
271 | handler(block)
| |- warning: capture of 'block' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
272 | }
273 | }
/host/spi-builder-workspace/Sources/AsyncNinja/Fallible.swift:59:1: warning: extension declares a conformance of imported type 'Result' to imported protocols 'CustomStringConvertible', 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
57 |
58 | // MARK: - Description
59 | extension Fallible: CustomStringConvertible, CustomDebugStringConvertible {
| |- warning: extension declares a conformance of imported type 'Result' to imported protocols 'CustomStringConvertible', 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
60 | /// A textual representation of this instance.
61 | public var description: String {
[55/80] Compiling AsyncNinja ExecutionContext.swift
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:143:14: warning: static property 'immediate' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
141 | // Test: ExecutorTests.testImmediate
142 | /// executes block immediately. Not suitable for long running calculations
143 | static let immediate = Executor(impl: ImmediateExecutorImpl(), nesting: 0)
| |- warning: static property 'immediate' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'immediate' 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 | /// initializes executor based on specified queue
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:116:14: warning: static property 'primary' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
114 | /// primary executor is primary because it will be used
115 | /// as default value when executor argument is ommited
116 | static let primary = Executor(impl: PrimaryExecutorImpl(), nesting: 0)
| |- warning: static property 'primary' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'primary' 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
117 |
118 | /// shortcut to the main queue executor
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:119:14: warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
117 |
118 | /// shortcut to the main queue executor
119 | static let main = Executor(impl: MainExecutorImpl(), nesting: 0)
| |- warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'main' 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
120 |
121 | // Test: ExecutorTests.testUserInteractive
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:123:14: warning: static property 'userInteractive' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
121 | // Test: ExecutorTests.testUserInteractive
122 | /// shortcut to the global concurrent user interactive queue executor
123 | static let userInteractive = Executor.queue(.userInteractive)
| |- warning: static property 'userInteractive' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'userInteractive' 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
124 |
125 | // Test: ExecutorTests.testUserInitiated
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:127:14: warning: static property 'userInitiated' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
125 | // Test: ExecutorTests.testUserInitiated
126 | /// shortcut to the global concurrent user initiated queue executor
127 | static let userInitiated = Executor.queue(.userInitiated)
| |- warning: static property 'userInitiated' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'userInitiated' 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
128 |
129 | // Test: ExecutorTests.testDefault
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:131:14: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
129 | // Test: ExecutorTests.testDefault
130 | /// shortcut to the global concurrent default queue executor
131 | static let `default` = Executor.queue(.default)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
132 |
133 | // Test: ExecutorTests.testUtility
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:135:14: warning: static property 'utility' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
133 | // Test: ExecutorTests.testUtility
134 | /// shortcut to the global concurrent utility queue executor
135 | static let utility = Executor.queue(.utility)
| |- warning: static property 'utility' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'utility' 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
136 |
137 | // Test: ExecutorTests.testBackground
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:139:14: warning: static property 'background' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
137 | // Test: ExecutorTests.testBackground
138 | /// shortcut to the global concurrent background queue executor
139 | static let background = Executor.queue(.background)
| |- warning: static property 'background' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'background' 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
140 |
141 | // Test: ExecutorTests.testImmediate
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:197:26: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
194 | var asyncNinja_canImmediatelyExecuteOnPrimaryExecutor: Bool { return true }
195 |
196 | func asyncNinja_execute(_ block: @escaping () -> Void) {
| `- note: parameter 'block' is implicitly non-sendable
197 | queue.async(execute: block)
| `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
198 | }
199 |
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:202:59: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
198 | }
199 |
200 | func asyncNinja_execute(after timeout: Double, _ block: @escaping () -> Void) {
| `- note: parameter 'block' is implicitly non-sendable
201 | let wallDeadline = DispatchWallTime.now().adding(seconds: timeout)
202 | queue.asyncAfter(wallDeadline: wallDeadline, execute: block)
| `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
203 | }
204 |
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:217:26: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
214 | var asyncNinja_canImmediatelyExecuteOnPrimaryExecutor: Bool { return true }
215 |
216 | func asyncNinja_execute(_ block: @escaping () -> Void) {
| `- note: parameter 'block' is implicitly non-sendable
217 | queue.async(execute: block)
| `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
218 | }
219 |
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:222:59: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
218 | }
219 |
220 | func asyncNinja_execute(after timeout: Double, _ block: @escaping () -> Void) {
| `- note: parameter 'block' is implicitly non-sendable
221 | let wallDeadline = DispatchWallTime.now().adding(seconds: timeout)
222 | queue.asyncAfter(wallDeadline: wallDeadline, execute: block)
| `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
223 | }
224 |
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:241:52: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
236 | }
237 |
238 | func asyncNinja_execute(after timeout: Double, _ block: @escaping () -> Void) {
| `- note: parameter 'block' is implicitly non-sendable
239 | let deadline = DispatchWallTime.now().adding(seconds: timeout)
240 | DispatchQueue.global(qos: .default)
241 | .asyncAfter(wallDeadline: deadline, execute: block)
| `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
242 | }
243 |
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:271:9: warning: capture of 'handler' with non-sendable type 'HandlerBasedExecutorImpl.Handler' (aka '(@escaping () -> ()) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
269 | DispatchQueue.global(qos: .default)
270 | .asyncAfter(wallDeadline: deadline) {
271 | handler(block)
| |- warning: capture of 'handler' with non-sendable type 'HandlerBasedExecutorImpl.Handler' (aka '(@escaping () -> ()) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
272 | }
273 | }
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:271:17: warning: capture of 'block' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
269 | DispatchQueue.global(qos: .default)
270 | .asyncAfter(wallDeadline: deadline) {
271 | handler(block)
| |- warning: capture of 'block' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
272 | }
273 | }
/host/spi-builder-workspace/Sources/AsyncNinja/Fallible.swift:59:1: warning: extension declares a conformance of imported type 'Result' to imported protocols 'CustomStringConvertible', 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
57 |
58 | // MARK: - Description
59 | extension Fallible: CustomStringConvertible, CustomDebugStringConvertible {
| |- warning: extension declares a conformance of imported type 'Result' to imported protocols 'CustomStringConvertible', 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
60 | /// A textual representation of this instance.
61 | public var description: String {
[56/80] Compiling AsyncNinja Executor.swift
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:143:14: warning: static property 'immediate' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
141 | // Test: ExecutorTests.testImmediate
142 | /// executes block immediately. Not suitable for long running calculations
143 | static let immediate = Executor(impl: ImmediateExecutorImpl(), nesting: 0)
| |- warning: static property 'immediate' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'immediate' 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 | /// initializes executor based on specified queue
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:116:14: warning: static property 'primary' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
114 | /// primary executor is primary because it will be used
115 | /// as default value when executor argument is ommited
116 | static let primary = Executor(impl: PrimaryExecutorImpl(), nesting: 0)
| |- warning: static property 'primary' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'primary' 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
117 |
118 | /// shortcut to the main queue executor
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:119:14: warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
117 |
118 | /// shortcut to the main queue executor
119 | static let main = Executor(impl: MainExecutorImpl(), nesting: 0)
| |- warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'main' 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
120 |
121 | // Test: ExecutorTests.testUserInteractive
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:123:14: warning: static property 'userInteractive' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
121 | // Test: ExecutorTests.testUserInteractive
122 | /// shortcut to the global concurrent user interactive queue executor
123 | static let userInteractive = Executor.queue(.userInteractive)
| |- warning: static property 'userInteractive' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'userInteractive' 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
124 |
125 | // Test: ExecutorTests.testUserInitiated
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:127:14: warning: static property 'userInitiated' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
125 | // Test: ExecutorTests.testUserInitiated
126 | /// shortcut to the global concurrent user initiated queue executor
127 | static let userInitiated = Executor.queue(.userInitiated)
| |- warning: static property 'userInitiated' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'userInitiated' 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
128 |
129 | // Test: ExecutorTests.testDefault
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:131:14: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
129 | // Test: ExecutorTests.testDefault
130 | /// shortcut to the global concurrent default queue executor
131 | static let `default` = Executor.queue(.default)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
132 |
133 | // Test: ExecutorTests.testUtility
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:135:14: warning: static property 'utility' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
133 | // Test: ExecutorTests.testUtility
134 | /// shortcut to the global concurrent utility queue executor
135 | static let utility = Executor.queue(.utility)
| |- warning: static property 'utility' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'utility' 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
136 |
137 | // Test: ExecutorTests.testBackground
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:139:14: warning: static property 'background' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
137 | // Test: ExecutorTests.testBackground
138 | /// shortcut to the global concurrent background queue executor
139 | static let background = Executor.queue(.background)
| |- warning: static property 'background' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'background' 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
140 |
141 | // Test: ExecutorTests.testImmediate
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:197:26: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
194 | var asyncNinja_canImmediatelyExecuteOnPrimaryExecutor: Bool { return true }
195 |
196 | func asyncNinja_execute(_ block: @escaping () -> Void) {
| `- note: parameter 'block' is implicitly non-sendable
197 | queue.async(execute: block)
| `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
198 | }
199 |
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:202:59: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
198 | }
199 |
200 | func asyncNinja_execute(after timeout: Double, _ block: @escaping () -> Void) {
| `- note: parameter 'block' is implicitly non-sendable
201 | let wallDeadline = DispatchWallTime.now().adding(seconds: timeout)
202 | queue.asyncAfter(wallDeadline: wallDeadline, execute: block)
| `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
203 | }
204 |
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:217:26: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
214 | var asyncNinja_canImmediatelyExecuteOnPrimaryExecutor: Bool { return true }
215 |
216 | func asyncNinja_execute(_ block: @escaping () -> Void) {
| `- note: parameter 'block' is implicitly non-sendable
217 | queue.async(execute: block)
| `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
218 | }
219 |
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:222:59: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
218 | }
219 |
220 | func asyncNinja_execute(after timeout: Double, _ block: @escaping () -> Void) {
| `- note: parameter 'block' is implicitly non-sendable
221 | let wallDeadline = DispatchWallTime.now().adding(seconds: timeout)
222 | queue.asyncAfter(wallDeadline: wallDeadline, execute: block)
| `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
223 | }
224 |
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:241:52: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
236 | }
237 |
238 | func asyncNinja_execute(after timeout: Double, _ block: @escaping () -> Void) {
| `- note: parameter 'block' is implicitly non-sendable
239 | let deadline = DispatchWallTime.now().adding(seconds: timeout)
240 | DispatchQueue.global(qos: .default)
241 | .asyncAfter(wallDeadline: deadline, execute: block)
| `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
242 | }
243 |
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:271:9: warning: capture of 'handler' with non-sendable type 'HandlerBasedExecutorImpl.Handler' (aka '(@escaping () -> ()) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
269 | DispatchQueue.global(qos: .default)
270 | .asyncAfter(wallDeadline: deadline) {
271 | handler(block)
| |- warning: capture of 'handler' with non-sendable type 'HandlerBasedExecutorImpl.Handler' (aka '(@escaping () -> ()) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
272 | }
273 | }
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:271:17: warning: capture of 'block' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
269 | DispatchQueue.global(qos: .default)
270 | .asyncAfter(wallDeadline: deadline) {
271 | handler(block)
| |- warning: capture of 'block' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
272 | }
273 | }
/host/spi-builder-workspace/Sources/AsyncNinja/Fallible.swift:59:1: warning: extension declares a conformance of imported type 'Result' to imported protocols 'CustomStringConvertible', 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
57 |
58 | // MARK: - Description
59 | extension Fallible: CustomStringConvertible, CustomDebugStringConvertible {
| |- warning: extension declares a conformance of imported type 'Result' to imported protocols 'CustomStringConvertible', 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
60 | /// A textual representation of this instance.
61 | public var description: String {
[57/80] Compiling AsyncNinja Fallible.swift
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:143:14: warning: static property 'immediate' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
141 | // Test: ExecutorTests.testImmediate
142 | /// executes block immediately. Not suitable for long running calculations
143 | static let immediate = Executor(impl: ImmediateExecutorImpl(), nesting: 0)
| |- warning: static property 'immediate' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'immediate' 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 | /// initializes executor based on specified queue
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:116:14: warning: static property 'primary' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
114 | /// primary executor is primary because it will be used
115 | /// as default value when executor argument is ommited
116 | static let primary = Executor(impl: PrimaryExecutorImpl(), nesting: 0)
| |- warning: static property 'primary' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'primary' 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
117 |
118 | /// shortcut to the main queue executor
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:119:14: warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
117 |
118 | /// shortcut to the main queue executor
119 | static let main = Executor(impl: MainExecutorImpl(), nesting: 0)
| |- warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'main' 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
120 |
121 | // Test: ExecutorTests.testUserInteractive
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:123:14: warning: static property 'userInteractive' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
121 | // Test: ExecutorTests.testUserInteractive
122 | /// shortcut to the global concurrent user interactive queue executor
123 | static let userInteractive = Executor.queue(.userInteractive)
| |- warning: static property 'userInteractive' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'userInteractive' 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
124 |
125 | // Test: ExecutorTests.testUserInitiated
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:127:14: warning: static property 'userInitiated' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
125 | // Test: ExecutorTests.testUserInitiated
126 | /// shortcut to the global concurrent user initiated queue executor
127 | static let userInitiated = Executor.queue(.userInitiated)
| |- warning: static property 'userInitiated' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'userInitiated' 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
128 |
129 | // Test: ExecutorTests.testDefault
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:131:14: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
129 | // Test: ExecutorTests.testDefault
130 | /// shortcut to the global concurrent default queue executor
131 | static let `default` = Executor.queue(.default)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
132 |
133 | // Test: ExecutorTests.testUtility
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:135:14: warning: static property 'utility' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
133 | // Test: ExecutorTests.testUtility
134 | /// shortcut to the global concurrent utility queue executor
135 | static let utility = Executor.queue(.utility)
| |- warning: static property 'utility' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'utility' 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
136 |
137 | // Test: ExecutorTests.testBackground
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:139:14: warning: static property 'background' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
137 | // Test: ExecutorTests.testBackground
138 | /// shortcut to the global concurrent background queue executor
139 | static let background = Executor.queue(.background)
| |- warning: static property 'background' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'background' 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
140 |
141 | // Test: ExecutorTests.testImmediate
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:197:26: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
194 | var asyncNinja_canImmediatelyExecuteOnPrimaryExecutor: Bool { return true }
195 |
196 | func asyncNinja_execute(_ block: @escaping () -> Void) {
| `- note: parameter 'block' is implicitly non-sendable
197 | queue.async(execute: block)
| `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
198 | }
199 |
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:202:59: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
198 | }
199 |
200 | func asyncNinja_execute(after timeout: Double, _ block: @escaping () -> Void) {
| `- note: parameter 'block' is implicitly non-sendable
201 | let wallDeadline = DispatchWallTime.now().adding(seconds: timeout)
202 | queue.asyncAfter(wallDeadline: wallDeadline, execute: block)
| `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
203 | }
204 |
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:217:26: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
214 | var asyncNinja_canImmediatelyExecuteOnPrimaryExecutor: Bool { return true }
215 |
216 | func asyncNinja_execute(_ block: @escaping () -> Void) {
| `- note: parameter 'block' is implicitly non-sendable
217 | queue.async(execute: block)
| `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
218 | }
219 |
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:222:59: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
218 | }
219 |
220 | func asyncNinja_execute(after timeout: Double, _ block: @escaping () -> Void) {
| `- note: parameter 'block' is implicitly non-sendable
221 | let wallDeadline = DispatchWallTime.now().adding(seconds: timeout)
222 | queue.asyncAfter(wallDeadline: wallDeadline, execute: block)
| `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
223 | }
224 |
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:241:52: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
236 | }
237 |
238 | func asyncNinja_execute(after timeout: Double, _ block: @escaping () -> Void) {
| `- note: parameter 'block' is implicitly non-sendable
239 | let deadline = DispatchWallTime.now().adding(seconds: timeout)
240 | DispatchQueue.global(qos: .default)
241 | .asyncAfter(wallDeadline: deadline, execute: block)
| `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
242 | }
243 |
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:271:9: warning: capture of 'handler' with non-sendable type 'HandlerBasedExecutorImpl.Handler' (aka '(@escaping () -> ()) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
269 | DispatchQueue.global(qos: .default)
270 | .asyncAfter(wallDeadline: deadline) {
271 | handler(block)
| |- warning: capture of 'handler' with non-sendable type 'HandlerBasedExecutorImpl.Handler' (aka '(@escaping () -> ()) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
272 | }
273 | }
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:271:17: warning: capture of 'block' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
269 | DispatchQueue.global(qos: .default)
270 | .asyncAfter(wallDeadline: deadline) {
271 | handler(block)
| |- warning: capture of 'block' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
272 | }
273 | }
/host/spi-builder-workspace/Sources/AsyncNinja/Fallible.swift:59:1: warning: extension declares a conformance of imported type 'Result' to imported protocols 'CustomStringConvertible', 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
57 |
58 | // MARK: - Description
59 | extension Fallible: CustomStringConvertible, CustomDebugStringConvertible {
| |- warning: extension declares a conformance of imported type 'Result' to imported protocols 'CustomStringConvertible', 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
60 | /// A textual representation of this instance.
61 | public var description: String {
[58/80] Compiling AsyncNinja Future.swift
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:143:14: warning: static property 'immediate' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
141 | // Test: ExecutorTests.testImmediate
142 | /// executes block immediately. Not suitable for long running calculations
143 | static let immediate = Executor(impl: ImmediateExecutorImpl(), nesting: 0)
| |- warning: static property 'immediate' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'immediate' 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 | /// initializes executor based on specified queue
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:116:14: warning: static property 'primary' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
114 | /// primary executor is primary because it will be used
115 | /// as default value when executor argument is ommited
116 | static let primary = Executor(impl: PrimaryExecutorImpl(), nesting: 0)
| |- warning: static property 'primary' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'primary' 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
117 |
118 | /// shortcut to the main queue executor
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:119:14: warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
117 |
118 | /// shortcut to the main queue executor
119 | static let main = Executor(impl: MainExecutorImpl(), nesting: 0)
| |- warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'main' 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
120 |
121 | // Test: ExecutorTests.testUserInteractive
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:123:14: warning: static property 'userInteractive' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
121 | // Test: ExecutorTests.testUserInteractive
122 | /// shortcut to the global concurrent user interactive queue executor
123 | static let userInteractive = Executor.queue(.userInteractive)
| |- warning: static property 'userInteractive' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'userInteractive' 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
124 |
125 | // Test: ExecutorTests.testUserInitiated
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:127:14: warning: static property 'userInitiated' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
125 | // Test: ExecutorTests.testUserInitiated
126 | /// shortcut to the global concurrent user initiated queue executor
127 | static let userInitiated = Executor.queue(.userInitiated)
| |- warning: static property 'userInitiated' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'userInitiated' 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
128 |
129 | // Test: ExecutorTests.testDefault
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:131:14: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
129 | // Test: ExecutorTests.testDefault
130 | /// shortcut to the global concurrent default queue executor
131 | static let `default` = Executor.queue(.default)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
132 |
133 | // Test: ExecutorTests.testUtility
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:135:14: warning: static property 'utility' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
133 | // Test: ExecutorTests.testUtility
134 | /// shortcut to the global concurrent utility queue executor
135 | static let utility = Executor.queue(.utility)
| |- warning: static property 'utility' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'utility' 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
136 |
137 | // Test: ExecutorTests.testBackground
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:139:14: warning: static property 'background' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
137 | // Test: ExecutorTests.testBackground
138 | /// shortcut to the global concurrent background queue executor
139 | static let background = Executor.queue(.background)
| |- warning: static property 'background' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'background' 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
140 |
141 | // Test: ExecutorTests.testImmediate
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:197:26: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
194 | var asyncNinja_canImmediatelyExecuteOnPrimaryExecutor: Bool { return true }
195 |
196 | func asyncNinja_execute(_ block: @escaping () -> Void) {
| `- note: parameter 'block' is implicitly non-sendable
197 | queue.async(execute: block)
| `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
198 | }
199 |
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:202:59: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
198 | }
199 |
200 | func asyncNinja_execute(after timeout: Double, _ block: @escaping () -> Void) {
| `- note: parameter 'block' is implicitly non-sendable
201 | let wallDeadline = DispatchWallTime.now().adding(seconds: timeout)
202 | queue.asyncAfter(wallDeadline: wallDeadline, execute: block)
| `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
203 | }
204 |
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:217:26: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
214 | var asyncNinja_canImmediatelyExecuteOnPrimaryExecutor: Bool { return true }
215 |
216 | func asyncNinja_execute(_ block: @escaping () -> Void) {
| `- note: parameter 'block' is implicitly non-sendable
217 | queue.async(execute: block)
| `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
218 | }
219 |
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:222:59: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
218 | }
219 |
220 | func asyncNinja_execute(after timeout: Double, _ block: @escaping () -> Void) {
| `- note: parameter 'block' is implicitly non-sendable
221 | let wallDeadline = DispatchWallTime.now().adding(seconds: timeout)
222 | queue.asyncAfter(wallDeadline: wallDeadline, execute: block)
| `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
223 | }
224 |
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:241:52: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
236 | }
237 |
238 | func asyncNinja_execute(after timeout: Double, _ block: @escaping () -> Void) {
| `- note: parameter 'block' is implicitly non-sendable
239 | let deadline = DispatchWallTime.now().adding(seconds: timeout)
240 | DispatchQueue.global(qos: .default)
241 | .asyncAfter(wallDeadline: deadline, execute: block)
| `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
242 | }
243 |
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:271:9: warning: capture of 'handler' with non-sendable type 'HandlerBasedExecutorImpl.Handler' (aka '(@escaping () -> ()) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
269 | DispatchQueue.global(qos: .default)
270 | .asyncAfter(wallDeadline: deadline) {
271 | handler(block)
| |- warning: capture of 'handler' with non-sendable type 'HandlerBasedExecutorImpl.Handler' (aka '(@escaping () -> ()) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
272 | }
273 | }
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:271:17: warning: capture of 'block' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
269 | DispatchQueue.global(qos: .default)
270 | .asyncAfter(wallDeadline: deadline) {
271 | handler(block)
| |- warning: capture of 'block' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
272 | }
273 | }
/host/spi-builder-workspace/Sources/AsyncNinja/Fallible.swift:59:1: warning: extension declares a conformance of imported type 'Result' to imported protocols 'CustomStringConvertible', 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
57 |
58 | // MARK: - Description
59 | extension Fallible: CustomStringConvertible, CustomDebugStringConvertible {
| |- warning: extension declares a conformance of imported type 'Result' to imported protocols 'CustomStringConvertible', 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
60 | /// A textual representation of this instance.
61 | public var description: String {
[59/80] Compiling AsyncNinja Promise.swift
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:143:14: warning: static property 'immediate' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
141 | // Test: ExecutorTests.testImmediate
142 | /// executes block immediately. Not suitable for long running calculations
143 | static let immediate = Executor(impl: ImmediateExecutorImpl(), nesting: 0)
| |- warning: static property 'immediate' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'immediate' 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 | /// initializes executor based on specified queue
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:116:14: warning: static property 'primary' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
114 | /// primary executor is primary because it will be used
115 | /// as default value when executor argument is ommited
116 | static let primary = Executor(impl: PrimaryExecutorImpl(), nesting: 0)
| |- warning: static property 'primary' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'primary' 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
117 |
118 | /// shortcut to the main queue executor
[60/80] Compiling AsyncNinja Promise_makers.swift
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:143:14: warning: static property 'immediate' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
141 | // Test: ExecutorTests.testImmediate
142 | /// executes block immediately. Not suitable for long running calculations
143 | static let immediate = Executor(impl: ImmediateExecutorImpl(), nesting: 0)
| |- warning: static property 'immediate' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'immediate' 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 | /// initializes executor based on specified queue
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:116:14: warning: static property 'primary' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
114 | /// primary executor is primary because it will be used
115 | /// as default value when executor argument is ommited
116 | static let primary = Executor(impl: PrimaryExecutorImpl(), nesting: 0)
| |- warning: static property 'primary' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'primary' 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
117 |
118 | /// shortcut to the main queue executor
[61/80] Compiling AsyncNinja PropertyWrappers.swift
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:143:14: warning: static property 'immediate' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
141 | // Test: ExecutorTests.testImmediate
142 | /// executes block immediately. Not suitable for long running calculations
143 | static let immediate = Executor(impl: ImmediateExecutorImpl(), nesting: 0)
| |- warning: static property 'immediate' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'immediate' 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 | /// initializes executor based on specified queue
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:116:14: warning: static property 'primary' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
114 | /// primary executor is primary because it will be used
115 | /// as default value when executor argument is ommited
116 | static let primary = Executor(impl: PrimaryExecutorImpl(), nesting: 0)
| |- warning: static property 'primary' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'primary' 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
117 |
118 | /// shortcut to the main queue executor
[62/80] Compiling AsyncNinja Queue.swift
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:143:14: warning: static property 'immediate' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
141 | // Test: ExecutorTests.testImmediate
142 | /// executes block immediately. Not suitable for long running calculations
143 | static let immediate = Executor(impl: ImmediateExecutorImpl(), nesting: 0)
| |- warning: static property 'immediate' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'immediate' 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 | /// initializes executor based on specified queue
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:116:14: warning: static property 'primary' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
114 | /// primary executor is primary because it will be used
115 | /// as default value when executor argument is ommited
116 | static let primary = Executor(impl: PrimaryExecutorImpl(), nesting: 0)
| |- warning: static property 'primary' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'primary' 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
117 |
118 | /// shortcut to the main queue executor
[63/80] Compiling AsyncNinja ReleasePool.swift
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:143:14: warning: static property 'immediate' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
141 | // Test: ExecutorTests.testImmediate
142 | /// executes block immediately. Not suitable for long running calculations
143 | static let immediate = Executor(impl: ImmediateExecutorImpl(), nesting: 0)
| |- warning: static property 'immediate' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'immediate' 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 | /// initializes executor based on specified queue
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:116:14: warning: static property 'primary' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
114 | /// primary executor is primary because it will be used
115 | /// as default value when executor argument is ommited
116 | static let primary = Executor(impl: PrimaryExecutorImpl(), nesting: 0)
| |- warning: static property 'primary' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'primary' 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
117 |
118 | /// shortcut to the main queue executor
[64/80] Compiling AsyncNinja Sequence_AsyncFlatMap.swift
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:143:14: warning: static property 'immediate' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
141 | // Test: ExecutorTests.testImmediate
142 | /// executes block immediately. Not suitable for long running calculations
143 | static let immediate = Executor(impl: ImmediateExecutorImpl(), nesting: 0)
| |- warning: static property 'immediate' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'immediate' 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 | /// initializes executor based on specified queue
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:116:14: warning: static property 'primary' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
114 | /// primary executor is primary because it will be used
115 | /// as default value when executor argument is ommited
116 | static let primary = Executor(impl: PrimaryExecutorImpl(), nesting: 0)
| |- warning: static property 'primary' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'primary' 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
117 |
118 | /// shortcut to the main queue executor
[65/80] Compiling AsyncNinja Sequence_AsyncMap.swift
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:143:14: warning: static property 'immediate' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
141 | // Test: ExecutorTests.testImmediate
142 | /// executes block immediately. Not suitable for long running calculations
143 | static let immediate = Executor(impl: ImmediateExecutorImpl(), nesting: 0)
| |- warning: static property 'immediate' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'immediate' 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 | /// initializes executor based on specified queue
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:116:14: warning: static property 'primary' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
114 | /// primary executor is primary because it will be used
115 | /// as default value when executor argument is ommited
116 | static let primary = Executor(impl: PrimaryExecutorImpl(), nesting: 0)
| |- warning: static property 'primary' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'primary' 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
117 |
118 | /// shortcut to the main queue executor
[66/80] Compiling AsyncNinja Sequence_AsyncReduce.swift
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:143:14: warning: static property 'immediate' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
141 | // Test: ExecutorTests.testImmediate
142 | /// executes block immediately. Not suitable for long running calculations
143 | static let immediate = Executor(impl: ImmediateExecutorImpl(), nesting: 0)
| |- warning: static property 'immediate' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'immediate' 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 | /// initializes executor based on specified queue
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:116:14: warning: static property 'primary' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
114 | /// primary executor is primary because it will be used
115 | /// as default value when executor argument is ommited
116 | static let primary = Executor(impl: PrimaryExecutorImpl(), nesting: 0)
| |- warning: static property 'primary' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'primary' 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
117 |
118 | /// shortcut to the main queue executor
[67/80] Compiling AsyncNinja SinglyLinkedList.swift
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:143:14: warning: static property 'immediate' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
141 | // Test: ExecutorTests.testImmediate
142 | /// executes block immediately. Not suitable for long running calculations
143 | static let immediate = Executor(impl: ImmediateExecutorImpl(), nesting: 0)
| |- warning: static property 'immediate' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'immediate' 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 | /// initializes executor based on specified queue
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:116:14: warning: static property 'primary' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
114 | /// primary executor is primary because it will be used
115 | /// as default value when executor argument is ommited
116 | static let primary = Executor(impl: PrimaryExecutorImpl(), nesting: 0)
| |- warning: static property 'primary' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'primary' 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
117 |
118 | /// shortcut to the main queue executor
[68/80] Compiling AsyncNinja Sink.swift
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:116:14: warning: static property 'primary' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
114 | /// primary executor is primary because it will be used
115 | /// as default value when executor argument is ommited
116 | static let primary = Executor(impl: PrimaryExecutorImpl(), nesting: 0)
| |- warning: static property 'primary' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'primary' 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
117 |
118 | /// shortcut to the main queue executor
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:143:14: warning: static property 'immediate' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
141 | // Test: ExecutorTests.testImmediate
142 | /// executes block immediately. Not suitable for long running calculations
143 | static let immediate = Executor(impl: ImmediateExecutorImpl(), nesting: 0)
| |- warning: static property 'immediate' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'immediate' 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 | /// initializes executor based on specified queue
/host/spi-builder-workspace/Sources/AsyncNinja/Util.swift:49:14: warning: static property 'debugDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
47 |
48 | /// formats date for debug methods
49 | static let debugDateFormatter: DateFormatter = { () -> DateFormatter in
| `- warning: static property 'debugDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
50 | let dateFormatter = DateFormatter()
51 | dateFormatter.dateFormat = "HH:mm:ss.SSSS"
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/AsyncNinja/Util.swift:24:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
22 |
23 | import Dispatch
24 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
25 |
26 | /// Constants used my AsyncNinja
:
47 |
48 | /// formats date for debug methods
49 | static let debugDateFormatter: DateFormatter = { () -> DateFormatter in
| |- note: annotate 'debugDateFormatter' 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
50 | let dateFormatter = DateFormatter()
51 | dateFormatter.dateFormat = "HH:mm:ss.SSSS"
/host/spi-builder-workspace/Sources/AsyncNinja/Util.swift:197:22: warning: static property 'debugDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
195 | private static var time: String { return debugDateFormatter.string(from: Date()) }
196 |
197 | private static let debugDateFormatter: DateFormatter = { () -> DateFormatter in
| |- warning: static property 'debugDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'debugDateFormatter' 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
198 | let dateFormatter = DateFormatter()
199 | dateFormatter.dateFormat = "HH:mm:ss.SSSS"
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
[69/80] Compiling AsyncNinja Stack.swift
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:116:14: warning: static property 'primary' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
114 | /// primary executor is primary because it will be used
115 | /// as default value when executor argument is ommited
116 | static let primary = Executor(impl: PrimaryExecutorImpl(), nesting: 0)
| |- warning: static property 'primary' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'primary' 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
117 |
118 | /// shortcut to the main queue executor
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:143:14: warning: static property 'immediate' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
141 | // Test: ExecutorTests.testImmediate
142 | /// executes block immediately. Not suitable for long running calculations
143 | static let immediate = Executor(impl: ImmediateExecutorImpl(), nesting: 0)
| |- warning: static property 'immediate' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'immediate' 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 | /// initializes executor based on specified queue
/host/spi-builder-workspace/Sources/AsyncNinja/Util.swift:49:14: warning: static property 'debugDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
47 |
48 | /// formats date for debug methods
49 | static let debugDateFormatter: DateFormatter = { () -> DateFormatter in
| `- warning: static property 'debugDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
50 | let dateFormatter = DateFormatter()
51 | dateFormatter.dateFormat = "HH:mm:ss.SSSS"
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/AsyncNinja/Util.swift:24:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
22 |
23 | import Dispatch
24 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
25 |
26 | /// Constants used my AsyncNinja
:
47 |
48 | /// formats date for debug methods
49 | static let debugDateFormatter: DateFormatter = { () -> DateFormatter in
| |- note: annotate 'debugDateFormatter' 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
50 | let dateFormatter = DateFormatter()
51 | dateFormatter.dateFormat = "HH:mm:ss.SSSS"
/host/spi-builder-workspace/Sources/AsyncNinja/Util.swift:197:22: warning: static property 'debugDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
195 | private static var time: String { return debugDateFormatter.string(from: Date()) }
196 |
197 | private static let debugDateFormatter: DateFormatter = { () -> DateFormatter in
| |- warning: static property 'debugDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'debugDateFormatter' 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
198 | let dateFormatter = DateFormatter()
199 | dateFormatter.dateFormat = "HH:mm:ss.SSSS"
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
[70/80] Compiling AsyncNinja TimerChannel.swift
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:116:14: warning: static property 'primary' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
114 | /// primary executor is primary because it will be used
115 | /// as default value when executor argument is ommited
116 | static let primary = Executor(impl: PrimaryExecutorImpl(), nesting: 0)
| |- warning: static property 'primary' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'primary' 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
117 |
118 | /// shortcut to the main queue executor
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:143:14: warning: static property 'immediate' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
141 | // Test: ExecutorTests.testImmediate
142 | /// executes block immediately. Not suitable for long running calculations
143 | static let immediate = Executor(impl: ImmediateExecutorImpl(), nesting: 0)
| |- warning: static property 'immediate' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'immediate' 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 | /// initializes executor based on specified queue
/host/spi-builder-workspace/Sources/AsyncNinja/Util.swift:49:14: warning: static property 'debugDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
47 |
48 | /// formats date for debug methods
49 | static let debugDateFormatter: DateFormatter = { () -> DateFormatter in
| `- warning: static property 'debugDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
50 | let dateFormatter = DateFormatter()
51 | dateFormatter.dateFormat = "HH:mm:ss.SSSS"
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/AsyncNinja/Util.swift:24:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
22 |
23 | import Dispatch
24 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
25 |
26 | /// Constants used my AsyncNinja
:
47 |
48 | /// formats date for debug methods
49 | static let debugDateFormatter: DateFormatter = { () -> DateFormatter in
| |- note: annotate 'debugDateFormatter' 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
50 | let dateFormatter = DateFormatter()
51 | dateFormatter.dateFormat = "HH:mm:ss.SSSS"
/host/spi-builder-workspace/Sources/AsyncNinja/Util.swift:197:22: warning: static property 'debugDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
195 | private static var time: String { return debugDateFormatter.string(from: Date()) }
196 |
197 | private static let debugDateFormatter: DateFormatter = { () -> DateFormatter in
| |- warning: static property 'debugDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'debugDateFormatter' 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
198 | let dateFormatter = DateFormatter()
199 | dateFormatter.dateFormat = "HH:mm:ss.SSSS"
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
[71/80] Compiling AsyncNinja TryExecute.swift
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:116:14: warning: static property 'primary' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
114 | /// primary executor is primary because it will be used
115 | /// as default value when executor argument is ommited
116 | static let primary = Executor(impl: PrimaryExecutorImpl(), nesting: 0)
| |- warning: static property 'primary' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'primary' 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
117 |
118 | /// shortcut to the main queue executor
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:143:14: warning: static property 'immediate' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
141 | // Test: ExecutorTests.testImmediate
142 | /// executes block immediately. Not suitable for long running calculations
143 | static let immediate = Executor(impl: ImmediateExecutorImpl(), nesting: 0)
| |- warning: static property 'immediate' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'immediate' 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 | /// initializes executor based on specified queue
/host/spi-builder-workspace/Sources/AsyncNinja/Util.swift:49:14: warning: static property 'debugDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
47 |
48 | /// formats date for debug methods
49 | static let debugDateFormatter: DateFormatter = { () -> DateFormatter in
| `- warning: static property 'debugDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
50 | let dateFormatter = DateFormatter()
51 | dateFormatter.dateFormat = "HH:mm:ss.SSSS"
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/AsyncNinja/Util.swift:24:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
22 |
23 | import Dispatch
24 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
25 |
26 | /// Constants used my AsyncNinja
:
47 |
48 | /// formats date for debug methods
49 | static let debugDateFormatter: DateFormatter = { () -> DateFormatter in
| |- note: annotate 'debugDateFormatter' 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
50 | let dateFormatter = DateFormatter()
51 | dateFormatter.dateFormat = "HH:mm:ss.SSSS"
/host/spi-builder-workspace/Sources/AsyncNinja/Util.swift:197:22: warning: static property 'debugDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
195 | private static var time: String { return debugDateFormatter.string(from: Date()) }
196 |
197 | private static let debugDateFormatter: DateFormatter = { () -> DateFormatter in
| |- warning: static property 'debugDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'debugDateFormatter' 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
198 | let dateFormatter = DateFormatter()
199 | dateFormatter.dateFormat = "HH:mm:ss.SSSS"
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
[72/80] Compiling AsyncNinja Util.swift
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:116:14: warning: static property 'primary' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
114 | /// primary executor is primary because it will be used
115 | /// as default value when executor argument is ommited
116 | static let primary = Executor(impl: PrimaryExecutorImpl(), nesting: 0)
| |- warning: static property 'primary' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'primary' 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
117 |
118 | /// shortcut to the main queue executor
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:143:14: warning: static property 'immediate' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
141 | // Test: ExecutorTests.testImmediate
142 | /// executes block immediately. Not suitable for long running calculations
143 | static let immediate = Executor(impl: ImmediateExecutorImpl(), nesting: 0)
| |- warning: static property 'immediate' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'immediate' 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 | /// initializes executor based on specified queue
/host/spi-builder-workspace/Sources/AsyncNinja/Util.swift:49:14: warning: static property 'debugDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
47 |
48 | /// formats date for debug methods
49 | static let debugDateFormatter: DateFormatter = { () -> DateFormatter in
| `- warning: static property 'debugDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
50 | let dateFormatter = DateFormatter()
51 | dateFormatter.dateFormat = "HH:mm:ss.SSSS"
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/AsyncNinja/Util.swift:24:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
22 |
23 | import Dispatch
24 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
25 |
26 | /// Constants used my AsyncNinja
:
47 |
48 | /// formats date for debug methods
49 | static let debugDateFormatter: DateFormatter = { () -> DateFormatter in
| |- note: annotate 'debugDateFormatter' 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
50 | let dateFormatter = DateFormatter()
51 | dateFormatter.dateFormat = "HH:mm:ss.SSSS"
/host/spi-builder-workspace/Sources/AsyncNinja/Util.swift:197:22: warning: static property 'debugDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
195 | private static var time: String { return debugDateFormatter.string(from: Date()) }
196 |
197 | private static let debugDateFormatter: DateFormatter = { () -> DateFormatter in
| |- warning: static property 'debugDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'debugDateFormatter' 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
198 | let dateFormatter = DateFormatter()
199 | dateFormatter.dateFormat = "HH:mm:ss.SSSS"
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
[73/80] Compiling AsyncNinja Zip2Futures.swift
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:116:14: warning: static property 'primary' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
114 | /// primary executor is primary because it will be used
115 | /// as default value when executor argument is ommited
116 | static let primary = Executor(impl: PrimaryExecutorImpl(), nesting: 0)
| |- warning: static property 'primary' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'primary' 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
117 |
118 | /// shortcut to the main queue executor
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:143:14: warning: static property 'immediate' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
141 | // Test: ExecutorTests.testImmediate
142 | /// executes block immediately. Not suitable for long running calculations
143 | static let immediate = Executor(impl: ImmediateExecutorImpl(), nesting: 0)
| |- warning: static property 'immediate' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'immediate' 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 | /// initializes executor based on specified queue
/host/spi-builder-workspace/Sources/AsyncNinja/Util.swift:49:14: warning: static property 'debugDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
47 |
48 | /// formats date for debug methods
49 | static let debugDateFormatter: DateFormatter = { () -> DateFormatter in
| `- warning: static property 'debugDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
50 | let dateFormatter = DateFormatter()
51 | dateFormatter.dateFormat = "HH:mm:ss.SSSS"
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/AsyncNinja/Util.swift:24:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
22 |
23 | import Dispatch
24 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
25 |
26 | /// Constants used my AsyncNinja
:
47 |
48 | /// formats date for debug methods
49 | static let debugDateFormatter: DateFormatter = { () -> DateFormatter in
| |- note: annotate 'debugDateFormatter' 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
50 | let dateFormatter = DateFormatter()
51 | dateFormatter.dateFormat = "HH:mm:ss.SSSS"
/host/spi-builder-workspace/Sources/AsyncNinja/Util.swift:197:22: warning: static property 'debugDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
195 | private static var time: String { return debugDateFormatter.string(from: Date()) }
196 |
197 | private static let debugDateFormatter: DateFormatter = { () -> DateFormatter in
| |- warning: static property 'debugDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'debugDateFormatter' 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
198 | let dateFormatter = DateFormatter()
199 | dateFormatter.dateFormat = "HH:mm:ss.SSSS"
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
[74/80] Compiling AsyncNinja Zip3Futures.swift
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:116:14: warning: static property 'primary' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
114 | /// primary executor is primary because it will be used
115 | /// as default value when executor argument is ommited
116 | static let primary = Executor(impl: PrimaryExecutorImpl(), nesting: 0)
| |- warning: static property 'primary' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'primary' 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
117 |
118 | /// shortcut to the main queue executor
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:143:14: warning: static property 'immediate' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
141 | // Test: ExecutorTests.testImmediate
142 | /// executes block immediately. Not suitable for long running calculations
143 | static let immediate = Executor(impl: ImmediateExecutorImpl(), nesting: 0)
| |- warning: static property 'immediate' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'immediate' 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 | /// initializes executor based on specified queue
/host/spi-builder-workspace/Sources/AsyncNinja/Util.swift:49:14: warning: static property 'debugDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
47 |
48 | /// formats date for debug methods
49 | static let debugDateFormatter: DateFormatter = { () -> DateFormatter in
| `- warning: static property 'debugDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
50 | let dateFormatter = DateFormatter()
51 | dateFormatter.dateFormat = "HH:mm:ss.SSSS"
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/AsyncNinja/Util.swift:24:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
22 |
23 | import Dispatch
24 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
25 |
26 | /// Constants used my AsyncNinja
:
47 |
48 | /// formats date for debug methods
49 | static let debugDateFormatter: DateFormatter = { () -> DateFormatter in
| |- note: annotate 'debugDateFormatter' 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
50 | let dateFormatter = DateFormatter()
51 | dateFormatter.dateFormat = "HH:mm:ss.SSSS"
/host/spi-builder-workspace/Sources/AsyncNinja/Util.swift:197:22: warning: static property 'debugDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
195 | private static var time: String { return debugDateFormatter.string(from: Date()) }
196 |
197 | private static let debugDateFormatter: DateFormatter = { () -> DateFormatter in
| |- warning: static property 'debugDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'debugDateFormatter' 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
198 | let dateFormatter = DateFormatter()
199 | dateFormatter.dateFormat = "HH:mm:ss.SSSS"
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
[75/80] Compiling AsyncNinja appleOS.swift
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:116:14: warning: static property 'primary' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
114 | /// primary executor is primary because it will be used
115 | /// as default value when executor argument is ommited
116 | static let primary = Executor(impl: PrimaryExecutorImpl(), nesting: 0)
| |- warning: static property 'primary' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'primary' 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
117 |
118 | /// shortcut to the main queue executor
/host/spi-builder-workspace/Sources/AsyncNinja/Executor.swift:143:14: warning: static property 'immediate' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Executor encapsulates asynchrounous way of execution escaped block.
26 | public struct Executor {
| `- note: consider making struct 'Executor' conform to the 'Sendable' protocol
27 | /// Handler that encapsulates asynchrounous way of execution escaped block
28 | public typealias Handler = (@escaping () -> Void) -> Void
:
141 | // Test: ExecutorTests.testImmediate
142 | /// executes block immediately. Not suitable for long running calculations
143 | static let immediate = Executor(impl: ImmediateExecutorImpl(), nesting: 0)
| |- warning: static property 'immediate' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'immediate' 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 | /// initializes executor based on specified queue
/host/spi-builder-workspace/Sources/AsyncNinja/Util.swift:49:14: warning: static property 'debugDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
47 |
48 | /// formats date for debug methods
49 | static let debugDateFormatter: DateFormatter = { () -> DateFormatter in
| `- warning: static property 'debugDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
50 | let dateFormatter = DateFormatter()
51 | dateFormatter.dateFormat = "HH:mm:ss.SSSS"
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/AsyncNinja/Util.swift:24:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
22 |
23 | import Dispatch
24 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
25 |
26 | /// Constants used my AsyncNinja
:
47 |
48 | /// formats date for debug methods
49 | static let debugDateFormatter: DateFormatter = { () -> DateFormatter in
| |- note: annotate 'debugDateFormatter' 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
50 | let dateFormatter = DateFormatter()
51 | dateFormatter.dateFormat = "HH:mm:ss.SSSS"
/host/spi-builder-workspace/Sources/AsyncNinja/Util.swift:197:22: warning: static property 'debugDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
195 | private static var time: String { return debugDateFormatter.string(from: Date()) }
196 |
197 | private static let debugDateFormatter: DateFormatter = { () -> DateFormatter in
| |- warning: static property 'debugDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'debugDateFormatter' 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
198 | let dateFormatter = DateFormatter()
199 | dateFormatter.dateFormat = "HH:mm:ss.SSSS"
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
[76/81] Wrapping AST for AsyncNinja for debugging
[78/86] Compiling AsyncNinjaReactiveUI macOS_BindingsProxy.swift
[79/86] Compiling AsyncNinjaReactiveUI macOS_ReactiveProperties.swift
[80/86] Compiling AsyncNinjaReactiveUI iOS.swift
[81/86] Compiling AsyncNinjaReactiveUI appleOS_ReactiveProperties.swift
[82/86] Emitting module AsyncNinjaReactiveUI
[83/87] Wrapping AST for AsyncNinjaReactiveUI for debugging
[85/89] Compiling ImportingTestExecutable main.swift
[86/89] Emitting module ImportingTestExecutable
[87/90] Wrapping AST for ImportingTestExecutable for debugging
[88/90] Write Objects.LinkFileList
[89/90] Linking ImportingTestExecutable
Build complete! (11.93s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "AsyncNinja",
"name" : "AsyncNinja",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "ios",
"version" : "11.0"
},
{
"name" : "tvos",
"version" : "11.0"
},
{
"name" : "watchos",
"version" : "4.0"
}
],
"products" : [
{
"name" : "ImportingTestExecutable",
"targets" : [
"ImportingTestExecutable"
],
"type" : {
"executable" : null
}
},
{
"name" : "AsyncNinja",
"targets" : [
"AsyncNinja",
"AsyncNinjaReactiveUI"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "ImportingTestExecutable",
"module_type" : "SwiftTarget",
"name" : "ImportingTestExecutable",
"path" : "Sources/ImportingTestExecutable",
"product_memberships" : [
"ImportingTestExecutable"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"AsyncNinja",
"AsyncNinjaReactiveUI"
],
"type" : "executable"
},
{
"c99name" : "AsyncNinjaTests",
"module_type" : "SwiftTarget",
"name" : "AsyncNinjaTests",
"path" : "Tests/AsyncNinja",
"sources" : [
"BatchFutureTests.swift",
"CachableValueTests.swift",
"CacheTests.swift",
"CancellationTokenTests.swift",
"ChannelMakersTests.swift",
"ChannelTests.swift",
"EitherTests.swift",
"EventSource_CombineTests.swift",
"EventSource_FlatMapFuturesTests.swift",
"EventSource_MapTests.swift",
"EventSource_Merge2Tests.swift",
"EventSource_ScanTests.swift",
"EventSource_ToFutureTests.swift",
"EventSource_TransformTests.swift",
"EventSource_Zip2Tests.swift",
"ExecutionContextTests.swift",
"ExecutorTests.swift",
"FallibleTests.swift",
"FutureTests.swift",
"Future_MakersTests.swift",
"ObserversTests.swift",
"OptionalAdaptorTests.swift",
"PerformanceTests.swift",
"ReleasePoolTests.swift",
"SinglyLinkedListTests.swift",
"TestUtilities.swift",
"TimerChannelTests.swift",
"TryExecuteTests.swift",
"XCTestManifest.swift",
"ZipFuturesTest.swift"
],
"target_dependencies" : [
"AsyncNinja"
],
"type" : "test"
},
{
"c99name" : "AsyncNinjaReactiveUITests",
"module_type" : "SwiftTarget",
"name" : "AsyncNinjaReactiveUITests",
"path" : "Tests/AsyncNinjaReactiveUI",
"sources" : [
"Fixtures.swift",
"appleOSTests.swift",
"iOSTests.swift",
"macOSTests.swift"
],
"target_dependencies" : [
"AsyncNinjaReactiveUI"
],
"type" : "test"
},
{
"c99name" : "AsyncNinjaReactiveUI",
"module_type" : "SwiftTarget",
"name" : "AsyncNinjaReactiveUI",
"path" : "Sources/AsyncNinjaReactiveUI",
"product_memberships" : [
"ImportingTestExecutable",
"AsyncNinja"
],
"sources" : [
"appleOS_ReactiveProperties.swift",
"iOS.swift",
"macOS_BindingsProxy.swift",
"macOS_ReactiveProperties.swift"
],
"target_dependencies" : [
"AsyncNinja"
],
"type" : "library"
},
{
"c99name" : "AsyncNinja",
"module_type" : "SwiftTarget",
"name" : "AsyncNinja",
"path" : "Sources/AsyncNinja",
"product_memberships" : [
"ImportingTestExecutable",
"AsyncNinja"
],
"sources" : [
"BaseProducer.swift",
"Box.swift",
"CachableValue.swift",
"Cache.swift",
"CancellationToken.swift",
"Channel.swift",
"Channel_makers.swift",
"Completable_Implementation.swift",
"Completing_Implementation.swift",
"Completing_Transform.swift",
"ConstantFuture.swift",
"Debug.swift",
"Dispatch_Extensions.swift",
"DynamicProperty.swift",
"Either.swift",
"EventSource_Combine.swift",
"EventSource_CombineLatests.swift",
"EventSource_Concat.swift",
"EventSource_Debounce.swift",
"EventSource_FlatMapFutures.swift",
"EventSource_Implementation.swift",
"EventSource_Map.swift",
"EventSource_Merge2.swift",
"EventSource_Merge2Unrelated.swift",
"EventSource_Sample.swift",
"EventSource_Scan.swift",
"EventSource_StartWith.swift",
"EventSource_Throttle.swift",
"EventSource_ToFuture.swift",
"EventSource_Transform.swift",
"EventSource_Zip2.swift",
"EventSource_ifEmpty.swift",
"ExecutionContext.swift",
"Executor.swift",
"Fallible.swift",
"Future.swift",
"Future_Makers.swift",
"KeyProtocols.swift",
"Locking.swift",
"MergeFutures.swift",
"NetworkReachability.swift",
"OptionalAdaptor.swift",
"Producer.swift",
"ProducerProxy.swift",
"Producer_makers.swift",
"Promise.swift",
"Promise_makers.swift",
"PropertyWrappers.swift",
"Queue.swift",
"ReleasePool.swift",
"Sequence_AsyncFlatMap.swift",
"Sequence_AsyncMap.swift",
"Sequence_AsyncReduce.swift",
"SinglyLinkedList.swift",
"Sink.swift",
"Stack.swift",
"TimerChannel.swift",
"TryExecute.swift",
"Util.swift",
"Zip2Futures.swift",
"Zip3Futures.swift",
"appleOS.swift",
"appleOS_CoreData.swift",
"appleOS_ExecutionContext.swift",
"appleOS_Notifications.swift",
"appleOS_Observation.swift",
"appleOS_Retainer.swift",
"appleOS_URLSession.swift",
"macOS.swift",
"watchOS.swift"
],
"type" : "library"
}
],
"tools_version" : "5.4"
}
Done.