Build Information
Successful build of Nimble, reference main (035b88), with Swift 6.1 for Linux on 28 Nov 2025 20:24:32 UTC.
Swift 6 data race errors: 4
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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>&1Build Log
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:156:14: warning: let 'toEventuallyRequiresClosureError' is not concurrency-safe because non-'Sendable' type 'FailureMessage' may have shared mutable state; this is an error in the Swift 6 language mode
154 | }
155 |
156 | internal let toEventuallyRequiresClosureError = FailureMessage(
| |- warning: let 'toEventuallyRequiresClosureError' is not concurrency-safe because non-'Sendable' type 'FailureMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'toEventuallyRequiresClosureError' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 | stringValue: """
158 | expect(...).toEventually(...) requires an explicit closure (eg - expect { ... }.toEventually(...) )
/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:42:63: warning: sending 'matcherRunner' risks causing data races; this is an error in the Swift 6 language mode
39 | pollInterval: poll,
40 | timeoutInterval: timeout,
41 | sourceLocation: expression.location) {
| `- note: access can happen concurrently
42 | if self.updateMatcherResult(result: try await matcherRunner())
| |- warning: sending 'matcherRunner' risks causing data races; this is an error in the Swift 6 language mode
| `- note: 'self'-isolated 'matcherRunner' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later nonisolated uses
43 | .toBoolean(expectation: style) {
44 | if matchStyle.isContinuous {
/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:76:25: warning: sending 'expression' risks causing data races; this is an error in the Swift 6 language mode
74 | ) async -> MatcherResult {
75 | let poller = Poller<T>()
76 | return await poller.poll(
| |- warning: sending 'expression' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'expression' to actor-isolated instance method 'poll(expression:style:matchStyle:timeout:poll:fnName:matcherRunner:)' risks causing data races between actor-isolated and task-isolated uses
77 | expression: expression,
78 | style: style,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:76:25: warning: sending 'style' risks causing data races; this is an error in the Swift 6 language mode
74 | ) async -> MatcherResult {
75 | let poller = Poller<T>()
76 | return await poller.poll(
| |- warning: sending 'style' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'style' to actor-isolated instance method 'poll(expression:style:matchStyle:timeout:poll:fnName:matcherRunner:)' risks causing data races between actor-isolated and task-isolated uses
77 | expression: expression,
78 | style: style,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:76:25: warning: sending 'matcherRunner' risks causing data races; this is an error in the Swift 6 language mode
74 | ) async -> MatcherResult {
75 | let poller = Poller<T>()
76 | return await poller.poll(
| |- warning: sending 'matcherRunner' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'matcherRunner' to actor-isolated instance method 'poll(expression:style:matchStyle:timeout:poll:fnName:matcherRunner:)' risks causing data races between actor-isolated and task-isolated uses
77 | expression: expression,
78 | style: style,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:97:33: warning: sending 'asyncExpression' risks causing data races; this is an error in the Swift 6 language mode
95 | let asyncExpression = expression.toAsyncExpression()
96 |
97 | let (pass, msg) = await execute(
| |- warning: sending 'asyncExpression' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'asyncExpression' to main actor-isolated global function 'execute(_:style:to:description:matcherExecutor:)' risks causing data races between main actor-isolated and task-isolated uses
98 | asyncExpression,
99 | style: .toMatch,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:97:33: warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
95 | let asyncExpression = expression.toAsyncExpression()
96 |
97 | let (pass, msg) = await execute(
| |- warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type '() async -> MatcherResult' to main actor-isolated global function 'execute(_:style:to:description:matcherExecutor:)' risks causing races in between task-isolated and main actor-isolated uses
98 | asyncExpression,
99 | style: .toMatch,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:109:29: warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
107 | poll: pollInterval,
108 | fnName: "toEventually") { @MainActor in
109 | try matcher.satisfies(expression.withoutCaching())
| |- warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'matcher' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
110 | }
111 | }
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:109:47: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
107 | poll: pollInterval,
108 | fnName: "toEventually") { @MainActor in
109 | try matcher.satisfies(expression.withoutCaching())
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
110 | }
111 | }
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:123:33: warning: sending 'asyncExpression' risks causing data races; this is an error in the Swift 6 language mode
121 | let asyncExpression = expression.toAsyncExpression()
122 |
123 | let (pass, msg) = await execute(
| |- warning: sending 'asyncExpression' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'asyncExpression' to main actor-isolated global function 'execute(_:style:to:description:matcherExecutor:)' risks causing data races between main actor-isolated and task-isolated uses
124 | asyncExpression,
125 | style: .toNotMatch,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:123:33: warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
121 | let asyncExpression = expression.toAsyncExpression()
122 |
123 | let (pass, msg) = await execute(
| |- warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type '() async -> MatcherResult' to main actor-isolated global function 'execute(_:style:to:description:matcherExecutor:)' risks causing races in between task-isolated and main actor-isolated uses
124 | asyncExpression,
125 | style: .toNotMatch,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:135:29: warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
133 | poll: pollInterval,
134 | fnName: "toEventuallyNot") { @MainActor in
135 | try matcher.satisfies(expression.withoutCaching())
| |- warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'matcher' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
136 | }
137 | }
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:135:47: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
133 | poll: pollInterval,
134 | fnName: "toEventuallyNot") { @MainActor in
135 | try matcher.satisfies(expression.withoutCaching())
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
136 | }
137 | }
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:157:33: warning: sending 'asyncExpression' risks causing data races; this is an error in the Swift 6 language mode
155 | let asyncExpression = expression.toAsyncExpression()
156 |
157 | let (pass, msg) = await execute(
| |- warning: sending 'asyncExpression' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'asyncExpression' to main actor-isolated global function 'execute(_:style:to:description:matcherExecutor:)' risks causing data races between main actor-isolated and task-isolated uses
158 | asyncExpression,
159 | style: .toNotMatch,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:157:33: warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
155 | let asyncExpression = expression.toAsyncExpression()
156 |
157 | let (pass, msg) = await execute(
| |- warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type '() async -> MatcherResult' to main actor-isolated global function 'execute(_:style:to:description:matcherExecutor:)' risks causing races in between task-isolated and main actor-isolated uses
158 | asyncExpression,
159 | style: .toNotMatch,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:169:29: warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
167 | poll: pollInterval,
168 | fnName: "toNever") { @MainActor in
169 | try matcher.satisfies(expression.withoutCaching())
| |- warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'matcher' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
170 | }
171 | }
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:169:47: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
167 | poll: pollInterval,
168 | fnName: "toNever") { @MainActor in
169 | try matcher.satisfies(expression.withoutCaching())
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
170 | }
171 | }
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:191:33: warning: sending 'asyncExpression' risks causing data races; this is an error in the Swift 6 language mode
189 | let asyncExpression = expression.toAsyncExpression()
190 |
191 | let (pass, msg) = await execute(
| |- warning: sending 'asyncExpression' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'asyncExpression' to main actor-isolated global function 'execute(_:style:to:description:matcherExecutor:)' risks causing data races between main actor-isolated and task-isolated uses
192 | asyncExpression,
193 | style: .toMatch,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:191:33: warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
189 | let asyncExpression = expression.toAsyncExpression()
190 |
191 | let (pass, msg) = await execute(
| |- warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type '() async -> MatcherResult' to main actor-isolated global function 'execute(_:style:to:description:matcherExecutor:)' risks causing races in between task-isolated and main actor-isolated uses
192 | asyncExpression,
193 | style: .toMatch,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:203:29: warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
201 | poll: pollInterval,
202 | fnName: "toAlways") { @MainActor in
203 | try matcher.satisfies(expression.withoutCaching())
| |- warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'matcher' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
204 | }
205 | }
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:203:47: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
201 | poll: pollInterval,
202 | fnName: "toAlways") { @MainActor in
203 | try matcher.satisfies(expression.withoutCaching())
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
204 | }
205 | }
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:227:33: warning: sending 'asyncExpression' risks causing data races; this is an error in the Swift 6 language mode
225 | let asyncExpression = expression.toAsyncExpression()
226 |
227 | let (pass, msg) = await execute(
| |- warning: sending 'asyncExpression' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'asyncExpression' to main actor-isolated global function 'execute(_:style:to:description:matcherExecutor:)' risks causing data races between main actor-isolated and task-isolated uses
228 | asyncExpression,
229 | style: .toMatch,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:227:33: warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
225 | let asyncExpression = expression.toAsyncExpression()
226 |
227 | let (pass, msg) = await execute(
| |- warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type '() async -> MatcherResult' to main actor-isolated global function 'execute(_:style:to:description:matcherExecutor:)' risks causing races in between task-isolated and main actor-isolated uses
228 | asyncExpression,
229 | style: .toMatch,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:239:35: warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
237 | poll: pollInterval,
238 | fnName: "toEventually") { @MainActor in
239 | try await matcher.satisfies(expression.withoutCaching().toAsyncExpression())
| |- warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'matcher' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
240 | }
241 | }
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:239:53: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
237 | poll: pollInterval,
238 | fnName: "toEventually") { @MainActor in
239 | try await matcher.satisfies(expression.withoutCaching().toAsyncExpression())
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
240 | }
241 | }
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:239:43: warning: sending 'self.expression.withoutCaching.toAsyncExpression' risks causing data races; this is an error in the Swift 6 language mode
237 | poll: pollInterval,
238 | fnName: "toEventually") { @MainActor in
239 | try await matcher.satisfies(expression.withoutCaching().toAsyncExpression())
| |- warning: sending 'self.expression.withoutCaching.toAsyncExpression' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.expression.withoutCaching.toAsyncExpression' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
240 | }
241 | }
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:239:43: warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
237 | poll: pollInterval,
238 | fnName: "toEventually") { @MainActor in
239 | try await matcher.satisfies(expression.withoutCaching().toAsyncExpression())
| |- warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'matcher' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
240 | }
241 | }
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:253:33: warning: sending 'asyncExpression' risks causing data races; this is an error in the Swift 6 language mode
251 | let asyncExpression = expression.toAsyncExpression()
252 |
253 | let (pass, msg) = await execute(
| |- warning: sending 'asyncExpression' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'asyncExpression' to main actor-isolated global function 'execute(_:style:to:description:matcherExecutor:)' risks causing data races between main actor-isolated and task-isolated uses
254 | asyncExpression,
255 | style: .toNotMatch,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:253:33: warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
251 | let asyncExpression = expression.toAsyncExpression()
252 |
253 | let (pass, msg) = await execute(
| |- warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type '() async -> MatcherResult' to main actor-isolated global function 'execute(_:style:to:description:matcherExecutor:)' risks causing races in between task-isolated and main actor-isolated uses
254 | asyncExpression,
255 | style: .toNotMatch,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:265:35: warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
263 | poll: pollInterval,
264 | fnName: "toEventuallyNot") { @MainActor in
265 | try await matcher.satisfies(expression.withoutCaching().toAsyncExpression())
| |- warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'matcher' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
266 | }
267 | }
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:265:53: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
263 | poll: pollInterval,
264 | fnName: "toEventuallyNot") { @MainActor in
265 | try await matcher.satisfies(expression.withoutCaching().toAsyncExpression())
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
266 | }
267 | }
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:265:43: warning: sending 'self.expression.withoutCaching.toAsyncExpression' risks causing data races; this is an error in the Swift 6 language mode
263 | poll: pollInterval,
264 | fnName: "toEventuallyNot") { @MainActor in
265 | try await matcher.satisfies(expression.withoutCaching().toAsyncExpression())
| |- warning: sending 'self.expression.withoutCaching.toAsyncExpression' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.expression.withoutCaching.toAsyncExpression' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
266 | }
267 | }
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:265:43: warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
263 | poll: pollInterval,
264 | fnName: "toEventuallyNot") { @MainActor in
265 | try await matcher.satisfies(expression.withoutCaching().toAsyncExpression())
| |- warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'matcher' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
266 | }
267 | }
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:287:33: warning: sending 'asyncExpression' risks causing data races; this is an error in the Swift 6 language mode
285 | let asyncExpression = expression.toAsyncExpression()
286 |
287 | let (pass, msg) = await execute(
| |- warning: sending 'asyncExpression' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'asyncExpression' to main actor-isolated global function 'execute(_:style:to:description:matcherExecutor:)' risks causing data races between main actor-isolated and task-isolated uses
288 | asyncExpression,
289 | style: .toNotMatch,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:287:33: warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
285 | let asyncExpression = expression.toAsyncExpression()
286 |
287 | let (pass, msg) = await execute(
| |- warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type '() async -> MatcherResult' to main actor-isolated global function 'execute(_:style:to:description:matcherExecutor:)' risks causing races in between task-isolated and main actor-isolated uses
288 | asyncExpression,
289 | style: .toNotMatch,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:299:35: warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
297 | poll: pollInterval,
298 | fnName: "toNever") { @MainActor in
299 | try await matcher.satisfies(expression.withoutCaching().toAsyncExpression())
| |- warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'matcher' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
300 | }
301 | }
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:299:53: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
297 | poll: pollInterval,
298 | fnName: "toNever") { @MainActor in
299 | try await matcher.satisfies(expression.withoutCaching().toAsyncExpression())
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
300 | }
301 | }
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:299:43: warning: sending 'self.expression.withoutCaching.toAsyncExpression' risks causing data races; this is an error in the Swift 6 language mode
297 | poll: pollInterval,
298 | fnName: "toNever") { @MainActor in
299 | try await matcher.satisfies(expression.withoutCaching().toAsyncExpression())
| |- warning: sending 'self.expression.withoutCaching.toAsyncExpression' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.expression.withoutCaching.toAsyncExpression' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
300 | }
301 | }
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:299:43: warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
297 | poll: pollInterval,
298 | fnName: "toNever") { @MainActor in
299 | try await matcher.satisfies(expression.withoutCaching().toAsyncExpression())
| |- warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'matcher' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
300 | }
301 | }
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:321:33: warning: sending 'asyncExpression' risks causing data races; this is an error in the Swift 6 language mode
319 | let asyncExpression = expression.toAsyncExpression()
320 |
321 | let (pass, msg) = await execute(
| |- warning: sending 'asyncExpression' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'asyncExpression' to main actor-isolated global function 'execute(_:style:to:description:matcherExecutor:)' risks causing data races between main actor-isolated and task-isolated uses
322 | asyncExpression,
323 | style: .toMatch,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:321:33: warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
319 | let asyncExpression = expression.toAsyncExpression()
320 |
321 | let (pass, msg) = await execute(
| |- warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type '() async -> MatcherResult' to main actor-isolated global function 'execute(_:style:to:description:matcherExecutor:)' risks causing races in between task-isolated and main actor-isolated uses
322 | asyncExpression,
323 | style: .toMatch,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:333:35: warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
331 | poll: pollInterval,
332 | fnName: "toAlways") { @MainActor in
333 | try await matcher.satisfies(expression.withoutCaching().toAsyncExpression())
| |- warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'matcher' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
334 | }
335 | }
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:333:53: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
331 | poll: pollInterval,
332 | fnName: "toAlways") { @MainActor in
333 | try await matcher.satisfies(expression.withoutCaching().toAsyncExpression())
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
334 | }
335 | }
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:333:43: warning: sending 'self.expression.withoutCaching.toAsyncExpression' risks causing data races; this is an error in the Swift 6 language mode
331 | poll: pollInterval,
332 | fnName: "toAlways") { @MainActor in
333 | try await matcher.satisfies(expression.withoutCaching().toAsyncExpression())
| |- warning: sending 'self.expression.withoutCaching.toAsyncExpression' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.expression.withoutCaching.toAsyncExpression' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
334 | }
335 | }
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:333:43: warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
331 | poll: pollInterval,
332 | fnName: "toAlways") { @MainActor in
333 | try await matcher.satisfies(expression.withoutCaching().toAsyncExpression())
| |- warning: sending 'matcher' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'matcher' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
334 | }
335 | }
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:357:33: warning: sending 'self.expression' risks causing data races; this is an error in the Swift 6 language mode
355 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
356 |
357 | let (pass, msg) = await execute(
| |- warning: sending 'self.expression' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.expression' to main actor-isolated global function 'execute(_:style:to:description:matcherExecutor:)' risks causing data races between main actor-isolated and task-isolated uses
358 | expression,
359 | style: .toMatch,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:357:33: warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
355 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
356 |
357 | let (pass, msg) = await execute(
| |- warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type '() async -> MatcherResult' to main actor-isolated global function 'execute(_:style:to:description:matcherExecutor:)' risks causing races in between task-isolated and main actor-isolated uses
358 | expression,
359 | style: .toMatch,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:381:33: warning: sending 'self.expression' risks causing data races; this is an error in the Swift 6 language mode
379 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
380 |
381 | let (pass, msg) = await execute(
| |- warning: sending 'self.expression' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.expression' to main actor-isolated global function 'execute(_:style:to:description:matcherExecutor:)' risks causing data races between main actor-isolated and task-isolated uses
382 | expression,
383 | style: .toNotMatch,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:381:33: warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
379 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
380 |
381 | let (pass, msg) = await execute(
| |- warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type '() async -> MatcherResult' to main actor-isolated global function 'execute(_:style:to:description:matcherExecutor:)' risks causing races in between task-isolated and main actor-isolated uses
382 | expression,
383 | style: .toNotMatch,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:414:33: warning: sending 'self.expression' risks causing data races; this is an error in the Swift 6 language mode
412 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
413 |
414 | let (pass, msg) = await execute(
| |- warning: sending 'self.expression' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.expression' to main actor-isolated global function 'execute(_:style:to:description:matcherExecutor:)' risks causing data races between main actor-isolated and task-isolated uses
415 | expression,
416 | style: .toNotMatch,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:414:33: warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
412 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
413 |
414 | let (pass, msg) = await execute(
| |- warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type '() async -> MatcherResult' to main actor-isolated global function 'execute(_:style:to:description:matcherExecutor:)' risks causing races in between task-isolated and main actor-isolated uses
415 | expression,
416 | style: .toNotMatch,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:447:33: warning: sending 'self.expression' risks causing data races; this is an error in the Swift 6 language mode
445 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
446 |
447 | let (pass, msg) = await execute(
| |- warning: sending 'self.expression' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.expression' to main actor-isolated global function 'execute(_:style:to:description:matcherExecutor:)' risks causing data races between main actor-isolated and task-isolated uses
448 | expression,
449 | style: .toMatch,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:447:33: warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
445 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
446 |
447 | let (pass, msg) = await execute(
| |- warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type '() async -> MatcherResult' to main actor-isolated global function 'execute(_:style:to:description:matcherExecutor:)' risks causing races in between task-isolated and main actor-isolated uses
448 | expression,
449 | style: .toMatch,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:481:33: warning: sending 'self.expression' risks causing data races; this is an error in the Swift 6 language mode
479 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
480 |
481 | let (pass, msg) = await execute(
| |- warning: sending 'self.expression' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.expression' to main actor-isolated global function 'execute(_:style:to:description:matcherExecutor:)' risks causing data races between main actor-isolated and task-isolated uses
482 | expression,
483 | style: .toMatch,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:481:33: warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
479 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
480 |
481 | let (pass, msg) = await execute(
| |- warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type '() async -> MatcherResult' to main actor-isolated global function 'execute(_:style:to:description:matcherExecutor:)' risks causing races in between task-isolated and main actor-isolated uses
482 | expression,
483 | style: .toMatch,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:505:33: warning: sending 'self.expression' risks causing data races; this is an error in the Swift 6 language mode
503 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
504 |
505 | let (pass, msg) = await execute(
| |- warning: sending 'self.expression' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.expression' to main actor-isolated global function 'execute(_:style:to:description:matcherExecutor:)' risks causing data races between main actor-isolated and task-isolated uses
506 | expression,
507 | style: .toNotMatch,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:505:33: warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
503 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
504 |
505 | let (pass, msg) = await execute(
| |- warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type '() async -> MatcherResult' to main actor-isolated global function 'execute(_:style:to:description:matcherExecutor:)' risks causing races in between task-isolated and main actor-isolated uses
506 | expression,
507 | style: .toNotMatch,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:538:33: warning: sending 'self.expression' risks causing data races; this is an error in the Swift 6 language mode
536 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
537 |
538 | let (pass, msg) = await execute(
| |- warning: sending 'self.expression' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.expression' to main actor-isolated global function 'execute(_:style:to:description:matcherExecutor:)' risks causing data races between main actor-isolated and task-isolated uses
539 | expression,
540 | style: .toNotMatch,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:538:33: warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
536 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
537 |
538 | let (pass, msg) = await execute(
| |- warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type '() async -> MatcherResult' to main actor-isolated global function 'execute(_:style:to:description:matcherExecutor:)' risks causing races in between task-isolated and main actor-isolated uses
539 | expression,
540 | style: .toNotMatch,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:571:33: warning: sending 'self.expression' risks causing data races; this is an error in the Swift 6 language mode
569 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
570 |
571 | let (pass, msg) = await execute(
| |- warning: sending 'self.expression' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.expression' to main actor-isolated global function 'execute(_:style:to:description:matcherExecutor:)' risks causing data races between main actor-isolated and task-isolated uses
572 | expression,
573 | style: .toMatch,
/host/spi-builder-workspace/Sources/Nimble/Polling+AsyncAwait.swift:571:33: warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
569 | nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
570 |
571 | let (pass, msg) = await execute(
| |- warning: sending value of non-Sendable type '() async -> MatcherResult' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type '() async -> MatcherResult' to main actor-isolated global function 'execute(_:style:to:description:matcherExecutor:)' risks causing races in between task-isolated and main actor-isolated uses
572 | expression,
573 | style: .toMatch,
/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,
[15/75] Compiling Nimble BeIdenticalTo.swift
[16/75] Compiling Nimble BeLessThan.swift
[17/75] Compiling Nimble BeLessThanOrEqual.swift
[18/75] Compiling Nimble BeLogical.swift
[19/75] Compiling Nimble BeNil.swift
[20/75] Compiling Nimble BeResult.swift
[21/75] Compiling Nimble BeVoid.swift
[22/75] Compiling Nimble BeWithin.swift
[23/75] Compiling Nimble BeginWith.swift
[24/75] Compiling Nimble AsyncExpression.swift
/host/spi-builder-workspace/Sources/Nimble/DSL+AsyncAwait.swift:102:15: warning: capture of 'action' with non-sendable type '(@escaping @Sendable () -> Void) async -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
100 | sourceLocation: SourceLocation(fileID: fileID, filePath: file, line: line, column: column)
101 | ) { done in
102 | await action(done)
| |- warning: capture of 'action' with non-sendable type '(@escaping @Sendable () -> Void) async -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
103 | }
104 | }
/host/spi-builder-workspace/Sources/Nimble/DSL+AsyncAwait.swift:125:9: warning: capture of 'action' with non-sendable type '(@escaping @Sendable () -> Void) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
123 | sourceLocation: SourceLocation(fileID: fileID, filePath: file, line: line, column: column)
124 | ) { done in
125 | action(done)
| |- warning: capture of 'action' with non-sendable type '(@escaping @Sendable () -> Void) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
126 | }
127 | }
/host/spi-builder-workspace/Sources/Nimble/Expression.swift:109:61: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
107 | public func toAsyncExpression() -> AsyncExpression<Value> {
108 | AsyncExpression(
109 | memoizedExpression: { @MainActor memoize in try _expression(memoize) },
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
110 | location: location,
111 | withoutCaching: _withoutCaching,
[25/75] Compiling Nimble DSL+AsyncAwait.swift
/host/spi-builder-workspace/Sources/Nimble/DSL+AsyncAwait.swift:102:15: warning: capture of 'action' with non-sendable type '(@escaping @Sendable () -> Void) async -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
100 | sourceLocation: SourceLocation(fileID: fileID, filePath: file, line: line, column: column)
101 | ) { done in
102 | await action(done)
| |- warning: capture of 'action' with non-sendable type '(@escaping @Sendable () -> Void) async -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
103 | }
104 | }
/host/spi-builder-workspace/Sources/Nimble/DSL+AsyncAwait.swift:125:9: warning: capture of 'action' with non-sendable type '(@escaping @Sendable () -> Void) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
123 | sourceLocation: SourceLocation(fileID: fileID, filePath: file, line: line, column: column)
124 | ) { done in
125 | action(done)
| |- warning: capture of 'action' with non-sendable type '(@escaping @Sendable () -> Void) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
126 | }
127 | }
/host/spi-builder-workspace/Sources/Nimble/Expression.swift:109:61: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
107 | public func toAsyncExpression() -> AsyncExpression<Value> {
108 | AsyncExpression(
109 | memoizedExpression: { @MainActor memoize in try _expression(memoize) },
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
110 | location: location,
111 | withoutCaching: _withoutCaching,
[26/75] Compiling Nimble DSL+Require.swift
/host/spi-builder-workspace/Sources/Nimble/DSL+AsyncAwait.swift:102:15: warning: capture of 'action' with non-sendable type '(@escaping @Sendable () -> Void) async -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
100 | sourceLocation: SourceLocation(fileID: fileID, filePath: file, line: line, column: column)
101 | ) { done in
102 | await action(done)
| |- warning: capture of 'action' with non-sendable type '(@escaping @Sendable () -> Void) async -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
103 | }
104 | }
/host/spi-builder-workspace/Sources/Nimble/DSL+AsyncAwait.swift:125:9: warning: capture of 'action' with non-sendable type '(@escaping @Sendable () -> Void) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
123 | sourceLocation: SourceLocation(fileID: fileID, filePath: file, line: line, column: column)
124 | ) { done in
125 | action(done)
| |- warning: capture of 'action' with non-sendable type '(@escaping @Sendable () -> Void) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
126 | }
127 | }
/host/spi-builder-workspace/Sources/Nimble/Expression.swift:109:61: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
107 | public func toAsyncExpression() -> AsyncExpression<Value> {
108 | AsyncExpression(
109 | memoizedExpression: { @MainActor memoize in try _expression(memoize) },
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
110 | location: location,
111 | withoutCaching: _withoutCaching,
[27/75] Compiling Nimble DSL+Wait.swift
/host/spi-builder-workspace/Sources/Nimble/DSL+AsyncAwait.swift:102:15: warning: capture of 'action' with non-sendable type '(@escaping @Sendable () -> Void) async -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
100 | sourceLocation: SourceLocation(fileID: fileID, filePath: file, line: line, column: column)
101 | ) { done in
102 | await action(done)
| |- warning: capture of 'action' with non-sendable type '(@escaping @Sendable () -> Void) async -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
103 | }
104 | }
/host/spi-builder-workspace/Sources/Nimble/DSL+AsyncAwait.swift:125:9: warning: capture of 'action' with non-sendable type '(@escaping @Sendable () -> Void) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
123 | sourceLocation: SourceLocation(fileID: fileID, filePath: file, line: line, column: column)
124 | ) { done in
125 | action(done)
| |- warning: capture of 'action' with non-sendable type '(@escaping @Sendable () -> Void) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
126 | }
127 | }
/host/spi-builder-workspace/Sources/Nimble/Expression.swift:109:61: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
107 | public func toAsyncExpression() -> AsyncExpression<Value> {
108 | AsyncExpression(
109 | memoizedExpression: { @MainActor memoize in try _expression(memoize) },
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
110 | location: location,
111 | withoutCaching: _withoutCaching,
[28/75] Compiling Nimble DSL.swift
/host/spi-builder-workspace/Sources/Nimble/DSL+AsyncAwait.swift:102:15: warning: capture of 'action' with non-sendable type '(@escaping @Sendable () -> Void) async -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
100 | sourceLocation: SourceLocation(fileID: fileID, filePath: file, line: line, column: column)
101 | ) { done in
102 | await action(done)
| |- warning: capture of 'action' with non-sendable type '(@escaping @Sendable () -> Void) async -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
103 | }
104 | }
/host/spi-builder-workspace/Sources/Nimble/DSL+AsyncAwait.swift:125:9: warning: capture of 'action' with non-sendable type '(@escaping @Sendable () -> Void) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
123 | sourceLocation: SourceLocation(fileID: fileID, filePath: file, line: line, column: column)
124 | ) { done in
125 | action(done)
| |- warning: capture of 'action' with non-sendable type '(@escaping @Sendable () -> Void) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
126 | }
127 | }
/host/spi-builder-workspace/Sources/Nimble/Expression.swift:109:61: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
107 | public func toAsyncExpression() -> AsyncExpression<Value> {
108 | AsyncExpression(
109 | memoizedExpression: { @MainActor memoize in try _expression(memoize) },
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
110 | location: location,
111 | withoutCaching: _withoutCaching,
[29/75] Compiling Nimble Expectation.swift
/host/spi-builder-workspace/Sources/Nimble/DSL+AsyncAwait.swift:102:15: warning: capture of 'action' with non-sendable type '(@escaping @Sendable () -> Void) async -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
100 | sourceLocation: SourceLocation(fileID: fileID, filePath: file, line: line, column: column)
101 | ) { done in
102 | await action(done)
| |- warning: capture of 'action' with non-sendable type '(@escaping @Sendable () -> Void) async -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
103 | }
104 | }
/host/spi-builder-workspace/Sources/Nimble/DSL+AsyncAwait.swift:125:9: warning: capture of 'action' with non-sendable type '(@escaping @Sendable () -> Void) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
123 | sourceLocation: SourceLocation(fileID: fileID, filePath: file, line: line, column: column)
124 | ) { done in
125 | action(done)
| |- warning: capture of 'action' with non-sendable type '(@escaping @Sendable () -> Void) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
126 | }
127 | }
/host/spi-builder-workspace/Sources/Nimble/Expression.swift:109:61: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
107 | public func toAsyncExpression() -> AsyncExpression<Value> {
108 | AsyncExpression(
109 | memoizedExpression: { @MainActor memoize in try _expression(memoize) },
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
110 | location: location,
111 | withoutCaching: _withoutCaching,
[30/75] Compiling Nimble ExpectationMessage.swift
/host/spi-builder-workspace/Sources/Nimble/DSL+AsyncAwait.swift:102:15: warning: capture of 'action' with non-sendable type '(@escaping @Sendable () -> Void) async -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
100 | sourceLocation: SourceLocation(fileID: fileID, filePath: file, line: line, column: column)
101 | ) { done in
102 | await action(done)
| |- warning: capture of 'action' with non-sendable type '(@escaping @Sendable () -> Void) async -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
103 | }
104 | }
/host/spi-builder-workspace/Sources/Nimble/DSL+AsyncAwait.swift:125:9: warning: capture of 'action' with non-sendable type '(@escaping @Sendable () -> Void) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
123 | sourceLocation: SourceLocation(fileID: fileID, filePath: file, line: line, column: column)
124 | ) { done in
125 | action(done)
| |- warning: capture of 'action' with non-sendable type '(@escaping @Sendable () -> Void) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
126 | }
127 | }
/host/spi-builder-workspace/Sources/Nimble/Expression.swift:109:61: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
107 | public func toAsyncExpression() -> AsyncExpression<Value> {
108 | AsyncExpression(
109 | memoizedExpression: { @MainActor memoize in try _expression(memoize) },
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
110 | location: location,
111 | withoutCaching: _withoutCaching,
[31/75] Compiling Nimble Expression.swift
/host/spi-builder-workspace/Sources/Nimble/DSL+AsyncAwait.swift:102:15: warning: capture of 'action' with non-sendable type '(@escaping @Sendable () -> Void) async -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
100 | sourceLocation: SourceLocation(fileID: fileID, filePath: file, line: line, column: column)
101 | ) { done in
102 | await action(done)
| |- warning: capture of 'action' with non-sendable type '(@escaping @Sendable () -> Void) async -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
103 | }
104 | }
/host/spi-builder-workspace/Sources/Nimble/DSL+AsyncAwait.swift:125:9: warning: capture of 'action' with non-sendable type '(@escaping @Sendable () -> Void) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
123 | sourceLocation: SourceLocation(fileID: fileID, filePath: file, line: line, column: column)
124 | ) { done in
125 | action(done)
| |- warning: capture of 'action' with non-sendable type '(@escaping @Sendable () -> Void) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
126 | }
127 | }
/host/spi-builder-workspace/Sources/Nimble/Expression.swift:109:61: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
107 | public func toAsyncExpression() -> AsyncExpression<Value> {
108 | AsyncExpression(
109 | memoizedExpression: { @MainActor memoize in try _expression(memoize) },
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
110 | location: location,
111 | withoutCaching: _withoutCaching,
[32/75] Compiling Nimble FailureMessage.swift
/host/spi-builder-workspace/Sources/Nimble/DSL+AsyncAwait.swift:102:15: warning: capture of 'action' with non-sendable type '(@escaping @Sendable () -> Void) async -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
100 | sourceLocation: SourceLocation(fileID: fileID, filePath: file, line: line, column: column)
101 | ) { done in
102 | await action(done)
| |- warning: capture of 'action' with non-sendable type '(@escaping @Sendable () -> Void) async -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
103 | }
104 | }
/host/spi-builder-workspace/Sources/Nimble/DSL+AsyncAwait.swift:125:9: warning: capture of 'action' with non-sendable type '(@escaping @Sendable () -> Void) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
123 | sourceLocation: SourceLocation(fileID: fileID, filePath: file, line: line, column: column)
124 | ) { done in
125 | action(done)
| |- warning: capture of 'action' with non-sendable type '(@escaping @Sendable () -> Void) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
126 | }
127 | }
/host/spi-builder-workspace/Sources/Nimble/Expression.swift:109:61: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
107 | public func toAsyncExpression() -> AsyncExpression<Value> {
108 | AsyncExpression(
109 | memoizedExpression: { @MainActor memoize in try _expression(memoize) },
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
110 | location: location,
111 | withoutCaching: _withoutCaching,
[33/75] Compiling Nimble AdapterProtocols.swift
/host/spi-builder-workspace/Sources/Nimble/Adapters/NimbleSwiftTestingHandler.swift:7:22: warning: using '@_implementationOnly' without enabling library evolution for 'Nimble' may lead to instability during execution
5 | // And apparently `private import` - the preferred way to do this - doesn't work.
6 | // So we use a deprecated approach that does work with this.
7 | @_implementationOnly import Testing
| `- warning: using '@_implementationOnly' without enabling library evolution for 'Nimble' may lead to instability during execution
8 | #endif
9 |
/host/spi-builder-workspace/Sources/Nimble/Adapters/AdapterProtocols.swift:13:12: warning: var 'NimbleAssertionHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 | /// @see AssertionHandler
13 | public var NimbleAssertionHandler: AssertionHandler = { () -> AssertionHandler in
| |- warning: var 'NimbleAssertionHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'NimbleAssertionHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'NimbleAssertionHandler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | // swiftlint:disable:previous identifier_name
15 | if isSwiftTestingAvailable() || isXCTestAvailable() {
/host/spi-builder-workspace/Sources/Nimble/Adapters/NimbleXCTestHandler.swift:87:42: warning: 'file' is deprecated: renamed to 'filePath'
85 | public func recordFailure(_ message: String, location: SourceLocation) {
86 | #if !canImport(Darwin)
87 | XCTFail("\(message)", file: location.file, line: location.line)
| |- warning: 'file' is deprecated: renamed to 'filePath'
| `- note: use 'filePath' instead
88 | #else
89 | if let testCase = CurrentTestCaseTracker.sharedInstance.currentTestCase {
[34/75] Compiling Nimble AssertionDispatcher.swift
/host/spi-builder-workspace/Sources/Nimble/Adapters/NimbleSwiftTestingHandler.swift:7:22: warning: using '@_implementationOnly' without enabling library evolution for 'Nimble' may lead to instability during execution
5 | // And apparently `private import` - the preferred way to do this - doesn't work.
6 | // So we use a deprecated approach that does work with this.
7 | @_implementationOnly import Testing
| `- warning: using '@_implementationOnly' without enabling library evolution for 'Nimble' may lead to instability during execution
8 | #endif
9 |
/host/spi-builder-workspace/Sources/Nimble/Adapters/AdapterProtocols.swift:13:12: warning: var 'NimbleAssertionHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 | /// @see AssertionHandler
13 | public var NimbleAssertionHandler: AssertionHandler = { () -> AssertionHandler in
| |- warning: var 'NimbleAssertionHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'NimbleAssertionHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'NimbleAssertionHandler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | // swiftlint:disable:previous identifier_name
15 | if isSwiftTestingAvailable() || isXCTestAvailable() {
/host/spi-builder-workspace/Sources/Nimble/Adapters/NimbleXCTestHandler.swift:87:42: warning: 'file' is deprecated: renamed to 'filePath'
85 | public func recordFailure(_ message: String, location: SourceLocation) {
86 | #if !canImport(Darwin)
87 | XCTFail("\(message)", file: location.file, line: location.line)
| |- warning: 'file' is deprecated: renamed to 'filePath'
| `- note: use 'filePath' instead
88 | #else
89 | if let testCase = CurrentTestCaseTracker.sharedInstance.currentTestCase {
[35/75] Compiling Nimble AssertionRecorder+Async.swift
/host/spi-builder-workspace/Sources/Nimble/Adapters/NimbleSwiftTestingHandler.swift:7:22: warning: using '@_implementationOnly' without enabling library evolution for 'Nimble' may lead to instability during execution
5 | // And apparently `private import` - the preferred way to do this - doesn't work.
6 | // So we use a deprecated approach that does work with this.
7 | @_implementationOnly import Testing
| `- warning: using '@_implementationOnly' without enabling library evolution for 'Nimble' may lead to instability during execution
8 | #endif
9 |
/host/spi-builder-workspace/Sources/Nimble/Adapters/AdapterProtocols.swift:13:12: warning: var 'NimbleAssertionHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 | /// @see AssertionHandler
13 | public var NimbleAssertionHandler: AssertionHandler = { () -> AssertionHandler in
| |- warning: var 'NimbleAssertionHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'NimbleAssertionHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'NimbleAssertionHandler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | // swiftlint:disable:previous identifier_name
15 | if isSwiftTestingAvailable() || isXCTestAvailable() {
/host/spi-builder-workspace/Sources/Nimble/Adapters/NimbleXCTestHandler.swift:87:42: warning: 'file' is deprecated: renamed to 'filePath'
85 | public func recordFailure(_ message: String, location: SourceLocation) {
86 | #if !canImport(Darwin)
87 | XCTFail("\(message)", file: location.file, line: location.line)
| |- warning: 'file' is deprecated: renamed to 'filePath'
| `- note: use 'filePath' instead
88 | #else
89 | if let testCase = CurrentTestCaseTracker.sharedInstance.currentTestCase {
[36/75] Compiling Nimble AssertionRecorder.swift
/host/spi-builder-workspace/Sources/Nimble/Adapters/NimbleSwiftTestingHandler.swift:7:22: warning: using '@_implementationOnly' without enabling library evolution for 'Nimble' may lead to instability during execution
5 | // And apparently `private import` - the preferred way to do this - doesn't work.
6 | // So we use a deprecated approach that does work with this.
7 | @_implementationOnly import Testing
| `- warning: using '@_implementationOnly' without enabling library evolution for 'Nimble' may lead to instability during execution
8 | #endif
9 |
/host/spi-builder-workspace/Sources/Nimble/Adapters/AdapterProtocols.swift:13:12: warning: var 'NimbleAssertionHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 | /// @see AssertionHandler
13 | public var NimbleAssertionHandler: AssertionHandler = { () -> AssertionHandler in
| |- warning: var 'NimbleAssertionHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'NimbleAssertionHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'NimbleAssertionHandler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | // swiftlint:disable:previous identifier_name
15 | if isSwiftTestingAvailable() || isXCTestAvailable() {
/host/spi-builder-workspace/Sources/Nimble/Adapters/NimbleXCTestHandler.swift:87:42: warning: 'file' is deprecated: renamed to 'filePath'
85 | public func recordFailure(_ message: String, location: SourceLocation) {
86 | #if !canImport(Darwin)
87 | XCTFail("\(message)", file: location.file, line: location.line)
| |- warning: 'file' is deprecated: renamed to 'filePath'
| `- note: use 'filePath' instead
88 | #else
89 | if let testCase = CurrentTestCaseTracker.sharedInstance.currentTestCase {
[37/75] Compiling Nimble NMBExpectation.swift
/host/spi-builder-workspace/Sources/Nimble/Adapters/NimbleSwiftTestingHandler.swift:7:22: warning: using '@_implementationOnly' without enabling library evolution for 'Nimble' may lead to instability during execution
5 | // And apparently `private import` - the preferred way to do this - doesn't work.
6 | // So we use a deprecated approach that does work with this.
7 | @_implementationOnly import Testing
| `- warning: using '@_implementationOnly' without enabling library evolution for 'Nimble' may lead to instability during execution
8 | #endif
9 |
/host/spi-builder-workspace/Sources/Nimble/Adapters/AdapterProtocols.swift:13:12: warning: var 'NimbleAssertionHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 | /// @see AssertionHandler
13 | public var NimbleAssertionHandler: AssertionHandler = { () -> AssertionHandler in
| |- warning: var 'NimbleAssertionHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'NimbleAssertionHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'NimbleAssertionHandler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | // swiftlint:disable:previous identifier_name
15 | if isSwiftTestingAvailable() || isXCTestAvailable() {
/host/spi-builder-workspace/Sources/Nimble/Adapters/NimbleXCTestHandler.swift:87:42: warning: 'file' is deprecated: renamed to 'filePath'
85 | public func recordFailure(_ message: String, location: SourceLocation) {
86 | #if !canImport(Darwin)
87 | XCTFail("\(message)", file: location.file, line: location.line)
| |- warning: 'file' is deprecated: renamed to 'filePath'
| `- note: use 'filePath' instead
88 | #else
89 | if let testCase = CurrentTestCaseTracker.sharedInstance.currentTestCase {
[38/75] Compiling Nimble NimbleEnvironment.swift
/host/spi-builder-workspace/Sources/Nimble/Adapters/NimbleSwiftTestingHandler.swift:7:22: warning: using '@_implementationOnly' without enabling library evolution for 'Nimble' may lead to instability during execution
5 | // And apparently `private import` - the preferred way to do this - doesn't work.
6 | // So we use a deprecated approach that does work with this.
7 | @_implementationOnly import Testing
| `- warning: using '@_implementationOnly' without enabling library evolution for 'Nimble' may lead to instability during execution
8 | #endif
9 |
/host/spi-builder-workspace/Sources/Nimble/Adapters/AdapterProtocols.swift:13:12: warning: var 'NimbleAssertionHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 | /// @see AssertionHandler
13 | public var NimbleAssertionHandler: AssertionHandler = { () -> AssertionHandler in
| |- warning: var 'NimbleAssertionHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'NimbleAssertionHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'NimbleAssertionHandler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | // swiftlint:disable:previous identifier_name
15 | if isSwiftTestingAvailable() || isXCTestAvailable() {
/host/spi-builder-workspace/Sources/Nimble/Adapters/NimbleXCTestHandler.swift:87:42: warning: 'file' is deprecated: renamed to 'filePath'
85 | public func recordFailure(_ message: String, location: SourceLocation) {
86 | #if !canImport(Darwin)
87 | XCTFail("\(message)", file: location.file, line: location.line)
| |- warning: 'file' is deprecated: renamed to 'filePath'
| `- note: use 'filePath' instead
88 | #else
89 | if let testCase = CurrentTestCaseTracker.sharedInstance.currentTestCase {
[39/75] Compiling Nimble NimbleSwiftTestingHandler.swift
/host/spi-builder-workspace/Sources/Nimble/Adapters/NimbleSwiftTestingHandler.swift:7:22: warning: using '@_implementationOnly' without enabling library evolution for 'Nimble' may lead to instability during execution
5 | // And apparently `private import` - the preferred way to do this - doesn't work.
6 | // So we use a deprecated approach that does work with this.
7 | @_implementationOnly import Testing
| `- warning: using '@_implementationOnly' without enabling library evolution for 'Nimble' may lead to instability during execution
8 | #endif
9 |
/host/spi-builder-workspace/Sources/Nimble/Adapters/AdapterProtocols.swift:13:12: warning: var 'NimbleAssertionHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 | /// @see AssertionHandler
13 | public var NimbleAssertionHandler: AssertionHandler = { () -> AssertionHandler in
| |- warning: var 'NimbleAssertionHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'NimbleAssertionHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'NimbleAssertionHandler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | // swiftlint:disable:previous identifier_name
15 | if isSwiftTestingAvailable() || isXCTestAvailable() {
/host/spi-builder-workspace/Sources/Nimble/Adapters/NimbleXCTestHandler.swift:87:42: warning: 'file' is deprecated: renamed to 'filePath'
85 | public func recordFailure(_ message: String, location: SourceLocation) {
86 | #if !canImport(Darwin)
87 | XCTFail("\(message)", file: location.file, line: location.line)
| |- warning: 'file' is deprecated: renamed to 'filePath'
| `- note: use 'filePath' instead
88 | #else
89 | if let testCase = CurrentTestCaseTracker.sharedInstance.currentTestCase {
[40/75] Compiling Nimble NimbleXCTestHandler.swift
/host/spi-builder-workspace/Sources/Nimble/Adapters/NimbleSwiftTestingHandler.swift:7:22: warning: using '@_implementationOnly' without enabling library evolution for 'Nimble' may lead to instability during execution
5 | // And apparently `private import` - the preferred way to do this - doesn't work.
6 | // So we use a deprecated approach that does work with this.
7 | @_implementationOnly import Testing
| `- warning: using '@_implementationOnly' without enabling library evolution for 'Nimble' may lead to instability during execution
8 | #endif
9 |
/host/spi-builder-workspace/Sources/Nimble/Adapters/AdapterProtocols.swift:13:12: warning: var 'NimbleAssertionHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 | /// @see AssertionHandler
13 | public var NimbleAssertionHandler: AssertionHandler = { () -> AssertionHandler in
| |- warning: var 'NimbleAssertionHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'NimbleAssertionHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'NimbleAssertionHandler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | // swiftlint:disable:previous identifier_name
15 | if isSwiftTestingAvailable() || isXCTestAvailable() {
/host/spi-builder-workspace/Sources/Nimble/Adapters/NimbleXCTestHandler.swift:87:42: warning: 'file' is deprecated: renamed to 'filePath'
85 | public func recordFailure(_ message: String, location: SourceLocation) {
86 | #if !canImport(Darwin)
87 | XCTFail("\(message)", file: location.file, line: location.line)
| |- warning: 'file' is deprecated: renamed to 'filePath'
| `- note: use 'filePath' instead
88 | #else
89 | if let testCase = CurrentTestCaseTracker.sharedInstance.currentTestCase {
[41/75] Compiling Nimble ExceptionCapture.swift
/host/spi-builder-workspace/Sources/Nimble/Adapters/NimbleSwiftTestingHandler.swift:7:22: warning: using '@_implementationOnly' without enabling library evolution for 'Nimble' may lead to instability during execution
5 | // And apparently `private import` - the preferred way to do this - doesn't work.
6 | // So we use a deprecated approach that does work with this.
7 | @_implementationOnly import Testing
| `- warning: using '@_implementationOnly' without enabling library evolution for 'Nimble' may lead to instability during execution
8 | #endif
9 |
/host/spi-builder-workspace/Sources/Nimble/Adapters/AdapterProtocols.swift:13:12: warning: var 'NimbleAssertionHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 | /// @see AssertionHandler
13 | public var NimbleAssertionHandler: AssertionHandler = { () -> AssertionHandler in
| |- warning: var 'NimbleAssertionHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'NimbleAssertionHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'NimbleAssertionHandler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | // swiftlint:disable:previous identifier_name
15 | if isSwiftTestingAvailable() || isXCTestAvailable() {
/host/spi-builder-workspace/Sources/Nimble/Adapters/NimbleXCTestHandler.swift:87:42: warning: 'file' is deprecated: renamed to 'filePath'
85 | public func recordFailure(_ message: String, location: SourceLocation) {
86 | #if !canImport(Darwin)
87 | XCTFail("\(message)", file: location.file, line: location.line)
| |- warning: 'file' is deprecated: renamed to 'filePath'
| `- note: use 'filePath' instead
88 | #else
89 | if let testCase = CurrentTestCaseTracker.sharedInstance.currentTestCase {
[42/75] Compiling Nimble BeginWithPrefix.swift
[43/75] Compiling Nimble Contain.swift
[44/75] Compiling Nimble ContainElementSatisfying.swift
[45/75] Compiling Nimble ElementsEqual.swift
[46/75] Compiling Nimble EndWith.swift
[47/75] Compiling Nimble Equal+Tuple.swift
[48/75] Compiling Nimble Equal+TupleArray.swift
[49/75] Compiling Nimble Equal.swift
[50/75] Compiling Nimble HaveCount.swift
[51/75] Compiling Nimble AllPass.swift
[52/75] Compiling Nimble AsyncAllPass.swift
[53/75] Compiling Nimble AsyncMatcher.swift
[54/75] Compiling Nimble BeAKindOf.swift
[55/75] Compiling Nimble BeAnInstanceOf.swift
[56/75] Compiling Nimble BeCloseTo.swift
[57/75] Compiling Nimble BeEmpty.swift
[58/75] Compiling Nimble BeGreaterThan.swift
[59/75] Compiling Nimble BeGreaterThanOrEqualTo.swift
[60/75] Compiling Nimble Map.swift
/host/spi-builder-workspace/Sources/Nimble/Matchers/PostNotification.swift:25:17: warning: capture of 'self' with non-sendable type 'NotificationCollector?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
4 | import Foundation
5 |
6 | internal class NotificationCollector {
| `- note: class 'NotificationCollector' does not conform to the 'Sendable' protocol
7 | private(set) var observedNotifications: [Notification]
8 | private(set) var observedNotificationDescriptions: [String]
:
23 | return notificationCenter.addObserver(forName: name, object: nil, queue: nil) { [weak self] notification in
24 | // linux-swift gets confused by .append(n)
25 | self?.observedNotifications.append(notification)
| `- warning: capture of 'self' with non-sendable type 'NotificationCollector?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
26 | self?.observedNotificationDescriptions.append(stringify(notification))
27 | }
[61/75] Compiling Nimble Match.swift
/host/spi-builder-workspace/Sources/Nimble/Matchers/PostNotification.swift:25:17: warning: capture of 'self' with non-sendable type 'NotificationCollector?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
4 | import Foundation
5 |
6 | internal class NotificationCollector {
| `- note: class 'NotificationCollector' does not conform to the 'Sendable' protocol
7 | private(set) var observedNotifications: [Notification]
8 | private(set) var observedNotificationDescriptions: [String]
:
23 | return notificationCenter.addObserver(forName: name, object: nil, queue: nil) { [weak self] notification in
24 | // linux-swift gets confused by .append(n)
25 | self?.observedNotifications.append(notification)
| `- warning: capture of 'self' with non-sendable type 'NotificationCollector?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
26 | self?.observedNotificationDescriptions.append(stringify(notification))
27 | }
[62/75] Compiling Nimble MatchError.swift
/host/spi-builder-workspace/Sources/Nimble/Matchers/PostNotification.swift:25:17: warning: capture of 'self' with non-sendable type 'NotificationCollector?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
4 | import Foundation
5 |
6 | internal class NotificationCollector {
| `- note: class 'NotificationCollector' does not conform to the 'Sendable' protocol
7 | private(set) var observedNotifications: [Notification]
8 | private(set) var observedNotificationDescriptions: [String]
:
23 | return notificationCenter.addObserver(forName: name, object: nil, queue: nil) { [weak self] notification in
24 | // linux-swift gets confused by .append(n)
25 | self?.observedNotifications.append(notification)
| `- warning: capture of 'self' with non-sendable type 'NotificationCollector?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
26 | self?.observedNotificationDescriptions.append(stringify(notification))
27 | }
[63/75] Compiling Nimble Matcher.swift
/host/spi-builder-workspace/Sources/Nimble/Matchers/PostNotification.swift:25:17: warning: capture of 'self' with non-sendable type 'NotificationCollector?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
4 | import Foundation
5 |
6 | internal class NotificationCollector {
| `- note: class 'NotificationCollector' does not conform to the 'Sendable' protocol
7 | private(set) var observedNotifications: [Notification]
8 | private(set) var observedNotificationDescriptions: [String]
:
23 | return notificationCenter.addObserver(forName: name, object: nil, queue: nil) { [weak self] notification in
24 | // linux-swift gets confused by .append(n)
25 | self?.observedNotifications.append(notification)
| `- warning: capture of 'self' with non-sendable type 'NotificationCollector?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
26 | self?.observedNotificationDescriptions.append(stringify(notification))
27 | }
[64/75] Compiling Nimble MatcherProtocols.swift
/host/spi-builder-workspace/Sources/Nimble/Matchers/PostNotification.swift:25:17: warning: capture of 'self' with non-sendable type 'NotificationCollector?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
4 | import Foundation
5 |
6 | internal class NotificationCollector {
| `- note: class 'NotificationCollector' does not conform to the 'Sendable' protocol
7 | private(set) var observedNotifications: [Notification]
8 | private(set) var observedNotificationDescriptions: [String]
:
23 | return notificationCenter.addObserver(forName: name, object: nil, queue: nil) { [weak self] notification in
24 | // linux-swift gets confused by .append(n)
25 | self?.observedNotifications.append(notification)
| `- warning: capture of 'self' with non-sendable type 'NotificationCollector?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
26 | self?.observedNotificationDescriptions.append(stringify(notification))
27 | }
[65/75] Compiling Nimble Negation.swift
/host/spi-builder-workspace/Sources/Nimble/Matchers/PostNotification.swift:25:17: warning: capture of 'self' with non-sendable type 'NotificationCollector?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
4 | import Foundation
5 |
6 | internal class NotificationCollector {
| `- note: class 'NotificationCollector' does not conform to the 'Sendable' protocol
7 | private(set) var observedNotifications: [Notification]
8 | private(set) var observedNotificationDescriptions: [String]
:
23 | return notificationCenter.addObserver(forName: name, object: nil, queue: nil) { [weak self] notification in
24 | // linux-swift gets confused by .append(n)
25 | self?.observedNotifications.append(notification)
| `- warning: capture of 'self' with non-sendable type 'NotificationCollector?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
26 | self?.observedNotificationDescriptions.append(stringify(notification))
27 | }
[66/75] Compiling Nimble PostNotification.swift
/host/spi-builder-workspace/Sources/Nimble/Matchers/PostNotification.swift:25:17: warning: capture of 'self' with non-sendable type 'NotificationCollector?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
4 | import Foundation
5 |
6 | internal class NotificationCollector {
| `- note: class 'NotificationCollector' does not conform to the 'Sendable' protocol
7 | private(set) var observedNotifications: [Notification]
8 | private(set) var observedNotificationDescriptions: [String]
:
23 | return notificationCenter.addObserver(forName: name, object: nil, queue: nil) { [weak self] notification in
24 | // linux-swift gets confused by .append(n)
25 | self?.observedNotifications.append(notification)
| `- warning: capture of 'self' with non-sendable type 'NotificationCollector?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
26 | self?.observedNotificationDescriptions.append(stringify(notification))
27 | }
[67/75] Compiling Nimble RaisesException.swift
/host/spi-builder-workspace/Sources/Nimble/Matchers/PostNotification.swift:25:17: warning: capture of 'self' with non-sendable type 'NotificationCollector?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
4 | import Foundation
5 |
6 | internal class NotificationCollector {
| `- note: class 'NotificationCollector' does not conform to the 'Sendable' protocol
7 | private(set) var observedNotifications: [Notification]
8 | private(set) var observedNotificationDescriptions: [String]
:
23 | return notificationCenter.addObserver(forName: name, object: nil, queue: nil) { [weak self] notification in
24 | // linux-swift gets confused by .append(n)
25 | self?.observedNotifications.append(notification)
| `- warning: capture of 'self' with non-sendable type 'NotificationCollector?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
26 | self?.observedNotificationDescriptions.append(stringify(notification))
27 | }
[68/75] Compiling Nimble Requirement.swift
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:5:22: warning: using '@_implementationOnly' without enabling library evolution for 'Nimble' may lead to instability during execution
3 | import Foundation
4 | #if canImport(Testing)
5 | @_implementationOnly import Testing
| `- warning: using '@_implementationOnly' without enabling library evolution for 'Nimble' may lead to instability during execution
6 | #endif
7 |
/host/spi-builder-workspace/Sources/Nimble/Utils/PollAwait.swift:9:22: warning: using '@_implementationOnly' without enabling library evolution for 'Nimble' may lead to instability during execution
7 | import Foundation
8 | #if canImport(Testing)
9 | @_implementationOnly import Testing
| `- warning: using '@_implementationOnly' without enabling library evolution for 'Nimble' may lead to instability during execution
10 | #endif
11 |
/host/spi-builder-workspace/Sources/Nimble/Utils/PollAwait.swift:166:25: warning: result of call to 'run(mode:before:)' is unused
164 | while case .timedOut = resultBox.currentValue, abs(start.timeIntervalSinceNow) < timeout.timeInterval {
165 | if Thread.isMainThread {
166 | runloop.run(mode: .default, before: Date(timeIntervalSinceNow: timeout.timeInterval))
| `- warning: result of call to 'run(mode:before:)' is unused
167 | } else {
168 | DispatchQueue.main.sync {
/host/spi-builder-workspace/Sources/Nimble/Utils/PollAwait.swift:169:25: warning: sending 'runloop' risks causing data races; this is an error in the Swift 6 language mode
166 | runloop.run(mode: .default, before: Date(timeIntervalSinceNow: timeout.timeInterval))
167 | } else {
168 | DispatchQueue.main.sync {
| `- note: access can happen concurrently
169 | _ = runloop.run(mode: .default, before: Date(timeIntervalSinceNow: timeout.timeInterval))
| |- warning: sending 'runloop' risks causing data races; this is an error in the Swift 6 language mode
| `- note: 'runloop' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
170 | }
171 | }
[69/75] Compiling Nimble AsyncAwait.swift
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:5:22: warning: using '@_implementationOnly' without enabling library evolution for 'Nimble' may lead to instability during execution
3 | import Foundation
4 | #if canImport(Testing)
5 | @_implementationOnly import Testing
| `- warning: using '@_implementationOnly' without enabling library evolution for 'Nimble' may lead to instability during execution
6 | #endif
7 |
/host/spi-builder-workspace/Sources/Nimble/Utils/PollAwait.swift:9:22: warning: using '@_implementationOnly' without enabling library evolution for 'Nimble' may lead to instability during execution
7 | import Foundation
8 | #if canImport(Testing)
9 | @_implementationOnly import Testing
| `- warning: using '@_implementationOnly' without enabling library evolution for 'Nimble' may lead to instability during execution
10 | #endif
11 |
/host/spi-builder-workspace/Sources/Nimble/Utils/PollAwait.swift:166:25: warning: result of call to 'run(mode:before:)' is unused
164 | while case .timedOut = resultBox.currentValue, abs(start.timeIntervalSinceNow) < timeout.timeInterval {
165 | if Thread.isMainThread {
166 | runloop.run(mode: .default, before: Date(timeIntervalSinceNow: timeout.timeInterval))
| `- warning: result of call to 'run(mode:before:)' is unused
167 | } else {
168 | DispatchQueue.main.sync {
/host/spi-builder-workspace/Sources/Nimble/Utils/PollAwait.swift:169:25: warning: sending 'runloop' risks causing data races; this is an error in the Swift 6 language mode
166 | runloop.run(mode: .default, before: Date(timeIntervalSinceNow: timeout.timeInterval))
167 | } else {
168 | DispatchQueue.main.sync {
| `- note: access can happen concurrently
169 | _ = runloop.run(mode: .default, before: Date(timeIntervalSinceNow: timeout.timeInterval))
| |- warning: sending 'runloop' risks causing data races; this is an error in the Swift 6 language mode
| `- note: 'runloop' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
170 | }
171 | }
[70/75] Compiling Nimble AsyncTimerSequence.swift
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:5:22: warning: using '@_implementationOnly' without enabling library evolution for 'Nimble' may lead to instability during execution
3 | import Foundation
4 | #if canImport(Testing)
5 | @_implementationOnly import Testing
| `- warning: using '@_implementationOnly' without enabling library evolution for 'Nimble' may lead to instability during execution
6 | #endif
7 |
/host/spi-builder-workspace/Sources/Nimble/Utils/PollAwait.swift:9:22: warning: using '@_implementationOnly' without enabling library evolution for 'Nimble' may lead to instability during execution
7 | import Foundation
8 | #if canImport(Testing)
9 | @_implementationOnly import Testing
| `- warning: using '@_implementationOnly' without enabling library evolution for 'Nimble' may lead to instability during execution
10 | #endif
11 |
/host/spi-builder-workspace/Sources/Nimble/Utils/PollAwait.swift:166:25: warning: result of call to 'run(mode:before:)' is unused
164 | while case .timedOut = resultBox.currentValue, abs(start.timeIntervalSinceNow) < timeout.timeInterval {
165 | if Thread.isMainThread {
166 | runloop.run(mode: .default, before: Date(timeIntervalSinceNow: timeout.timeInterval))
| `- warning: result of call to 'run(mode:before:)' is unused
167 | } else {
168 | DispatchQueue.main.sync {
/host/spi-builder-workspace/Sources/Nimble/Utils/PollAwait.swift:169:25: warning: sending 'runloop' risks causing data races; this is an error in the Swift 6 language mode
166 | runloop.run(mode: .default, before: Date(timeIntervalSinceNow: timeout.timeInterval))
167 | } else {
168 | DispatchQueue.main.sync {
| `- note: access can happen concurrently
169 | _ = runloop.run(mode: .default, before: Date(timeIntervalSinceNow: timeout.timeInterval))
| |- warning: sending 'runloop' risks causing data races; this is an error in the Swift 6 language mode
| `- note: 'runloop' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
170 | }
171 | }
[71/75] Compiling Nimble Errors.swift
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:5:22: warning: using '@_implementationOnly' without enabling library evolution for 'Nimble' may lead to instability during execution
3 | import Foundation
4 | #if canImport(Testing)
5 | @_implementationOnly import Testing
| `- warning: using '@_implementationOnly' without enabling library evolution for 'Nimble' may lead to instability during execution
6 | #endif
7 |
/host/spi-builder-workspace/Sources/Nimble/Utils/PollAwait.swift:9:22: warning: using '@_implementationOnly' without enabling library evolution for 'Nimble' may lead to instability during execution
7 | import Foundation
8 | #if canImport(Testing)
9 | @_implementationOnly import Testing
| `- warning: using '@_implementationOnly' without enabling library evolution for 'Nimble' may lead to instability during execution
10 | #endif
11 |
/host/spi-builder-workspace/Sources/Nimble/Utils/PollAwait.swift:166:25: warning: result of call to 'run(mode:before:)' is unused
164 | while case .timedOut = resultBox.currentValue, abs(start.timeIntervalSinceNow) < timeout.timeInterval {
165 | if Thread.isMainThread {
166 | runloop.run(mode: .default, before: Date(timeIntervalSinceNow: timeout.timeInterval))
| `- warning: result of call to 'run(mode:before:)' is unused
167 | } else {
168 | DispatchQueue.main.sync {
/host/spi-builder-workspace/Sources/Nimble/Utils/PollAwait.swift:169:25: warning: sending 'runloop' risks causing data races; this is an error in the Swift 6 language mode
166 | runloop.run(mode: .default, before: Date(timeIntervalSinceNow: timeout.timeInterval))
167 | } else {
168 | DispatchQueue.main.sync {
| `- note: access can happen concurrently
169 | _ = runloop.run(mode: .default, before: Date(timeIntervalSinceNow: timeout.timeInterval))
| |- warning: sending 'runloop' risks causing data races; this is an error in the Swift 6 language mode
| `- note: 'runloop' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
170 | }
171 | }
[72/75] Compiling Nimble NimbleTimeInterval.swift
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:5:22: warning: using '@_implementationOnly' without enabling library evolution for 'Nimble' may lead to instability during execution
3 | import Foundation
4 | #if canImport(Testing)
5 | @_implementationOnly import Testing
| `- warning: using '@_implementationOnly' without enabling library evolution for 'Nimble' may lead to instability during execution
6 | #endif
7 |
/host/spi-builder-workspace/Sources/Nimble/Utils/PollAwait.swift:9:22: warning: using '@_implementationOnly' without enabling library evolution for 'Nimble' may lead to instability during execution
7 | import Foundation
8 | #if canImport(Testing)
9 | @_implementationOnly import Testing
| `- warning: using '@_implementationOnly' without enabling library evolution for 'Nimble' may lead to instability during execution
10 | #endif
11 |
/host/spi-builder-workspace/Sources/Nimble/Utils/PollAwait.swift:166:25: warning: result of call to 'run(mode:before:)' is unused
164 | while case .timedOut = resultBox.currentValue, abs(start.timeIntervalSinceNow) < timeout.timeInterval {
165 | if Thread.isMainThread {
166 | runloop.run(mode: .default, before: Date(timeIntervalSinceNow: timeout.timeInterval))
| `- warning: result of call to 'run(mode:before:)' is unused
167 | } else {
168 | DispatchQueue.main.sync {
/host/spi-builder-workspace/Sources/Nimble/Utils/PollAwait.swift:169:25: warning: sending 'runloop' risks causing data races; this is an error in the Swift 6 language mode
166 | runloop.run(mode: .default, before: Date(timeIntervalSinceNow: timeout.timeInterval))
167 | } else {
168 | DispatchQueue.main.sync {
| `- note: access can happen concurrently
169 | _ = runloop.run(mode: .default, before: Date(timeIntervalSinceNow: timeout.timeInterval))
| |- warning: sending 'runloop' risks causing data races; this is an error in the Swift 6 language mode
| `- note: 'runloop' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
170 | }
171 | }
[73/75] Compiling Nimble PollAwait.swift
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:5:22: warning: using '@_implementationOnly' without enabling library evolution for 'Nimble' may lead to instability during execution
3 | import Foundation
4 | #if canImport(Testing)
5 | @_implementationOnly import Testing
| `- warning: using '@_implementationOnly' without enabling library evolution for 'Nimble' may lead to instability during execution
6 | #endif
7 |
/host/spi-builder-workspace/Sources/Nimble/Utils/PollAwait.swift:9:22: warning: using '@_implementationOnly' without enabling library evolution for 'Nimble' may lead to instability during execution
7 | import Foundation
8 | #if canImport(Testing)
9 | @_implementationOnly import Testing
| `- warning: using '@_implementationOnly' without enabling library evolution for 'Nimble' may lead to instability during execution
10 | #endif
11 |
/host/spi-builder-workspace/Sources/Nimble/Utils/PollAwait.swift:166:25: warning: result of call to 'run(mode:before:)' is unused
164 | while case .timedOut = resultBox.currentValue, abs(start.timeIntervalSinceNow) < timeout.timeInterval {
165 | if Thread.isMainThread {
166 | runloop.run(mode: .default, before: Date(timeIntervalSinceNow: timeout.timeInterval))
| `- warning: result of call to 'run(mode:before:)' is unused
167 | } else {
168 | DispatchQueue.main.sync {
/host/spi-builder-workspace/Sources/Nimble/Utils/PollAwait.swift:169:25: warning: sending 'runloop' risks causing data races; this is an error in the Swift 6 language mode
166 | runloop.run(mode: .default, before: Date(timeIntervalSinceNow: timeout.timeInterval))
167 | } else {
168 | DispatchQueue.main.sync {
| `- note: access can happen concurrently
169 | _ = runloop.run(mode: .default, before: Date(timeIntervalSinceNow: timeout.timeInterval))
| |- warning: sending 'runloop' risks causing data races; this is an error in the Swift 6 language mode
| `- note: 'runloop' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
170 | }
171 | }
[74/75] Compiling Nimble SourceLocation.swift
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:5:22: warning: using '@_implementationOnly' without enabling library evolution for 'Nimble' may lead to instability during execution
3 | import Foundation
4 | #if canImport(Testing)
5 | @_implementationOnly import Testing
| `- warning: using '@_implementationOnly' without enabling library evolution for 'Nimble' may lead to instability during execution
6 | #endif
7 |
/host/spi-builder-workspace/Sources/Nimble/Utils/PollAwait.swift:9:22: warning: using '@_implementationOnly' without enabling library evolution for 'Nimble' may lead to instability during execution
7 | import Foundation
8 | #if canImport(Testing)
9 | @_implementationOnly import Testing
| `- warning: using '@_implementationOnly' without enabling library evolution for 'Nimble' may lead to instability during execution
10 | #endif
11 |
/host/spi-builder-workspace/Sources/Nimble/Utils/PollAwait.swift:166:25: warning: result of call to 'run(mode:before:)' is unused
164 | while case .timedOut = resultBox.currentValue, abs(start.timeIntervalSinceNow) < timeout.timeInterval {
165 | if Thread.isMainThread {
166 | runloop.run(mode: .default, before: Date(timeIntervalSinceNow: timeout.timeInterval))
| `- warning: result of call to 'run(mode:before:)' is unused
167 | } else {
168 | DispatchQueue.main.sync {
/host/spi-builder-workspace/Sources/Nimble/Utils/PollAwait.swift:169:25: warning: sending 'runloop' risks causing data races; this is an error in the Swift 6 language mode
166 | runloop.run(mode: .default, before: Date(timeIntervalSinceNow: timeout.timeInterval))
167 | } else {
168 | DispatchQueue.main.sync {
| `- note: access can happen concurrently
169 | _ = runloop.run(mode: .default, before: Date(timeIntervalSinceNow: timeout.timeInterval))
| |- warning: sending 'runloop' risks causing data races; this is an error in the Swift 6 language mode
| `- note: 'runloop' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
170 | }
171 | }
[75/75] Compiling Nimble Stringers.swift
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:5:22: warning: using '@_implementationOnly' without enabling library evolution for 'Nimble' may lead to instability during execution
3 | import Foundation
4 | #if canImport(Testing)
5 | @_implementationOnly import Testing
| `- warning: using '@_implementationOnly' without enabling library evolution for 'Nimble' may lead to instability during execution
6 | #endif
7 |
/host/spi-builder-workspace/Sources/Nimble/Utils/PollAwait.swift:9:22: warning: using '@_implementationOnly' without enabling library evolution for 'Nimble' may lead to instability during execution
7 | import Foundation
8 | #if canImport(Testing)
9 | @_implementationOnly import Testing
| `- warning: using '@_implementationOnly' without enabling library evolution for 'Nimble' may lead to instability during execution
10 | #endif
11 |
/host/spi-builder-workspace/Sources/Nimble/Utils/PollAwait.swift:166:25: warning: result of call to 'run(mode:before:)' is unused
164 | while case .timedOut = resultBox.currentValue, abs(start.timeIntervalSinceNow) < timeout.timeInterval {
165 | if Thread.isMainThread {
166 | runloop.run(mode: .default, before: Date(timeIntervalSinceNow: timeout.timeInterval))
| `- warning: result of call to 'run(mode:before:)' is unused
167 | } else {
168 | DispatchQueue.main.sync {
/host/spi-builder-workspace/Sources/Nimble/Utils/PollAwait.swift:169:25: warning: sending 'runloop' risks causing data races; this is an error in the Swift 6 language mode
166 | runloop.run(mode: .default, before: Date(timeIntervalSinceNow: timeout.timeInterval))
167 | } else {
168 | DispatchQueue.main.sync {
| `- note: access can happen concurrently
169 | _ = runloop.run(mode: .default, before: Date(timeIntervalSinceNow: timeout.timeInterval))
| |- warning: sending 'runloop' risks causing data races; this is an error in the Swift 6 language mode
| `- note: 'runloop' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
170 | }
171 | }
[77/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 | }
[78/78] Emitting module NimbleSharedTestHelpers
Build complete! (45.60s)
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",
"AsyncTimerSequenceTest.swift",
"DSLTest.swift",
"Helpers/AsyncHelpers.swift",
"Helpers/BackgroundThreadObject.swift",
"Helpers/ObjectWithLazyProperty.swift",
"LinuxSupport.swift",
"Matchers/AllPassTest.swift",
"Matchers/AlwaysFailMatcher.swift",
"Matchers/AsyncAllPassTest.swift",
"Matchers/AsyncPredicateTest.swift",
"Matchers/BeAKindOfTest.swift",
"Matchers/BeAnInstanceOfTest.swift",
"Matchers/BeCloseToTest.swift",
"Matchers/BeEmptyTest.swift",
"Matchers/BeGreaterThanOrEqualToTest.swift",
"Matchers/BeGreaterThanTest.swift",
"Matchers/BeIdenticalToObjectTest.swift",
"Matchers/BeIdenticalToTest.swift",
"Matchers/BeLessThanOrEqualToTest.swift",
"Matchers/BeLessThanTest.swift",
"Matchers/BeLogicalTest.swift",
"Matchers/BeNilTest.swift",
"Matchers/BeResultTest.swift",
"Matchers/BeVoidTest.swift",
"Matchers/BeWithinTest.swift",
"Matchers/BeginWithPrefixTest.swift",
"Matchers/BeginWithTest.swift",
"Matchers/ContainElementSatisfyingTest.swift",
"Matchers/ContainTest.swift",
"Matchers/ElementsEqualTest.swift",
"Matchers/EndWithTest.swift",
"Matchers/EqualTest.swift",
"Matchers/HaveCountTest.swift",
"Matchers/MapTest.swift",
"Matchers/MatchErrorTest.swift",
"Matchers/MatchTest.swift",
"Matchers/NegationTest.swift",
"Matchers/PostNotificationTest.swift",
"Matchers/RaisesExceptionTest.swift",
"Matchers/SatisfyAllOfTest.swift",
"Matchers/SatisfyAnyOfTest.swift",
"Matchers/ThrowAssertionTest.swift",
"Matchers/ThrowErrorTest.swift",
"Matchers/ToSucceedTest.swift",
"NimbleTimeIntervalTest.swift",
"OnFailureThrowsTest.swift",
"PollingTest+Require.swift",
"PollingTest.swift",
"PredicateTest.swift",
"StatusTest.swift",
"SwiftTestingSupportTest.swift",
"SynchronousTest.swift",
"UserDescriptionTest.swift"
],
"target_dependencies" : [
"Nimble",
"NimbleSharedTestHelpers"
],
"type" : "test"
},
{
"c99name" : "NimbleSharedTestHelpers",
"module_type" : "SwiftTarget",
"name" : "NimbleSharedTestHelpers",
"path" : "Sources/NimbleSharedTestHelpers",
"sources" : [
"utils.swift"
],
"target_dependencies" : [
"Nimble"
],
"type" : "library"
},
{
"c99name" : "Nimble",
"module_type" : "SwiftTarget",
"name" : "Nimble",
"path" : "Sources/Nimble",
"product_dependencies" : [
"CwlPreconditionTesting",
"CwlPosixPreconditionTesting"
],
"product_memberships" : [
"Nimble"
],
"sources" : [
"Adapters/AdapterProtocols.swift",
"Adapters/AssertionDispatcher.swift",
"Adapters/AssertionRecorder+Async.swift",
"Adapters/AssertionRecorder.swift",
"Adapters/NMBExpectation.swift",
"Adapters/NimbleEnvironment.swift",
"Adapters/NimbleSwiftTestingHandler.swift",
"Adapters/NimbleXCTestHandler.swift",
"Adapters/NonObjectiveC/ExceptionCapture.swift",
"AsyncExpression.swift",
"DSL+AsyncAwait.swift",
"DSL+Require.swift",
"DSL+Wait.swift",
"DSL.swift",
"Expectation.swift",
"ExpectationMessage.swift",
"Expression.swift",
"FailureMessage.swift",
"Matchers/AllPass.swift",
"Matchers/AsyncAllPass.swift",
"Matchers/AsyncMatcher.swift",
"Matchers/BeAKindOf.swift",
"Matchers/BeAnInstanceOf.swift",
"Matchers/BeCloseTo.swift",
"Matchers/BeEmpty.swift",
"Matchers/BeGreaterThan.swift",
"Matchers/BeGreaterThanOrEqualTo.swift",
"Matchers/BeIdenticalTo.swift",
"Matchers/BeLessThan.swift",
"Matchers/BeLessThanOrEqual.swift",
"Matchers/BeLogical.swift",
"Matchers/BeNil.swift",
"Matchers/BeResult.swift",
"Matchers/BeVoid.swift",
"Matchers/BeWithin.swift",
"Matchers/BeginWith.swift",
"Matchers/BeginWithPrefix.swift",
"Matchers/Contain.swift",
"Matchers/ContainElementSatisfying.swift",
"Matchers/ElementsEqual.swift",
"Matchers/EndWith.swift",
"Matchers/Equal+Tuple.swift",
"Matchers/Equal+TupleArray.swift",
"Matchers/Equal.swift",
"Matchers/HaveCount.swift",
"Matchers/Map.swift",
"Matchers/Match.swift",
"Matchers/MatchError.swift",
"Matchers/Matcher.swift",
"Matchers/MatcherProtocols.swift",
"Matchers/Negation.swift",
"Matchers/PostNotification.swift",
"Matchers/RaisesException.swift",
"Matchers/SatisfyAllOf.swift",
"Matchers/SatisfyAnyOf.swift",
"Matchers/ThrowAssertion.swift",
"Matchers/ThrowError.swift",
"Matchers/ToSucceed.swift",
"Polling+AsyncAwait.swift",
"Polling+Require.swift",
"Polling.swift",
"Requirement.swift",
"Utils/AsyncAwait.swift",
"Utils/AsyncTimerSequence.swift",
"Utils/Errors.swift",
"Utils/NimbleTimeInterval.swift",
"Utils/PollAwait.swift",
"Utils/SourceLocation.swift",
"Utils/Stringers.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:4d72617259f6eef9908440c49a67b79bc4f973ae19f78187418ddfb5b178d4ec
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
warning: 'spi-builder-workspace': /host/spi-builder-workspace/Package.swift:4:15: warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
2 | import PackageDescription
3 |
4 | let package = Package(
| |- warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
| `- note: use 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' instead
5 | name: "Nimble",
6 | platforms: [
Done.