Build Information
Successful build of Nimble, reference v13.7.1 (7795df
), with Swift 6.1 for Linux on 30 Apr 2025 03:43:18 UTC.
Swift 6 data race errors: 4
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
345 | }
346 | }
/host/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 | }
/host/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 | }
/host/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 | }
/host/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,
/host/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,
/host/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 | }
/host/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 | }
/host/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 | }
/host/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 | }
/host/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,
/host/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,
/host/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 | }
/host/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 | }
/host/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 | }
/host/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 | }
/host/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,
/host/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,
/host/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 | }
/host/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 | }
/host/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 | }
/host/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 | }
/host/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,
/host/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,
/host/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,
/host/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,
/host/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,
/host/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,
/host/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,
/host/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,
/host/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,
/host/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,
/host/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,
/host/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,
/host/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,
/host/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,
/host/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,
/host/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,
[66/75] Compiling Nimble Polling.swift
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:12:32: warning: non-sendable result type 'MatcherResult' cannot be sent from nonisolated context in call to parameter 'matcherExecutor'; this is an error in the Swift 6 language mode
10 | msg.to = to
11 | do {
12 | let result = try await matcherExecutor()
| `- warning: non-sendable result type 'MatcherResult' cannot be sent from nonisolated context in call to parameter 'matcherExecutor'; this is an error in the Swift 6 language mode
13 | result.message.update(failureMessage: msg)
14 | if msg.actualValue == "" {
/host/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
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:15:66: warning: non-sendable result type 'T?' cannot be sent from nonisolated context in call to instance method 'evaluate()'; this is an error in the Swift 6 language mode
5 |
6 | @MainActor
7 | internal func execute<T>(_ expression: AsyncExpression<T>, style: ExpectationStyle, to: String, description: String?, matcherExecutor: () async throws -> MatcherResult) async -> (Bool, FailureMessage) {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
8 | let msg = FailureMessage()
9 | msg.userDescription = description
:
13 | result.message.update(failureMessage: msg)
14 | if msg.actualValue == "" {
15 | msg.actualValue = "<\(stringify(try await expression.evaluate()))>"
| `- warning: non-sendable result type 'T?' cannot be sent from nonisolated context in call to instance method 'evaluate()'; this is an error in the Swift 6 language mode
16 | }
17 | return (result.toBoolean(expectation: style), msg)
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:38:28: warning: non-sendable result type 'AsyncPollResult<Bool>' cannot be sent from nonisolated context in call to global function 'pollBlock(pollInterval:timeoutInterval:sourceLocation:fnName:expression:)'; 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: non-sendable result type 'AsyncPollResult<Bool>' cannot be sent from nonisolated context in call to global function 'pollBlock(pollInterval:timeoutInterval:sourceLocation:fnName:expression:)'; this is an error in the Swift 6 language mode
39 | pollInterval: poll,
40 | timeoutInterval: timeout,
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:15:15: note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:43:63: 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
41 | sourceLocation: expression.location,
42 | fnName: fnName) {
43 | 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
44 | .toBoolean(expectation: style) {
45 | if matchStyle.isContinous {
/host/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
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:77: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
75 | ) async -> MatcherResult {
76 | let poller = Poller<T>()
77 | 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
78 | expression: expression,
79 | style: style,
/host/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
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:98: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
96 | let asyncExpression = expression.toAsyncExpression()
97 |
98 | 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
99 | asyncExpression,
100 | style: .toMatch,
/host/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
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:124: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
122 | let asyncExpression = expression.toAsyncExpression()
123 |
124 | 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
125 | asyncExpression,
126 | style: .toNotMatch,
/host/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
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:158: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
156 | let asyncExpression = expression.toAsyncExpression()
157 |
158 | 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
159 | asyncExpression,
160 | style: .toNotMatch,
/host/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
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:192: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
190 | let asyncExpression = expression.toAsyncExpression()
191 |
192 | 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
193 | asyncExpression,
194 | style: .toMatch,
/host/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
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.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: .toMatch,
/host/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
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:240: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
238 | poll: pollInterval,
239 | fnName: "toEventually") { @MainActor in
240 | 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
241 | }
242 | }
/host/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
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:254: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
252 | let asyncExpression = expression.toAsyncExpression()
253 |
254 | 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
255 | asyncExpression,
256 | style: .toNotMatch,
/host/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
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:266: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
264 | poll: pollInterval,
265 | fnName: "toEventuallyNot") { @MainActor in
266 | 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
267 | }
268 | }
/host/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
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:288: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
286 | let asyncExpression = expression.toAsyncExpression()
287 |
288 | 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
289 | asyncExpression,
290 | style: .toNotMatch,
/host/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
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:300: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
298 | poll: pollInterval,
299 | fnName: "toNever") { @MainActor in
300 | 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
301 | }
302 | }
/host/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
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:322: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
320 | let asyncExpression = expression.toAsyncExpression()
321 |
322 | 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
323 | asyncExpression,
324 | style: .toMatch,
/host/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
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:334: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
332 | poll: pollInterval,
333 | fnName: "toAlways") { @MainActor in
334 | 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
335 | }
336 | }
/host/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
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.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 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
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 | expression,
360 | style: .toMatch,
/host/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
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:382: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
380 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
381 |
382 | 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
383 | expression,
384 | style: .toNotMatch,
/host/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
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:415: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
413 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
414 |
415 | 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
416 | expression,
417 | style: .toNotMatch,
/host/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
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:448: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
446 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
447 |
448 | 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
449 | expression,
450 | style: .toMatch,
/host/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
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:482: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
480 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
481 |
482 | 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
483 | expression,
484 | style: .toMatch,
/host/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
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:506: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
504 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
505 |
506 | 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
507 | expression,
508 | style: .toNotMatch,
/host/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
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:539: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
537 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
538 |
539 | 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
540 | expression,
541 | style: .toNotMatch,
/host/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
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:572: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
570 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
571 |
572 | 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
573 | expression,
574 | style: .toMatch,
/host/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
/host/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,
/host/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
/host/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,
/host/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
/host/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,
/host/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
/host/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,
/host/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
/host/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,
/host/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
/host/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 | }
/host/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
/host/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,
/host/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
/host/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 | }
/host/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
/host/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,
/host/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
/host/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 | }
/host/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
/host/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,
/host/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
/host/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 | }
/host/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
/host/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,
/host/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
/host/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,
/host/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
/host/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,
/host/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
/host/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,
/host/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
/host/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,
/host/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
/host/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,
/host/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
/host/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,
/host/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
/host/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,
/host/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
/host/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 |
/host/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 {
/host/spi-builder-workspace/Sources/Nimble/Polling.swift:159: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
157 | }
158 |
159 | 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
160 | stringValue: """
161 | expect(...).toEventually(...) requires an explicit closure (eg - expect { ... }.toEventually(...) )
/host/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
/host/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)
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:43:63: warning: sending 'matcherRunner' risks causing data races; this is an error in the Swift 6 language mode
40 | timeoutInterval: timeout,
41 | sourceLocation: expression.location,
42 | fnName: fnName) {
| `- note: access can happen concurrently
43 | 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
44 | .toBoolean(expectation: style) {
45 | if matchStyle.isContinous {
/host/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,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:77:25: warning: sending 'expression' risks causing data races; this is an error in the Swift 6 language mode
75 | ) async -> MatcherResult {
76 | let poller = Poller<T>()
77 | 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
78 | expression: expression,
79 | style: style,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:77:25: warning: sending 'style' risks causing data races; this is an error in the Swift 6 language mode
75 | ) async -> MatcherResult {
76 | let poller = Poller<T>()
77 | 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
78 | expression: expression,
79 | style: style,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:77:25: warning: sending 'matcherRunner' risks causing data races; this is an error in the Swift 6 language mode
75 | ) async -> MatcherResult {
76 | let poller = Poller<T>()
77 | 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
78 | expression: expression,
79 | style: style,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:98:33: warning: sending 'asyncExpression' risks causing data races; this is an error in the Swift 6 language mode
96 | let asyncExpression = expression.toAsyncExpression()
97 |
98 | 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
99 | asyncExpression,
100 | style: .toMatch,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:98:33: warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
96 | let asyncExpression = expression.toAsyncExpression()
97 |
98 | 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
99 | asyncExpression,
100 | style: .toMatch,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:110:29: warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
108 | poll: pollInterval,
109 | fnName: "toEventually") { @MainActor in
110 | 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
111 | }
112 | }
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:110:47: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
108 | poll: pollInterval,
109 | fnName: "toEventually") { @MainActor in
110 | 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
111 | }
112 | }
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:124:33: warning: sending 'asyncExpression' risks causing data races; this is an error in the Swift 6 language mode
122 | let asyncExpression = expression.toAsyncExpression()
123 |
124 | 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
125 | asyncExpression,
126 | style: .toNotMatch,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:124:33: warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
122 | let asyncExpression = expression.toAsyncExpression()
123 |
124 | 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
125 | asyncExpression,
126 | style: .toNotMatch,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:136:29: warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
134 | poll: pollInterval,
135 | fnName: "toEventuallyNot") { @MainActor in
136 | 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
137 | }
138 | }
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:136:47: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
134 | poll: pollInterval,
135 | fnName: "toEventuallyNot") { @MainActor in
136 | 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
137 | }
138 | }
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:158:33: warning: sending 'asyncExpression' risks causing data races; this is an error in the Swift 6 language mode
156 | let asyncExpression = expression.toAsyncExpression()
157 |
158 | 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
159 | asyncExpression,
160 | style: .toNotMatch,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:158:33: warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
156 | let asyncExpression = expression.toAsyncExpression()
157 |
158 | 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
159 | asyncExpression,
160 | style: .toNotMatch,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:170:29: warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
168 | poll: pollInterval,
169 | fnName: "toNever") { @MainActor in
170 | 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
171 | }
172 | }
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:170:47: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
168 | poll: pollInterval,
169 | fnName: "toNever") { @MainActor in
170 | 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
171 | }
172 | }
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:192:33: warning: sending 'asyncExpression' risks causing data races; this is an error in the Swift 6 language mode
190 | let asyncExpression = expression.toAsyncExpression()
191 |
192 | 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
193 | asyncExpression,
194 | style: .toMatch,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:192:33: warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
190 | let asyncExpression = expression.toAsyncExpression()
191 |
192 | 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
193 | asyncExpression,
194 | style: .toMatch,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:204:29: warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
202 | poll: pollInterval,
203 | fnName: "toAlways") { @MainActor in
204 | 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
205 | }
206 | }
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:204:47: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
202 | poll: pollInterval,
203 | fnName: "toAlways") { @MainActor in
204 | 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
205 | }
206 | }
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.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 global function 'execute(_:style:to:description:matcherExecutor:)' risks causing data races between main actor-isolated and task-isolated uses
229 | asyncExpression,
230 | style: .toMatch,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.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 global function 'execute(_:style:to:description:matcherExecutor:)' risks causing races in between task-isolated and main actor-isolated uses
229 | asyncExpression,
230 | style: .toMatch,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:240:35: warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
238 | poll: pollInterval,
239 | fnName: "toEventually") { @MainActor in
240 | 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
241 | }
242 | }
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:240:53: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
238 | poll: pollInterval,
239 | fnName: "toEventually") { @MainActor in
240 | 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
241 | }
242 | }
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:240:43: warning: sending 'self.expression.withoutCaching.toAsyncExpression' risks causing data races; this is an error in the Swift 6 language mode
238 | poll: pollInterval,
239 | fnName: "toEventually") { @MainActor in
240 | 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
241 | }
242 | }
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:240:43: warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
238 | poll: pollInterval,
239 | fnName: "toEventually") { @MainActor in
240 | 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
241 | }
242 | }
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:254:33: warning: sending 'asyncExpression' risks causing data races; this is an error in the Swift 6 language mode
252 | let asyncExpression = expression.toAsyncExpression()
253 |
254 | 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
255 | asyncExpression,
256 | style: .toNotMatch,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:254:33: warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
252 | let asyncExpression = expression.toAsyncExpression()
253 |
254 | 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
255 | asyncExpression,
256 | style: .toNotMatch,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:266:35: warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
264 | poll: pollInterval,
265 | fnName: "toEventuallyNot") { @MainActor in
266 | 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
267 | }
268 | }
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:266:53: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
264 | poll: pollInterval,
265 | fnName: "toEventuallyNot") { @MainActor in
266 | 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
267 | }
268 | }
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:266:43: warning: sending 'self.expression.withoutCaching.toAsyncExpression' risks causing data races; this is an error in the Swift 6 language mode
264 | poll: pollInterval,
265 | fnName: "toEventuallyNot") { @MainActor in
266 | 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
267 | }
268 | }
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:266:43: warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
264 | poll: pollInterval,
265 | fnName: "toEventuallyNot") { @MainActor in
266 | 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
267 | }
268 | }
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:288:33: warning: sending 'asyncExpression' risks causing data races; this is an error in the Swift 6 language mode
286 | let asyncExpression = expression.toAsyncExpression()
287 |
288 | 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
289 | asyncExpression,
290 | style: .toNotMatch,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:288:33: warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
286 | let asyncExpression = expression.toAsyncExpression()
287 |
288 | 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
289 | asyncExpression,
290 | style: .toNotMatch,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:300:35: warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
298 | poll: pollInterval,
299 | fnName: "toNever") { @MainActor in
300 | 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
301 | }
302 | }
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:300:53: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
298 | poll: pollInterval,
299 | fnName: "toNever") { @MainActor in
300 | 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
301 | }
302 | }
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:300:43: warning: sending 'self.expression.withoutCaching.toAsyncExpression' risks causing data races; this is an error in the Swift 6 language mode
298 | poll: pollInterval,
299 | fnName: "toNever") { @MainActor in
300 | 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
301 | }
302 | }
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:300:43: warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
298 | poll: pollInterval,
299 | fnName: "toNever") { @MainActor in
300 | 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
301 | }
302 | }
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:322:33: warning: sending 'asyncExpression' risks causing data races; this is an error in the Swift 6 language mode
320 | let asyncExpression = expression.toAsyncExpression()
321 |
322 | 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
323 | asyncExpression,
324 | style: .toMatch,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:322:33: warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
320 | let asyncExpression = expression.toAsyncExpression()
321 |
322 | 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
323 | asyncExpression,
324 | style: .toMatch,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:334:35: warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
332 | poll: pollInterval,
333 | fnName: "toAlways") { @MainActor in
334 | 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
335 | }
336 | }
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:334:53: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
332 | poll: pollInterval,
333 | fnName: "toAlways") { @MainActor in
334 | 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
335 | }
336 | }
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:334:43: warning: sending 'self.expression.withoutCaching.toAsyncExpression' risks causing data races; this is an error in the Swift 6 language mode
332 | poll: pollInterval,
333 | fnName: "toAlways") { @MainActor in
334 | 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
335 | }
336 | }
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:334:43: warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
332 | poll: pollInterval,
333 | fnName: "toAlways") { @MainActor in
334 | 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
335 | }
336 | }
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:358:33: warning: sending 'self.expression' risks causing data races; this is an error in the Swift 6 language mode
356 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
357 |
358 | 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
359 | expression,
360 | style: .toMatch,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.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 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
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 global function 'execute(_:style:to:description:matcherExecutor:)' risks causing races in between task-isolated and main actor-isolated uses
359 | expression,
360 | style: .toMatch,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:382:33: warning: sending 'self.expression' risks causing data races; this is an error in the Swift 6 language mode
380 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
381 |
382 | 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
383 | expression,
384 | style: .toNotMatch,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:382:33: warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
380 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
381 |
382 | 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
383 | expression,
384 | style: .toNotMatch,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:415:33: warning: sending 'self.expression' risks causing data races; this is an error in the Swift 6 language mode
413 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
414 |
415 | 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
416 | expression,
417 | style: .toNotMatch,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:415:33: warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
413 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
414 |
415 | 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
416 | expression,
417 | style: .toNotMatch,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:448:33: warning: sending 'self.expression' risks causing data races; this is an error in the Swift 6 language mode
446 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
447 |
448 | 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
449 | expression,
450 | style: .toMatch,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:448:33: warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
446 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
447 |
448 | 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
449 | expression,
450 | style: .toMatch,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:482:33: warning: sending 'self.expression' risks causing data races; this is an error in the Swift 6 language mode
480 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
481 |
482 | 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
483 | expression,
484 | style: .toMatch,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:482:33: warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
480 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
481 |
482 | 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
483 | expression,
484 | style: .toMatch,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:506:33: warning: sending 'self.expression' risks causing data races; this is an error in the Swift 6 language mode
504 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
505 |
506 | 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
507 | expression,
508 | style: .toNotMatch,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:506:33: warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
504 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
505 |
506 | 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
507 | expression,
508 | style: .toNotMatch,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:539:33: warning: sending 'self.expression' risks causing data races; this is an error in the Swift 6 language mode
537 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
538 |
539 | 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
540 | expression,
541 | style: .toNotMatch,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:539:33: warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
537 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
538 |
539 | 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
540 | expression,
541 | style: .toNotMatch,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:572:33: warning: sending 'self.expression' risks causing data races; this is an error in the Swift 6 language mode
570 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
571 |
572 | 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
573 | expression,
574 | style: .toMatch,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:572:33: warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
570 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
571 |
572 | 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
573 | expression,
574 | style: .toMatch,
/host/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,
/host/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,
/host/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 | }
/host/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 | }
/host/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,
/host/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,
/host/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 | }
/host/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 | }
/host/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,
/host/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,
/host/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 | }
/host/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 | }
/host/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,
/host/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,
/host/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 | }
/host/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 | }
/host/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,
/host/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,
/host/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 | }
/host/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 | }
/host/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 | }
/host/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 | }
/host/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,
/host/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,
/host/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 | }
/host/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 | }
/host/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 | }
/host/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 | }
/host/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,
/host/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,
/host/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 | }
/host/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 | }
/host/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 | }
/host/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 | }
/host/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,
/host/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,
/host/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 | }
/host/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 | }
/host/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 | }
/host/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 | }
/host/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,
/host/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,
/host/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,
/host/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,
/host/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,
/host/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,
/host/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,
/host/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,
/host/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,
/host/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,
/host/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,
/host/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,
/host/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,
/host/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,
/host/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,
/host/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,
[67/75] Compiling Nimble BeginWithPrefix.swift
[68/75] Compiling Nimble Contain.swift
[69/75] Compiling Nimble ContainElementSatisfying.swift
[70/75] Compiling Nimble ElementsEqual.swift
[71/75] Compiling Nimble EndWith.swift
[72/75] Compiling Nimble Equal+Tuple.swift
[73/75] Compiling Nimble Equal+TupleArray.swift
[74/75] Compiling Nimble Equal.swift
[75/75] Compiling Nimble HaveCount.swift
[77/78] Emitting module NimbleSharedTestHelpers
[78/78] Compiling NimbleSharedTestHelpers utils.swift
/host/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)
/host/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() {
/host/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))
/host/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() {
/host/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)
/host/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() {
/host/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 | }
Build complete! (24.10s)
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" : "/host/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"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "NimbleTests",
"module_type" : "SwiftTarget",
"name" : "NimbleTests",
"path" : "Tests/NimbleTests",
"sources" : [
"AsyncAwaitTest+Require.swift",
"AsyncAwaitTest.swift",
"AsyncPromiseTest.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",
"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"
],
"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" : "5.9"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.