Build Information
Successful build of Nimble, reference v13.7.1 (7795df
), with Swift 6.0 for Linux on 16 Dec 2024 04:11:10 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.0-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
43 | }
44 |
45 | extension UInt64: ExpressibleByBooleanLiteral {
| |- warning: extension declares a conformance of imported type 'UInt64' to imported protocol 'ExpressibleByBooleanLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
46 | public init(booleanLiteral value: Bool) {
47 | self = NSNumber(value: value).uint64Value
/host/spi-builder-workspace/Sources/Nimble/Matchers/BeLogical.swift:51:1: warning: extension declares a conformance of imported type 'Float' to imported protocol 'ExpressibleByBooleanLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
49 | }
50 |
51 | extension Float: ExpressibleByBooleanLiteral {
| |- warning: extension declares a conformance of imported type 'Float' to imported protocol 'ExpressibleByBooleanLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
52 | public init(booleanLiteral value: Bool) {
53 | self = NSNumber(value: value).floatValue
/host/spi-builder-workspace/Sources/Nimble/Matchers/BeLogical.swift:57:1: warning: extension declares a conformance of imported type 'Double' to imported protocol 'ExpressibleByBooleanLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
55 | }
56 |
57 | extension Double: ExpressibleByBooleanLiteral {
| |- warning: extension declares a conformance of imported type 'Double' to imported protocol 'ExpressibleByBooleanLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
58 | public init(booleanLiteral value: Bool) {
59 | self = NSNumber(value: value).doubleValue
/host/spi-builder-workspace/Sources/Nimble/Matchers/BeLogical.swift:63:1: warning: extension declares a conformance of imported type 'Int' to imported protocol 'ExpressibleByBooleanLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
61 | }
62 |
63 | extension Int: ExpressibleByBooleanLiteral {
| |- warning: extension declares a conformance of imported type 'Int' to imported protocol 'ExpressibleByBooleanLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
64 | public init(booleanLiteral value: Bool) {
65 | self = NSNumber(value: value).intValue
/host/spi-builder-workspace/Sources/Nimble/Matchers/BeLogical.swift:69:1: warning: extension declares a conformance of imported type 'UInt' to imported protocol 'ExpressibleByBooleanLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
67 | }
68 |
69 | extension UInt: ExpressibleByBooleanLiteral {
| |- warning: extension declares a conformance of imported type 'UInt' to imported protocol 'ExpressibleByBooleanLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
70 | public init(booleanLiteral value: Bool) {
71 | self = NSNumber(value: value).uintValue
[50/75] Compiling Nimble BeginWithPrefix.swift
[51/75] Compiling Nimble Contain.swift
[52/75] Compiling Nimble ContainElementSatisfying.swift
[53/75] Compiling Nimble ElementsEqual.swift
[54/75] Compiling Nimble EndWith.swift
[55/75] Compiling Nimble Equal+Tuple.swift
[56/75] Compiling Nimble Equal+TupleArray.swift
[57/75] Compiling Nimble Equal.swift
[58/75] Compiling Nimble HaveCount.swift
[59/75] Compiling Nimble AdapterProtocols.swift
/host/spi-builder-workspace/Sources/Nimble/Adapters/NimbleSwiftTestingHandler.swift:7:22: warning: using '@_implementationOnly' without enabling library evolution for 'Nimble' may lead to instability during execution
5 | // And apparently `private import` - the preferred way to do this - doesn't work.
6 | // So we use a deprecated approach that does work with this.
7 | @_implementationOnly import Testing
| `- warning: using '@_implementationOnly' without enabling library evolution for 'Nimble' may lead to instability during execution
8 | #endif
9 |
/host/spi-builder-workspace/Sources/Nimble/Adapters/AdapterProtocols.swift:13:12: warning: var 'NimbleAssertionHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 | /// @see AssertionHandler
13 | public var NimbleAssertionHandler: AssertionHandler = { () -> AssertionHandler in
| |- warning: var 'NimbleAssertionHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'NimbleAssertionHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'NimbleAssertionHandler' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | // swiftlint:disable:previous identifier_name
15 | if isSwiftTestingAvailable() || isXCTestAvailable() {
/host/spi-builder-workspace/Sources/Nimble/Adapters/NimbleXCTestHandler.swift:87:42: warning: 'file' is deprecated: renamed to 'filePath'
85 | public func recordFailure(_ message: String, location: SourceLocation) {
86 | #if !canImport(Darwin)
87 | XCTFail("\(message)", file: location.file, line: location.line)
| |- warning: 'file' is deprecated: renamed to 'filePath'
| `- note: use 'filePath' instead
88 | #else
89 | if let testCase = CurrentTestCaseTracker.sharedInstance.currentTestCase {
[60/75] Compiling Nimble AssertionDispatcher.swift
/host/spi-builder-workspace/Sources/Nimble/Adapters/NimbleSwiftTestingHandler.swift:7:22: warning: using '@_implementationOnly' without enabling library evolution for 'Nimble' may lead to instability during execution
5 | // And apparently `private import` - the preferred way to do this - doesn't work.
6 | // So we use a deprecated approach that does work with this.
7 | @_implementationOnly import Testing
| `- warning: using '@_implementationOnly' without enabling library evolution for 'Nimble' may lead to instability during execution
8 | #endif
9 |
/host/spi-builder-workspace/Sources/Nimble/Adapters/AdapterProtocols.swift:13:12: warning: var 'NimbleAssertionHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 | /// @see AssertionHandler
13 | public var NimbleAssertionHandler: AssertionHandler = { () -> AssertionHandler in
| |- warning: var 'NimbleAssertionHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'NimbleAssertionHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'NimbleAssertionHandler' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | // swiftlint:disable:previous identifier_name
15 | if isSwiftTestingAvailable() || isXCTestAvailable() {
/host/spi-builder-workspace/Sources/Nimble/Adapters/NimbleXCTestHandler.swift:87:42: warning: 'file' is deprecated: renamed to 'filePath'
85 | public func recordFailure(_ message: String, location: SourceLocation) {
86 | #if !canImport(Darwin)
87 | XCTFail("\(message)", file: location.file, line: location.line)
| |- warning: 'file' is deprecated: renamed to 'filePath'
| `- note: use 'filePath' instead
88 | #else
89 | if let testCase = CurrentTestCaseTracker.sharedInstance.currentTestCase {
[61/75] Compiling Nimble AssertionRecorder+Async.swift
/host/spi-builder-workspace/Sources/Nimble/Adapters/NimbleSwiftTestingHandler.swift:7:22: warning: using '@_implementationOnly' without enabling library evolution for 'Nimble' may lead to instability during execution
5 | // And apparently `private import` - the preferred way to do this - doesn't work.
6 | // So we use a deprecated approach that does work with this.
7 | @_implementationOnly import Testing
| `- warning: using '@_implementationOnly' without enabling library evolution for 'Nimble' may lead to instability during execution
8 | #endif
9 |
/host/spi-builder-workspace/Sources/Nimble/Adapters/AdapterProtocols.swift:13:12: warning: var 'NimbleAssertionHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 | /// @see AssertionHandler
13 | public var NimbleAssertionHandler: AssertionHandler = { () -> AssertionHandler in
| |- warning: var 'NimbleAssertionHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'NimbleAssertionHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'NimbleAssertionHandler' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | // swiftlint:disable:previous identifier_name
15 | if isSwiftTestingAvailable() || isXCTestAvailable() {
/host/spi-builder-workspace/Sources/Nimble/Adapters/NimbleXCTestHandler.swift:87:42: warning: 'file' is deprecated: renamed to 'filePath'
85 | public func recordFailure(_ message: String, location: SourceLocation) {
86 | #if !canImport(Darwin)
87 | XCTFail("\(message)", file: location.file, line: location.line)
| |- warning: 'file' is deprecated: renamed to 'filePath'
| `- note: use 'filePath' instead
88 | #else
89 | if let testCase = CurrentTestCaseTracker.sharedInstance.currentTestCase {
[62/75] Compiling Nimble AssertionRecorder.swift
/host/spi-builder-workspace/Sources/Nimble/Adapters/NimbleSwiftTestingHandler.swift:7:22: warning: using '@_implementationOnly' without enabling library evolution for 'Nimble' may lead to instability during execution
5 | // And apparently `private import` - the preferred way to do this - doesn't work.
6 | // So we use a deprecated approach that does work with this.
7 | @_implementationOnly import Testing
| `- warning: using '@_implementationOnly' without enabling library evolution for 'Nimble' may lead to instability during execution
8 | #endif
9 |
/host/spi-builder-workspace/Sources/Nimble/Adapters/AdapterProtocols.swift:13:12: warning: var 'NimbleAssertionHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 | /// @see AssertionHandler
13 | public var NimbleAssertionHandler: AssertionHandler = { () -> AssertionHandler in
| |- warning: var 'NimbleAssertionHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'NimbleAssertionHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'NimbleAssertionHandler' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | // swiftlint:disable:previous identifier_name
15 | if isSwiftTestingAvailable() || isXCTestAvailable() {
/host/spi-builder-workspace/Sources/Nimble/Adapters/NimbleXCTestHandler.swift:87:42: warning: 'file' is deprecated: renamed to 'filePath'
85 | public func recordFailure(_ message: String, location: SourceLocation) {
86 | #if !canImport(Darwin)
87 | XCTFail("\(message)", file: location.file, line: location.line)
| |- warning: 'file' is deprecated: renamed to 'filePath'
| `- note: use 'filePath' instead
88 | #else
89 | if let testCase = CurrentTestCaseTracker.sharedInstance.currentTestCase {
[63/75] Compiling Nimble NMBExpectation.swift
/host/spi-builder-workspace/Sources/Nimble/Adapters/NimbleSwiftTestingHandler.swift:7:22: warning: using '@_implementationOnly' without enabling library evolution for 'Nimble' may lead to instability during execution
5 | // And apparently `private import` - the preferred way to do this - doesn't work.
6 | // So we use a deprecated approach that does work with this.
7 | @_implementationOnly import Testing
| `- warning: using '@_implementationOnly' without enabling library evolution for 'Nimble' may lead to instability during execution
8 | #endif
9 |
/host/spi-builder-workspace/Sources/Nimble/Adapters/AdapterProtocols.swift:13:12: warning: var 'NimbleAssertionHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 | /// @see AssertionHandler
13 | public var NimbleAssertionHandler: AssertionHandler = { () -> AssertionHandler in
| |- warning: var 'NimbleAssertionHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'NimbleAssertionHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'NimbleAssertionHandler' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | // swiftlint:disable:previous identifier_name
15 | if isSwiftTestingAvailable() || isXCTestAvailable() {
/host/spi-builder-workspace/Sources/Nimble/Adapters/NimbleXCTestHandler.swift:87:42: warning: 'file' is deprecated: renamed to 'filePath'
85 | public func recordFailure(_ message: String, location: SourceLocation) {
86 | #if !canImport(Darwin)
87 | XCTFail("\(message)", file: location.file, line: location.line)
| |- warning: 'file' is deprecated: renamed to 'filePath'
| `- note: use 'filePath' instead
88 | #else
89 | if let testCase = CurrentTestCaseTracker.sharedInstance.currentTestCase {
[64/75] Compiling Nimble NimbleEnvironment.swift
/host/spi-builder-workspace/Sources/Nimble/Adapters/NimbleSwiftTestingHandler.swift:7:22: warning: using '@_implementationOnly' without enabling library evolution for 'Nimble' may lead to instability during execution
5 | // And apparently `private import` - the preferred way to do this - doesn't work.
6 | // So we use a deprecated approach that does work with this.
7 | @_implementationOnly import Testing
| `- warning: using '@_implementationOnly' without enabling library evolution for 'Nimble' may lead to instability during execution
8 | #endif
9 |
/host/spi-builder-workspace/Sources/Nimble/Adapters/AdapterProtocols.swift:13:12: warning: var 'NimbleAssertionHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 | /// @see AssertionHandler
13 | public var NimbleAssertionHandler: AssertionHandler = { () -> AssertionHandler in
| |- warning: var 'NimbleAssertionHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'NimbleAssertionHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'NimbleAssertionHandler' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | // swiftlint:disable:previous identifier_name
15 | if isSwiftTestingAvailable() || isXCTestAvailable() {
/host/spi-builder-workspace/Sources/Nimble/Adapters/NimbleXCTestHandler.swift:87:42: warning: 'file' is deprecated: renamed to 'filePath'
85 | public func recordFailure(_ message: String, location: SourceLocation) {
86 | #if !canImport(Darwin)
87 | XCTFail("\(message)", file: location.file, line: location.line)
| |- warning: 'file' is deprecated: renamed to 'filePath'
| `- note: use 'filePath' instead
88 | #else
89 | if let testCase = CurrentTestCaseTracker.sharedInstance.currentTestCase {
[65/75] Compiling Nimble NimbleSwiftTestingHandler.swift
/host/spi-builder-workspace/Sources/Nimble/Adapters/NimbleSwiftTestingHandler.swift:7:22: warning: using '@_implementationOnly' without enabling library evolution for 'Nimble' may lead to instability during execution
5 | // And apparently `private import` - the preferred way to do this - doesn't work.
6 | // So we use a deprecated approach that does work with this.
7 | @_implementationOnly import Testing
| `- warning: using '@_implementationOnly' without enabling library evolution for 'Nimble' may lead to instability during execution
8 | #endif
9 |
/host/spi-builder-workspace/Sources/Nimble/Adapters/AdapterProtocols.swift:13:12: warning: var 'NimbleAssertionHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 | /// @see AssertionHandler
13 | public var NimbleAssertionHandler: AssertionHandler = { () -> AssertionHandler in
| |- warning: var 'NimbleAssertionHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'NimbleAssertionHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'NimbleAssertionHandler' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | // swiftlint:disable:previous identifier_name
15 | if isSwiftTestingAvailable() || isXCTestAvailable() {
/host/spi-builder-workspace/Sources/Nimble/Adapters/NimbleXCTestHandler.swift:87:42: warning: 'file' is deprecated: renamed to 'filePath'
85 | public func recordFailure(_ message: String, location: SourceLocation) {
86 | #if !canImport(Darwin)
87 | XCTFail("\(message)", file: location.file, line: location.line)
| |- warning: 'file' is deprecated: renamed to 'filePath'
| `- note: use 'filePath' instead
88 | #else
89 | if let testCase = CurrentTestCaseTracker.sharedInstance.currentTestCase {
[66/75] Compiling Nimble NimbleXCTestHandler.swift
/host/spi-builder-workspace/Sources/Nimble/Adapters/NimbleSwiftTestingHandler.swift:7:22: warning: using '@_implementationOnly' without enabling library evolution for 'Nimble' may lead to instability during execution
5 | // And apparently `private import` - the preferred way to do this - doesn't work.
6 | // So we use a deprecated approach that does work with this.
7 | @_implementationOnly import Testing
| `- warning: using '@_implementationOnly' without enabling library evolution for 'Nimble' may lead to instability during execution
8 | #endif
9 |
/host/spi-builder-workspace/Sources/Nimble/Adapters/AdapterProtocols.swift:13:12: warning: var 'NimbleAssertionHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 | /// @see AssertionHandler
13 | public var NimbleAssertionHandler: AssertionHandler = { () -> AssertionHandler in
| |- warning: var 'NimbleAssertionHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'NimbleAssertionHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'NimbleAssertionHandler' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | // swiftlint:disable:previous identifier_name
15 | if isSwiftTestingAvailable() || isXCTestAvailable() {
/host/spi-builder-workspace/Sources/Nimble/Adapters/NimbleXCTestHandler.swift:87:42: warning: 'file' is deprecated: renamed to 'filePath'
85 | public func recordFailure(_ message: String, location: SourceLocation) {
86 | #if !canImport(Darwin)
87 | XCTFail("\(message)", file: location.file, line: location.line)
| |- warning: 'file' is deprecated: renamed to 'filePath'
| `- note: use 'filePath' instead
88 | #else
89 | if let testCase = CurrentTestCaseTracker.sharedInstance.currentTestCase {
[67/75] Compiling Nimble ExceptionCapture.swift
/host/spi-builder-workspace/Sources/Nimble/Adapters/NimbleSwiftTestingHandler.swift:7:22: warning: using '@_implementationOnly' without enabling library evolution for 'Nimble' may lead to instability during execution
5 | // And apparently `private import` - the preferred way to do this - doesn't work.
6 | // So we use a deprecated approach that does work with this.
7 | @_implementationOnly import Testing
| `- warning: using '@_implementationOnly' without enabling library evolution for 'Nimble' may lead to instability during execution
8 | #endif
9 |
/host/spi-builder-workspace/Sources/Nimble/Adapters/AdapterProtocols.swift:13:12: warning: var 'NimbleAssertionHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 | /// @see AssertionHandler
13 | public var NimbleAssertionHandler: AssertionHandler = { () -> AssertionHandler in
| |- warning: var 'NimbleAssertionHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'NimbleAssertionHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'NimbleAssertionHandler' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | // swiftlint:disable:previous identifier_name
15 | if isSwiftTestingAvailable() || isXCTestAvailable() {
/host/spi-builder-workspace/Sources/Nimble/Adapters/NimbleXCTestHandler.swift:87:42: warning: 'file' is deprecated: renamed to 'filePath'
85 | public func recordFailure(_ message: String, location: SourceLocation) {
86 | #if !canImport(Darwin)
87 | XCTFail("\(message)", file: location.file, line: location.line)
| |- warning: 'file' is deprecated: renamed to 'filePath'
| `- note: use 'filePath' instead
88 | #else
89 | if let testCase = CurrentTestCaseTracker.sharedInstance.currentTestCase {
[68/75] Compiling Nimble Requirement.swift
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:97:14: warning: actor-isolated property 'storage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
59 | // AsyncChannel: https://github.com/apple/swift-async-algorithms/blob/main/Sources/AsyncAlgorithms/Channels/AsyncChannel.swift
60 | internal actor AsyncPromise<T> {
61 | private let storage = Storage()
| `- note: property declared here
62 |
63 | private final class Storage {
:
95 |
96 | nonisolated func send(_ value: T) {
97 | self.storage.send(value)
| `- warning: actor-isolated property 'storage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
98 | }
99 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:102:32: warning: non-sendable type 'T' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 type 'T' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
103 | }
104 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:165:26: warning: non-sendable type 'AsyncPollResult<T>' in asynchronous access to actor-isolated property 'value' cannot cross actor boundary; 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
:
163 | }
164 |
165 | return await promise.value
| `- warning: non-sendable type 'AsyncPollResult<T>' in asynchronous access to actor-isolated property 'value' cannot cross actor boundary; this is an error in the Swift 6 language mode
166 | }
167 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:228: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
:
226 |
227 | defer {
228 | taskGroup.cancelAll()
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
229 | }
230 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:214: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
:
212 | }
213 | let timeoutQueue = awaiter.timeoutQueue
214 | 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
215 | taskGroup.addTask {
216 | await timeout(
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:214: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
:
212 | }
213 | let timeoutQueue = awaiter.timeoutQueue
214 | 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
215 | taskGroup.addTask {
216 | await timeout(
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:215: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
:
213 | let timeoutQueue = awaiter.timeoutQueue
214 | return await withTaskGroup(of: AsyncPollResult<Bool>.self) { taskGroup in
215 | taskGroup.addTask {
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
216 | await timeout(
217 | timeoutQueue: timeoutQueue,
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:223: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
:
221 | }
222 |
223 | taskGroup.addTask {
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
224 | await poll(pollInterval, expression: expression)
225 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:231: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
:
229 | }
230 |
231 | 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
232 | }
233 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:307: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
:
305 |
306 | defer {
307 | taskGroup.cancelAll()
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
308 | }
309 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:266: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
:
264 | let timeoutQueue = awaiter.timeoutQueue
265 | let completionCount = Box(value: 0)
266 | 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
267 | let promise = AsyncPromise<T?>()
268 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:266: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
:
264 | let timeoutQueue = awaiter.timeoutQueue
265 | let completionCount = Box(value: 0)
266 | 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
267 | let promise = AsyncPromise<T?>()
268 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:269: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
:
267 | let promise = AsyncPromise<T?>()
268 |
269 | taskGroup.addTask {
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
270 | defer {
271 | promise.send(nil)
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:280: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
:
278 | }
279 |
280 | taskGroup.addTask {
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
281 | do {
282 | try await closure { result in
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:310: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
:
308 | }
309 |
310 | 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
311 | }
312 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:296:46: warning: non-sendable type 'T?' in asynchronous access to actor-isolated property 'value' cannot cross actor boundary; this is an error in the Swift 6 language mode
255 |
256 | // swiftlint:disable:next function_parameter_count
257 | private func runAwaitTrigger<T>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
258 | awaiter: Awaiter,
259 | timeoutInterval: NimbleTimeInterval,
:
294 | }
295 | }
296 | if let value = await promise.value {
| `- warning: non-sendable type 'T?' in asynchronous access to actor-isolated property 'value' cannot cross actor boundary; this is an error in the Swift 6 language mode
297 | return .completed(value)
298 | } else {
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:77:34: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
75 | defer { lock.unlock() }
76 | if let value {
77 | 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
78 | } else {
79 | continuations.append(continuation)
/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:102:32: warning: sending 'self.storage' risks causing data races; this is an error in the Swift 6 language mode
100 | var value: T {
101 | get async {
102 | await self.storage.await()
| |- warning: sending 'self.storage' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.storage' to nonisolated instance method 'await()' risks causing data races between nonisolated and 'self'-isolated uses
103 | }
104 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:223: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
221 | }
222 |
223 | 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
224 | await poll(pollInterval, expression: expression)
| `- note: closure captures 'expression' which is accessible to code in the current task
225 | }
226 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:280: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
278 | }
279 |
280 | 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
281 | do {
282 | try await closure { result in
| `- note: closure captures 'closure' which is accessible to code in the current task
283 | completionCount.operate { $0 + 1 }
284 | 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:97:14: warning: actor-isolated property 'storage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
59 | // AsyncChannel: https://github.com/apple/swift-async-algorithms/blob/main/Sources/AsyncAlgorithms/Channels/AsyncChannel.swift
60 | internal actor AsyncPromise<T> {
61 | private let storage = Storage()
| `- note: property declared here
62 |
63 | private final class Storage {
:
95 |
96 | nonisolated func send(_ value: T) {
97 | self.storage.send(value)
| `- warning: actor-isolated property 'storage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
98 | }
99 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:102:32: warning: non-sendable type 'T' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 type 'T' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
103 | }
104 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:165:26: warning: non-sendable type 'AsyncPollResult<T>' in asynchronous access to actor-isolated property 'value' cannot cross actor boundary; 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
:
163 | }
164 |
165 | return await promise.value
| `- warning: non-sendable type 'AsyncPollResult<T>' in asynchronous access to actor-isolated property 'value' cannot cross actor boundary; this is an error in the Swift 6 language mode
166 | }
167 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:228: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
:
226 |
227 | defer {
228 | taskGroup.cancelAll()
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
229 | }
230 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:214: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
:
212 | }
213 | let timeoutQueue = awaiter.timeoutQueue
214 | 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
215 | taskGroup.addTask {
216 | await timeout(
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:214: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
:
212 | }
213 | let timeoutQueue = awaiter.timeoutQueue
214 | 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
215 | taskGroup.addTask {
216 | await timeout(
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:215: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
:
213 | let timeoutQueue = awaiter.timeoutQueue
214 | return await withTaskGroup(of: AsyncPollResult<Bool>.self) { taskGroup in
215 | taskGroup.addTask {
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
216 | await timeout(
217 | timeoutQueue: timeoutQueue,
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:223: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
:
221 | }
222 |
223 | taskGroup.addTask {
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
224 | await poll(pollInterval, expression: expression)
225 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:231: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
:
229 | }
230 |
231 | 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
232 | }
233 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:307: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
:
305 |
306 | defer {
307 | taskGroup.cancelAll()
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
308 | }
309 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:266: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
:
264 | let timeoutQueue = awaiter.timeoutQueue
265 | let completionCount = Box(value: 0)
266 | 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
267 | let promise = AsyncPromise<T?>()
268 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:266: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
:
264 | let timeoutQueue = awaiter.timeoutQueue
265 | let completionCount = Box(value: 0)
266 | 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
267 | let promise = AsyncPromise<T?>()
268 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:269: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
:
267 | let promise = AsyncPromise<T?>()
268 |
269 | taskGroup.addTask {
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
270 | defer {
271 | promise.send(nil)
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:280: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
:
278 | }
279 |
280 | taskGroup.addTask {
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
281 | do {
282 | try await closure { result in
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:310: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
:
308 | }
309 |
310 | 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
311 | }
312 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:296:46: warning: non-sendable type 'T?' in asynchronous access to actor-isolated property 'value' cannot cross actor boundary; this is an error in the Swift 6 language mode
255 |
256 | // swiftlint:disable:next function_parameter_count
257 | private func runAwaitTrigger<T>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
258 | awaiter: Awaiter,
259 | timeoutInterval: NimbleTimeInterval,
:
294 | }
295 | }
296 | if let value = await promise.value {
| `- warning: non-sendable type 'T?' in asynchronous access to actor-isolated property 'value' cannot cross actor boundary; this is an error in the Swift 6 language mode
297 | return .completed(value)
298 | } else {
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:77:34: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
75 | defer { lock.unlock() }
76 | if let value {
77 | 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
78 | } else {
79 | continuations.append(continuation)
/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:102:32: warning: sending 'self.storage' risks causing data races; this is an error in the Swift 6 language mode
100 | var value: T {
101 | get async {
102 | await self.storage.await()
| |- warning: sending 'self.storage' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.storage' to nonisolated instance method 'await()' risks causing data races between nonisolated and 'self'-isolated uses
103 | }
104 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:223: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
221 | }
222 |
223 | 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
224 | await poll(pollInterval, expression: expression)
| `- note: closure captures 'expression' which is accessible to code in the current task
225 | }
226 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:280: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
278 | }
279 |
280 | 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
281 | do {
282 | try await closure { result in
| `- note: closure captures 'closure' which is accessible to code in the current task
283 | completionCount.operate { $0 + 1 }
284 | 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:97:14: warning: actor-isolated property 'storage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
59 | // AsyncChannel: https://github.com/apple/swift-async-algorithms/blob/main/Sources/AsyncAlgorithms/Channels/AsyncChannel.swift
60 | internal actor AsyncPromise<T> {
61 | private let storage = Storage()
| `- note: property declared here
62 |
63 | private final class Storage {
:
95 |
96 | nonisolated func send(_ value: T) {
97 | self.storage.send(value)
| `- warning: actor-isolated property 'storage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
98 | }
99 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:102:32: warning: non-sendable type 'T' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 type 'T' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
103 | }
104 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:165:26: warning: non-sendable type 'AsyncPollResult<T>' in asynchronous access to actor-isolated property 'value' cannot cross actor boundary; 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
:
163 | }
164 |
165 | return await promise.value
| `- warning: non-sendable type 'AsyncPollResult<T>' in asynchronous access to actor-isolated property 'value' cannot cross actor boundary; this is an error in the Swift 6 language mode
166 | }
167 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:228: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
:
226 |
227 | defer {
228 | taskGroup.cancelAll()
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
229 | }
230 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:214: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
:
212 | }
213 | let timeoutQueue = awaiter.timeoutQueue
214 | 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
215 | taskGroup.addTask {
216 | await timeout(
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:214: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
:
212 | }
213 | let timeoutQueue = awaiter.timeoutQueue
214 | 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
215 | taskGroup.addTask {
216 | await timeout(
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:215: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
:
213 | let timeoutQueue = awaiter.timeoutQueue
214 | return await withTaskGroup(of: AsyncPollResult<Bool>.self) { taskGroup in
215 | taskGroup.addTask {
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
216 | await timeout(
217 | timeoutQueue: timeoutQueue,
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:223: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
:
221 | }
222 |
223 | taskGroup.addTask {
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
224 | await poll(pollInterval, expression: expression)
225 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:231: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
:
229 | }
230 |
231 | 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
232 | }
233 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:307: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
:
305 |
306 | defer {
307 | taskGroup.cancelAll()
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
308 | }
309 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:266: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
:
264 | let timeoutQueue = awaiter.timeoutQueue
265 | let completionCount = Box(value: 0)
266 | 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
267 | let promise = AsyncPromise<T?>()
268 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:266: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
:
264 | let timeoutQueue = awaiter.timeoutQueue
265 | let completionCount = Box(value: 0)
266 | 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
267 | let promise = AsyncPromise<T?>()
268 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:269: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
:
267 | let promise = AsyncPromise<T?>()
268 |
269 | taskGroup.addTask {
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
270 | defer {
271 | promise.send(nil)
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:280: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
:
278 | }
279 |
280 | taskGroup.addTask {
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
281 | do {
282 | try await closure { result in
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:310: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
:
308 | }
309 |
310 | 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
311 | }
312 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:296:46: warning: non-sendable type 'T?' in asynchronous access to actor-isolated property 'value' cannot cross actor boundary; this is an error in the Swift 6 language mode
255 |
256 | // swiftlint:disable:next function_parameter_count
257 | private func runAwaitTrigger<T>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
258 | awaiter: Awaiter,
259 | timeoutInterval: NimbleTimeInterval,
:
294 | }
295 | }
296 | if let value = await promise.value {
| `- warning: non-sendable type 'T?' in asynchronous access to actor-isolated property 'value' cannot cross actor boundary; this is an error in the Swift 6 language mode
297 | return .completed(value)
298 | } else {
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:77:34: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
75 | defer { lock.unlock() }
76 | if let value {
77 | 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
78 | } else {
79 | continuations.append(continuation)
/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:102:32: warning: sending 'self.storage' risks causing data races; this is an error in the Swift 6 language mode
100 | var value: T {
101 | get async {
102 | await self.storage.await()
| |- warning: sending 'self.storage' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.storage' to nonisolated instance method 'await()' risks causing data races between nonisolated and 'self'-isolated uses
103 | }
104 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:223: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
221 | }
222 |
223 | 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
224 | await poll(pollInterval, expression: expression)
| `- note: closure captures 'expression' which is accessible to code in the current task
225 | }
226 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:280: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
278 | }
279 |
280 | 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
281 | do {
282 | try await closure { result in
| `- note: closure captures 'closure' which is accessible to code in the current task
283 | completionCount.operate { $0 + 1 }
284 | 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:97:14: warning: actor-isolated property 'storage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
59 | // AsyncChannel: https://github.com/apple/swift-async-algorithms/blob/main/Sources/AsyncAlgorithms/Channels/AsyncChannel.swift
60 | internal actor AsyncPromise<T> {
61 | private let storage = Storage()
| `- note: property declared here
62 |
63 | private final class Storage {
:
95 |
96 | nonisolated func send(_ value: T) {
97 | self.storage.send(value)
| `- warning: actor-isolated property 'storage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
98 | }
99 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:102:32: warning: non-sendable type 'T' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 type 'T' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
103 | }
104 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:165:26: warning: non-sendable type 'AsyncPollResult<T>' in asynchronous access to actor-isolated property 'value' cannot cross actor boundary; 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
:
163 | }
164 |
165 | return await promise.value
| `- warning: non-sendable type 'AsyncPollResult<T>' in asynchronous access to actor-isolated property 'value' cannot cross actor boundary; this is an error in the Swift 6 language mode
166 | }
167 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:228: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
:
226 |
227 | defer {
228 | taskGroup.cancelAll()
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
229 | }
230 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:214: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
:
212 | }
213 | let timeoutQueue = awaiter.timeoutQueue
214 | 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
215 | taskGroup.addTask {
216 | await timeout(
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:214: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
:
212 | }
213 | let timeoutQueue = awaiter.timeoutQueue
214 | 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
215 | taskGroup.addTask {
216 | await timeout(
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:215: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
:
213 | let timeoutQueue = awaiter.timeoutQueue
214 | return await withTaskGroup(of: AsyncPollResult<Bool>.self) { taskGroup in
215 | taskGroup.addTask {
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
216 | await timeout(
217 | timeoutQueue: timeoutQueue,
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:223: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
:
221 | }
222 |
223 | taskGroup.addTask {
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
224 | await poll(pollInterval, expression: expression)
225 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:231: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
:
229 | }
230 |
231 | 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
232 | }
233 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:307: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
:
305 |
306 | defer {
307 | taskGroup.cancelAll()
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
308 | }
309 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:266: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
:
264 | let timeoutQueue = awaiter.timeoutQueue
265 | let completionCount = Box(value: 0)
266 | 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
267 | let promise = AsyncPromise<T?>()
268 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:266: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
:
264 | let timeoutQueue = awaiter.timeoutQueue
265 | let completionCount = Box(value: 0)
266 | 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
267 | let promise = AsyncPromise<T?>()
268 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:269: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
:
267 | let promise = AsyncPromise<T?>()
268 |
269 | taskGroup.addTask {
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
270 | defer {
271 | promise.send(nil)
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:280: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
:
278 | }
279 |
280 | taskGroup.addTask {
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
281 | do {
282 | try await closure { result in
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:310: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
:
308 | }
309 |
310 | 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
311 | }
312 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:296:46: warning: non-sendable type 'T?' in asynchronous access to actor-isolated property 'value' cannot cross actor boundary; this is an error in the Swift 6 language mode
255 |
256 | // swiftlint:disable:next function_parameter_count
257 | private func runAwaitTrigger<T>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
258 | awaiter: Awaiter,
259 | timeoutInterval: NimbleTimeInterval,
:
294 | }
295 | }
296 | if let value = await promise.value {
| `- warning: non-sendable type 'T?' in asynchronous access to actor-isolated property 'value' cannot cross actor boundary; this is an error in the Swift 6 language mode
297 | return .completed(value)
298 | } else {
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:77:34: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
75 | defer { lock.unlock() }
76 | if let value {
77 | 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
78 | } else {
79 | continuations.append(continuation)
/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:102:32: warning: sending 'self.storage' risks causing data races; this is an error in the Swift 6 language mode
100 | var value: T {
101 | get async {
102 | await self.storage.await()
| |- warning: sending 'self.storage' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.storage' to nonisolated instance method 'await()' risks causing data races between nonisolated and 'self'-isolated uses
103 | }
104 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:223: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
221 | }
222 |
223 | 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
224 | await poll(pollInterval, expression: expression)
| `- note: closure captures 'expression' which is accessible to code in the current task
225 | }
226 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:280: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
278 | }
279 |
280 | 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
281 | do {
282 | try await closure { result in
| `- note: closure captures 'closure' which is accessible to code in the current task
283 | completionCount.operate { $0 + 1 }
284 | 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:97:14: warning: actor-isolated property 'storage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
59 | // AsyncChannel: https://github.com/apple/swift-async-algorithms/blob/main/Sources/AsyncAlgorithms/Channels/AsyncChannel.swift
60 | internal actor AsyncPromise<T> {
61 | private let storage = Storage()
| `- note: property declared here
62 |
63 | private final class Storage {
:
95 |
96 | nonisolated func send(_ value: T) {
97 | self.storage.send(value)
| `- warning: actor-isolated property 'storage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
98 | }
99 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:102:32: warning: non-sendable type 'T' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 type 'T' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
103 | }
104 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:165:26: warning: non-sendable type 'AsyncPollResult<T>' in asynchronous access to actor-isolated property 'value' cannot cross actor boundary; 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
:
163 | }
164 |
165 | return await promise.value
| `- warning: non-sendable type 'AsyncPollResult<T>' in asynchronous access to actor-isolated property 'value' cannot cross actor boundary; this is an error in the Swift 6 language mode
166 | }
167 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:228: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
:
226 |
227 | defer {
228 | taskGroup.cancelAll()
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
229 | }
230 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:214: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
:
212 | }
213 | let timeoutQueue = awaiter.timeoutQueue
214 | 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
215 | taskGroup.addTask {
216 | await timeout(
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:214: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
:
212 | }
213 | let timeoutQueue = awaiter.timeoutQueue
214 | 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
215 | taskGroup.addTask {
216 | await timeout(
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:215: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
:
213 | let timeoutQueue = awaiter.timeoutQueue
214 | return await withTaskGroup(of: AsyncPollResult<Bool>.self) { taskGroup in
215 | taskGroup.addTask {
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
216 | await timeout(
217 | timeoutQueue: timeoutQueue,
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:223: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
:
221 | }
222 |
223 | taskGroup.addTask {
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
224 | await poll(pollInterval, expression: expression)
225 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:231: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
:
229 | }
230 |
231 | 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
232 | }
233 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:307: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
:
305 |
306 | defer {
307 | taskGroup.cancelAll()
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
308 | }
309 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:266: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
:
264 | let timeoutQueue = awaiter.timeoutQueue
265 | let completionCount = Box(value: 0)
266 | 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
267 | let promise = AsyncPromise<T?>()
268 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:266: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
:
264 | let timeoutQueue = awaiter.timeoutQueue
265 | let completionCount = Box(value: 0)
266 | 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
267 | let promise = AsyncPromise<T?>()
268 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:269: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
:
267 | let promise = AsyncPromise<T?>()
268 |
269 | taskGroup.addTask {
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
270 | defer {
271 | promise.send(nil)
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:280: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
:
278 | }
279 |
280 | taskGroup.addTask {
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
281 | do {
282 | try await closure { result in
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:310: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
:
308 | }
309 |
310 | 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
311 | }
312 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:296:46: warning: non-sendable type 'T?' in asynchronous access to actor-isolated property 'value' cannot cross actor boundary; this is an error in the Swift 6 language mode
255 |
256 | // swiftlint:disable:next function_parameter_count
257 | private func runAwaitTrigger<T>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
258 | awaiter: Awaiter,
259 | timeoutInterval: NimbleTimeInterval,
:
294 | }
295 | }
296 | if let value = await promise.value {
| `- warning: non-sendable type 'T?' in asynchronous access to actor-isolated property 'value' cannot cross actor boundary; this is an error in the Swift 6 language mode
297 | return .completed(value)
298 | } else {
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:77:34: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
75 | defer { lock.unlock() }
76 | if let value {
77 | 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
78 | } else {
79 | continuations.append(continuation)
/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:102:32: warning: sending 'self.storage' risks causing data races; this is an error in the Swift 6 language mode
100 | var value: T {
101 | get async {
102 | await self.storage.await()
| |- warning: sending 'self.storage' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.storage' to nonisolated instance method 'await()' risks causing data races between nonisolated and 'self'-isolated uses
103 | }
104 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:223: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
221 | }
222 |
223 | 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
224 | await poll(pollInterval, expression: expression)
| `- note: closure captures 'expression' which is accessible to code in the current task
225 | }
226 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:280: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
278 | }
279 |
280 | 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
281 | do {
282 | try await closure { result in
| `- note: closure captures 'closure' which is accessible to code in the current task
283 | completionCount.operate { $0 + 1 }
284 | 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:97:14: warning: actor-isolated property 'storage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
59 | // AsyncChannel: https://github.com/apple/swift-async-algorithms/blob/main/Sources/AsyncAlgorithms/Channels/AsyncChannel.swift
60 | internal actor AsyncPromise<T> {
61 | private let storage = Storage()
| `- note: property declared here
62 |
63 | private final class Storage {
:
95 |
96 | nonisolated func send(_ value: T) {
97 | self.storage.send(value)
| `- warning: actor-isolated property 'storage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
98 | }
99 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:102:32: warning: non-sendable type 'T' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 type 'T' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
103 | }
104 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:165:26: warning: non-sendable type 'AsyncPollResult<T>' in asynchronous access to actor-isolated property 'value' cannot cross actor boundary; 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
:
163 | }
164 |
165 | return await promise.value
| `- warning: non-sendable type 'AsyncPollResult<T>' in asynchronous access to actor-isolated property 'value' cannot cross actor boundary; this is an error in the Swift 6 language mode
166 | }
167 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:228: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
:
226 |
227 | defer {
228 | taskGroup.cancelAll()
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
229 | }
230 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:214: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
:
212 | }
213 | let timeoutQueue = awaiter.timeoutQueue
214 | 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
215 | taskGroup.addTask {
216 | await timeout(
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:214: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
:
212 | }
213 | let timeoutQueue = awaiter.timeoutQueue
214 | 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
215 | taskGroup.addTask {
216 | await timeout(
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:215: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
:
213 | let timeoutQueue = awaiter.timeoutQueue
214 | return await withTaskGroup(of: AsyncPollResult<Bool>.self) { taskGroup in
215 | taskGroup.addTask {
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
216 | await timeout(
217 | timeoutQueue: timeoutQueue,
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:223: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
:
221 | }
222 |
223 | taskGroup.addTask {
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
224 | await poll(pollInterval, expression: expression)
225 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:231: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
:
229 | }
230 |
231 | 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
232 | }
233 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:307: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
:
305 |
306 | defer {
307 | taskGroup.cancelAll()
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
308 | }
309 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:266: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
:
264 | let timeoutQueue = awaiter.timeoutQueue
265 | let completionCount = Box(value: 0)
266 | 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
267 | let promise = AsyncPromise<T?>()
268 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:266: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
:
264 | let timeoutQueue = awaiter.timeoutQueue
265 | let completionCount = Box(value: 0)
266 | 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
267 | let promise = AsyncPromise<T?>()
268 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:269: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
:
267 | let promise = AsyncPromise<T?>()
268 |
269 | taskGroup.addTask {
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
270 | defer {
271 | promise.send(nil)
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:280: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
:
278 | }
279 |
280 | taskGroup.addTask {
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
281 | do {
282 | try await closure { result in
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:310: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
:
308 | }
309 |
310 | 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
311 | }
312 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:296:46: warning: non-sendable type 'T?' in asynchronous access to actor-isolated property 'value' cannot cross actor boundary; this is an error in the Swift 6 language mode
255 |
256 | // swiftlint:disable:next function_parameter_count
257 | private func runAwaitTrigger<T>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
258 | awaiter: Awaiter,
259 | timeoutInterval: NimbleTimeInterval,
:
294 | }
295 | }
296 | if let value = await promise.value {
| `- warning: non-sendable type 'T?' in asynchronous access to actor-isolated property 'value' cannot cross actor boundary; this is an error in the Swift 6 language mode
297 | return .completed(value)
298 | } else {
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:77:34: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
75 | defer { lock.unlock() }
76 | if let value {
77 | 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
78 | } else {
79 | continuations.append(continuation)
/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:102:32: warning: sending 'self.storage' risks causing data races; this is an error in the Swift 6 language mode
100 | var value: T {
101 | get async {
102 | await self.storage.await()
| |- warning: sending 'self.storage' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.storage' to nonisolated instance method 'await()' risks causing data races between nonisolated and 'self'-isolated uses
103 | }
104 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:223: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
221 | }
222 |
223 | 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
224 | await poll(pollInterval, expression: expression)
| `- note: closure captures 'expression' which is accessible to code in the current task
225 | }
226 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:280: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
278 | }
279 |
280 | 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
281 | do {
282 | try await closure { result in
| `- note: closure captures 'closure' which is accessible to code in the current task
283 | completionCount.operate { $0 + 1 }
284 | 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:97:14: warning: actor-isolated property 'storage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
59 | // AsyncChannel: https://github.com/apple/swift-async-algorithms/blob/main/Sources/AsyncAlgorithms/Channels/AsyncChannel.swift
60 | internal actor AsyncPromise<T> {
61 | private let storage = Storage()
| `- note: property declared here
62 |
63 | private final class Storage {
:
95 |
96 | nonisolated func send(_ value: T) {
97 | self.storage.send(value)
| `- warning: actor-isolated property 'storage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
98 | }
99 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:102:32: warning: non-sendable type 'T' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 type 'T' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
103 | }
104 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:165:26: warning: non-sendable type 'AsyncPollResult<T>' in asynchronous access to actor-isolated property 'value' cannot cross actor boundary; 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
:
163 | }
164 |
165 | return await promise.value
| `- warning: non-sendable type 'AsyncPollResult<T>' in asynchronous access to actor-isolated property 'value' cannot cross actor boundary; this is an error in the Swift 6 language mode
166 | }
167 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:228: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
:
226 |
227 | defer {
228 | taskGroup.cancelAll()
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
229 | }
230 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:214: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
:
212 | }
213 | let timeoutQueue = awaiter.timeoutQueue
214 | 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
215 | taskGroup.addTask {
216 | await timeout(
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:214: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
:
212 | }
213 | let timeoutQueue = awaiter.timeoutQueue
214 | 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
215 | taskGroup.addTask {
216 | await timeout(
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:215: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
:
213 | let timeoutQueue = awaiter.timeoutQueue
214 | return await withTaskGroup(of: AsyncPollResult<Bool>.self) { taskGroup in
215 | taskGroup.addTask {
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
216 | await timeout(
217 | timeoutQueue: timeoutQueue,
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:223: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
:
221 | }
222 |
223 | taskGroup.addTask {
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
224 | await poll(pollInterval, expression: expression)
225 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:231: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
:
229 | }
230 |
231 | 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
232 | }
233 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:307: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
:
305 |
306 | defer {
307 | taskGroup.cancelAll()
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
308 | }
309 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:266: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
:
264 | let timeoutQueue = awaiter.timeoutQueue
265 | let completionCount = Box(value: 0)
266 | 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
267 | let promise = AsyncPromise<T?>()
268 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:266: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
:
264 | let timeoutQueue = awaiter.timeoutQueue
265 | let completionCount = Box(value: 0)
266 | 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
267 | let promise = AsyncPromise<T?>()
268 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:269: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
:
267 | let promise = AsyncPromise<T?>()
268 |
269 | taskGroup.addTask {
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
270 | defer {
271 | promise.send(nil)
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:280: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
:
278 | }
279 |
280 | taskGroup.addTask {
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
281 | do {
282 | try await closure { result in
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:310: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
:
308 | }
309 |
310 | 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
311 | }
312 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:296:46: warning: non-sendable type 'T?' in asynchronous access to actor-isolated property 'value' cannot cross actor boundary; this is an error in the Swift 6 language mode
255 |
256 | // swiftlint:disable:next function_parameter_count
257 | private func runAwaitTrigger<T>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
258 | awaiter: Awaiter,
259 | timeoutInterval: NimbleTimeInterval,
:
294 | }
295 | }
296 | if let value = await promise.value {
| `- warning: non-sendable type 'T?' in asynchronous access to actor-isolated property 'value' cannot cross actor boundary; this is an error in the Swift 6 language mode
297 | return .completed(value)
298 | } else {
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:77:34: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
75 | defer { lock.unlock() }
76 | if let value {
77 | 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
78 | } else {
79 | continuations.append(continuation)
/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:102:32: warning: sending 'self.storage' risks causing data races; this is an error in the Swift 6 language mode
100 | var value: T {
101 | get async {
102 | await self.storage.await()
| |- warning: sending 'self.storage' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.storage' to nonisolated instance method 'await()' risks causing data races between nonisolated and 'self'-isolated uses
103 | }
104 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:223: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
221 | }
222 |
223 | 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
224 | await poll(pollInterval, expression: expression)
| `- note: closure captures 'expression' which is accessible to code in the current task
225 | }
226 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:280: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
278 | }
279 |
280 | 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
281 | do {
282 | try await closure { result in
| `- note: closure captures 'closure' which is accessible to code in the current task
283 | completionCount.operate { $0 + 1 }
284 | 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:97:14: warning: actor-isolated property 'storage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
59 | // AsyncChannel: https://github.com/apple/swift-async-algorithms/blob/main/Sources/AsyncAlgorithms/Channels/AsyncChannel.swift
60 | internal actor AsyncPromise<T> {
61 | private let storage = Storage()
| `- note: property declared here
62 |
63 | private final class Storage {
:
95 |
96 | nonisolated func send(_ value: T) {
97 | self.storage.send(value)
| `- warning: actor-isolated property 'storage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
98 | }
99 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:102:32: warning: non-sendable type 'T' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 type 'T' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
103 | }
104 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:165:26: warning: non-sendable type 'AsyncPollResult<T>' in asynchronous access to actor-isolated property 'value' cannot cross actor boundary; 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
:
163 | }
164 |
165 | return await promise.value
| `- warning: non-sendable type 'AsyncPollResult<T>' in asynchronous access to actor-isolated property 'value' cannot cross actor boundary; this is an error in the Swift 6 language mode
166 | }
167 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:228: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
:
226 |
227 | defer {
228 | taskGroup.cancelAll()
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
229 | }
230 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:214: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
:
212 | }
213 | let timeoutQueue = awaiter.timeoutQueue
214 | 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
215 | taskGroup.addTask {
216 | await timeout(
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:214: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
:
212 | }
213 | let timeoutQueue = awaiter.timeoutQueue
214 | 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
215 | taskGroup.addTask {
216 | await timeout(
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:215: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
:
213 | let timeoutQueue = awaiter.timeoutQueue
214 | return await withTaskGroup(of: AsyncPollResult<Bool>.self) { taskGroup in
215 | taskGroup.addTask {
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
216 | await timeout(
217 | timeoutQueue: timeoutQueue,
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:223: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
:
221 | }
222 |
223 | taskGroup.addTask {
| `- warning: type 'AsyncPollResult<Bool>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
224 | await poll(pollInterval, expression: expression)
225 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:231: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
:
229 | }
230 |
231 | 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
232 | }
233 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:307: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
:
305 |
306 | defer {
307 | taskGroup.cancelAll()
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
308 | }
309 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:266: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
:
264 | let timeoutQueue = awaiter.timeoutQueue
265 | let completionCount = Box(value: 0)
266 | 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
267 | let promise = AsyncPromise<T?>()
268 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:266: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
:
264 | let timeoutQueue = awaiter.timeoutQueue
265 | let completionCount = Box(value: 0)
266 | 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
267 | let promise = AsyncPromise<T?>()
268 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:269: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
:
267 | let promise = AsyncPromise<T?>()
268 |
269 | taskGroup.addTask {
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
270 | defer {
271 | promise.send(nil)
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:280: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
:
278 | }
279 |
280 | taskGroup.addTask {
| `- warning: type 'AsyncPollResult<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
281 | do {
282 | try await closure { result in
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:310: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
:
308 | }
309 |
310 | 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
311 | }
312 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:296:46: warning: non-sendable type 'T?' in asynchronous access to actor-isolated property 'value' cannot cross actor boundary; this is an error in the Swift 6 language mode
255 |
256 | // swiftlint:disable:next function_parameter_count
257 | private func runAwaitTrigger<T>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
258 | awaiter: Awaiter,
259 | timeoutInterval: NimbleTimeInterval,
:
294 | }
295 | }
296 | if let value = await promise.value {
| `- warning: non-sendable type 'T?' in asynchronous access to actor-isolated property 'value' cannot cross actor boundary; this is an error in the Swift 6 language mode
297 | return .completed(value)
298 | } else {
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:77:34: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
75 | defer { lock.unlock() }
76 | if let value {
77 | 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
78 | } else {
79 | continuations.append(continuation)
/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:102:32: warning: sending 'self.storage' risks causing data races; this is an error in the Swift 6 language mode
100 | var value: T {
101 | get async {
102 | await self.storage.await()
| |- warning: sending 'self.storage' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.storage' to nonisolated instance method 'await()' risks causing data races between nonisolated and 'self'-isolated uses
103 | }
104 | }
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:223: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
221 | }
222 |
223 | 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
224 | await poll(pollInterval, expression: expression)
| `- note: closure captures 'expression' which is accessible to code in the current task
225 | }
226 |
/host/spi-builder-workspace/Sources/Nimble/Utils/AsyncAwait.swift:280: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
278 | }
279 |
280 | 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
281 | do {
282 | try await closure { result in
| `- note: closure captures 'closure' which is accessible to code in the current task
283 | completionCount.operate { $0 + 1 }
284 | 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] Emitting module NimbleSharedTestHelpers
[78/78] Compiling NimbleSharedTestHelpers utils.swift
/host/spi-builder-workspace/Sources/NimbleSharedTestHelpers/utils.swift:58:9: warning: reference to var 'NimbleAssertionHandler' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
56 | """
57 | }
58 | NimbleAssertionHandler.assert(false,
| `- warning: reference to var 'NimbleAssertionHandler' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
59 | message: FailureMessage(stringValue: message),
60 | location: location)
/host/spi-builder-workspace/Sources/Nimble/Adapters/AdapterProtocols.swift:13:12: note: var declared here
11 | ///
12 | /// @see AssertionHandler
13 | public var NimbleAssertionHandler: AssertionHandler = { () -> AssertionHandler in
| `- note: var declared here
14 | // swiftlint:disable:previous identifier_name
15 | if isSwiftTestingAvailable() || isXCTestAvailable() {
/host/spi-builder-workspace/Sources/NimbleSharedTestHelpers/utils.swift:88:5: warning: reference to var 'NimbleAssertionHandler' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
86 | \(recorder.assertions)
87 | """
88 | NimbleAssertionHandler.assert(false,
| `- warning: reference to var 'NimbleAssertionHandler' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
89 | message: FailureMessage(stringValue: message),
90 | location: SourceLocation(fileID: fileID, filePath: filePath, line: line, column: column))
/host/spi-builder-workspace/Sources/Nimble/Adapters/AdapterProtocols.swift:13:12: note: var declared here
11 | ///
12 | /// @see AssertionHandler
13 | public var NimbleAssertionHandler: AssertionHandler = { () -> AssertionHandler in
| `- note: var declared here
14 | // swiftlint:disable:previous identifier_name
15 | if isSwiftTestingAvailable() || isXCTestAvailable() {
/host/spi-builder-workspace/Sources/NimbleSharedTestHelpers/utils.swift:164:9: warning: reference to var 'NimbleAssertionHandler' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
162 | """
163 | }
164 | NimbleAssertionHandler.assert(false,
| `- warning: reference to var 'NimbleAssertionHandler' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
165 | message: FailureMessage(stringValue: message),
166 | location: sourceLocation)
/host/spi-builder-workspace/Sources/Nimble/Adapters/AdapterProtocols.swift:13:12: note: var declared here
11 | ///
12 | /// @see AssertionHandler
13 | public var NimbleAssertionHandler: AssertionHandler = { () -> AssertionHandler in
| `- note: var declared here
14 | // swiftlint:disable:previous identifier_name
15 | if isSwiftTestingAvailable() || isXCTestAvailable() {
/host/spi-builder-workspace/Sources/NimbleSharedTestHelpers/utils.swift:220:9: warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
218 | DispatchQueue.main.async {
219 | Thread.sleep(forTimeInterval: 0.01)
220 | action()
| |- warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'action' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
221 | }
222 | }
Build complete! (31.17s)
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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.