Build Information
Successful build of Emitter with Swift 6.0 for Linux.
Swift 6 data race errors: 4
Build Command
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" 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 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/GoodHatsLLC/Emitter.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/GoodHatsLLC/Emitter
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 5480d5b fix swift 5.9 and documentation build warnings
Cloned https://github.com/GoodHatsLLC/Emitter.git
Revision (git rev-parse @):
5480d5b6f1ad63371e91a39f499e5795dc6b6615
SUCCESS checkout https://github.com/GoodHatsLLC/Emitter.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/GoodHatsLLC/Emitter.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" 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 2>&1
Fetching https://github.com/GoodHatsLLC/Disposable.git
[1/274] Fetching disposable
Fetched https://github.com/GoodHatsLLC/Disposable.git from cache (0.21s)
Computing version for https://github.com/GoodHatsLLC/Disposable.git
Computed https://github.com/GoodHatsLLC/Disposable.git at 1.0.0 (0.41s)
Creating working copy for https://github.com/GoodHatsLLC/Disposable.git
Working copy of https://github.com/GoodHatsLLC/Disposable.git resolved at 1.0.0
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/13] Compiling Disposable AutoDisposable.swift
[5/13] Compiling Disposable CombineExtensions.swift
[6/13] Emitting module Disposable
[7/13] Compiling Disposable TaskExtensions.swift
[8/13] Compiling Disposable ConvenienceStages.swift
[9/14] Compiling Disposable DisposableBuilder.swift
[10/14] Compiling Disposable Disposable.swift
[11/14] Compiling Disposable DisposableStage.swift
[12/14] Compiling Disposable ErasedDisposable.swift
[13/14] Compiling Disposable Locked.swift
[14/14] Compiling Disposable Task.swift
[16/58] Compiling Emitter AsyncToEmitterBridge.swift
/host/spi-builder-workspace/Sources/Emitter/Bridging/SequenceToEmitterBridge.swift:4:16: warning: capture of 'sequence' with non-sendable type 'Seq' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1 | extension Emitters {
2 | public static func bridge<Seq: Sequence>(_ sequence: Seq) -> some Emitter<Seq.Element, Never> {
| `- note: consider making generic parameter 'Seq' conform to the 'Sendable' protocol
3 | Emitters.create(Emission<Seq.Element, Never>.self) { emit in
4 | for i in sequence {
| `- warning: capture of 'sequence' with non-sendable type 'Seq' in a `@Sendable` closure; this is an error in the Swift 6 language mode
5 | emit(.value(i))
6 | }
/host/spi-builder-workspace/Sources/Emitter/Erasure/AnyEmitter.swift:8:28: warning: capture of 'emitter' with non-sendable type 'some Emitter<Output, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
5 | public struct AnyEmitter<Output, Failure: Error>: Emitter {
6 |
7 | fileprivate init(_ emitter: some Emitter<Output, Failure>) {
| `- note: consider making generic parameter 'some Emitter<Output, Failure>' conform to the 'Sendable' protocol
8 | self.subscribeFunc = { emitter.subscribe($0) }
| `- warning: capture of 'emitter' with non-sendable type 'some Emitter<Output, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 | }
10 |
[17/58] Compiling Emitter CombineToEmitterBridge.swift
/host/spi-builder-workspace/Sources/Emitter/Bridging/SequenceToEmitterBridge.swift:4:16: warning: capture of 'sequence' with non-sendable type 'Seq' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1 | extension Emitters {
2 | public static func bridge<Seq: Sequence>(_ sequence: Seq) -> some Emitter<Seq.Element, Never> {
| `- note: consider making generic parameter 'Seq' conform to the 'Sendable' protocol
3 | Emitters.create(Emission<Seq.Element, Never>.self) { emit in
4 | for i in sequence {
| `- warning: capture of 'sequence' with non-sendable type 'Seq' in a `@Sendable` closure; this is an error in the Swift 6 language mode
5 | emit(.value(i))
6 | }
/host/spi-builder-workspace/Sources/Emitter/Erasure/AnyEmitter.swift:8:28: warning: capture of 'emitter' with non-sendable type 'some Emitter<Output, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
5 | public struct AnyEmitter<Output, Failure: Error>: Emitter {
6 |
7 | fileprivate init(_ emitter: some Emitter<Output, Failure>) {
| `- note: consider making generic parameter 'some Emitter<Output, Failure>' conform to the 'Sendable' protocol
8 | self.subscribeFunc = { emitter.subscribe($0) }
| `- warning: capture of 'emitter' with non-sendable type 'some Emitter<Output, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 | }
10 |
[18/58] Compiling Emitter EmitterToAsyncBridge.swift
/host/spi-builder-workspace/Sources/Emitter/Bridging/SequenceToEmitterBridge.swift:4:16: warning: capture of 'sequence' with non-sendable type 'Seq' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1 | extension Emitters {
2 | public static func bridge<Seq: Sequence>(_ sequence: Seq) -> some Emitter<Seq.Element, Never> {
| `- note: consider making generic parameter 'Seq' conform to the 'Sendable' protocol
3 | Emitters.create(Emission<Seq.Element, Never>.self) { emit in
4 | for i in sequence {
| `- warning: capture of 'sequence' with non-sendable type 'Seq' in a `@Sendable` closure; this is an error in the Swift 6 language mode
5 | emit(.value(i))
6 | }
/host/spi-builder-workspace/Sources/Emitter/Erasure/AnyEmitter.swift:8:28: warning: capture of 'emitter' with non-sendable type 'some Emitter<Output, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
5 | public struct AnyEmitter<Output, Failure: Error>: Emitter {
6 |
7 | fileprivate init(_ emitter: some Emitter<Output, Failure>) {
| `- note: consider making generic parameter 'some Emitter<Output, Failure>' conform to the 'Sendable' protocol
8 | self.subscribeFunc = { emitter.subscribe($0) }
| `- warning: capture of 'emitter' with non-sendable type 'some Emitter<Output, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 | }
10 |
[19/58] Compiling Emitter EmitterToCombineBridge.swift
/host/spi-builder-workspace/Sources/Emitter/Bridging/SequenceToEmitterBridge.swift:4:16: warning: capture of 'sequence' with non-sendable type 'Seq' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1 | extension Emitters {
2 | public static func bridge<Seq: Sequence>(_ sequence: Seq) -> some Emitter<Seq.Element, Never> {
| `- note: consider making generic parameter 'Seq' conform to the 'Sendable' protocol
3 | Emitters.create(Emission<Seq.Element, Never>.self) { emit in
4 | for i in sequence {
| `- warning: capture of 'sequence' with non-sendable type 'Seq' in a `@Sendable` closure; this is an error in the Swift 6 language mode
5 | emit(.value(i))
6 | }
/host/spi-builder-workspace/Sources/Emitter/Erasure/AnyEmitter.swift:8:28: warning: capture of 'emitter' with non-sendable type 'some Emitter<Output, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
5 | public struct AnyEmitter<Output, Failure: Error>: Emitter {
6 |
7 | fileprivate init(_ emitter: some Emitter<Output, Failure>) {
| `- note: consider making generic parameter 'some Emitter<Output, Failure>' conform to the 'Sendable' protocol
8 | self.subscribeFunc = { emitter.subscribe($0) }
| `- warning: capture of 'emitter' with non-sendable type 'some Emitter<Output, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 | }
10 |
[20/58] Compiling Emitter SequenceToEmitterBridge.swift
/host/spi-builder-workspace/Sources/Emitter/Bridging/SequenceToEmitterBridge.swift:4:16: warning: capture of 'sequence' with non-sendable type 'Seq' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1 | extension Emitters {
2 | public static func bridge<Seq: Sequence>(_ sequence: Seq) -> some Emitter<Seq.Element, Never> {
| `- note: consider making generic parameter 'Seq' conform to the 'Sendable' protocol
3 | Emitters.create(Emission<Seq.Element, Never>.self) { emit in
4 | for i in sequence {
| `- warning: capture of 'sequence' with non-sendable type 'Seq' in a `@Sendable` closure; this is an error in the Swift 6 language mode
5 | emit(.value(i))
6 | }
/host/spi-builder-workspace/Sources/Emitter/Erasure/AnyEmitter.swift:8:28: warning: capture of 'emitter' with non-sendable type 'some Emitter<Output, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
5 | public struct AnyEmitter<Output, Failure: Error>: Emitter {
6 |
7 | fileprivate init(_ emitter: some Emitter<Output, Failure>) {
| `- note: consider making generic parameter 'some Emitter<Output, Failure>' conform to the 'Sendable' protocol
8 | self.subscribeFunc = { emitter.subscribe($0) }
| `- warning: capture of 'emitter' with non-sendable type 'some Emitter<Output, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 | }
10 |
[21/58] Compiling Emitter AnyEmitter.swift
/host/spi-builder-workspace/Sources/Emitter/Bridging/SequenceToEmitterBridge.swift:4:16: warning: capture of 'sequence' with non-sendable type 'Seq' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1 | extension Emitters {
2 | public static func bridge<Seq: Sequence>(_ sequence: Seq) -> some Emitter<Seq.Element, Never> {
| `- note: consider making generic parameter 'Seq' conform to the 'Sendable' protocol
3 | Emitters.create(Emission<Seq.Element, Never>.self) { emit in
4 | for i in sequence {
| `- warning: capture of 'sequence' with non-sendable type 'Seq' in a `@Sendable` closure; this is an error in the Swift 6 language mode
5 | emit(.value(i))
6 | }
/host/spi-builder-workspace/Sources/Emitter/Erasure/AnyEmitter.swift:8:28: warning: capture of 'emitter' with non-sendable type 'some Emitter<Output, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
5 | public struct AnyEmitter<Output, Failure: Error>: Emitter {
6 |
7 | fileprivate init(_ emitter: some Emitter<Output, Failure>) {
| `- note: consider making generic parameter 'some Emitter<Output, Failure>' conform to the 'Sendable' protocol
8 | self.subscribeFunc = { emitter.subscribe($0) }
| `- warning: capture of 'emitter' with non-sendable type 'some Emitter<Output, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 | }
10 |
[22/64] Emitting module Emitter
/host/spi-builder-workspace/Sources/Emitter/Operators/Shared.swift:194:17: warning: stored property 'sharedSub' of 'Sendable'-conforming generic struct 'Shared' has non-sendable type 'Locked<Emitters.Shared<Upstream>.SharedSub<Emitters.Shared<Upstream>.Output, Emitters.Shared<Upstream>.Failure>?>' (aka 'Locked<Optional<Emitters.Shared<Upstream>.SharedSub<Upstream.Output, Upstream.Failure>>>'); this is an error in the Swift 6 language mode
54 | // MARK: Private
55 |
56 | private struct SharedSub<Input, Failure: Error>: Subscriber {
| `- note: consider making generic struct 'SharedSub' conform to the 'Sendable' protocol
57 |
58 | // MARK: Lifecycle
:
192 | }
193 |
194 | private let sharedSub = Locked<SharedSub<Output, Failure>?>(nil)
| `- warning: stored property 'sharedSub' of 'Sendable'-conforming generic struct 'Shared' has non-sendable type 'Locked<Emitters.Shared<Upstream>.SharedSub<Emitters.Shared<Upstream>.Output, Emitters.Shared<Upstream>.Failure>?>' (aka 'Locked<Optional<Emitters.Shared<Upstream>.SharedSub<Upstream.Output, Upstream.Failure>>>'); this is an error in the Swift 6 language mode
195 |
196 | private let upstream: Upstream
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:54:22: warning: type 'Upstream.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
52 | // MARK: Internal
53 |
54 | let asyncValue = AsyncValue<Upstream.Output?>()
| `- warning: type 'Upstream.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
55 |
56 | // MARK: Private
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:54:49: warning: type 'Upstream.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
52 | // MARK: Internal
53 |
54 | let asyncValue = AsyncValue<Upstream.Output?>()
| `- warning: type 'Upstream.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
55 |
56 | // MARK: Private
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:54:49: warning: non-sendable type 'AsyncValue<Upstream.Output?>' returned by implicitly asynchronous call to actor-isolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
52 | // MARK: Internal
53 |
54 | let asyncValue = AsyncValue<Upstream.Output?>()
| `- warning: non-sendable type 'AsyncValue<Upstream.Output?>' returned by implicitly asynchronous call to actor-isolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
55 |
56 | // MARK: Private
[23/64] Compiling Emitter UnionTwo.swift
[24/64] Compiling Emitter WithFailureType.swift
[25/64] Compiling Emitter WithPrefix.swift
[26/64] Compiling Emitter WithSuffix.swift
[27/64] Compiling Emitter Create.swift
[28/64] Compiling Emitter FailureEmitter.swift
[29/64] Compiling Emitter Subscribe.swift
/host/spi-builder-workspace/Sources/Emitter/Subscribers/SubscribeMain.swift:39:14: warning: capture of 'emission' with non-sendable type 'Emission<Output, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | // MARK: - SubscribeMain
24 |
25 | private struct SubscribeMain<Output, Failure: Error>: Subscriber {
| `- note: consider making generic parameter 'Output' conform to the 'Sendable' protocol
26 |
27 | fileprivate init(
:
37 | fileprivate func receive(emission: Emission<Output, Failure>) {
38 | Task { @MainActor in
39 | switch emission {
| `- warning: capture of 'emission' with non-sendable type 'Emission<Output, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
40 | case .value(let value):
41 | valueFunc(value)
/host/spi-builder-workspace/Sources/Emitter/Subscribers/SubscribeMain.swift:41:9: warning: capture of 'self' with non-sendable type 'SubscribeMain<Output, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | // MARK: - SubscribeMain
24 |
25 | private struct SubscribeMain<Output, Failure: Error>: Subscriber {
| `- note: consider making generic struct 'SubscribeMain' conform to the 'Sendable' protocol
26 |
27 | fileprivate init(
:
39 | switch emission {
40 | case .value(let value):
41 | valueFunc(value)
| `- warning: capture of 'self' with non-sendable type 'SubscribeMain<Output, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
42 | case .failed(let error):
43 | failedFunc?(error)
/host/spi-builder-workspace/Sources/Emitter/Subscribers/Subscription.swift:12:45: warning: capture of 'subscriber' with non-sendable type 'Sub' in a `@Sendable` closure; this is an error in the Swift 6 language mode
7 | // MARK: Lifecycle
8 |
9 | init<Sub: Subscriber>(
| `- note: consider making generic parameter 'Sub' conform to the 'Sendable' protocol
10 | subscriber: Sub
11 | ) where Output == Sub.Input, Failure == Sub.Failure {
12 | self.subscriberReceiver = { emission in subscriber.receive(emission: emission) }
| `- warning: capture of 'subscriber' with non-sendable type 'Sub' in a `@Sendable` closure; this is an error in the Swift 6 language mode
13 | }
14 |
/host/spi-builder-workspace/Sources/Emitter/Subscribers/SubscribeMain.swift:41:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
39 | switch emission {
40 | case .value(let value):
41 | valueFunc(value)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
42 | case .failed(let error):
43 | failedFunc?(error)
/host/spi-builder-workspace/Sources/Emitter/Subscribers/SubscribeMain.swift:38:10: warning: task or actor isolated value cannot be sent; this is an error in the Swift 6 language mode
36 |
37 | fileprivate func receive(emission: Emission<Output, Failure>) {
38 | Task { @MainActor in
| `- warning: task or actor isolated value cannot be sent; this is an error in the Swift 6 language mode
39 | switch emission {
40 | case .value(let value):
/host/spi-builder-workspace/Sources/Emitter/Utilities/AsyncValue.swift:26:22: warning: sending 'self'-isolated value of type '(CheckedContinuation<T, Never>) -> Void' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
24 | return _value
25 | } else {
26 | return await withCheckedContinuation { continuation in
| `- warning: sending 'self'-isolated value of type '(CheckedContinuation<T, Never>) -> Void' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
27 | if let _value {
28 | // Actors allow re-entrance.
[30/64] Compiling Emitter SubscribeMain.swift
/host/spi-builder-workspace/Sources/Emitter/Subscribers/SubscribeMain.swift:39:14: warning: capture of 'emission' with non-sendable type 'Emission<Output, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | // MARK: - SubscribeMain
24 |
25 | private struct SubscribeMain<Output, Failure: Error>: Subscriber {
| `- note: consider making generic parameter 'Output' conform to the 'Sendable' protocol
26 |
27 | fileprivate init(
:
37 | fileprivate func receive(emission: Emission<Output, Failure>) {
38 | Task { @MainActor in
39 | switch emission {
| `- warning: capture of 'emission' with non-sendable type 'Emission<Output, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
40 | case .value(let value):
41 | valueFunc(value)
/host/spi-builder-workspace/Sources/Emitter/Subscribers/SubscribeMain.swift:41:9: warning: capture of 'self' with non-sendable type 'SubscribeMain<Output, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | // MARK: - SubscribeMain
24 |
25 | private struct SubscribeMain<Output, Failure: Error>: Subscriber {
| `- note: consider making generic struct 'SubscribeMain' conform to the 'Sendable' protocol
26 |
27 | fileprivate init(
:
39 | switch emission {
40 | case .value(let value):
41 | valueFunc(value)
| `- warning: capture of 'self' with non-sendable type 'SubscribeMain<Output, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
42 | case .failed(let error):
43 | failedFunc?(error)
/host/spi-builder-workspace/Sources/Emitter/Subscribers/Subscription.swift:12:45: warning: capture of 'subscriber' with non-sendable type 'Sub' in a `@Sendable` closure; this is an error in the Swift 6 language mode
7 | // MARK: Lifecycle
8 |
9 | init<Sub: Subscriber>(
| `- note: consider making generic parameter 'Sub' conform to the 'Sendable' protocol
10 | subscriber: Sub
11 | ) where Output == Sub.Input, Failure == Sub.Failure {
12 | self.subscriberReceiver = { emission in subscriber.receive(emission: emission) }
| `- warning: capture of 'subscriber' with non-sendable type 'Sub' in a `@Sendable` closure; this is an error in the Swift 6 language mode
13 | }
14 |
/host/spi-builder-workspace/Sources/Emitter/Subscribers/SubscribeMain.swift:41:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
39 | switch emission {
40 | case .value(let value):
41 | valueFunc(value)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
42 | case .failed(let error):
43 | failedFunc?(error)
/host/spi-builder-workspace/Sources/Emitter/Subscribers/SubscribeMain.swift:38:10: warning: task or actor isolated value cannot be sent; this is an error in the Swift 6 language mode
36 |
37 | fileprivate func receive(emission: Emission<Output, Failure>) {
38 | Task { @MainActor in
| `- warning: task or actor isolated value cannot be sent; this is an error in the Swift 6 language mode
39 | switch emission {
40 | case .value(let value):
/host/spi-builder-workspace/Sources/Emitter/Utilities/AsyncValue.swift:26:22: warning: sending 'self'-isolated value of type '(CheckedContinuation<T, Never>) -> Void' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
24 | return _value
25 | } else {
26 | return await withCheckedContinuation { continuation in
| `- warning: sending 'self'-isolated value of type '(CheckedContinuation<T, Never>) -> Void' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
27 | if let _value {
28 | // Actors allow re-entrance.
[31/64] Compiling Emitter Subscription.swift
/host/spi-builder-workspace/Sources/Emitter/Subscribers/SubscribeMain.swift:39:14: warning: capture of 'emission' with non-sendable type 'Emission<Output, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | // MARK: - SubscribeMain
24 |
25 | private struct SubscribeMain<Output, Failure: Error>: Subscriber {
| `- note: consider making generic parameter 'Output' conform to the 'Sendable' protocol
26 |
27 | fileprivate init(
:
37 | fileprivate func receive(emission: Emission<Output, Failure>) {
38 | Task { @MainActor in
39 | switch emission {
| `- warning: capture of 'emission' with non-sendable type 'Emission<Output, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
40 | case .value(let value):
41 | valueFunc(value)
/host/spi-builder-workspace/Sources/Emitter/Subscribers/SubscribeMain.swift:41:9: warning: capture of 'self' with non-sendable type 'SubscribeMain<Output, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | // MARK: - SubscribeMain
24 |
25 | private struct SubscribeMain<Output, Failure: Error>: Subscriber {
| `- note: consider making generic struct 'SubscribeMain' conform to the 'Sendable' protocol
26 |
27 | fileprivate init(
:
39 | switch emission {
40 | case .value(let value):
41 | valueFunc(value)
| `- warning: capture of 'self' with non-sendable type 'SubscribeMain<Output, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
42 | case .failed(let error):
43 | failedFunc?(error)
/host/spi-builder-workspace/Sources/Emitter/Subscribers/Subscription.swift:12:45: warning: capture of 'subscriber' with non-sendable type 'Sub' in a `@Sendable` closure; this is an error in the Swift 6 language mode
7 | // MARK: Lifecycle
8 |
9 | init<Sub: Subscriber>(
| `- note: consider making generic parameter 'Sub' conform to the 'Sendable' protocol
10 | subscriber: Sub
11 | ) where Output == Sub.Input, Failure == Sub.Failure {
12 | self.subscriberReceiver = { emission in subscriber.receive(emission: emission) }
| `- warning: capture of 'subscriber' with non-sendable type 'Sub' in a `@Sendable` closure; this is an error in the Swift 6 language mode
13 | }
14 |
/host/spi-builder-workspace/Sources/Emitter/Subscribers/SubscribeMain.swift:41:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
39 | switch emission {
40 | case .value(let value):
41 | valueFunc(value)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
42 | case .failed(let error):
43 | failedFunc?(error)
/host/spi-builder-workspace/Sources/Emitter/Subscribers/SubscribeMain.swift:38:10: warning: task or actor isolated value cannot be sent; this is an error in the Swift 6 language mode
36 |
37 | fileprivate func receive(emission: Emission<Output, Failure>) {
38 | Task { @MainActor in
| `- warning: task or actor isolated value cannot be sent; this is an error in the Swift 6 language mode
39 | switch emission {
40 | case .value(let value):
/host/spi-builder-workspace/Sources/Emitter/Utilities/AsyncValue.swift:26:22: warning: sending 'self'-isolated value of type '(CheckedContinuation<T, Never>) -> Void' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
24 | return _value
25 | } else {
26 | return await withCheckedContinuation { continuation in
| `- warning: sending 'self'-isolated value of type '(CheckedContinuation<T, Never>) -> Void' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
27 | if let _value {
28 | // Actors allow re-entrance.
[32/64] Compiling Emitter TransformProxy.swift
/host/spi-builder-workspace/Sources/Emitter/Subscribers/SubscribeMain.swift:39:14: warning: capture of 'emission' with non-sendable type 'Emission<Output, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | // MARK: - SubscribeMain
24 |
25 | private struct SubscribeMain<Output, Failure: Error>: Subscriber {
| `- note: consider making generic parameter 'Output' conform to the 'Sendable' protocol
26 |
27 | fileprivate init(
:
37 | fileprivate func receive(emission: Emission<Output, Failure>) {
38 | Task { @MainActor in
39 | switch emission {
| `- warning: capture of 'emission' with non-sendable type 'Emission<Output, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
40 | case .value(let value):
41 | valueFunc(value)
/host/spi-builder-workspace/Sources/Emitter/Subscribers/SubscribeMain.swift:41:9: warning: capture of 'self' with non-sendable type 'SubscribeMain<Output, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | // MARK: - SubscribeMain
24 |
25 | private struct SubscribeMain<Output, Failure: Error>: Subscriber {
| `- note: consider making generic struct 'SubscribeMain' conform to the 'Sendable' protocol
26 |
27 | fileprivate init(
:
39 | switch emission {
40 | case .value(let value):
41 | valueFunc(value)
| `- warning: capture of 'self' with non-sendable type 'SubscribeMain<Output, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
42 | case .failed(let error):
43 | failedFunc?(error)
/host/spi-builder-workspace/Sources/Emitter/Subscribers/Subscription.swift:12:45: warning: capture of 'subscriber' with non-sendable type 'Sub' in a `@Sendable` closure; this is an error in the Swift 6 language mode
7 | // MARK: Lifecycle
8 |
9 | init<Sub: Subscriber>(
| `- note: consider making generic parameter 'Sub' conform to the 'Sendable' protocol
10 | subscriber: Sub
11 | ) where Output == Sub.Input, Failure == Sub.Failure {
12 | self.subscriberReceiver = { emission in subscriber.receive(emission: emission) }
| `- warning: capture of 'subscriber' with non-sendable type 'Sub' in a `@Sendable` closure; this is an error in the Swift 6 language mode
13 | }
14 |
/host/spi-builder-workspace/Sources/Emitter/Subscribers/SubscribeMain.swift:41:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
39 | switch emission {
40 | case .value(let value):
41 | valueFunc(value)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
42 | case .failed(let error):
43 | failedFunc?(error)
/host/spi-builder-workspace/Sources/Emitter/Subscribers/SubscribeMain.swift:38:10: warning: task or actor isolated value cannot be sent; this is an error in the Swift 6 language mode
36 |
37 | fileprivate func receive(emission: Emission<Output, Failure>) {
38 | Task { @MainActor in
| `- warning: task or actor isolated value cannot be sent; this is an error in the Swift 6 language mode
39 | switch emission {
40 | case .value(let value):
/host/spi-builder-workspace/Sources/Emitter/Utilities/AsyncValue.swift:26:22: warning: sending 'self'-isolated value of type '(CheckedContinuation<T, Never>) -> Void' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
24 | return _value
25 | } else {
26 | return await withCheckedContinuation { continuation in
| `- warning: sending 'self'-isolated value of type '(CheckedContinuation<T, Never>) -> Void' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
27 | if let _value {
28 | // Actors allow re-entrance.
[33/64] Compiling Emitter AsyncValue.swift
/host/spi-builder-workspace/Sources/Emitter/Subscribers/SubscribeMain.swift:39:14: warning: capture of 'emission' with non-sendable type 'Emission<Output, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | // MARK: - SubscribeMain
24 |
25 | private struct SubscribeMain<Output, Failure: Error>: Subscriber {
| `- note: consider making generic parameter 'Output' conform to the 'Sendable' protocol
26 |
27 | fileprivate init(
:
37 | fileprivate func receive(emission: Emission<Output, Failure>) {
38 | Task { @MainActor in
39 | switch emission {
| `- warning: capture of 'emission' with non-sendable type 'Emission<Output, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
40 | case .value(let value):
41 | valueFunc(value)
/host/spi-builder-workspace/Sources/Emitter/Subscribers/SubscribeMain.swift:41:9: warning: capture of 'self' with non-sendable type 'SubscribeMain<Output, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | // MARK: - SubscribeMain
24 |
25 | private struct SubscribeMain<Output, Failure: Error>: Subscriber {
| `- note: consider making generic struct 'SubscribeMain' conform to the 'Sendable' protocol
26 |
27 | fileprivate init(
:
39 | switch emission {
40 | case .value(let value):
41 | valueFunc(value)
| `- warning: capture of 'self' with non-sendable type 'SubscribeMain<Output, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
42 | case .failed(let error):
43 | failedFunc?(error)
/host/spi-builder-workspace/Sources/Emitter/Subscribers/Subscription.swift:12:45: warning: capture of 'subscriber' with non-sendable type 'Sub' in a `@Sendable` closure; this is an error in the Swift 6 language mode
7 | // MARK: Lifecycle
8 |
9 | init<Sub: Subscriber>(
| `- note: consider making generic parameter 'Sub' conform to the 'Sendable' protocol
10 | subscriber: Sub
11 | ) where Output == Sub.Input, Failure == Sub.Failure {
12 | self.subscriberReceiver = { emission in subscriber.receive(emission: emission) }
| `- warning: capture of 'subscriber' with non-sendable type 'Sub' in a `@Sendable` closure; this is an error in the Swift 6 language mode
13 | }
14 |
/host/spi-builder-workspace/Sources/Emitter/Subscribers/SubscribeMain.swift:41:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
39 | switch emission {
40 | case .value(let value):
41 | valueFunc(value)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
42 | case .failed(let error):
43 | failedFunc?(error)
/host/spi-builder-workspace/Sources/Emitter/Subscribers/SubscribeMain.swift:38:10: warning: task or actor isolated value cannot be sent; this is an error in the Swift 6 language mode
36 |
37 | fileprivate func receive(emission: Emission<Output, Failure>) {
38 | Task { @MainActor in
| `- warning: task or actor isolated value cannot be sent; this is an error in the Swift 6 language mode
39 | switch emission {
40 | case .value(let value):
/host/spi-builder-workspace/Sources/Emitter/Utilities/AsyncValue.swift:26:22: warning: sending 'self'-isolated value of type '(CheckedContinuation<T, Never>) -> Void' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
24 | return _value
25 | } else {
26 | return await withCheckedContinuation { continuation in
| `- warning: sending 'self'-isolated value of type '(CheckedContinuation<T, Never>) -> Void' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
27 | if let _value {
28 | // Actors allow re-entrance.
[34/64] Compiling Emitter Locked.swift
/host/spi-builder-workspace/Sources/Emitter/Subscribers/SubscribeMain.swift:39:14: warning: capture of 'emission' with non-sendable type 'Emission<Output, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | // MARK: - SubscribeMain
24 |
25 | private struct SubscribeMain<Output, Failure: Error>: Subscriber {
| `- note: consider making generic parameter 'Output' conform to the 'Sendable' protocol
26 |
27 | fileprivate init(
:
37 | fileprivate func receive(emission: Emission<Output, Failure>) {
38 | Task { @MainActor in
39 | switch emission {
| `- warning: capture of 'emission' with non-sendable type 'Emission<Output, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
40 | case .value(let value):
41 | valueFunc(value)
/host/spi-builder-workspace/Sources/Emitter/Subscribers/SubscribeMain.swift:41:9: warning: capture of 'self' with non-sendable type 'SubscribeMain<Output, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | // MARK: - SubscribeMain
24 |
25 | private struct SubscribeMain<Output, Failure: Error>: Subscriber {
| `- note: consider making generic struct 'SubscribeMain' conform to the 'Sendable' protocol
26 |
27 | fileprivate init(
:
39 | switch emission {
40 | case .value(let value):
41 | valueFunc(value)
| `- warning: capture of 'self' with non-sendable type 'SubscribeMain<Output, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
42 | case .failed(let error):
43 | failedFunc?(error)
/host/spi-builder-workspace/Sources/Emitter/Subscribers/Subscription.swift:12:45: warning: capture of 'subscriber' with non-sendable type 'Sub' in a `@Sendable` closure; this is an error in the Swift 6 language mode
7 | // MARK: Lifecycle
8 |
9 | init<Sub: Subscriber>(
| `- note: consider making generic parameter 'Sub' conform to the 'Sendable' protocol
10 | subscriber: Sub
11 | ) where Output == Sub.Input, Failure == Sub.Failure {
12 | self.subscriberReceiver = { emission in subscriber.receive(emission: emission) }
| `- warning: capture of 'subscriber' with non-sendable type 'Sub' in a `@Sendable` closure; this is an error in the Swift 6 language mode
13 | }
14 |
/host/spi-builder-workspace/Sources/Emitter/Subscribers/SubscribeMain.swift:41:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
39 | switch emission {
40 | case .value(let value):
41 | valueFunc(value)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
42 | case .failed(let error):
43 | failedFunc?(error)
/host/spi-builder-workspace/Sources/Emitter/Subscribers/SubscribeMain.swift:38:10: warning: task or actor isolated value cannot be sent; this is an error in the Swift 6 language mode
36 |
37 | fileprivate func receive(emission: Emission<Output, Failure>) {
38 | Task { @MainActor in
| `- warning: task or actor isolated value cannot be sent; this is an error in the Swift 6 language mode
39 | switch emission {
40 | case .value(let value):
/host/spi-builder-workspace/Sources/Emitter/Utilities/AsyncValue.swift:26:22: warning: sending 'self'-isolated value of type '(CheckedContinuation<T, Never>) -> Void' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
24 | return _value
25 | } else {
26 | return await withCheckedContinuation { continuation in
| `- warning: sending 'self'-isolated value of type '(CheckedContinuation<T, Never>) -> Void' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
27 | if let _value {
28 | // Actors allow re-entrance.
[35/64] Compiling Emitter Export.swift
/host/spi-builder-workspace/Sources/Emitter/Interface/Subscriber.swift:24:7: warning: capture of 'subscriber' with non-sendable type 'some Subscriber<Input, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 | }
21 |
22 | init(_ subscriber: some Subscriber<Input, Failure>) {
| `- note: consider making generic parameter 'some Subscriber<Input, Failure>' conform to the 'Sendable' protocol
23 | self.receiveFunc = {
24 | subscriber.receive(emission: $0)
| `- warning: capture of 'subscriber' with non-sendable type 'some Subscriber<Input, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
25 | }
26 | }
[36/64] Compiling Emitter Emission.swift
/host/spi-builder-workspace/Sources/Emitter/Interface/Subscriber.swift:24:7: warning: capture of 'subscriber' with non-sendable type 'some Subscriber<Input, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 | }
21 |
22 | init(_ subscriber: some Subscriber<Input, Failure>) {
| `- note: consider making generic parameter 'some Subscriber<Input, Failure>' conform to the 'Sendable' protocol
23 | self.receiveFunc = {
24 | subscriber.receive(emission: $0)
| `- warning: capture of 'subscriber' with non-sendable type 'some Subscriber<Input, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
25 | }
26 | }
[37/64] Compiling Emitter Emitter.swift
/host/spi-builder-workspace/Sources/Emitter/Interface/Subscriber.swift:24:7: warning: capture of 'subscriber' with non-sendable type 'some Subscriber<Input, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 | }
21 |
22 | init(_ subscriber: some Subscriber<Input, Failure>) {
| `- note: consider making generic parameter 'some Subscriber<Input, Failure>' conform to the 'Sendable' protocol
23 | self.receiveFunc = {
24 | subscriber.receive(emission: $0)
| `- warning: capture of 'subscriber' with non-sendable type 'some Subscriber<Input, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
25 | }
26 | }
[38/64] Compiling Emitter Subject.swift
/host/spi-builder-workspace/Sources/Emitter/Interface/Subscriber.swift:24:7: warning: capture of 'subscriber' with non-sendable type 'some Subscriber<Input, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 | }
21 |
22 | init(_ subscriber: some Subscriber<Input, Failure>) {
| `- note: consider making generic parameter 'some Subscriber<Input, Failure>' conform to the 'Sendable' protocol
23 | self.receiveFunc = {
24 | subscriber.receive(emission: $0)
| `- warning: capture of 'subscriber' with non-sendable type 'some Subscriber<Input, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
25 | }
26 | }
[39/64] Compiling Emitter Subscriber.swift
/host/spi-builder-workspace/Sources/Emitter/Interface/Subscriber.swift:24:7: warning: capture of 'subscriber' with non-sendable type 'some Subscriber<Input, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 | }
21 |
22 | init(_ subscriber: some Subscriber<Input, Failure>) {
| `- note: consider making generic parameter 'some Subscriber<Input, Failure>' conform to the 'Sendable' protocol
23 | self.receiveFunc = {
24 | subscriber.receive(emission: $0)
| `- warning: capture of 'subscriber' with non-sendable type 'some Subscriber<Input, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
25 | }
26 | }
[40/64] Compiling Emitter Tuple.swift
/host/spi-builder-workspace/Sources/Emitter/Interface/Subscriber.swift:24:7: warning: capture of 'subscriber' with non-sendable type 'some Subscriber<Input, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 | }
21 |
22 | init(_ subscriber: some Subscriber<Input, Failure>) {
| `- note: consider making generic parameter 'some Subscriber<Input, Failure>' conform to the 'Sendable' protocol
23 | self.receiveFunc = {
24 | subscriber.receive(emission: $0)
| `- warning: capture of 'subscriber' with non-sendable type 'some Subscriber<Input, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
25 | }
26 | }
[41/64] Compiling Emitter JustEmitter.swift
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:54:22: warning: type 'Upstream.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
52 | // MARK: Internal
53 |
54 | let asyncValue = AsyncValue<Upstream.Output?>()
| `- warning: type 'Upstream.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
55 |
56 | // MARK: Private
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:54:49: warning: type 'Upstream.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
52 | // MARK: Internal
53 |
54 | let asyncValue = AsyncValue<Upstream.Output?>()
| `- warning: type 'Upstream.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
55 |
56 | // MARK: Private
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:54:49: warning: non-sendable type 'AsyncValue<Upstream.Output?>' returned by implicitly asynchronous call to actor-isolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
52 | // MARK: Internal
53 |
54 | let asyncValue = AsyncValue<Upstream.Output?>()
| `- warning: non-sendable type 'AsyncValue<Upstream.Output?>' returned by implicitly asynchronous call to actor-isolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
55 |
56 | // MARK: Private
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:7:35: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
5 | get async {
6 | let sub = Emitters.FirstValue(upstream: self)
7 | return await sub.asyncValue.value
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
8 | }
9 | }
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:7:20: warning: non-sendable type 'AsyncValue<Self.Output?>' passed in call to actor-isolated property 'value' cannot cross actor boundary; this is an error in the Swift 6 language mode
5 | get async {
6 | let sub = Emitters.FirstValue(upstream: self)
7 | return await sub.asyncValue.value
| `- warning: non-sendable type 'AsyncValue<Self.Output?>' passed in call to actor-isolated property 'value' cannot cross actor boundary; this is an error in the Swift 6 language mode
8 | }
9 | }
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:7:35: warning: non-sendable type 'Self.Output?' in asynchronous access to actor-isolated property 'value' cannot cross actor boundary; this is an error in the Swift 6 language mode
5 | get async {
6 | let sub = Emitters.FirstValue(upstream: self)
7 | return await sub.asyncValue.value
| `- warning: non-sendable type 'Self.Output?' in asynchronous access to actor-isolated property 'value' cannot cross actor boundary; this is an error in the Swift 6 language mode
8 | }
9 | }
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:43:30: warning: type 'Upstream.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
41 | switch emission {
42 | case .value(let value):
43 | await asyncValue.resolve(to: value)
| `- warning: type 'Upstream.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
44 | default:
45 | await asyncValue.resolve(to: nil)
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:45:30: warning: type 'Upstream.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
43 | await asyncValue.resolve(to: value)
44 | default:
45 | await asyncValue.resolve(to: nil)
| `- warning: type 'Upstream.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
46 | }
47 | }
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:41:18: warning: capture of 'emission' with non-sendable type 'Emission<Upstream.Output, Upstream.Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
39 | if wasFirst {
40 | Task.detached {
41 | switch emission {
| `- warning: capture of 'emission' with non-sendable type 'Emission<Upstream.Output, Upstream.Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
42 | case .value(let value):
43 | await asyncValue.resolve(to: value)
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:43:19: warning: capture of 'self' with non-sendable type 'Emitters.FirstValue<Upstream>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
14 | extension Emitters {
15 |
16 | public struct FirstValue<Upstream: Emitter>: Subscriber {
| `- note: consider making generic struct 'FirstValue' conform to the 'Sendable' protocol
17 |
18 | // MARK: Lifecycle
:
41 | switch emission {
42 | case .value(let value):
43 | await asyncValue.resolve(to: value)
| `- warning: capture of 'self' with non-sendable type 'Emitters.FirstValue<Upstream>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
44 | default:
45 | await asyncValue.resolve(to: nil)
[42/64] Compiling Emitter NeverEmitter.swift
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:54:22: warning: type 'Upstream.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
52 | // MARK: Internal
53 |
54 | let asyncValue = AsyncValue<Upstream.Output?>()
| `- warning: type 'Upstream.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
55 |
56 | // MARK: Private
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:54:49: warning: type 'Upstream.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
52 | // MARK: Internal
53 |
54 | let asyncValue = AsyncValue<Upstream.Output?>()
| `- warning: type 'Upstream.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
55 |
56 | // MARK: Private
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:54:49: warning: non-sendable type 'AsyncValue<Upstream.Output?>' returned by implicitly asynchronous call to actor-isolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
52 | // MARK: Internal
53 |
54 | let asyncValue = AsyncValue<Upstream.Output?>()
| `- warning: non-sendable type 'AsyncValue<Upstream.Output?>' returned by implicitly asynchronous call to actor-isolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
55 |
56 | // MARK: Private
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:7:35: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
5 | get async {
6 | let sub = Emitters.FirstValue(upstream: self)
7 | return await sub.asyncValue.value
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
8 | }
9 | }
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:7:20: warning: non-sendable type 'AsyncValue<Self.Output?>' passed in call to actor-isolated property 'value' cannot cross actor boundary; this is an error in the Swift 6 language mode
5 | get async {
6 | let sub = Emitters.FirstValue(upstream: self)
7 | return await sub.asyncValue.value
| `- warning: non-sendable type 'AsyncValue<Self.Output?>' passed in call to actor-isolated property 'value' cannot cross actor boundary; this is an error in the Swift 6 language mode
8 | }
9 | }
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:7:35: warning: non-sendable type 'Self.Output?' in asynchronous access to actor-isolated property 'value' cannot cross actor boundary; this is an error in the Swift 6 language mode
5 | get async {
6 | let sub = Emitters.FirstValue(upstream: self)
7 | return await sub.asyncValue.value
| `- warning: non-sendable type 'Self.Output?' in asynchronous access to actor-isolated property 'value' cannot cross actor boundary; this is an error in the Swift 6 language mode
8 | }
9 | }
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:43:30: warning: type 'Upstream.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
41 | switch emission {
42 | case .value(let value):
43 | await asyncValue.resolve(to: value)
| `- warning: type 'Upstream.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
44 | default:
45 | await asyncValue.resolve(to: nil)
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:45:30: warning: type 'Upstream.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
43 | await asyncValue.resolve(to: value)
44 | default:
45 | await asyncValue.resolve(to: nil)
| `- warning: type 'Upstream.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
46 | }
47 | }
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:41:18: warning: capture of 'emission' with non-sendable type 'Emission<Upstream.Output, Upstream.Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
39 | if wasFirst {
40 | Task.detached {
41 | switch emission {
| `- warning: capture of 'emission' with non-sendable type 'Emission<Upstream.Output, Upstream.Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
42 | case .value(let value):
43 | await asyncValue.resolve(to: value)
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:43:19: warning: capture of 'self' with non-sendable type 'Emitters.FirstValue<Upstream>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
14 | extension Emitters {
15 |
16 | public struct FirstValue<Upstream: Emitter>: Subscriber {
| `- note: consider making generic struct 'FirstValue' conform to the 'Sendable' protocol
17 |
18 | // MARK: Lifecycle
:
41 | switch emission {
42 | case .value(let value):
43 | await asyncValue.resolve(to: value)
| `- warning: capture of 'self' with non-sendable type 'Emitters.FirstValue<Upstream>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
44 | default:
45 | await asyncValue.resolve(to: nil)
[43/64] Compiling Emitter PublishSubject.swift
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:54:22: warning: type 'Upstream.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
52 | // MARK: Internal
53 |
54 | let asyncValue = AsyncValue<Upstream.Output?>()
| `- warning: type 'Upstream.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
55 |
56 | // MARK: Private
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:54:49: warning: type 'Upstream.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
52 | // MARK: Internal
53 |
54 | let asyncValue = AsyncValue<Upstream.Output?>()
| `- warning: type 'Upstream.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
55 |
56 | // MARK: Private
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:54:49: warning: non-sendable type 'AsyncValue<Upstream.Output?>' returned by implicitly asynchronous call to actor-isolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
52 | // MARK: Internal
53 |
54 | let asyncValue = AsyncValue<Upstream.Output?>()
| `- warning: non-sendable type 'AsyncValue<Upstream.Output?>' returned by implicitly asynchronous call to actor-isolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
55 |
56 | // MARK: Private
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:7:35: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
5 | get async {
6 | let sub = Emitters.FirstValue(upstream: self)
7 | return await sub.asyncValue.value
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
8 | }
9 | }
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:7:20: warning: non-sendable type 'AsyncValue<Self.Output?>' passed in call to actor-isolated property 'value' cannot cross actor boundary; this is an error in the Swift 6 language mode
5 | get async {
6 | let sub = Emitters.FirstValue(upstream: self)
7 | return await sub.asyncValue.value
| `- warning: non-sendable type 'AsyncValue<Self.Output?>' passed in call to actor-isolated property 'value' cannot cross actor boundary; this is an error in the Swift 6 language mode
8 | }
9 | }
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:7:35: warning: non-sendable type 'Self.Output?' in asynchronous access to actor-isolated property 'value' cannot cross actor boundary; this is an error in the Swift 6 language mode
5 | get async {
6 | let sub = Emitters.FirstValue(upstream: self)
7 | return await sub.asyncValue.value
| `- warning: non-sendable type 'Self.Output?' in asynchronous access to actor-isolated property 'value' cannot cross actor boundary; this is an error in the Swift 6 language mode
8 | }
9 | }
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:43:30: warning: type 'Upstream.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
41 | switch emission {
42 | case .value(let value):
43 | await asyncValue.resolve(to: value)
| `- warning: type 'Upstream.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
44 | default:
45 | await asyncValue.resolve(to: nil)
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:45:30: warning: type 'Upstream.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
43 | await asyncValue.resolve(to: value)
44 | default:
45 | await asyncValue.resolve(to: nil)
| `- warning: type 'Upstream.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
46 | }
47 | }
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:41:18: warning: capture of 'emission' with non-sendable type 'Emission<Upstream.Output, Upstream.Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
39 | if wasFirst {
40 | Task.detached {
41 | switch emission {
| `- warning: capture of 'emission' with non-sendable type 'Emission<Upstream.Output, Upstream.Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
42 | case .value(let value):
43 | await asyncValue.resolve(to: value)
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:43:19: warning: capture of 'self' with non-sendable type 'Emitters.FirstValue<Upstream>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
14 | extension Emitters {
15 |
16 | public struct FirstValue<Upstream: Emitter>: Subscriber {
| `- note: consider making generic struct 'FirstValue' conform to the 'Sendable' protocol
17 |
18 | // MARK: Lifecycle
:
41 | switch emission {
42 | case .value(let value):
43 | await asyncValue.resolve(to: value)
| `- warning: capture of 'self' with non-sendable type 'Emitters.FirstValue<Upstream>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
44 | default:
45 | await asyncValue.resolve(to: nil)
[44/64] Compiling Emitter ValueSubject.swift
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:54:22: warning: type 'Upstream.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
52 | // MARK: Internal
53 |
54 | let asyncValue = AsyncValue<Upstream.Output?>()
| `- warning: type 'Upstream.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
55 |
56 | // MARK: Private
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:54:49: warning: type 'Upstream.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
52 | // MARK: Internal
53 |
54 | let asyncValue = AsyncValue<Upstream.Output?>()
| `- warning: type 'Upstream.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
55 |
56 | // MARK: Private
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:54:49: warning: non-sendable type 'AsyncValue<Upstream.Output?>' returned by implicitly asynchronous call to actor-isolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
52 | // MARK: Internal
53 |
54 | let asyncValue = AsyncValue<Upstream.Output?>()
| `- warning: non-sendable type 'AsyncValue<Upstream.Output?>' returned by implicitly asynchronous call to actor-isolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
55 |
56 | // MARK: Private
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:7:35: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
5 | get async {
6 | let sub = Emitters.FirstValue(upstream: self)
7 | return await sub.asyncValue.value
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
8 | }
9 | }
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:7:20: warning: non-sendable type 'AsyncValue<Self.Output?>' passed in call to actor-isolated property 'value' cannot cross actor boundary; this is an error in the Swift 6 language mode
5 | get async {
6 | let sub = Emitters.FirstValue(upstream: self)
7 | return await sub.asyncValue.value
| `- warning: non-sendable type 'AsyncValue<Self.Output?>' passed in call to actor-isolated property 'value' cannot cross actor boundary; this is an error in the Swift 6 language mode
8 | }
9 | }
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:7:35: warning: non-sendable type 'Self.Output?' in asynchronous access to actor-isolated property 'value' cannot cross actor boundary; this is an error in the Swift 6 language mode
5 | get async {
6 | let sub = Emitters.FirstValue(upstream: self)
7 | return await sub.asyncValue.value
| `- warning: non-sendable type 'Self.Output?' in asynchronous access to actor-isolated property 'value' cannot cross actor boundary; this is an error in the Swift 6 language mode
8 | }
9 | }
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:43:30: warning: type 'Upstream.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
41 | switch emission {
42 | case .value(let value):
43 | await asyncValue.resolve(to: value)
| `- warning: type 'Upstream.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
44 | default:
45 | await asyncValue.resolve(to: nil)
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:45:30: warning: type 'Upstream.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
43 | await asyncValue.resolve(to: value)
44 | default:
45 | await asyncValue.resolve(to: nil)
| `- warning: type 'Upstream.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
46 | }
47 | }
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:41:18: warning: capture of 'emission' with non-sendable type 'Emission<Upstream.Output, Upstream.Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
39 | if wasFirst {
40 | Task.detached {
41 | switch emission {
| `- warning: capture of 'emission' with non-sendable type 'Emission<Upstream.Output, Upstream.Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
42 | case .value(let value):
43 | await asyncValue.resolve(to: value)
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:43:19: warning: capture of 'self' with non-sendable type 'Emitters.FirstValue<Upstream>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
14 | extension Emitters {
15 |
16 | public struct FirstValue<Upstream: Emitter>: Subscriber {
| `- note: consider making generic struct 'FirstValue' conform to the 'Sendable' protocol
17 |
18 | // MARK: Lifecycle
:
41 | switch emission {
42 | case .value(let value):
43 | await asyncValue.resolve(to: value)
| `- warning: capture of 'self' with non-sendable type 'Emitters.FirstValue<Upstream>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
44 | default:
45 | await asyncValue.resolve(to: nil)
[45/64] Compiling Emitter EmissionDataProxy.swift
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:54:22: warning: type 'Upstream.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
52 | // MARK: Internal
53 |
54 | let asyncValue = AsyncValue<Upstream.Output?>()
| `- warning: type 'Upstream.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
55 |
56 | // MARK: Private
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:54:49: warning: type 'Upstream.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
52 | // MARK: Internal
53 |
54 | let asyncValue = AsyncValue<Upstream.Output?>()
| `- warning: type 'Upstream.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
55 |
56 | // MARK: Private
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:54:49: warning: non-sendable type 'AsyncValue<Upstream.Output?>' returned by implicitly asynchronous call to actor-isolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
52 | // MARK: Internal
53 |
54 | let asyncValue = AsyncValue<Upstream.Output?>()
| `- warning: non-sendable type 'AsyncValue<Upstream.Output?>' returned by implicitly asynchronous call to actor-isolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
55 |
56 | // MARK: Private
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:7:35: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
5 | get async {
6 | let sub = Emitters.FirstValue(upstream: self)
7 | return await sub.asyncValue.value
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
8 | }
9 | }
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:7:20: warning: non-sendable type 'AsyncValue<Self.Output?>' passed in call to actor-isolated property 'value' cannot cross actor boundary; this is an error in the Swift 6 language mode
5 | get async {
6 | let sub = Emitters.FirstValue(upstream: self)
7 | return await sub.asyncValue.value
| `- warning: non-sendable type 'AsyncValue<Self.Output?>' passed in call to actor-isolated property 'value' cannot cross actor boundary; this is an error in the Swift 6 language mode
8 | }
9 | }
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:7:35: warning: non-sendable type 'Self.Output?' in asynchronous access to actor-isolated property 'value' cannot cross actor boundary; this is an error in the Swift 6 language mode
5 | get async {
6 | let sub = Emitters.FirstValue(upstream: self)
7 | return await sub.asyncValue.value
| `- warning: non-sendable type 'Self.Output?' in asynchronous access to actor-isolated property 'value' cannot cross actor boundary; this is an error in the Swift 6 language mode
8 | }
9 | }
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:43:30: warning: type 'Upstream.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
41 | switch emission {
42 | case .value(let value):
43 | await asyncValue.resolve(to: value)
| `- warning: type 'Upstream.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
44 | default:
45 | await asyncValue.resolve(to: nil)
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:45:30: warning: type 'Upstream.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
43 | await asyncValue.resolve(to: value)
44 | default:
45 | await asyncValue.resolve(to: nil)
| `- warning: type 'Upstream.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
46 | }
47 | }
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:41:18: warning: capture of 'emission' with non-sendable type 'Emission<Upstream.Output, Upstream.Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
39 | if wasFirst {
40 | Task.detached {
41 | switch emission {
| `- warning: capture of 'emission' with non-sendable type 'Emission<Upstream.Output, Upstream.Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
42 | case .value(let value):
43 | await asyncValue.resolve(to: value)
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:43:19: warning: capture of 'self' with non-sendable type 'Emitters.FirstValue<Upstream>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
14 | extension Emitters {
15 |
16 | public struct FirstValue<Upstream: Emitter>: Subscriber {
| `- note: consider making generic struct 'FirstValue' conform to the 'Sendable' protocol
17 |
18 | // MARK: Lifecycle
:
41 | switch emission {
42 | case .value(let value):
43 | await asyncValue.resolve(to: value)
| `- warning: capture of 'self' with non-sendable type 'Emitters.FirstValue<Upstream>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
44 | default:
45 | await asyncValue.resolve(to: nil)
[46/64] Compiling Emitter FirstValue.swift
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:54:22: warning: type 'Upstream.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
52 | // MARK: Internal
53 |
54 | let asyncValue = AsyncValue<Upstream.Output?>()
| `- warning: type 'Upstream.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
55 |
56 | // MARK: Private
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:54:49: warning: type 'Upstream.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
52 | // MARK: Internal
53 |
54 | let asyncValue = AsyncValue<Upstream.Output?>()
| `- warning: type 'Upstream.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
55 |
56 | // MARK: Private
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:54:49: warning: non-sendable type 'AsyncValue<Upstream.Output?>' returned by implicitly asynchronous call to actor-isolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
52 | // MARK: Internal
53 |
54 | let asyncValue = AsyncValue<Upstream.Output?>()
| `- warning: non-sendable type 'AsyncValue<Upstream.Output?>' returned by implicitly asynchronous call to actor-isolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
55 |
56 | // MARK: Private
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:7:35: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
5 | get async {
6 | let sub = Emitters.FirstValue(upstream: self)
7 | return await sub.asyncValue.value
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
8 | }
9 | }
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:7:20: warning: non-sendable type 'AsyncValue<Self.Output?>' passed in call to actor-isolated property 'value' cannot cross actor boundary; this is an error in the Swift 6 language mode
5 | get async {
6 | let sub = Emitters.FirstValue(upstream: self)
7 | return await sub.asyncValue.value
| `- warning: non-sendable type 'AsyncValue<Self.Output?>' passed in call to actor-isolated property 'value' cannot cross actor boundary; this is an error in the Swift 6 language mode
8 | }
9 | }
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:7:35: warning: non-sendable type 'Self.Output?' in asynchronous access to actor-isolated property 'value' cannot cross actor boundary; this is an error in the Swift 6 language mode
5 | get async {
6 | let sub = Emitters.FirstValue(upstream: self)
7 | return await sub.asyncValue.value
| `- warning: non-sendable type 'Self.Output?' in asynchronous access to actor-isolated property 'value' cannot cross actor boundary; this is an error in the Swift 6 language mode
8 | }
9 | }
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:43:30: warning: type 'Upstream.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
41 | switch emission {
42 | case .value(let value):
43 | await asyncValue.resolve(to: value)
| `- warning: type 'Upstream.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
44 | default:
45 | await asyncValue.resolve(to: nil)
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:45:30: warning: type 'Upstream.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
43 | await asyncValue.resolve(to: value)
44 | default:
45 | await asyncValue.resolve(to: nil)
| `- warning: type 'Upstream.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
46 | }
47 | }
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:41:18: warning: capture of 'emission' with non-sendable type 'Emission<Upstream.Output, Upstream.Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
39 | if wasFirst {
40 | Task.detached {
41 | switch emission {
| `- warning: capture of 'emission' with non-sendable type 'Emission<Upstream.Output, Upstream.Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
42 | case .value(let value):
43 | await asyncValue.resolve(to: value)
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:43:19: warning: capture of 'self' with non-sendable type 'Emitters.FirstValue<Upstream>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
14 | extension Emitters {
15 |
16 | public struct FirstValue<Upstream: Emitter>: Subscriber {
| `- note: consider making generic struct 'FirstValue' conform to the 'Sendable' protocol
17 |
18 | // MARK: Lifecycle
:
41 | switch emission {
42 | case .value(let value):
43 | await asyncValue.resolve(to: value)
| `- warning: capture of 'self' with non-sendable type 'Emitters.FirstValue<Upstream>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
44 | default:
45 | await asyncValue.resolve(to: nil)
[47/64] Compiling Emitter Print.swift
/host/spi-builder-workspace/Sources/Emitter/Operators/Redirect.swift:70:33: warning: capture of 'self' with non-sendable type 'Emitters.Redirect<Upstream>.Sub<Downstream>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
52 | // MARK: Private
53 |
54 | private struct Sub<Downstream: Subscriber>: Subscriber
| `- note: consider making generic struct 'Sub' conform to the 'Sendable' protocol
55 | where Downstream.Input == Output, Downstream.Failure == Failure
56 | {
:
68 |
69 | fileprivate func receive(emission: Emission<Upstream.Output, Upstream.Failure>) {
70 | redirection(emission) { downstream.receive(emission: $0) }
| `- warning: capture of 'self' with non-sendable type 'Emitters.Redirect<Upstream>.Sub<Downstream>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
71 | }
72 |
/host/spi-builder-workspace/Sources/Emitter/Operators/Shared.swift:194:17: warning: stored property 'sharedSub' of 'Sendable'-conforming generic struct 'Shared' has non-sendable type 'Locked<Emitters.Shared<Upstream>.SharedSub<Emitters.Shared<Upstream>.Output, Emitters.Shared<Upstream>.Failure>?>' (aka 'Locked<Optional<Emitters.Shared<Upstream>.SharedSub<Upstream.Output, Upstream.Failure>>>'); this is an error in the Swift 6 language mode
54 | // MARK: Private
55 |
56 | private struct SharedSub<Input, Failure: Error>: Subscriber {
| `- note: consider making generic struct 'SharedSub' conform to the 'Sendable' protocol
57 |
58 | // MARK: Lifecycle
:
192 | }
193 |
194 | private let sharedSub = Locked<SharedSub<Output, Failure>?>(nil)
| `- warning: stored property 'sharedSub' of 'Sendable'-conforming generic struct 'Shared' has non-sendable type 'Locked<Emitters.Shared<Upstream>.SharedSub<Emitters.Shared<Upstream>.Output, Emitters.Shared<Upstream>.Failure>?>' (aka 'Locked<Optional<Emitters.Shared<Upstream>.SharedSub<Upstream.Output, Upstream.Failure>>>'); this is an error in the Swift 6 language mode
195 |
196 | private let upstream: Upstream
[48/64] Compiling Emitter Redirect.swift
/host/spi-builder-workspace/Sources/Emitter/Operators/Redirect.swift:70:33: warning: capture of 'self' with non-sendable type 'Emitters.Redirect<Upstream>.Sub<Downstream>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
52 | // MARK: Private
53 |
54 | private struct Sub<Downstream: Subscriber>: Subscriber
| `- note: consider making generic struct 'Sub' conform to the 'Sendable' protocol
55 | where Downstream.Input == Output, Downstream.Failure == Failure
56 | {
:
68 |
69 | fileprivate func receive(emission: Emission<Upstream.Output, Upstream.Failure>) {
70 | redirection(emission) { downstream.receive(emission: $0) }
| `- warning: capture of 'self' with non-sendable type 'Emitters.Redirect<Upstream>.Sub<Downstream>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
71 | }
72 |
/host/spi-builder-workspace/Sources/Emitter/Operators/Shared.swift:194:17: warning: stored property 'sharedSub' of 'Sendable'-conforming generic struct 'Shared' has non-sendable type 'Locked<Emitters.Shared<Upstream>.SharedSub<Emitters.Shared<Upstream>.Output, Emitters.Shared<Upstream>.Failure>?>' (aka 'Locked<Optional<Emitters.Shared<Upstream>.SharedSub<Upstream.Output, Upstream.Failure>>>'); this is an error in the Swift 6 language mode
54 | // MARK: Private
55 |
56 | private struct SharedSub<Input, Failure: Error>: Subscriber {
| `- note: consider making generic struct 'SharedSub' conform to the 'Sendable' protocol
57 |
58 | // MARK: Lifecycle
:
192 | }
193 |
194 | private let sharedSub = Locked<SharedSub<Output, Failure>?>(nil)
| `- warning: stored property 'sharedSub' of 'Sendable'-conforming generic struct 'Shared' has non-sendable type 'Locked<Emitters.Shared<Upstream>.SharedSub<Emitters.Shared<Upstream>.Output, Emitters.Shared<Upstream>.Failure>?>' (aka 'Locked<Optional<Emitters.Shared<Upstream>.SharedSub<Upstream.Output, Upstream.Failure>>>'); this is an error in the Swift 6 language mode
195 |
196 | private let upstream: Upstream
[49/64] Compiling Emitter ReplaceFailures.swift
/host/spi-builder-workspace/Sources/Emitter/Operators/Redirect.swift:70:33: warning: capture of 'self' with non-sendable type 'Emitters.Redirect<Upstream>.Sub<Downstream>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
52 | // MARK: Private
53 |
54 | private struct Sub<Downstream: Subscriber>: Subscriber
| `- note: consider making generic struct 'Sub' conform to the 'Sendable' protocol
55 | where Downstream.Input == Output, Downstream.Failure == Failure
56 | {
:
68 |
69 | fileprivate func receive(emission: Emission<Upstream.Output, Upstream.Failure>) {
70 | redirection(emission) { downstream.receive(emission: $0) }
| `- warning: capture of 'self' with non-sendable type 'Emitters.Redirect<Upstream>.Sub<Downstream>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
71 | }
72 |
/host/spi-builder-workspace/Sources/Emitter/Operators/Shared.swift:194:17: warning: stored property 'sharedSub' of 'Sendable'-conforming generic struct 'Shared' has non-sendable type 'Locked<Emitters.Shared<Upstream>.SharedSub<Emitters.Shared<Upstream>.Output, Emitters.Shared<Upstream>.Failure>?>' (aka 'Locked<Optional<Emitters.Shared<Upstream>.SharedSub<Upstream.Output, Upstream.Failure>>>'); this is an error in the Swift 6 language mode
54 | // MARK: Private
55 |
56 | private struct SharedSub<Input, Failure: Error>: Subscriber {
| `- note: consider making generic struct 'SharedSub' conform to the 'Sendable' protocol
57 |
58 | // MARK: Lifecycle
:
192 | }
193 |
194 | private let sharedSub = Locked<SharedSub<Output, Failure>?>(nil)
| `- warning: stored property 'sharedSub' of 'Sendable'-conforming generic struct 'Shared' has non-sendable type 'Locked<Emitters.Shared<Upstream>.SharedSub<Emitters.Shared<Upstream>.Output, Emitters.Shared<Upstream>.Failure>?>' (aka 'Locked<Optional<Emitters.Shared<Upstream>.SharedSub<Upstream.Output, Upstream.Failure>>>'); this is an error in the Swift 6 language mode
195 |
196 | private let upstream: Upstream
[50/64] Compiling Emitter Shared.swift
/host/spi-builder-workspace/Sources/Emitter/Operators/Redirect.swift:70:33: warning: capture of 'self' with non-sendable type 'Emitters.Redirect<Upstream>.Sub<Downstream>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
52 | // MARK: Private
53 |
54 | private struct Sub<Downstream: Subscriber>: Subscriber
| `- note: consider making generic struct 'Sub' conform to the 'Sendable' protocol
55 | where Downstream.Input == Output, Downstream.Failure == Failure
56 | {
:
68 |
69 | fileprivate func receive(emission: Emission<Upstream.Output, Upstream.Failure>) {
70 | redirection(emission) { downstream.receive(emission: $0) }
| `- warning: capture of 'self' with non-sendable type 'Emitters.Redirect<Upstream>.Sub<Downstream>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
71 | }
72 |
/host/spi-builder-workspace/Sources/Emitter/Operators/Shared.swift:194:17: warning: stored property 'sharedSub' of 'Sendable'-conforming generic struct 'Shared' has non-sendable type 'Locked<Emitters.Shared<Upstream>.SharedSub<Emitters.Shared<Upstream>.Output, Emitters.Shared<Upstream>.Failure>?>' (aka 'Locked<Optional<Emitters.Shared<Upstream>.SharedSub<Upstream.Output, Upstream.Failure>>>'); this is an error in the Swift 6 language mode
54 | // MARK: Private
55 |
56 | private struct SharedSub<Input, Failure: Error>: Subscriber {
| `- note: consider making generic struct 'SharedSub' conform to the 'Sendable' protocol
57 |
58 | // MARK: Lifecycle
:
192 | }
193 |
194 | private let sharedSub = Locked<SharedSub<Output, Failure>?>(nil)
| `- warning: stored property 'sharedSub' of 'Sendable'-conforming generic struct 'Shared' has non-sendable type 'Locked<Emitters.Shared<Upstream>.SharedSub<Emitters.Shared<Upstream>.Output, Emitters.Shared<Upstream>.Failure>?>' (aka 'Locked<Optional<Emitters.Shared<Upstream>.SharedSub<Upstream.Output, Upstream.Failure>>>'); this is an error in the Swift 6 language mode
195 |
196 | private let upstream: Upstream
[51/64] Compiling Emitter TryMap.swift
/host/spi-builder-workspace/Sources/Emitter/Operators/Redirect.swift:70:33: warning: capture of 'self' with non-sendable type 'Emitters.Redirect<Upstream>.Sub<Downstream>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
52 | // MARK: Private
53 |
54 | private struct Sub<Downstream: Subscriber>: Subscriber
| `- note: consider making generic struct 'Sub' conform to the 'Sendable' protocol
55 | where Downstream.Input == Output, Downstream.Failure == Failure
56 | {
:
68 |
69 | fileprivate func receive(emission: Emission<Upstream.Output, Upstream.Failure>) {
70 | redirection(emission) { downstream.receive(emission: $0) }
| `- warning: capture of 'self' with non-sendable type 'Emitters.Redirect<Upstream>.Sub<Downstream>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
71 | }
72 |
/host/spi-builder-workspace/Sources/Emitter/Operators/Shared.swift:194:17: warning: stored property 'sharedSub' of 'Sendable'-conforming generic struct 'Shared' has non-sendable type 'Locked<Emitters.Shared<Upstream>.SharedSub<Emitters.Shared<Upstream>.Output, Emitters.Shared<Upstream>.Failure>?>' (aka 'Locked<Optional<Emitters.Shared<Upstream>.SharedSub<Upstream.Output, Upstream.Failure>>>'); this is an error in the Swift 6 language mode
54 | // MARK: Private
55 |
56 | private struct SharedSub<Input, Failure: Error>: Subscriber {
| `- note: consider making generic struct 'SharedSub' conform to the 'Sendable' protocol
57 |
58 | // MARK: Lifecycle
:
192 | }
193 |
194 | private let sharedSub = Locked<SharedSub<Output, Failure>?>(nil)
| `- warning: stored property 'sharedSub' of 'Sendable'-conforming generic struct 'Shared' has non-sendable type 'Locked<Emitters.Shared<Upstream>.SharedSub<Emitters.Shared<Upstream>.Output, Emitters.Shared<Upstream>.Failure>?>' (aka 'Locked<Optional<Emitters.Shared<Upstream>.SharedSub<Upstream.Output, Upstream.Failure>>>'); this is an error in the Swift 6 language mode
195 |
196 | private let upstream: Upstream
[52/64] Compiling Emitter UnionThree.swift
/host/spi-builder-workspace/Sources/Emitter/Operators/Redirect.swift:70:33: warning: capture of 'self' with non-sendable type 'Emitters.Redirect<Upstream>.Sub<Downstream>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
52 | // MARK: Private
53 |
54 | private struct Sub<Downstream: Subscriber>: Subscriber
| `- note: consider making generic struct 'Sub' conform to the 'Sendable' protocol
55 | where Downstream.Input == Output, Downstream.Failure == Failure
56 | {
:
68 |
69 | fileprivate func receive(emission: Emission<Upstream.Output, Upstream.Failure>) {
70 | redirection(emission) { downstream.receive(emission: $0) }
| `- warning: capture of 'self' with non-sendable type 'Emitters.Redirect<Upstream>.Sub<Downstream>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
71 | }
72 |
/host/spi-builder-workspace/Sources/Emitter/Operators/Shared.swift:194:17: warning: stored property 'sharedSub' of 'Sendable'-conforming generic struct 'Shared' has non-sendable type 'Locked<Emitters.Shared<Upstream>.SharedSub<Emitters.Shared<Upstream>.Output, Emitters.Shared<Upstream>.Failure>?>' (aka 'Locked<Optional<Emitters.Shared<Upstream>.SharedSub<Upstream.Output, Upstream.Failure>>>'); this is an error in the Swift 6 language mode
54 | // MARK: Private
55 |
56 | private struct SharedSub<Input, Failure: Error>: Subscriber {
| `- note: consider making generic struct 'SharedSub' conform to the 'Sendable' protocol
57 |
58 | // MARK: Lifecycle
:
192 | }
193 |
194 | private let sharedSub = Locked<SharedSub<Output, Failure>?>(nil)
| `- warning: stored property 'sharedSub' of 'Sendable'-conforming generic struct 'Shared' has non-sendable type 'Locked<Emitters.Shared<Upstream>.SharedSub<Emitters.Shared<Upstream>.Output, Emitters.Shared<Upstream>.Failure>?>' (aka 'Locked<Optional<Emitters.Shared<Upstream>.SharedSub<Upstream.Output, Upstream.Failure>>>'); this is an error in the Swift 6 language mode
195 |
196 | private let upstream: Upstream
[53/64] Compiling Emitter Union.swift
/host/spi-builder-workspace/Sources/Emitter/Operators/CompactMap.swift:14:8: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
8 | }
9 |
10 | public func compactMap<T>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
11 | _ transformer: @escaping @Sendable (Output) -> T?
12 | ) -> some Emitter<T, Failure> {
13 | map(transformer)
14 | .compact()
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
15 | }
16 |
/host/spi-builder-workspace/Sources/Emitter/Operators/CompactMap.swift:21:8: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
15 | }
16 |
17 | public func compactMap<T>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
18 | _ transformer: @escaping @Sendable (Output) throws -> T?
19 | ) -> some Emitter<T, Error> {
20 | map(transformer)
21 | .compact()
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
22 | }
23 | }
[54/64] Compiling Emitter CombineLatestThree.swift
/host/spi-builder-workspace/Sources/Emitter/Operators/CompactMap.swift:14:8: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
8 | }
9 |
10 | public func compactMap<T>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
11 | _ transformer: @escaping @Sendable (Output) -> T?
12 | ) -> some Emitter<T, Failure> {
13 | map(transformer)
14 | .compact()
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
15 | }
16 |
/host/spi-builder-workspace/Sources/Emitter/Operators/CompactMap.swift:21:8: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
15 | }
16 |
17 | public func compactMap<T>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
18 | _ transformer: @escaping @Sendable (Output) throws -> T?
19 | ) -> some Emitter<T, Error> {
20 | map(transformer)
21 | .compact()
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
22 | }
23 | }
[55/64] Compiling Emitter CombineLatestTwo.swift
/host/spi-builder-workspace/Sources/Emitter/Operators/CompactMap.swift:14:8: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
8 | }
9 |
10 | public func compactMap<T>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
11 | _ transformer: @escaping @Sendable (Output) -> T?
12 | ) -> some Emitter<T, Failure> {
13 | map(transformer)
14 | .compact()
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
15 | }
16 |
/host/spi-builder-workspace/Sources/Emitter/Operators/CompactMap.swift:21:8: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
15 | }
16 |
17 | public func compactMap<T>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
18 | _ transformer: @escaping @Sendable (Output) throws -> T?
19 | ) -> some Emitter<T, Error> {
20 | map(transformer)
21 | .compact()
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
22 | }
23 | }
[56/64] Compiling Emitter CompactMap.swift
/host/spi-builder-workspace/Sources/Emitter/Operators/CompactMap.swift:14:8: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
8 | }
9 |
10 | public func compactMap<T>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
11 | _ transformer: @escaping @Sendable (Output) -> T?
12 | ) -> some Emitter<T, Failure> {
13 | map(transformer)
14 | .compact()
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
15 | }
16 |
/host/spi-builder-workspace/Sources/Emitter/Operators/CompactMap.swift:21:8: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
15 | }
16 |
17 | public func compactMap<T>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
18 | _ transformer: @escaping @Sendable (Output) throws -> T?
19 | ) -> some Emitter<T, Error> {
20 | map(transformer)
21 | .compact()
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
22 | }
23 | }
[57/64] Compiling Emitter Dedupe.swift
/host/spi-builder-workspace/Sources/Emitter/Operators/CompactMap.swift:14:8: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
8 | }
9 |
10 | public func compactMap<T>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
11 | _ transformer: @escaping @Sendable (Output) -> T?
12 | ) -> some Emitter<T, Failure> {
13 | map(transformer)
14 | .compact()
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
15 | }
16 |
/host/spi-builder-workspace/Sources/Emitter/Operators/CompactMap.swift:21:8: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
15 | }
16 |
17 | public func compactMap<T>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
18 | _ transformer: @escaping @Sendable (Output) throws -> T?
19 | ) -> some Emitter<T, Error> {
20 | map(transformer)
21 | .compact()
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
22 | }
23 | }
[58/64] Compiling Emitter Filter.swift
/host/spi-builder-workspace/Sources/Emitter/Operators/CompactMap.swift:14:8: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
8 | }
9 |
10 | public func compactMap<T>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
11 | _ transformer: @escaping @Sendable (Output) -> T?
12 | ) -> some Emitter<T, Failure> {
13 | map(transformer)
14 | .compact()
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
15 | }
16 |
/host/spi-builder-workspace/Sources/Emitter/Operators/CompactMap.swift:21:8: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
15 | }
16 |
17 | public func compactMap<T>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
18 | _ transformer: @escaping @Sendable (Output) throws -> T?
19 | ) -> some Emitter<T, Error> {
20 | map(transformer)
21 | .compact()
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
22 | }
23 | }
[59/64] Compiling Emitter First.swift
[60/64] Compiling Emitter FlatMapLatest.swift
[61/64] Compiling Emitter Map.swift
[62/64] Compiling Emitter MapFailure.swift
[63/64] Compiling Emitter MergeThree.swift
[64/64] Compiling Emitter MergeTwo.swift
Build complete! (13.75s)
Build complete.
{
"dependencies" : [
{
"identity" : "disposable",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "1.1.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/GoodHatsLLC/Disposable.git"
}
],
"manifest_display_name" : "Emitter",
"name" : "Emitter",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.3"
},
{
"name" : "ios",
"version" : "15.4"
},
{
"name" : "tvos",
"version" : "15.4"
},
{
"name" : "watchos",
"version" : "8.5"
},
{
"name" : "maccatalyst",
"version" : "15.4"
}
],
"products" : [
{
"name" : "Emitter",
"targets" : [
"Emitter"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "EmitterTests",
"module_type" : "SwiftTarget",
"name" : "EmitterTests",
"path" : "Tests/EmitterTests",
"product_dependencies" : [
"Disposable"
],
"sources" : [
"Benchmarks/Benchmarks.swift",
"Benchmarks/Blackhole.swift",
"BridgingTests/AsyncToEmitterTests.swift",
"BridgingTests/CombineToEmitterTests.swift",
"BridgingTests/EmitterToAsyncTests.swift",
"BridgingTests/EmitterToCombineTests.swift",
"LifecycleTests/FinishTests.swift",
"OperatorTests/CombineLatestThreeTests.swift",
"OperatorTests/CombineLatestTwoTests.swift",
"OperatorTests/CompactMapTests.swift",
"OperatorTests/DedupingTests.swift",
"OperatorTests/FilterTests.swift",
"OperatorTests/FirstTests.swift",
"OperatorTests/FlatMapLatestTests.swift",
"OperatorTests/MapFailureTests.swift",
"OperatorTests/MapTests.swift",
"OperatorTests/Merge2Tests.swift",
"OperatorTests/Merge3Tests.swift",
"OperatorTests/ReplacingFailuresTests.swift",
"OperatorTests/SharedTests.swift",
"OperatorTests/TryMapTests.swift",
"OperatorTests/UnionThreeTests.swift",
"OperatorTests/UnionTwoTests.swift",
"OperatorTests/WithFailureTypeTests.swift",
"OperatorTests/WithPrefixTests.swift",
"OperatorTests/WithSuffixTests.swift",
"SourceTests/CreateTests.swift",
"SourceTests/PublishSubjectTests.swift",
"SourceTests/ValueSubjectTests.swift",
"StressTests/ThreadingTests.swift",
"SubscriberTests/FirstValueTests.swift",
"Utils/AsyncValue.swift",
"Utils/Flush.swift",
"Utils/Unchecked.swift"
],
"target_dependencies" : [
"Emitter"
],
"type" : "test"
},
{
"c99name" : "Emitter",
"module_type" : "SwiftTarget",
"name" : "Emitter",
"path" : "Sources/Emitter",
"product_dependencies" : [
"Disposable"
],
"product_memberships" : [
"Emitter"
],
"sources" : [
"Bridging/AsyncToEmitterBridge.swift",
"Bridging/CombineToEmitterBridge.swift",
"Bridging/EmitterToAsyncBridge.swift",
"Bridging/EmitterToCombineBridge.swift",
"Bridging/SequenceToEmitterBridge.swift",
"Erasure/AnyEmitter.swift",
"Export.swift",
"Interface/Emission.swift",
"Interface/Emitter.swift",
"Interface/Subject.swift",
"Interface/Subscriber.swift",
"Interface/Tuple.swift",
"Interface/Union.swift",
"Operators/CombineLatestThree.swift",
"Operators/CombineLatestTwo.swift",
"Operators/CompactMap.swift",
"Operators/Dedupe.swift",
"Operators/Filter.swift",
"Operators/First.swift",
"Operators/FlatMapLatest.swift",
"Operators/Map.swift",
"Operators/MapFailure.swift",
"Operators/MergeThree.swift",
"Operators/MergeTwo.swift",
"Operators/Print.swift",
"Operators/Redirect.swift",
"Operators/ReplaceFailures.swift",
"Operators/Shared.swift",
"Operators/TryMap.swift",
"Operators/UnionThree.swift",
"Operators/UnionTwo.swift",
"Operators/WithFailureType.swift",
"Operators/WithPrefix.swift",
"Operators/WithSuffix.swift",
"Sources/Create.swift",
"Sources/FailureEmitter.swift",
"Sources/JustEmitter.swift",
"Sources/NeverEmitter.swift",
"Sources/PublishSubject.swift",
"Sources/ValueSubject.swift",
"Subscribers/EmissionDataProxy.swift",
"Subscribers/FirstValue.swift",
"Subscribers/Subscribe.swift",
"Subscribers/SubscribeMain.swift",
"Subscribers/Subscription.swift",
"Subscribers/TransformProxy.swift",
"Utilities/AsyncValue.swift",
"Utilities/Locked.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
Done.