Build Information
Successful build of Nimble, reference main (28970f
), with Swift 6.1 for Linux on 30 Apr 2025 03:47:08 UTC.
Swift 6 data race errors: 4
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
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,
[50/75] Compiling Nimble AsyncExpression.swift
/host/spi-builder-workspace/Sources/Nimble/DSL+AsyncAwait.swift:145:25: warning: capture of 'done' with non-sendable type '(ErrorResult) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
143 | do {
144 | try await action {
145 | done(.none)
| |- warning: capture of 'done' with non-sendable type '(ErrorResult) -> 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'
146 | }
147 | } catch let e {
/host/spi-builder-workspace/Sources/Nimble/DSL+AsyncAwait.swift:144:31: warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
142 | sourceLocation: sourceLocation) { @MainActor (done: @escaping (ErrorResult) -> Void) async throws -> Void in
143 | do {
144 | try await 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
145 | done(.none)
146 | }
/host/spi-builder-workspace/Sources/Nimble/DSL+Wait.swift:58:29: warning: sending 'done' risks causing data races; this is an error in the Swift 6 language mode
56 | let capture = NMBExceptionCapture(
57 | handler: ({ exception in
58 | done(.exception(exception))
| |- warning: sending 'done' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'done' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
59 | }),
60 | finally: ({ })
/host/spi-builder-workspace/Sources/Nimble/DSL+Wait.swift:64:33: warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
62 | capture.tryBlock {
63 | do {
64 | try 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
65 | done(.none)
66 | }
/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,
[51/75] Compiling Nimble DSL+AsyncAwait.swift
/host/spi-builder-workspace/Sources/Nimble/DSL+AsyncAwait.swift:145:25: warning: capture of 'done' with non-sendable type '(ErrorResult) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
143 | do {
144 | try await action {
145 | done(.none)
| |- warning: capture of 'done' with non-sendable type '(ErrorResult) -> 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'
146 | }
147 | } catch let e {
/host/spi-builder-workspace/Sources/Nimble/DSL+AsyncAwait.swift:144:31: warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
142 | sourceLocation: sourceLocation) { @MainActor (done: @escaping (ErrorResult) -> Void) async throws -> Void in
143 | do {
144 | try await 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
145 | done(.none)
146 | }
/host/spi-builder-workspace/Sources/Nimble/DSL+Wait.swift:58:29: warning: sending 'done' risks causing data races; this is an error in the Swift 6 language mode
56 | let capture = NMBExceptionCapture(
57 | handler: ({ exception in
58 | done(.exception(exception))
| |- warning: sending 'done' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'done' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
59 | }),
60 | finally: ({ })
/host/spi-builder-workspace/Sources/Nimble/DSL+Wait.swift:64:33: warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
62 | capture.tryBlock {
63 | do {
64 | try 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
65 | done(.none)
66 | }
/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,
[52/75] Compiling Nimble DSL+Require.swift
/host/spi-builder-workspace/Sources/Nimble/DSL+AsyncAwait.swift:145:25: warning: capture of 'done' with non-sendable type '(ErrorResult) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
143 | do {
144 | try await action {
145 | done(.none)
| |- warning: capture of 'done' with non-sendable type '(ErrorResult) -> 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'
146 | }
147 | } catch let e {
/host/spi-builder-workspace/Sources/Nimble/DSL+AsyncAwait.swift:144:31: warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
142 | sourceLocation: sourceLocation) { @MainActor (done: @escaping (ErrorResult) -> Void) async throws -> Void in
143 | do {
144 | try await 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
145 | done(.none)
146 | }
/host/spi-builder-workspace/Sources/Nimble/DSL+Wait.swift:58:29: warning: sending 'done' risks causing data races; this is an error in the Swift 6 language mode
56 | let capture = NMBExceptionCapture(
57 | handler: ({ exception in
58 | done(.exception(exception))
| |- warning: sending 'done' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'done' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
59 | }),
60 | finally: ({ })
/host/spi-builder-workspace/Sources/Nimble/DSL+Wait.swift:64:33: warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
62 | capture.tryBlock {
63 | do {
64 | try 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
65 | done(.none)
66 | }
/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,
[53/75] Compiling Nimble DSL+Wait.swift
/host/spi-builder-workspace/Sources/Nimble/DSL+AsyncAwait.swift:145:25: warning: capture of 'done' with non-sendable type '(ErrorResult) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
143 | do {
144 | try await action {
145 | done(.none)
| |- warning: capture of 'done' with non-sendable type '(ErrorResult) -> 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'
146 | }
147 | } catch let e {
/host/spi-builder-workspace/Sources/Nimble/DSL+AsyncAwait.swift:144:31: warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
142 | sourceLocation: sourceLocation) { @MainActor (done: @escaping (ErrorResult) -> Void) async throws -> Void in
143 | do {
144 | try await 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
145 | done(.none)
146 | }
/host/spi-builder-workspace/Sources/Nimble/DSL+Wait.swift:58:29: warning: sending 'done' risks causing data races; this is an error in the Swift 6 language mode
56 | let capture = NMBExceptionCapture(
57 | handler: ({ exception in
58 | done(.exception(exception))
| |- warning: sending 'done' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'done' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
59 | }),
60 | finally: ({ })
/host/spi-builder-workspace/Sources/Nimble/DSL+Wait.swift:64:33: warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
62 | capture.tryBlock {
63 | do {
64 | try 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
65 | done(.none)
66 | }
/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,
[54/75] Compiling Nimble DSL.swift
/host/spi-builder-workspace/Sources/Nimble/DSL+AsyncAwait.swift:145:25: warning: capture of 'done' with non-sendable type '(ErrorResult) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
143 | do {
144 | try await action {
145 | done(.none)
| |- warning: capture of 'done' with non-sendable type '(ErrorResult) -> 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'
146 | }
147 | } catch let e {
/host/spi-builder-workspace/Sources/Nimble/DSL+AsyncAwait.swift:144:31: warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
142 | sourceLocation: sourceLocation) { @MainActor (done: @escaping (ErrorResult) -> Void) async throws -> Void in
143 | do {
144 | try await 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
145 | done(.none)
146 | }
/host/spi-builder-workspace/Sources/Nimble/DSL+Wait.swift:58:29: warning: sending 'done' risks causing data races; this is an error in the Swift 6 language mode
56 | let capture = NMBExceptionCapture(
57 | handler: ({ exception in
58 | done(.exception(exception))
| |- warning: sending 'done' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'done' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
59 | }),
60 | finally: ({ })
/host/spi-builder-workspace/Sources/Nimble/DSL+Wait.swift:64:33: warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
62 | capture.tryBlock {
63 | do {
64 | try 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
65 | done(.none)
66 | }
/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,
[55/75] Compiling Nimble Expectation.swift
/host/spi-builder-workspace/Sources/Nimble/DSL+AsyncAwait.swift:145:25: warning: capture of 'done' with non-sendable type '(ErrorResult) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
143 | do {
144 | try await action {
145 | done(.none)
| |- warning: capture of 'done' with non-sendable type '(ErrorResult) -> 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'
146 | }
147 | } catch let e {
/host/spi-builder-workspace/Sources/Nimble/DSL+AsyncAwait.swift:144:31: warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
142 | sourceLocation: sourceLocation) { @MainActor (done: @escaping (ErrorResult) -> Void) async throws -> Void in
143 | do {
144 | try await 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
145 | done(.none)
146 | }
/host/spi-builder-workspace/Sources/Nimble/DSL+Wait.swift:58:29: warning: sending 'done' risks causing data races; this is an error in the Swift 6 language mode
56 | let capture = NMBExceptionCapture(
57 | handler: ({ exception in
58 | done(.exception(exception))
| |- warning: sending 'done' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'done' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
59 | }),
60 | finally: ({ })
/host/spi-builder-workspace/Sources/Nimble/DSL+Wait.swift:64:33: warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
62 | capture.tryBlock {
63 | do {
64 | try 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
65 | done(.none)
66 | }
/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,
[56/75] Compiling Nimble ExpectationMessage.swift
/host/spi-builder-workspace/Sources/Nimble/DSL+AsyncAwait.swift:145:25: warning: capture of 'done' with non-sendable type '(ErrorResult) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
143 | do {
144 | try await action {
145 | done(.none)
| |- warning: capture of 'done' with non-sendable type '(ErrorResult) -> 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'
146 | }
147 | } catch let e {
/host/spi-builder-workspace/Sources/Nimble/DSL+AsyncAwait.swift:144:31: warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
142 | sourceLocation: sourceLocation) { @MainActor (done: @escaping (ErrorResult) -> Void) async throws -> Void in
143 | do {
144 | try await 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
145 | done(.none)
146 | }
/host/spi-builder-workspace/Sources/Nimble/DSL+Wait.swift:58:29: warning: sending 'done' risks causing data races; this is an error in the Swift 6 language mode
56 | let capture = NMBExceptionCapture(
57 | handler: ({ exception in
58 | done(.exception(exception))
| |- warning: sending 'done' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'done' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
59 | }),
60 | finally: ({ })
/host/spi-builder-workspace/Sources/Nimble/DSL+Wait.swift:64:33: warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
62 | capture.tryBlock {
63 | do {
64 | try 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
65 | done(.none)
66 | }
/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,
[57/75] Compiling Nimble Expression.swift
/host/spi-builder-workspace/Sources/Nimble/DSL+AsyncAwait.swift:145:25: warning: capture of 'done' with non-sendable type '(ErrorResult) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
143 | do {
144 | try await action {
145 | done(.none)
| |- warning: capture of 'done' with non-sendable type '(ErrorResult) -> 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'
146 | }
147 | } catch let e {
/host/spi-builder-workspace/Sources/Nimble/DSL+AsyncAwait.swift:144:31: warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
142 | sourceLocation: sourceLocation) { @MainActor (done: @escaping (ErrorResult) -> Void) async throws -> Void in
143 | do {
144 | try await 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
145 | done(.none)
146 | }
/host/spi-builder-workspace/Sources/Nimble/DSL+Wait.swift:58:29: warning: sending 'done' risks causing data races; this is an error in the Swift 6 language mode
56 | let capture = NMBExceptionCapture(
57 | handler: ({ exception in
58 | done(.exception(exception))
| |- warning: sending 'done' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'done' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
59 | }),
60 | finally: ({ })
/host/spi-builder-workspace/Sources/Nimble/DSL+Wait.swift:64:33: warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
62 | capture.tryBlock {
63 | do {
64 | try 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
65 | done(.none)
66 | }
/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,
[58/75] Compiling Nimble FailureMessage.swift
/host/spi-builder-workspace/Sources/Nimble/DSL+AsyncAwait.swift:145:25: warning: capture of 'done' with non-sendable type '(ErrorResult) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
143 | do {
144 | try await action {
145 | done(.none)
| |- warning: capture of 'done' with non-sendable type '(ErrorResult) -> 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'
146 | }
147 | } catch let e {
/host/spi-builder-workspace/Sources/Nimble/DSL+AsyncAwait.swift:144:31: warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
142 | sourceLocation: sourceLocation) { @MainActor (done: @escaping (ErrorResult) -> Void) async throws -> Void in
143 | do {
144 | try await 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
145 | done(.none)
146 | }
/host/spi-builder-workspace/Sources/Nimble/DSL+Wait.swift:58:29: warning: sending 'done' risks causing data races; this is an error in the Swift 6 language mode
56 | let capture = NMBExceptionCapture(
57 | handler: ({ exception in
58 | done(.exception(exception))
| |- warning: sending 'done' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'done' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
59 | }),
60 | finally: ({ })
/host/spi-builder-workspace/Sources/Nimble/DSL+Wait.swift:64:33: warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
62 | capture.tryBlock {
63 | do {
64 | try 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
65 | done(.none)
66 | }
/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,
[59/75] Compiling Nimble BeginWithPrefix.swift
[60/75] Compiling Nimble Contain.swift
[61/75] Compiling Nimble ContainElementSatisfying.swift
[62/75] Compiling Nimble ElementsEqual.swift
[63/75] Compiling Nimble EndWith.swift
[64/75] Compiling Nimble Equal+Tuple.swift
[65/75] Compiling Nimble Equal+TupleArray.swift
[66/75] Compiling Nimble Equal.swift
[67/75] Compiling Nimble HaveCount.swift
[68/75] Compiling Nimble Requirement.swift
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:102:32: warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to instance method 'await()'; this is an error in the Swift 6 language mode
58 | // especially given Nimble's usecase.
59 | // AsyncChannel: https://github.com/apple/swift-async-algorithms/blob/main/Sources/AsyncAlgorithms/Channels/AsyncChannel.swift
60 | internal actor AsyncPromise<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
61 | private let storage = Storage()
62 |
:
100 | var value: T {
101 | get async {
102 | await self.storage.await()
| `- warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to instance method 'await()'; this is an error in the Swift 6 language mode
103 | }
104 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:166:26: warning: non-sendable type 'AsyncPollResult<T>' of property 'value' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
164 | }
165 |
166 | return await promise.value
| `- warning: non-sendable type 'AsyncPollResult<T>' of property 'value' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
167 | }
168 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:221:23: warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
219 |
220 | defer {
221 | taskGroup.cancelAll()
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
222 | }
223 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:207:18: warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
205 | ) async -> AsyncPollResult<Bool> {
206 | let timeoutQueue = awaiter.timeoutQueue
207 | return await withTaskGroup(of: AsyncPollResult<Bool>.self) { taskGroup in
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
208 | taskGroup.addTask {
209 | await timeout(
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:207:64: warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
205 | ) async -> AsyncPollResult<Bool> {
206 | let timeoutQueue = awaiter.timeoutQueue
207 | return await withTaskGroup(of: AsyncPollResult<Bool>.self) { taskGroup in
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
208 | taskGroup.addTask {
209 | await timeout(
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:208:19: warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
206 | let timeoutQueue = awaiter.timeoutQueue
207 | return await withTaskGroup(of: AsyncPollResult<Bool>.self) { taskGroup in
208 | taskGroup.addTask {
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
209 | await timeout(
210 | timeoutQueue: timeoutQueue,
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:216:19: warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
214 | }
215 |
216 | taskGroup.addTask {
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
217 | await poll(pollInterval, expression: expression)
218 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:224:32: warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
222 | }
223 |
224 | return await taskGroup.next() ?? .timedOut
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
225 | }
226 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:300:23: warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
298 |
299 | defer {
300 | taskGroup.cancelAll()
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
301 | }
302 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:259:18: warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
257 | let timeoutQueue = awaiter.timeoutQueue
258 | let completionCount = Box(value: 0)
259 | return await withTaskGroup(of: AsyncPollResult<T>.self) { taskGroup in
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
260 | let promise = AsyncPromise<T?>()
261 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:259:61: warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
257 | let timeoutQueue = awaiter.timeoutQueue
258 | let completionCount = Box(value: 0)
259 | return await withTaskGroup(of: AsyncPollResult<T>.self) { taskGroup in
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
260 | let promise = AsyncPromise<T?>()
261 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:262:19: warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
260 | let promise = AsyncPromise<T?>()
261 |
262 | taskGroup.addTask {
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
263 | defer {
264 | promise.send(nil)
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:273:19: warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
271 | }
272 |
273 | taskGroup.addTask {
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
274 | do {
275 | try await closure { result in
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:303:32: warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
301 | }
302 |
303 | return await taskGroup.next() ?? .timedOut
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
304 | }
305 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:289:46: warning: non-sendable type 'T?' of property 'value' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
248 |
249 | // swiftlint:disable:next function_parameter_count
250 | private func runAwaitTrigger<T>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
251 | awaiter: Awaiter,
252 | timeoutInterval: NimbleTimeInterval,
:
287 | }
288 | }
289 | if let value = await promise.value {
| `- warning: non-sendable type 'T?' of property 'value' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
290 | return .completed(value)
291 | } else {
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:89:30: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
87 | if self.value != nil { return }
88 | continuations.forEach { continuation in
89 | continuation.resume(returning: value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
90 | }
91 | continuations = []
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:216:27: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
214 | }
215 |
216 | taskGroup.addTask {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
217 | await poll(pollInterval, expression: expression)
| `- note: closure captures 'expression' which is accessible to code in the current task
218 | }
219 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:273:27: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
271 | }
272 |
273 | taskGroup.addTask {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
274 | do {
275 | try await closure { result in
| `- note: closure captures 'closure' which is accessible to code in the current task
276 | completionCount.operate { $0 + 1 }
277 | if completionCount.value < 2 {
/host/spi-builder-workspace/Sources/Nimble/Utils/PollAwait.swift:341:56: warning: sending 'completeBlock' risks causing data races; this is an error in the Swift 6 language mode
339 | completeBlock()
340 | } else {
341 | DispatchQueue.main.async { completeBlock() }
| |- warning: sending 'completeBlock' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completeBlock' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
342 | }
343 | } else {
/host/spi-builder-workspace/Sources/Nimble/Utils/PollAwait.swift:341:54: warning: task or actor isolated value cannot be sent; this is an error in the Swift 6 language mode
339 | completeBlock()
340 | } else {
341 | DispatchQueue.main.async { completeBlock() }
| `- warning: task or actor isolated value cannot be sent; this is an error in the Swift 6 language mode
342 | }
343 | } else {
[69/75] Compiling Nimble AsyncAwait.swift
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:102:32: warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to instance method 'await()'; this is an error in the Swift 6 language mode
58 | // especially given Nimble's usecase.
59 | // AsyncChannel: https://github.com/apple/swift-async-algorithms/blob/main/Sources/AsyncAlgorithms/Channels/AsyncChannel.swift
60 | internal actor AsyncPromise<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
61 | private let storage = Storage()
62 |
:
100 | var value: T {
101 | get async {
102 | await self.storage.await()
| `- warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to instance method 'await()'; this is an error in the Swift 6 language mode
103 | }
104 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:166:26: warning: non-sendable type 'AsyncPollResult<T>' of property 'value' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
164 | }
165 |
166 | return await promise.value
| `- warning: non-sendable type 'AsyncPollResult<T>' of property 'value' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
167 | }
168 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:221:23: warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
219 |
220 | defer {
221 | taskGroup.cancelAll()
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
222 | }
223 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:207:18: warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
205 | ) async -> AsyncPollResult<Bool> {
206 | let timeoutQueue = awaiter.timeoutQueue
207 | return await withTaskGroup(of: AsyncPollResult<Bool>.self) { taskGroup in
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
208 | taskGroup.addTask {
209 | await timeout(
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:207:64: warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
205 | ) async -> AsyncPollResult<Bool> {
206 | let timeoutQueue = awaiter.timeoutQueue
207 | return await withTaskGroup(of: AsyncPollResult<Bool>.self) { taskGroup in
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
208 | taskGroup.addTask {
209 | await timeout(
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:208:19: warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
206 | let timeoutQueue = awaiter.timeoutQueue
207 | return await withTaskGroup(of: AsyncPollResult<Bool>.self) { taskGroup in
208 | taskGroup.addTask {
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
209 | await timeout(
210 | timeoutQueue: timeoutQueue,
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:216:19: warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
214 | }
215 |
216 | taskGroup.addTask {
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
217 | await poll(pollInterval, expression: expression)
218 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:224:32: warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
222 | }
223 |
224 | return await taskGroup.next() ?? .timedOut
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
225 | }
226 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:300:23: warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
298 |
299 | defer {
300 | taskGroup.cancelAll()
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
301 | }
302 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:259:18: warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
257 | let timeoutQueue = awaiter.timeoutQueue
258 | let completionCount = Box(value: 0)
259 | return await withTaskGroup(of: AsyncPollResult<T>.self) { taskGroup in
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
260 | let promise = AsyncPromise<T?>()
261 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:259:61: warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
257 | let timeoutQueue = awaiter.timeoutQueue
258 | let completionCount = Box(value: 0)
259 | return await withTaskGroup(of: AsyncPollResult<T>.self) { taskGroup in
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
260 | let promise = AsyncPromise<T?>()
261 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:262:19: warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
260 | let promise = AsyncPromise<T?>()
261 |
262 | taskGroup.addTask {
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
263 | defer {
264 | promise.send(nil)
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:273:19: warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
271 | }
272 |
273 | taskGroup.addTask {
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
274 | do {
275 | try await closure { result in
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:303:32: warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
301 | }
302 |
303 | return await taskGroup.next() ?? .timedOut
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
304 | }
305 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:289:46: warning: non-sendable type 'T?' of property 'value' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
248 |
249 | // swiftlint:disable:next function_parameter_count
250 | private func runAwaitTrigger<T>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
251 | awaiter: Awaiter,
252 | timeoutInterval: NimbleTimeInterval,
:
287 | }
288 | }
289 | if let value = await promise.value {
| `- warning: non-sendable type 'T?' of property 'value' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
290 | return .completed(value)
291 | } else {
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:89:30: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
87 | if self.value != nil { return }
88 | continuations.forEach { continuation in
89 | continuation.resume(returning: value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
90 | }
91 | continuations = []
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:216:27: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
214 | }
215 |
216 | taskGroup.addTask {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
217 | await poll(pollInterval, expression: expression)
| `- note: closure captures 'expression' which is accessible to code in the current task
218 | }
219 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:273:27: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
271 | }
272 |
273 | taskGroup.addTask {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
274 | do {
275 | try await closure { result in
| `- note: closure captures 'closure' which is accessible to code in the current task
276 | completionCount.operate { $0 + 1 }
277 | if completionCount.value < 2 {
/host/spi-builder-workspace/Sources/Nimble/Utils/PollAwait.swift:341:56: warning: sending 'completeBlock' risks causing data races; this is an error in the Swift 6 language mode
339 | completeBlock()
340 | } else {
341 | DispatchQueue.main.async { completeBlock() }
| |- warning: sending 'completeBlock' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completeBlock' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
342 | }
343 | } else {
/host/spi-builder-workspace/Sources/Nimble/Utils/PollAwait.swift:341:54: warning: task or actor isolated value cannot be sent; this is an error in the Swift 6 language mode
339 | completeBlock()
340 | } else {
341 | DispatchQueue.main.async { completeBlock() }
| `- warning: task or actor isolated value cannot be sent; this is an error in the Swift 6 language mode
342 | }
343 | } else {
[70/75] Compiling Nimble AsyncTimerSequence.swift
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:102:32: warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to instance method 'await()'; this is an error in the Swift 6 language mode
58 | // especially given Nimble's usecase.
59 | // AsyncChannel: https://github.com/apple/swift-async-algorithms/blob/main/Sources/AsyncAlgorithms/Channels/AsyncChannel.swift
60 | internal actor AsyncPromise<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
61 | private let storage = Storage()
62 |
:
100 | var value: T {
101 | get async {
102 | await self.storage.await()
| `- warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to instance method 'await()'; this is an error in the Swift 6 language mode
103 | }
104 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:166:26: warning: non-sendable type 'AsyncPollResult<T>' of property 'value' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
164 | }
165 |
166 | return await promise.value
| `- warning: non-sendable type 'AsyncPollResult<T>' of property 'value' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
167 | }
168 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:221:23: warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
219 |
220 | defer {
221 | taskGroup.cancelAll()
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
222 | }
223 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:207:18: warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
205 | ) async -> AsyncPollResult<Bool> {
206 | let timeoutQueue = awaiter.timeoutQueue
207 | return await withTaskGroup(of: AsyncPollResult<Bool>.self) { taskGroup in
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
208 | taskGroup.addTask {
209 | await timeout(
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:207:64: warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
205 | ) async -> AsyncPollResult<Bool> {
206 | let timeoutQueue = awaiter.timeoutQueue
207 | return await withTaskGroup(of: AsyncPollResult<Bool>.self) { taskGroup in
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
208 | taskGroup.addTask {
209 | await timeout(
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:208:19: warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
206 | let timeoutQueue = awaiter.timeoutQueue
207 | return await withTaskGroup(of: AsyncPollResult<Bool>.self) { taskGroup in
208 | taskGroup.addTask {
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
209 | await timeout(
210 | timeoutQueue: timeoutQueue,
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:216:19: warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
214 | }
215 |
216 | taskGroup.addTask {
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
217 | await poll(pollInterval, expression: expression)
218 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:224:32: warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
222 | }
223 |
224 | return await taskGroup.next() ?? .timedOut
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
225 | }
226 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:300:23: warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
298 |
299 | defer {
300 | taskGroup.cancelAll()
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
301 | }
302 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:259:18: warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
257 | let timeoutQueue = awaiter.timeoutQueue
258 | let completionCount = Box(value: 0)
259 | return await withTaskGroup(of: AsyncPollResult<T>.self) { taskGroup in
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
260 | let promise = AsyncPromise<T?>()
261 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:259:61: warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
257 | let timeoutQueue = awaiter.timeoutQueue
258 | let completionCount = Box(value: 0)
259 | return await withTaskGroup(of: AsyncPollResult<T>.self) { taskGroup in
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
260 | let promise = AsyncPromise<T?>()
261 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:262:19: warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
260 | let promise = AsyncPromise<T?>()
261 |
262 | taskGroup.addTask {
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
263 | defer {
264 | promise.send(nil)
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:273:19: warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
271 | }
272 |
273 | taskGroup.addTask {
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
274 | do {
275 | try await closure { result in
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:303:32: warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
301 | }
302 |
303 | return await taskGroup.next() ?? .timedOut
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
304 | }
305 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:289:46: warning: non-sendable type 'T?' of property 'value' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
248 |
249 | // swiftlint:disable:next function_parameter_count
250 | private func runAwaitTrigger<T>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
251 | awaiter: Awaiter,
252 | timeoutInterval: NimbleTimeInterval,
:
287 | }
288 | }
289 | if let value = await promise.value {
| `- warning: non-sendable type 'T?' of property 'value' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
290 | return .completed(value)
291 | } else {
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:89:30: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
87 | if self.value != nil { return }
88 | continuations.forEach { continuation in
89 | continuation.resume(returning: value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
90 | }
91 | continuations = []
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:216:27: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
214 | }
215 |
216 | taskGroup.addTask {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
217 | await poll(pollInterval, expression: expression)
| `- note: closure captures 'expression' which is accessible to code in the current task
218 | }
219 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:273:27: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
271 | }
272 |
273 | taskGroup.addTask {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
274 | do {
275 | try await closure { result in
| `- note: closure captures 'closure' which is accessible to code in the current task
276 | completionCount.operate { $0 + 1 }
277 | if completionCount.value < 2 {
/host/spi-builder-workspace/Sources/Nimble/Utils/PollAwait.swift:341:56: warning: sending 'completeBlock' risks causing data races; this is an error in the Swift 6 language mode
339 | completeBlock()
340 | } else {
341 | DispatchQueue.main.async { completeBlock() }
| |- warning: sending 'completeBlock' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completeBlock' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
342 | }
343 | } else {
/host/spi-builder-workspace/Sources/Nimble/Utils/PollAwait.swift:341:54: warning: task or actor isolated value cannot be sent; this is an error in the Swift 6 language mode
339 | completeBlock()
340 | } else {
341 | DispatchQueue.main.async { completeBlock() }
| `- warning: task or actor isolated value cannot be sent; this is an error in the Swift 6 language mode
342 | }
343 | } else {
[71/75] Compiling Nimble Errors.swift
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:102:32: warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to instance method 'await()'; this is an error in the Swift 6 language mode
58 | // especially given Nimble's usecase.
59 | // AsyncChannel: https://github.com/apple/swift-async-algorithms/blob/main/Sources/AsyncAlgorithms/Channels/AsyncChannel.swift
60 | internal actor AsyncPromise<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
61 | private let storage = Storage()
62 |
:
100 | var value: T {
101 | get async {
102 | await self.storage.await()
| `- warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to instance method 'await()'; this is an error in the Swift 6 language mode
103 | }
104 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:166:26: warning: non-sendable type 'AsyncPollResult<T>' of property 'value' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
164 | }
165 |
166 | return await promise.value
| `- warning: non-sendable type 'AsyncPollResult<T>' of property 'value' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
167 | }
168 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:221:23: warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
219 |
220 | defer {
221 | taskGroup.cancelAll()
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
222 | }
223 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:207:18: warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
205 | ) async -> AsyncPollResult<Bool> {
206 | let timeoutQueue = awaiter.timeoutQueue
207 | return await withTaskGroup(of: AsyncPollResult<Bool>.self) { taskGroup in
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
208 | taskGroup.addTask {
209 | await timeout(
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:207:64: warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
205 | ) async -> AsyncPollResult<Bool> {
206 | let timeoutQueue = awaiter.timeoutQueue
207 | return await withTaskGroup(of: AsyncPollResult<Bool>.self) { taskGroup in
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
208 | taskGroup.addTask {
209 | await timeout(
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:208:19: warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
206 | let timeoutQueue = awaiter.timeoutQueue
207 | return await withTaskGroup(of: AsyncPollResult<Bool>.self) { taskGroup in
208 | taskGroup.addTask {
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
209 | await timeout(
210 | timeoutQueue: timeoutQueue,
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:216:19: warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
214 | }
215 |
216 | taskGroup.addTask {
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
217 | await poll(pollInterval, expression: expression)
218 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:224:32: warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
222 | }
223 |
224 | return await taskGroup.next() ?? .timedOut
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
225 | }
226 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:300:23: warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
298 |
299 | defer {
300 | taskGroup.cancelAll()
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
301 | }
302 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:259:18: warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
257 | let timeoutQueue = awaiter.timeoutQueue
258 | let completionCount = Box(value: 0)
259 | return await withTaskGroup(of: AsyncPollResult<T>.self) { taskGroup in
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
260 | let promise = AsyncPromise<T?>()
261 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:259:61: warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
257 | let timeoutQueue = awaiter.timeoutQueue
258 | let completionCount = Box(value: 0)
259 | return await withTaskGroup(of: AsyncPollResult<T>.self) { taskGroup in
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
260 | let promise = AsyncPromise<T?>()
261 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:262:19: warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
260 | let promise = AsyncPromise<T?>()
261 |
262 | taskGroup.addTask {
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
263 | defer {
264 | promise.send(nil)
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:273:19: warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
271 | }
272 |
273 | taskGroup.addTask {
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
274 | do {
275 | try await closure { result in
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:303:32: warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
301 | }
302 |
303 | return await taskGroup.next() ?? .timedOut
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
304 | }
305 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:289:46: warning: non-sendable type 'T?' of property 'value' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
248 |
249 | // swiftlint:disable:next function_parameter_count
250 | private func runAwaitTrigger<T>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
251 | awaiter: Awaiter,
252 | timeoutInterval: NimbleTimeInterval,
:
287 | }
288 | }
289 | if let value = await promise.value {
| `- warning: non-sendable type 'T?' of property 'value' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
290 | return .completed(value)
291 | } else {
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:89:30: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
87 | if self.value != nil { return }
88 | continuations.forEach { continuation in
89 | continuation.resume(returning: value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
90 | }
91 | continuations = []
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:216:27: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
214 | }
215 |
216 | taskGroup.addTask {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
217 | await poll(pollInterval, expression: expression)
| `- note: closure captures 'expression' which is accessible to code in the current task
218 | }
219 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:273:27: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
271 | }
272 |
273 | taskGroup.addTask {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
274 | do {
275 | try await closure { result in
| `- note: closure captures 'closure' which is accessible to code in the current task
276 | completionCount.operate { $0 + 1 }
277 | if completionCount.value < 2 {
/host/spi-builder-workspace/Sources/Nimble/Utils/PollAwait.swift:341:56: warning: sending 'completeBlock' risks causing data races; this is an error in the Swift 6 language mode
339 | completeBlock()
340 | } else {
341 | DispatchQueue.main.async { completeBlock() }
| |- warning: sending 'completeBlock' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completeBlock' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
342 | }
343 | } else {
/host/spi-builder-workspace/Sources/Nimble/Utils/PollAwait.swift:341:54: warning: task or actor isolated value cannot be sent; this is an error in the Swift 6 language mode
339 | completeBlock()
340 | } else {
341 | DispatchQueue.main.async { completeBlock() }
| `- warning: task or actor isolated value cannot be sent; this is an error in the Swift 6 language mode
342 | }
343 | } else {
[72/75] Compiling Nimble NimbleTimeInterval.swift
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:102:32: warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to instance method 'await()'; this is an error in the Swift 6 language mode
58 | // especially given Nimble's usecase.
59 | // AsyncChannel: https://github.com/apple/swift-async-algorithms/blob/main/Sources/AsyncAlgorithms/Channels/AsyncChannel.swift
60 | internal actor AsyncPromise<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
61 | private let storage = Storage()
62 |
:
100 | var value: T {
101 | get async {
102 | await self.storage.await()
| `- warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to instance method 'await()'; this is an error in the Swift 6 language mode
103 | }
104 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:166:26: warning: non-sendable type 'AsyncPollResult<T>' of property 'value' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
164 | }
165 |
166 | return await promise.value
| `- warning: non-sendable type 'AsyncPollResult<T>' of property 'value' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
167 | }
168 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:221:23: warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
219 |
220 | defer {
221 | taskGroup.cancelAll()
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
222 | }
223 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:207:18: warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
205 | ) async -> AsyncPollResult<Bool> {
206 | let timeoutQueue = awaiter.timeoutQueue
207 | return await withTaskGroup(of: AsyncPollResult<Bool>.self) { taskGroup in
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
208 | taskGroup.addTask {
209 | await timeout(
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:207:64: warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
205 | ) async -> AsyncPollResult<Bool> {
206 | let timeoutQueue = awaiter.timeoutQueue
207 | return await withTaskGroup(of: AsyncPollResult<Bool>.self) { taskGroup in
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
208 | taskGroup.addTask {
209 | await timeout(
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:208:19: warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
206 | let timeoutQueue = awaiter.timeoutQueue
207 | return await withTaskGroup(of: AsyncPollResult<Bool>.self) { taskGroup in
208 | taskGroup.addTask {
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
209 | await timeout(
210 | timeoutQueue: timeoutQueue,
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:216:19: warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
214 | }
215 |
216 | taskGroup.addTask {
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
217 | await poll(pollInterval, expression: expression)
218 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:224:32: warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
222 | }
223 |
224 | return await taskGroup.next() ?? .timedOut
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
225 | }
226 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:300:23: warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
298 |
299 | defer {
300 | taskGroup.cancelAll()
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
301 | }
302 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:259:18: warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
257 | let timeoutQueue = awaiter.timeoutQueue
258 | let completionCount = Box(value: 0)
259 | return await withTaskGroup(of: AsyncPollResult<T>.self) { taskGroup in
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
260 | let promise = AsyncPromise<T?>()
261 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:259:61: warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
257 | let timeoutQueue = awaiter.timeoutQueue
258 | let completionCount = Box(value: 0)
259 | return await withTaskGroup(of: AsyncPollResult<T>.self) { taskGroup in
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
260 | let promise = AsyncPromise<T?>()
261 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:262:19: warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
260 | let promise = AsyncPromise<T?>()
261 |
262 | taskGroup.addTask {
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
263 | defer {
264 | promise.send(nil)
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:273:19: warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
271 | }
272 |
273 | taskGroup.addTask {
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
274 | do {
275 | try await closure { result in
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:303:32: warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
301 | }
302 |
303 | return await taskGroup.next() ?? .timedOut
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
304 | }
305 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:289:46: warning: non-sendable type 'T?' of property 'value' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
248 |
249 | // swiftlint:disable:next function_parameter_count
250 | private func runAwaitTrigger<T>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
251 | awaiter: Awaiter,
252 | timeoutInterval: NimbleTimeInterval,
:
287 | }
288 | }
289 | if let value = await promise.value {
| `- warning: non-sendable type 'T?' of property 'value' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
290 | return .completed(value)
291 | } else {
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:89:30: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
87 | if self.value != nil { return }
88 | continuations.forEach { continuation in
89 | continuation.resume(returning: value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
90 | }
91 | continuations = []
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:216:27: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
214 | }
215 |
216 | taskGroup.addTask {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
217 | await poll(pollInterval, expression: expression)
| `- note: closure captures 'expression' which is accessible to code in the current task
218 | }
219 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:273:27: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
271 | }
272 |
273 | taskGroup.addTask {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
274 | do {
275 | try await closure { result in
| `- note: closure captures 'closure' which is accessible to code in the current task
276 | completionCount.operate { $0 + 1 }
277 | if completionCount.value < 2 {
/host/spi-builder-workspace/Sources/Nimble/Utils/PollAwait.swift:341:56: warning: sending 'completeBlock' risks causing data races; this is an error in the Swift 6 language mode
339 | completeBlock()
340 | } else {
341 | DispatchQueue.main.async { completeBlock() }
| |- warning: sending 'completeBlock' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completeBlock' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
342 | }
343 | } else {
/host/spi-builder-workspace/Sources/Nimble/Utils/PollAwait.swift:341:54: warning: task or actor isolated value cannot be sent; this is an error in the Swift 6 language mode
339 | completeBlock()
340 | } else {
341 | DispatchQueue.main.async { completeBlock() }
| `- warning: task or actor isolated value cannot be sent; this is an error in the Swift 6 language mode
342 | }
343 | } else {
[73/75] Compiling Nimble PollAwait.swift
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:102:32: warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to instance method 'await()'; this is an error in the Swift 6 language mode
58 | // especially given Nimble's usecase.
59 | // AsyncChannel: https://github.com/apple/swift-async-algorithms/blob/main/Sources/AsyncAlgorithms/Channels/AsyncChannel.swift
60 | internal actor AsyncPromise<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
61 | private let storage = Storage()
62 |
:
100 | var value: T {
101 | get async {
102 | await self.storage.await()
| `- warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to instance method 'await()'; this is an error in the Swift 6 language mode
103 | }
104 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:166:26: warning: non-sendable type 'AsyncPollResult<T>' of property 'value' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
164 | }
165 |
166 | return await promise.value
| `- warning: non-sendable type 'AsyncPollResult<T>' of property 'value' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
167 | }
168 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:221:23: warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
219 |
220 | defer {
221 | taskGroup.cancelAll()
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
222 | }
223 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:207:18: warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
205 | ) async -> AsyncPollResult<Bool> {
206 | let timeoutQueue = awaiter.timeoutQueue
207 | return await withTaskGroup(of: AsyncPollResult<Bool>.self) { taskGroup in
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
208 | taskGroup.addTask {
209 | await timeout(
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:207:64: warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
205 | ) async -> AsyncPollResult<Bool> {
206 | let timeoutQueue = awaiter.timeoutQueue
207 | return await withTaskGroup(of: AsyncPollResult<Bool>.self) { taskGroup in
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
208 | taskGroup.addTask {
209 | await timeout(
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:208:19: warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
206 | let timeoutQueue = awaiter.timeoutQueue
207 | return await withTaskGroup(of: AsyncPollResult<Bool>.self) { taskGroup in
208 | taskGroup.addTask {
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
209 | await timeout(
210 | timeoutQueue: timeoutQueue,
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:216:19: warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
214 | }
215 |
216 | taskGroup.addTask {
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
217 | await poll(pollInterval, expression: expression)
218 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:224:32: warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
222 | }
223 |
224 | return await taskGroup.next() ?? .timedOut
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
225 | }
226 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:300:23: warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
298 |
299 | defer {
300 | taskGroup.cancelAll()
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
301 | }
302 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:259:18: warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
257 | let timeoutQueue = awaiter.timeoutQueue
258 | let completionCount = Box(value: 0)
259 | return await withTaskGroup(of: AsyncPollResult<T>.self) { taskGroup in
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
260 | let promise = AsyncPromise<T?>()
261 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:259:61: warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
257 | let timeoutQueue = awaiter.timeoutQueue
258 | let completionCount = Box(value: 0)
259 | return await withTaskGroup(of: AsyncPollResult<T>.self) { taskGroup in
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
260 | let promise = AsyncPromise<T?>()
261 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:262:19: warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
260 | let promise = AsyncPromise<T?>()
261 |
262 | taskGroup.addTask {
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
263 | defer {
264 | promise.send(nil)
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:273:19: warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
271 | }
272 |
273 | taskGroup.addTask {
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
274 | do {
275 | try await closure { result in
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:303:32: warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
301 | }
302 |
303 | return await taskGroup.next() ?? .timedOut
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
304 | }
305 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:289:46: warning: non-sendable type 'T?' of property 'value' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
248 |
249 | // swiftlint:disable:next function_parameter_count
250 | private func runAwaitTrigger<T>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
251 | awaiter: Awaiter,
252 | timeoutInterval: NimbleTimeInterval,
:
287 | }
288 | }
289 | if let value = await promise.value {
| `- warning: non-sendable type 'T?' of property 'value' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
290 | return .completed(value)
291 | } else {
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:89:30: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
87 | if self.value != nil { return }
88 | continuations.forEach { continuation in
89 | continuation.resume(returning: value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
90 | }
91 | continuations = []
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:216:27: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
214 | }
215 |
216 | taskGroup.addTask {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
217 | await poll(pollInterval, expression: expression)
| `- note: closure captures 'expression' which is accessible to code in the current task
218 | }
219 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:273:27: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
271 | }
272 |
273 | taskGroup.addTask {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
274 | do {
275 | try await closure { result in
| `- note: closure captures 'closure' which is accessible to code in the current task
276 | completionCount.operate { $0 + 1 }
277 | if completionCount.value < 2 {
/host/spi-builder-workspace/Sources/Nimble/Utils/PollAwait.swift:341:56: warning: sending 'completeBlock' risks causing data races; this is an error in the Swift 6 language mode
339 | completeBlock()
340 | } else {
341 | DispatchQueue.main.async { completeBlock() }
| |- warning: sending 'completeBlock' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completeBlock' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
342 | }
343 | } else {
/host/spi-builder-workspace/Sources/Nimble/Utils/PollAwait.swift:341:54: warning: task or actor isolated value cannot be sent; this is an error in the Swift 6 language mode
339 | completeBlock()
340 | } else {
341 | DispatchQueue.main.async { completeBlock() }
| `- warning: task or actor isolated value cannot be sent; this is an error in the Swift 6 language mode
342 | }
343 | } else {
[74/75] Compiling Nimble SourceLocation.swift
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:102:32: warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to instance method 'await()'; this is an error in the Swift 6 language mode
58 | // especially given Nimble's usecase.
59 | // AsyncChannel: https://github.com/apple/swift-async-algorithms/blob/main/Sources/AsyncAlgorithms/Channels/AsyncChannel.swift
60 | internal actor AsyncPromise<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
61 | private let storage = Storage()
62 |
:
100 | var value: T {
101 | get async {
102 | await self.storage.await()
| `- warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to instance method 'await()'; this is an error in the Swift 6 language mode
103 | }
104 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:166:26: warning: non-sendable type 'AsyncPollResult<T>' of property 'value' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
164 | }
165 |
166 | return await promise.value
| `- warning: non-sendable type 'AsyncPollResult<T>' of property 'value' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
167 | }
168 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:221:23: warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
219 |
220 | defer {
221 | taskGroup.cancelAll()
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
222 | }
223 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:207:18: warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
205 | ) async -> AsyncPollResult<Bool> {
206 | let timeoutQueue = awaiter.timeoutQueue
207 | return await withTaskGroup(of: AsyncPollResult<Bool>.self) { taskGroup in
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
208 | taskGroup.addTask {
209 | await timeout(
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:207:64: warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
205 | ) async -> AsyncPollResult<Bool> {
206 | let timeoutQueue = awaiter.timeoutQueue
207 | return await withTaskGroup(of: AsyncPollResult<Bool>.self) { taskGroup in
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
208 | taskGroup.addTask {
209 | await timeout(
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:208:19: warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
206 | let timeoutQueue = awaiter.timeoutQueue
207 | return await withTaskGroup(of: AsyncPollResult<Bool>.self) { taskGroup in
208 | taskGroup.addTask {
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
209 | await timeout(
210 | timeoutQueue: timeoutQueue,
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:216:19: warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
214 | }
215 |
216 | taskGroup.addTask {
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
217 | await poll(pollInterval, expression: expression)
218 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:224:32: warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
222 | }
223 |
224 | return await taskGroup.next() ?? .timedOut
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
225 | }
226 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:300:23: warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
298 |
299 | defer {
300 | taskGroup.cancelAll()
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
301 | }
302 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:259:18: warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
257 | let timeoutQueue = awaiter.timeoutQueue
258 | let completionCount = Box(value: 0)
259 | return await withTaskGroup(of: AsyncPollResult<T>.self) { taskGroup in
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
260 | let promise = AsyncPromise<T?>()
261 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:259:61: warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
257 | let timeoutQueue = awaiter.timeoutQueue
258 | let completionCount = Box(value: 0)
259 | return await withTaskGroup(of: AsyncPollResult<T>.self) { taskGroup in
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
260 | let promise = AsyncPromise<T?>()
261 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:262:19: warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
260 | let promise = AsyncPromise<T?>()
261 |
262 | taskGroup.addTask {
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
263 | defer {
264 | promise.send(nil)
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:273:19: warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
271 | }
272 |
273 | taskGroup.addTask {
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
274 | do {
275 | try await closure { result in
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:303:32: warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
301 | }
302 |
303 | return await taskGroup.next() ?? .timedOut
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
304 | }
305 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:289:46: warning: non-sendable type 'T?' of property 'value' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
248 |
249 | // swiftlint:disable:next function_parameter_count
250 | private func runAwaitTrigger<T>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
251 | awaiter: Awaiter,
252 | timeoutInterval: NimbleTimeInterval,
:
287 | }
288 | }
289 | if let value = await promise.value {
| `- warning: non-sendable type 'T?' of property 'value' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
290 | return .completed(value)
291 | } else {
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:89:30: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
87 | if self.value != nil { return }
88 | continuations.forEach { continuation in
89 | continuation.resume(returning: value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
90 | }
91 | continuations = []
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:216:27: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
214 | }
215 |
216 | taskGroup.addTask {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
217 | await poll(pollInterval, expression: expression)
| `- note: closure captures 'expression' which is accessible to code in the current task
218 | }
219 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:273:27: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
271 | }
272 |
273 | taskGroup.addTask {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
274 | do {
275 | try await closure { result in
| `- note: closure captures 'closure' which is accessible to code in the current task
276 | completionCount.operate { $0 + 1 }
277 | if completionCount.value < 2 {
/host/spi-builder-workspace/Sources/Nimble/Utils/PollAwait.swift:341:56: warning: sending 'completeBlock' risks causing data races; this is an error in the Swift 6 language mode
339 | completeBlock()
340 | } else {
341 | DispatchQueue.main.async { completeBlock() }
| |- warning: sending 'completeBlock' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completeBlock' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
342 | }
343 | } else {
/host/spi-builder-workspace/Sources/Nimble/Utils/PollAwait.swift:341:54: warning: task or actor isolated value cannot be sent; this is an error in the Swift 6 language mode
339 | completeBlock()
340 | } else {
341 | DispatchQueue.main.async { completeBlock() }
| `- warning: task or actor isolated value cannot be sent; this is an error in the Swift 6 language mode
342 | }
343 | } else {
[75/75] Compiling Nimble Stringers.swift
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:102:32: warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to instance method 'await()'; this is an error in the Swift 6 language mode
58 | // especially given Nimble's usecase.
59 | // AsyncChannel: https://github.com/apple/swift-async-algorithms/blob/main/Sources/AsyncAlgorithms/Channels/AsyncChannel.swift
60 | internal actor AsyncPromise<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
61 | private let storage = Storage()
62 |
:
100 | var value: T {
101 | get async {
102 | await self.storage.await()
| `- warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to instance method 'await()'; this is an error in the Swift 6 language mode
103 | }
104 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:166:26: warning: non-sendable type 'AsyncPollResult<T>' of property 'value' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
164 | }
165 |
166 | return await promise.value
| `- warning: non-sendable type 'AsyncPollResult<T>' of property 'value' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
167 | }
168 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:221:23: warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
219 |
220 | defer {
221 | taskGroup.cancelAll()
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
222 | }
223 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:207:18: warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
205 | ) async -> AsyncPollResult<Bool> {
206 | let timeoutQueue = awaiter.timeoutQueue
207 | return await withTaskGroup(of: AsyncPollResult<Bool>.self) { taskGroup in
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
208 | taskGroup.addTask {
209 | await timeout(
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:207:64: warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
205 | ) async -> AsyncPollResult<Bool> {
206 | let timeoutQueue = awaiter.timeoutQueue
207 | return await withTaskGroup(of: AsyncPollResult<Bool>.self) { taskGroup in
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
208 | taskGroup.addTask {
209 | await timeout(
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:208:19: warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
206 | let timeoutQueue = awaiter.timeoutQueue
207 | return await withTaskGroup(of: AsyncPollResult<Bool>.self) { taskGroup in
208 | taskGroup.addTask {
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
209 | await timeout(
210 | timeoutQueue: timeoutQueue,
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:216:19: warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
214 | }
215 |
216 | taskGroup.addTask {
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
217 | await poll(pollInterval, expression: expression)
218 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:224:32: warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
222 | }
223 |
224 | return await taskGroup.next() ?? .timedOut
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
225 | }
226 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:300:23: warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
298 |
299 | defer {
300 | taskGroup.cancelAll()
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
301 | }
302 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:259:18: warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
257 | let timeoutQueue = awaiter.timeoutQueue
258 | let completionCount = Box(value: 0)
259 | return await withTaskGroup(of: AsyncPollResult<T>.self) { taskGroup in
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
260 | let promise = AsyncPromise<T?>()
261 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:259:61: warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
257 | let timeoutQueue = awaiter.timeoutQueue
258 | let completionCount = Box(value: 0)
259 | return await withTaskGroup(of: AsyncPollResult<T>.self) { taskGroup in
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
260 | let promise = AsyncPromise<T?>()
261 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:262:19: warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
260 | let promise = AsyncPromise<T?>()
261 |
262 | taskGroup.addTask {
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
263 | defer {
264 | promise.send(nil)
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:273:19: warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
271 | }
272 |
273 | taskGroup.addTask {
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
274 | do {
275 | try await closure { result in
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:303:32: warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | // Like PollResult, except it doesn't support objective-c exceptions.
14 | // Which is tolerable because Swift Concurrency doesn't support recording objective-c exceptions.
15 | internal enum AsyncPollResult<T> {
| `- note: consider making generic enum 'AsyncPollResult' conform to the 'Sendable' protocol
16 | /// Incomplete indicates None (aka - this value hasn't been fulfilled yet)
17 | case incomplete
:
301 | }
302 |
303 | return await taskGroup.next() ?? .timedOut
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
304 | }
305 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:289:46: warning: non-sendable type 'T?' of property 'value' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
248 |
249 | // swiftlint:disable:next function_parameter_count
250 | private func runAwaitTrigger<T>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
251 | awaiter: Awaiter,
252 | timeoutInterval: NimbleTimeInterval,
:
287 | }
288 | }
289 | if let value = await promise.value {
| `- warning: non-sendable type 'T?' of property 'value' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
290 | return .completed(value)
291 | } else {
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:89:30: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
87 | if self.value != nil { return }
88 | continuations.forEach { continuation in
89 | continuation.resume(returning: value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
90 | }
91 | continuations = []
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:216:27: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
214 | }
215 |
216 | taskGroup.addTask {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
217 | await poll(pollInterval, expression: expression)
| `- note: closure captures 'expression' which is accessible to code in the current task
218 | }
219 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:273:27: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
271 | }
272 |
273 | taskGroup.addTask {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
274 | do {
275 | try await closure { result in
| `- note: closure captures 'closure' which is accessible to code in the current task
276 | completionCount.operate { $0 + 1 }
277 | if completionCount.value < 2 {
/host/spi-builder-workspace/Sources/Nimble/Utils/PollAwait.swift:341:56: warning: sending 'completeBlock' risks causing data races; this is an error in the Swift 6 language mode
339 | completeBlock()
340 | } else {
341 | DispatchQueue.main.async { completeBlock() }
| |- warning: sending 'completeBlock' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completeBlock' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
342 | }
343 | } else {
/host/spi-builder-workspace/Sources/Nimble/Utils/PollAwait.swift:341:54: warning: task or actor isolated value cannot be sent; this is an error in the Swift 6 language mode
339 | completeBlock()
340 | } else {
341 | DispatchQueue.main.async { completeBlock() }
| `- warning: task or actor isolated value cannot be sent; this is an error in the Swift 6 language mode
342 | }
343 | } else {
[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! (65.40s)
Build complete.
{
"dependencies" : [
{
"identity" : "cwlpreconditiontesting",
"requirement" : {
"range" : [
{
"lower_bound" : "2.2.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/mattgallagher/CwlPreconditionTesting.git"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "Nimble",
"name" : "Nimble",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "Nimble",
"targets" : [
"Nimble"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "NimbleTests",
"module_type" : "SwiftTarget",
"name" : "NimbleTests",
"path" : "Tests/NimbleTests",
"sources" : [
"AsyncAwaitTest+Require.swift",
"AsyncAwaitTest.swift",
"AsyncPromiseTest.swift",
"AsyncTimerSequenceTest.swift",
"DSLTest.swift",
"Helpers/AsyncHelpers.swift",
"Helpers/BackgroundThreadObject.swift",
"Helpers/ObjectWithLazyProperty.swift",
"LinuxSupport.swift",
"Matchers/AllPassTest.swift",
"Matchers/AlwaysFailMatcher.swift",
"Matchers/AsyncAllPassTest.swift",
"Matchers/AsyncPredicateTest.swift",
"Matchers/BeAKindOfTest.swift",
"Matchers/BeAnInstanceOfTest.swift",
"Matchers/BeCloseToTest.swift",
"Matchers/BeEmptyTest.swift",
"Matchers/BeGreaterThanOrEqualToTest.swift",
"Matchers/BeGreaterThanTest.swift",
"Matchers/BeIdenticalToObjectTest.swift",
"Matchers/BeIdenticalToTest.swift",
"Matchers/BeLessThanOrEqualToTest.swift",
"Matchers/BeLessThanTest.swift",
"Matchers/BeLogicalTest.swift",
"Matchers/BeNilTest.swift",
"Matchers/BeResultTest.swift",
"Matchers/BeVoidTest.swift",
"Matchers/BeWithinTest.swift",
"Matchers/BeginWithPrefixTest.swift",
"Matchers/BeginWithTest.swift",
"Matchers/ContainElementSatisfyingTest.swift",
"Matchers/ContainTest.swift",
"Matchers/ElementsEqualTest.swift",
"Matchers/EndWithTest.swift",
"Matchers/EqualTest.swift",
"Matchers/HaveCountTest.swift",
"Matchers/MapTest.swift",
"Matchers/MatchErrorTest.swift",
"Matchers/MatchTest.swift",
"Matchers/NegationTest.swift",
"Matchers/PostNotificationTest.swift",
"Matchers/RaisesExceptionTest.swift",
"Matchers/SatisfyAllOfTest.swift",
"Matchers/SatisfyAnyOfTest.swift",
"Matchers/ThrowAssertionTest.swift",
"Matchers/ThrowErrorTest.swift",
"Matchers/ToSucceedTest.swift",
"OnFailureThrowsTest.swift",
"PollingTest+Require.swift",
"PollingTest.swift",
"PredicateTest.swift",
"StatusTest.swift",
"SwiftTestingSupportTest.swift",
"SynchronousTest.swift",
"UserDescriptionTest.swift"
],
"target_dependencies" : [
"Nimble",
"NimbleSharedTestHelpers"
],
"type" : "test"
},
{
"c99name" : "NimbleSharedTestHelpers",
"module_type" : "SwiftTarget",
"name" : "NimbleSharedTestHelpers",
"path" : "Sources/NimbleSharedTestHelpers",
"sources" : [
"utils.swift"
],
"target_dependencies" : [
"Nimble"
],
"type" : "library"
},
{
"c99name" : "Nimble",
"module_type" : "SwiftTarget",
"name" : "Nimble",
"path" : "Sources/Nimble",
"product_dependencies" : [
"CwlPreconditionTesting",
"CwlPosixPreconditionTesting"
],
"product_memberships" : [
"Nimble"
],
"sources" : [
"Adapters/AdapterProtocols.swift",
"Adapters/AssertionDispatcher.swift",
"Adapters/AssertionRecorder+Async.swift",
"Adapters/AssertionRecorder.swift",
"Adapters/NMBExpectation.swift",
"Adapters/NimbleEnvironment.swift",
"Adapters/NimbleSwiftTestingHandler.swift",
"Adapters/NimbleXCTestHandler.swift",
"Adapters/NonObjectiveC/ExceptionCapture.swift",
"AsyncExpression.swift",
"DSL+AsyncAwait.swift",
"DSL+Require.swift",
"DSL+Wait.swift",
"DSL.swift",
"Expectation.swift",
"ExpectationMessage.swift",
"Expression.swift",
"FailureMessage.swift",
"Matchers/AllPass.swift",
"Matchers/AsyncAllPass.swift",
"Matchers/AsyncMatcher.swift",
"Matchers/BeAKindOf.swift",
"Matchers/BeAnInstanceOf.swift",
"Matchers/BeCloseTo.swift",
"Matchers/BeEmpty.swift",
"Matchers/BeGreaterThan.swift",
"Matchers/BeGreaterThanOrEqualTo.swift",
"Matchers/BeIdenticalTo.swift",
"Matchers/BeLessThan.swift",
"Matchers/BeLessThanOrEqual.swift",
"Matchers/BeLogical.swift",
"Matchers/BeNil.swift",
"Matchers/BeResult.swift",
"Matchers/BeVoid.swift",
"Matchers/BeWithin.swift",
"Matchers/BeginWith.swift",
"Matchers/BeginWithPrefix.swift",
"Matchers/Contain.swift",
"Matchers/ContainElementSatisfying.swift",
"Matchers/ElementsEqual.swift",
"Matchers/EndWith.swift",
"Matchers/Equal+Tuple.swift",
"Matchers/Equal+TupleArray.swift",
"Matchers/Equal.swift",
"Matchers/HaveCount.swift",
"Matchers/Map.swift",
"Matchers/Match.swift",
"Matchers/MatchError.swift",
"Matchers/Matcher.swift",
"Matchers/MatcherProtocols.swift",
"Matchers/Negation.swift",
"Matchers/PostNotification.swift",
"Matchers/RaisesException.swift",
"Matchers/SatisfyAllOf.swift",
"Matchers/SatisfyAnyOf.swift",
"Matchers/ThrowAssertion.swift",
"Matchers/ThrowError.swift",
"Matchers/ToSucceed.swift",
"Polling+AsyncAwait.swift",
"Polling+Require.swift",
"Polling.swift",
"Requirement.swift",
"Utils/AsyncAwait.swift",
"Utils/AsyncTimerSequence.swift",
"Utils/Errors.swift",
"Utils/NimbleTimeInterval.swift",
"Utils/PollAwait.swift",
"Utils/SourceLocation.swift",
"Utils/Stringers.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.