Build Information
Successful build of Emitter, reference v1.0.0 (5480d5
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 08:10:19 UTC.
Swift 6 data race errors: 4
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/GoodHatsLLC/Emitter.git
Reference: v1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/GoodHatsLLC/Emitter
* tag v1.0.0 -> FETCH_HEAD
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 v1.0.0
Fetching https://github.com/GoodHatsLLC/Disposable.git
[1/274] Fetching disposable
Fetched https://github.com/GoodHatsLLC/Disposable.git from cache (0.79s)
Computing version for https://github.com/GoodHatsLLC/Disposable.git
Computed https://github.com/GoodHatsLLC/Disposable.git at 1.0.0 (0.52s)
Creating working copy for https://github.com/GoodHatsLLC/Disposable.git
Working copy of https://github.com/GoodHatsLLC/Disposable.git resolved at 1.0.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "emitter",
"name": "Emitter",
"url": "https://github.com/GoodHatsLLC/Emitter.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Emitter",
"dependencies": [
{
"identity": "disposable",
"name": "Disposable",
"url": "https://github.com/GoodHatsLLC/Disposable.git",
"version": "1.0.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Disposable",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/GoodHatsLLC/Emitter.git
[10/926] Fetching emitter
Fetched https://github.com/GoodHatsLLC/Emitter.git from cache (1.01s)
Fetching https://github.com/GoodHatsLLC/Disposable.git from cache
Fetched https://github.com/GoodHatsLLC/Disposable.git from cache (0.44s)
Computing version for https://github.com/GoodHatsLLC/Disposable.git
Computed https://github.com/GoodHatsLLC/Disposable.git at 1.0.0 (0.02s)
Creating working copy for https://github.com/GoodHatsLLC/Disposable.git
Working copy of https://github.com/GoodHatsLLC/Disposable.git resolved at 1.0.0
Creating working copy for https://github.com/GoodHatsLLC/Emitter.git
Working copy of https://github.com/GoodHatsLLC/Emitter.git resolved at v1.0.0 (5480d5b)
warning: '.resolve-product-dependencies': dependency 'emitter' is not used by any target
Found 1 product dependencies
- Disposable
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/GoodHatsLLC/Emitter.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/13] Compiling Disposable Disposable.swift
[5/14] Compiling Disposable Task.swift
[6/14] Compiling Disposable DisposableBuilder.swift
[7/14] Compiling Disposable TaskExtensions.swift
[8/14] Emitting module Disposable
[9/14] Compiling Disposable CombineExtensions.swift
[10/14] Compiling Disposable AutoDisposable.swift
[11/14] Compiling Disposable ConvenienceStages.swift
[12/14] Compiling Disposable DisposableStage.swift
[13/14] Compiling Disposable ErasedDisposable.swift
[14/14] Compiling Disposable Locked.swift
[15/59] Compiling Emitter AsyncToEmitterBridge.swift
/Users/admin/builder/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 | }
/Users/admin/builder/spi-builder-workspace/Sources/Emitter/Bridging/EmitterToAsyncBridge.swift:20:24: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
18 | let disposable = emitter.subscribe(
19 | value: { value in
20 | continuation.yield(value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
21 | },
22 | finished: {
[16/59] Compiling Emitter CombineToEmitterBridge.swift
/Users/admin/builder/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 | }
/Users/admin/builder/spi-builder-workspace/Sources/Emitter/Bridging/EmitterToAsyncBridge.swift:20:24: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
18 | let disposable = emitter.subscribe(
19 | value: { value in
20 | continuation.yield(value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
21 | },
22 | finished: {
[17/59] Compiling Emitter EmitterToAsyncBridge.swift
/Users/admin/builder/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 | }
/Users/admin/builder/spi-builder-workspace/Sources/Emitter/Bridging/EmitterToAsyncBridge.swift:20:24: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
18 | let disposable = emitter.subscribe(
19 | value: { value in
20 | continuation.yield(value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
21 | },
22 | finished: {
[18/59] Compiling Emitter EmitterToCombineBridge.swift
/Users/admin/builder/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 | }
/Users/admin/builder/spi-builder-workspace/Sources/Emitter/Bridging/EmitterToAsyncBridge.swift:20:24: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
18 | let disposable = emitter.subscribe(
19 | value: { value in
20 | continuation.yield(value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
21 | },
22 | finished: {
[19/59] Compiling Emitter SequenceToEmitterBridge.swift
/Users/admin/builder/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 | }
/Users/admin/builder/spi-builder-workspace/Sources/Emitter/Bridging/EmitterToAsyncBridge.swift:20:24: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
18 | let disposable = emitter.subscribe(
19 | value: { value in
20 | continuation.yield(value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
21 | },
22 | finished: {
[20/63] Compiling Emitter FailureEmitter.swift
[21/63] Compiling Emitter JustEmitter.swift
[22/63] Compiling Emitter NeverEmitter.swift
[23/63] Compiling Emitter PublishSubject.swift
[24/63] Compiling Emitter ValueSubject.swift
[25/63] Compiling Emitter EmissionDataProxy.swift
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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)
/Users/admin/builder/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 | }
/Users/admin/builder/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:40:23: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
38 | }
39 | if wasFirst {
40 | Task.detached {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
41 | switch emission {
42 | case .value(let value):
43 | await asyncValue.resolve(to: value)
| `- note: closure captures 'self' which is accessible to code in the current task
44 | default:
45 | await asyncValue.resolve(to: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:43:30: warning: sending task-isolated value of type 'Upstream.Output' with later accesses to actor-isolated context risks causing data races; 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: sending task-isolated value of type 'Upstream.Output' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
44 | default:
45 | await asyncValue.resolve(to: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:43:30: warning: sending 'self.asyncValue' risks causing data races; 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: sending 'self.asyncValue' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.asyncValue' to actor-isolated instance method 'resolve(to:)' risks causing data races between actor-isolated and task-isolated uses
44 | default:
45 | await asyncValue.resolve(to: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:45:30: warning: sending 'self.asyncValue' risks causing data races; 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: sending 'self.asyncValue' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.asyncValue' to actor-isolated instance method 'resolve(to:)' risks causing data races between actor-isolated and task-isolated uses
46 | }
47 | }
/Users/admin/builder/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)
/Users/admin/builder/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):
[26/63] Compiling Emitter FirstValue.swift
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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)
/Users/admin/builder/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 | }
/Users/admin/builder/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:40:23: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
38 | }
39 | if wasFirst {
40 | Task.detached {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
41 | switch emission {
42 | case .value(let value):
43 | await asyncValue.resolve(to: value)
| `- note: closure captures 'self' which is accessible to code in the current task
44 | default:
45 | await asyncValue.resolve(to: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:43:30: warning: sending task-isolated value of type 'Upstream.Output' with later accesses to actor-isolated context risks causing data races; 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: sending task-isolated value of type 'Upstream.Output' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
44 | default:
45 | await asyncValue.resolve(to: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:43:30: warning: sending 'self.asyncValue' risks causing data races; 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: sending 'self.asyncValue' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.asyncValue' to actor-isolated instance method 'resolve(to:)' risks causing data races between actor-isolated and task-isolated uses
44 | default:
45 | await asyncValue.resolve(to: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:45:30: warning: sending 'self.asyncValue' risks causing data races; 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: sending 'self.asyncValue' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.asyncValue' to actor-isolated instance method 'resolve(to:)' risks causing data races between actor-isolated and task-isolated uses
46 | }
47 | }
/Users/admin/builder/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)
/Users/admin/builder/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):
[27/63] Compiling Emitter Subscribe.swift
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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)
/Users/admin/builder/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 | }
/Users/admin/builder/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:40:23: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
38 | }
39 | if wasFirst {
40 | Task.detached {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
41 | switch emission {
42 | case .value(let value):
43 | await asyncValue.resolve(to: value)
| `- note: closure captures 'self' which is accessible to code in the current task
44 | default:
45 | await asyncValue.resolve(to: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:43:30: warning: sending task-isolated value of type 'Upstream.Output' with later accesses to actor-isolated context risks causing data races; 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: sending task-isolated value of type 'Upstream.Output' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
44 | default:
45 | await asyncValue.resolve(to: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:43:30: warning: sending 'self.asyncValue' risks causing data races; 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: sending 'self.asyncValue' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.asyncValue' to actor-isolated instance method 'resolve(to:)' risks causing data races between actor-isolated and task-isolated uses
44 | default:
45 | await asyncValue.resolve(to: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:45:30: warning: sending 'self.asyncValue' risks causing data races; 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: sending 'self.asyncValue' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.asyncValue' to actor-isolated instance method 'resolve(to:)' risks causing data races between actor-isolated and task-isolated uses
46 | }
47 | }
/Users/admin/builder/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)
/Users/admin/builder/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):
[28/63] Compiling Emitter SubscribeMain.swift
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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)
/Users/admin/builder/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 | }
/Users/admin/builder/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:40:23: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
38 | }
39 | if wasFirst {
40 | Task.detached {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
41 | switch emission {
42 | case .value(let value):
43 | await asyncValue.resolve(to: value)
| `- note: closure captures 'self' which is accessible to code in the current task
44 | default:
45 | await asyncValue.resolve(to: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:43:30: warning: sending task-isolated value of type 'Upstream.Output' with later accesses to actor-isolated context risks causing data races; 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: sending task-isolated value of type 'Upstream.Output' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
44 | default:
45 | await asyncValue.resolve(to: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:43:30: warning: sending 'self.asyncValue' risks causing data races; 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: sending 'self.asyncValue' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.asyncValue' to actor-isolated instance method 'resolve(to:)' risks causing data races between actor-isolated and task-isolated uses
44 | default:
45 | await asyncValue.resolve(to: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:45:30: warning: sending 'self.asyncValue' risks causing data races; 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: sending 'self.asyncValue' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.asyncValue' to actor-isolated instance method 'resolve(to:)' risks causing data races between actor-isolated and task-isolated uses
46 | }
47 | }
/Users/admin/builder/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)
/Users/admin/builder/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):
[29/63] Compiling Emitter UnionTwo.swift
[30/63] Compiling Emitter WithFailureType.swift
[31/63] Compiling Emitter WithPrefix.swift
[32/63] Compiling Emitter WithSuffix.swift
[33/63] Compiling Emitter Create.swift
[34/63] Compiling Emitter Map.swift
[35/63] Compiling Emitter MapFailure.swift
[36/63] Compiling Emitter MergeThree.swift
[37/63] Compiling Emitter MergeTwo.swift
[38/63] Compiling Emitter Print.swift
[39/63] Compiling Emitter Subscription.swift
/Users/admin/builder/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 |
[40/63] Compiling Emitter TransformProxy.swift
/Users/admin/builder/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 |
[41/63] Compiling Emitter AsyncValue.swift
/Users/admin/builder/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 |
[42/63] Compiling Emitter Locked.swift
/Users/admin/builder/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 |
[43/63] Emitting module Emitter
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
[44/63] Compiling Emitter CompactMap.swift
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
[45/63] Compiling Emitter Dedupe.swift
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
[46/63] Compiling Emitter Filter.swift
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
[47/63] Compiling Emitter First.swift
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
[48/63] Compiling Emitter FlatMapLatest.swift
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
[49/63] Compiling Emitter AnyEmitter.swift
/Users/admin/builder/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 |
[50/63] Compiling Emitter Export.swift
/Users/admin/builder/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 |
[51/63] Compiling Emitter Emission.swift
/Users/admin/builder/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 |
[52/63] Compiling Emitter Emitter.swift
/Users/admin/builder/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 |
[53/63] Compiling Emitter Subject.swift
/Users/admin/builder/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 |
[54/63] Compiling Emitter Redirect.swift
/Users/admin/builder/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 |
/Users/admin/builder/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
[55/63] Compiling Emitter ReplaceFailures.swift
/Users/admin/builder/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 |
/Users/admin/builder/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
[56/63] Compiling Emitter Shared.swift
/Users/admin/builder/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 |
/Users/admin/builder/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
[57/63] Compiling Emitter TryMap.swift
/Users/admin/builder/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 |
/Users/admin/builder/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
[58/63] Compiling Emitter UnionThree.swift
/Users/admin/builder/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 |
/Users/admin/builder/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
[59/63] Compiling Emitter Subscriber.swift
/Users/admin/builder/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 | }
[60/63] Compiling Emitter Tuple.swift
/Users/admin/builder/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 | }
[61/63] Compiling Emitter Union.swift
/Users/admin/builder/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 | }
[62/63] Compiling Emitter CombineLatestThree.swift
/Users/admin/builder/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 | }
[63/63] Compiling Emitter CombineLatestTwo.swift
/Users/admin/builder/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 | }
Build complete! (14.58s)
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" : "/Users/admin/builder/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.