Build Information
Successful build of Nimble, reference main (035b88), with Swift 6.1 for macOS (SPM) on 28 Nov 2025 20:23:50 UTC.
Swift 6 data race errors: 9
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCapturesBuild Log
40 | timeoutInterval: timeout,
41 | sourceLocation: expression.location) {
42 | if self.updateMatcherResult(result: try await matcherRunner())
| `- warning: non-sendable result type 'MatcherResult' cannot be sent from nonisolated context in call to parameter 'matcherRunner'; this is an error in the Swift 6 language mode
43 | .toBoolean(expectation: style) {
44 | if matchStyle.isContinuous {
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Matchers/Matcher.swift:97:15: note: consider making struct 'MatcherResult' conform to the 'Sendable' protocol
95 | /// The value that a Matcher returns to describe if the given (actual) value matches the
96 | /// matcher.
97 | public struct MatcherResult {
| `- note: consider making struct 'MatcherResult' conform to the 'Sendable' protocol
98 | /// Status indicates if the matcher matches, does not match, or fails.
99 | public var status: MatcherStatus
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:76:25: warning: non-sendable result type 'MatcherResult' cannot be sent from actor-isolated context in call to instance method 'poll(expression:style:matchStyle:timeout:poll:fnName:matcherRunner:)'; this is an error in the Swift 6 language mode
74 | ) async -> MatcherResult {
75 | let poller = Poller<T>()
76 | return await poller.poll(
| `- warning: non-sendable result type 'MatcherResult' cannot be sent from actor-isolated context in call to instance method 'poll(expression:style:matchStyle:timeout:poll:fnName:matcherRunner:)'; this is an error in the Swift 6 language mode
77 | expression: expression,
78 | style: style,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Matchers/Matcher.swift:97:15: note: consider making struct 'MatcherResult' conform to the 'Sendable' protocol
95 | /// The value that a Matcher returns to describe if the given (actual) value matches the
96 | /// matcher.
97 | public struct MatcherResult {
| `- note: consider making struct 'MatcherResult' conform to the 'Sendable' protocol
98 | /// Status indicates if the matcher matches, does not match, or fails.
99 | public var status: MatcherStatus
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:97:33: warning: non-sendable result type '(Bool, FailureMessage)' cannot be sent from main actor-isolated context in call to global function 'execute(_:style:to:description:matcherExecutor:)'; this is an error in the Swift 6 language mode
95 | let asyncExpression = expression.toAsyncExpression()
96 |
97 | let (pass, msg) = await execute(
| `- warning: non-sendable result type '(Bool, FailureMessage)' cannot be sent from main actor-isolated context in call to global function 'execute(_:style:to:description:matcherExecutor:)'; this is an error in the Swift 6 language mode
98 | asyncExpression,
99 | style: .toMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/FailureMessage.swift:6:14: note: class 'FailureMessage' does not conform to the 'Sendable' protocol
4 | ///
5 | /// This is shared state between Nimble and matchers that mutate this value.
6 | public class FailureMessage: NSObject {
| `- note: class 'FailureMessage' does not conform to the 'Sendable' protocol
7 | public var expected: String = "expected"
8 | public var actualValue: String? = "" // empty string -> use default; nil -> exclude
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:123:33: warning: non-sendable result type '(Bool, FailureMessage)' cannot be sent from main actor-isolated context in call to global function 'execute(_:style:to:description:matcherExecutor:)'; this is an error in the Swift 6 language mode
121 | let asyncExpression = expression.toAsyncExpression()
122 |
123 | let (pass, msg) = await execute(
| `- warning: non-sendable result type '(Bool, FailureMessage)' cannot be sent from main actor-isolated context in call to global function 'execute(_:style:to:description:matcherExecutor:)'; this is an error in the Swift 6 language mode
124 | asyncExpression,
125 | style: .toNotMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/FailureMessage.swift:6:14: note: class 'FailureMessage' does not conform to the 'Sendable' protocol
4 | ///
5 | /// This is shared state between Nimble and matchers that mutate this value.
6 | public class FailureMessage: NSObject {
| `- note: class 'FailureMessage' does not conform to the 'Sendable' protocol
7 | public var expected: String = "expected"
8 | public var actualValue: String? = "" // empty string -> use default; nil -> exclude
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:157:33: warning: non-sendable result type '(Bool, FailureMessage)' cannot be sent from main actor-isolated context in call to global function 'execute(_:style:to:description:matcherExecutor:)'; this is an error in the Swift 6 language mode
155 | let asyncExpression = expression.toAsyncExpression()
156 |
157 | let (pass, msg) = await execute(
| `- warning: non-sendable result type '(Bool, FailureMessage)' cannot be sent from main actor-isolated context in call to global function 'execute(_:style:to:description:matcherExecutor:)'; this is an error in the Swift 6 language mode
158 | asyncExpression,
159 | style: .toNotMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/FailureMessage.swift:6:14: note: class 'FailureMessage' does not conform to the 'Sendable' protocol
4 | ///
5 | /// This is shared state between Nimble and matchers that mutate this value.
6 | public class FailureMessage: NSObject {
| `- note: class 'FailureMessage' does not conform to the 'Sendable' protocol
7 | public var expected: String = "expected"
8 | public var actualValue: String? = "" // empty string -> use default; nil -> exclude
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:191:33: warning: non-sendable result type '(Bool, FailureMessage)' cannot be sent from main actor-isolated context in call to global function 'execute(_:style:to:description:matcherExecutor:)'; this is an error in the Swift 6 language mode
189 | let asyncExpression = expression.toAsyncExpression()
190 |
191 | let (pass, msg) = await execute(
| `- warning: non-sendable result type '(Bool, FailureMessage)' cannot be sent from main actor-isolated context in call to global function 'execute(_:style:to:description:matcherExecutor:)'; this is an error in the Swift 6 language mode
192 | asyncExpression,
193 | style: .toMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/FailureMessage.swift:6:14: note: class 'FailureMessage' does not conform to the 'Sendable' protocol
4 | ///
5 | /// This is shared state between Nimble and matchers that mutate this value.
6 | public class FailureMessage: NSObject {
| `- note: class 'FailureMessage' does not conform to the 'Sendable' protocol
7 | public var expected: String = "expected"
8 | public var actualValue: String? = "" // empty string -> use default; nil -> exclude
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:227:33: warning: non-sendable result type '(Bool, FailureMessage)' cannot be sent from main actor-isolated context in call to global function 'execute(_:style:to:description:matcherExecutor:)'; this is an error in the Swift 6 language mode
225 | let asyncExpression = expression.toAsyncExpression()
226 |
227 | let (pass, msg) = await execute(
| `- warning: non-sendable result type '(Bool, FailureMessage)' cannot be sent from main actor-isolated context in call to global function 'execute(_:style:to:description:matcherExecutor:)'; this is an error in the Swift 6 language mode
228 | asyncExpression,
229 | style: .toMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/FailureMessage.swift:6:14: note: class 'FailureMessage' does not conform to the 'Sendable' protocol
4 | ///
5 | /// This is shared state between Nimble and matchers that mutate this value.
6 | public class FailureMessage: NSObject {
| `- note: class 'FailureMessage' does not conform to the 'Sendable' protocol
7 | public var expected: String = "expected"
8 | public var actualValue: String? = "" // empty string -> use default; nil -> exclude
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:239:43: warning: non-sendable result type 'MatcherResult' cannot be sent from nonisolated context in call to instance method 'satisfies'; this is an error in the Swift 6 language mode
237 | poll: pollInterval,
238 | fnName: "toEventually") { @MainActor in
239 | try await matcher.satisfies(expression.withoutCaching().toAsyncExpression())
| `- warning: non-sendable result type 'MatcherResult' cannot be sent from nonisolated context in call to instance method 'satisfies'; this is an error in the Swift 6 language mode
240 | }
241 | }
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Matchers/Matcher.swift:97:15: note: consider making struct 'MatcherResult' conform to the 'Sendable' protocol
95 | /// The value that a Matcher returns to describe if the given (actual) value matches the
96 | /// matcher.
97 | public struct MatcherResult {
| `- note: consider making struct 'MatcherResult' conform to the 'Sendable' protocol
98 | /// Status indicates if the matcher matches, does not match, or fails.
99 | public var status: MatcherStatus
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:253:33: warning: non-sendable result type '(Bool, FailureMessage)' cannot be sent from main actor-isolated context in call to global function 'execute(_:style:to:description:matcherExecutor:)'; this is an error in the Swift 6 language mode
251 | let asyncExpression = expression.toAsyncExpression()
252 |
253 | let (pass, msg) = await execute(
| `- warning: non-sendable result type '(Bool, FailureMessage)' cannot be sent from main actor-isolated context in call to global function 'execute(_:style:to:description:matcherExecutor:)'; this is an error in the Swift 6 language mode
254 | asyncExpression,
255 | style: .toNotMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/FailureMessage.swift:6:14: note: class 'FailureMessage' does not conform to the 'Sendable' protocol
4 | ///
5 | /// This is shared state between Nimble and matchers that mutate this value.
6 | public class FailureMessage: NSObject {
| `- note: class 'FailureMessage' does not conform to the 'Sendable' protocol
7 | public var expected: String = "expected"
8 | public var actualValue: String? = "" // empty string -> use default; nil -> exclude
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:265:43: warning: non-sendable result type 'MatcherResult' cannot be sent from nonisolated context in call to instance method 'satisfies'; this is an error in the Swift 6 language mode
263 | poll: pollInterval,
264 | fnName: "toEventuallyNot") { @MainActor in
265 | try await matcher.satisfies(expression.withoutCaching().toAsyncExpression())
| `- warning: non-sendable result type 'MatcherResult' cannot be sent from nonisolated context in call to instance method 'satisfies'; this is an error in the Swift 6 language mode
266 | }
267 | }
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Matchers/Matcher.swift:97:15: note: consider making struct 'MatcherResult' conform to the 'Sendable' protocol
95 | /// The value that a Matcher returns to describe if the given (actual) value matches the
96 | /// matcher.
97 | public struct MatcherResult {
| `- note: consider making struct 'MatcherResult' conform to the 'Sendable' protocol
98 | /// Status indicates if the matcher matches, does not match, or fails.
99 | public var status: MatcherStatus
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:287:33: warning: non-sendable result type '(Bool, FailureMessage)' cannot be sent from main actor-isolated context in call to global function 'execute(_:style:to:description:matcherExecutor:)'; this is an error in the Swift 6 language mode
285 | let asyncExpression = expression.toAsyncExpression()
286 |
287 | let (pass, msg) = await execute(
| `- warning: non-sendable result type '(Bool, FailureMessage)' cannot be sent from main actor-isolated context in call to global function 'execute(_:style:to:description:matcherExecutor:)'; this is an error in the Swift 6 language mode
288 | asyncExpression,
289 | style: .toNotMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/FailureMessage.swift:6:14: note: class 'FailureMessage' does not conform to the 'Sendable' protocol
4 | ///
5 | /// This is shared state between Nimble and matchers that mutate this value.
6 | public class FailureMessage: NSObject {
| `- note: class 'FailureMessage' does not conform to the 'Sendable' protocol
7 | public var expected: String = "expected"
8 | public var actualValue: String? = "" // empty string -> use default; nil -> exclude
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:299:43: warning: non-sendable result type 'MatcherResult' cannot be sent from nonisolated context in call to instance method 'satisfies'; this is an error in the Swift 6 language mode
297 | poll: pollInterval,
298 | fnName: "toNever") { @MainActor in
299 | try await matcher.satisfies(expression.withoutCaching().toAsyncExpression())
| `- warning: non-sendable result type 'MatcherResult' cannot be sent from nonisolated context in call to instance method 'satisfies'; this is an error in the Swift 6 language mode
300 | }
301 | }
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Matchers/Matcher.swift:97:15: note: consider making struct 'MatcherResult' conform to the 'Sendable' protocol
95 | /// The value that a Matcher returns to describe if the given (actual) value matches the
96 | /// matcher.
97 | public struct MatcherResult {
| `- note: consider making struct 'MatcherResult' conform to the 'Sendable' protocol
98 | /// Status indicates if the matcher matches, does not match, or fails.
99 | public var status: MatcherStatus
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:321:33: warning: non-sendable result type '(Bool, FailureMessage)' cannot be sent from main actor-isolated context in call to global function 'execute(_:style:to:description:matcherExecutor:)'; this is an error in the Swift 6 language mode
319 | let asyncExpression = expression.toAsyncExpression()
320 |
321 | let (pass, msg) = await execute(
| `- warning: non-sendable result type '(Bool, FailureMessage)' cannot be sent from main actor-isolated context in call to global function 'execute(_:style:to:description:matcherExecutor:)'; this is an error in the Swift 6 language mode
322 | asyncExpression,
323 | style: .toMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/FailureMessage.swift:6:14: note: class 'FailureMessage' does not conform to the 'Sendable' protocol
4 | ///
5 | /// This is shared state between Nimble and matchers that mutate this value.
6 | public class FailureMessage: NSObject {
| `- note: class 'FailureMessage' does not conform to the 'Sendable' protocol
7 | public var expected: String = "expected"
8 | public var actualValue: String? = "" // empty string -> use default; nil -> exclude
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:333:43: warning: non-sendable result type 'MatcherResult' cannot be sent from nonisolated context in call to instance method 'satisfies'; this is an error in the Swift 6 language mode
331 | poll: pollInterval,
332 | fnName: "toAlways") { @MainActor in
333 | try await matcher.satisfies(expression.withoutCaching().toAsyncExpression())
| `- warning: non-sendable result type 'MatcherResult' cannot be sent from nonisolated context in call to instance method 'satisfies'; this is an error in the Swift 6 language mode
334 | }
335 | }
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Matchers/Matcher.swift:97:15: note: consider making struct 'MatcherResult' conform to the 'Sendable' protocol
95 | /// The value that a Matcher returns to describe if the given (actual) value matches the
96 | /// matcher.
97 | public struct MatcherResult {
| `- note: consider making struct 'MatcherResult' conform to the 'Sendable' protocol
98 | /// Status indicates if the matcher matches, does not match, or fails.
99 | public var status: MatcherStatus
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:357:33: warning: non-sendable result type '(Bool, FailureMessage)' cannot be sent from main actor-isolated context in call to global function 'execute(_:style:to:description:matcherExecutor:)'; this is an error in the Swift 6 language mode
355 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
356 |
357 | let (pass, msg) = await execute(
| `- warning: non-sendable result type '(Bool, FailureMessage)' cannot be sent from main actor-isolated context in call to global function 'execute(_:style:to:description:matcherExecutor:)'; this is an error in the Swift 6 language mode
358 | expression,
359 | style: .toMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/FailureMessage.swift:6:14: note: class 'FailureMessage' does not conform to the 'Sendable' protocol
4 | ///
5 | /// This is shared state between Nimble and matchers that mutate this value.
6 | public class FailureMessage: NSObject {
| `- note: class 'FailureMessage' does not conform to the 'Sendable' protocol
7 | public var expected: String = "expected"
8 | public var actualValue: String? = "" // empty string -> use default; nil -> exclude
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:381:33: warning: non-sendable result type '(Bool, FailureMessage)' cannot be sent from main actor-isolated context in call to global function 'execute(_:style:to:description:matcherExecutor:)'; this is an error in the Swift 6 language mode
379 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
380 |
381 | let (pass, msg) = await execute(
| `- warning: non-sendable result type '(Bool, FailureMessage)' cannot be sent from main actor-isolated context in call to global function 'execute(_:style:to:description:matcherExecutor:)'; this is an error in the Swift 6 language mode
382 | expression,
383 | style: .toNotMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/FailureMessage.swift:6:14: note: class 'FailureMessage' does not conform to the 'Sendable' protocol
4 | ///
5 | /// This is shared state between Nimble and matchers that mutate this value.
6 | public class FailureMessage: NSObject {
| `- note: class 'FailureMessage' does not conform to the 'Sendable' protocol
7 | public var expected: String = "expected"
8 | public var actualValue: String? = "" // empty string -> use default; nil -> exclude
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:414:33: warning: non-sendable result type '(Bool, FailureMessage)' cannot be sent from main actor-isolated context in call to global function 'execute(_:style:to:description:matcherExecutor:)'; this is an error in the Swift 6 language mode
412 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
413 |
414 | let (pass, msg) = await execute(
| `- warning: non-sendable result type '(Bool, FailureMessage)' cannot be sent from main actor-isolated context in call to global function 'execute(_:style:to:description:matcherExecutor:)'; this is an error in the Swift 6 language mode
415 | expression,
416 | style: .toNotMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/FailureMessage.swift:6:14: note: class 'FailureMessage' does not conform to the 'Sendable' protocol
4 | ///
5 | /// This is shared state between Nimble and matchers that mutate this value.
6 | public class FailureMessage: NSObject {
| `- note: class 'FailureMessage' does not conform to the 'Sendable' protocol
7 | public var expected: String = "expected"
8 | public var actualValue: String? = "" // empty string -> use default; nil -> exclude
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:447:33: warning: non-sendable result type '(Bool, FailureMessage)' cannot be sent from main actor-isolated context in call to global function 'execute(_:style:to:description:matcherExecutor:)'; this is an error in the Swift 6 language mode
445 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
446 |
447 | let (pass, msg) = await execute(
| `- warning: non-sendable result type '(Bool, FailureMessage)' cannot be sent from main actor-isolated context in call to global function 'execute(_:style:to:description:matcherExecutor:)'; this is an error in the Swift 6 language mode
448 | expression,
449 | style: .toMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/FailureMessage.swift:6:14: note: class 'FailureMessage' does not conform to the 'Sendable' protocol
4 | ///
5 | /// This is shared state between Nimble and matchers that mutate this value.
6 | public class FailureMessage: NSObject {
| `- note: class 'FailureMessage' does not conform to the 'Sendable' protocol
7 | public var expected: String = "expected"
8 | public var actualValue: String? = "" // empty string -> use default; nil -> exclude
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:481:33: warning: non-sendable result type '(Bool, FailureMessage)' cannot be sent from main actor-isolated context in call to global function 'execute(_:style:to:description:matcherExecutor:)'; this is an error in the Swift 6 language mode
479 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
480 |
481 | let (pass, msg) = await execute(
| `- warning: non-sendable result type '(Bool, FailureMessage)' cannot be sent from main actor-isolated context in call to global function 'execute(_:style:to:description:matcherExecutor:)'; this is an error in the Swift 6 language mode
482 | expression,
483 | style: .toMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/FailureMessage.swift:6:14: note: class 'FailureMessage' does not conform to the 'Sendable' protocol
4 | ///
5 | /// This is shared state between Nimble and matchers that mutate this value.
6 | public class FailureMessage: NSObject {
| `- note: class 'FailureMessage' does not conform to the 'Sendable' protocol
7 | public var expected: String = "expected"
8 | public var actualValue: String? = "" // empty string -> use default; nil -> exclude
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:505:33: warning: non-sendable result type '(Bool, FailureMessage)' cannot be sent from main actor-isolated context in call to global function 'execute(_:style:to:description:matcherExecutor:)'; this is an error in the Swift 6 language mode
503 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
504 |
505 | let (pass, msg) = await execute(
| `- warning: non-sendable result type '(Bool, FailureMessage)' cannot be sent from main actor-isolated context in call to global function 'execute(_:style:to:description:matcherExecutor:)'; this is an error in the Swift 6 language mode
506 | expression,
507 | style: .toNotMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/FailureMessage.swift:6:14: note: class 'FailureMessage' does not conform to the 'Sendable' protocol
4 | ///
5 | /// This is shared state between Nimble and matchers that mutate this value.
6 | public class FailureMessage: NSObject {
| `- note: class 'FailureMessage' does not conform to the 'Sendable' protocol
7 | public var expected: String = "expected"
8 | public var actualValue: String? = "" // empty string -> use default; nil -> exclude
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:538:33: warning: non-sendable result type '(Bool, FailureMessage)' cannot be sent from main actor-isolated context in call to global function 'execute(_:style:to:description:matcherExecutor:)'; this is an error in the Swift 6 language mode
536 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
537 |
538 | let (pass, msg) = await execute(
| `- warning: non-sendable result type '(Bool, FailureMessage)' cannot be sent from main actor-isolated context in call to global function 'execute(_:style:to:description:matcherExecutor:)'; this is an error in the Swift 6 language mode
539 | expression,
540 | style: .toNotMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/FailureMessage.swift:6:14: note: class 'FailureMessage' does not conform to the 'Sendable' protocol
4 | ///
5 | /// This is shared state between Nimble and matchers that mutate this value.
6 | public class FailureMessage: NSObject {
| `- note: class 'FailureMessage' does not conform to the 'Sendable' protocol
7 | public var expected: String = "expected"
8 | public var actualValue: String? = "" // empty string -> use default; nil -> exclude
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:571:33: warning: non-sendable result type '(Bool, FailureMessage)' cannot be sent from main actor-isolated context in call to global function 'execute(_:style:to:description:matcherExecutor:)'; this is an error in the Swift 6 language mode
569 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
570 |
571 | let (pass, msg) = await execute(
| `- warning: non-sendable result type '(Bool, FailureMessage)' cannot be sent from main actor-isolated context in call to global function 'execute(_:style:to:description:matcherExecutor:)'; this is an error in the Swift 6 language mode
572 | expression,
573 | style: .toMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/FailureMessage.swift:6:14: note: class 'FailureMessage' does not conform to the 'Sendable' protocol
4 | ///
5 | /// This is shared state between Nimble and matchers that mutate this value.
6 | public class FailureMessage: NSObject {
| `- note: class 'FailureMessage' does not conform to the 'Sendable' protocol
7 | public var expected: String = "expected"
8 | public var actualValue: String? = "" // empty string -> use default; nil -> exclude
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:202:33: warning: non-sendable result type '(Bool, FailureMessage)' cannot be sent from main actor-isolated context in call to global function 'execute(_:style:to:description:matcherExecutor:)'; this is an error in the Swift 6 language mode
200 | let asyncExpression = expression.toAsyncExpression()
201 |
202 | let (pass, msg) = await execute(
| `- warning: non-sendable result type '(Bool, FailureMessage)' cannot be sent from main actor-isolated context in call to global function 'execute(_:style:to:description:matcherExecutor:)'; this is an error in the Swift 6 language mode
203 | asyncExpression,
204 | style: .toMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/FailureMessage.swift:6:14: note: class 'FailureMessage' does not conform to the 'Sendable' protocol
4 | ///
5 | /// This is shared state between Nimble and matchers that mutate this value.
6 | public class FailureMessage: NSObject {
| `- note: class 'FailureMessage' does not conform to the 'Sendable' protocol
7 | public var expected: String = "expected"
8 | public var actualValue: String? = "" // empty string -> use default; nil -> exclude
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:228:33: warning: non-sendable result type '(Bool, FailureMessage)' cannot be sent from main actor-isolated context in call to global function 'execute(_:style:to:description:matcherExecutor:)'; this is an error in the Swift 6 language mode
226 | let asyncExpression = expression.toAsyncExpression()
227 |
228 | let (pass, msg) = await execute(
| `- warning: non-sendable result type '(Bool, FailureMessage)' cannot be sent from main actor-isolated context in call to global function 'execute(_:style:to:description:matcherExecutor:)'; this is an error in the Swift 6 language mode
229 | asyncExpression,
230 | style: .toNotMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/FailureMessage.swift:6:14: note: class 'FailureMessage' does not conform to the 'Sendable' protocol
4 | ///
5 | /// This is shared state between Nimble and matchers that mutate this value.
6 | public class FailureMessage: NSObject {
| `- note: class 'FailureMessage' does not conform to the 'Sendable' protocol
7 | public var expected: String = "expected"
8 | public var actualValue: String? = "" // empty string -> use default; nil -> exclude
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:262:33: warning: non-sendable result type '(Bool, FailureMessage)' cannot be sent from main actor-isolated context in call to global function 'execute(_:style:to:description:matcherExecutor:)'; this is an error in the Swift 6 language mode
260 | let asyncExpression = expression.toAsyncExpression()
261 |
262 | let (pass, msg) = await execute(
| `- warning: non-sendable result type '(Bool, FailureMessage)' cannot be sent from main actor-isolated context in call to global function 'execute(_:style:to:description:matcherExecutor:)'; this is an error in the Swift 6 language mode
263 | asyncExpression,
264 | style: .toNotMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/FailureMessage.swift:6:14: note: class 'FailureMessage' does not conform to the 'Sendable' protocol
4 | ///
5 | /// This is shared state between Nimble and matchers that mutate this value.
6 | public class FailureMessage: NSObject {
| `- note: class 'FailureMessage' does not conform to the 'Sendable' protocol
7 | public var expected: String = "expected"
8 | public var actualValue: String? = "" // empty string -> use default; nil -> exclude
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:296:33: warning: non-sendable result type '(Bool, FailureMessage)' cannot be sent from main actor-isolated context in call to global function 'execute(_:style:to:description:matcherExecutor:)'; this is an error in the Swift 6 language mode
294 | let asyncExpression = expression.toAsyncExpression()
295 |
296 | let (pass, msg) = await execute(
| `- warning: non-sendable result type '(Bool, FailureMessage)' cannot be sent from main actor-isolated context in call to global function 'execute(_:style:to:description:matcherExecutor:)'; this is an error in the Swift 6 language mode
297 | asyncExpression,
298 | style: .toMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/FailureMessage.swift:6:14: note: class 'FailureMessage' does not conform to the 'Sendable' protocol
4 | ///
5 | /// This is shared state between Nimble and matchers that mutate this value.
6 | public class FailureMessage: NSObject {
| `- note: class 'FailureMessage' does not conform to the 'Sendable' protocol
7 | public var expected: String = "expected"
8 | public var actualValue: String? = "" // empty string -> use default; nil -> exclude
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:332:33: warning: non-sendable result type '(Bool, FailureMessage)' cannot be sent from main actor-isolated context in call to global function 'execute(_:style:to:description:matcherExecutor:)'; this is an error in the Swift 6 language mode
330 | let asyncExpression = expression.toAsyncExpression()
331 |
332 | let (pass, msg) = await execute(
| `- warning: non-sendable result type '(Bool, FailureMessage)' cannot be sent from main actor-isolated context in call to global function 'execute(_:style:to:description:matcherExecutor:)'; this is an error in the Swift 6 language mode
333 | asyncExpression,
334 | style: .toMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/FailureMessage.swift:6:14: note: class 'FailureMessage' does not conform to the 'Sendable' protocol
4 | ///
5 | /// This is shared state between Nimble and matchers that mutate this value.
6 | public class FailureMessage: NSObject {
| `- note: class 'FailureMessage' does not conform to the 'Sendable' protocol
7 | public var expected: String = "expected"
8 | public var actualValue: String? = "" // empty string -> use default; nil -> exclude
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:344:43: warning: non-sendable result type 'MatcherResult' cannot be sent from nonisolated context in call to instance method 'satisfies'; this is an error in the Swift 6 language mode
342 | poll: pollInterval,
343 | fnName: "toEventually") { @MainActor in
344 | try await matcher.satisfies(expression.withoutCaching().toAsyncExpression())
| `- warning: non-sendable result type 'MatcherResult' cannot be sent from nonisolated context in call to instance method 'satisfies'; this is an error in the Swift 6 language mode
345 | }
346 | }
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Matchers/Matcher.swift:97:15: note: consider making struct 'MatcherResult' conform to the 'Sendable' protocol
95 | /// The value that a Matcher returns to describe if the given (actual) value matches the
96 | /// matcher.
97 | public struct MatcherResult {
| `- note: consider making struct 'MatcherResult' conform to the 'Sendable' protocol
98 | /// Status indicates if the matcher matches, does not match, or fails.
99 | public var status: MatcherStatus
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:358:33: warning: non-sendable result type '(Bool, FailureMessage)' cannot be sent from main actor-isolated context in call to global function 'execute(_:style:to:description:matcherExecutor:)'; this is an error in the Swift 6 language mode
356 | let asyncExpression = expression.toAsyncExpression()
357 |
358 | let (pass, msg) = await execute(
| `- warning: non-sendable result type '(Bool, FailureMessage)' cannot be sent from main actor-isolated context in call to global function 'execute(_:style:to:description:matcherExecutor:)'; this is an error in the Swift 6 language mode
359 | asyncExpression,
360 | style: .toNotMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/FailureMessage.swift:6:14: note: class 'FailureMessage' does not conform to the 'Sendable' protocol
4 | ///
5 | /// This is shared state between Nimble and matchers that mutate this value.
6 | public class FailureMessage: NSObject {
| `- note: class 'FailureMessage' does not conform to the 'Sendable' protocol
7 | public var expected: String = "expected"
8 | public var actualValue: String? = "" // empty string -> use default; nil -> exclude
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:370:43: warning: non-sendable result type 'MatcherResult' cannot be sent from nonisolated context in call to instance method 'satisfies'; this is an error in the Swift 6 language mode
368 | poll: pollInterval,
369 | fnName: "toEventuallyNot") { @MainActor in
370 | try await matcher.satisfies(expression.withoutCaching().toAsyncExpression())
| `- warning: non-sendable result type 'MatcherResult' cannot be sent from nonisolated context in call to instance method 'satisfies'; this is an error in the Swift 6 language mode
371 | }
372 | }
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Matchers/Matcher.swift:97:15: note: consider making struct 'MatcherResult' conform to the 'Sendable' protocol
95 | /// The value that a Matcher returns to describe if the given (actual) value matches the
96 | /// matcher.
97 | public struct MatcherResult {
| `- note: consider making struct 'MatcherResult' conform to the 'Sendable' protocol
98 | /// Status indicates if the matcher matches, does not match, or fails.
99 | public var status: MatcherStatus
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:392:33: warning: non-sendable result type '(Bool, FailureMessage)' cannot be sent from main actor-isolated context in call to global function 'execute(_:style:to:description:matcherExecutor:)'; this is an error in the Swift 6 language mode
390 | let asyncExpression = expression.toAsyncExpression()
391 |
392 | let (pass, msg) = await execute(
| `- warning: non-sendable result type '(Bool, FailureMessage)' cannot be sent from main actor-isolated context in call to global function 'execute(_:style:to:description:matcherExecutor:)'; this is an error in the Swift 6 language mode
393 | asyncExpression,
394 | style: .toNotMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/FailureMessage.swift:6:14: note: class 'FailureMessage' does not conform to the 'Sendable' protocol
4 | ///
5 | /// This is shared state between Nimble and matchers that mutate this value.
6 | public class FailureMessage: NSObject {
| `- note: class 'FailureMessage' does not conform to the 'Sendable' protocol
7 | public var expected: String = "expected"
8 | public var actualValue: String? = "" // empty string -> use default; nil -> exclude
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:404:43: warning: non-sendable result type 'MatcherResult' cannot be sent from nonisolated context in call to instance method 'satisfies'; this is an error in the Swift 6 language mode
402 | poll: pollInterval,
403 | fnName: "toNever") { @MainActor in
404 | try await matcher.satisfies(expression.withoutCaching().toAsyncExpression())
| `- warning: non-sendable result type 'MatcherResult' cannot be sent from nonisolated context in call to instance method 'satisfies'; this is an error in the Swift 6 language mode
405 | }
406 | }
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Matchers/Matcher.swift:97:15: note: consider making struct 'MatcherResult' conform to the 'Sendable' protocol
95 | /// The value that a Matcher returns to describe if the given (actual) value matches the
96 | /// matcher.
97 | public struct MatcherResult {
| `- note: consider making struct 'MatcherResult' conform to the 'Sendable' protocol
98 | /// Status indicates if the matcher matches, does not match, or fails.
99 | public var status: MatcherStatus
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:426:33: warning: non-sendable result type '(Bool, FailureMessage)' cannot be sent from main actor-isolated context in call to global function 'execute(_:style:to:description:matcherExecutor:)'; this is an error in the Swift 6 language mode
424 | let asyncExpression = expression.toAsyncExpression()
425 |
426 | let (pass, msg) = await execute(
| `- warning: non-sendable result type '(Bool, FailureMessage)' cannot be sent from main actor-isolated context in call to global function 'execute(_:style:to:description:matcherExecutor:)'; this is an error in the Swift 6 language mode
427 | asyncExpression,
428 | style: .toMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/FailureMessage.swift:6:14: note: class 'FailureMessage' does not conform to the 'Sendable' protocol
4 | ///
5 | /// This is shared state between Nimble and matchers that mutate this value.
6 | public class FailureMessage: NSObject {
| `- note: class 'FailureMessage' does not conform to the 'Sendable' protocol
7 | public var expected: String = "expected"
8 | public var actualValue: String? = "" // empty string -> use default; nil -> exclude
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:438:43: warning: non-sendable result type 'MatcherResult' cannot be sent from nonisolated context in call to instance method 'satisfies'; this is an error in the Swift 6 language mode
436 | poll: pollInterval,
437 | fnName: "toAlways") { @MainActor in
438 | try await matcher.satisfies(expression.withoutCaching().toAsyncExpression())
| `- warning: non-sendable result type 'MatcherResult' cannot be sent from nonisolated context in call to instance method 'satisfies'; this is an error in the Swift 6 language mode
439 | }
440 | }
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Matchers/Matcher.swift:97:15: note: consider making struct 'MatcherResult' conform to the 'Sendable' protocol
95 | /// The value that a Matcher returns to describe if the given (actual) value matches the
96 | /// matcher.
97 | public struct MatcherResult {
| `- note: consider making struct 'MatcherResult' conform to the 'Sendable' protocol
98 | /// Status indicates if the matcher matches, does not match, or fails.
99 | public var status: MatcherStatus
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:462:33: warning: non-sendable result type '(Bool, FailureMessage)' cannot be sent from main actor-isolated context in call to global function 'execute(_:style:to:description:matcherExecutor:)'; this is an error in the Swift 6 language mode
460 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
461 |
462 | let (pass, msg) = await execute(
| `- warning: non-sendable result type '(Bool, FailureMessage)' cannot be sent from main actor-isolated context in call to global function 'execute(_:style:to:description:matcherExecutor:)'; this is an error in the Swift 6 language mode
463 | expression,
464 | style: .toMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/FailureMessage.swift:6:14: note: class 'FailureMessage' does not conform to the 'Sendable' protocol
4 | ///
5 | /// This is shared state between Nimble and matchers that mutate this value.
6 | public class FailureMessage: NSObject {
| `- note: class 'FailureMessage' does not conform to the 'Sendable' protocol
7 | public var expected: String = "expected"
8 | public var actualValue: String? = "" // empty string -> use default; nil -> exclude
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:486:33: warning: non-sendable result type '(Bool, FailureMessage)' cannot be sent from main actor-isolated context in call to global function 'execute(_:style:to:description:matcherExecutor:)'; this is an error in the Swift 6 language mode
484 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
485 |
486 | let (pass, msg) = await execute(
| `- warning: non-sendable result type '(Bool, FailureMessage)' cannot be sent from main actor-isolated context in call to global function 'execute(_:style:to:description:matcherExecutor:)'; this is an error in the Swift 6 language mode
487 | expression,
488 | style: .toNotMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/FailureMessage.swift:6:14: note: class 'FailureMessage' does not conform to the 'Sendable' protocol
4 | ///
5 | /// This is shared state between Nimble and matchers that mutate this value.
6 | public class FailureMessage: NSObject {
| `- note: class 'FailureMessage' does not conform to the 'Sendable' protocol
7 | public var expected: String = "expected"
8 | public var actualValue: String? = "" // empty string -> use default; nil -> exclude
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:519:33: warning: non-sendable result type '(Bool, FailureMessage)' cannot be sent from main actor-isolated context in call to global function 'execute(_:style:to:description:matcherExecutor:)'; this is an error in the Swift 6 language mode
517 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
518 |
519 | let (pass, msg) = await execute(
| `- warning: non-sendable result type '(Bool, FailureMessage)' cannot be sent from main actor-isolated context in call to global function 'execute(_:style:to:description:matcherExecutor:)'; this is an error in the Swift 6 language mode
520 | expression,
521 | style: .toNotMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/FailureMessage.swift:6:14: note: class 'FailureMessage' does not conform to the 'Sendable' protocol
4 | ///
5 | /// This is shared state between Nimble and matchers that mutate this value.
6 | public class FailureMessage: NSObject {
| `- note: class 'FailureMessage' does not conform to the 'Sendable' protocol
7 | public var expected: String = "expected"
8 | public var actualValue: String? = "" // empty string -> use default; nil -> exclude
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:552:33: warning: non-sendable result type '(Bool, FailureMessage)' cannot be sent from main actor-isolated context in call to global function 'execute(_:style:to:description:matcherExecutor:)'; this is an error in the Swift 6 language mode
550 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
551 |
552 | let (pass, msg) = await execute(
| `- warning: non-sendable result type '(Bool, FailureMessage)' cannot be sent from main actor-isolated context in call to global function 'execute(_:style:to:description:matcherExecutor:)'; this is an error in the Swift 6 language mode
553 | expression,
554 | style: .toMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/FailureMessage.swift:6:14: note: class 'FailureMessage' does not conform to the 'Sendable' protocol
4 | ///
5 | /// This is shared state between Nimble and matchers that mutate this value.
6 | public class FailureMessage: NSObject {
| `- note: class 'FailureMessage' does not conform to the 'Sendable' protocol
7 | public var expected: String = "expected"
8 | public var actualValue: String? = "" // empty string -> use default; nil -> exclude
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:586:33: warning: non-sendable result type '(Bool, FailureMessage)' cannot be sent from main actor-isolated context in call to global function 'execute(_:style:to:description:matcherExecutor:)'; this is an error in the Swift 6 language mode
584 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
585 |
586 | let (pass, msg) = await execute(
| `- warning: non-sendable result type '(Bool, FailureMessage)' cannot be sent from main actor-isolated context in call to global function 'execute(_:style:to:description:matcherExecutor:)'; this is an error in the Swift 6 language mode
587 | expression,
588 | style: .toMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/FailureMessage.swift:6:14: note: class 'FailureMessage' does not conform to the 'Sendable' protocol
4 | ///
5 | /// This is shared state between Nimble and matchers that mutate this value.
6 | public class FailureMessage: NSObject {
| `- note: class 'FailureMessage' does not conform to the 'Sendable' protocol
7 | public var expected: String = "expected"
8 | public var actualValue: String? = "" // empty string -> use default; nil -> exclude
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:610:33: warning: non-sendable result type '(Bool, FailureMessage)' cannot be sent from main actor-isolated context in call to global function 'execute(_:style:to:description:matcherExecutor:)'; this is an error in the Swift 6 language mode
608 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
609 |
610 | let (pass, msg) = await execute(
| `- warning: non-sendable result type '(Bool, FailureMessage)' cannot be sent from main actor-isolated context in call to global function 'execute(_:style:to:description:matcherExecutor:)'; this is an error in the Swift 6 language mode
611 | expression,
612 | style: .toNotMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/FailureMessage.swift:6:14: note: class 'FailureMessage' does not conform to the 'Sendable' protocol
4 | ///
5 | /// This is shared state between Nimble and matchers that mutate this value.
6 | public class FailureMessage: NSObject {
| `- note: class 'FailureMessage' does not conform to the 'Sendable' protocol
7 | public var expected: String = "expected"
8 | public var actualValue: String? = "" // empty string -> use default; nil -> exclude
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:643:33: warning: non-sendable result type '(Bool, FailureMessage)' cannot be sent from main actor-isolated context in call to global function 'execute(_:style:to:description:matcherExecutor:)'; this is an error in the Swift 6 language mode
641 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
642 |
643 | let (pass, msg) = await execute(
| `- warning: non-sendable result type '(Bool, FailureMessage)' cannot be sent from main actor-isolated context in call to global function 'execute(_:style:to:description:matcherExecutor:)'; this is an error in the Swift 6 language mode
644 | expression,
645 | style: .toNotMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/FailureMessage.swift:6:14: note: class 'FailureMessage' does not conform to the 'Sendable' protocol
4 | ///
5 | /// This is shared state between Nimble and matchers that mutate this value.
6 | public class FailureMessage: NSObject {
| `- note: class 'FailureMessage' does not conform to the 'Sendable' protocol
7 | public var expected: String = "expected"
8 | public var actualValue: String? = "" // empty string -> use default; nil -> exclude
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:676:33: warning: non-sendable result type '(Bool, FailureMessage)' cannot be sent from main actor-isolated context in call to global function 'execute(_:style:to:description:matcherExecutor:)'; this is an error in the Swift 6 language mode
674 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
675 |
676 | let (pass, msg) = await execute(
| `- warning: non-sendable result type '(Bool, FailureMessage)' cannot be sent from main actor-isolated context in call to global function 'execute(_:style:to:description:matcherExecutor:)'; this is an error in the Swift 6 language mode
677 | expression,
678 | style: .toMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/FailureMessage.swift:6:14: note: class 'FailureMessage' does not conform to the 'Sendable' protocol
4 | ///
5 | /// This is shared state between Nimble and matchers that mutate this value.
6 | public class FailureMessage: NSObject {
| `- note: class 'FailureMessage' does not conform to the 'Sendable' protocol
7 | public var expected: String = "expected"
8 | public var actualValue: String? = "" // empty string -> use default; nil -> exclude
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling.swift:40:24: warning: static property '_timeout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 | private static let lock = NSRecursiveLock()
39 |
40 | private static var _timeout: NimbleTimeInterval = .seconds(1)
| |- warning: static property '_timeout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_timeout' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_timeout' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | private static var _pollInterval: NimbleTimeInterval = .milliseconds(10)
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling.swift:41:24: warning: static property '_pollInterval' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
39 |
40 | private static var _timeout: NimbleTimeInterval = .seconds(1)
41 | private static var _pollInterval: NimbleTimeInterval = .milliseconds(10)
| |- warning: static property '_pollInterval' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_pollInterval' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_pollInterval' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | public static var timeout: NimbleTimeInterval {
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling.swift:156:14: warning: let 'toEventuallyRequiresClosureError' is not concurrency-safe because non-'Sendable' type 'FailureMessage' may have shared mutable state; this is an error in the Swift 6 language mode
154 | }
155 |
156 | internal let toEventuallyRequiresClosureError = FailureMessage(
| |- warning: let 'toEventuallyRequiresClosureError' is not concurrency-safe because non-'Sendable' type 'FailureMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'toEventuallyRequiresClosureError' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 | stringValue: """
158 | expect(...).toEventually(...) requires an explicit closure (eg - expect { ... }.toEventually(...) )
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/FailureMessage.swift:6:14: note: class 'FailureMessage' does not conform to the 'Sendable' protocol
4 | ///
5 | /// This is shared state between Nimble and matchers that mutate this value.
6 | public class FailureMessage: NSObject {
| `- note: class 'FailureMessage' does not conform to the 'Sendable' protocol
7 | public var expected: String = "expected"
8 | public var actualValue: String? = "" // empty string -> use default; nil -> exclude
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:15:66: warning: sending 'expression' risks causing data races; this is an error in the Swift 6 language mode
13 | result.message.update(failureMessage: msg)
14 | if msg.actualValue == "" {
15 | msg.actualValue = "<\(stringify(try await expression.evaluate()))>"
| |- warning: sending 'expression' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'expression' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
16 | }
17 | return (result.toBoolean(expectation: style), msg)
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:42:63: warning: sending 'matcherRunner' risks causing data races; this is an error in the Swift 6 language mode
39 | pollInterval: poll,
40 | timeoutInterval: timeout,
41 | sourceLocation: expression.location) {
| `- note: access can happen concurrently
42 | if self.updateMatcherResult(result: try await matcherRunner())
| |- warning: sending 'matcherRunner' risks causing data races; this is an error in the Swift 6 language mode
| `- note: 'self'-isolated 'matcherRunner' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later nonisolated uses
43 | .toBoolean(expectation: style) {
44 | if matchStyle.isContinuous {
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:38:28: warning: sending value of non-Sendable type '() async throws -> PollStatus' risks causing data races; this is an error in the Swift 6 language mode
36 | matcherRunner: @escaping () async throws -> MatcherResult) async -> MatcherResult {
37 | let fnName = "expect(...).\(fnName)(...)"
38 | let result = await pollBlock(
| |- warning: sending value of non-Sendable type '() async throws -> PollStatus' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated value of non-Sendable type '() async throws -> PollStatus' to nonisolated callee risks causing races in between 'self'-isolated and nonisolated uses
39 | pollInterval: poll,
40 | timeoutInterval: timeout,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:76:25: warning: sending 'expression' risks causing data races; this is an error in the Swift 6 language mode
74 | ) async -> MatcherResult {
75 | let poller = Poller<T>()
76 | return await poller.poll(
| |- warning: sending 'expression' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'expression' to actor-isolated instance method 'poll(expression:style:matchStyle:timeout:poll:fnName:matcherRunner:)' risks causing data races between actor-isolated and task-isolated uses
77 | expression: expression,
78 | style: style,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:76:25: warning: sending 'style' risks causing data races; this is an error in the Swift 6 language mode
74 | ) async -> MatcherResult {
75 | let poller = Poller<T>()
76 | return await poller.poll(
| |- warning: sending 'style' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'style' to actor-isolated instance method 'poll(expression:style:matchStyle:timeout:poll:fnName:matcherRunner:)' risks causing data races between actor-isolated and task-isolated uses
77 | expression: expression,
78 | style: style,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:76:25: warning: sending 'matcherRunner' risks causing data races; this is an error in the Swift 6 language mode
74 | ) async -> MatcherResult {
75 | let poller = Poller<T>()
76 | return await poller.poll(
| |- warning: sending 'matcherRunner' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'matcherRunner' to actor-isolated instance method 'poll(expression:style:matchStyle:timeout:poll:fnName:matcherRunner:)' risks causing data races between actor-isolated and task-isolated uses
77 | expression: expression,
78 | style: style,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:97:33: warning: sending 'asyncExpression' risks causing data races; this is an error in the Swift 6 language mode
95 | let asyncExpression = expression.toAsyncExpression()
96 |
97 | let (pass, msg) = await execute(
| |- warning: sending 'asyncExpression' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'asyncExpression' to main actor-isolated global function 'execute(_:style:to:description:matcherExecutor:)' risks causing data races between main actor-isolated and task-isolated uses
98 | asyncExpression,
99 | style: .toMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:97:33: warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
95 | let asyncExpression = expression.toAsyncExpression()
96 |
97 | let (pass, msg) = await execute(
| |- warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type '() async -> MatcherResult' to main actor-isolated global function 'execute(_:style:to:description:matcherExecutor:)' risks causing races in between task-isolated and main actor-isolated uses
98 | asyncExpression,
99 | style: .toMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:109:29: warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
107 | poll: pollInterval,
108 | fnName: "toEventually") { @MainActor in
109 | try matcher.satisfies(expression.withoutCaching())
| |- warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'matcher' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
110 | }
111 | }
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:109:47: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
107 | poll: pollInterval,
108 | fnName: "toEventually") { @MainActor in
109 | try matcher.satisfies(expression.withoutCaching())
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
110 | }
111 | }
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:123:33: warning: sending 'asyncExpression' risks causing data races; this is an error in the Swift 6 language mode
121 | let asyncExpression = expression.toAsyncExpression()
122 |
123 | let (pass, msg) = await execute(
| |- warning: sending 'asyncExpression' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'asyncExpression' to main actor-isolated global function 'execute(_:style:to:description:matcherExecutor:)' risks causing data races between main actor-isolated and task-isolated uses
124 | asyncExpression,
125 | style: .toNotMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:123:33: warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
121 | let asyncExpression = expression.toAsyncExpression()
122 |
123 | let (pass, msg) = await execute(
| |- warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type '() async -> MatcherResult' to main actor-isolated global function 'execute(_:style:to:description:matcherExecutor:)' risks causing races in between task-isolated and main actor-isolated uses
124 | asyncExpression,
125 | style: .toNotMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:135:29: warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
133 | poll: pollInterval,
134 | fnName: "toEventuallyNot") { @MainActor in
135 | try matcher.satisfies(expression.withoutCaching())
| |- warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'matcher' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
136 | }
137 | }
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:135:47: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
133 | poll: pollInterval,
134 | fnName: "toEventuallyNot") { @MainActor in
135 | try matcher.satisfies(expression.withoutCaching())
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
136 | }
137 | }
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:157:33: warning: sending 'asyncExpression' risks causing data races; this is an error in the Swift 6 language mode
155 | let asyncExpression = expression.toAsyncExpression()
156 |
157 | let (pass, msg) = await execute(
| |- warning: sending 'asyncExpression' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'asyncExpression' to main actor-isolated global function 'execute(_:style:to:description:matcherExecutor:)' risks causing data races between main actor-isolated and task-isolated uses
158 | asyncExpression,
159 | style: .toNotMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:157:33: warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
155 | let asyncExpression = expression.toAsyncExpression()
156 |
157 | let (pass, msg) = await execute(
| |- warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type '() async -> MatcherResult' to main actor-isolated global function 'execute(_:style:to:description:matcherExecutor:)' risks causing races in between task-isolated and main actor-isolated uses
158 | asyncExpression,
159 | style: .toNotMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:169:29: warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
167 | poll: pollInterval,
168 | fnName: "toNever") { @MainActor in
169 | try matcher.satisfies(expression.withoutCaching())
| |- warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'matcher' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
170 | }
171 | }
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:169:47: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
167 | poll: pollInterval,
168 | fnName: "toNever") { @MainActor in
169 | try matcher.satisfies(expression.withoutCaching())
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
170 | }
171 | }
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:191:33: warning: sending 'asyncExpression' risks causing data races; this is an error in the Swift 6 language mode
189 | let asyncExpression = expression.toAsyncExpression()
190 |
191 | let (pass, msg) = await execute(
| |- warning: sending 'asyncExpression' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'asyncExpression' to main actor-isolated global function 'execute(_:style:to:description:matcherExecutor:)' risks causing data races between main actor-isolated and task-isolated uses
192 | asyncExpression,
193 | style: .toMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:191:33: warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
189 | let asyncExpression = expression.toAsyncExpression()
190 |
191 | let (pass, msg) = await execute(
| |- warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type '() async -> MatcherResult' to main actor-isolated global function 'execute(_:style:to:description:matcherExecutor:)' risks causing races in between task-isolated and main actor-isolated uses
192 | asyncExpression,
193 | style: .toMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:203:29: warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
201 | poll: pollInterval,
202 | fnName: "toAlways") { @MainActor in
203 | try matcher.satisfies(expression.withoutCaching())
| |- warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'matcher' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
204 | }
205 | }
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:203:47: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
201 | poll: pollInterval,
202 | fnName: "toAlways") { @MainActor in
203 | try matcher.satisfies(expression.withoutCaching())
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
204 | }
205 | }
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:227:33: warning: sending 'asyncExpression' risks causing data races; this is an error in the Swift 6 language mode
225 | let asyncExpression = expression.toAsyncExpression()
226 |
227 | let (pass, msg) = await execute(
| |- warning: sending 'asyncExpression' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'asyncExpression' to main actor-isolated global function 'execute(_:style:to:description:matcherExecutor:)' risks causing data races between main actor-isolated and task-isolated uses
228 | asyncExpression,
229 | style: .toMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:227:33: warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
225 | let asyncExpression = expression.toAsyncExpression()
226 |
227 | let (pass, msg) = await execute(
| |- warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type '() async -> MatcherResult' to main actor-isolated global function 'execute(_:style:to:description:matcherExecutor:)' risks causing races in between task-isolated and main actor-isolated uses
228 | asyncExpression,
229 | style: .toMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:239:35: warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
237 | poll: pollInterval,
238 | fnName: "toEventually") { @MainActor in
239 | try await matcher.satisfies(expression.withoutCaching().toAsyncExpression())
| |- warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'matcher' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
240 | }
241 | }
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:239:53: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
237 | poll: pollInterval,
238 | fnName: "toEventually") { @MainActor in
239 | try await matcher.satisfies(expression.withoutCaching().toAsyncExpression())
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
240 | }
241 | }
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:239:43: warning: sending 'self.expression.withoutCaching.toAsyncExpression' risks causing data races; this is an error in the Swift 6 language mode
237 | poll: pollInterval,
238 | fnName: "toEventually") { @MainActor in
239 | try await matcher.satisfies(expression.withoutCaching().toAsyncExpression())
| |- warning: sending 'self.expression.withoutCaching.toAsyncExpression' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.expression.withoutCaching.toAsyncExpression' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
240 | }
241 | }
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:239:43: warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
237 | poll: pollInterval,
238 | fnName: "toEventually") { @MainActor in
239 | try await matcher.satisfies(expression.withoutCaching().toAsyncExpression())
| |- warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'matcher' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
240 | }
241 | }
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:253:33: warning: sending 'asyncExpression' risks causing data races; this is an error in the Swift 6 language mode
251 | let asyncExpression = expression.toAsyncExpression()
252 |
253 | let (pass, msg) = await execute(
| |- warning: sending 'asyncExpression' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'asyncExpression' to main actor-isolated global function 'execute(_:style:to:description:matcherExecutor:)' risks causing data races between main actor-isolated and task-isolated uses
254 | asyncExpression,
255 | style: .toNotMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:253:33: warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
251 | let asyncExpression = expression.toAsyncExpression()
252 |
253 | let (pass, msg) = await execute(
| |- warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type '() async -> MatcherResult' to main actor-isolated global function 'execute(_:style:to:description:matcherExecutor:)' risks causing races in between task-isolated and main actor-isolated uses
254 | asyncExpression,
255 | style: .toNotMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:265:35: warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
263 | poll: pollInterval,
264 | fnName: "toEventuallyNot") { @MainActor in
265 | try await matcher.satisfies(expression.withoutCaching().toAsyncExpression())
| |- warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'matcher' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
266 | }
267 | }
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:265:53: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
263 | poll: pollInterval,
264 | fnName: "toEventuallyNot") { @MainActor in
265 | try await matcher.satisfies(expression.withoutCaching().toAsyncExpression())
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
266 | }
267 | }
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:265:43: warning: sending 'self.expression.withoutCaching.toAsyncExpression' risks causing data races; this is an error in the Swift 6 language mode
263 | poll: pollInterval,
264 | fnName: "toEventuallyNot") { @MainActor in
265 | try await matcher.satisfies(expression.withoutCaching().toAsyncExpression())
| |- warning: sending 'self.expression.withoutCaching.toAsyncExpression' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.expression.withoutCaching.toAsyncExpression' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
266 | }
267 | }
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:265:43: warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
263 | poll: pollInterval,
264 | fnName: "toEventuallyNot") { @MainActor in
265 | try await matcher.satisfies(expression.withoutCaching().toAsyncExpression())
| |- warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'matcher' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
266 | }
267 | }
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:287:33: warning: sending 'asyncExpression' risks causing data races; this is an error in the Swift 6 language mode
285 | let asyncExpression = expression.toAsyncExpression()
286 |
287 | let (pass, msg) = await execute(
| |- warning: sending 'asyncExpression' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'asyncExpression' to main actor-isolated global function 'execute(_:style:to:description:matcherExecutor:)' risks causing data races between main actor-isolated and task-isolated uses
288 | asyncExpression,
289 | style: .toNotMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:287:33: warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
285 | let asyncExpression = expression.toAsyncExpression()
286 |
287 | let (pass, msg) = await execute(
| |- warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type '() async -> MatcherResult' to main actor-isolated global function 'execute(_:style:to:description:matcherExecutor:)' risks causing races in between task-isolated and main actor-isolated uses
288 | asyncExpression,
289 | style: .toNotMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:299:35: warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
297 | poll: pollInterval,
298 | fnName: "toNever") { @MainActor in
299 | try await matcher.satisfies(expression.withoutCaching().toAsyncExpression())
| |- warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'matcher' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
300 | }
301 | }
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:299:53: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
297 | poll: pollInterval,
298 | fnName: "toNever") { @MainActor in
299 | try await matcher.satisfies(expression.withoutCaching().toAsyncExpression())
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
300 | }
301 | }
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:299:43: warning: sending 'self.expression.withoutCaching.toAsyncExpression' risks causing data races; this is an error in the Swift 6 language mode
297 | poll: pollInterval,
298 | fnName: "toNever") { @MainActor in
299 | try await matcher.satisfies(expression.withoutCaching().toAsyncExpression())
| |- warning: sending 'self.expression.withoutCaching.toAsyncExpression' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.expression.withoutCaching.toAsyncExpression' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
300 | }
301 | }
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:299:43: warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
297 | poll: pollInterval,
298 | fnName: "toNever") { @MainActor in
299 | try await matcher.satisfies(expression.withoutCaching().toAsyncExpression())
| |- warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'matcher' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
300 | }
301 | }
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:321:33: warning: sending 'asyncExpression' risks causing data races; this is an error in the Swift 6 language mode
319 | let asyncExpression = expression.toAsyncExpression()
320 |
321 | let (pass, msg) = await execute(
| |- warning: sending 'asyncExpression' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'asyncExpression' to main actor-isolated global function 'execute(_:style:to:description:matcherExecutor:)' risks causing data races between main actor-isolated and task-isolated uses
322 | asyncExpression,
323 | style: .toMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:321:33: warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
319 | let asyncExpression = expression.toAsyncExpression()
320 |
321 | let (pass, msg) = await execute(
| |- warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type '() async -> MatcherResult' to main actor-isolated global function 'execute(_:style:to:description:matcherExecutor:)' risks causing races in between task-isolated and main actor-isolated uses
322 | asyncExpression,
323 | style: .toMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:333:35: warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
331 | poll: pollInterval,
332 | fnName: "toAlways") { @MainActor in
333 | try await matcher.satisfies(expression.withoutCaching().toAsyncExpression())
| |- warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'matcher' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
334 | }
335 | }
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:333:53: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
331 | poll: pollInterval,
332 | fnName: "toAlways") { @MainActor in
333 | try await matcher.satisfies(expression.withoutCaching().toAsyncExpression())
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
334 | }
335 | }
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:333:43: warning: sending 'self.expression.withoutCaching.toAsyncExpression' risks causing data races; this is an error in the Swift 6 language mode
331 | poll: pollInterval,
332 | fnName: "toAlways") { @MainActor in
333 | try await matcher.satisfies(expression.withoutCaching().toAsyncExpression())
| |- warning: sending 'self.expression.withoutCaching.toAsyncExpression' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.expression.withoutCaching.toAsyncExpression' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
334 | }
335 | }
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:333:43: warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
331 | poll: pollInterval,
332 | fnName: "toAlways") { @MainActor in
333 | try await matcher.satisfies(expression.withoutCaching().toAsyncExpression())
| |- warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'matcher' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
334 | }
335 | }
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:357:33: warning: sending 'self.expression' risks causing data races; this is an error in the Swift 6 language mode
355 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
356 |
357 | let (pass, msg) = await execute(
| |- warning: sending 'self.expression' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.expression' to main actor-isolated global function 'execute(_:style:to:description:matcherExecutor:)' risks causing data races between main actor-isolated and task-isolated uses
358 | expression,
359 | style: .toMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:357:33: warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
355 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
356 |
357 | let (pass, msg) = await execute(
| |- warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type '() async -> MatcherResult' to main actor-isolated global function 'execute(_:style:to:description:matcherExecutor:)' risks causing races in between task-isolated and main actor-isolated uses
358 | expression,
359 | style: .toMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:381:33: warning: sending 'self.expression' risks causing data races; this is an error in the Swift 6 language mode
379 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
380 |
381 | let (pass, msg) = await execute(
| |- warning: sending 'self.expression' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.expression' to main actor-isolated global function 'execute(_:style:to:description:matcherExecutor:)' risks causing data races between main actor-isolated and task-isolated uses
382 | expression,
383 | style: .toNotMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:381:33: warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
379 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
380 |
381 | let (pass, msg) = await execute(
| |- warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type '() async -> MatcherResult' to main actor-isolated global function 'execute(_:style:to:description:matcherExecutor:)' risks causing races in between task-isolated and main actor-isolated uses
382 | expression,
383 | style: .toNotMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:414:33: warning: sending 'self.expression' risks causing data races; this is an error in the Swift 6 language mode
412 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
413 |
414 | let (pass, msg) = await execute(
| |- warning: sending 'self.expression' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.expression' to main actor-isolated global function 'execute(_:style:to:description:matcherExecutor:)' risks causing data races between main actor-isolated and task-isolated uses
415 | expression,
416 | style: .toNotMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:414:33: warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
412 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
413 |
414 | let (pass, msg) = await execute(
| |- warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type '() async -> MatcherResult' to main actor-isolated global function 'execute(_:style:to:description:matcherExecutor:)' risks causing races in between task-isolated and main actor-isolated uses
415 | expression,
416 | style: .toNotMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:447:33: warning: sending 'self.expression' risks causing data races; this is an error in the Swift 6 language mode
445 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
446 |
447 | let (pass, msg) = await execute(
| |- warning: sending 'self.expression' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.expression' to main actor-isolated global function 'execute(_:style:to:description:matcherExecutor:)' risks causing data races between main actor-isolated and task-isolated uses
448 | expression,
449 | style: .toMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:447:33: warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
445 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
446 |
447 | let (pass, msg) = await execute(
| |- warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type '() async -> MatcherResult' to main actor-isolated global function 'execute(_:style:to:description:matcherExecutor:)' risks causing races in between task-isolated and main actor-isolated uses
448 | expression,
449 | style: .toMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:481:33: warning: sending 'self.expression' risks causing data races; this is an error in the Swift 6 language mode
479 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
480 |
481 | let (pass, msg) = await execute(
| |- warning: sending 'self.expression' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.expression' to main actor-isolated global function 'execute(_:style:to:description:matcherExecutor:)' risks causing data races between main actor-isolated and task-isolated uses
482 | expression,
483 | style: .toMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:481:33: warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
479 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
480 |
481 | let (pass, msg) = await execute(
| |- warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type '() async -> MatcherResult' to main actor-isolated global function 'execute(_:style:to:description:matcherExecutor:)' risks causing races in between task-isolated and main actor-isolated uses
482 | expression,
483 | style: .toMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:505:33: warning: sending 'self.expression' risks causing data races; this is an error in the Swift 6 language mode
503 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
504 |
505 | let (pass, msg) = await execute(
| |- warning: sending 'self.expression' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.expression' to main actor-isolated global function 'execute(_:style:to:description:matcherExecutor:)' risks causing data races between main actor-isolated and task-isolated uses
506 | expression,
507 | style: .toNotMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:505:33: warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
503 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
504 |
505 | let (pass, msg) = await execute(
| |- warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type '() async -> MatcherResult' to main actor-isolated global function 'execute(_:style:to:description:matcherExecutor:)' risks causing races in between task-isolated and main actor-isolated uses
506 | expression,
507 | style: .toNotMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:538:33: warning: sending 'self.expression' risks causing data races; this is an error in the Swift 6 language mode
536 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
537 |
538 | let (pass, msg) = await execute(
| |- warning: sending 'self.expression' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.expression' to main actor-isolated global function 'execute(_:style:to:description:matcherExecutor:)' risks causing data races between main actor-isolated and task-isolated uses
539 | expression,
540 | style: .toNotMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:538:33: warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
536 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
537 |
538 | let (pass, msg) = await execute(
| |- warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type '() async -> MatcherResult' to main actor-isolated global function 'execute(_:style:to:description:matcherExecutor:)' risks causing races in between task-isolated and main actor-isolated uses
539 | expression,
540 | style: .toNotMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:571:33: warning: sending 'self.expression' risks causing data races; this is an error in the Swift 6 language mode
569 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
570 |
571 | let (pass, msg) = await execute(
| |- warning: sending 'self.expression' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.expression' to main actor-isolated global function 'execute(_:style:to:description:matcherExecutor:)' risks causing data races between main actor-isolated and task-isolated uses
572 | expression,
573 | style: .toMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:571:33: warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
569 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
570 |
571 | let (pass, msg) = await execute(
| |- warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type '() async -> MatcherResult' to main actor-isolated global function 'execute(_:style:to:description:matcherExecutor:)' risks causing races in between task-isolated and main actor-isolated uses
572 | expression,
573 | style: .toMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:202:33: warning: sending 'asyncExpression' risks causing data races; this is an error in the Swift 6 language mode
200 | let asyncExpression = expression.toAsyncExpression()
201 |
202 | let (pass, msg) = await execute(
| |- warning: sending 'asyncExpression' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'asyncExpression' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
203 | asyncExpression,
204 | style: .toMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:202:33: warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
200 | let asyncExpression = expression.toAsyncExpression()
201 |
202 | let (pass, msg) = await execute(
| |- warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type '() async -> MatcherResult' to main actor-isolated callee risks causing races in between task-isolated and main actor-isolated uses
203 | asyncExpression,
204 | style: .toMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:214:29: warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
212 | poll: pollInterval,
213 | fnName: "toEventually") { @MainActor in
214 | try matcher.satisfies(expression.withoutCaching())
| |- warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'matcher' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
215 | }
216 | }
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:214:47: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
212 | poll: pollInterval,
213 | fnName: "toEventually") { @MainActor in
214 | try matcher.satisfies(expression.withoutCaching())
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
215 | }
216 | }
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:228:33: warning: sending 'asyncExpression' risks causing data races; this is an error in the Swift 6 language mode
226 | let asyncExpression = expression.toAsyncExpression()
227 |
228 | let (pass, msg) = await execute(
| |- warning: sending 'asyncExpression' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'asyncExpression' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
229 | asyncExpression,
230 | style: .toNotMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:228:33: warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
226 | let asyncExpression = expression.toAsyncExpression()
227 |
228 | let (pass, msg) = await execute(
| |- warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type '() async -> MatcherResult' to main actor-isolated callee risks causing races in between task-isolated and main actor-isolated uses
229 | asyncExpression,
230 | style: .toNotMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:240:29: warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
238 | poll: pollInterval,
239 | fnName: "toEventuallyNot") { @MainActor in
240 | try matcher.satisfies(expression.withoutCaching())
| |- warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'matcher' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
241 | }
242 | }
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:240:47: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
238 | poll: pollInterval,
239 | fnName: "toEventuallyNot") { @MainActor in
240 | try matcher.satisfies(expression.withoutCaching())
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
241 | }
242 | }
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:262:33: warning: sending 'asyncExpression' risks causing data races; this is an error in the Swift 6 language mode
260 | let asyncExpression = expression.toAsyncExpression()
261 |
262 | let (pass, msg) = await execute(
| |- warning: sending 'asyncExpression' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'asyncExpression' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
263 | asyncExpression,
264 | style: .toNotMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:262:33: warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
260 | let asyncExpression = expression.toAsyncExpression()
261 |
262 | let (pass, msg) = await execute(
| |- warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type '() async -> MatcherResult' to main actor-isolated callee risks causing races in between task-isolated and main actor-isolated uses
263 | asyncExpression,
264 | style: .toNotMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:274:29: warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
272 | poll: pollInterval,
273 | fnName: "toNever") { @MainActor in
274 | try matcher.satisfies(expression.withoutCaching())
| |- warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'matcher' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
275 | }
276 | }
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:274:47: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
272 | poll: pollInterval,
273 | fnName: "toNever") { @MainActor in
274 | try matcher.satisfies(expression.withoutCaching())
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
275 | }
276 | }
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:296:33: warning: sending 'asyncExpression' risks causing data races; this is an error in the Swift 6 language mode
294 | let asyncExpression = expression.toAsyncExpression()
295 |
296 | let (pass, msg) = await execute(
| |- warning: sending 'asyncExpression' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'asyncExpression' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
297 | asyncExpression,
298 | style: .toMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:296:33: warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
294 | let asyncExpression = expression.toAsyncExpression()
295 |
296 | let (pass, msg) = await execute(
| |- warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type '() async -> MatcherResult' to main actor-isolated callee risks causing races in between task-isolated and main actor-isolated uses
297 | asyncExpression,
298 | style: .toMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:308:29: warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
306 | poll: pollInterval,
307 | fnName: "toAlways") { @MainActor in
308 | try matcher.satisfies(expression.withoutCaching())
| |- warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'matcher' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
309 | }
310 | }
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:308:47: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
306 | poll: pollInterval,
307 | fnName: "toAlways") { @MainActor in
308 | try matcher.satisfies(expression.withoutCaching())
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
309 | }
310 | }
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:332:33: warning: sending 'asyncExpression' risks causing data races; this is an error in the Swift 6 language mode
330 | let asyncExpression = expression.toAsyncExpression()
331 |
332 | let (pass, msg) = await execute(
| |- warning: sending 'asyncExpression' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'asyncExpression' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
333 | asyncExpression,
334 | style: .toMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:332:33: warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
330 | let asyncExpression = expression.toAsyncExpression()
331 |
332 | let (pass, msg) = await execute(
| |- warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type '() async -> MatcherResult' to main actor-isolated callee risks causing races in between task-isolated and main actor-isolated uses
333 | asyncExpression,
334 | style: .toMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:344:35: warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
342 | poll: pollInterval,
343 | fnName: "toEventually") { @MainActor in
344 | try await matcher.satisfies(expression.withoutCaching().toAsyncExpression())
| |- warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'matcher' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
345 | }
346 | }
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:344:53: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
342 | poll: pollInterval,
343 | fnName: "toEventually") { @MainActor in
344 | try await matcher.satisfies(expression.withoutCaching().toAsyncExpression())
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
345 | }
346 | }
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:344:43: warning: sending 'self.expression.withoutCaching.toAsyncExpression' risks causing data races; this is an error in the Swift 6 language mode
342 | poll: pollInterval,
343 | fnName: "toEventually") { @MainActor in
344 | try await matcher.satisfies(expression.withoutCaching().toAsyncExpression())
| |- warning: sending 'self.expression.withoutCaching.toAsyncExpression' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.expression.withoutCaching.toAsyncExpression' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
345 | }
346 | }
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:344:43: warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
342 | poll: pollInterval,
343 | fnName: "toEventually") { @MainActor in
344 | try await matcher.satisfies(expression.withoutCaching().toAsyncExpression())
| |- warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'matcher' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
345 | }
346 | }
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:358:33: warning: sending 'asyncExpression' risks causing data races; this is an error in the Swift 6 language mode
356 | let asyncExpression = expression.toAsyncExpression()
357 |
358 | let (pass, msg) = await execute(
| |- warning: sending 'asyncExpression' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'asyncExpression' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
359 | asyncExpression,
360 | style: .toNotMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:358:33: warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
356 | let asyncExpression = expression.toAsyncExpression()
357 |
358 | let (pass, msg) = await execute(
| |- warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type '() async -> MatcherResult' to main actor-isolated callee risks causing races in between task-isolated and main actor-isolated uses
359 | asyncExpression,
360 | style: .toNotMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:370:35: warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
368 | poll: pollInterval,
369 | fnName: "toEventuallyNot") { @MainActor in
370 | try await matcher.satisfies(expression.withoutCaching().toAsyncExpression())
| |- warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'matcher' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
371 | }
372 | }
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:370:53: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
368 | poll: pollInterval,
369 | fnName: "toEventuallyNot") { @MainActor in
370 | try await matcher.satisfies(expression.withoutCaching().toAsyncExpression())
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
371 | }
372 | }
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:370:43: warning: sending 'self.expression.withoutCaching.toAsyncExpression' risks causing data races; this is an error in the Swift 6 language mode
368 | poll: pollInterval,
369 | fnName: "toEventuallyNot") { @MainActor in
370 | try await matcher.satisfies(expression.withoutCaching().toAsyncExpression())
| |- warning: sending 'self.expression.withoutCaching.toAsyncExpression' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.expression.withoutCaching.toAsyncExpression' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
371 | }
372 | }
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:370:43: warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
368 | poll: pollInterval,
369 | fnName: "toEventuallyNot") { @MainActor in
370 | try await matcher.satisfies(expression.withoutCaching().toAsyncExpression())
| |- warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'matcher' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
371 | }
372 | }
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:392:33: warning: sending 'asyncExpression' risks causing data races; this is an error in the Swift 6 language mode
390 | let asyncExpression = expression.toAsyncExpression()
391 |
392 | let (pass, msg) = await execute(
| |- warning: sending 'asyncExpression' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'asyncExpression' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
393 | asyncExpression,
394 | style: .toNotMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:392:33: warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
390 | let asyncExpression = expression.toAsyncExpression()
391 |
392 | let (pass, msg) = await execute(
| |- warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type '() async -> MatcherResult' to main actor-isolated callee risks causing races in between task-isolated and main actor-isolated uses
393 | asyncExpression,
394 | style: .toNotMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:404:35: warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
402 | poll: pollInterval,
403 | fnName: "toNever") { @MainActor in
404 | try await matcher.satisfies(expression.withoutCaching().toAsyncExpression())
| |- warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'matcher' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
405 | }
406 | }
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:404:53: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
402 | poll: pollInterval,
403 | fnName: "toNever") { @MainActor in
404 | try await matcher.satisfies(expression.withoutCaching().toAsyncExpression())
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
405 | }
406 | }
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:404:43: warning: sending 'self.expression.withoutCaching.toAsyncExpression' risks causing data races; this is an error in the Swift 6 language mode
402 | poll: pollInterval,
403 | fnName: "toNever") { @MainActor in
404 | try await matcher.satisfies(expression.withoutCaching().toAsyncExpression())
| |- warning: sending 'self.expression.withoutCaching.toAsyncExpression' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.expression.withoutCaching.toAsyncExpression' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
405 | }
406 | }
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:404:43: warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
402 | poll: pollInterval,
403 | fnName: "toNever") { @MainActor in
404 | try await matcher.satisfies(expression.withoutCaching().toAsyncExpression())
| |- warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'matcher' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
405 | }
406 | }
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:426:33: warning: sending 'asyncExpression' risks causing data races; this is an error in the Swift 6 language mode
424 | let asyncExpression = expression.toAsyncExpression()
425 |
426 | let (pass, msg) = await execute(
| |- warning: sending 'asyncExpression' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'asyncExpression' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
427 | asyncExpression,
428 | style: .toMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:426:33: warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
424 | let asyncExpression = expression.toAsyncExpression()
425 |
426 | let (pass, msg) = await execute(
| |- warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type '() async -> MatcherResult' to main actor-isolated callee risks causing races in between task-isolated and main actor-isolated uses
427 | asyncExpression,
428 | style: .toMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:438:35: warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
436 | poll: pollInterval,
437 | fnName: "toAlways") { @MainActor in
438 | try await matcher.satisfies(expression.withoutCaching().toAsyncExpression())
| |- warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'matcher' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
439 | }
440 | }
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:438:53: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
436 | poll: pollInterval,
437 | fnName: "toAlways") { @MainActor in
438 | try await matcher.satisfies(expression.withoutCaching().toAsyncExpression())
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
439 | }
440 | }
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:438:43: warning: sending 'self.expression.withoutCaching.toAsyncExpression' risks causing data races; this is an error in the Swift 6 language mode
436 | poll: pollInterval,
437 | fnName: "toAlways") { @MainActor in
438 | try await matcher.satisfies(expression.withoutCaching().toAsyncExpression())
| |- warning: sending 'self.expression.withoutCaching.toAsyncExpression' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.expression.withoutCaching.toAsyncExpression' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
439 | }
440 | }
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:438:43: warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
436 | poll: pollInterval,
437 | fnName: "toAlways") { @MainActor in
438 | try await matcher.satisfies(expression.withoutCaching().toAsyncExpression())
| |- warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'matcher' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
439 | }
440 | }
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:462:33: warning: sending 'self.expression' risks causing data races; this is an error in the Swift 6 language mode
460 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
461 |
462 | let (pass, msg) = await execute(
| |- warning: sending 'self.expression' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.expression' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
463 | expression,
464 | style: .toMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:462:33: warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
460 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
461 |
462 | let (pass, msg) = await execute(
| |- warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type '() async -> MatcherResult' to main actor-isolated callee risks causing races in between task-isolated and main actor-isolated uses
463 | expression,
464 | style: .toMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:486:33: warning: sending 'self.expression' risks causing data races; this is an error in the Swift 6 language mode
484 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
485 |
486 | let (pass, msg) = await execute(
| |- warning: sending 'self.expression' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.expression' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
487 | expression,
488 | style: .toNotMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:486:33: warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
484 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
485 |
486 | let (pass, msg) = await execute(
| |- warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type '() async -> MatcherResult' to main actor-isolated callee risks causing races in between task-isolated and main actor-isolated uses
487 | expression,
488 | style: .toNotMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:519:33: warning: sending 'self.expression' risks causing data races; this is an error in the Swift 6 language mode
517 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
518 |
519 | let (pass, msg) = await execute(
| |- warning: sending 'self.expression' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.expression' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
520 | expression,
521 | style: .toNotMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:519:33: warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
517 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
518 |
519 | let (pass, msg) = await execute(
| |- warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type '() async -> MatcherResult' to main actor-isolated callee risks causing races in between task-isolated and main actor-isolated uses
520 | expression,
521 | style: .toNotMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:552:33: warning: sending 'self.expression' risks causing data races; this is an error in the Swift 6 language mode
550 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
551 |
552 | let (pass, msg) = await execute(
| |- warning: sending 'self.expression' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.expression' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
553 | expression,
554 | style: .toMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:552:33: warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
550 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
551 |
552 | let (pass, msg) = await execute(
| |- warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type '() async -> MatcherResult' to main actor-isolated callee risks causing races in between task-isolated and main actor-isolated uses
553 | expression,
554 | style: .toMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:586:33: warning: sending 'self.expression' risks causing data races; this is an error in the Swift 6 language mode
584 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
585 |
586 | let (pass, msg) = await execute(
| |- warning: sending 'self.expression' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.expression' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
587 | expression,
588 | style: .toMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:586:33: warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
584 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
585 |
586 | let (pass, msg) = await execute(
| |- warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type '() async -> MatcherResult' to main actor-isolated callee risks causing races in between task-isolated and main actor-isolated uses
587 | expression,
588 | style: .toMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:610:33: warning: sending 'self.expression' risks causing data races; this is an error in the Swift 6 language mode
608 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
609 |
610 | let (pass, msg) = await execute(
| |- warning: sending 'self.expression' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.expression' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
611 | expression,
612 | style: .toNotMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:610:33: warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
608 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
609 |
610 | let (pass, msg) = await execute(
| |- warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type '() async -> MatcherResult' to main actor-isolated callee risks causing races in between task-isolated and main actor-isolated uses
611 | expression,
612 | style: .toNotMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:643:33: warning: sending 'self.expression' risks causing data races; this is an error in the Swift 6 language mode
641 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
642 |
643 | let (pass, msg) = await execute(
| |- warning: sending 'self.expression' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.expression' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
644 | expression,
645 | style: .toNotMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:643:33: warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
641 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
642 |
643 | let (pass, msg) = await execute(
| |- warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type '() async -> MatcherResult' to main actor-isolated callee risks causing races in between task-isolated and main actor-isolated uses
644 | expression,
645 | style: .toNotMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:676:33: warning: sending 'self.expression' risks causing data races; this is an error in the Swift 6 language mode
674 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
675 |
676 | let (pass, msg) = await execute(
| |- warning: sending 'self.expression' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.expression' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
677 | expression,
678 | style: .toMatch,
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Polling+Require.swift:676:33: warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
674 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
675 |
676 | let (pass, msg) = await execute(
| |- warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type '() async -> MatcherResult' to main actor-isolated callee risks causing races in between task-isolated and main actor-isolated uses
677 | expression,
678 | style: .toMatch,
[73/90] Compiling Nimble Expectation.swift
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Expression.swift:109:61: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
107 | public func toAsyncExpression() -> AsyncExpression<Value> {
108 | AsyncExpression(
109 | memoizedExpression: { @MainActor memoize in try _expression(memoize) },
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
110 | location: location,
111 | withoutCaching: _withoutCaching,
[74/90] Compiling Nimble ExpectationMessage.swift
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Expression.swift:109:61: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
107 | public func toAsyncExpression() -> AsyncExpression<Value> {
108 | AsyncExpression(
109 | memoizedExpression: { @MainActor memoize in try _expression(memoize) },
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
110 | location: location,
111 | withoutCaching: _withoutCaching,
[75/90] Compiling Nimble Expression.swift
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Expression.swift:109:61: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
107 | public func toAsyncExpression() -> AsyncExpression<Value> {
108 | AsyncExpression(
109 | memoizedExpression: { @MainActor memoize in try _expression(memoize) },
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
110 | location: location,
111 | withoutCaching: _withoutCaching,
[76/90] Compiling Nimble FailureMessage.swift
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Expression.swift:109:61: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
107 | public func toAsyncExpression() -> AsyncExpression<Value> {
108 | AsyncExpression(
109 | memoizedExpression: { @MainActor memoize in try _expression(memoize) },
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
110 | location: location,
111 | withoutCaching: _withoutCaching,
[77/90] Compiling Nimble AllPass.swift
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Expression.swift:109:61: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
107 | public func toAsyncExpression() -> AsyncExpression<Value> {
108 | AsyncExpression(
109 | memoizedExpression: { @MainActor memoize in try _expression(memoize) },
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
110 | location: location,
111 | withoutCaching: _withoutCaching,
[78/90] Compiling Nimble AsyncAllPass.swift
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Expression.swift:109:61: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
107 | public func toAsyncExpression() -> AsyncExpression<Value> {
108 | AsyncExpression(
109 | memoizedExpression: { @MainActor memoize in try _expression(memoize) },
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
110 | location: location,
111 | withoutCaching: _withoutCaching,
[79/90] Compiling Nimble AsyncMatcher.swift
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Expression.swift:109:61: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
107 | public func toAsyncExpression() -> AsyncExpression<Value> {
108 | AsyncExpression(
109 | memoizedExpression: { @MainActor memoize in try _expression(memoize) },
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
110 | location: location,
111 | withoutCaching: _withoutCaching,
[80/90] Compiling Nimble NimbleXCTestHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Adapters/NimbleXCTestHandler.swift:51:29: warning: static property 'sharedInstance' is not concurrency-safe because non-'Sendable' type 'CurrentTestCaseTracker' may have shared mutable state; this is an error in the Swift 6 language mode
48 | #if canImport(Darwin)
49 | /// Helper class providing access to the currently executing XCTestCase instance, if any
50 | @objc final public class CurrentTestCaseTracker: NSObject, XCTestObservation {
| `- note: class 'CurrentTestCaseTracker' does not conform to the 'Sendable' protocol
51 | @objc public static let sharedInstance = CurrentTestCaseTracker()
| |- warning: static property 'sharedInstance' is not concurrency-safe because non-'Sendable' type 'CurrentTestCaseTracker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sharedInstance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | private(set) var currentTestCase: XCTestCase?
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/DSL+AsyncAwait.swift:102:15: warning: capture of 'action' with non-sendable type '(@escaping @Sendable () -> Void) async -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
100 | sourceLocation: SourceLocation(fileID: fileID, filePath: file, line: line, column: column)
101 | ) { done in
102 | await action(done)
| |- warning: capture of 'action' with non-sendable type '(@escaping @Sendable () -> Void) async -> 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'
103 | }
104 | }
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/DSL+AsyncAwait.swift:125:9: warning: capture of 'action' with non-sendable type '(@escaping @Sendable () -> Void) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
123 | sourceLocation: SourceLocation(fileID: fileID, filePath: file, line: line, column: column)
124 | ) { done in
125 | action(done)
| |- warning: capture of 'action' with non-sendable type '(@escaping @Sendable () -> Void) -> 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'
126 | }
127 | }
[81/90] Compiling Nimble ExceptionCapture.swift
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Adapters/NimbleXCTestHandler.swift:51:29: warning: static property 'sharedInstance' is not concurrency-safe because non-'Sendable' type 'CurrentTestCaseTracker' may have shared mutable state; this is an error in the Swift 6 language mode
48 | #if canImport(Darwin)
49 | /// Helper class providing access to the currently executing XCTestCase instance, if any
50 | @objc final public class CurrentTestCaseTracker: NSObject, XCTestObservation {
| `- note: class 'CurrentTestCaseTracker' does not conform to the 'Sendable' protocol
51 | @objc public static let sharedInstance = CurrentTestCaseTracker()
| |- warning: static property 'sharedInstance' is not concurrency-safe because non-'Sendable' type 'CurrentTestCaseTracker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sharedInstance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | private(set) var currentTestCase: XCTestCase?
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/DSL+AsyncAwait.swift:102:15: warning: capture of 'action' with non-sendable type '(@escaping @Sendable () -> Void) async -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
100 | sourceLocation: SourceLocation(fileID: fileID, filePath: file, line: line, column: column)
101 | ) { done in
102 | await action(done)
| |- warning: capture of 'action' with non-sendable type '(@escaping @Sendable () -> Void) async -> 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'
103 | }
104 | }
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/DSL+AsyncAwait.swift:125:9: warning: capture of 'action' with non-sendable type '(@escaping @Sendable () -> Void) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
123 | sourceLocation: SourceLocation(fileID: fileID, filePath: file, line: line, column: column)
124 | ) { done in
125 | action(done)
| |- warning: capture of 'action' with non-sendable type '(@escaping @Sendable () -> Void) -> 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'
126 | }
127 | }
[82/90] Compiling Nimble AsyncExpression.swift
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Adapters/NimbleXCTestHandler.swift:51:29: warning: static property 'sharedInstance' is not concurrency-safe because non-'Sendable' type 'CurrentTestCaseTracker' may have shared mutable state; this is an error in the Swift 6 language mode
48 | #if canImport(Darwin)
49 | /// Helper class providing access to the currently executing XCTestCase instance, if any
50 | @objc final public class CurrentTestCaseTracker: NSObject, XCTestObservation {
| `- note: class 'CurrentTestCaseTracker' does not conform to the 'Sendable' protocol
51 | @objc public static let sharedInstance = CurrentTestCaseTracker()
| |- warning: static property 'sharedInstance' is not concurrency-safe because non-'Sendable' type 'CurrentTestCaseTracker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sharedInstance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | private(set) var currentTestCase: XCTestCase?
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/DSL+AsyncAwait.swift:102:15: warning: capture of 'action' with non-sendable type '(@escaping @Sendable () -> Void) async -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
100 | sourceLocation: SourceLocation(fileID: fileID, filePath: file, line: line, column: column)
101 | ) { done in
102 | await action(done)
| |- warning: capture of 'action' with non-sendable type '(@escaping @Sendable () -> Void) async -> 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'
103 | }
104 | }
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/DSL+AsyncAwait.swift:125:9: warning: capture of 'action' with non-sendable type '(@escaping @Sendable () -> Void) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
123 | sourceLocation: SourceLocation(fileID: fileID, filePath: file, line: line, column: column)
124 | ) { done in
125 | action(done)
| |- warning: capture of 'action' with non-sendable type '(@escaping @Sendable () -> Void) -> 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'
126 | }
127 | }
[83/90] Compiling Nimble DSL+AsyncAwait.swift
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Adapters/NimbleXCTestHandler.swift:51:29: warning: static property 'sharedInstance' is not concurrency-safe because non-'Sendable' type 'CurrentTestCaseTracker' may have shared mutable state; this is an error in the Swift 6 language mode
48 | #if canImport(Darwin)
49 | /// Helper class providing access to the currently executing XCTestCase instance, if any
50 | @objc final public class CurrentTestCaseTracker: NSObject, XCTestObservation {
| `- note: class 'CurrentTestCaseTracker' does not conform to the 'Sendable' protocol
51 | @objc public static let sharedInstance = CurrentTestCaseTracker()
| |- warning: static property 'sharedInstance' is not concurrency-safe because non-'Sendable' type 'CurrentTestCaseTracker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sharedInstance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | private(set) var currentTestCase: XCTestCase?
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/DSL+AsyncAwait.swift:102:15: warning: capture of 'action' with non-sendable type '(@escaping @Sendable () -> Void) async -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
100 | sourceLocation: SourceLocation(fileID: fileID, filePath: file, line: line, column: column)
101 | ) { done in
102 | await action(done)
| |- warning: capture of 'action' with non-sendable type '(@escaping @Sendable () -> Void) async -> 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'
103 | }
104 | }
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/DSL+AsyncAwait.swift:125:9: warning: capture of 'action' with non-sendable type '(@escaping @Sendable () -> Void) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
123 | sourceLocation: SourceLocation(fileID: fileID, filePath: file, line: line, column: column)
124 | ) { done in
125 | action(done)
| |- warning: capture of 'action' with non-sendable type '(@escaping @Sendable () -> Void) -> 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'
126 | }
127 | }
[84/90] Compiling Nimble DSL+Require.swift
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Adapters/NimbleXCTestHandler.swift:51:29: warning: static property 'sharedInstance' is not concurrency-safe because non-'Sendable' type 'CurrentTestCaseTracker' may have shared mutable state; this is an error in the Swift 6 language mode
48 | #if canImport(Darwin)
49 | /// Helper class providing access to the currently executing XCTestCase instance, if any
50 | @objc final public class CurrentTestCaseTracker: NSObject, XCTestObservation {
| `- note: class 'CurrentTestCaseTracker' does not conform to the 'Sendable' protocol
51 | @objc public static let sharedInstance = CurrentTestCaseTracker()
| |- warning: static property 'sharedInstance' is not concurrency-safe because non-'Sendable' type 'CurrentTestCaseTracker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sharedInstance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | private(set) var currentTestCase: XCTestCase?
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/DSL+AsyncAwait.swift:102:15: warning: capture of 'action' with non-sendable type '(@escaping @Sendable () -> Void) async -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
100 | sourceLocation: SourceLocation(fileID: fileID, filePath: file, line: line, column: column)
101 | ) { done in
102 | await action(done)
| |- warning: capture of 'action' with non-sendable type '(@escaping @Sendable () -> Void) async -> 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'
103 | }
104 | }
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/DSL+AsyncAwait.swift:125:9: warning: capture of 'action' with non-sendable type '(@escaping @Sendable () -> Void) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
123 | sourceLocation: SourceLocation(fileID: fileID, filePath: file, line: line, column: column)
124 | ) { done in
125 | action(done)
| |- warning: capture of 'action' with non-sendable type '(@escaping @Sendable () -> Void) -> 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'
126 | }
127 | }
[85/90] Compiling Nimble DSL+Wait.swift
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Adapters/NimbleXCTestHandler.swift:51:29: warning: static property 'sharedInstance' is not concurrency-safe because non-'Sendable' type 'CurrentTestCaseTracker' may have shared mutable state; this is an error in the Swift 6 language mode
48 | #if canImport(Darwin)
49 | /// Helper class providing access to the currently executing XCTestCase instance, if any
50 | @objc final public class CurrentTestCaseTracker: NSObject, XCTestObservation {
| `- note: class 'CurrentTestCaseTracker' does not conform to the 'Sendable' protocol
51 | @objc public static let sharedInstance = CurrentTestCaseTracker()
| |- warning: static property 'sharedInstance' is not concurrency-safe because non-'Sendable' type 'CurrentTestCaseTracker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sharedInstance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | private(set) var currentTestCase: XCTestCase?
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/DSL+AsyncAwait.swift:102:15: warning: capture of 'action' with non-sendable type '(@escaping @Sendable () -> Void) async -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
100 | sourceLocation: SourceLocation(fileID: fileID, filePath: file, line: line, column: column)
101 | ) { done in
102 | await action(done)
| |- warning: capture of 'action' with non-sendable type '(@escaping @Sendable () -> Void) async -> 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'
103 | }
104 | }
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/DSL+AsyncAwait.swift:125:9: warning: capture of 'action' with non-sendable type '(@escaping @Sendable () -> Void) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
123 | sourceLocation: SourceLocation(fileID: fileID, filePath: file, line: line, column: column)
124 | ) { done in
125 | action(done)
| |- warning: capture of 'action' with non-sendable type '(@escaping @Sendable () -> Void) -> 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'
126 | }
127 | }
[86/90] Compiling Nimble DSL.swift
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Adapters/NimbleXCTestHandler.swift:51:29: warning: static property 'sharedInstance' is not concurrency-safe because non-'Sendable' type 'CurrentTestCaseTracker' may have shared mutable state; this is an error in the Swift 6 language mode
48 | #if canImport(Darwin)
49 | /// Helper class providing access to the currently executing XCTestCase instance, if any
50 | @objc final public class CurrentTestCaseTracker: NSObject, XCTestObservation {
| `- note: class 'CurrentTestCaseTracker' does not conform to the 'Sendable' protocol
51 | @objc public static let sharedInstance = CurrentTestCaseTracker()
| |- warning: static property 'sharedInstance' is not concurrency-safe because non-'Sendable' type 'CurrentTestCaseTracker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sharedInstance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | private(set) var currentTestCase: XCTestCase?
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/DSL+AsyncAwait.swift:102:15: warning: capture of 'action' with non-sendable type '(@escaping @Sendable () -> Void) async -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
100 | sourceLocation: SourceLocation(fileID: fileID, filePath: file, line: line, column: column)
101 | ) { done in
102 | await action(done)
| |- warning: capture of 'action' with non-sendable type '(@escaping @Sendable () -> Void) async -> 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'
103 | }
104 | }
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/DSL+AsyncAwait.swift:125:9: warning: capture of 'action' with non-sendable type '(@escaping @Sendable () -> Void) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
123 | sourceLocation: SourceLocation(fileID: fileID, filePath: file, line: line, column: column)
124 | ) { done in
125 | action(done)
| |- warning: capture of 'action' with non-sendable type '(@escaping @Sendable () -> Void) -> 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'
126 | }
127 | }
[86/90] Compiling NimbleObjectiveC NMBExceptionCapture.m
[87/90] Compiling NimbleObjectiveC DSL.m
[88/90] Compiling NimbleObjectiveC NMBStringify.m
[89/90] Compiling NimbleObjectiveC XCTestObservationCenter+Register.m
[91/92] Compiling NimbleSharedTestHelpers utils.swift
/Users/admin/builder/spi-builder-workspace/Sources/NimbleSharedTestHelpers/utils.swift:58:9: warning: reference to var 'NimbleAssertionHandler' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
56 | """
57 | }
58 | NimbleAssertionHandler.assert(false,
| `- warning: reference to var 'NimbleAssertionHandler' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
59 | message: FailureMessage(stringValue: message),
60 | location: location)
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Adapters/AdapterProtocols.swift:13:12: note: var declared here
11 | ///
12 | /// @see AssertionHandler
13 | public var NimbleAssertionHandler: AssertionHandler = { () -> AssertionHandler in
| `- note: var declared here
14 | // swiftlint:disable:previous identifier_name
15 | if isSwiftTestingAvailable() || isXCTestAvailable() {
/Users/admin/builder/spi-builder-workspace/Sources/NimbleSharedTestHelpers/utils.swift:88:5: warning: reference to var 'NimbleAssertionHandler' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
86 | \(recorder.assertions)
87 | """
88 | NimbleAssertionHandler.assert(false,
| `- warning: reference to var 'NimbleAssertionHandler' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
89 | message: FailureMessage(stringValue: message),
90 | location: SourceLocation(fileID: fileID, filePath: filePath, line: line, column: column))
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Adapters/AdapterProtocols.swift:13:12: note: var declared here
11 | ///
12 | /// @see AssertionHandler
13 | public var NimbleAssertionHandler: AssertionHandler = { () -> AssertionHandler in
| `- note: var declared here
14 | // swiftlint:disable:previous identifier_name
15 | if isSwiftTestingAvailable() || isXCTestAvailable() {
/Users/admin/builder/spi-builder-workspace/Sources/NimbleSharedTestHelpers/utils.swift:164:9: warning: reference to var 'NimbleAssertionHandler' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
162 | """
163 | }
164 | NimbleAssertionHandler.assert(false,
| `- warning: reference to var 'NimbleAssertionHandler' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
165 | message: FailureMessage(stringValue: message),
166 | location: sourceLocation)
/Users/admin/builder/spi-builder-workspace/Sources/Nimble/Adapters/AdapterProtocols.swift:13:12: note: var declared here
11 | ///
12 | /// @see AssertionHandler
13 | public var NimbleAssertionHandler: AssertionHandler = { () -> AssertionHandler in
| `- note: var declared here
14 | // swiftlint:disable:previous identifier_name
15 | if isSwiftTestingAvailable() || isXCTestAvailable() {
/Users/admin/builder/spi-builder-workspace/Sources/NimbleSharedTestHelpers/utils.swift:220:9: warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
218 | DispatchQueue.main.async {
219 | Thread.sleep(forTimeInterval: 0.01)
220 | action()
| |- warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'action' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
221 | }
222 | }
[92/92] Emitting module NimbleSharedTestHelpers
Build complete! (39.03s)
warning: 'spi-builder-workspace': /Users/admin/builder/spi-builder-workspace/Package.swift:4:15: warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
2 | import PackageDescription
3 |
4 | let package = Package(
| |- warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
| `- note: use 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' instead
5 | name: "Nimble",
6 | platforms: [
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
Fetching https://github.com/apple/swift-docc-plugin
[1/1257] Fetching cwlpreconditiontesting
[203/3415] Fetching cwlpreconditiontesting, swift-docc-plugin
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.85s)
[259/2158] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (1.23s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (4.51s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/460] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.71s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (1.29s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (0.55s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit from cache
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.86s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.51s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.5
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Build complete.
{
"dependencies" : [
{
"identity" : "cwlpreconditiontesting",
"requirement" : {
"range" : [
{
"lower_bound" : "2.2.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/mattgallagher/CwlPreconditionTesting.git"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "Nimble",
"name" : "Nimble",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "Nimble",
"targets" : [
"Nimble",
"NimbleObjectiveC"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "NimbleTests",
"module_type" : "SwiftTarget",
"name" : "NimbleTests",
"path" : "Tests/NimbleTests",
"sources" : [
"AsyncAwaitTest+Require.swift",
"AsyncAwaitTest.swift",
"AsyncTimerSequenceTest.swift",
"DSLTest.swift",
"Helpers/AsyncHelpers.swift",
"Helpers/BackgroundThreadObject.swift",
"Helpers/ObjectWithLazyProperty.swift",
"LinuxSupport.swift",
"Matchers/AllPassTest.swift",
"Matchers/AlwaysFailMatcher.swift",
"Matchers/AsyncAllPassTest.swift",
"Matchers/AsyncPredicateTest.swift",
"Matchers/BeAKindOfTest.swift",
"Matchers/BeAnInstanceOfTest.swift",
"Matchers/BeCloseToTest.swift",
"Matchers/BeEmptyTest.swift",
"Matchers/BeGreaterThanOrEqualToTest.swift",
"Matchers/BeGreaterThanTest.swift",
"Matchers/BeIdenticalToObjectTest.swift",
"Matchers/BeIdenticalToTest.swift",
"Matchers/BeLessThanOrEqualToTest.swift",
"Matchers/BeLessThanTest.swift",
"Matchers/BeLogicalTest.swift",
"Matchers/BeNilTest.swift",
"Matchers/BeResultTest.swift",
"Matchers/BeVoidTest.swift",
"Matchers/BeWithinTest.swift",
"Matchers/BeginWithPrefixTest.swift",
"Matchers/BeginWithTest.swift",
"Matchers/ContainElementSatisfyingTest.swift",
"Matchers/ContainTest.swift",
"Matchers/ElementsEqualTest.swift",
"Matchers/EndWithTest.swift",
"Matchers/EqualTest.swift",
"Matchers/HaveCountTest.swift",
"Matchers/MapTest.swift",
"Matchers/MatchErrorTest.swift",
"Matchers/MatchTest.swift",
"Matchers/NegationTest.swift",
"Matchers/PostNotificationTest.swift",
"Matchers/RaisesExceptionTest.swift",
"Matchers/SatisfyAllOfTest.swift",
"Matchers/SatisfyAnyOfTest.swift",
"Matchers/ThrowAssertionTest.swift",
"Matchers/ThrowErrorTest.swift",
"Matchers/ToSucceedTest.swift",
"NimbleTimeIntervalTest.swift",
"OnFailureThrowsTest.swift",
"PollingTest+Require.swift",
"PollingTest.swift",
"PredicateTest.swift",
"StatusTest.swift",
"SwiftTestingSupportTest.swift",
"SynchronousTest.swift",
"UserDescriptionTest.swift"
],
"target_dependencies" : [
"Nimble",
"NimbleSharedTestHelpers"
],
"type" : "test"
},
{
"c99name" : "NimbleSharedTestHelpers",
"module_type" : "SwiftTarget",
"name" : "NimbleSharedTestHelpers",
"path" : "Sources/NimbleSharedTestHelpers",
"sources" : [
"utils.swift"
],
"target_dependencies" : [
"Nimble",
"NimbleObjectiveC"
],
"type" : "library"
},
{
"c99name" : "NimbleObjectiveCTests",
"module_type" : "ClangTarget",
"name" : "NimbleObjectiveCTests",
"path" : "Tests/NimbleObjectiveCTests",
"sources" : [
"ObjCAllPassTest.m",
"ObjCAsyncTest.m",
"ObjCBeAnInstanceOfTest.m",
"ObjCBeCloseToTest.m",
"ObjCBeEmptyTest.m",
"ObjCBeFalseTest.m",
"ObjCBeFalsyTest.m",
"ObjCBeGreaterThanOrEqualToTest.m",
"ObjCBeGreaterThanTest.m",
"ObjCBeIdenticalToTest.m",
"ObjCBeKindOfTest.m",
"ObjCBeLessThanOrEqualToTest.m",
"ObjCBeLessThanTest.m",
"ObjCBeNilTest.m",
"ObjCBeTrueTest.m",
"ObjCBeTruthyTest.m",
"ObjCBeginWithTest.m",
"ObjCContainElementSatisfyingTest.m",
"ObjCContainTest.m",
"ObjCEndWithTest.m",
"ObjCEqualTest.m",
"ObjCHaveCountTest.m",
"ObjCMatchTest.m",
"ObjCRaiseExceptionTest.m",
"ObjCSatisfyAllOfTest.m",
"ObjCSatisfyAnyOfTest.m",
"ObjCSyncTest.m",
"ObjCUserDescriptionTest.m",
"ObjcStringersTest.m"
],
"target_dependencies" : [
"NimbleObjectiveC",
"Nimble",
"NimbleSharedTestHelpers"
],
"type" : "test"
},
{
"c99name" : "NimbleObjectiveC",
"module_type" : "ClangTarget",
"name" : "NimbleObjectiveC",
"path" : "Sources/NimbleObjectiveC",
"product_memberships" : [
"Nimble"
],
"sources" : [
"DSL.m",
"NMBExceptionCapture.m",
"NMBStringify.m",
"XCTestObservationCenter+Register.m"
],
"target_dependencies" : [
"Nimble"
],
"type" : "library"
},
{
"c99name" : "Nimble",
"module_type" : "SwiftTarget",
"name" : "Nimble",
"path" : "Sources/Nimble",
"product_dependencies" : [
"CwlPreconditionTesting",
"CwlPosixPreconditionTesting"
],
"product_memberships" : [
"Nimble"
],
"sources" : [
"Adapters/AdapterProtocols.swift",
"Adapters/AssertionDispatcher.swift",
"Adapters/AssertionRecorder+Async.swift",
"Adapters/AssertionRecorder.swift",
"Adapters/NMBExpectation.swift",
"Adapters/NimbleEnvironment.swift",
"Adapters/NimbleSwiftTestingHandler.swift",
"Adapters/NimbleXCTestHandler.swift",
"Adapters/NonObjectiveC/ExceptionCapture.swift",
"AsyncExpression.swift",
"DSL+AsyncAwait.swift",
"DSL+Require.swift",
"DSL+Wait.swift",
"DSL.swift",
"Expectation.swift",
"ExpectationMessage.swift",
"Expression.swift",
"FailureMessage.swift",
"Matchers/AllPass.swift",
"Matchers/AsyncAllPass.swift",
"Matchers/AsyncMatcher.swift",
"Matchers/BeAKindOf.swift",
"Matchers/BeAnInstanceOf.swift",
"Matchers/BeCloseTo.swift",
"Matchers/BeEmpty.swift",
"Matchers/BeGreaterThan.swift",
"Matchers/BeGreaterThanOrEqualTo.swift",
"Matchers/BeIdenticalTo.swift",
"Matchers/BeLessThan.swift",
"Matchers/BeLessThanOrEqual.swift",
"Matchers/BeLogical.swift",
"Matchers/BeNil.swift",
"Matchers/BeResult.swift",
"Matchers/BeVoid.swift",
"Matchers/BeWithin.swift",
"Matchers/BeginWith.swift",
"Matchers/BeginWithPrefix.swift",
"Matchers/Contain.swift",
"Matchers/ContainElementSatisfying.swift",
"Matchers/ElementsEqual.swift",
"Matchers/EndWith.swift",
"Matchers/Equal+Tuple.swift",
"Matchers/Equal+TupleArray.swift",
"Matchers/Equal.swift",
"Matchers/HaveCount.swift",
"Matchers/Map.swift",
"Matchers/Match.swift",
"Matchers/MatchError.swift",
"Matchers/Matcher.swift",
"Matchers/MatcherProtocols.swift",
"Matchers/Negation.swift",
"Matchers/PostNotification.swift",
"Matchers/RaisesException.swift",
"Matchers/SatisfyAllOf.swift",
"Matchers/SatisfyAnyOf.swift",
"Matchers/ThrowAssertion.swift",
"Matchers/ThrowError.swift",
"Matchers/ToSucceed.swift",
"Polling+AsyncAwait.swift",
"Polling+Require.swift",
"Polling.swift",
"Requirement.swift",
"Utils/AsyncAwait.swift",
"Utils/AsyncTimerSequence.swift",
"Utils/Errors.swift",
"Utils/NimbleTimeInterval.swift",
"Utils/PollAwait.swift",
"Utils/SourceLocation.swift",
"Utils/Stringers.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
warning: 'spi-builder-workspace': /Users/admin/builder/spi-builder-workspace/Package.swift:4:15: warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
2 | import PackageDescription
3 |
4 | let package = Package(
| |- warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
| `- note: use 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' instead
5 | name: "Nimble",
6 | platforms: [
Done.